/* ============================================================
   SHOSTAKOVICH SCHOOL — Design A "Spotlight"
   Deep-navy stage, gold serif display, paint-splash accents
   Palette drawn from client poster + logo
   ============================================================ */
:root {
  --ink:      #12102e;   /* deep indigo night   */
  --ink-2:    #1b1840;   /* raised surfaces     */
  --cream:    #faf4e6;   /* poster parchment    */
  --gold:     #e9a83b;
  --gold-2:   #f6c96a;
  --magenta:  #e63888;
  --orange:   #f26b21;
  --violet:   #7a5cd6;
  --blue:     #21a9e1;
  --text:     #f4f0ff;
  --muted:    #b7b1d8;
  --radius:   14px;
  --header-h: 76px;
  --font-display: "Prata", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0 0 .5em; line-height: 1.15; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* splash gradient text — the brand signature */
.splash-text {
  background: linear-gradient(100deg, var(--gold-2) 0%, var(--magenta) 38%, var(--violet) 66%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* ribbon rule — echoes the blue swoosh in the logo */
.ribbon {
  height: 4px; width: 96px; border: 0; margin: 0 auto 26px; border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), var(--magenta), var(--violet), var(--blue));
}
.ribbon.left { margin-inline: 0; }

/* ---------------- Header ---------------- */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(18, 16, 46, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(233, 168, 59, .25);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img {
  height: 46px; width: auto; border-radius: 8px; background: #fff; padding: 3px;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name b {
  font-family: var(--font-display); font-weight: 400; font-size: 1.15rem;
  letter-spacing: .14em; color: var(--gold-2); white-space: nowrap;
}
.brand-name span {
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}

nav.primary { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-item > button, .nav-item > a {
  appearance: none; background: none; border: 0; cursor: pointer;
  font: 500 .82rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--text); padding: 14px 14px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .2s, background .2s;
}
.nav-item > button .chev { transition: transform .25s; font-size: .6rem; color: var(--gold); }
.nav-item.open > button .chev { transform: rotate(180deg); }
.nav-item > button:hover, .nav-item > a:hover,
.nav-item.open > button { color: var(--gold-2); background: rgba(233,168,59,.08); }

.btn-portal {
  border: 1px solid var(--gold); color: var(--gold-2) !important;
  border-radius: 999px; padding: 11px 22px !important;
}
.btn-portal:hover { background: var(--gold); color: var(--ink) !important; }

/* dropdown panels */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 560px; background: var(--ink-2);
  border: 1px solid rgba(122,92,214,.35); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  padding: 28px 32px; display: flex; gap: 40px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s, transform .22s, visibility .22s;
}
.mega::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--orange), var(--magenta), var(--violet), var(--blue));
}
.nav-item.open .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-col { min-width: 150px; }
.mega-col h4 {
  margin: 0 0 14px; font: 600 .68rem/1 var(--font-body); letter-spacing: .28em;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid rgba(183,177,216,.2); padding-bottom: 10px;
}
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a {
  display: block; padding: 7px 0; font-family: var(--font-display); font-size: 1.02rem;
  color: var(--text); transition: color .18s, padding-left .18s;
}
.mega-col li a:hover { color: var(--gold-2); padding-left: 6px; }
.mega-quote {
  max-width: 210px; align-self: center; font-style: italic; color: var(--muted); font-size: .9rem;
  border-left: 3px solid var(--magenta); padding-left: 16px;
}

/* hamburger */
.nav-toggle {
  display: none; appearance: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; border-radius: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--gold-2); border-radius: 2px;
  margin: 5px 0; transition: transform .3s, opacity .3s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; text-align: center;
  padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 10vw, 120px);
  overflow: hidden;
}
.hero-splashes { position: absolute; inset: 0; pointer-events: none; }
.hero-splashes .blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
  animation: drift 14s ease-in-out infinite alternate;
}
.blob.b1 { width: 420px; height: 420px; left: -140px; top: -80px; background: var(--magenta); }
.blob.b2 { width: 380px; height: 380px; right: -120px; top: 40px; background: var(--violet); animation-delay: -4s; }
.blob.b3 { width: 300px; height: 300px; left: 32%; bottom: -160px; background: var(--orange); opacity: .35; animation-delay: -8s; }
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(30px, 24px, 0) scale(1.12); }
}

.hero-eyebrow {
  font: 500 .78rem/1 var(--font-body); letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  margin: 0 auto 22px; max-width: 15ch;
}
.hero p.lede {
  max-width: 620px; margin: 0 auto 40px; color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.22rem); font-weight: 300;
}
.hero-since {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
  color: var(--muted); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 34px; border-radius: 999px;
  font: 600 .82rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-solid {
  color: var(--ink);
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 30px rgba(233,168,59,.35);
}
.btn-solid:hover { box-shadow: 0 14px 38px rgba(233,168,59,.5); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(244,240,255,.4); color: var(--text); }
.btn-ghost:hover { border-color: var(--magenta); color: #fff; background: rgba(230,56,136,.12); }

/* keyboard strip under hero — nod to the logo's fanned keys */
.keys-strip { display: flex; height: 34px; opacity: .9; }
.keys-strip i { flex: 1; border-right: 1px solid rgba(18,16,46,.5); }
.keys-strip i:nth-child(1) { background: var(--orange); }
.keys-strip i:nth-child(2) { background: var(--gold); }
.keys-strip i:nth-child(3) { background: var(--magenta); }
.keys-strip i:nth-child(4) { background: var(--violet); }
.keys-strip i:nth-child(5) { background: var(--blue); }
.keys-strip i:nth-child(6) { background: var(--orange); }
.keys-strip i:nth-child(7) { background: var(--gold); }
.keys-strip i:nth-child(8) { background: var(--magenta); }
.keys-strip i:nth-child(9) { background: var(--violet); }
.keys-strip i:nth-child(10){ background: var(--blue); }

/* ---------------- Sections ---------------- */
section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-head p { color: var(--muted); margin: 0; }

/* Programs */
.grid-programs {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--ink-2); border: 1px solid rgba(183,177,216,.14);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(0,0,0,.5); }
  .card:hover .card-art svg .float { transform: translateY(-6px); }
}
.card-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-art svg { width: 100%; height: 100%; }
.card-art svg .float { transition: transform .5s ease; }
.card-body { padding: 26px 26px 30px; text-align: center; }
.card-body h3 { font-size: 1.35rem; }
.card-body p { color: var(--muted); font-size: .93rem; margin: 0 0 18px; }
.card-link {
  font: 600 .74rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase;
}
.card.c-music   { --tint: var(--gold); }
.card.c-dance   { --tint: var(--magenta); }
.card.c-art     { --tint: var(--violet); }
.card.c-daycare { --tint: var(--blue); }
.card.c-baby    { --tint: var(--orange); }
.card.c-chess   { --tint: var(--gold-2); }
.card .card-link { color: var(--tint); border-bottom: 1px solid transparent; padding-bottom: 3px; }
.card .card-link:hover { border-color: var(--tint); }
.card:hover { border-color: color-mix(in srgb, var(--tint) 55%, transparent); }

/* Enrollment banner */
.enroll {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(600px 300px at 12% 20%, rgba(230,56,136,.35), transparent 70%),
    radial-gradient(600px 320px at 88% 80%, rgba(122,92,214,.4), transparent 70%),
    linear-gradient(120deg, #221d52, #171334);
  border-top: 1px solid rgba(233,168,59,.25);
  border-bottom: 1px solid rgba(233,168,59,.25);
}
.enroll h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.enroll p { color: var(--muted); max-width: 560px; margin: 0 auto 36px; }
.enroll .fee {
  display: inline-block; margin-top: 30px; padding: 9px 20px; border-radius: 999px;
  border: 1px dashed rgba(246,201,106,.5); color: var(--gold-2);
  font-size: .82rem; letter-spacing: .12em;
}

/* News + gallery split */
.split { display: grid; gap: 60px; grid-template-columns: 1fr 1fr; align-items: start; }
.split h2 { font-size: 1.9rem; margin-bottom: 26px; }
.news-item {
  display: grid; grid-template-columns: 86px 1fr; gap: 20px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid rgba(183,177,216,.16);
}
.news-item:first-of-type { border-top: 1px solid rgba(183,177,216,.16); }
.news-date {
  font: 600 .72rem/1.5 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); padding-top: 4px;
}
.news-item p { margin: 0; font-size: 1rem; }
.link-more {
  display: inline-block; margin-top: 22px;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-2); border-bottom: 1px solid var(--gold-2); padding-bottom: 4px;
}
.link-more:hover { color: var(--magenta); border-color: var(--magenta); }

.gallery-frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(183,177,216,.2);
  background:
    radial-gradient(60% 80% at 70% 30%, rgba(230,56,136,.5), transparent 70%),
    radial-gradient(50% 70% at 20% 80%, rgba(33,169,225,.45), transparent 70%),
    var(--ink-2);
  display: flex; align-items: center; justify-content: center;
}
.gallery-frame .play {
  width: 78px; height: 78px; border-radius: 50%;
  background: rgba(250,244,230,.14); border: 1px solid rgba(250,244,230,.5);
  display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .25s, background .25s;
}
.gallery-frame .play svg { width: 26px; height: 26px; margin-left: 4px; }
.gallery-frame:hover .play { transform: scale(1.1); background: rgba(230,56,136,.4); }

/* Locations */
.locations { border-top: 1px solid rgba(183,177,216,.14); }
.loc-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.loc {
  background: var(--ink-2); border-radius: var(--radius); padding: 30px;
  border-top: 4px solid var(--tint, var(--gold)); text-align: center;
}
.loc.l1 { --tint: var(--magenta); } .loc.l2 { --tint: var(--blue); } .loc.l3 { --tint: var(--violet); }
.loc b { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; display: block; margin-bottom: 4px; }
.loc span { color: var(--muted); font-size: .9rem; display: block; }
.loc a.tel { display: inline-block; margin-top: 14px; color: var(--tint); font-weight: 500; letter-spacing: .08em; }

/* Footer */
footer { background: #0c0a22; border-top: 1px solid rgba(233,168,59,.2); padding: 64px 0 28px; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr 1fr; margin-bottom: 46px; }
.foot-brand img { height: 52px; background: #fff; border-radius: 8px; padding: 4px; margin-bottom: 18px; }
.foot-brand p { color: var(--muted); font-size: .9rem; margin: 0; }
footer h4 {
  font: 600 .7rem/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px;
}
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 10px; }
footer li a { color: var(--muted); font-size: .92rem; transition: color .2s; }
footer li a:hover { color: var(--gold-2); }
.foot-bottom {
  border-top: 1px solid rgba(183,177,216,.12); padding-top: 24px; text-align: center;
  color: var(--muted); font-size: .8rem;
}
.foot-bottom a { color: var(--gold-2); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- Mobile ---------------- */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  nav.primary {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 190;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 12px 22px 40px;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); transition: transform .32s ease;
  }
  body.nav-open nav.primary { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav-item > button, .nav-item > a {
    width: 100%; justify-content: space-between; padding: 18px 4px;
    font-size: .95rem; border-bottom: 1px solid rgba(183,177,216,.14); border-radius: 0;
  }
  .mega {
    position: static; transform: none; min-width: 0; flex-direction: column; gap: 8px;
    border: 0; box-shadow: none; background: transparent; padding: 4px 10px 16px;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .mega::before { display: none; }
  .nav-item.open .mega { display: flex; transform: none; }
  .mega-col h4 { margin-top: 14px; }
  .mega-quote { display: none; }
  .btn-portal { margin-top: 22px; text-align: center; border-radius: 12px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .brand-name span { display: none; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; text-align: center; }
}

/* ---------------- Media slots ----------------
   Replace the <svg> inside any [data-media-slot] with an <img>;
   these rules make photos fill the frame on every device. */
[data-media-slot] img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-frame img { position: absolute; inset: 0; }
.gallery-frame .play { position: relative; z-index: 1; }


/* ============================================================
   INNER PAGES  (added Sep 2026)
   Everything below reuses the tokens, fonts, ribbon, pill buttons
   and card surfaces defined above. Nothing above was changed.
   ============================================================ */

/* Department / section tints (same mapping as the home cards) */
.t-music   { --tint: var(--gold); }
.t-dance   { --tint: var(--magenta); }
.t-art     { --tint: var(--violet); }
.t-drama   { --tint: var(--cream); }
.t-chess   { --tint: var(--gold-2); }
.t-daycare { --tint: var(--blue); }
.t-baby    { --tint: var(--orange); }
.t-events  { --tint: var(--gold-2); }
.t-lead    { --tint: var(--gold); }
.t-avex    { --tint: var(--blue); }
.t-bath    { --tint: var(--magenta); }
.t-brighton{ --tint: var(--violet); }

[id] { scroll-margin-top: calc(var(--header-h) + 18px); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 500; padding: 12px 18px; border-radius: 10px;
  background: var(--gold-2); color: var(--ink); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* current page in menus */
.mega-col li a[aria-current="page"],
.nav-item > a[aria-current="page"],
footer li a[aria-current="page"] { color: var(--gold-2); }
.mega-col li a[aria-current="page"]::before { content: "• "; color: var(--magenta); }

/* buttons as <button> + small size */
button.btn { border: 0; cursor: pointer; font-family: var(--font-body); }
button.btn-ghost { border: 1px solid rgba(244,240,255,.4); background: none; }
.btn-sm { padding: 11px 22px; font-size: .72rem; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .6; cursor: progress; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(52px, 7vw, 86px); }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); max-width: 19ch; }
.page-hero p.lede { margin-bottom: 34px; }
.page-hero .blob.b1 { background: var(--tint, var(--magenta)); }
.crumbs ol {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px;
  font: 500 .72rem/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(183,177,216,.45); }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- Section rhythm ---------- */
section.tight { padding-top: clamp(40px, 5vw, 64px); }
.section-alt {
  background: linear-gradient(180deg, rgba(27,24,64,.65), rgba(27,24,64,0) 70%);
  border-top: 1px solid rgba(183,177,216,.14);
}
.section-head.left { text-align: left; margin-left: 0; }
.h-sub {
  font: 600 .72rem/1.4 var(--font-body); letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 12px;
}

/* ---------- Quick facts bar ---------- */
.facts {
  position: relative; display: grid; gap: 1px; margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  background: rgba(183,177,216,.14); border: 1px solid rgba(183,177,216,.14);
  border-radius: var(--radius); overflow: hidden;
}
.facts::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; z-index: 1;
  background: linear-gradient(90deg, var(--orange), var(--magenta), var(--violet), var(--blue));
}
.fact { background: var(--ink-2); padding: 24px 22px 22px; }
.fact dt {
  font: 600 .66rem/1.3 var(--font-body); letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.fact dd { margin: 0; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.35; }
.fact dd small { display: block; font-family: var(--font-body); font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose > p, .prose li { color: var(--muted); font-size: 1.02rem; }
.prose > p { margin: 0 0 1.1em; }
.prose p.lead { color: var(--text); font-size: clamp(1.08rem, 2vw, 1.22rem); }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.prose h3 { font-size: 1.35rem; margin-top: 1.8em; }
.prose strong, .prose b { color: var(--text); font-weight: 500; }
.prose a:not(.btn), a.inline {
  color: var(--gold-2); border-bottom: 1px solid rgba(246,201,106,.4); transition: color .2s, border-color .2s;
}
.prose a:not(.btn):hover, a.inline:hover { color: var(--magenta); border-color: var(--magenta); }
.dot-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.dot-list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text); }
.dot-list li::before {
  content: ""; position: absolute; left: 3px; top: .62em; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--magenta));
}
.dot-list li span { color: var(--muted); }
.cols-2 { columns: 2 260px; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }

/* ---------- Panels, notes, chips, tags ---------- */
.panel {
  position: relative; background: var(--ink-2); border: 1px solid rgba(183,177,216,.14);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--magenta), var(--violet), var(--blue));
}
.panel h3 { font-size: 1.35rem; }
.panel p { color: var(--muted); }
.panel .btn { width: 100%; text-align: center; margin-top: 10px; }
.panel dl { margin: 0 0 18px; }
.panel dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(183,177,216,.14); }
.panel dt { color: var(--muted); font-size: .9rem; }
.panel dd { margin: 0; text-align: right; font-weight: 500; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }

.note {
  border-left: 3px solid var(--tint, var(--magenta)); background: rgba(27,24,64,.75);
  padding: 16px 20px; border-radius: 0 10px 10px 0; color: var(--muted); font-size: .95rem; margin: 0 0 1.4em;
}
.note strong { color: var(--text); font-weight: 500; }
.note a { color: var(--gold-2); border-bottom: 1px solid rgba(246,201,106,.4); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1.4em; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  border-radius: 999px; border: 1px solid rgba(183,177,216,.28); background: rgba(27,24,64,.6);
  font: 400 .9rem/1.2 var(--font-body); color: var(--text);
}
.chip.tinted { border-color: color-mix(in srgb, var(--tint) 60%, transparent); }
.chip.tinted::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tint); }
button.chip { cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
button.chip:hover { border-color: var(--gold); color: var(--gold-2); }
button.chip[aria-pressed="true"] {
  background: linear-gradient(100deg, var(--gold-2), var(--gold)); color: var(--ink);
  border-color: transparent; font-weight: 500;
}
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; white-space: nowrap;
  font: 600 .62rem/1.5 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--tint, var(--gold)) 60%, transparent); color: var(--tint, var(--gold));
}

/* ---------- Tiles (link cards) ---------- */
.tiles { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tile {
  display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid rgba(183,177,216,.14);
  border-top: 4px solid var(--tint, var(--gold)); border-radius: var(--radius); padding: 26px 26px 24px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.tile h3 { font-size: 1.22rem; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: .93rem; margin: 0 0 16px; flex: 1; }
.tile .card-link { color: var(--tint, var(--gold-2)); }
@media (hover: hover) {
  a.tile:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,.45); border-color: color-mix(in srgb, var(--tint) 55%, transparent); }
}
.tile .icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tint, var(--gold)) 16%, transparent); color: var(--tint, var(--gold));
}
.tile .icon svg { width: 24px; height: 24px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { position: relative; background: var(--ink-2); border: 1px solid rgba(183,177,216,.14); border-radius: var(--radius); padding: 26px 24px 24px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; margin-bottom: 16px;
  font-family: var(--font-display); font-size: 1.2rem; color: var(--ink);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }
.steps a { color: var(--gold-2); border-bottom: 1px solid rgba(246,201,106,.4); }

/* ---------- Price tables ---------- */
.price-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: flex-start; }
.price-grid > .price-card { flex: 1 1 320px; max-width: 560px; min-width: 0; }
.price-card {
  background: var(--ink-2); border: 1px solid rgba(183,177,216,.14);
  border-top: 4px solid var(--tint, var(--gold)); border-radius: var(--radius); padding: 26px 26px 18px;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.price-card .sub { color: var(--muted); font-size: .88rem; margin: 0 0 14px; }
.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-table caption { text-align: left; }
.price-table th, .price-table td { padding: 12px 0; border-bottom: 1px solid rgba(183,177,216,.14); text-align: left; vertical-align: top; font-weight: 300; }
.price-table tr:last-child td, .price-table tr:last-child th { border-bottom: 0; }
.price-table thead th {
  font: 600 .64rem/1.2 var(--font-body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); padding-top: 0;
}
.price-table td.num, .price-table th.num { text-align: right; white-space: nowrap; padding-left: 12px; }
.price-table td.num { font-family: var(--font-display); font-size: 1.12rem; color: var(--tint, var(--gold-2)); }
.price-table td small { color: var(--muted); display: block; font-size: .8rem; }

/* ---------- Weekly schedule ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; margin-bottom: 28px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border: 0; margin: 0; padding: 0; min-width: 0; }
.filter-group .label, .filter-group legend {
  font: 600 .64rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  margin-right: 6px; padding: 0; float: left;
}
.filter-group legend + * { clear: none; }
.filter-select {
  min-height: 40px; padding: 8px 38px 8px 16px; border-radius: 999px; border: 1px solid rgba(183,177,216,.28);
  background: rgba(27,24,64,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e9a83b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
  color: var(--text); font: 400 .9rem/1.2 var(--font-body); appearance: none; -webkit-appearance: none;
}
.result-count { color: var(--muted); font-size: .88rem; margin-left: auto; }
.week { display: grid; gap: 12px; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: start; }
.day {
  background: rgba(27,24,64,.55); border: 1px solid rgba(183,177,216,.14); border-radius: var(--radius);
  padding: 14px 10px 8px; min-width: 0;
}
.day > h3 {
  font: 600 .72rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); text-align: center; margin: 4px 0 14px;
}
.day.today { border-color: rgba(233,168,59,.65); box-shadow: inset 0 0 0 1px rgba(233,168,59,.25); }
.day.today > h3::after { content: " · today"; color: var(--gold-2); }
.day ul { list-style: none; margin: 0; padding: 0; }
.day.is-empty { display: none; }
.class-item {
  background: var(--ink-2); border-left: 3px solid var(--tint); border-radius: 10px;
  padding: 10px 11px; margin-bottom: 8px; font-size: .84rem; line-height: 1.35;
}
.class-item b { display: block; font-weight: 500; }
.class-item .time { display: block; margin-top: 5px; color: var(--tint); font-weight: 500; font-size: .8rem; }
.class-item .meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; color: var(--muted); font-size: .74rem; }
.class-item .where::before { content: "● "; color: var(--loc); font-size: .7em; vertical-align: 1px; }
.class-item[hidden], [data-item][hidden] { display: none !important; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 10px; }
.empty-state[hidden] { display: none; }
@media (max-width: 1120px) { .week { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }

/* compact class list used on department pages */
.class-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(183,177,216,.16); }
.class-list li {
  display: grid; grid-template-columns: 120px 150px 1fr auto; gap: 8px 18px; align-items: baseline;
  padding: 14px 4px; border-bottom: 1px solid rgba(183,177,216,.16);
}
.class-list .d { font: 600 .72rem/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.class-list .t { color: var(--text); font-weight: 400; white-space: nowrap; }
.class-list .n { color: var(--text); }
.class-list .n small { color: var(--muted); margin-left: 6px; font-size: .85rem; }
.class-list .tag { justify-self: end; }
@media (max-width: 760px) {
  .class-list li { grid-template-columns: 1fr auto; }
  .class-list .t { grid-column: 2; grid-row: 1; text-align: right; }
  .class-list .n { grid-column: 1 / -1; }
  .class-list .tag { justify-self: start; }
}

/* ---------- People ---------- */
.people { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 270px)); justify-content: center; }
.person {
  background: var(--ink-2); border: 1px solid rgba(183,177,216,.14); border-radius: var(--radius);
  padding: 28px 22px 26px; text-align: center; transition: border-color .3s, transform .3s;
}
@media (hover: hover) { .person:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tint) 50%, transparent); } }
.avatar {
  width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden;
  display: grid; place-items: center; position: relative;
  font-family: var(--font-display); font-size: 2rem; color: var(--ink); letter-spacing: .04em;
  background: linear-gradient(135deg, var(--tint), color-mix(in srgb, var(--tint) 35%, var(--ink-2)));
  box-shadow: 0 0 0 3px rgba(250,244,230,.1), 0 0 0 7px color-mix(in srgb, var(--tint) 18%, transparent);
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar.is-missing img { display: none; }
.person h3 { font-size: 1.15rem; margin-bottom: 6px; }
.person .role {
  font: 600 .66rem/1.5 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--tint); margin: 0 0 10px;
}
.person .bio { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Albums, carousels, lightbox ---------- */
.albums { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.album {
  position: relative; background: var(--ink-2); border: 1px solid rgba(183,177,216,.14);
  border-radius: var(--radius); padding: clamp(18px, 2.6vw, 28px); min-width: 0;
}
.album::before {
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0;
  background: var(--tint);
}
.album.t-events::before { background: linear-gradient(180deg, var(--orange), var(--magenta), var(--violet), var(--blue)); }
.album-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 24px; margin-bottom: 18px; }
.album-head h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin: 0 0 8px; }
.album-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--muted); font-size: .86rem; }
.album-meta time { color: var(--gold); font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.album-note { color: var(--muted); font-size: .9rem; margin: -6px 0 16px; }
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 12px; margin: 0; padding: 2px 2px 14px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(233,168,59,.55) transparent;
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb { background: rgba(233,168,59,.5); border-radius: 6px; }
.carousel-track > li { flex: 0 0 auto; width: clamp(210px, 25vw, 280px); scroll-snap-align: start; }
.media-thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; margin: 0;
  border-radius: 10px; overflow: hidden; cursor: zoom-in; appearance: none;
  border: 1px solid rgba(183,177,216,.18);
  background:
    radial-gradient(60% 80% at 70% 30%, color-mix(in srgb, var(--tint, var(--magenta)) 40%, transparent), transparent 70%),
    radial-gradient(50% 70% at 20% 80%, rgba(33,169,225,.3), transparent 70%),
    var(--ink);
}
.media-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
@media (hover: hover) { .media-thumb:hover img { transform: scale(1.06); } }
.media-thumb.is-missing img { opacity: 0; }
.media-thumb.is-missing::after {
  content: "Photo coming soon"; position: absolute; inset: auto 0 12px; text-align: center;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.media-thumb.is-video { cursor: pointer; }
.media-thumb.is-video.is-missing::after { content: "Video"; }
.media-thumb .play {
  position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(18,16,46,.55); border: 1px solid rgba(250,244,230,.6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: transform .25s, background .25s;
}
.media-thumb .play svg { width: 20px; height: 20px; margin-left: 3px; }
.media-thumb:hover .play { transform: scale(1.1); background: rgba(230,56,136,.55); }
.media-thumb .cap {
  position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px;
  background: rgba(18,16,46,.75); font-size: .72rem; letter-spacing: .06em; color: var(--text);
}
.carousel-btn {
  position: absolute; top: calc(50% - 7px); transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(18,16,46,.9); border: 1px solid rgba(246,201,106,.55); color: var(--gold-2);
  box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: opacity .2s, background .2s;
}
.carousel-btn:hover { background: var(--gold); color: var(--ink); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn.prev { left: -12px; }
.carousel-btn.next { right: -12px; }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }
@media (hover: none) { .carousel-btn { display: none; } }

body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 600; display: none;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(8,7,24,.96);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.lightbox.open { display: grid; }
.lb-top, .lb-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.lb-title { flex: 1 1 auto; margin: 0; font-family: var(--font-display); font-size: 1.05rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-count { color: var(--muted); font-size: .78rem; letter-spacing: .16em; white-space: nowrap; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 76px; min-height: 0; touch-action: pan-y; }
.lb-stage img {
  width: auto; height: auto; min-width: 0; min-height: 0; object-fit: contain;
  max-width: calc(100vw - 170px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px);
  border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lb-video { width: min(100%, calc((100vh - 170px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.lb-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.lb-msg { color: var(--muted); text-align: center; }
.lb-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none;
  background: rgba(250,244,230,.1); border: 1px solid rgba(250,244,230,.35); color: var(--cream);
  transition: background .2s, color .2s;
}
.lb-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-caption { color: var(--muted); font-size: .9rem; }
.lb-bottom .ribbon { margin: 0; width: 72px; flex: none; }
@media (max-width: 700px) {
  .lb-stage { padding: 0 6px; }
  .lb-stage img { max-width: calc(100vw - 16px); max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); }
  .lb-prev, .lb-next { top: auto; bottom: -58px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .lb-bottom { padding-top: 70px; }
  .lb-bottom .ribbon { display: none; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(183,177,216,.16); }
.faq details:first-child { border-top: 1px solid rgba(183,177,216,.16); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0;
  font-family: var(--font-display); font-size: 1.12rem; line-height: 1.35; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font: 300 1.7rem/1 var(--font-body); color: var(--gold); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--gold-2); }
.faq .answer { color: var(--muted); padding: 0 40px 22px 0; }
.faq .answer p { margin: 0 0 .8em; }
.faq .answer a { color: var(--gold-2); border-bottom: 1px solid rgba(246,201,106,.4); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--orange), var(--magenta), var(--violet), var(--blue));
}
.timeline > li { position: relative; padding: 0 0 36px 50px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--tint, var(--gold));
}
.timeline .when { font: 600 .72rem/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--tint, var(--gold)); }
.timeline h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.timeline p { color: var(--muted); margin: 0 0 .6em; }
.timeline .dot-list { margin: 8px 0 0; }
.timeline .dot-list li { color: var(--muted); }

/* ---------- Stats + quotes ---------- */
.stats { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.3rem); line-height: 1.05; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: .94rem; }
.quotes { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.quote {
  position: relative; margin: 0; padding: 30px 28px 26px; background: var(--ink-2);
  border: 1px solid rgba(183,177,216,.14); border-radius: var(--radius);
}
.quote::before {
  content: "\201C"; position: absolute; top: 10px; left: 22px; font-family: var(--font-display);
  font-size: 4.2rem; line-height: 1; color: var(--magenta); opacity: .85;
}
.quote p { margin: 38px 0 16px; }
.quote cite { font: 600 .68rem/1.4 var(--font-body); font-style: normal; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* ---------- Table of contents (policies) ---------- */
.with-toc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 60px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc .h-sub { margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(183,177,216,.18); }
.toc a {
  display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent;
  color: var(--muted); font-size: .9rem; transition: color .2s, border-color .2s;
}
.toc a:hover, .toc a.active { color: var(--gold-2); border-left-color: var(--gold); }
.policy-block { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid rgba(183,177,216,.14); }
.policy-block:last-child { border-bottom: 0; margin-bottom: 0; }
.policy-block h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.rules { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: 10px; }
.rule {
  background: var(--ink-2); border: 1px solid rgba(183,177,216,.14); border-radius: var(--radius);
  padding: 20px 20px 18px; border-top: 3px solid var(--tint, var(--gold));
}
.rule b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; margin-bottom: 4px; }
.rule span { color: var(--muted); font-size: .9rem; }
@media (max-width: 980px) {
  .with-toc { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .toc { position: relative; top: auto; }
  .toc ol { display: flex; gap: 8px; overflow-x: auto; border-left: 0; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .toc a { white-space: nowrap; margin: 0; padding: 8px 14px; border: 1px solid rgba(183,177,216,.25); border-radius: 999px; }
  .toc a.active { border-color: var(--gold); }
}

/* ---------- Layout helpers ---------- */
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.stack > * + * { margin-top: 22px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 48px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.btn-row.center { justify-content: center; }
@media (max-width: 980px) {
  .layout-aside { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sticky { position: static; }
}

/* ---------- Location cards (contact) ---------- */
.loc.detail { text-align: left; display: flex; flex-direction: column; }
.loc.detail b { font-size: 1.4rem; }
.loc.detail .addr { color: var(--text); font-size: 1rem; margin-top: 4px; }
.loc.detail ul { list-style: none; padding: 0; margin: 18px 0 20px; color: var(--muted); font-size: .9rem; }
.loc.detail li { padding: 6px 0; border-bottom: 1px solid rgba(183,177,216,.12); }
.loc.detail .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.loc.detail .actions a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tint) 60%, transparent); color: var(--tint);
  font: 600 .68rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
}
.loc.detail .actions a:hover { background: color-mix(in srgb, var(--tint) 16%, transparent); }
.loc .badge { display: inline-block; margin-bottom: 12px; }

/* ---------- Forms ---------- */
.form-card {
  position: relative; background: var(--ink-2); border: 1px solid rgba(183,177,216,.16);
  border-radius: var(--radius); padding: clamp(22px, 4vw, 42px); overflow: hidden;
}
.form-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--magenta), var(--violet), var(--blue));
}
.form-card > h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.form-card > p.intro { color: var(--muted); margin: 0 0 26px; }
.form-card fieldset { border: 0; margin: 0 0 34px; padding: 0; min-width: 0; }
.form-card legend {
  display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--text);
}
.form-card legend .step {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none;
  font-size: .95rem; color: var(--ink); background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.form-grid { display: grid; gap: 18px 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.form-grid > * { grid-column: span 3; min-width: 0; }
.form-grid > .w2 { grid-column: span 2; }
.form-grid > .w1 { grid-column: span 1; }
.form-grid > .w4 { grid-column: span 4; }
.form-grid > .full { grid-column: 1 / -1; }
.field label, .field .label {
  display: block; margin-bottom: 8px;
  font: 600 .68rem/1.35 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.field .req { color: var(--magenta); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(183,177,216,.3); background: #151236; color: var(--text);
  font: 400 1rem/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field input[type="date"] { min-height: 50px; color-scheme: dark; }
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  padding-right: 42px;
  background: #151236 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e9a83b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(183,177,216,.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233,168,59,.22);
}
.field .hint { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; }
.field .err { display: none; margin-top: 6px; color: #ff9cc8; font-size: .82rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--magenta); }
.field.invalid .err { display: block; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.check {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer;
  padding: 14px 16px; border-radius: 10px; background: rgba(18,16,46,.6);
  border: 1px solid rgba(183,177,216,.18); color: var(--text); font-size: .95rem; line-height: 1.5;
  transition: border-color .2s, background .2s;
}
.check:hover { border-color: rgba(233,168,59,.5); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gold); cursor: pointer; }
.check small { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.check a { color: var(--gold-2); border-bottom: 1px solid rgba(246,201,106,.4); }
.check.pill { display: inline-grid; padding: 10px 16px; border-radius: 999px; grid-template-columns: 20px auto; gap: 10px; align-items: center; }
.check.pill input { width: 18px; height: 18px; margin: 0; }
.check.invalid { border-color: var(--magenta); }
.legal-box {
  max-height: 260px; overflow: auto; padding: 18px 20px; margin-bottom: 14px; border-radius: 10px;
  background: rgba(18,16,46,.6); border: 1px solid rgba(183,177,216,.16); color: var(--muted); font-size: .9rem;
}
.legal-box h4 { margin: 0 0 8px; font: 600 .68rem/1.3 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.legal-box p, .legal-box ol { margin: 0 0 12px; }
.legal-box ol { padding-left: 20px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 20px 24px; align-items: center; justify-content: space-between; margin-top: 8px; }
.recaptcha-slot { min-height: 78px; min-width: 0; }
.recaptcha-slot .rc-fallback { color: var(--muted); font-size: .85rem; max-width: 320px; }
.form-legal { color: var(--muted); font-size: .78rem; margin: 16px 0 0; }
.form-legal a { color: var(--gold-2); }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-status.ok { display: block; background: rgba(33,169,225,.12); border: 1px solid rgba(33,169,225,.55); }
.form-status.err { display: block; background: rgba(230,56,136,.12); border: 1px solid rgba(230,56,136,.55); }
.form-status a { color: var(--gold-2); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
[data-show-if][hidden] { display: none !important; }
@media (max-width: 720px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid > *, .form-grid > .w2, .form-grid > .w4 { grid-column: 1 / -1; }
  .form-grid > .w1 { grid-column: span 1; }
  .form-actions .btn { width: 100%; text-align: center; }
}

/* ---------- Error page ---------- */
.big-num { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; margin: 0 0 10px; }
section.facts-band { padding-bottom: 0; }
.panel .btn { padding: 14px 18px; line-height: 1.35; }
/* keep hero text above the drifting paint splashes (they were painting over the copy on phones) */
.hero > .container { position: relative; z-index: 1; }

/* Mobile menu fix: a backdrop-filter on <header> itself turns it into the containing
   block for the fixed-position phone menu, which clipped the drawer to the header's
   height. The same blur now sits on a pseudo-element, so the look is unchanged. */
header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(18, 16, 46, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

/* ---------- Social icons (footer on every page + contact page) ---------- */
.socials { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(233,168,59,.35); background: rgba(27,24,64,.6); color: var(--gold-2);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.socials svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-2px); }
.socials a:focus-visible { border-radius: 50%; }
/* accounts not created yet: shown dimmed and inactive until a link is added */
.socials a.is-pending { opacity: .42; cursor: default; }
.socials a.is-pending:hover { background: rgba(27,24,64,.6); color: var(--gold-2); border-color: rgba(233,168,59,.35); transform: none; }
.socials.in-panel { justify-content: flex-start; margin: 4px 0 0; }
