:root {
  --bg: #000000;
  --panel: #141414;
  --panel-soft: #1c1c1c;
  --text: #f2f2f2;
  --muted: #8a8a8a;
  --accent: #ffffff;
  --accent-hover: #e0e0e0;
  --accent-soft: rgba(255, 255, 255, 0.12);
  --accent-on-accent: #0a0a0a;
  --border: #333333;
  --success: #52d38d;
  --error: #ff6678;
}

[data-theme="light"] {
  --bg: #e8e8e8;
  --panel: #ffffff;
  --panel-soft: #f2f2f2;
  --text: #121212;
  --muted: #5c5c5c;
  --accent: #0a0a0a;
  --accent-hover: #333333;
  --accent-soft: rgba(0, 0, 0, 0.08);
  --accent-on-accent: #ffffff;
  --border: #cfcfcf;
  --success: #1f9d62;
  --error: #d64058;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.06), transparent 36%),
    radial-gradient(circle at 80% 70%, rgba(200, 200, 200, 0.05), transparent 34%),
    var(--bg);
}

[data-theme="light"] body {
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 0, 0, 0.04), transparent 36%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.03), transparent 34%),
    var(--bg);
}

/* Prevent iOS data-detector blue links in static contact/finance texts */
a[x-apple-data-detectors],
.contact-card a,
.footer-inner a {
  color: inherit !important;
  text-decoration: none !important;
  font: inherit !important;
}

.theme-toggle {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 48px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.auth-back-home {
  grid-column: 1 / -1;
  margin: -24px 0 8px;
}

.brand h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.brand p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
}

.auth-logo {
  display: block;
  width: clamp(160px, 28vw, 250px);
  height: auto;
  margin: 0 0 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

[data-theme="light"] .auth-logo {
  filter: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  border-radius: 24px;
  padding: 26px;
  max-width: 440px;
  width: 100%;
  justify-self: center;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.tab {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.tab.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 14px;
}

.field input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0d0f14;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus {
  border-color: var(--accent);
}

.password-hint {
  margin: 6px 2px 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.password-hint.match {
  color: var(--success);
}

.password-hint.mismatch {
  color: var(--error);
}

#password-confirm-group input.match {
  border-color: var(--success);
}

#password-confirm-group input.mismatch {
  border-color: var(--error);
}

.captcha-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.captcha-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.captcha-title {
  font-size: 13px;
  color: var(--muted);
}

.captcha-question {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.captcha-refresh-btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.captcha-box input {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0d0f14;
  color: var(--text);
}

.remember-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.remember-item:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  background: rgba(255, 255, 255, 0.12);
}

.remember-item input[type="checkbox"] {
  margin-top: 1px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.agreements {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.agreement-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.agreement-item:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  background: rgba(255, 255, 255, 0.12);
}

.agreement-item input[type="checkbox"] {
  margin-top: 1px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.agreement-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

[data-theme="light"] .agreement-item {
  background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .agreement-link {
  color: var(--accent);
}

.submit-btn {
  margin-top: 8px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #f0f0f0, #ffffff);
  color: var(--accent-on-accent);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

[data-theme="light"] .submit-btn {
  background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
  color: var(--accent-on-accent);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: progress;
}

.message {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 14px;
}

.message.success {
  color: var(--success);
}

.message.error {
  color: var(--error);
}

.hidden {
  display: none;
}

.studio-page {
  min-height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.team-page {
  min-height: 100vh;
  padding: 80px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.team-header {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
}

.team-home-link {
  display: inline-flex;
  align-items: center;
}

.team-header-logo {
  width: clamp(170px, 30vw, 320px);
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.team-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.music-section .music-block-body {
  max-width: min(720px, 100%);
  margin: 0 auto;
  padding: 0 4px 8px;
  text-align: center;
}

.music-section .music-block-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.music-inline-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.music-inline-link:hover {
  text-decoration: underline;
}

.music-section--hero .section-head p {
  max-width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.music-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.music-upload-cta {
  min-width: min(100%, 280px);
}

.music-hero-actions-hint {
  margin: 0;
  max-width: 420px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.music-artists-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.music-artist-card {
  margin: 0;
  padding: 16px 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.music-artist-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
}

.music-artist-card--placeholder {
  border-style: dashed;
  opacity: 0.92;
}

.music-artist-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.music-artist-meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.music-releases-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.music-release-column-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
}

.music-release-placeholder {
  min-height: 120px;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.music-release-placeholder p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.music-section--upload {
  border-color: rgba(255, 255, 255, 0.35);
}

.music-upload-form {
  max-width: 100%;
  margin: 0 auto;
}

.music-upload-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-bottom: 18px;
}

.music-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  text-align: left;
}

.music-field--full {
  grid-column: 1 / -1;
}

.music-field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.music-req {
  color: #ff9b9b;
}

.music-field input,
.music-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0d0f14;
  color: var(--text);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
}

.music-field input[type="file"] {
  padding: 10px;
  font-size: 14px;
}

.music-field-hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.music-upload-submit {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.music-upload-message {
  margin-top: 14px;
  text-align: center;
}

[data-theme="light"] .music-field input,
[data-theme="light"] .music-field textarea {
  background: #fff;
  color: #0d0f14;
}

@media (max-width: 768px) {
  .music-artists-grid,
  .music-releases-board {
    grid-template-columns: 1fr;
  }
  .music-upload-form-grid {
    grid-template-columns: 1fr;
  }
}

.team-section {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.team-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.team-card p {
  margin: 0;
  color: var(--muted);
}

.sounddesigners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sounddesigner-photo-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.sounddesigner-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.booking-page-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: stretch;
  gap: 16px;
}

.booking-page-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  width: min(1140px, 100%);
  margin: 0 auto;
}

.booking-page-form .booking-cta-btn {
  align-self: center;
  width: min(420px, 100%);
}

.booking-page-form .message {
  text-align: center;
}

.booking-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.booking-options-row > .agreement-item {
  margin: 0;
  align-self: stretch;
}

.booking-package-field {
  gap: 8px;
}

.booking-package-field select {
  height: 46px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0d0f14;
  color: var(--text);
  padding: 0 12px;
  font-family: inherit;
}

.school-program-block {
  width: 100%;
  margin-top: 18px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.06));
  box-sizing: border-box;
}

.school-program-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.school-fieldset {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}

.school-fieldset-legend {
  padding: 0;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.booking-radio-grid.school-radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.school-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.school-radio-card:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.school-radio-card:has(input:checked) {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.school-radio-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.school-radio-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.school-radio-desc {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.school-packages-compare {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.school-compare-heading {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  color: var(--text);
}

.school-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.school-compare-card {
  margin: 0;
  padding: 14px 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.school-compare-card--accent {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.school-compare-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.school-compare-list {
  margin: 0;
  padding-left: 1.1em;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.school-compare-list li {
  margin-bottom: 8px;
}

.school-compare-list li:last-child {
  margin-bottom: 0;
}

.school-compare-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

[data-theme="light"] .school-program-block {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.92));
}

@media (max-width: 720px) {
  .school-program-choices {
    grid-template-columns: 1fr;
  }

  .booking-radio-grid.school-radio-grid {
    grid-template-columns: 1fr;
  }

  .school-compare-grid {
    grid-template-columns: 1fr;
  }
}

.booking-engineer-choice {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.booking-engineer-choice-label {
  font-weight: 600;
  color: var(--text);
}

.booking-engineer-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.booking-engineer-radio {
  margin: 0;
}

.booking-engineer-day-status {
  margin: 0;
  width: 100%;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.booking-brand-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  margin: 0 auto 8px;
  padding: 0 4px;
}

.booking-brand-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.booking-brand-tab:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  background: rgba(255, 255, 255, 0.1);
}

.booking-brand-tab.active {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.booking-brand-tab-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.booking-brand-tab[data-booking-brand="records"] .booking-brand-tab-logo,
.booking-brand-tab[data-booking-brand="school"] .booking-brand-tab-logo {
  filter: brightness(0) invert(1);
}

.booking-staff-panel {
  width: 100%;
}

.booking-staff-panel[hidden] {
  display: none !important;
}

.booking-brand-option-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.booking-brand-option-panel {
  width: 100%;
}

.booking-rules-agreement {
  width: 100%;
  max-width: min(640px, 100%);
  margin: 4px auto 0;
}

.booking-rules-agreement .agreement-item {
  width: 100%;
  text-align: left;
}

.booking-price-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
}

.booking-price-card p {
  margin: 0 0 8px;
}

.booking-price-card p:last-child {
  margin-bottom: 0;
}

.booking-price-list {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.booking-price-list h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.booking-price-list p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.45;
}

.booking-price-list p:last-child {
  margin-bottom: 0;
}

.booking-time-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.booking-time-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.booking-time-column .time-slot {
  width: 100%;
  height: 44px;
  font-size: 14px;
}

.booking-time-slots .time-slot.muted {
  opacity: 0.45;
  cursor: not-allowed;
}

.booking-page-layout .calendar-panel,
.booking-page-layout .slots-panel {
  min-height: 50vh;
  padding: 18px;
}

.booking-page-layout .calendar-nav-btn {
  width: 46px;
  height: 46px;
  font-size: 22px;
}

.booking-page-layout .calendar-caption {
  font-size: 20px;
}

.booking-page-layout .calendar-weekdays,
.booking-page-layout .calendar-grid {
  gap: 10px;
}

.booking-page-layout .weekday {
  font-size: 14px;
}

.booking-page-layout .calendar-day {
  height: 46px;
  font-size: 16px;
  border-radius: 12px;
}

.booking-page-shell {
  padding-left: 16px;
  padding-right: 16px;
}

.booking-main-section {
  width: min(1680px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.booking-main-section .section-head {
  width: 100%;
  text-align: center;
}

.booking-main-section .section-head p {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

.booking-main-section .booking-page-form {
  width: 100%;
  max-width: 100%;
}

.booking-main-section .booking-page-layout {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
}

@media (max-width: 980px) {
  .booking-main-section .booking-page-layout {
    grid-template-columns: 1fr;
  }

  .booking-options-row {
    grid-template-columns: 1fr;
  }
}

.hero-screen,
.content-screen {
  min-height: 100vh;
  padding: 44px 28px;
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
}

.textured-block {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.textured-block::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: var(--texture-image);
  background-size: cover;
  background-position: center;
  filter: grayscale(1) blur(20px) contrast(0.8);
  opacity: 0.24;
  transform: scale(1.08);
  z-index: -2;
  pointer-events: none;
}

.textured-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.16), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1), transparent 33%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.92));
  z-index: -1;
  pointer-events: none;
}

[data-theme="light"] .textured-block::after {
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 0, 0, 0.12), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.08), transparent 33%),
    linear-gradient(180deg, rgba(245, 245, 245, 0.88), rgba(235, 235, 235, 0.94));
}

.texture-g9 {
  --texture-image: url("/backgrounds/G9.jpg");
}

.texture-g10 {
  --texture-image: url("/backgrounds/G10.jpg");
}

.booking-section,
.contact-card,
.artist-card,
.calendar-panel,
.slots-panel {
  background-image:
    linear-gradient(180deg, rgba(18, 18, 18, 0.92), rgba(28, 28, 28, 0.94)),
    var(--texture-image, url("/backgrounds/G9.jpg"));
  background-size: cover;
  background-position: center;
  background-blend-mode: normal;
}

.photo-slot {
  background-image:
    linear-gradient(180deg, rgba(20, 20, 20, 0.85), rgba(30, 30, 30, 0.88)),
    var(--texture-image, url("/backgrounds/G10.jpg"));
  background-size: cover;
  background-position: center;
}

[data-theme="light"] .booking-section,
[data-theme="light"] .contact-card,
[data-theme="light"] .artist-card,
[data-theme="light"] .calendar-panel,
[data-theme="light"] .slots-panel,
[data-theme="light"] .photo-slot {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.93)),
    var(--texture-image, url("/backgrounds/G9.jpg"));
}

.hero-screen {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: center;
}

.hero-bg-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  /* Область 2 : 1 (ширина : высота), до ~95% экрана; картинка без искажений */
  width: min(95vw, 190vh);
  height: calc(min(95vw, 190vh) * 0.5);
  background: url("/logos/logo.png") center / contain no-repeat;
  filter: brightness(0) invert(1) blur(22px);
  opacity: 0.2;
  pointer-events: none !important;
}

[data-theme="light"] .hero-bg-logo {
  filter: brightness(0) blur(20px);
  opacity: 0.11;
}

.hero-screen-inner {
  position: relative;
  z-index: 2;
  isolation: isolate;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 0;
  pointer-events: auto;
}

/* Blur + слои на WebKit/iOS иногда «съедают» касания по hero — без blur на coarse pointer */
@media (hover: none) and (pointer: coarse) {
  .hero-bg-logo {
    filter: brightness(0) invert(1);
    opacity: 0.16;
  }

  [data-theme="light"] .hero-bg-logo {
    filter: brightness(0);
    opacity: 0.09;
  }
}

.hero-screen-inner > * {
  width: min(1140px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.content-screen > * {
  width: min(1140px, 100%);
  margin: 0 auto;
}

.booking-section,
.contact-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  border-radius: 20px;
}

.hero-screen h1 {
  margin: 0 0 12px;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero-logo {
  width: clamp(120px, 18vw, 220px);
  height: auto;
  margin: 8px 0 14px;
  object-fit: contain;
  /* Convert black PNG mark to white while preserving transparency */
  filter: brightness(0) invert(1);
}

.hero-screen p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 22px);
}

.studio-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  justify-content: center;
  align-items: center;
}

.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  align-content: center;
  margin-top: 22px;
}

.hero-social-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  text-decoration: none;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.hero-screen .hero-social-link {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

[data-theme="light"] .hero-screen .hero-social-link {
  color: rgba(18, 28, 48, 0.92);
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(18, 28, 48, 0.14);
}

.hero-screen .hero-social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.24);
}

[data-theme="light"] .hero-screen .hero-social-link:hover {
  border-color: rgba(0, 0, 0, 0.42);
  background: rgba(0, 0, 0, 0.18);
}

/* Убрать системное «фиолетовое» кольцо WebKit; оставить явный focus-visible */
.hero-social-link:focus {
  outline: none;
}

.hero-social-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

[data-theme="light"] .hero-social-link:focus-visible {
  outline-color: rgba(0, 0, 0, 0.9);
}

.hero-screen .hero-social-link .hero-social-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  pointer-events: none;
}

@media (forced-colors: active) {
  .hero-screen .hero-social-link {
    color: ButtonText;
  }
}

.booking-cta-btn {
  min-width: clamp(240px, 32vw, 340px);
  padding: 0 28px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #f0f0f0, #ffffff);
  color: var(--accent-on-accent);
}

[data-theme="light"] .booking-cta-btn {
  background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
  color: var(--accent-on-accent);
}

.team-cta-btn,
.music-cta-btn {
  min-width: clamp(240px, 32vw, 340px);
  margin-top: 0;
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#logout-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
  margin-top: 0;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

/* Сайтбар: «Админка», вход/аватар — одни и те же размеры и фон, без отступа secondary-btn */
.top-bar-actions > #logout-btn,
.top-bar-actions > #admin-link,
.top-bar-actions > .user-session-slot-wrap {
  position: static;
  margin-top: 0;
  height: 40px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  line-height: 1;
}

.top-bar-actions > .user-session-slot-wrap {
  padding: 0;
  background: transparent;
  border: none;
}

.top-bar-actions > #admin-link {
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.secondary-btn {
  margin-top: 8px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.2vw, 52px);
}

.section-head p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
}

.projects-screen {
  min-height: auto;
}

.projects-screen .section-head h2 {
  margin-bottom: 18px;
}

.projects-logos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 24px);
  width: min(760px, 100%);
  margin: 0 auto;
}

.projects-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 32px) clamp(14px, 3vw, 28px);
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  min-height: clamp(108px, 24vw, 152px);
}

a.projects-logo-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

a.projects-logo-link:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.12);
}

a.projects-logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.projects-screen .projects-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(64px, 14vw, 112px);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

[data-theme="light"] .projects-screen .projects-logo-img {
  filter: none;
}

@media (forced-colors: active) {
  .projects-screen .projects-logo-img {
    filter: none;
  }
}

.studio-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 14px;
  align-items: stretch;
}

.studio-showcase-screen .studio-photo-grid {
  margin-bottom: clamp(28px, 5vw, 40px);
}

.studio-active-label {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: -6px 0 18px;
}

.studio-subsection-title {
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 0 0 14px;
  font-weight: 700;
}

.studio-soon-slot {
  grid-column: 1 / -1;
  min-height: 160px;
  padding: 24px;
  text-align: center;
  line-height: 1.5;
}

.studio-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.studio-picker-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.studio-picker-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 86vw);
  max-width: 100%;
  z-index: 960;
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  border-right: 1px solid var(--border);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.35);
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.studio-picker-panel.is-open {
  transform: translateX(0);
}

.studio-picker-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.studio-picker-panel-title {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.studio-picker-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  font-family: inherit;
}

.studio-picker-close-btn:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.studio-picker-list {
  list-style: none;
  margin: 0;
  padding: 12px 10px 24px;
  overflow-y: auto;
  flex: 1;
}

.studio-picker-item {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  text-align: left;
  padding: 12px 12px;
  margin-bottom: 6px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.studio-picker-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border);
}

.studio-picker-item.is-active {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.16);
}

.studio-picker-item-label {
  flex: 1;
  min-width: 0;
  font-weight: 600;
}

.studio-picker-item-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.studio-picker-open-btn {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 970;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px 14px 8px;
  border-radius: 0 14px 14px 0;
  border: 1px solid var(--border);
  border-left: none;
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
  font-family: inherit;
  transition:
    left 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.studio-picker-open-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.studio-picker-open-btn.is-panel-open {
  left: min(300px, 86vw);
  border-radius: 14px 0 0 14px;
  border-left: 1px solid var(--border);
  border-right: none;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.22);
  padding: 14px 8px 14px 10px;
}

.studio-picker-open-icon {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.studio-picker-open-btn.is-panel-open .studio-picker-open-icon {
  transform: rotate(180deg);
}

body.studio-picker-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .studio-picker-open-btn {
    padding: 10px 8px;
    font-size: 11px;
  }

  .studio-picker-open-btn.is-panel-open {
    padding: 10px 6px 10px 8px;
  }
}

.photo-slot {
  border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--border) 75%, var(--accent));
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
}

.studio-photo-slot {
  width: 100%;
  min-height: 0;
}

.studio-photo-slot--center-top {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 16 / 9;
}

.studio-photo-slot--center-bottom {
  grid-column: 2;
  grid-row: 2;
  aspect-ratio: 16 / 9;
}

.studio-photo-slot--left {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.studio-photo-slot--right {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.artist-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.artist-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  padding: 12px;
  display: grid;
  gap: 10px;
}

.artist-photo {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px dashed color-mix(in srgb, var(--border) 75%, var(--accent));
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.artist-card h3 {
  margin: 0;
  font-size: 15px;
}

.contact-screen {
  min-height: auto;
}

.faq-section {
  min-height: auto;
}

.section-head--faq {
  text-align: center;
}

.section-head--faq h2 {
  margin-bottom: 8px;
}

.faq-panel {
  width: min(760px, 100%);
  margin: 0 auto;
}

.faq-group-title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  overflow: hidden;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  color: var(--text);
  -webkit-user-select: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  flex-shrink: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
  opacity: 0.85;
}

.faq-item[open] .faq-summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq-summary:focus {
  outline: none;
}

.faq-summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.faq-answer {
  padding: 0 18px 18px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  text-align: left;
}

.faq-answer p {
  margin: 14px 0 0;
}

.faq-answer p:first-child {
  margin-top: 14px;
}

.faq-answer a {
  color: var(--accent);
  font-weight: 600;
}

.faq-gear-label {
  margin: 16px 0 8px !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.faq-gear-list {
  margin: 0;
  padding-left: 1.15em;
  color: var(--muted);
}

.faq-gear-list li {
  margin-bottom: 6px;
}

.faq-gear-list li:last-child {
  margin-bottom: 0;
}

.contact-screen .section-head {
  text-align: center;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.contact-screen .section-head h2 {
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.06));
  box-sizing: border-box;
}

.contact-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.contact-col--info {
  justify-content: center;
  padding-right: clamp(18px, 3.5vw, 36px);
}

.contact-col--maps {
  justify-content: flex-start;
  padding-left: clamp(18px, 3.5vw, 36px);
}

.contact-col--info .contact-card,
.contact-col--info .contact-invite {
  width: 100%;
  max-width: min(420px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.contact-col--info .contact-invite {
  margin-top: 18px;
}

.yandex-reviews-heading {
  margin: 0 0 8px;
  width: 100%;
  max-width: min(760px, 100%);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.yandex-reviews-lead {
  margin: 0 0 12px;
  max-width: min(760px, 100%);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.yandex-reviews-hint {
  margin: 0 0 14px;
  max-width: min(760px, 100%);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.yandex-reviews-hint a {
  color: var(--accent);
  font-weight: 600;
}

.yandex-reviews-snapshot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  width: 100%;
  max-width: min(760px, 100%);
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  box-sizing: border-box;
}

.yandex-reviews-snapshot-score {
  color: #f5a623;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1;
}

.yandex-reviews-snapshot-numbers {
  font-size: 15px;
  color: var(--text);
}

.yandex-reviews-snapshot-numbers strong {
  font-weight: 800;
}

.yandex-reviews-widget-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
}

.yandex-reviews-iframe {
  display: block;
  width: 100%;
  height: min(560px, 72vh);
  border: 0;
  vertical-align: top;
}

.yandex-reviews-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
}

@media (min-width: 901px) {
  .contact-col--info {
    border-right: 1px solid var(--border);
  }
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    padding: clamp(16px, 4vw, 22px);
    gap: 0;
  }

  .contact-col--info {
    padding-right: 0;
    padding-bottom: clamp(22px, 5vw, 32px);
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .contact-col--maps {
    padding-left: 0;
    padding-top: clamp(22px, 5vw, 32px);
  }
}

.photos-screen {
  min-height: auto;
}

.contact-card {
  padding: 18px;
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.contact-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.contact-invite {
  width: min(760px, 100%);
  margin: 16px auto 0;
  text-align: center;
}

.contact-invite p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.booking-section {
  padding: 24px;
  width: min(1140px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.booking-section > * {
  width: min(980px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.booking-head {
  text-align: center;
}

.booking-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.booking-head p {
  margin: 0 0 16px;
  color: var(--muted);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.booking-form .field.full {
  grid-column: 1 / -1;
}

.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0d0f14;
  color: var(--text);
  padding: 12px 14px;
  font-family: inherit;
  outline: none;
}

.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--accent);
}

.price-line {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
}

.booking-form .submit-btn {
  grid-column: 1 / -1;
}

.booking-form .message {
  grid-column: 1 / -1;
}

@media (max-width: 940px) {
  .page {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .card {
    justify-self: center;
    max-width: 100%;
  }

  .studio-page {
    padding: 0;
  }

  .team-page {
    padding: 72px 18px 18px;
  }

  .team-header {
    padding: 16px;
  }

  .team-section {
    padding: 18px;
  }

  .content-screen {
    min-height: auto;
    padding: 30px 18px;
  }

  .hero-screen {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 30px 18px;
  }

  .textured-block::before {
    filter: grayscale(1) blur(16px) contrast(0.82);
    opacity: 0.2;
    transform: scale(1.04);
  }

  .hero-screen h1 {
    font-size: clamp(34px, 10vw, 54px);
  }

  .booking-cta-btn {
    min-width: 220px;
    width: 100%;
    max-width: 340px;
  }

  .team-cta-btn,
  .music-cta-btn {
    min-width: 220px;
    width: 100%;
    max-width: 340px;
  }

  .studio-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .studio-photo-slot--center-top,
  .studio-photo-slot--center-bottom,
  .studio-photo-slot--left,
  .studio-photo-slot--right {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .artist-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .theme-toggle,
  #logout-btn {
    top: 10px;
    height: 36px;
    font-size: 12px;
    padding: 0 12px;
    border-radius: 9px;
  }

  .top-bar-actions > #logout-btn,
  .top-bar-actions > #admin-link,
  .top-bar-actions > .user-session-slot-wrap {
    height: 36px;
    min-height: 36px;
    font-size: 12px;
    padding: 0 12px;
    border-radius: 9px;
  }

  .top-bar-actions > .user-session-slot-wrap {
    padding: 0;
  }

  .theme-toggle {
    left: 10px;
  }

  #logout-btn {
    right: 10px;
  }

  .hero-screen {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: 72px;
    justify-content: center;
  }

  .team-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-header p {
    text-align: left;
  }

  .team-cards {
    grid-template-columns: 1fr;
  }

  .sounddesigners-grid {
    grid-template-columns: 1fr;
  }

  .booking-page-layout {
    grid-template-columns: 1fr;
  }

  .booking-main-section .booking-page-layout {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: clamp(96px, 30vw, 150px);
    margin: 4px 0 10px;
  }

  .hero-screen h1 {
    line-height: 1.12;
    margin-bottom: 10px;
  }

  .hero-screen p {
    font-size: 15px;
    line-height: 1.45;
  }

  .section-head h2 {
    font-size: clamp(24px, 7.2vw, 34px);
    margin-bottom: 8px;
  }

  .section-head p {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .contact-card {
    padding: 14px;
    border-radius: 14px;
  }

  .contact-invite {
    margin-top: 12px;
  }

  .contact-invite p {
    font-size: 15px;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .hero-screen,
  .content-screen {
    padding-left: 14px;
    padding-right: 14px;
  }

  .team-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .studio-actions {
    width: 100%;
    gap: 8px;
  }

  .hero-socials {
    margin-top: 18px;
    gap: 10px;
  }

  .hero-social-link {
    width: 40px;
    height: 40px;
  }

  .hero-screen .hero-social-link .hero-social-icon {
    width: 20px;
    height: 20px;
  }

  .booking-cta-btn,
  .team-cta-btn,
  .music-cta-btn {
    min-width: 0;
    max-width: none;
    width: 100%;
    height: 44px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }
}
