/* Coming-soon page (interactive). It reuses the tokens and parts from hff.css.
   html.motion is set before first paint unless the visitor prefers reduced motion;
   every scroll-driven layout lives under it, so the page also reads fine without JS. */

/* ---------- 0. Loader ---------- */
.loader { display: none; }
.motion .loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  --ray-y: 42%;
  /* Fallback: if the script never runs, the loader still leaves */
  animation: loader-out .6s ease 4s forwards;
}
@keyframes loader-out { to { transform: translateY(-110%); visibility: hidden; } }
.loader__sky { position: absolute; inset: 0; }
.loader__center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader__logo { width: min(56vw, 300px); }
.motion .loader__logo, .motion .loader__tag { visibility: hidden; }   /* GSAP reveals them */
.loader__tag { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(1rem, 4vw, 1.5rem); }
.loader__tag span { color: var(--yellow); }
.loader__edition { --block: var(--green); margin: 0; font-size: clamp(1.2rem, 5vw, 2rem); rotate: -3deg; }
.motion .loader__edition { visibility: hidden; }
.loader__tag { text-align: center; padding-inline: 16px; }
.loader__burst { position: absolute; left: 50%; top: 40%; }
.confetti { position: absolute; width: 10px; height: 16px; margin: -8px 0 0 -5px; border-radius: 2px; }
.loader__tiles { position: absolute; inset: 0; z-index: 3; display: grid; pointer-events: none; }
.loader__tiles i { background: var(--ink); transform: scale(0); }
.loader__tiles i.c { background: var(--cream); }
.loader__skip {
  position: absolute; right: 20px; bottom: 20px; z-index: 4;
  appearance: none; border: 2px solid var(--cream); background: var(--ink); color: var(--cream);
  padding: .55em .85em; font: 800 .85rem var(--body); text-transform: uppercase; letter-spacing: .06em;
  cursor: pointer;
}
@keyframes pop { from { transform: scale(.6) rotate(-6deg); opacity: 0; } }

/* ---------- 1. Hero ---------- */
.hero {
  --ray-y: 46%;
  --px: 0; --py: 0;   /* pointer position from -1 to 1, set by JS */
  overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-block: 12px 64px;
  --stage-w: min(100vw, 640px, 70svh);
}
.motion .hero { height: 100svh; width: 100%; }   /* full width inside .hero-spacer, which GSAP makes display:flex */

/* Mouse-driven depth, using the independent `translate` property so it never fights GSAP transforms */
/* !important: GSAP writes an inline translate:none on any element it animates, which would kill the depth */
[data-depth] { translate: calc(var(--px) * var(--d, 0) * 1px) calc(var(--py) * var(--d, 0) * 1px) !important; }
[data-depth="6"] { --d: 6; } [data-depth="14"] { --d: 14; }
[data-depth="8"] { --d: 8; }  [data-depth="10"] { --d: 10; } [data-depth="12"] { --d: 12; }
[data-depth="16"] { --d: 16; } [data-depth="18"] { --d: 18; } [data-depth="22"] { --d: 22; }
[data-depth="26"] { --d: 26; } [data-depth="28"] { --d: 28; } [data-depth="30"] { --d: 30; } [data-depth="34"] { --d: 34; }

.stage {
  position: relative; z-index: 1;
  width: var(--stage-w);
  display: flex; flex-direction: column; align-items: center;
}

.logo-wrap { margin: 0; width: 34%; position: relative; z-index: 3; perspective: 700px; }
.logo {
  width: 100%; height: auto;
  transform: rotateX(calc(var(--py) * -10deg)) rotateY(calc(var(--px) * 14deg));
  transition: transform .2s ease-out, scale .25s cubic-bezier(.3, 1.6, .5, 1);
}
.logo-wrap:hover .logo { scale: 1.07; }

/* Bunting: a flag string from each top corner to the logo; the flags themselves are drawn by JS */
.bunting {
  position: absolute; top: 0; z-index: 1; pointer-events: none; overflow: visible;
  width: calc(50% - var(--stage-w) * .06); height: clamp(90px, 18vh, 170px);   /* the rope ends behind the logo, so it reads as tied to it */
}
.bunting--l { left: 0; }
.bunting--r { right: 0; scale: -1 1; }
.bunting__string { fill: none; stroke: var(--ink); stroke-width: 3; }
.bunting__flag { stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; transform-box: fill-box; transform-origin: 50% 0; }
.motion .bunting__flag { animation: flutter 2.4s ease-in-out infinite; }
@keyframes flutter { 50% { transform: rotate(7deg) scaleY(.92); } }

/* Concert spotlights sweeping behind the stage */
.beam {
  --bw: clamp(160px, 20vw, 340px);
  position: absolute; bottom: 9%; z-index: 0; pointer-events: none;
  width: var(--bw); height: 130vh;
  transform-origin: 50% 100%;
  clip-path: polygon(47% 100%, 53% 100%, 100% 0, 0 0);
  background: linear-gradient(to top, rgb(255 249 225 / .5), rgb(255 249 225 / 0) 80%);
  rotate: -18deg;
}
.beam--l { left: calc(11% - var(--bw) / 2); }
.beam--r { left: calc(89% - var(--bw) / 2); rotate: 18deg; }
.motion .beam { animation: sweep 5s ease-in-out infinite alternate; }
.motion .beam--r { animation-direction: alternate-reverse; }
@keyframes sweep { from { rotate: -30deg; } to { rotate: 24deg; } }


.spark { position: absolute; color: var(--cream); z-index: 2; line-height: 1; }
.spark--1 { top: 4%; left: 30%; font-size: clamp(16px, 3vw, 26px); }
.spark--2 { top: 9%; right: 27%; font-size: clamp(12px, 2.2vw, 20px); color: var(--yellow); }
.spark--3 { top: 30%; left: 10%; font-size: clamp(14px, 2.6vw, 22px); }
.motion .spark { animation: twinkle 1.8s ease-in-out infinite; }
.motion .spark--2 { animation-delay: .6s; } .motion .spark--3 { animation-delay: 1.1s; }
@keyframes twinkle { 50% { opacity: .3; scale: .7; } }

.arch {
  position: relative; z-index: 2;
  width: 68%; max-width: 100%;
  aspect-ratio: 400 / 500;
  margin-top: -5%;
}
.arch__keys { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arch__inner {
  position: absolute; left: 15%; right: 15%; top: 12%; bottom: 0;
  border-radius: 50% 50% 0 0 / 31.8% 31.8% 0 0;
  background: repeating-conic-gradient(from 0deg at 50% 48%, var(--yellow-ray) 0 9deg, var(--yellow) 9deg 18deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4%; padding-bottom: 10%;
  overflow: hidden;
}
/* Hungrito wordmark that appears in the arch once the props fly off */
.arch__brand { position: absolute; top: 6%; left: 23%; width: 54%; height: auto; visibility: hidden; }
.arch__nine {
  margin: 0; color: var(--red);
  font-size: calc(var(--stage-w) * .25);
  -webkit-text-stroke: 3px var(--cream); paint-order: stroke fill;
  text-shadow: 2px 2px 0 var(--ink), 4px 4px 0 var(--ink), 6px 6px 0 var(--ink), 8px 8px 0 var(--ink);
}
.arch__edition { --block: var(--purple); margin: 0; font-size: calc(var(--stage-w) * .042); }

.chilli { position: absolute; top: 47%; width: 30%; z-index: 3; }
.chilli--l { left: -27%; rotate: -6deg; }
.chilli--r { right: -27%; rotate: 6deg; }
@media (max-width: 700px) {   /* the stage is the full screen width here, so keep the chillies on screen */
  .chilli { width: 22%; top: 44%; }
  .chilli--l { left: -5%; } .chilli--r { right: -5%; }
}

/* Name block keeps a clear gap from the speakers (each is 22% of the stage), as on the posters */
.name {
  position: relative; z-index: 4;
  margin: -7% 0 calc(var(--stage-w) * .09);
  white-space: nowrap;
  font-size: calc(var(--stage-w) * .058);
}

.speaker { position: absolute; bottom: -2px; width: 22%; z-index: 3; }
.speaker img { width: 100%; transform-origin: 50% 100%; }
.speaker--l { left: 0; }
.speaker--r { right: 0; }
.motion .speaker img { animation: thump .55s ease-in-out infinite; }
.motion .speaker--r img { animation-delay: .27s; }
@keyframes thump { 50% { transform: scale(1.05, .97); } }

/* Stage set from the exhibitor deck cover: checker floor, rainbows, signposts, tags, date and venue */
.hero__floor { position: absolute; inset: auto 0 0; height: 34%; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__floor .floor {
  --floor: color-mix(in srgb, var(--purple) 82%, var(--ink));
  height: 100%; z-index: 0;
  border-top: 8px solid var(--ink);
}

.post {
  position: absolute; bottom: 5%; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding-bottom: 12vh;
  filter: drop-shadow(3px 4px 0 var(--ink));
}
.post::before {   /* the pole */
  content: ""; position: absolute; z-index: -1; top: -10px; bottom: 0; left: 50%; translate: -50% 0;
  width: 9px; border-radius: 5px; background: var(--ink);
}
.post--l { left: clamp(10px, 2.4vw, 44px); }
.post--r { right: clamp(10px, 2.4vw, 44px); }
.post__board {
  background: var(--board); color: var(--board-ink, var(--cream)); border: 0; cursor: var(--hot);
  font-family: var(--display); text-transform: uppercase; line-height: 1;
  font-size: clamp(.85rem, 1.3vw, 1.25rem);
  padding: .4em 1.3em .3em; min-width: 6.6em; text-align: center;
  transition: transform .3s, scale .15s;
}
.post__board:hover, .post__board:focus-visible { scale: 1.08; }
.post__board:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }
.post__board--r { clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%); rotate: -3deg; padding-right: 1.6em; }
.post__board--l { clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 0 50%); rotate: 4deg; padding-left: 1.6em; }
.post:hover .post__board { animation: swing .7s ease-in-out; }
.post:hover .post__board:nth-child(2) { animation-delay: .08s; }
.post:hover .post__board:nth-child(3) { animation-delay: .16s; }
@keyframes swing { 30% { transform: rotate(9deg); } 65% { transform: rotate(-6deg); } }

/* Dark blue keeps date/venue apart from the red speakers and the green name block */
.info {
  --block: var(--navy);
  position: relative; z-index: 5;
  margin: 10px 0 0; line-height: 1.2;
  font-size: clamp(1rem, 1.45vw, 1.4rem);
}

/* Wide screens: the blocks sit on the floor either side of the stage, clear of the speakers */
@media (min-width: 1280px) {
  .motion .info { position: absolute; bottom: 14%; margin: 0; }
  .motion .info--l { right: calc(50% + var(--stage-w) / 2 + 3vw); text-align: right; }
  .motion .info--r { left: calc(50% + var(--stage-w) / 2 + 3vw); }
}
@media (max-width: 1279px) {
  .post { display: none; }
  .hero__floor { height: 24%; }
  .info { font-size: clamp(.8rem, 3.4vw, 1.1rem); text-align: center; }
  .info br { display: none; }
}

.scroll-hint { display: none; }
.motion .scroll-hint {
  --block: var(--red);
  display: inline-flex; align-items: center; gap: .4em;
  position: absolute; z-index: 6; bottom: 18px; right: max(18px, env(safe-area-inset-right, 0px));
  font-size: clamp(.95rem, 2.6vw, 1.2rem);
}
.scroll-hint__arrow { display: inline-block; animation: nudge 1s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }
/* centred: the right edge belongs to the signpost on wide screens */
.motion .scroll-hint { right: auto; left: 50%; translate: -50% 0; bottom: 10px; }

/* Flying out of the arch during the zoom */
.warp { display: none; }
.motion .warp { display: block; position: absolute; inset: 0; z-index: 7; overflow: hidden; pointer-events: none; }
.warp > * { position: absolute; left: 50%; top: 54%; visibility: hidden; line-height: 1; }
.warp .warp__word { --block: var(--red); font-size: clamp(1.2rem, 3vw, 2.4rem); white-space: nowrap; }
.warp .warp__star { font-size: clamp(2rem, 5vw, 4rem); }
.warp img { width: clamp(80px, 10vw, 150px); }

/* End of the zoom: a full-bleed yellow welcome card */
.welcome { display: none; }
.motion .welcome {
  position: absolute; inset: 0; z-index: 8;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 18px);
  text-align: center;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: repeating-conic-gradient(from 0deg at 50% 50%, var(--yellow-ray) 0 7deg, var(--yellow) 7deg 14deg);
  color: var(--ink);
  visibility: hidden; opacity: 0;
}
.welcome .line { display: inline-block; }
.welcome p { margin: 0; }
.welcome__kicker { --block: var(--purple); font-size: clamp(1.1rem, 4vw, 2rem); }
.welcome__big {
  color: var(--red);
  font-size: clamp(4.2rem, 19vw, 13rem);
  -webkit-text-stroke: 3px var(--cream); paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--ink), 6px 6px 0 var(--ink), 9px 9px 0 var(--ink);
}
.welcome__sub { font-family: var(--display); text-transform: uppercase; font-size: clamp(1rem, 3.6vw, 1.7rem); max-width: 26ch; }

/* ---------- 2. Ticker tapes ---------- */
.ticker {
  position: relative; z-index: 2;
  background: var(--yellow);
  padding-block: clamp(34px, 7vw, 70px);
  overflow: hidden;
}
.tape {
  border-block: 4px solid var(--ink);
  overflow: hidden; white-space: nowrap;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.6rem, 6vw, 3.4rem); line-height: 1;
  padding-block: .32em .24em;
  margin-inline: -4vw;
}
.tape--a { background: var(--red); color: var(--cream); rotate: -3deg; box-shadow: 0 var(--drop) 0 var(--ink); }
.tape--b { background: var(--purple); color: var(--cream); rotate: 2.4deg; margin-top: clamp(-10px, -1vw, -4px); }
.tape__track { display: inline-flex; gap: .55em; align-items: center; will-change: transform; }
.tape b { color: var(--yellow); font-family: var(--body); font-size: .6em; }
.tape--b b { color: var(--green); }

/* ---------- 3. Zones ---------- */
.zones { position: relative; overflow: hidden; }
.zones__track { display: flex; flex-direction: column; }
.motion .zones__track { flex-direction: row; width: max-content; }
.zone {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center;
  gap: 24px;
  padding-block: 64px;
  padding-left: max(24px, env(safe-area-inset-left, 0px), 6vw);
  padding-right: max(24px, env(safe-area-inset-right, 0px), 6vw);
  --ray-y: 50%;
}
.motion .zone { width: var(--vw, 100vw); height: 100svh; } /* --vw = viewport minus scrollbar, set by JS */
.zone__ghost {
  position: absolute; left: 50%; bottom: -6%; margin: 0; z-index: -1;
  translate: -50% 0;
  font-family: var(--display); text-transform: uppercase; line-height: .8; white-space: nowrap;
  font-size: clamp(9rem, 38vw, 34rem);
  color: transparent; -webkit-text-stroke: 3px color-mix(in srgb, var(--cream) 30%, transparent);
  pointer-events: none;
}
.zone__text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(10px, 2vw, 18px); min-width: 0; }
.zone__num {
  margin: 0; color: var(--yellow);
  font-size: clamp(5.5rem, 20vw, 15rem);
  font-variant-numeric: tabular-nums;
  text-shadow: 3px 3px 0 var(--ink), 6px 6px 0 var(--ink), 9px 9px 0 var(--ink), 12px 12px 0 var(--ink);
  white-space: nowrap;
}
.zone__label { margin: 0; font-size: clamp(1.4rem, 4.6vw, 2.8rem); font-weight: 400; }
.zone__copy { margin: 0; max-width: 34ch; font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.35rem); } /* >=19px bold = WCAG large text, so cream on green/blue (3.2:1+) passes */

.sign { position: relative; padding-left: 10px; }
.sign::before { /* the post */
  content: ""; position: absolute; left: 0; top: -14px; bottom: -40px; width: 10px;
  background: var(--ink); border-radius: 2px;
}
.sign__board {
  display: inline-block;
  background: var(--yellow); color: var(--ink);
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.1rem, 3.2vw, 1.8rem);
  padding: .3em 1.4em .22em .6em;
  clip-path: polygon(0 0, 84% 0, 100% 50%, 84% 100%, 0 100%);
  filter: drop-shadow(4px 4px 0 var(--ink));
}

.zone__props { position: relative; height: min(70svh, 520px); min-width: 0; }
.prop { position: absolute; }
.prop > img { width: 100%; height: auto; }
.prop--chilli-a { width: 46%; left: 6%; top: 8%; rotate: -16deg; }
.prop--chilli-b { width: 46%; right: 4%; top: 22%; rotate: 18deg; }
.prop--spk { width: 58%; left: 20%; top: 18%; }
.prop--spk img { width: 100%; transform-origin: 50% 100%; }
.motion .prop--spk img { animation: thump .5s ease-in-out infinite; }
.prop--bottle { width: 40%; right: 0; top: 0; rotate: 20deg; }
.prop--cloud-a { width: 90%; left: 4%; top: 30%; }
.prop--cloud-b { width: 50%; right: 0; top: 4%; }
.prop--tag { left: 26%; top: 56%; }
.prop--tag .block { --block: var(--red); font-size: clamp(1.6rem, 5vw, 3rem); rotate: -10deg; }
.prop--logo { width: 82%; left: 9%; top: 10%; }
.motion .prop--logo .prop__idle { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -14px; rotate: 4deg; } }

@media (max-width: 760px) {
  .zone { grid-template-columns: 1fr; align-content: center; gap: 8px; padding-block: 48px 24px; }
  .zone__props { height: min(34svh, 300px); width: min(100%, 340px); justify-self: center; }
}

/* ---------- 4. Playable piano ---------- */
.play {
  --sky: var(--navy); --ray-y: 30%;
  position: relative; overflow: hidden;
  text-align: center;
  padding-block: clamp(56px, 10vw, 100px);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.play__title { margin: 0; color: var(--yellow); font-size: clamp(2.6rem, 10vw, 5.4rem); }
.play__hint { margin: 12px auto 0; font-weight: 700; }
.play__hint kbd {
  font: 800 .85em var(--body); background: var(--cream); color: var(--ink);
  border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); padding: 0 .4em;
}
.play__deck {
  margin: clamp(28px, 5vw, 44px) auto 0;
  max-width: 980px;
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(6px, 2vw, 22px);
}
.play__spk { width: clamp(54px, 13vw, 150px); flex: none; }
.play__spk img { width: 100%; transform-origin: 50% 100%; transition: transform .08s; }
.play__spk.is-boom img { transform: scale(1.12, .92); }
@media (max-width: 520px) { .play__spk { display: none; } }

.piano {
  position: relative; flex: 1 1 auto; max-width: 820px;
  display: flex;
  height: clamp(150px, 30vw, 270px);
  border: 4px solid var(--ink);
  box-shadow: var(--drop) var(--drop) 0 var(--ink);
  background: var(--ink);
  touch-action: manipulation;
  user-select: none; -webkit-user-select: none;
}
.key {
  appearance: none; border: 0; margin: 0; padding: 0 0 10px; cursor: var(--hot);
  font: 800 clamp(.6rem, 1.6vw, .8rem) var(--body); text-transform: uppercase; color: color-mix(in srgb, var(--ink) 45%, transparent);
  display: flex; align-items: flex-end; justify-content: center;
}
.key--w {
  flex: 1 1 0; min-width: 0;
  background: var(--cream);
  border-right: 2px solid var(--ink);
  transition: background .08s, transform .08s;
  transform-origin: 50% 0;
}
.key--w:last-of-type { border-right: 0; }
.key--b {
  position: absolute; top: 0; z-index: 2;
  width: calc(100% / var(--whites) * .62); height: 60%;
  translate: -50% 0;
  background: var(--ink); color: color-mix(in srgb, var(--cream) 45%, transparent);
  border-radius: 0 0 4px 4px;
  transition: background .08s;
}
.key.is-down.key--w { background: var(--yellow); transform: scaleY(.97); }
.key.is-down.key--b { background: var(--red); }
.play__burst { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.play__burst img { position: absolute; width: clamp(44px, 7vw, 80px); }

/* ---------- 5. Countdown ---------- */
.countdown {
  --sky: var(--navy); --floor: var(--purple); --ray-y: 0%;
  overflow: hidden; text-align: center;
  padding-block: clamp(48px, 9vw, 88px) clamp(110px, 20vw, 190px);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.countdown__title { margin: 0 0 clamp(22px, 5vw, 36px); color: var(--yellow); font-size: clamp(2.2rem, 9vw, 4.4rem); }
.countdown__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2.4vw, 20px);
  max-width: 620px; margin-inline: auto;
}
.tile {
  background: var(--cream); color: var(--ink);
  border: 4px solid var(--ink);
  box-shadow: var(--drop) var(--drop) 0 var(--ink);
  padding: clamp(10px, 2.6vw, 18px) 4px clamp(8px, 2vw, 14px);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.tile__win { display: block; overflow: hidden; }
.tile__num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.1rem, 10vw, 4.6rem); line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.tile__label { font-weight: 800; font-size: clamp(.62rem, 2.4vw, .85rem); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.countdown__when {
  margin: clamp(22px, 5vw, 34px) auto 0;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.05rem, 3.8vw, 1.6rem);
  display: inline-block; background: var(--navy);
  border: var(--edge) solid var(--cream); box-shadow: var(--drop) var(--drop) 0 var(--ink);
  padding: .4em .9em .3em;
}

/* ---------- 6. Lineup teaser ---------- */
.teaser {
  --sky: var(--red); --block: var(--navy); --ray-y: 20%;
  text-align: center;
  padding-block: clamp(56px, 10vw, 100px);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.teaser__title { margin: 0; color: var(--yellow); font-size: clamp(2.4rem, 10vw, 4.8rem); }
.teaser__lede { max-width: 44ch; margin: 14px auto 0; font-size: clamp(1rem, 2.8vw, 1.15rem); font-weight: 700; }
.teaser__row {
  list-style: none; padding: 0;
  margin: clamp(30px, 6vw, 48px) auto 0;
  display: flex; justify-content: center; gap: clamp(12px, 4vw, 36px);
}
.mini {
  appearance: none; background: none; border: 0; padding: 0; cursor: var(--hot); color: inherit;
  position: relative;
  display: flex; flex-direction: column; align-items: center; width: clamp(88px, 24vw, 170px);
}
.mini__arch {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  background: repeating-conic-gradient(from 0deg at 50% 60%, var(--yellow-ray) 0 10deg, var(--yellow) 10deg 20deg);
  border: clamp(6px, 1.6vw, 10px) solid var(--cream);
  box-shadow: 0 0 0 3px var(--ink), inset 0 0 0 3px var(--ink), var(--drop) var(--drop) 0 3px var(--ink);
  overflow: hidden;
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.mini:hover .mini__arch { transform: translateY(-6px) rotate(-2deg); }
.mini__who {
  position: absolute; left: 50%; bottom: 0; width: 70%; height: 80%; transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 24%, var(--ink) 0 18%, transparent 18.5%),
    radial-gradient(ellipse 50% 42% at 50% 100%, var(--ink) 0 99%, transparent 100%);
}
.mini__tag { margin-top: -14px; position: relative; font-size: clamp(1.1rem, 3.6vw, 1.6rem); }
.mini__bubble {
  position: absolute; top: -14px; left: 50%; translate: -50% -100%;
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--display); text-transform: uppercase; white-space: nowrap;
  font-size: clamp(.8rem, 2.4vw, 1.05rem);
  padding: .35em .7em .25em;
  opacity: 0; scale: .6; transition: opacity .15s, scale .2s cubic-bezier(.3, 1.6, .5, 1);
  pointer-events: none;
}
.mini.is-told .mini__bubble { opacity: 1; scale: 1; }
.mini.is-told .mini__arch { animation: shake .4s; }
@keyframes shake { 25% { transform: rotate(-6deg); } 50% { transform: rotate(5deg); } 75% { transform: rotate(-3deg); } }

/* ---------- 7. Sticker wall and calls to action ---------- */
.join {
  --sky: var(--purple); --ray-y: 50%;
  position: relative; overflow: hidden;
  min-height: min(100svh, 820px);
  display: grid; place-items: center;
  padding-block: clamp(80px, 14vw, 140px);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.stickers { position: absolute; inset: 0; z-index: 1; }
.stk {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto;
  rotate: var(--r);
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  filter: drop-shadow(4px 5px 0 rgb(40 39 36 / .35));
  transition: scale .15s;
}
.stk:hover { scale: 1.06; }
.stk.is-drag { cursor: grabbing; scale: 1.12; z-index: 9; filter: drop-shadow(8px 12px 0 rgb(40 39 36 / .35)); }
.join__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  pointer-events: none;
}
.join__content a, .join__content .legacy { pointer-events: auto; }
.join__title { margin: 0; color: var(--yellow); font-size: clamp(2.8rem, 12vw, 6.4rem); }
.join__hint { margin: 0; font-weight: 700; }
.cta__btn {
  --block: var(--yellow);
  color: var(--ink); text-decoration: none;
  font-size: clamp(1.3rem, 5vw, 2rem);
  border-color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta__btn:hover { transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: calc(var(--drop) + 3px) calc(var(--drop) + 3px) 0 var(--ink); }
.cta__tickets {
  margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(1rem, 3.4vw, 1.35rem);
}
.cta__tickets img { height: clamp(26px, 6vw, 34px); width: auto; }
.legacy {
  margin-top: 8px;
  background: var(--cream); color: var(--ink);
  border: 4px solid var(--ink); box-shadow: var(--drop) var(--drop) 0 var(--ink);
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; text-align: left;
}
.legacy img { width: clamp(80px, 18vw, 110px); height: auto; flex: none; }
.legacy p { margin: 0; font-weight: 700; min-width: 0; }

/* ---------- Footer ---------- */
footer { background: var(--ink); }
.legal { margin: 0; padding: 12px 16px; text-align: center; font-size: .8rem; color: color-mix(in srgb, var(--cream) 70%, transparent); }

/* ---------- Cursor sparkle trail (fine pointers only) ---------- */
.trail {
  position: fixed; z-index: 90; pointer-events: none;
  font: 700 18px/1 var(--body);
  translate: -50% -50%;
  animation: trail .8s ease-out forwards;
}
@keyframes trail { to { opacity: 0; transform: translateY(26px) rotate(120deg) scale(.3); } }


/* Custom cursor: a chunky yellow arrow with a hard ink shadow; red over anything clickable */
:root { --hot: pointer; }
@media (pointer: fine) {
  :root {
    --hot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cpath d='M6 4v21l6-5.5 4 8.5 4-2-4-8h8z' fill='%23282724' transform='translate(3 3)'/%3E%3Cpath d='M6 4v21l6-5.5 4 8.5 4-2-4-8h8z' fill='%23db234f' stroke='%23fff9e1' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 6 4, pointer;
  }
  html { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cpath d='M6 4v21l6-5.5 4 8.5 4-2-4-8h8z' fill='%23282724' transform='translate(3 3)'/%3E%3Cpath d='M6 4v21l6-5.5 4 8.5 4-2-4-8h8z' fill='%23f9c41c' stroke='%23282724' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 6 4, auto; }
  a, button, [role="button"] { cursor: var(--hot); }
}

/* ---------- 7. Be part of it: ticket-stub passes ---------- */
.involve {
  --sky: var(--navy); --ray-y: 30%;
  padding: clamp(70px, 11vw, 120px) max(16px, env(safe-area-inset-right, 0px)) clamp(70px, 11vw, 120px) max(16px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 5vw, 48px);
  overflow: hidden;
}
.involve__title { margin: 0; color: var(--yellow); font-size: clamp(2.4rem, 9vw, 5rem); text-align: center; }
.passes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); width: min(1180px, 100%);
  filter: drop-shadow(8px 8px 0 var(--ink)); }   /* on the parent: a mask on .pass would clip its own shadow */
.pass {
  position: relative;
  background: var(--pass); color: var(--cream);
  border: 4px solid var(--cream);
  padding: 26px 24px 28px;
  display: flex; flex-direction: column; gap: 10px;
  /* ticket notches on both sides */
  -webkit-mask: radial-gradient(circle 16px at 0 calc(100% - 76px), transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 16px at 100% calc(100% - 76px), transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 16px at 0 calc(100% - 76px), transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 16px at 100% calc(100% - 76px), transparent 98%, #000) right / 51% 100% no-repeat;
  transition: translate .2s, rotate .2s;
}
.pass:nth-child(1) { rotate: -2deg; } .pass:nth-child(2) { rotate: 1.5deg; } .pass:nth-child(3) { rotate: -1deg; }
.pass:hover { translate: 0 -8px; rotate: 0deg; }
.pass::after {   /* perforation line between the stub and the body */
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 76px;   /* stub height is fixed, so copy length never hits it */
  border-top: 3px dashed color-mix(in srgb, var(--cream) 60%, transparent);
}
.pass__kicker { margin: 0; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.pass__name { margin: 0; font-family: var(--display); text-transform: uppercase; line-height: 1; font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-shadow: 2px 2px 0 var(--ink), 3px 3px 0 var(--ink); }
.pass__copy { margin: 0 0 auto; font-weight: 600; line-height: 1.45; }
.pass__btn { --block: var(--yellow); align-self: flex-start; color: var(--ink); border-color: var(--ink); text-decoration: none; font-size: 1.05rem; margin-top: 40px; transition: scale .15s; }
.pass__btn:hover { scale: 1.06; }
@media (max-width: 900px) {
  .passes { grid-template-columns: 1fr; max-width: 460px; }
}

/* ---------- 8. Find us ---------- */
.findus {
  --sky: var(--navy); --ray-y: 50%;
  padding: clamp(70px, 11vw, 120px) max(16px, env(safe-area-inset-right, 0px)) clamp(70px, 11vw, 120px) max(16px, env(safe-area-inset-left, 0px));
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 5vw, 64px);
  overflow: hidden;
}
.findus__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-self: end; max-width: 480px; }
.findus__title { margin: 0; color: var(--yellow); font-size: clamp(2.4rem, 8vw, 4.6rem); }
.findus__venue { --block: var(--red); margin: 0; font-size: clamp(1.5rem, 4vw, 2.2rem); rotate: -2deg; }
.findus__addr { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.05rem, 2.4vw, 1.4rem); }
.findus__when { margin: 0; font-weight: 800; }
.findus__when span { color: var(--yellow); }
.findus__btn { margin-top: 8px; }
.findus__map { position: relative; justify-self: start; width: min(620px, 100%); rotate: 1.5deg; }
.findus__map iframe {
  display: block; width: 100%; aspect-ratio: 4 / 3; border: 6px solid var(--cream);
  box-shadow: 10px 10px 0 var(--ink); background: var(--cream);
}
.findus__pin { position: absolute; width: clamp(80px, 12vw, 130px); top: -38px; right: -26px; rotate: 10deg; pointer-events: none; }
.findus__pin img { width: 100%; height: auto; }
@media (max-width: 800px) {
  .findus { grid-template-columns: 1fr; }
  .findus__text { justify-self: center; align-items: center; text-align: center; }
  .findus__map { justify-self: center; }
  .findus__pin { right: -8px; }
}
.legal a { color: inherit; }

/* ---------- 3b. Glimpses: photo reels from past editions ---------- */
.glimpses {
  --ray-y: 0%;
  overflow: hidden; text-align: center; color: var(--cream);
  padding-block: clamp(64px, 10vw, 110px);
}
.glimpses__title { margin: 0; padding-inline: 16px; color: var(--yellow); font-size: clamp(2.2rem, 8vw, 4.6rem); }
.glimpses__lede { max-width: 44ch; margin: 14px auto 0; padding-inline: 16px; font-weight: 700; font-size: clamp(1.05rem, 2.6vw, 1.25rem); }
.glimpses__tag { margin: clamp(36px, 6vw, 56px) 0 18px; font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 400; rotate: -2deg; }
.glimpses__also { max-width: 62ch; margin: 18px auto 0; padding-inline: 16px; font-weight: 700; line-height: 1.5; }
.glimpses__also span { color: var(--yellow); text-transform: uppercase; }
.reel { overflow: hidden; padding: 12px 0 30px; }
html:not(.motion) .reel { overflow-x: auto; } /* no GSAP / reduced motion: swipeable row instead of a loop */
.reel__track { display: inline-flex; gap: clamp(16px, 2.5vw, 28px); padding-inline: 12px; will-change: transform; }
.snap {
  position: relative; flex: none; margin: 0;
  width: clamp(220px, 28vw, 360px);
  background: var(--cream); padding: 8px;
  border: 3px solid var(--ink); box-shadow: var(--drop) var(--drop) 0 var(--ink);
  rotate: -2deg;
}
.snap:nth-child(even) { rotate: 1.6deg; }
.snap img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.snap figcaption { position: absolute; left: 50%; bottom: -14px; translate: -50% 0; white-space: nowrap; font-size: clamp(.85rem, 1.4vw, 1rem); }
.findus__near { margin: 0; font-weight: 700; max-width: 40ch; }
.pass__call { margin: 14px 0 0; font-weight: 700; }
.pass__call a { color: inherit; }

/* ---------- Ambient festival motion: child layers stay clear of GSAP parents ---------- */
html.motion .logo { animation: logo-float 4.8s ease-in-out infinite; }
@keyframes logo-float { 50% { translate: 0 -7px; } }

html.motion .chilli { animation: chilli-sway 3.7s ease-in-out infinite alternate; transform-origin: 50% 55%; }
html.motion .chilli--r { animation-delay: -1.4s; }
@keyframes chilli-sway { to { rotate: 3deg; } }

html.motion .post__board { animation: sign-nod 5.6s ease-in-out infinite; transform-origin: 50% 100%; }
html.motion .post__board:nth-child(2) { animation-delay: -2.1s; }
html.motion .post__board:nth-child(3) { animation-delay: -3.7s; }
@keyframes sign-nod { 0%, 82%, 100% { translate: 0 0; } 89% { translate: 0 -3px; } 94% { translate: 0 0; } }

html.motion .hero__floor .floor::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgb(255 249 225 / .16) 50%, transparent 58%);
  animation: floor-shimmer 9s ease-in-out infinite;
}
@keyframes floor-shimmer { 0%, 65%, 100% { opacity: 0; translate: -24% 0; } 78% { opacity: 1; } 92% { opacity: 0; translate: 24% 0; } }

html.motion .sign__board { animation: zone-sign-swing 4.8s ease-in-out infinite; transform-origin: 8% 100%; }
html.motion .zone:nth-child(2) .sign__board { animation-delay: -1.2s; }
html.motion .zone:nth-child(3) .sign__board { animation-delay: -2.8s; }
@keyframes zone-sign-swing { 50% { transform: rotate(2deg); } }

html.motion .prop--chilli-a .prop__idle, html.motion .prop--chilli-b .prop__idle { animation: zone-chilli 4.2s ease-in-out infinite alternate; transform-origin: 50% 50%; }
html.motion .prop--chilli-b .prop__idle { animation-delay: -2.2s; }
html.motion .prop--bottle .prop__idle { animation: bottle-sway 4.7s ease-in-out infinite alternate; transform-origin: 50% 100%; }
html.motion .prop--cloud-a .prop__idle, html.motion .prop--cloud-b .prop__idle { animation: cloud-drift 11s ease-in-out infinite alternate; }
html.motion .prop--cloud-b .prop__idle { animation-delay: -5.2s; }
html.motion .prop--tag .prop__idle { animation: sale-wobble 5.4s ease-in-out infinite; }
@keyframes zone-chilli { to { rotate: 6deg; } }
@keyframes bottle-sway { to { rotate: -4deg; } }
@keyframes cloud-drift { to { translate: 12px -5px; } }
@keyframes sale-wobble { 0%, 82%, 100% { rotate: -10deg; } 89% { rotate: -7deg; } 95% { rotate: -12deg; } }

html.motion .play__spk img { animation: thump .55s ease-in-out infinite; }
html.motion .play__spk--r img { animation-delay: -.27s; }

html.motion .tile:nth-child(odd) .tile__label { animation: tile-breathe 4s ease-in-out infinite; }
html.motion .tile:nth-child(even) .tile__label { animation: tile-breathe 4s ease-in-out -2s infinite; }
@keyframes tile-breathe { 50% { opacity: .58; } }

html.motion .cta__btn { animation: cta-nudge 7s ease-in-out infinite; }
html.motion .pass:nth-child(2) .pass__btn, html.motion .findus__btn { animation-delay: -2.3s; }
html.motion .pass:nth-child(3) .pass__btn, html.motion .join .cta__btn { animation-delay: -4.6s; }
@keyframes cta-nudge { 0%, 82%, 100% { translate: 0 0; } 88% { translate: 0 -4px; } 94% { translate: 0 0; } }

html.motion .findus__pin img { animation: pin-bounce 2.8s ease-in-out infinite; }
@keyframes pin-bounce { 0%, 70%, 100% { translate: 0 0; } 82% { translate: 0 -10px; } 91% { translate: 0 -3px; } }

.aftermovie { width: min(880px, calc(100% - 32px)); margin: clamp(28px, 5vw, 44px) auto 0; }
.aftermovie__label { position: relative; z-index: 1; margin: 0 0 -12px; font-size: clamp(1rem, 2.7vw, 1.35rem); rotate: -2deg; }
.aftermovie__play, .aftermovie iframe { display: block; width: 100%; aspect-ratio: 16 / 9; }
.aftermovie__play { position: relative; overflow: hidden; padding: 0; border: 5px solid var(--cream); background: var(--ink); box-shadow: 8px 8px 0 var(--ink); cursor: var(--hot); }
.aftermovie__play img { width: 100%; height: 100%; object-fit: cover; opacity: .86; transition: scale .3s ease; }
.aftermovie__play:hover img, .aftermovie__play:focus-visible img { scale: 1.04; }
.aftermovie__playmark { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: clamp(58px, 11vw, 88px); aspect-ratio: 1; padding-left: .08em; background: var(--yellow); color: var(--ink); border: 4px solid var(--cream); box-shadow: 5px 5px 0 var(--ink); font-size: clamp(1.5rem, 4vw, 2.3rem); }
.aftermovie__title { position: absolute; left: 0; right: 0; bottom: 0; padding: .65em 1em .55em; background: var(--red); color: var(--cream); border-top: 3px solid var(--ink); font: 400 clamp(.9rem, 2.4vw, 1.2rem)/1 var(--display); text-transform: uppercase; }
.aftermovie iframe { border: 5px solid var(--cream); box-shadow: 8px 8px 0 var(--ink); background: var(--ink); }

html.motion .ambient.is-idle-paused .logo,
html.motion .ambient.is-idle-paused .chilli,
html.motion .ambient.is-idle-paused .speaker img,
html.motion .ambient.is-idle-paused .post__board,
html.motion .ambient.is-idle-paused .hero__floor .floor::after,
html.motion .ambient.is-idle-paused .sign__board,
html.motion .ambient.is-idle-paused .prop__idle,
html.motion .ambient.is-idle-paused .prop--spk img,
html.motion .ambient.is-idle-paused .play__spk img,
html.motion .ambient.is-idle-paused .tile__label,
html.motion .ambient.is-idle-paused .cta__btn,
html.motion .ambient.is-idle-paused .findus__pin img { animation-play-state: paused; }
