/* ============================================================
   FITNESS FEST BY APOLLO NEXT — 12.09.2026 — X-Park
   Built on the APOLLO design system (Apollo D.fig tokens).
   ============================================================ */

@font-face {
  font-family: 'Halvar Breitschrift';
  src: url('../assets/fonts/halvar_breitschrift-regular-web-webfont.woff2') format('woff2'),
       url('../assets/fonts/halvar_breitschrift-regular-web-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Halvar Breitschrift';
  src: url('../assets/fonts/halvar_breitschrift-medium-web-webfont.woff2') format('woff2'),
       url('../assets/fonts/halvar_breitschrift-medium-web-webfont.woff') format('woff');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #FFFFFF;
  --orange: #FF6424;
  --orange-hover: #E25517;
  --orange-press: #B54010;
  --blue: #004FE8;
  --blue-hover: #003CB5;
  --blue-press: #00288A;

  /* holi palette — the fest ends in colour smoke and holi paint, so the page may
     carry those colours as celebration. Orange stays the only action signal. */
  --holi-pink:   #FF2D87;
  --holi-yellow: #FFC91B;
  --holi-cyan:   #00C2F0;
  --holi-green:  #4FD86A;
  --paper: #F0F0EE;
  --paper-2: #E4E4E0;
  --on-blue:  #DCE7FF;   /* secondary ink on --blue; white-alpha fails there */
  --ink-800: #181818;

  --on-dark-dim: rgba(255, 255, 255, .68);
  --on-dark-mute: rgba(255, 255, 255, .62);
  --on-light-dim: rgba(0, 0, 0, .62);
  --on-light-mute: rgba(0, 0, 0, .55);
  --hair-dark: rgba(255, 255, 255, .14);
  --hair-light: rgba(0, 0, 0, .12);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  --font-display: 'Halvar Breitschrift', 'Archivo', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SF Mono', monospace;

  --pad: clamp(18px, 5vw, 40px);
  --gap: clamp(14px, 4vw, 24px);
  --section-y: clamp(56px, 14vw, 120px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: 420ms;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* ---- browser surfaces ---------------------------------------- */
::selection { background: var(--orange); color: var(--white); }
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
.on-paper :focus-visible { outline-color: var(--blue); }
html { scrollbar-color: var(--orange) var(--ink-800); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-800); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: var(--r-pill); }

/* ---- primitives ---------------------------------------------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--pad); }

.sr-only {
  position: absolute; 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: 50%; top: 8px; transform: translate(-50%, -160%);
  z-index: 100; background: var(--orange); color: var(--black);
  padding: 12px 20px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em;
  transition: transform 180ms var(--ease-out);
}
.skip-link:focus { transform: translate(-50%, 0); }

.meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }

.s-title {
  font-size: clamp(2.1rem, 9.5vw, 4rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.035em;
  margin: 0 0 14px;
}
.s-lede {
  font-size: 16px;
  line-height: 1.5;
  max-width: 46ch;
  margin: 0;
}
section.dark .s-lede { color: var(--on-dark-dim); }
section.light .s-lede { color: var(--on-light-dim); }

.s-head { margin-bottom: clamp(28px, 7vw, 52px); }

section.dark { background: var(--black); color: var(--white); }
section.light { background: var(--paper); color: var(--black); }
section { padding-block: var(--section-y); position: relative; }
section.dark + section.dark { padding-top: clamp(28px, 7vw, 60px); }

/* ---- buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 16px 30px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out),
              border-color 180ms var(--ease-out), transform 120ms var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: var(--orange-hover); color: var(--black); }
.btn-primary:active { background: var(--orange-press); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-hover); }
.btn-blue:active { background: var(--blue-press); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-ghost-dark { background: transparent; color: var(--black); border-color: rgba(0,0,0,.3); }
.btn-ghost-dark:hover { background: rgba(0,0,0,.06); border-color: var(--black); }
.btn-sm { min-height: 44px; padding: 11px 20px; font-size: 13px; }
.btn-lg { min-height: 62px; padding: 20px 38px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ---- topbar --------------------------------------------------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px;
  background: var(--black);
}
.topbar > a { display: inline-flex; align-items: center; min-height: 44px; padding-right: 8px; }
.topbar img { height: 26px; width: auto; }

/* ============================================================
   HERO — the poster
   ============================================================ */
.hero {
  position: relative;
  background: var(--black);
  padding-block: clamp(24px, 7vw, 56px) 0;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  top: 24%; right: -14%;
  width: min(58vw, 380px); aspect-ratio: 1;
  background: var(--orange);
  border-radius: 50%;
  opacity: .95;
  pointer-events: none;
  will-change: transform;
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner::before {
  content: "";
  position: absolute;
  inset: -4% -10% -6% -14%;
  z-index: -1;
  background: radial-gradient(86% 66% at 20% 50%, rgba(0,0,0,.86) 0%, rgba(0,0,0,.58) 42%, rgba(0,0,0,0) 72%);
  pointer-events: none;
}

.hero-logo {
  width: min(84%, 520px);
  height: auto;
  margin-bottom: clamp(24px, 7vw, 44px);
}

.hero-date {
  font-size: clamp(4.4rem, 23vw, 13rem);
  line-height: .8;
  font-weight: 500;
  letter-spacing: -.055em;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: .06em;
}
.hero-date .yr {
  font-size: .17em;
  letter-spacing: .12em;
  font-family: var(--font-mono);
  color: var(--white);
  background: var(--black);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  margin-top: .55em;
  align-self: flex-start;
  line-height: 1;
}

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: clamp(22px, 6vw, 34px) 0 0;
  padding: 0; list-style: none;
}
.hero-facts li {
  background: var(--black);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  color: var(--white);
}
.hero-facts li.is-key { background: var(--white); border-color: var(--white); color: var(--black); }

.hero-claim {
  font-size: clamp(1.15rem, 5vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  max-width: 22ch;
  margin: clamp(24px, 6vw, 36px) 0 0;
  font-weight: 500;
}
.hero-cta { margin-top: clamp(24px, 6vw, 34px); }
.hero-cta .note {
  display: block;
  margin-top: 12px;
  color: var(--on-dark-mute);
}

/* ---- ticker ---------------------------------------------------- */
.ticker {
  margin-top: 0;
  background: var(--orange);
  overflow: hidden;
  padding-block: 14px;
  position: relative;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--black);
  padding-inline: 22px;
  white-space: nowrap;
}
.ticker-track span::after { content: '◆'; margin-left: 22px; opacity: .5; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   ACTIVITIES
   ============================================================ */
.tourn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tourn {
  border-radius: var(--r-lg);
  padding: 20px 18px 22px;
  min-height: 190px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 2px solid transparent;
}
.tourn .ic { width: 34px; height: 34px; }
.tourn h3 {
  font-size: clamp(1.15rem, 5.2vw, 1.6rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -.03em;
  margin: 18px 0 6px;
}
.tourn .when { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; }
.tourn.is-orange { background: var(--orange); color: var(--black); }
.tourn.is-orange .when { color: rgba(0,0,0,.74); }
.tourn.is-blue { background: var(--blue); color: var(--white); }
.tourn.is-blue .when { color: var(--on-blue); }
.tourn.is-white { background: var(--white); color: var(--black); }
.tourn.is-white .when { color: var(--on-light-dim); }
.tourn.is-outline { background: transparent; color: var(--black); border-color: rgba(0,0,0,.22); }
.tourn.is-outline .when { color: var(--on-light-dim); }

.train-head {
  margin: clamp(38px, 9vw, 64px) 0 4px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-family: var(--font-mono);
  color: var(--on-light-dim);
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--black);
}
.train-list { list-style: none; margin: 0; padding: 0; }
.train-list li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair-light);
}
.train-list .ic { width: 26px; height: 26px; color: var(--blue); }
.train-list .nm { font-size: 1.12rem; font-weight: 500; letter-spacing: -.02em; }
.train-list .zn {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--on-light-mute); text-align: right;
}

/* ============================================================
   PROGRAMME (schedule)
   ============================================================ */
.allday {
  display: flex; gap: 8px; overflow-x: auto;
  margin: 0 calc(var(--pad) * -1) 26px;
  padding: 0 var(--pad) 6px;
  list-style: none;
  scrollbar-width: none;
}
.allday::-webkit-scrollbar { display: none; }
.allday li {
  flex: 0 0 auto;
  border: 1.5px solid var(--hair-dark);
  border-radius: var(--r-md);
  padding: 12px 16px;
  min-width: 150px;
}
.allday .t { display: block; font-size: .95rem; font-weight: 500; letter-spacing: -.01em; }
.allday .d {
  display: block; margin-top: 5px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--orange);
}

.filters {
  display: flex; gap: 8px; overflow-x: auto;
  margin: 0 calc(var(--pad) * -1) 24px;
  padding: 2px var(--pad) 10px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--hair-dark);
  background: transparent;
  color: var(--on-dark-dim);
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.chip:hover { border-color: var(--white); color: var(--white); }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--black); }

.tl { list-style: none; margin: 0; padding: 0; }
.tl li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--hair-dark);
}
.tl li:last-child { border-bottom: 1px solid var(--hair-dark); }
.tl .time {
  font-family: var(--font-mono);
  font-size: 14px; letter-spacing: .04em;
  color: var(--orange);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.tl .ttl { font-size: 1.1rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.22; }
.tl .sub {
  display: block; margin-top: 6px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--on-dark-mute);
}
.tl li.is-final { background: rgba(255,100,36,.1); }
.tl li.is-final .ttl { color: var(--orange); }

.tl li[hidden] { display: none; }

.tl-empty {
  padding: 34px 0; color: var(--on-dark-mute);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}

.final-note {
  margin-top: 22px;
  border: 2px solid var(--orange);
  border-radius: var(--r-lg);
  padding: 20px;
  color: var(--white);
}
.final-note strong { color: var(--orange); font-weight: 500; }

/* ============================================================
   MAP
   ============================================================ */
.map-card {
  position: relative;
  border: 0; padding: 0; margin: 0 0 var(--gap);
  width: 100%;
  background: var(--ink-800);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: zoom-in;
  display: block;
}
.map-card picture { display: block; }
.map-card img { width: 100%; height: auto; }
.map-card .hint {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(0,0,0,.78);
  border-radius: var(--r-pill);
  padding: 11px 17px;
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; color: var(--white);
  display: flex; align-items: center; gap: 8px;
}

.zones { list-style: none; margin: 0; padding: 0; columns: 1; }
.zones li {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--hair-dark);
  font-size: 15px;
}
.zones .n {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--white); font-variant-numeric: tabular-nums;
  background: var(--blue);
  border-radius: var(--r-pill);
  text-align: center; padding: 4px 0;
}

.geo {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  margin-top: 22px;
  background: var(--orange); color: var(--black);
  border-radius: var(--r-md);
  padding: 16px 22px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em;
  line-height: 1.5;
  transition: background-color 180ms var(--ease-out);
}
.geo:hover { background: var(--orange-hover); color: var(--black); }
.geo b { font-family: var(--font-display); font-size: 15px; letter-spacing: 0; font-weight: 500; }

/* ============================================================
   PHOTOS
   ============================================================ */
.shots {
  display: flex; gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad) 14px;
  scrollbar-width: none;
  list-style: none;
}
.shots::-webkit-scrollbar { display: none; }
.shots li { flex: 0 0 auto; scroll-snap-align: center; }
.shots button {
  display: block; padding: 0; border: 0; background: var(--paper-2);
  border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in;
  height: clamp(300px, 74vw, 430px);
  width: min(76vw, 400px);
}
.shots li.port button { width: min(54vw, 285px); }
.shots picture { display: block; height: 100%; }
.shots img { height: 100%; width: 100%; object-fit: cover; }

/* ============================================================
   ENTERTAINMENT (bento)
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bento .b {
  border-radius: var(--r-lg);
  padding: 20px 18px;
  min-height: 150px;
  display: flex; flex-direction: column; gap: 12px;
  border: 1.5px solid var(--hair-dark);
  overflow: hidden;
  position: relative;
}
.bento .b h3 {
  font-size: 1.18rem; text-transform: uppercase; letter-spacing: -.02em; margin: 14px 0 5px;
}
.bento .b p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--on-dark-dim); }
.bento .b .ic { width: 30px; height: 30px; color: var(--orange); }
.bento .wide { grid-column: 1 / -1; }
.bento .b.solid-orange { background: var(--orange); border-color: var(--orange); color: var(--black); }
.bento .b.solid-orange p { color: rgba(0,0,0,.74); }
.bento .b.solid-orange .ic { color: var(--black); }
.bento .b.solid-blue { background: var(--blue); border-color: var(--blue); }
.bento .b.solid-blue p { color: var(--on-blue); }
.bento .b.solid-blue .ic { color: var(--white); }
.bento .b.has-can { flex-direction: row; align-items: center; gap: 16px; }
.bento .b.has-can .txt { flex: 1; }
.bento .b.has-can img { height: 132px; width: auto; }

/* ============================================================
   STEPS
   ============================================================ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li {
  background: var(--white); color: var(--black);
  border-radius: var(--r-lg);
  padding: 22px;
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
}
.steps .n {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  background: var(--orange); color: var(--black);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 16px; font-weight: 700;
}
.steps h3 { font-size: 1.16rem; text-transform: uppercase; letter-spacing: -.02em; margin: 8px 0 6px; }
.steps p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--on-light-dim); }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.partners li {
  background: var(--white);
  border-radius: var(--r-md);
  min-height: 104px;
  display: grid; place-items: center;
  padding: 20px 18px;
}
.partners img { max-height: 42px; width: auto; object-fit: contain; }
.partners img.tall { max-height: 76px; }
.partners .txt {
  text-align: center; font-size: 14px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .04em; line-height: 1.25; color: var(--black);
}
.partners .txt small {
  display: block; margin-top: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .09em; color: var(--on-light-mute);
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--black); padding-block: var(--section-y) calc(var(--section-y) * .6); }
.foot-logo { width: min(66%, 380px); margin-bottom: clamp(8px, 2vw, 16px); }
.foot-grid { display: grid; gap: 26px; }
.foot h3 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-dark-mute); margin: 0 0 10px; font-weight: 400;
}
.foot p { font-size: 16px; margin: 0 0 6px; }
.foot a.line { font-size: 16px; margin: 0; display: flex; align-items: center; min-height: 44px; }
.foot a.line:hover { color: var(--orange); }
.foot .rule { height: 1px; background: var(--hair-dark); margin: clamp(30px, 8vw, 48px) 0 24px; }
.foot .legal {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  color: var(--on-dark-mute);
}
.foot-wordmark { height: 28px; width: auto; }

.qr-slot {
  border: 1.5px dashed var(--hair-dark);
  border-radius: var(--r-md);
  padding: 18px;
  display: flex; align-items: center; gap: 14px;
  color: var(--on-dark-mute);
  max-width: 340px;
}
.qr-slot .box {
  width: 60px; height: 60px; flex: 0 0 60px;
  border-radius: var(--r-xs);
  border: 1.5px dashed var(--hair-dark);
  display: grid; place-items: center;
}

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translate(-50%, 150%);
  z-index: 60;
  width: min(calc(100% - 28px), 520px);
  transition: transform 380ms var(--ease-out);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .45);
  border-radius: var(--r-pill);
}
.sticky-cta.is-on { transform: translate(-50%, 0); }

/* ---- programme status line ------------------------------------- */
.tl-status {
  color: var(--on-dark-mute);
  margin: 0 0 10px;
}

/* ---- map legend note ------------------------------------------- */
.zones-note {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--on-dark-dim);
  max-width: 42ch;
}

/* ---- entertainment: the small items leave the card grid --------- */
.fun-list { list-style: none; margin: 22px 0 0; padding: 0; }
.fun-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair-dark);
}
.fun-list li:first-child { border-top: 1.5px solid var(--white); }
.fun-list .ic { width: 24px; height: 24px; color: var(--orange); }
.fun-list .nm { font-size: 1.06rem; font-weight: 500; letter-spacing: -.02em; }
.fun-list .zn {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--on-dark-mute); text-align: right;
}

.cta-note { color: var(--on-dark-mute); margin: 12px 0 0; }

/* ---- registration-pending notice -------------------------------- */
.reg-note {
  position: fixed;
  left: 50%;
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + 74px);
  transform: translate(-50%, 14px);
  opacity: 0;
  z-index: 70;
  width: min(calc(100% - 28px), 520px);
  margin: 0;
  background: var(--white);
  color: var(--black);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .45);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.reg-note.is-on { opacity: 1; transform: translate(-50%, 0); }
.reg-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, .96);
  display: none;
  padding: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
}
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lb-count { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--on-dark-mute); }
.lb-stage {
  overflow: auto;
  display: grid; place-items: center;
  -webkit-overflow-scrolling: touch;
}
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--r-sm); }
.lb-stage[data-zoom] { place-items: start; }
.lb-stage[data-zoom] img { max-width: none; max-height: none; width: auto; border-radius: 0; }
.lb-hint {
  font-size: 13px; color: var(--on-dark-mute); margin: 0;
  display: none;
}
.lb-hint[data-on] { display: block; }
.lb-nav { display: flex; justify-content: center; gap: 10px; padding-top: 12px; }
.icon-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--hair-dark);
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.icon-btn:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.icon-btn[disabled] { opacity: .3; cursor: not-allowed; }
.icon-btn svg { width: 22px; height: 22px; }

/* ============================================================
   MOTION — one authored moment: the poster assembles
   ============================================================ */
.rise { opacity: 0; transform: translateY(22px); }
.is-lit .rise {
  opacity: 1; transform: none;
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .rise, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sticky-cta { transition: none; }
  .spark-layer { display: none; }
  .burst { animation: none !important; opacity: .38 !important; transform: scale(1) !important; }
  .btn-primary.is-alive::after { animation: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   CELEBRATION — sparks, colour, imagery
   ============================================================ */

/* the particle canvas sits behind content, never intercepts input */
.spark-layer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero .spark-layer { z-index: 1; }
.hero-inner, .ticker { position: relative; z-index: 2; }

/* ---- hero art: the poster gets a face -------------------------- */
/* the poster's photograph sits in flow under the CTA, never behind the copy */
.hero-art {
  position: relative;
  z-index: 2;
  margin-top: clamp(30px, 8vw, 48px);
  overflow: hidden;
}
.hero-art img {
  width: 100%;
  height: clamp(210px, 52vw, 330px);
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
}
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,0) 46%);
  pointer-events: none;
}

/* ---- colour band: full-bleed joy ------------------------------- */
.band {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--black);
}
.band-media { position: relative; }
.band-media img { width: 100%; height: clamp(320px, 78vw, 560px); object-fit: cover; display: block; }
.band-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.62) 0%, rgba(0,0,0,.15) 42%, rgba(0,0,0,.85) 100%);
}
.band-copy {
  position: absolute; inset: auto 0 0 0;
  padding: var(--pad);
  z-index: 1;
}
.band-copy h2 {
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: .95; text-transform: uppercase; letter-spacing: -.035em;
  margin: 0 0 10px; color: var(--white);
}
.band-copy p { margin: 0; font-size: 16px; line-height: 1.45; color: rgba(255,255,255,.86); max-width: 34ch; }

/* ---- holi confetti rule: a coloured seam between grounds ------- */
.seam {
  height: 10px;
  background: linear-gradient(90deg,
    var(--orange) 0 20%, var(--holi-pink) 20% 40%, var(--holi-yellow) 40% 60%,
    var(--holi-cyan) 60% 80%, var(--holi-green) 80% 100%);
}



/* ---- holi accents on the existing furniture -------------------- */
.tourn.is-pink { background: var(--holi-pink); color: var(--black); }
.tourn.is-pink .when { color: rgba(0,0,0,.72); }
.tourn.is-cyan { background: var(--holi-cyan); color: var(--black); }
.tourn.is-cyan .when { color: rgba(0,0,0,.72); }

.train-list li:nth-child(5n+1) .ic { color: var(--holi-pink); }
.train-list li:nth-child(5n+2) .ic { color: var(--blue); }
.train-list li:nth-child(5n+3) .ic { color: var(--orange); }
.train-list li:nth-child(5n+4) .ic { color: #00A0C6; }
.train-list li:nth-child(5n+5) .ic { color: #2FA344; }

.tl li.is-final { background: linear-gradient(90deg, rgba(255,45,135,.16), rgba(255,201,27,.12) 55%, rgba(0,194,240,.14)); }
.tl li.is-final .time { color: var(--holi-yellow); }
.tl li.is-final .ttl { color: var(--white); }

.allday li:nth-child(4n+1) .d { color: var(--holi-pink); }
.allday li:nth-child(4n+2) .d { color: var(--holi-yellow); }
.allday li:nth-child(4n+3) .d { color: var(--holi-cyan); }
.allday li:nth-child(4n+4) .d { color: var(--holi-green); }

.zones li:nth-child(7n+1) .n { background: var(--holi-pink); color: var(--black); }
.zones li:nth-child(7n+2) .n { background: var(--orange); color: var(--black); }
.zones li:nth-child(7n+3) .n { background: var(--holi-cyan); color: var(--black); }
.zones li:nth-child(7n+4) .n { background: var(--holi-green); color: var(--black); }
.zones li:nth-child(7n+5) .n { background: var(--holi-yellow); color: var(--black); }
.zones li:nth-child(7n+6) .n { background: var(--blue); }
.zones li:nth-child(7n+7) .n { background: var(--white); color: var(--black); }

.steps li:nth-child(1) .n { background: var(--orange); }
.steps li:nth-child(2) .n { background: var(--holi-pink); color: var(--black); }
.steps li:nth-child(3) .n { background: var(--holi-cyan); }

.bento .b.solid-pink { background: var(--holi-pink); border-color: var(--holi-pink); color: var(--black); }
.bento .b.solid-pink p { color: rgba(0,0,0,.74); }
.bento .b.solid-pink .ic { color: var(--black); }

/* photo inside a bento card */
.bento .b.has-photo { padding: 0; min-height: 210px; justify-content: flex-end; position: relative; border: 0; }
.bento .b.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento .b.has-photo .txt {
  position: relative; z-index: 1; padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.05));
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.bento .b.has-photo h3 { margin: 0 0 4px; }

/* ---- sparkle on the primary action ----------------------------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.55) 50%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn-primary.is-alive::after { animation: sheen 2.8s var(--ease-out) infinite; }
@keyframes sheen {
  0%   { transform: translateX(-120%); }
  55%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* ---- the finale block earns fireworks -------------------------- */
.finale-burst { position: relative; }

/* ---- closing band: the page ends on a face, not a logo grid ---- */
.closer { position: relative; background: var(--black); padding: 0; overflow: hidden; }
.closer-media { position: relative; }
.closer-media img { width: 100%; height: clamp(360px, 92vw, 620px); object-fit: cover; object-position: 50% 38%; display: block; }
.closer-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 34%, rgba(0,0,0,.94) 100%);
}
.closer-copy { position: absolute; inset: auto 0 0 0; padding: var(--pad); z-index: 1; }
.closer-copy h2 {
  font-size: clamp(2.1rem, 10vw, 4rem); line-height: .94;
  text-transform: uppercase; letter-spacing: -.035em; margin: 0 0 12px; color: var(--white);
}
.closer-copy p { margin: 0 0 20px; font-size: 16px; line-height: 1.45; color: rgba(255,255,255,.88); max-width: 30ch; }
.closer-copy .btn { width: 100%; }

/* the footer's live link earns a colour */
.foot a.line[href*="instagram"] { color: var(--holi-pink); }
.foot a.line[href*="instagram"]:hover { color: var(--holi-yellow); }

/* ============================================================
   HOLI BURSTS — photographed powder, screen-blended so the
   black plate drops out and only pigment reaches the page.
   ============================================================ */
.bursts {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.burst {
  position: absolute;
  display: block;              /* a span is inline; without this, width is ignored */
  width: var(--bw, 62%);
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0;
  transform: scale(.35) rotate(var(--rot, 0deg));
  will-change: transform, opacity;
}
.bursts.is-lit .burst {
  animation: bloom var(--dur, 5.6s) cubic-bezier(.12,.72,.24,1) var(--delay, 0s) infinite;
}
@keyframes bloom {
  0%   { opacity: 0;   transform: scale(.28) rotate(var(--rot, 0deg)); }
  7%   { opacity: 1; }
  38%  { opacity: .92; transform: scale(1.04) rotate(calc(var(--rot, 0deg) + 7deg)); }
  72%  { opacity: .38; transform: scale(1.34) rotate(calc(var(--rot, 0deg) + 13deg)); }
  100% { opacity: 0;   transform: scale(1.62) rotate(calc(var(--rot, 0deg) + 18deg)); }
}

.burst.b1 { --bw: 118%; --rot: 0deg;   --delay: -0.2s; --dur: 6s; top: -18%; left: -34%;  background-image: url('../assets/joy/opt/burst-magenta.jpg'); }
.burst.b2 { --bw: 104%; --rot: 40deg;  --delay: -1.4s; --dur: 6s; top: 18%;  right: -38%; background-image: url('../assets/joy/opt/burst-cyan.jpg'); }
.burst.b3 { --bw: 96%;  --rot: -25deg; --delay: -2.6s; --dur: 6s; bottom: -8%; left: -26%; background-image: url('../assets/joy/opt/burst-yellow.jpg'); }
.burst.b4 { --bw: 86%;  --rot: 15deg;  --delay: -3.8s; --dur: 6s; top: 40%;  left: 14%;   background-image: url('../assets/joy/opt/burst-green.jpg'); }
.burst.b5 { --bw: 100%; --rot: -12deg; --delay: -5.0s; --dur: 6s; top: -6%;  right: -22%; background-image: url('../assets/joy/opt/burst-orange.jpg'); }

@supports (background-image: image-set(url('x') type('image/webp'))) {
  .burst.b1 { background-image: image-set(url('../assets/joy/opt/burst-magenta.webp') type('image/webp'), url('../assets/joy/opt/burst-magenta.jpg') type('image/jpeg')); }
  .burst.b2 { background-image: image-set(url('../assets/joy/opt/burst-cyan.webp')    type('image/webp'), url('../assets/joy/opt/burst-cyan.jpg')    type('image/jpeg')); }
  .burst.b3 { background-image: image-set(url('../assets/joy/opt/burst-yellow.webp')  type('image/webp'), url('../assets/joy/opt/burst-yellow.jpg')  type('image/jpeg')); }
  .burst.b4 { background-image: image-set(url('../assets/joy/opt/burst-green.webp')   type('image/webp'), url('../assets/joy/opt/burst-green.jpg')   type('image/jpeg')); }
  .burst.b5 { background-image: image-set(url('../assets/joy/opt/burst-orange.webp')  type('image/webp'), url('../assets/joy/opt/burst-orange.jpg')  type('image/jpeg')); }
}

/* ---- Leya through the page: a portrait rail and inset cards ---- */
.rail {
  display: flex; gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: clamp(28px, 7vw, 44px) calc(var(--pad) * -1) 0;
  padding: 0 var(--pad) 12px;
  list-style: none;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail li { flex: 0 0 auto; scroll-snap-align: center; position: relative; }
.rail figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; }
.rail img { display: block; height: clamp(280px, 68vw, 400px); width: auto; object-fit: cover; }
.rail figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 14px 16px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,.88), transparent);
}

/* a photo sitting inside a light section, framed like a print */
.inset {
  position: relative;
  margin: clamp(28px, 7vw, 46px) 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.inset img { display: block; width: 100%; height: clamp(260px, 62vw, 420px); object-fit: cover; }
.inset figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 18px;
  font-size: 16px; font-weight: 500; color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,.9), transparent);
}

/* ============================================================
   BREAKPOINTS
   ============================================================ */
@media (min-width: 600px) {
  .tourn-grid { gap: 14px; }
  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .bento { gap: 14px; }
  .zones { columns: 2; column-gap: 34px; }
  .zones li { break-inside: avoid; }
}

@media (min-width: 900px) {
  body { font-size: 18px; }
  .btn-block { display: inline-flex; width: auto; }
  .hero-inner > * { max-width: 760px; }
  .hero-blob { top: 26%; left: 46%; right: auto; width: min(30vw, 400px); }
  .hero-art img { height: clamp(300px, 30vw, 420px); }
  .band-media img { height: clamp(420px, 42vw, 640px); }
  .band-copy { padding: calc(var(--pad) * 1.4); }
  .band-copy p { font-size: 18px; }
  .rail img { height: clamp(340px, 26vw, 440px); }
  .inset img { height: clamp(340px, 30vw, 500px); }
  .closer-media img { height: clamp(420px, 44vw, 660px); }
  .closer-copy { padding: calc(var(--pad) * 1.4); }
  .closer-copy .btn { width: auto; }
  .hero-cta .note { margin-left: 4px; }
  .s-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; }
  .tourn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tourn { min-height: 250px; }
  .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento .wide { grid-column: span 2; }
  .map-wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: start; }
  .map-card { margin-bottom: 0; }
  .zones { columns: 1; }
  .tl li { grid-template-columns: 92px 1fr; }
  .hero-claim { font-size: 1.9rem; max-width: 26ch; }
  .train-list li { grid-template-columns: 34px 1fr auto; }
  .sticky-cta { width: min(calc(100% - 48px), 420px); left: auto; right: 24px; transform: translate(0, 150%); }
  .sticky-cta.is-on { transform: translate(0, 0); }
  .reg-note { width: min(calc(100% - 48px), 420px); left: auto; right: 24px; transform: translate(0, 14px); }
  .reg-note.is-on { transform: translate(0, 0); }
  .fun-list li { grid-template-columns: 32px 1fr auto; }
}
