/* ==========================================================================
   TTE Galaxy — global stylesheet
   1. Fonts  2. Tokens  3. Base  4. Layout  5. Typography  6. Buttons & chips
   7. Header / nav / mega menu / drawer  8. Footer  9. Page hero
   10. Shared components  11. Motion  12. Utilities
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* 2. Tokens --------------------------------------------------------------- */
:root {
  /* brand (from the existing TTE Galaxy identity) */
  --magenta-800: #4a1140;
  --magenta-700: #5e1650;
  --magenta-600: #85206b;
  --magenta-500: #a3328a;
  --magenta-400: #c45ea4;
  --magenta-300: #dc96c5;
  --magenta-100: #f3e1ee;
  --gold-500: #e0a526;
  --gold-400: #ebb944;
  --gold-300: #f4d48a;

  /* night */
  --space-950: #13060f;
  --space-900: #1d0a19;
  --space-850: #250d21;
  --space-800: #2a0d27;
  --space-700: #3b1637;
  --on-dark: #f7f0f4;
  --on-dark-muted: rgba(247, 240, 244, .7);
  --on-dark-faint: rgba(247, 240, 244, .5);
  --line-dark: rgba(247, 240, 244, .12);
  --line-dark-strong: rgba(247, 240, 244, .22);

  /* day */
  --ivory-50: #faf6f1;
  --ivory-100: #f4ede4;
  --ivory-200: #eae0d4;
  --white: #ffffff;
  --ink-900: #1f0f1c;
  --ink-700: #46363f;
  --ink-500: #6b5a65;
  --line: #e6dbd2;
  --line-strong: #d4c5ba;

  --ok: #1f7a4d;
  --err: #b42318;

  /* type */
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-md: clamp(1.125rem, 1.05rem + .3vw, 1.3rem);
  --fs-lg: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  --fs-h3: clamp(1.4rem, 1.2rem + .8vw, 1.85rem);
  --fs-h2: clamp(2.3rem, 1.6rem + 3vw, 4.25rem);
  --fs-h1: clamp(2.9rem, 1.8rem + 4.8vw, 6.5rem);
  --fs-mega: clamp(3.2rem, 1.7rem + 5.4vw, 7.25rem);

  /* space & shape */
  --gutter: clamp(16px, 4vw, 48px);
  --container: 1280px;
  --section: clamp(80px, 6rem + 4vw, 168px);
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-float: 0 30px 80px -20px rgba(19, 6, 15, .45), 0 2px 6px rgba(19, 6, 15, .08);
  --shadow-card: 0 1px 2px rgba(31, 15, 28, .05), 0 12px 32px -12px rgba(31, 15, 28, .16);

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 160ms;
  --t-base: 280ms;
  --t-slow: 700ms;

  --header-h: 84px;
  --header-h-compact: 68px;
  color-scheme: light;
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h-compact) + 16px); }
body {
  margin: 0; background: var(--ivory-50); color: var(--ink-900);
  font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.65; font-weight: 450;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--magenta-600); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--gold-500); color: var(--space-950);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 4. Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + 2 * var(--gutter)); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--flush-top { padding-top: 0; }
.night { background: var(--space-950); color: var(--on-dark); }
.night-2 { background: var(--space-900); color: var(--on-dark); }
.ivory { background: var(--ivory-50); }
.ivory-2 { background: var(--ivory-100); }
.paper { background: var(--white); }
.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.split { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.25fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.25fr; }
  .split--top { align-items: start; }
}
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; }
}
.stack > * + * { margin-top: var(--stack, 1rem); }

/* 5. Typography ----------------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--magenta-600); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.night .eyebrow, .night-2 .eyebrow, .on-dark .eyebrow { color: var(--gold-400); }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; line-height: .98; }
.display em, .title em { font-style: italic; color: var(--magenta-600); }
.night .display em, .night .title em, .night-2 .display em, .night-2 .title em, .on-dark .display em { color: var(--gold-400); }
.h1 { font-size: var(--fs-h1); }
.h-mega { font-size: var(--fs-mega); }
.title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.02em; }
.h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
.h4 { font-size: var(--fs-md); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.lead { font-size: var(--fs-md); line-height: 1.6; color: var(--ink-700); max-width: 62ch; }
.night .lead, .night-2 .lead, .on-dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--ink-500); }
.night .muted, .night-2 .muted, .on-dark .muted { color: var(--on-dark-muted); }
.small { font-size: var(--fs-sm); }
.tabular { font-variant-numeric: tabular-nums; }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--fs-h3); margin: 1.8em 0 .6em; letter-spacing: -.02em; }
.prose h3 { font-size: var(--fs-md); margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; padding-left: .2em; }
.prose li::marker { color: var(--magenta-600); }
.prose a { color: var(--magenta-600); font-weight: 600; }
.prose > :first-child { margin-top: 0; }

/* 6. Buttons & chips ------------------------------------------------------ */
.btn { --btn-bg: var(--space-950); --btn-fg: #fff; --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-size: .95rem; font-weight: 700; letter-spacing: .01em; text-decoration: none; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform var(--t-base) var(--ease-out), background-color var(--t-base), color var(--t-base), border-color var(--t-base), box-shadow var(--t-base); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .14); transform: translateX(-101%);
  transition: transform 520ms var(--ease-out); }
.btn:hover::after { transform: translateX(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--t-base) var(--ease-out); }
.btn:hover svg.i-arrow, .link-arrow:hover svg { transform: translateX(4px); }
.btn:hover svg.i-external, .link-arrow:hover svg.i-external { transform: translate(2px, -2px); }
.btn:active { transform: scale(.98); }
.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--space-950); box-shadow: 0 10px 30px -12px rgba(224, 165, 38, .65); }
.btn--magenta { --btn-bg: var(--magenta-600); --btn-fg: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--line-strong); }
.btn--ghost::after { background: rgba(133, 32, 107, .07); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: var(--line-dark-strong); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--space-950); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--magenta-600); }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease-out); }
.night .link-arrow, .night-2 .link-arrow, .on-dark .link-arrow { color: var(--gold-400); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .04em; border: 1px solid var(--line); background: var(--white); color: var(--ink-700); white-space: nowrap; }
.chip svg { width: 14px; height: 14px; }
.chip--magenta { background: var(--magenta-100); border-color: transparent; color: var(--magenta-700); }
.chip--gold { background: var(--gold-500); border-color: transparent; color: var(--space-950); }
.chip--dark { background: rgba(255, 255, 255, .08); border-color: var(--line-dark); color: var(--on-dark); }
.chip--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
.chip--muted { background: transparent; color: var(--ink-500); }

.icon { width: 20px; height: 20px; flex: none; }

/* 7. Header --------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--on-dark);
  transition: transform 420ms var(--ease-out), height var(--t-base) var(--ease-out), background-color var(--t-base), color var(--t-base), box-shadow var(--t-base); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(19, 6, 15, .82);
  -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid var(--line-dark);
  transition: opacity var(--t-base); }
.site-header.is-scrolled { height: var(--header-h-compact); }
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
body[data-header="light"] .site-header:not(.is-scrolled):not(.is-open) { color: var(--ink-900); }
body[data-header="light"] .site-header:not(.is-scrolled):not(.is-open) .brand-logo--white { opacity: 0; }
body[data-header="light"] .site-header:not(.is-scrolled):not(.is-open) .brand-logo--color { opacity: 1; }
body[data-header="light"] .site-header:not(.is-scrolled):not(.is-open) .btn--ghost-light { --btn-fg: var(--ink-900); --btn-bd: var(--line-strong); }
.header-bar { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { position: relative; display: block; width: 116px; height: 56px; flex: none; transition: width var(--t-base) var(--ease-out); }
.is-scrolled .brand { width: 100px; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity var(--t-base); }
.brand-logo--color { opacity: 0; }

.primary-nav { margin-inline: auto; display: none; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 12px; font-size: .9rem; font-weight: 600;
  text-decoration: none; letter-spacing: .01em; opacity: .88; transition: opacity var(--t-fast); }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform var(--t-base) var(--ease-out); }
.nav-link:hover, .nav-link[aria-current="page"], .nav-item.is-open > .nav-link { opacity: 1; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-link[aria-current="page"]::after { background: var(--gold-500); }
.has-menu .nav-link { padding-right: 4px; }
.nav-toggle { display: inline-grid; place-items: center; width: 26px; height: 30px; margin-right: 4px; border: 0; background: none; border-radius: 6px; opacity: .75; }
.nav-toggle svg { width: 14px; height: 14px; transition: transform var(--t-base) var(--ease-out); }
.nav-item.is-open .nav-toggle svg { transform: rotate(180deg); }
.nav-toggle:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-actions .btn { min-height: 42px; padding: 8px 18px; font-size: .85rem; }
.header-login { display: none; }
.menu-button { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark-strong); background: transparent; }
body[data-header="light"] .site-header:not(.is-scrolled):not(.is-open) .menu-button { border-color: var(--line-strong); }
.menu-button span { position: relative; display: block; width: 18px; height: 1.5px; background: currentColor; transition: background var(--t-fast); }
.menu-button span::before, .menu-button span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor;
  transition: transform var(--t-base) var(--ease-out); }
.menu-button span::before { transform: translateY(-6px); }
.menu-button span::after { transform: translateY(6px); }
.menu-button[aria-expanded="true"] span { background: transparent; }
.menu-button[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .primary-nav { display: block; }
  .menu-button { display: none; }
  .header-login { display: inline-flex; }
}
@media (max-width: 520px) {
  .header-actions .btn--gold { display: none; }
}

/* dropdown */
.dropdown { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 320px; padding: 10px; border-radius: var(--radius);
  background: var(--space-900); border: 1px solid var(--line-dark); box-shadow: var(--shadow-float); color: var(--on-dark);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), visibility 0s linear var(--t-base); }
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.dropdown a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: center; padding: 12px; border-radius: 10px; text-decoration: none; }
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(255, 255, 255, .06); }
.dropdown .dd-icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(196, 94, 164, .16); color: var(--magenta-300); }
.dropdown .dd-icon svg { width: 20px; height: 20px; }
.dropdown strong { font-size: .95rem; }
.dropdown small { color: var(--on-dark-faint); font-size: .8rem; line-height: 1.4; }

/* mega menu */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 10px; color: var(--on-dark);
  opacity: 0; visibility: hidden; transition: opacity var(--t-base) var(--ease-out), visibility 0s linear var(--t-base); }
.mega-inner { clip-path: inset(0 0 100% 0 round var(--radius-lg)); transform: translateY(-10px);
  display: grid; grid-template-columns: 1fr 1fr 300px; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--space-900); border: 1px solid var(--line-dark); box-shadow: var(--shadow-float);
  transition: clip-path 520ms var(--ease-out), transform 520ms var(--ease-out); }
.nav-item.is-open > .mega { opacity: 1; visibility: visible; transition-delay: 0s; }
.nav-item.is-open > .mega .mega-inner { clip-path: inset(0 0 0 0 round var(--radius-lg)); transform: none; }
.mega-col { padding: 28px 28px 24px; border-right: 1px solid var(--line-dark); }
.mega-country { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line-dark); }
.mega-country h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; letter-spacing: -.01em; }
.mega-country .count { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-faint); }
.mega-country .count b { color: var(--gold-400); }
.city-list { list-style: none; }
.city-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line-dark); min-height: 52px; }
.city-row:last-child { border-bottom: 0; }
.city-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; padding: 10px 0; }
.city-link .star { width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark-faint); flex: none; transition: background var(--t-fast), box-shadow var(--t-fast); }
.city-row.has-next .star { background: var(--gold-400); box-shadow: 0 0 0 4px rgba(224, 165, 38, .16); }
.city-link:hover { color: var(--gold-300); }
.date-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: .82rem; font-weight: 700;
  font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; color: var(--gold-300); background: rgba(224, 165, 38, .1); border: 1px solid rgba(224, 165, 38, .25);
  transition: background var(--t-fast), color var(--t-fast); }
.date-chip:hover { background: var(--gold-500); color: var(--space-950); }
.date-chip .more { font-weight: 600; opacity: .75; font-size: .75rem; }
.date-chip.is-today { background: var(--gold-500); color: var(--space-950); }
.date-none { font-size: .8rem; color: var(--on-dark-faint); font-style: italic; }
.mega-all { display: inline-flex; margin-top: 16px; }
.mega .link-arrow, .drawer .link-arrow, .dropdown .link-arrow { color: var(--gold-400); }
.mega-feature { padding: 22px; background: linear-gradient(160deg, rgba(133, 32, 107, .35), rgba(19, 6, 15, .2)); display: flex; flex-direction: column; gap: 12px; }
.mega-feature .poster { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--space-800); }
.mega-feature .poster img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mega-feature h4 { font-size: 1.05rem; line-height: 1.3; }
.mega-feature .meta { font-size: .82rem; color: var(--on-dark-muted); line-height: 1.5; }
.mega .stagger > * { opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.nav-item.is-open > .mega .stagger > * { opacity: 1; transform: none; }
.nav-item.is-open > .mega .stagger > *:nth-child(2) { transition-delay: 40ms; }
.nav-item.is-open > .mega .stagger > *:nth-child(3) { transition-delay: 80ms; }
.nav-item.is-open > .mega .stagger > *:nth-child(4) { transition-delay: 120ms; }
.nav-item.is-open > .mega .stagger > *:nth-child(5) { transition-delay: 160ms; }
.nav-item.is-open > .mega .stagger > *:nth-child(6) { transition-delay: 200ms; }
@media (max-width: 1240px) { .mega-inner { grid-template-columns: 1fr 1fr 250px; } }

/* drawer (mobile / tablet nav) */
.drawer { position: fixed; inset: 0; z-index: 99; background: var(--space-950); color: var(--on-dark); overflow: hidden; overflow: clip;
  clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path 640ms var(--ease-in-out); visibility: hidden; }
.drawer.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.drawer-track { display: flex; width: 200%; height: 100%; transition: transform 520ms var(--ease-out); }
.drawer.show-events .drawer-track { transform: translateX(-50%); }
.drawer-panel { width: 50%; height: 100%; overflow-y: auto; padding: calc(var(--header-h) + 8px) var(--gutter) 32px; display: flex; flex-direction: column; }
.drawer-nav { list-style: none; }
.drawer-nav > li { border-bottom: 1px solid var(--line-dark); }
.drawer-nav a, .drawer-nav button.drawer-row { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px;
  padding: 8px 0; background: none; border: 0; text-decoration: none; text-align: left;
  font-family: var(--font-display); font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.05; letter-spacing: -.01em; }
.drawer-nav a[aria-current="page"] { color: var(--gold-400); }
.drawer-nav svg { width: 22px; height: 22px; opacity: .6; flex: none; transition: transform var(--t-base) var(--ease-out); }
.drawer-nav [aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer-sub { list-style: none; padding: 0 0 16px 4px; }
.drawer-sub a { min-height: 48px; font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; color: var(--on-dark-muted); }
.drawer-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.drawer-foot .btn-row .btn { flex: 1; }
.drawer .stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.drawer.is-open .stagger > * { opacity: 1; transform: none; }
.drawer.is-open .stagger > *:nth-child(1) { transition-delay: 200ms; }
.drawer.is-open .stagger > *:nth-child(2) { transition-delay: 240ms; }
.drawer.is-open .stagger > *:nth-child(3) { transition-delay: 280ms; }
.drawer.is-open .stagger > *:nth-child(4) { transition-delay: 320ms; }
.drawer.is-open .stagger > *:nth-child(5) { transition-delay: 360ms; }
.drawer.is-open .stagger > *:nth-child(6) { transition-delay: 400ms; }
.drawer.is-open .stagger > *:nth-child(7) { transition-delay: 440ms; }
.drawer-back { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none;
  font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-400); }
.drawer-back svg { width: 18px; height: 18px; transform: rotate(180deg); }
.drawer-events h2 { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; margin: 12px 0 20px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); margin-bottom: 12px; }
.segmented button { min-height: 44px; border: 0; border-radius: 999px; background: none; font-weight: 700; color: var(--on-dark-muted); transition: background var(--t-base), color var(--t-base); }
.segmented button[aria-selected="true"] { background: var(--on-dark); color: var(--space-950); }
.drawer-events .city-row { min-height: 60px; }
.drawer-events .city-link { font-size: 1.15rem; }
@media (min-width: 1100px) { .drawer { display: none; } }

/* 8. Footer --------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1.4fr auto; } }
.cta-band .title { max-width: 14ch; }
.site-footer { position: relative; background: var(--space-950); color: var(--on-dark); padding: clamp(64px, 8vw, 112px) 0 32px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-dark-strong), transparent); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 360px; }
.footer-brand img { width: 150px; margin-bottom: 20px; }
.footer-brand p { color: var(--on-dark-muted); font-size: .95rem; }
.footer-col h3 { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--on-dark-muted); font-size: .95rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--on-dark); }
.footer-cities li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.footer-cities .d { color: var(--gold-300); font-variant-numeric: tabular-nums; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.footer-cities .d.none { color: var(--on-dark-faint); font-weight: 500; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; } .footer-brand { grid-column: auto; } }
.socials { display: flex; gap: 10px; margin-top: 24px; list-style: none; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark-strong); color: var(--on-dark);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--space-950); }
.socials svg { width: 18px; height: 18px; }
/* line-height + bottom padding leave room for the "g" descenders so they never touch the divider */
.footer-word { font-family: var(--font-display); font-size: min(10vw, 11.5rem); line-height: 1.12; letter-spacing: -.03em; color: transparent;
  -webkit-text-stroke: 1px rgba(247, 240, 244, .3); margin: clamp(40px, 6vw, 80px) 0 20px; padding: .04em 0 .16em; white-space: nowrap; user-select: none; overflow: visible; }
.footer-word em { -webkit-text-stroke: 0; color: var(--magenta-400); opacity: .75; padding-right: .06em; }
@media (max-width: 759px) { .footer-word { font-size: 13.5vw; white-space: normal; line-height: 1.05; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  font-size: .85rem; color: var(--on-dark-faint); }
.footer-bottom a { color: var(--on-dark-muted); text-decoration: none; }
.footer-bottom ul { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #1faa52; color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45); transition: transform var(--t-base) var(--ease-out); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* 9. Page hero ------------------------------------------------------------ */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 9vw, 128px)) 0 clamp(56px, 7vw, 104px); }
.page-hero.night { background: radial-gradient(1200px 600px at 85% -10%, rgba(133, 32, 107, .55), transparent 60%), var(--space-950); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .display { font-size: var(--fs-h1); max-width: 16ch; margin: 22px 0 26px; }
.page-hero .lead { max-width: 56ch; }
.page-hero-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--on-dark-faint); }
.breadcrumbs a { text-decoration: none; color: var(--on-dark-muted); }
.breadcrumbs a:hover { color: var(--on-dark); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
body[data-header="light"] .breadcrumbs { color: var(--ink-500); }
body[data-header="light"] .breadcrumbs a { color: var(--ink-700); }

/* 10. Shared components --------------------------------------------------- */
/* starfield bg */
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 34%, rgba(244,212,138,.8), transparent 60%),
    radial-gradient(1px 1px at 63% 82%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 74% 18%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 58%, rgba(220,150,197,.8), transparent 60%),
    radial-gradient(1px 1px at 94% 88%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 6% 90%, rgba(255,255,255,.45), transparent 60%);
  background-size: 520px 520px; }
.orbit-lines { position: absolute; pointer-events: none; border-radius: 50%; border: 1px solid var(--line-dark); }

/* event card */
.event-card { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 22px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base), border-color var(--t-base); }
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: transparent; }
.event-date { display: grid; place-content: center; text-align: center; border-radius: 16px; aspect-ratio: 1; background: var(--space-950); color: var(--on-dark); }
.event-date .m { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); }
.event-date .d { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.event-date .w { font-size: .72rem; color: var(--on-dark-faint); font-weight: 600; }
.event-card h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; margin: 6px 0 8px; }
.event-meta { display: grid; gap: 4px; font-size: .88rem; color: var(--ink-500); }
.event-meta span { display: inline-flex; gap: 8px; align-items: flex-start; }
.event-meta svg { width: 16px; height: 16px; margin-top: 3px; flex: none; color: var(--magenta-600); }
.event-card .go { position: absolute; right: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line);
  color: var(--ink-900); transition: background var(--t-base), color var(--t-base), transform var(--t-base) var(--ease-out); }
.event-card .go svg { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform var(--t-base) var(--ease-out); }
.event-card:hover .go { background: var(--magenta-600); color: #fff; border-color: transparent; }
.event-card:hover .go svg { transform: rotate(0); }
.event-card .tags { display: flex; gap: 6px; flex-wrap: wrap; padding-right: 48px; }
.night .event-card, .night-2 .event-card { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); color: var(--on-dark); }
.night .event-card .event-meta, .night-2 .event-card .event-meta { color: var(--on-dark-muted); }
.night .event-card .event-meta svg, .night-2 .event-card .event-meta svg { color: var(--magenta-300); }
.night .event-card .event-date, .night-2 .event-card .event-date { background: rgba(255, 255, 255, .06); }
.night .event-card .go, .night-2 .event-card .go { border-color: var(--line-dark-strong); color: var(--on-dark); }
.night .event-card:hover, .night-2 .event-card:hover { background: rgba(255, 255, 255, .07); }

/* poster card (past events) */
.poster-card { display: block; text-decoration: none; }
.poster-card .ph { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ivory-200); position: relative; }
.poster-card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 900ms var(--ease-out); }
.poster-card:hover .ph img { transform: scale(1.04); }
.poster-card h3 { font-size: .98rem; font-weight: 700; line-height: 1.35; margin: 14px 0 4px; }
.poster-card p { font-size: .85rem; color: var(--ink-500); }

/* art placeholder (when no real image exists) */
.art-ph { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; color: rgba(255,255,255,.85);
  background: radial-gradient(circle at 30% 20%, rgba(196, 94, 164, .55), transparent 55%), radial-gradient(circle at 80% 90%, rgba(224, 165, 38, .25), transparent 50%), var(--space-900); }
.art-ph::after { content: ""; position: absolute; inset: 0; background: inherit; }
.art-ph span { position: relative; z-index: 1; font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.6rem); text-align: center; padding: 16px; line-height: 1.05; }
.art-ph .stars { z-index: 1; }

/* avatar */
.avatar { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--magenta-100); color: var(--magenta-700);
  font-family: var(--font-display); font-size: 2.4rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* accordion */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer;
  font-size: var(--fs-md); font-weight: 650; letter-spacing: -.01em; line-height: 1.35; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .pm { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; transition: background var(--t-base), border-color var(--t-base); }
.accordion summary .pm::before, .accordion summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%); transition: transform var(--t-base) var(--ease-out); }
.accordion summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion details[open] summary .pm { background: var(--magenta-600); border-color: var(--magenta-600); color: #fff; }
.accordion details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.accordion .acc-body { padding: 0 64px 28px 0; color: var(--ink-700); max-width: 72ch; }
.night .accordion, .night .accordion details { border-color: var(--line-dark); }
.night .accordion .acc-body { color: var(--on-dark-muted); }
.night .accordion summary .pm { border-color: var(--line-dark-strong); }

/* stat */
.stat .num { font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat .num sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; color: var(--gold-400); margin-left: 2px; font-family: var(--font-sans); font-weight: 600; }
.stat .lbl { margin-top: 12px; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--on-dark-muted); }

/* empty / error states */
.state { display: grid; justify-items: start; gap: 14px; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); background: var(--white); }
.state .h4 { max-width: 40ch; }
.state p { color: var(--ink-500); max-width: 56ch; }
.night .state, .night-2 .state { background: rgba(255, 255, 255, .03); border-color: var(--line-dark-strong); }
.night .state p, .night-2 .state p { color: var(--on-dark-muted); }
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--ivory-100), var(--ivory-200), var(--ivory-100)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.night .skeleton { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04)); background-size: 200% 100%; }

/* forms */
.field { display: grid; gap: 8px; }
.field label { font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.field .req { color: var(--magenta-600); }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2346363f' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--magenta-600); box-shadow: 0 0 0 4px rgba(133, 32, 107, .14); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--err); }
.field .err { font-size: .82rem; color: var(--err); font-weight: 600; min-height: 0; }
.search-input { position: relative; }
.search-input svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-500); pointer-events: none; }
.search-input .input { padding-left: 48px; }

/* filter pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font-size: .88rem; font-weight: 650;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.pill:hover { border-color: var(--ink-900); }
.pill[aria-pressed="true"] { background: var(--space-950); border-color: var(--space-950); color: #fff; }
.pill .n { opacity: .55; font-weight: 600; margin-left: 4px; }

/* marquee */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-tile { width: 168px; height: 96px; flex: none; display: grid; place-items: center; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.logo-tile img { max-height: 100%; width: auto; object-fit: contain; }

/* 11. Motion -------------------------------------------------------------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
/* the clip lives on the child so IntersectionObserver can still see the observed element */
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1200ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in > * { clip-path: inset(0 0 0 0); }
.js .split-lines .line { display: block; overflow: hidden; padding: .06em 0 .16em; margin: -.06em 0 -.16em; }
.js .split-lines .line > span { display: block; transform: translateY(105%); transition: transform 1100ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms)); }
.js .split-lines.is-in .line > span { transform: none; }

.page-fade { animation: page-in 600ms var(--ease-out) both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
html.is-leaving body { opacity: 0; transition: opacity 220ms ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal] > *, .js .split-lines .line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* 12. Utilities ----------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.relative { position: relative; }
.hide-mobile { display: none; }
@media (min-width: 760px) { .hide-mobile { display: revert; } .hide-desktop { display: none; } }
