/* NeverlandSwing — site styles
   Look carried over from the Wix site: night-sky navy, gold, coral accents,
   Cinzel Decorative display + Montserrat body. */

:root {
  --night: #001635;
  --night-2: #04204a;
  --night-3: #0b2d63;
  --gold: #ffc657;
  --gold-2: #ffb82c;
  --coral: #fe6161;
  --paper: #ffffff;
  --mist: #f2f5fb;
  --ink: #001635;
  --ink-soft: #3d4c69;
  --on-dark: #f4f7fd;
  --on-dark-soft: #b8c4dc;
  --line-dark: rgba(255, 198, 87, 0.28);
  --line-light: #dbe2ee;

  --display: "Cinzel Decorative", "Cinzel", Georgia, "Times New Roman", serif;
  --body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--on-dark);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-family: var(--body); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
.lede { font-size: 1.08rem; max-width: 62ch; }
.muted { color: var(--on-dark-soft); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 48px);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: calc(820px + 48px); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: var(--night); padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--night);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.5em;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold) 20%, var(--gold-2) 100%); color: var(--night); }
.btn-gold:hover { color: var(--night); background: var(--gold-2); }
.btn-coral { background: var(--coral); color: #fff; border-radius: 100px; }
.btn-coral:hover { color: #fff; background: #ff4a4a; }
.btn-ghost { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--night); }
.btn-navy { background: var(--night); color: var(--gold); }
.btn-navy:hover { background: var(--night-3); color: var(--gold); }
.btn-sm { min-height: 40px; padding: 0.5em 1.1em; font-size: 0.8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(0, 22, 53, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand .badge { font-size: 0.6rem; padding: 1px 7px; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a, .main-nav .dd-toggle {
  display: block;
  padding: 10px 12px;
  color: #fff;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 2px;
}
.main-nav a:hover, .main-nav .dd-toggle:hover { color: var(--gold); }
.main-nav a[aria-current="page"], .main-nav .dd.is-current > .dd-toggle { background: var(--gold); color: var(--night); }
.dd { position: relative; }
.dd-toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dd-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  min-width: 230px;
  list-style: none; margin: 0; padding: 8px;
  background: var(--night-2);
  border: 1px solid var(--line-dark);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.dd-menu[hidden] { display: none; }
.dd-menu a { padding: 9px 12px; font-weight: 600; }
.dd-menu a[aria-current="page"] { background: rgba(255, 198, 87, 0.15); color: var(--gold); }
.header-cta { flex-shrink: 0; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line-dark); color: var(--gold); width: 48px; height: 44px; border-radius: 2px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: ""; }
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }

@media (max-width: 1060px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: block; }
  .site-header.open .main-nav {
    display: block;
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); bottom: 0;
    overflow-y: auto;
    background: var(--night);
    padding: 16px max(24px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
  }
  .site-header.open .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-header.open .main-nav a, .site-header.open .main-nav .dd-toggle { font-size: 1.1rem; padding: 14px 12px; width: 100%; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .site-header.open .dd-menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; min-width: 0; }
  .site-header.open .dd-menu[hidden] { display: block; }
  .site-header.open .dd-toggle::after { display: none; }
  .site-header.open .mobile-cta { display: flex; }
}
.mobile-cta { display: none; margin-top: 20px; }
.mobile-cta .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Mobile sticky ticket bar ---------- */
.ticket-bar { display: none; }
@media (max-width: 720px) {
  .ticket-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(0, 22, 53, 0.97);
    border-top: 1px solid var(--line-dark);
    font-size: 0.85rem; font-weight: 600; line-height: 1.3;
  }
  .ticket-bar .btn { min-height: 44px; }
  body { padding-bottom: 72px; }
  body.menu-open .ticket-bar { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 64px); }
.band-light { background: var(--paper); color: var(--ink); }
.band-light h1, .band-light h2, .band-light h3 { color: var(--ink); }
.band-light .muted { color: var(--ink-soft); }
.band-light a:not(.btn) { color: #0a4cb3; }
.band-mist { background: var(--mist); color: var(--ink); }
.band-mist h2, .band-mist h3 { color: var(--ink); }
.band-mist a:not(.btn) { color: #0a4cb3; }
.band-dark { background: var(--night); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--gold); }
.band-photo { position: relative; background-color: var(--night); background-size: cover; background-position: center; isolation: isolate; }
.band-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,22,53,0.55), rgba(0,22,53,0.9)); z-index: -1; }
.band-photo h1, .band-photo h2, .band-photo h3 { color: var(--gold); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 5vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(44px, 7vw, 88px) clamp(36px, 5vw, 60px); text-align: center; background-size: cover; background-position: center top; position: relative; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,22,53,0.35), rgba(0,22,53,0.92)); z-index: -1; }
.page-hero h1 { color: var(--gold); margin-bottom: 0.3em; }
.page-hero .lede { margin-inline: auto; color: var(--on-dark); }
.crumbs { font-size: 0.82rem; color: var(--on-dark-soft); margin-bottom: 14px; }
.crumbs a { color: var(--on-dark-soft); }

/* ---------- Home hero ---------- */
.hero { position: relative; background-color: var(--night); background-size: cover; background-position: center; padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 88px); isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(0,22,53,0.1), rgba(0,22,53,0.75) 75%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-logo { width: min(420px, 100%); margin: 0 0 18px -6px; mix-blend-mode: screen; } /* logo is white on black: screen drops the black */
.hero-date { font-family: var(--body); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.1; color: #fff; letter-spacing: 0.02em; margin: 0 0 6px; }
.hero-place { font-weight: 600; color: var(--gold); margin: 0 0 22px; font-size: 1.05rem; }
.hero-art { min-width: 0; }
.hero-art figure { margin: 0; border: 3px solid var(--gold); box-shadow: 0 30px 70px rgba(0,0,0,0.55); background: var(--night); }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 18px; font-size: 0.88rem; font-weight: 600; }
.hero-links a { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.hero-links a:hover { color: var(--gold); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-logo { width: min(320px, 90%); }
}

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--night-2); }
.fact { padding: 20px 22px; border-right: 1px solid var(--line-dark); min-width: 0; }
.fact:last-child { border-right: 0; }
.fact dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 4px; }
.fact dd { margin: 0; font-weight: 600; line-height: 1.4; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } }

/* Quick tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px 20px;
  background: var(--paper); color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line-light);
  border-top: 4px solid var(--gold);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,22,53,0.12); color: var(--ink); }
.tile svg { width: 30px; height: 30px; color: var(--coral); }
.tile strong { font-family: var(--display); font-size: 1.15rem; }
.tile span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.tile em { font-style: normal; margin-top: auto; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #0a4cb3; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

/* Realm + gallery */
.realm-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 6vw, 80px); align-items: center; margin-bottom: 36px; }
.realm-head h2 { margin: 0; }
.realm-head p { margin: 0; max-width: 60ch; }
@media (max-width: 760px) { .realm-head { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 15vw, 190px); gap: 6px; }
.gallery button { padding: 0; border: 0; background: var(--mist); cursor: zoom-in; overflow: hidden; display: block; width: 100%; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery .is-extra { display: none; }
.gallery.show-all .is-extra { display: block; }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; } }
.gallery-more { margin-top: 18px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(0, 10, 25, 0.94); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 64px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lb-btn { position: absolute; background: rgba(0,22,53,0.8); color: var(--gold); border: 1px solid var(--line-dark); width: 48px; height: 48px; font-size: 1.6rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.lb-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); }
.lb-prev { left: calc(10px + env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: calc(10px + env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: var(--on-dark-soft); font-size: 0.85rem; }
@media (max-width: 640px) { .lightbox-inner { padding: 64px 10px; } .lb-prev, .lb-next { top: auto; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); transform: none; } }

/* ---------- Ticket cards ---------- */
.passes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.passes.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1060px) { .passes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .passes.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .passes.three { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .passes { grid-template-columns: 1fr; } }
.pass {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--night-3), var(--night-2));
  border: 1px solid var(--line-dark);
  border-top: 4px solid var(--gold);
  padding: 26px 22px 22px;
  min-width: 0;
  position: relative;
}
.pass.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 24px 50px rgba(0,0,0,0.35); }
.pass .ribbon { position: absolute; top: -13px; right: 16px; }
.pass-icon { width: 46px; height: 46px; color: var(--gold); margin-bottom: 12px; }
.pass h3 { color: var(--gold); margin-bottom: 0.2em; }
.pass .for { font-size: 0.86rem; color: var(--on-dark-soft); margin-bottom: 14px; min-height: 2.8em; }
.pass ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; font-size: 0.92rem; }
.pass li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; line-height: 1.45; }
.pass li::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); margin-top: 6px; }
.pass li.no::before { width: 12px; height: 2px; border: 0; background: var(--coral); transform: none; margin-top: 10px; }
.price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-dark); margin-bottom: 14px; }
.price b { font-family: var(--body); font-size: 2.1rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.price small { display: block; color: var(--on-dark-soft); font-size: 0.82rem; }
.pass .btn { width: 100%; }

/* light variant (home) */
.pass-mini { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: rgba(0,22,53,0.72); border: 1px solid var(--line-dark); border-top: 3px solid var(--gold); min-width: 0; }
.pass-mini strong { font-family: var(--display); color: var(--gold); font-size: 1.15rem; }
.pass-mini span { font-size: 0.9rem; color: var(--on-dark-soft); }
.pass-mini b { font-size: 1.6rem; font-weight: 800; color: #fff; margin-top: 6px; }

/* Pass picker */
.picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-light); background: var(--paper); }
.picker div { padding: 18px 20px; border-right: 1px solid var(--line-light); min-width: 0; }
.picker div:last-child { border-right: 0; }
.picker p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.picker strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 4px; }
@media (max-width: 860px) { .picker { grid-template-columns: 1fr 1fr; } .picker div:nth-child(2) { border-right: 0; } .picker div:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); } }
@media (max-width: 480px) { .picker { grid-template-columns: 1fr; } .picker div { border-right: 0; border-bottom: 1px solid var(--line-light); } }

/* Price tables */
.price-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .price-cols { grid-template-columns: 1fr; } }
.ptable { background: var(--paper); border: 1px solid var(--line-light); padding: 22px; min-width: 0; color: var(--ink); }
.ptable h3 { margin-bottom: 0.2em; }
.ptable .note { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 12px; }
.ptable table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ptable td { padding: 9px 0; border-top: 1px solid var(--line-light); }
.ptable td:last-child { text-align: right; font-weight: 800; }
.ptable ul { margin: 0; padding-left: 1.1em; }
.ptable li { margin-bottom: 4px; }
.pill { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--mist); color: var(--ink); border: 1px solid var(--line-light); }
.pill.coral { background: var(--coral); color: #fff; border-color: var(--coral); }

/* Intensives */
.intensives { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .intensives { grid-template-columns: 1fr; } }
.intensive { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 24px; background: var(--paper); color: var(--ink); border: 1px solid var(--line-light); }
.intensive .num { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--coral); }
.intensive h3 { margin-bottom: 0.15em; color: var(--ink); }
.intensive .when { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.intensive ul { padding-left: 1.1em; margin: 0 0 14px; font-size: 0.93rem; }
.intensive .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-light); }
.intensive .foot b { font-size: 1.4rem; font-weight: 800; }

/* ---------- Schedule ---------- */
.sched-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  font-family: var(--body); font-weight: 700; font-size: 0.92rem;
  padding: 10px 16px; min-height: 48px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-light); border-radius: 2px; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15;
}
.tab small { font-weight: 600; font-size: 0.72rem; color: var(--ink-soft); }
.tab[aria-selected="true"] { background: var(--night); color: var(--gold); border-color: var(--night); }
.tab[aria-selected="true"] small { color: var(--on-dark-soft); }
.level-filter { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; }
.level-filter select { font: inherit; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line-light); background: var(--paper); color: var(--ink); border-radius: 2px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.8rem; color: var(--ink-soft); margin-top: 16px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; display: inline-block; border-radius: 2px; }

.sched-wrap { overflow-x: auto; border: 1px solid var(--line-light); background: var(--paper); }
table.sched { width: 100%; border-collapse: collapse; min-width: 640px; color: var(--ink); font-size: 0.92rem; }
table.sched th { background: var(--night); color: var(--gold); text-align: left; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 12px; font-weight: 700; }
table.sched th small { display: block; color: var(--on-dark-soft); text-transform: none; letter-spacing: 0; font-weight: 600; }
table.sched td { padding: 10px 12px; border-top: 1px solid var(--line-light); vertical-align: top; }
table.sched td.time { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; width: 1%; }
table.sched td.time small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.c { border-left: 4px solid transparent; }
.c-social { background: #eaf7e6; border-left-color: #5cb85c; }
.c-workshop { background: #e8effa; border-left-color: #4a78c2; }
.c-newc { background: #f7e9e9; border-left-color: #a33a3a; }
.c-l4 { background: #eef5e2; border-left-color: #7c9a3a; }
.c-comp { background: #fff0ee; border-left-color: var(--coral); font-weight: 700; color: #b3261e; }
.c-break { background: #f6f3ea; border-left-color: #c9b98a; }
.c-intensive { background: #fff7e3; border-left-color: var(--gold-2); }
.c-admin { background: #f1f3f7; border-left-color: #9aa6bb; }
.c-note { color: #b3261e; font-size: 0.85rem; font-weight: 600; }
.c-party { background: linear-gradient(90deg, #fff4d6, #fde7ff); border-left-color: #b25cd6; font-weight: 700; }
.c-empty { background: transparent; }
table.sched.filtering td.c:not(.c-empty):not(.hit) { opacity: 0.28; }
table.sched td.hit { box-shadow: inset 0 0 0 2px var(--night); }
@media (max-width: 720px) {
  .sched-tools { flex-direction: column; align-items: stretch; }
  .tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tab { padding: 8px 8px; font-size: 0.82rem; }
  .level-filter select { flex: 1; }
  .sched-wrap { border: 0; background: transparent; overflow: visible; }
  table.sched, table.sched tbody, table.sched tr, table.sched td { display: block; min-width: 0; width: 100%; }
  table.sched thead { display: none; }
  table.sched tr { background: var(--paper); border: 1px solid var(--line-light); margin-bottom: 10px; }
  table.sched td { border-top: 0; border-bottom: 1px solid var(--line-light); }
  table.sched td.time { background: var(--night); color: #fff; width: 100%; }
  table.sched td.time small { color: var(--gold); display: inline; margin-left: 8px; }
  table.sched td.c-empty { display: none; }
  table.sched td[data-room]::before { content: attr(data-room); display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
}

.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--paper); color: var(--ink); border: 1px solid var(--line-light); padding: 22px; min-width: 0; }
.info-card h3 { color: var(--ink); }
.info-card .muted { color: var(--ink-soft); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.93rem; }
.hours th { text-align: left; font-weight: 700; padding: 7px 10px 7px 0; vertical-align: top; white-space: nowrap; }
.hours td { padding: 7px 0; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line-light); }

/* ---------- Team ---------- */
.teacher { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 0; background: var(--night-2); border: 1px solid var(--line-dark); margin-bottom: 26px; }
.teacher.solo { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.teacher.solo.flip .teacher-photo { order: 2; }
.teacher-photo { position: relative; min-height: 360px; background: var(--night-3); overflow: hidden; }
.teacher-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.teacher.solo .teacher-photo { min-height: 400px; }
.teacher-body { padding: clamp(22px, 3vw, 36px); align-self: center; min-width: 0; }
.teacher-body h3 { color: var(--gold); font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.teacher-body .badge { margin-bottom: 14px; }
@media (max-width: 820px) {
  .teacher, .teacher.solo { grid-template-columns: 1fr 1fr; }
  .teacher .teacher-body { grid-column: 1 / -1; order: 3; }
  .teacher.solo .teacher-photo { grid-column: 1 / -1; order: 0; min-height: 300px; }
  .teacher-photo { min-height: 260px; }
}
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.person { text-align: center; min-width: 0; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--gold); margin-bottom: 10px; background: var(--night-3); }
.person strong { display: block; font-weight: 700; line-height: 1.3; }
.person span { display: block; font-size: 0.82rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.band-light .person span { color: var(--ink-soft); }
.djs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; margin-inline: auto; }
.sponsors { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; align-items: center; }
.sponsors a, .sponsors span { display: grid; place-items: center; width: 132px; height: 132px; background: var(--paper); border: 1px solid var(--line-light); padding: 14px; }
.sponsors img { max-height: 100%; object-fit: contain; }

/* ---------- Venue & hotels ---------- */
.venue-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(22px, 4vw, 48px); align-items: center; }
@media (max-width: 860px) { .venue-hero { grid-template-columns: 1fr; } }
.venue-hero img { border: 3px solid var(--gold); width: 100%; }
.address { font-style: normal; font-size: 1.05rem; line-height: 1.6; margin-bottom: 18px; }
.hotels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .hotels { grid-template-columns: 1fr; } }
.hotel { display: grid; grid-template-rows: auto 1fr; background: var(--paper); color: var(--ink); border: 1px solid var(--line-light); min-width: 0; }
.hotel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hotel-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.hotel-body h3 { color: var(--ink); margin-bottom: 0; }
.hotel-body .dist { font-size: 0.85rem; font-weight: 700; color: #0a4cb3; text-transform: uppercase; letter-spacing: 0.06em; }
.hotel-body address { font-style: normal; font-size: 0.9rem; color: var(--ink-soft); }
.hotel-body .btn-row { margin-top: auto; padding-top: 10px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.steps svg { width: 28px; height: 28px; color: var(--coral); }

/* ---------- Prose pages ---------- */
.prose { color: var(--ink); }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.7em; }
.prose .callout { background: var(--mist); border-left: 4px solid var(--gold-2); padding: 16px 20px; margin: 1.4em 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.toc a { font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border: 1px solid var(--line-light); text-decoration: none; color: var(--ink) !important; background: var(--paper); }
.toc a:hover { border-color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line-light); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; list-style: none; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--coral); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 20px 18px; color: var(--ink-soft); }
.faq .a p:last-child { margin-bottom: 0; }
.faq h2 { margin-top: 36px; }

/* Program features */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 5vw, 64px); align-items: center; }
.feature.flip .feature-img { order: 2; }
.feature-img img { width: 100%; border: 3px solid var(--gold); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature.flip .feature-img { order: 0; } }
.food { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .food { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .food { grid-template-columns: 1fr; } }
.food { padding: 0; margin: 0; }
.food li { list-style: none; background: var(--paper); border: 1px solid var(--line-light); padding: 16px 18px; color: var(--ink); min-width: 0; }
.food ul { padding: 0; margin: 0; display: contents; }
.food strong { display: block; }
.food small { display: block; color: #0a4cb3; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; margin: 2px 0 6px; }
.food span { font-size: 0.9rem; color: var(--ink-soft); }

/* Event app */
.app-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(22px, 5vw, 64px); align-items: center; }
@media (max-width: 760px) { .app-row { grid-template-columns: 1fr; } }
.ydb-card { display: flex; flex-direction: column; gap: 10px; background: #12101a; border: 2px solid rgba(244, 161, 255, 0.5); border-radius: 12px; padding: 16px 18px; color: #fff; text-decoration: none; }
.ydb-head { display: flex; align-items: center; gap: 12px; }
.ydb-head img { width: 48px; height: 48px; border-radius: 10px; }
.ydb-head strong { display: block; font-size: 0.95rem; }
.ydb-head span { display: block; font-size: 0.8rem; opacity: 0.6; }
.ydb-stats { font-size: 0.88rem; opacity: 0.8; color: #fff; text-decoration: none; }
.ydb-links { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid rgba(244, 161, 255, 0.5); padding-top: 10px; }
.ydb-links a { color: #f4a1ff; font-size: 0.86rem; font-weight: 600; text-decoration: none; }
.ydb-links a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { color: var(--ink); }
.footer-top { background-color: var(--gold); background-image: linear-gradient(180deg, rgba(255,198,87,0.55), rgba(255,184,44,0.75)), var(--footer-bg, none); background-size: cover; background-position: center; padding-block: clamp(48px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.7fr); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.form { display: grid; gap: 12px; }
.form label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; display: grid; gap: 5px; }
.form input, .form textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 2px solid var(--night); background: rgba(255,255,255,0.75); color: var(--ink); border-radius: 0; width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form .row2 { grid-template-columns: 1fr; } }
.form-status { font-weight: 600; min-height: 1.4em; margin: 0; }
.footer-venue img { border: 2px solid var(--night); margin-top: 12px; }
.footer-side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-side .rising { width: 110px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; background: var(--night); color: var(--gold); border-radius: 50%; }
.socials a:hover { background: var(--night-3); color: var(--gold); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { background: var(--night); color: var(--on-dark-soft); padding-block: 26px; font-size: 0.86rem; }
.footer-bottom nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; padding: 0; margin: 0 0 12px; }
.footer-bottom a { color: var(--on-dark); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom p { text-align: center; margin: 0; }
.site-footer a:not(.btn) { color: var(--ink); }
.footer-bottom a { color: var(--on-dark) !important; }

.notice { background: var(--coral); color: #fff; text-align: center; font-weight: 600; font-size: 0.9rem; padding: 10px 16px; }
.notice a { color: #fff; }

/* Specificity fixes: keep component colours when placed inside light bands / the footer */
.site-footer .socials a, .site-footer .socials a:hover { color: var(--gold); }
.ydb-card a.ydb-stats { color: #fff; }
.ydb-card .ydb-links a { color: #f4a1ff; }

/* ---------- 2027 hero: the poster picture with clickable buttons ---------- */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.poster-hero { background: #050d22; }
.poster { position: relative; max-width: 1914px; margin: 0 auto; }
.poster img { width: 100%; height: auto; display: block; }
.poster .hot { position: absolute; display: block; font-size: 0; color: transparent; border-radius: 3px; transition: box-shadow 0.15s ease, background-color 0.15s ease; }
.poster .hot:hover { background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 2px var(--gold), 0 0 26px rgba(255, 198, 87, 0.55); }
.poster .hot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hero-m { display: none; }
@media (max-width: 759px) {
  .poster { display: none; }
  .hero-m { display: block; position: relative; isolation: isolate; text-align: center; background-color: #050d22; background-size: cover; background-position: 60% center; padding-block: 44px 40px; }
  .hero-m::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 13, 34, 0.5) 0%, rgba(5, 13, 34, 0.78) 55%, rgba(5, 13, 34, 0.92) 100%); }
  .hero-m h1 { margin: 6px 0 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .hm-name { font-family: var(--display); font-size: clamp(2rem, 10vw, 2.6rem); color: #fbf3df; line-height: 1.05; }
  .hm-sub { font-family: var(--body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: #fff; }
  .hm-year { font-family: var(--display); font-size: 2.8rem; color: var(--gold); line-height: 1.1; }
  .hm-tag { font-size: 0.78rem; letter-spacing: 0.4em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
  .hm-date { font-weight: 800; font-size: 1.35rem; color: #fff; margin: 0 0 4px; }
  .hm-place { color: var(--on-dark-soft); font-size: 0.95rem; margin: 0 0 20px; }
  .hero-m .btn-row { justify-content: center; }
}

.quicklinks { background: var(--night); border-bottom: 1px solid var(--line-dark); }
.quicklinks .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding-block: 14px; font-size: 0.88rem; font-weight: 600; }
.quicklinks a { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.quicklinks a:hover { color: var(--gold); }

/* Registration links that are not open yet */
.is-soon { font-weight: 600; }
.btn.is-soon { background: none; color: inherit; border: 2px dashed currentColor; opacity: 0.75; cursor: default; }
.btn.is-soon:hover { transform: none; }
