/* ============================================================
   Pegasus Muay Thai — Theme Tokens & Base
   ============================================================ */

:root {
  /* dark mode (default) */
  --bg: #0B0B0E;
  --surface: #161619;
  --elev: #1F1F23;
  --gold: #C9A24B;
  --gold-soft: #E0B968;
  --red: #8B1E1E;
  --red-soft: #A53030;
  --text: #F4F1EA;
  --muted: #A4A2A0;
  --border: #2A2A2E;
  --scrim-top: rgba(11, 11, 14, 0.2);
  --scrim-bot: rgba(11, 11, 14, 0.78);
  --glass-bg: rgba(22, 22, 25, 0.55);
  --glass-border: rgba(201, 162, 75, 0.18);
  --shadow-lift: 0 18px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 8px 30px -12px rgba(0, 0, 0, 0.5);
  --placeholder-from: #1A1820;
  --placeholder-to: #0E0D14;
  --placeholder-stripe: rgba(201, 162, 75, 0.06);
  --placeholder-label: rgba(244, 241, 234, 0.55);
}

[data-theme="light"] {
  --bg: #F7F3EC;
  --surface: #FFFFFF;
  --elev: #FBF8F2;
  --gold: #A6802F;
  --gold-soft: #C8993F;
  --red: #7A1A1A;
  --red-soft: #9E2828;
  --text: #0E0E10;
  --muted: #56555A;
  --border: #E3DCCB;
  --scrim-top: rgba(247, 243, 236, 0.1);
  --scrim-bot: rgba(247, 243, 236, 0.85);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(166, 128, 47, 0.22);
  --shadow-lift: 0 18px 50px -20px rgba(60, 40, 20, 0.18);
  --shadow-card: 0 8px 30px -12px rgba(60, 40, 20, 0.12);
  --placeholder-from: #EFE7D6;
  --placeholder-to: #F7F0DF;
  --placeholder-stripe: rgba(166, 128, 47, 0.09);
  --placeholder-label: rgba(14, 14, 16, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--gold); color: var(--bg); }

html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Assistant', 'Heebo', system-ui, sans-serif;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .45s ease, color .45s ease;
}

h1, h2, h3, h4 {
  font-family: 'Heebo', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
}

.h-display {
  font-family: 'Heebo', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.05; }
.h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 700; line-height: 1.1; }
.kicker {
  font-family: 'Heebo', system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--gold);
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; display: block; }

/* ============================================================
   Layout
   ============================================================ */

.container {
  width: min(1320px, 100% - 2.5rem);
  margin-inline: auto;
}
.locate-map { display: block; width: 260px; max-width: 100%; }
@media (max-width: 640px) {
  .locate-card { grid-template-columns: 1fr !important; }
  .locate-map { width: 100%; }
}
.container-narrow {
  width: min(960px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* ============================================================
   Skip link
   ============================================================ */
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -50px;
  background: var(--gold);
  color: var(--bg);
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  z-index: 200;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed; top: 0; inset-inline: 0;
  z-index: 100;
  height: 72px;
  display: flex; align-items: center;
  transition: background-color .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-block-end: 1px solid transparent;
}
.nav-inner {
  width: min(1320px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-block-end-color: var(--border);
}
@media (max-width: 720px) { .nav { height: 60px; } }

.brand { display: flex; align-items: center; gap: .7rem; font-family: 'Heebo'; font-weight: 800; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
  background: color-mix(in oklab, var(--gold) 8%, transparent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1rem; letter-spacing: .02em; }
.brand-text small { font-size: .68rem; color: var(--muted); letter-spacing: .14em; margin-top: 3px; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-link {
  position: relative;
  padding: .5rem .2rem;
  font-weight: 500;
  color: var(--text);
  opacity: .85;
  transition: opacity .25s, color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.nav-link:hover { opacity: 1; }
.nav-link.active { color: var(--gold); opacity: 1; }
.nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: .75rem; }

.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--gold);
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s;
}
.theme-toggle:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--gold) 12%, transparent);
}
.theme-toggle.flipping { transform: rotate(180deg); }

.hamburger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); color: var(--text); }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: grid; place-items: center; }
}

.mobile-menu {
  position: fixed; inset: 0;
  background: color-mix(in oklab, var(--bg) 96%, transparent);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex; flex-direction: column;
  padding: 6rem 2rem 2rem;
  gap: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: 'Heebo'; font-weight: 800;
  font-size: 2rem;
  border-block-end: 1px solid var(--border);
  padding-block: 1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity .5s, transform .5s, color .25s;
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: .1s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .18s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .26s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .34s; }
.mobile-menu a:hover { color: var(--gold); }

/* short / landscape viewports: compress menu so all links fit, and allow scroll */
@media (max-height: 560px) {
  .mobile-menu { padding: 4.5rem 2rem 1.5rem; gap: .5rem; justify-content: flex-start; }
  .mobile-menu a { font-size: 1.5rem; padding-block: .6rem; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: .85rem 1.4rem;
  font-family: 'Heebo'; font-weight: 700;
  font-size: .95rem;
  border-radius: 10px;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
  min-height: 44px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #15110A;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 28px -10px color-mix(in oklab, var(--gold) 70%, transparent);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 14px 36px -10px color-mix(in oklab, var(--gold) 80%, transparent); }
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-secondary:hover { background: var(--gold); color: #15110A; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: .5rem 0;
}
.btn-ghost::after {
  content: '';
  display: block;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.btn-ghost:hover::after { transform: scaleX(1); transform-origin: left; }

.btn-sm { padding: .55rem 1rem; font-size: .85rem; min-height: 38px; }

/* ============================================================
   Image placeholder system
   ============================================================ */
.themed-img.has-photo { background: #141417; }
.themed-img.has-photo::after { display: none; }
.themed-img .real-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
}
.themed-img {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      var(--placeholder-stripe) 0 14px,
      transparent 14px 28px
    ),
    linear-gradient(135deg, var(--placeholder-from), var(--placeholder-to));
  display: flex; align-items: flex-end;
}
.themed-img::after {
  /* radial flicker for depth */
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, color-mix(in oklab, var(--gold) 14%, transparent), transparent 60%),
              radial-gradient(ellipse at 80% 90%, color-mix(in oklab, var(--red) 18%, transparent), transparent 55%);
  opacity: .8;
  pointer-events: none;
}
.themed-img .ph-label {
  position: relative; z-index: 2;
  margin: 1rem;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .7rem;
  color: var(--placeholder-label);
  background: color-mix(in oklab, var(--bg) 55%, transparent);
  backdrop-filter: blur(8px);
  padding: .35rem .6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  letter-spacing: .02em;
}
.themed-img .ph-corner {
  position: absolute; z-index: 2;
  inset-inline-start: 1rem;
  top: 1rem;
  font-family: ui-monospace, monospace;
  font-size: .65rem;
  color: var(--gold);
  opacity: .55;
  letter-spacing: .15em;
  text-transform: uppercase;
}

[data-theme="dark"]  .contact-hero-light { display: none; }
[data-theme="light"] .contact-hero-dark  { display: none; }
.contact-hero-light, .contact-hero-dark { object-position: center 30%; }

[data-theme="dark"]  .schedule-hero-light { display: none; }
[data-theme="light"] .schedule-hero-dark  { display: none; }
.schedule-hero-light, .schedule-hero-dark { object-position: center 38%; }

[data-theme="dark"]  .hero-hero-light { display: none; }
[data-theme="light"] .hero-hero-dark  { display: none; }

.hero-real-bg { position: absolute; inset: 0; }
.hero-real-bg .real-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* hero variant: full bleed scrim */
.hero-img-scrim::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--scrim-bot) 0%, var(--scrim-top) 60%);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  will-change: transform;
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1100px, 100% - 2.5rem);
  margin-inline: auto;
  text-align: center;
  padding-block: 8rem 5rem;
}
.hero-content .kicker { display: inline-block; margin-bottom: 1.5rem; }
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content .lead {
  font-family: 'Heebo';
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  color: var(--text);
  opacity: .9;
  max-width: 820px; margin: 0 auto 2.5rem;
  line-height: 1.45;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  inset-inline-start: 50%;
  transform: translateX(50%);
  z-index: 3;
  color: var(--gold);
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  animation: scroll-bounce 2.4s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(50%) translateY(0); }
  50% { transform: translateX(50%) translateY(8px); }
}

/* compact hero variant */
.hero-compact {
  min-height: 40vh;
  padding-block: 7rem 3rem;
}
.hero-compact .hero-content { padding-block: 2rem; }

/* ============================================================
   Cards, generic
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--gold) 40%, var(--border));
  box-shadow: var(--shadow-card);
}
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .47s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: .54s; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: .61s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Section heading block
   ============================================================ */
.section-head { margin-bottom: 3rem; max-width: 760px; }
.section-head .kicker { margin-bottom: .8rem; display: block; }
.section-head p {
  color: var(--muted);
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-head.center { margin-inline: auto; text-align: center; }

/* ============================================================
   Feature strip (8 limbs etc)
   ============================================================ */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 720px) { .feature-strip { grid-template-columns: repeat(2, 1fr); } }
.feature-cell {
  text-align: center;
  padding: 1.5rem 1rem;
}
.feature-cell .ico {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 14px;
  background: color-mix(in oklab, var(--gold) 12%, var(--surface));
  color: var(--gold);
  border: 1px solid color-mix(in oklab, var(--gold) 30%, var(--border));
}
.feature-cell h4 { font-size: 1.1rem; margin-bottom: .35rem; font-weight: 700; }
.feature-cell p { color: var(--muted); font-size: .9rem; }

/* ============================================================
   Coach split
   ============================================================ */
.coach-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 880px) { .coach-split { grid-template-columns: 1fr; gap: 2.5rem; } }

.coach-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
}
.coach-img-wrap .real-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-theme="dark"]  .coach-img-light { display: none; }
[data-theme="light"] .coach-img-dark  { display: none; }
.coach-img-wrap::after {
  content: '';
  position: absolute;
  inset-inline-end: -18px;
  bottom: -18px;
  width: 60%; height: 60%;
  border: 1.5px solid var(--gold);
  border-radius: 24px;
  z-index: -1;
}
.coach-body p + p { margin-top: 1rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--border);
}
.stat-row .stat strong {
  font-family: 'Heebo'; font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--gold);
  display: block;
  line-height: 1;
  font-feature-settings: 'tnum';
}
.stat-row .stat small { color: var(--muted); font-size: .85rem; }

/* gear grid */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 880px) { .gear-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gear-grid { grid-template-columns: 1fr; } }
.gear-item {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .25s, background .25s, transform .25s;
}
.gear-item:hover { border-color: var(--gold); transform: translateX(-4px); }
[dir="rtl"] .gear-item:hover { transform: translateX(4px); }
.gear-item .ico {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: color-mix(in oklab, var(--gold) 14%, transparent);
  color: var(--gold);
  flex-shrink: 0;
}
.gear-item span { font-weight: 500; }

/* 3-up grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } }

.spon-card { padding: 2rem; }
.spon-card .ico { color: var(--gold); margin-bottom: 1rem; }
.spon-card h4 { font-size: 1.3rem; margin-bottom: .5rem; }
.spon-card p { color: var(--muted); }

/* testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) { .testi-grid { grid-template-columns: 1fr; } }
.testi {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  position: relative;
}
.testi .quote-mark {
  position: absolute;
  inset-inline-end: 1.2rem;
  top: 0.5rem;
  font-family: 'Heebo';
  font-size: 4rem;
  color: var(--gold);
  opacity: .25;
  line-height: 1;
}
.testi p { color: var(--text); margin-bottom: 1.5rem; font-size: 1.02rem; line-height: 1.65; }
.testi-meta { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--red));
  display: grid; place-items: center;
  color: var(--bg); font-weight: 800;
  font-family: 'Heebo';
}
.testi-meta strong { display: block; font-size: .95rem; }
.testi-meta small { color: var(--muted); font-size: .8rem; }

/* testimonials carousel */
.testi-carousel .testi-grid {
  animation: testiFade .45s cubic-bezier(.22,1,.36,1);
  align-items: start;
}
@keyframes testiFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.testi-arrow {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s;
}
.testi-arrow:hover { border-color: var(--gold); color: var(--gold); transform: scale(1.06); }
.testi-arrow:active { transform: scale(.96); }
.testi-dots { display: flex; gap: .5rem; align-items: center; }
.testi-dot {
  width: 9px; height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .2s, width .2s;
}
.testi-dot.on { background: var(--gold); width: 26px; border-radius: 5px; }

/* faq */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item.open { border-color: color-mix(in oklab, var(--gold) 50%, var(--border)); }
.faq-q {
  width: 100%; text-align: start;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem;
  font-family: 'Heebo'; font-weight: 700;
  font-size: 1.05rem;
  gap: 1rem;
}
.faq-q svg {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.22,1,.36,1);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 1.5rem 1.4rem; color: var(--muted); line-height: 1.7; }

/* closing CTA banner */
.cta-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  isolation: isolate;
}
.cta-banner .themed-img { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: 28px; }
.cta-banner h2 { color: #F4F1EA; margin-bottom: 2rem; max-width: 800px; margin-inline: auto; text-shadow: 0 1px 10px rgba(0,0,0,.65), 0 3px 24px rgba(0,0,0,.45); }
.cta-banner .kicker, .cta-banner p { text-shadow: 0 1px 8px rgba(0,0,0,.6), 0 2px 18px rgba(0,0,0,.4); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--surface);
  border-block-start: 2px solid var(--gold);
  padding-block: 4rem 1.5rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
  gap: 3rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h5 {
  font-family: 'Heebo'; font-weight: 800;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer a { color: var(--muted); transition: color .25s; }
.footer a:hover { color: var(--text); }
.footer p { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.social-row { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social-row a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  transition: background .25s, color .25s, border-color .25s;
}
.social-row a:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.footer-map { aspect-ratio: 5/3; border-radius: 12px; overflow: hidden; max-height: 200px; }

.map-embed {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--elev);
  border: 1px solid var(--border);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* subtle theme tint */
  filter: var(--map-filter, none);
}
[data-theme="dark"] .map-embed iframe {
  --map-filter: invert(0.92) hue-rotate(180deg) saturate(0.85) brightness(0.95);
}
.footer-strip {
  margin-top: 3rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}

/* ============================================================
   Schedule page
   ============================================================ */
.chips {
  display: flex; gap: .6rem; flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-block: 1rem;
  position: sticky;
  top: 72px;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  z-index: 10;
}
.chip {
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: .9rem; font-weight: 600;
  font-family: 'Heebo';
  transition: all .25s;
  min-height: 38px;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--gold); border-color: var(--gold); color: #15110A; }

.sched-grid {
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  gap: 6px;
  margin-top: 1rem;
}
@media (max-width: 880px) { .sched-grid { display: none; } }
.sched-cell-head {
  text-align: center;
  padding: .8rem .4rem;
  background: var(--surface);
  border-radius: 10px;
  font-family: 'Heebo'; font-weight: 800;
  font-size: .85rem;
  color: var(--gold);
}
.sched-cell-time {
  display: grid; place-items: center;
  font-family: 'Heebo'; font-weight: 700;
  font-size: .82rem;
  color: var(--muted);
  font-feature-settings: 'tnum';
}
.sched-cell {
  min-height: 70px;
  padding: .55rem .65rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--lvl, var(--gold));
  text-align: start;
  display: flex; flex-direction: column; justify-content: center;
  gap: .15rem;
  transition: transform .25s, box-shadow .25s, opacity .35s, border-color .25s;
}
.sched-cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--gold); }
.sched-cell.dim { opacity: .25; }
.sched-cell .name { font-weight: 700; font-size: .85rem; line-height: 1.2; }
.sched-cell .time { font-size: .72rem; color: var(--muted); font-feature-settings: 'tnum'; }
.sched-cell.empty { background: transparent; border: 1px dashed color-mix(in oklab, var(--border) 70%, transparent); border-inline-start: 1px dashed color-mix(in oklab, var(--border) 70%, transparent); cursor: default; min-height: 70px; }
.sched-cell.empty:hover { transform: none; box-shadow: none; }

/* mobile accordion */
.sched-mobile { display: none; }
@media (max-width: 880px) { .sched-mobile { display: block; } }
.sched-day {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: .75rem;
  overflow: hidden;
}
.sched-day-head {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.2rem;
  font-family: 'Heebo'; font-weight: 800;
  font-size: 1.05rem;
}
.sched-day-head svg { color: var(--gold); transition: transform .3s; }
.sched-day.open .sched-day-head svg { transform: rotate(180deg); }
.sched-day-body { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.22,1,.36,1); }
.sched-day.open .sched-day-body { max-height: 800px; }
.sched-day-body-inner { padding: 0 1rem 1rem; display: flex; flex-direction: column; gap: .5rem; }
.sched-mob-row {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  background: var(--elev);
  border-inline-start: 3px solid var(--lvl, var(--gold));
}
.sched-mob-row .t { font-family: 'Heebo'; font-weight: 700; color: var(--gold); font-feature-settings: 'tnum'; }

.lvl-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .15rem .55rem;
  font-size: .7rem; font-weight: 700; font-family: 'Heebo';
  border-radius: 6px;
  background: color-mix(in oklab, var(--lvl) 16%, var(--surface));
  color: var(--lvl);
  border: 1px solid color-mix(in oklab, var(--lvl) 35%, transparent);
}

/* level palette */
.lvl-beg { --lvl: #5DAF7A; }
.lvl-int { --lvl: #C9A24B; }
.lvl-adv { --lvl: #C2553C; }
.lvl-comp { --lvl: #8B1E1E; }
.lvl-kids { --lvl: #3D7BC6; }
.lvl-youth { --lvl: #7E6CC2; }
.lvl-women { --lvl: #A267C2; }
.lvl-open { --lvl: #6C8FAD; }

/* modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  padding: 1rem;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(560px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transform: translateY(20px) scale(.96);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  max-height: 90vh; overflow-y: auto;
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal h3 { margin-bottom: .5rem; }
.modal .modal-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.modal .modal-close {
  position: absolute; inset-inline-end: 1rem; top: 1rem;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--elev);
  display: grid; place-items: center;
}
.modal-wrap { position: relative; }
.intensity-dots { display: inline-flex; gap: 4px; }
.intensity-dots .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.intensity-dots .dot.on { background: var(--gold); }

/* ============================================================
   Contact page
   ============================================================ */
.contact-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 880px) { .contact-tiles { grid-template-columns: repeat(2, 1fr); } }
.tile {
  display: flex; flex-direction: column;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  min-height: 160px;
  text-align: start;
}
.tile:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 14px 40px -16px color-mix(in oklab, var(--gold) 60%, transparent);
}
.tile .ico {
  align-self: flex-end;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: color-mix(in oklab, var(--gold) 14%, transparent);
  color: var(--gold);
  margin-bottom: auto;
}
.tile strong { font-family: 'Heebo'; font-weight: 800; font-size: 1.15rem; margin-top: 1rem; display: block; }
.tile small { color: var(--muted); font-size: .85rem; margin-top: .25rem; display: block; }

/* form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.field {
  position: relative;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 1.4rem 1rem .6rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--gold) 18%, transparent);
}
.field label {
  position: absolute;
  inset-inline-start: 1rem;
  top: 1rem;
  color: var(--muted);
  font-size: .95rem;
  pointer-events: none;
  transition: all .2s ease-out;
  background: transparent;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field.has-value label {
  top: .35rem;
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .04em;
}
.field-full { grid-column: 1 / -1; }
.form-err {
  color: var(--red-soft);
  font-size: .82rem;
  margin-top: .35rem;
  display: flex; align-items: center; gap: .35rem;
}
.field-hint {
  color: var(--muted);
  font-size: .78rem;
  margin-top: .4rem;
  padding-inline-start: .15rem;
}

/* friendlier contact form card */
.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
}
.wa-hint {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  background: color-mix(in oklab, #25D366 12%, var(--bg));
  border: 1px solid color-mix(in oklab, #25D366 38%, transparent);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.wa-hint:hover {
  transform: translateY(-2px);
  border-color: #25D366;
  box-shadow: 0 8px 24px color-mix(in oklab, #25D366 22%, transparent);
}
.wa-hint-ico {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--surface);
  border-radius: 12px;
}
.wa-hint-text { flex: 1; font-size: .98rem; line-height: 1.45; }
.wa-hint > svg { color: #25D366; flex-shrink: 0; }
.wa-hint:hover > svg { animation: nudge .6s ease infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }

.form-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.6rem 0 1.4rem;
  color: var(--muted);
  font-size: .82rem;
}
.form-divider::before, .form-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.form-actions {
  display: flex; gap: 1rem 1.25rem; align-items: center; flex-wrap: wrap;
  margin-top: .25rem;
}
.form-reassure { font-size: .85rem; }
.form-sent {
  display: inline-flex; gap: .5rem; align-items: center;
  color: var(--gold); font-weight: 600;
  width: 100%;
}

/* matcher */
.matcher {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  overflow: hidden;
}
.matcher-progress {
  display: flex; gap: 6px;
  margin-bottom: 2rem;
}
.matcher-progress div {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  transition: background .35s;
}
.matcher-progress div.done { background: var(--gold); }
.matcher-step h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.matcher-options { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .matcher-options { grid-template-columns: 1fr; } }
.matcher-options button {
  padding: 1rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--elev);
  font-family: 'Heebo'; font-weight: 600;
  font-size: 1rem;
  text-align: start;
  transition: all .25s;
}
.matcher-options button:hover { border-color: var(--gold); background: color-mix(in oklab, var(--gold) 8%, var(--elev)); transform: translateX(-3px); }
[dir="rtl"] .matcher-options button:hover { transform: translateX(3px); }
.matcher-options button.selected { border-color: var(--gold); background: color-mix(in oklab, var(--gold) 14%, var(--elev)); }
.matcher-nav { display: flex; justify-content: space-between; margin-top: 2rem; }

.matcher-result {
  text-align: center;
  padding: 1rem;
}
.matcher-result .ribbon {
  display: inline-block;
  padding: .4rem 1rem;
  background: color-mix(in oklab, var(--gold) 15%, transparent);
  color: var(--gold);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  margin-bottom: 1rem;
}
.matcher-result h3 { font-size: 2rem; margin-bottom: 1rem; color: var(--gold); }
.matcher-result .actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* calculator */
.calc {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}
@media (max-width: 880px) { .calc { grid-template-columns: 1fr; padding: 1.5rem; } }
.calc-controls select { min-width: 0; }
.calc-controls { display: flex; flex-direction: column; gap: 1rem; }
.calc-result {
  background: var(--elev);
  border-radius: 16px;
  padding: 2rem;
  display: flex; flex-direction: column; gap: .5rem;
  align-self: stretch;
  justify-content: center;
  text-align: center;
}
.calc-price {
  font-family: 'Heebo'; font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold);
  font-feature-settings: 'tnum';
  line-height: 1;
}
.calc-price small { font-size: .4em; opacity: .7; margin-inline-start: .3rem; }
.calc-month { color: var(--muted); margin-block: .25rem 1rem; }
.savings-badge {
  display: inline-block; align-self: center;
  padding: .35rem .8rem;
  background: color-mix(in oklab, #5DAF7A 16%, transparent);
  border: 1px solid #5DAF7A;
  color: #5DAF7A;
  border-radius: 999px;
  font-size: .8rem; font-weight: 700;
  margin-block: .5rem 1.25rem;
}

/* ============================================================
   Gallery
   ============================================================ */
.tabs {
  display: flex; gap: 1.5rem;
  border-block-end: 1px solid var(--border);
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: thin;
}
.tab {
  position: relative;
  padding: 1rem .25rem;
  font-family: 'Heebo'; font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: color .25s;
}
.tab.active { color: var(--gold); }
.tab::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.tab.active::after { transform: scaleX(1); }
.tab:hover { color: var(--text); }

.masonry {
  column-count: 3;
  column-gap: 1rem;
}
@media (max-width: 880px) { .masonry { column-count: 2; } }
@media (max-width: 540px) { .masonry { column-count: 1; } }
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.masonry-item:hover { transform: translateY(-2px); }
.masonry-item .themed-img { position: absolute; inset: 0; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.masonry-item:hover .themed-img { transform: scale(1.05); }
.masonry-caption {
  position: absolute;
  inset-inline: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: #F4F1EA;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  z-index: 3;
}
.masonry-item:hover .masonry-caption { transform: translateY(0); }
.masonry-caption strong { font-family: 'Heebo'; font-weight: 700; display: block; }
.masonry-caption small { opacity: .8; font-size: .8rem; }

.lightbox {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(20px);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  padding: 4rem 1rem 2rem;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-inner {
  width: auto;
  max-width: min(1000px, 100%);
  max-height: 80vh;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transform: scale(.95);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  background: #0a0a0a;
}
.lightbox.open .lightbox-inner { transform: scale(1); }
.lightbox-inner .lb-photo {
  display: block;
  max-width: min(1000px, 100%);
  max-height: 80vh;
  width: auto; height: auto;
  object-fit: contain;
}
.lightbox-cap {
  text-align: center; color: #F4F1EA;
  margin-top: 1.25rem;
  font-family: 'Heebo';
}
.lightbox-cap strong { font-weight: 800; font-size: 1.1rem; }
.lightbox-cap small { display: block; opacity: .65; margin-top: .25rem; font-size: .85rem; }
.lb-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: grid; place-items: center;
  transition: background .25s;
  z-index: 251;
}
.lb-btn:hover { background: var(--gold); color: #000; }
.lb-prev { inset-inline-end: 1.5rem; }
.lb-next { inset-inline-start: 1.5rem; }
.lb-close {
  position: absolute;
  inset-inline-end: 1.5rem; top: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: grid; place-items: center;
  z-index: 251;
}
.lb-close:hover { background: var(--red); }

/* ============================================================
   Page-transition
   ============================================================ */
.page {
  animation: page-in .45s cubic-bezier(.22,1,.36,1);
}
@keyframes page-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* helper utilities */
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.flex-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }

/* ============================================================
   Accessibility widget
   ============================================================ */
.a11y-fab {
  position: fixed;
  inset-block-end: 20px;
  inset-inline-start: 20px;
  z-index: 10000;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid color-mix(in oklab, var(--gold) 60%, #000);
  background: #14110B;
  color: var(--gold);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .2s, box-shadow .2s;
}
.a11y-fab:hover { transform: scale(1.06); box-shadow: 0 10px 28px rgba(0,0,0,.5); }
.a11y-fab:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.a11y-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,.35);
}

.a11y-panel {
  position: fixed;
  inset-block-end: 88px;
  inset-inline-start: 20px;
  z-index: 9999;
  width: min(340px, calc(100vw - 40px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  padding: 1.1rem;
  max-height: calc(100vh - 108px);
  max-height: calc(100dvh - 108px);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(.97);
  transform-origin: bottom left;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.a11y-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.a11y-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
  position: sticky; top: -2px;
  background: var(--surface);
  padding-bottom: .5rem;
  z-index: 1;
}
.a11y-panel-head strong { font-family: 'Heebo'; font-size: 1.15rem; }
.a11y-close {
  width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--border); background: transparent; color: var(--text);
  cursor: pointer; font-size: 1rem; line-height: 1;
}
.a11y-close:hover { border-color: var(--gold); color: var(--gold); }

.a11y-font-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: .65rem .85rem; margin-bottom: .9rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  font-weight: 600;
}
.a11y-font-ctrls { display: flex; align-items: center; gap: .5rem; }
.a11y-font-ctrls button {
  width: 40px; height: 36px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-weight: 800; cursor: pointer; font-feature-settings: 'tnum';
}
.a11y-font-ctrls button:hover { border-color: var(--gold); color: var(--gold); }
.a11y-font-val { min-width: 48px; text-align: center; font-feature-settings: 'tnum'; font-size: .9rem; }

.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.a11y-opt {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  text-align: center; padding: .85rem .5rem;
  border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text);
  cursor: pointer; font-size: .82rem; font-weight: 600;
  transition: border-color .2s, background .2s, transform .15s;
}
.a11y-opt:hover { transform: translateY(-2px); border-color: var(--gold); }
.a11y-opt:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.a11y-opt-ico { color: var(--gold); display: grid; place-items: center; height: 24px; }
.a11y-opt.on { background: var(--gold); border-color: var(--gold); color: #15110A; }
.a11y-opt.on .a11y-opt-ico { color: #15110A; }

.a11y-statement-link {
  display: block; width: 100%; margin-top: .9rem;
  background: transparent; border: none; color: var(--gold);
  font-weight: 700; font-size: .92rem; cursor: pointer; padding: .4rem;
  text-align: center;
}
.a11y-statement-link:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .a11y-fab { width: 50px; height: 50px; inset-block-end: 14px; inset-inline-start: 14px; }
  .a11y-panel { inset-block-end: 76px; inset-inline-start: 14px; }
}

/* ---- accessibility modes (applied to <html>) ---- */
.a11y-contrast {
  --bg: #000; --surface: #0a0a0a; --elev: #0a0a0a;
  --text: #fff; --muted: #fff;
  --gold: #FFD64A; --gold-soft: #FFE48A;
  --border: #fff;
}
.a11y-contrast #root { background: #000; }
.a11y-contrast .btn-primary { background: #FFD64A; color: #000; }
.a11y-contrast .themed-img { outline: 1px solid #fff; }

.a11y-mono #root { filter: grayscale(1); }

.a11y-links #root a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 700;
}
.a11y-links #root a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.a11y-readable #root,
.a11y-readable #root * {
  font-family: Arial, "Helvetica Neue", "Segoe UI", sans-serif !important;
  letter-spacing: normal !important;
}

.a11y-spacing #root p,
.a11y-spacing #root li,
.a11y-spacing #root .lead,
.a11y-spacing #root .faq-a-inner,
.a11y-spacing #root .testi p {
  line-height: 2.1 !important;
  letter-spacing: .045em !important;
  word-spacing: .12em !important;
}

.a11y-no-motion #root *,
.a11y-no-motion #a11y-root * {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}
.a11y-no-motion #root .reveal,
.a11y-no-motion #root .reveal-stagger,
.a11y-no-motion #root .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}

.a11y-big-cursor,
.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%3E%3Cpath%20d='M8%204%20L8%2040%20L17%2031%20L23%2044%20L29%2041%20L23%2028%20L36%2028%20Z'%20fill='%23000'%20stroke='%23fff'%20stroke-width='2.5'%20stroke-linejoin='round'/%3E%3C/svg%3E") 6 4, auto !important;
}

/* ---- accessibility statement page ---- */
.a11y-doc { font-size: 1.05rem; line-height: 1.8; }
.a11y-doc-section { margin-bottom: 2.25rem; }
.a11y-doc-section h2 { margin-bottom: .75rem; color: var(--gold); }
.a11y-doc-section p { color: var(--text); }
.a11y-doc-list { margin: .5rem 0 0; padding-inline-start: 1.25rem; display: grid; gap: .5rem; }
.a11y-doc-list li { color: var(--text); }
.a11y-doc-list li::marker { color: var(--gold); }
.a11y-coord { padding: 1.5rem; display: grid; gap: .85rem; max-width: 460px; }
.a11y-coord-row { display: flex; align-items: baseline; gap: 1rem; }
.a11y-coord-label {
  min-width: 64px; color: var(--muted); font-size: .85rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.a11y-coord-row a, .a11y-coord-row strong { font-size: 1.1rem; }
.a11y-coord-row a { color: var(--gold); text-decoration: none; }
.a11y-coord-row a:hover { text-decoration: underline; }
