/*
Theme Name: Every Saturday
Theme URI: https://everysaturday.in
Author: Built with Claude Code
Description: A site for Every Saturday, a Delhi-NCR creator party. The hero is one WebGL dancefloor (three.js, vendored) — DJ booth, six moving heads, an LED wall playing their real reels — pulsing on the beat, a real one when sound is on and a 128 BPM clock when it isn't. Everything below it is the party itself: the client's own photographs and reels, a 9:16 rail, a photo gallery and full-bleed bands. Passes sell through WooCommerce; the address stays redacted until you hold one.
Version: 1.22.0
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: everysaturday
*/

/* ==========================================================================
   0. FONTS (self-hosted, latin subset, both SIL Open Font License)
   Family names are LOAD-BEARING: world.js races document.fonts.load() on
   exactly these strings before drawing any canvas texture. Rename here and
   the LED wall silently draws in the fallback face.
   ========================================================================== */
@font-face{font-family:'Anton';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/anton.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/inter.woff2') format('woff2')}

/* ==========================================================================
   1. TOKENS — black room, hot pink, cyan. The pink is theirs: their real
   Instagram wordmark is a magenta script.
   ========================================================================== */
:root{
  /* IVORY. The room is still the room — the page around it is daylight now. Token NAMES are
     kept (--black is the page, --white is the ink) because they are roles, not colours, and
     renaming them would touch 150 declarations for no visual gain. The three *-rgb tokens
     below exist so the scrims, glass panels and hairlines that used to be hardcoded flip with
     the palette instead of being re-typed one by one. */
  --black:#faf7f2;               /* page */
  --black-2:#fff;                /* raised: cards, panels, the shop grid */
  --smoke:#f1ece4;               /* sunken: rails, wells */
  --white:#16121a;               /* ink */
  --pink:#ff2d78;                /* fills and big display text only — 3.3:1, large-text AA */
  --pink-hi:#ff6fa3;
  --pink-lo:#c4155a;             /* pink as SMALL text — 5.5:1 on the page */
  --cyan:#0b7285;                /* deep teal: cyan cannot carry text on ivory (1.4:1) */
  --cyan-lo:#0d9fb8;
  --uv:#6d3ff0;
  --ash:#5b5266;                 /* 6.9:1 */
  --ash-dim:#6b6375;             /* 5.4:1 — small print still has to be readable */
  --line:rgba(22,18,26,.14);
  --line-hi:rgba(255,45,120,.5);
  --ok:#1a7f4b;

  --surface-rgb:250,247,242;     /* scrims, ramps, the header fade — was 7,6,11 */
  --glass-rgb:255,255,255;       /* the frosted panels — was 16,12,23 */
  --ink-rgb:22,18,26;            /* hairlines, dots, sparks — was 255,248,251 */

  color-scheme:light;

  /* Everything below is the same in both themes and MUST stay on :root. The dark block only
     re-declares COLOUR. (These lived in the dark block for one build, which left light mode
     with no --wrap and no --pad — every section went full-bleed — and no --display, so the
     headlines fell back to a serif.) */
  --display:'Anton',Impact,'Haettenschweiler',sans-serif;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:ui-monospace,'SF Mono',Menlo,monospace;

  --r:4px;                       /* a party is not rounded */
  --ease:cubic-bezier(.2,.7,.2,1);
  --header-h:64px;               /* consumed by the §29 phone maths — keep the token */
  --pad:clamp(18px,5vw,64px);
  --wrap:1240px;

  /* Written every frame by the engine (or by motion.js when the engine is not
     running). 0..1, spikes on each beat. Anything that should pulse reads it. */
  --beat:0;
}

/* DARK — the original room. Same roles, the other way up. Set by the header toggle (which
   writes data-theme on <html> and remembers it). Dark is the default (header.php prints
   data-theme="dark" on <html>; 2026-10-11, was ivory), so a visitor who has never touched the
   switch gets the dark room whatever their OS is set to.
   --pink-lo is the pink that carries SMALL text: on ivory that has to be deeper than the
   brand pink, on black it has to be the brand pink itself. Same role, opposite direction. */
:root[data-theme="dark"]{
  --black:#07060b;
  --black-2:#100c17;
  --smoke:#1b1522;
  --white:#fff8fb;
  --pink:#ff2d78;
  --pink-hi:#ff6fa3;
  --pink-lo:#ff2d78;
  --cyan:#21e6ff;
  --cyan-lo:#0d9fb8;
  --uv:#8b5cf6;
  --ash:#9c93a8;
  --ash-dim:#635a70;
  --line:rgba(255,248,251,.14);
  --line-hi:rgba(255,45,120,.5);
  --ok:#3ddc84;

  --surface-rgb:7,6,11;
  --glass-rgb:16,12,23;
  --ink-rgb:255,248,251;

  color-scheme:dark;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--black);color:var(--white);
  font:400 16.5px/1.6 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:clip}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4{margin:0;font-family:var(--display);font-weight:400;line-height:.92;
  letter-spacing:.005em;text-transform:uppercase}
p{margin:0 0 1em}
:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-9999px;top:0;z-index:100;padding:12px 18px;background:var(--pink);color:#fff}
.skip:focus{left:8px;top:8px}
/* SECURITY, not styling: es_form_guard() emits <div class="hp"> and this rule is the only
   thing hiding the honeypot. Delete it and real humans start filling the trap. */
.hp{position:absolute;left:-9999px}

.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--pad)}
.h-xl{font-size:clamp(52px,12vw,150px)}
.h-lg{font-size:clamp(36px,7vw,88px)}
.lede{font-size:clamp(16.5px,1.5vw,20px);color:var(--ash);max-width:52ch;line-height:1.55}
.eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 18px;
  font:700 11px var(--mono);letter-spacing:.34em;text-transform:uppercase;color:var(--pink-lo)}
.hl{color:var(--pink)}
.hl--c{color:var(--cyan)}

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:52px;padding:0 30px;border:2px solid transparent;border-radius:var(--r);
  font:800 14px var(--sans);letter-spacing:.12em;text-transform:uppercase;cursor:pointer;
  transition:transform .18s var(--ease),background-color .25s,border-color .25s,color .25s}
.btn:hover{transform:translateY(-2px)}
.btn--pink{background:var(--pink);color:#fff;
  /* the glow breathes with the room */
  box-shadow:0 0 calc(18px + var(--beat) * 26px) rgba(255,45,120,calc(.35 + var(--beat) * .45))}
.btn--pink:hover{background:var(--pink-hi)}
.btn--ghost{border-color:var(--line);color:var(--white)}
.btn--ghost:hover{border-color:var(--cyan);color:var(--cyan)}
.txtlink{display:inline-flex;align-items:center;min-height:44px;color:var(--cyan);
  border-bottom:2px solid transparent;transition:border-color .25s}
.txtlink:hover{border-color:var(--cyan)}

/* ==========================================================================
   4. HEADER / FOOTER
   ========================================================================== */
.hdr{position:fixed;inset:0 0 auto;z-index:20;height:var(--header-h);
  display:flex;align-items:center;
  background:linear-gradient(180deg,rgba(var(--surface-rgb),.92),rgba(var(--surface-rgb),0))}
.hdr__in{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}
.brand{display:inline-flex;align-items:center;min-height:44px}
/* Height-driven, so the wordmark's own aspect decides the width and the nav row never reflows
   while the image decodes. It needs more height than a plain wordmark would: the lockup is a
   script overlaid on condensed caps, and below ~40px the two collapse into one smudge. */
.brand img{display:block;height:44px;width:auto}
@media (max-width:600px){.brand img{height:36px}}
.nav{display:flex;align-items:center;gap:clamp(12px,1.8vw,26px)}
.nav a:not(.btn){font:700 12px var(--sans);letter-spacing:.14em;text-transform:uppercase;
  color:var(--ash);transition:color .25s}
.nav a:not(.btn):hover{color:var(--white)}
.nav .btn{min-height:44px;padding:0 20px;font-size:12px;white-space:nowrap}
/* The cart is not a nav link — it is state, and it only exists when it is not empty, so it
   survives the cull that hides the nav on a phone. */
.cartlink{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 13px;
  border:1px solid var(--line-hi);border-radius:var(--r);white-space:nowrap;
  font:700 11px var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--white)}
.cartlink:hover{border-color:var(--pink)}
.cartlink b{display:inline-flex;align-items:center;justify-content:center;
  min-width:21px;height:21px;padding:0 6px;border-radius:999px;
  background:var(--pink);color:#fff;font:700 11px var(--mono);letter-spacing:0}
@media (max-width:900px){.nav a:not(.btn):not(.cartlink){display:none}}
/* The word goes, the glyph and the count stay — the header has no room for a fourth label. */
@media (max-width:600px){.cartlink{padding:0 10px;gap:6px}.cartlink__t{display:none}}

/* ==========================================================================
   27b. THE LIGHT SWITCH
   Icon only, and round like the sound control: the header already carries a
   wordmark, four links, the cart, sound and Get a pass, and a fifth LABELLED
   control is what pushes the pass button onto two lines at 390px.
   ========================================================================== */
.theme{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;cursor:pointer;
  border:2px solid var(--line);border-radius:999px;background:rgba(var(--surface-rgb),.6);
  color:var(--white);transition:border-color .25s,color .25s}
.theme:hover{border-color:var(--cyan);color:var(--cyan)}
.theme svg{width:19px;height:19px;display:block}
/* one button, two glyphs: you see the mode you would switch TO. */
.theme .theme__moon{display:block}
.theme .theme__sun{display:none}
:root[data-theme="dark"] .theme .theme__moon{display:none}
:root[data-theme="dark"] .theme .theme__sun{display:block}

/* The wordmark is a pink script over near-white caps, so it needs a second file rather than a
   filter — inverting it would take the pink with it. Both ship; one is hidden. */
/* img.x, not .x: `.brand img{display:block}` above is (0,1,1) and would otherwise show both. */
img.brand__mk--dark{display:none}
:root[data-theme="dark"] img.brand__mk--light{display:none}
:root[data-theme="dark"] img.brand__mk--dark{display:block}

.ftr{position:relative;z-index:2;padding:64px 0 40px;border-top:1px solid var(--line);
  background:var(--black)}
.ftr__in{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:flex-end}
.ftr small{color:var(--ash-dim);font-size:13px;line-height:1.7}
.ftr ul{display:flex;flex-wrap:wrap;gap:18px;margin:0;padding:0;list-style:none}
.ftr ul a{display:inline-flex;align-items:center;min-height:44px;color:var(--ash);
  font:700 12px var(--sans);letter-spacing:.12em;text-transform:uppercase}
.ftr ul a:hover{color:var(--pink)}

/* ==========================================================================
   26. ACTS — the scroll stages. Each <section class="act" data-shot="…"> is a
   camera position in the room. min-height:100svh is what gives measure() room
   to anchor each stage; markup owns the sequence, SHOTS owns the numbers.
   ========================================================================== */
.act{position:relative;display:flex;align-items:center;min-height:100svh;padding:120px 0}
.act__in{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--pad);width:100%;
  display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:center}
.act__copy{max-width:58ch}
.act--r .act__copy{margin-left:auto}
.act__cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}

/* The tier-3 stand-in: what the 3D shows in that act, as flat HTML. Hidden under .es-3d. */
.flat{border-radius:var(--r)}
.flat img{width:100%;border-radius:var(--r)}

.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;
  margin:0;padding:0;list-style:none}      /* correct at N=2 and at N=20, no JS */
.cards li{padding:16px 18px;border:1px solid var(--line);border-left:3px solid var(--pink);
  background:var(--black-2);font-size:14.5px}
.cards li b{font:800 15px var(--sans);letter-spacing:.01em}
.cards li small{color:var(--ash-dim)}

.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:20px;
  margin:36px 0 0;padding:0;list-style:none}
/* Each tile is its own container, so the number is sized against the column it actually sits
   in rather than against the viewport. --ch comes from es_stat(): the design size wins for a
   short number, and a long one is held to whatever fits. .47 is Anton's digit advance at 1em,
   measured, with a little margin for the comma. */
.stat{container-type:inline-size}
.stat b{display:block;font-family:var(--display);
  font-size:min(clamp(44px,6vw,76px), calc(100cqw / (var(--ch,3) * .47)));
  line-height:.9;color:var(--pink)}
.stat span{font:700 10.5px var(--mono);letter-spacing:.2em;text-transform:uppercase;color:var(--ash-dim)}

/* ==========================================================================
   27. THE COUNTDOWN — one source of truth for every tier, shown on ALL of them.
   The LED wall draws the same numbers into a canvas texture on the `wall` act;
   this copy is what crawlers, screen readers and tier 3 get, and it is the only
   one guaranteed legible over a moving room.
   ========================================================================== */
.cd{display:flex;gap:clamp(10px,2vw,22px);margin:28px 0 0;padding:0;list-style:none}
.cd li{text-align:center}
.cd b{display:block;font-family:var(--display);font-size:clamp(36px,5.5vw,64px);
  font-variant-numeric:tabular-nums;line-height:.9;color:var(--white)}
.cd span{font:700 9.5px var(--mono);letter-spacing:.22em;text-transform:uppercase;color:var(--ash-dim)}

/* ==========================================================================
   28. THE ROOM — the WebGL dancefloor under the copy (tiers 1-2)
   ========================================================================== */
#es-canvas{display:none}
.es-3d #es-canvas{position:fixed;left:0;top:0;width:100%;height:100vh;height:100lvh;
  z-index:0;display:block;pointer-events:none}
html.es-3d{scroll-behavior:auto}
.es-3d .flat{display:none}
.es-3d .act__copy{width:min(540px,45%);max-width:none}
.es-3d .act--r .act__copy{margin-left:auto}

/* Registered and NOT inherited: world.js writes it on each act every scrolled frame; an
   inherited custom property would re-style the act's whole subtree on each write. */
@property --v{syntax:'<number>';inherits:false;initial-value:1}
.es-3d .act{opacity:var(--v)}
.act:focus-within{opacity:1}             /* keyboard focus must never fade out */

/* Legibility over a lit room: a side ramp, dark where the copy is, clear where the room is. */
.es-3d .act::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(var(--surface-rgb),.95) 0%,rgba(var(--surface-rgb),.8) 32%,rgba(var(--surface-rgb),.2) 52%,rgba(var(--surface-rgb),0) 66%)}
.es-3d .act--r::before{
  background:linear-gradient(270deg,rgba(var(--surface-rgb),.95) 0%,rgba(var(--surface-rgb),.8) 32%,rgba(var(--surface-rgb),.2) 52%,rgba(var(--surface-rgb),0) 66%)}
.es-3d .act h1,.es-3d .act h2,.es-3d .act .lede,.es-3d .act .eyebrow{text-shadow:0 2px 20px rgba(var(--surface-rgb),.95)}
.es-3d .cards li,.es-3d .panel{background:rgba(var(--glass-rgb),.9);backdrop-filter:blur(6px)}
.es-3d main > section{position:relative;z-index:2}

/* ==========================================================================
   29. PHONES — FULL BLEED. The room fills the screen edge to edge and the copy
   sits on a scrim anchored to the bottom, so you are IN the party rather than
   looking at it through a letterbox.

   Media queries own the LAYOUT; the tier class owns the ENGINE — so every rule
   here is also the tier-3 layout.

   max-width:900px must stay in step with `innerWidth <= 900` in the tier
   bootstrap (functions.php), and max-height:760px pairs with shortScreen in
   world.js resize() and with the 360x640 case in test-world.mjs.
   ========================================================================== */
@media (max-width:900px){
  /* LAYOUT — every tier. */
  .act{min-height:100svh;padding:96px 0 40px;align-items:flex-end}
  .act--hero{padding-top:calc(var(--header-h) + 24px)}
  .act__copy,.act--r .act__copy{width:auto;max-width:none;margin-left:0}
  .h-xl{font-size:clamp(46px,14vw,74px)}
  .h-lg{font-size:clamp(34px,10vw,54px)}
  .lede{font-size:16px}
  .ftr ul a,.txtlink{min-height:44px}    /* tap targets */

  /* ENGINE — the scrim. Transparent over the top half so the room reads, near
     solid under the copy so the words do. Replaces the old top window band. */
  .es-3d .act__copy{width:auto}
  .es-3d .act::before,.es-3d .act--r::before{
    background:linear-gradient(180deg,
      rgba(var(--surface-rgb),0) 0%,
      rgba(var(--surface-rgb),.1) 14%,
      rgba(var(--surface-rgb),.68) 30%,
      rgba(var(--surface-rgb),.9) 48%,
      rgba(var(--surface-rgb),.96) 62%,
      rgba(var(--surface-rgb),.98) 100%)}
  /* Light mode needs the ramp to arrive SOONER. Dark text over one of these photographs is
     only legible once the ivory has actually covered it, and the eyebrow sits at ~20% — right
     in the part of the dark-mode ramp that is still nearly clear. */
  :root:not([data-theme="dark"]) .es-3d .act::before,
  :root:not([data-theme="dark"]) .es-3d .act--r::before{
    background:linear-gradient(180deg,
      rgba(var(--surface-rgb),0) 0%,
      rgba(var(--surface-rgb),.42) 11%,
      rgba(var(--surface-rgb),.88) 19%,
      rgba(var(--surface-rgb),.95) 30%,
      rgba(var(--surface-rgb),.97) 48%,
      rgba(var(--surface-rgb),.99) 100%)}
}
@media (max-width:900px) and (max-height:760px){
  .act{padding:80px 0 32px}
  .h-xl{font-size:clamp(40px,12vw,58px)}
  .lede{font-size:15px;line-height:1.5}
  .cd b{font-size:32px}
}

/* ==========================================================================
   31. REDACTION — the brand mechanic. The server decides what the client is
   sent; CSS only styles what already arrived. There is never a real address in
   the DOM, in cfg, or in a texture for someone without a pass, so blur and
   opacity tricks are not an option here.
   ========================================================================== */
.loc{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:24px 0 0;
  font:700 12px var(--mono);letter-spacing:.18em;text-transform:uppercase;color:var(--ash)}
.redact{display:inline-block;width:14ch;height:1.1em;vertical-align:-.2em;border-radius:1px;
  background:repeating-linear-gradient(90deg,var(--pink) 0 3.1ch,transparent 3.1ch 3.55ch)}
.loc__real{display:none}
.revealed .redact{display:none}
.revealed .loc__real{display:inline;color:var(--cyan);animation:unredact .65s var(--ease) both}
@keyframes unredact{
  from{clip-path:inset(0 100% 0 0);filter:blur(6px)}
  to  {clip-path:inset(0);filter:none}
}

/* ==========================================================================
   32. FORMS
   ========================================================================== */
.panel{padding:clamp(22px,3vw,34px);border:1px solid var(--line);border-top:3px solid var(--pink);
  background:var(--black-2)}
.field{display:grid;gap:7px;margin-bottom:18px}
.field label{font:700 10.5px var(--mono);letter-spacing:.2em;text-transform:uppercase;color:var(--ash)}
.field input,.field select,.field textarea{width:100%;min-height:50px;padding:12px 14px;
  border:1px solid var(--line);border-radius:var(--r);background:rgba(var(--surface-rgb),.8);color:var(--white)}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--pink);outline:none}
.field textarea{min-height:120px;resize:vertical}
.field--check{grid-template-columns:auto 1fr;align-items:start;gap:11px}
.field--check input{width:20px;min-height:20px;margin-top:3px;accent-color:var(--pink)}
.field--check label{font:400 14px var(--sans);letter-spacing:0;text-transform:none;color:var(--ash)}
.note{margin:0 0 20px;padding:13px 16px;border-radius:var(--r);font-size:14.5px}
.note--bad{background:rgba(255,45,120,.14);border:1px solid var(--line-hi)}
.note--good{background:rgba(61,220,132,.12);border:1px solid rgba(61,220,132,.45)}

/* ==========================================================================
   33. THE FLYER — the tier-3 stand-in for the room.
   Drawn in CSS, not shipped as an image: no asset pipeline, cannot 404,
   re-themes with the tokens, stays sharp at every density.
   ========================================================================== */
.flyer{position:relative;overflow:hidden;padding:clamp(26px,4vw,40px);
  border:1px solid var(--line);border-radius:var(--r);
  background:
    radial-gradient(90% 60% at 20% 0%,rgba(255,45,120,.3),transparent 60%),
    radial-gradient(80% 60% at 85% 10%,rgba(33,230,255,.22),transparent 60%),
    linear-gradient(180deg,var(--smoke),var(--black))}
/* light beams, in two gradients */
.flyer::before{content:'';position:absolute;inset:-40% -20% auto;height:160%;pointer-events:none;
  background:
    linear-gradient(103deg,transparent 46%,rgba(255,45,120,.16) 48%,transparent 51%),
    linear-gradient(77deg,transparent 54%,rgba(33,230,255,.14) 56%,transparent 59%)}
.flyer__k{position:relative;font:700 10px var(--mono);letter-spacing:.3em;
  text-transform:uppercase;color:var(--cyan)}
.flyer__t{position:relative;margin:10px 0 0;font-family:var(--display);
  font-size:clamp(34px,6vw,60px);line-height:.88;text-transform:uppercase}
.flyer__m{position:relative;margin:14px 0 0;font:700 12px var(--mono);
  letter-spacing:.16em;text-transform:uppercase;color:var(--ash)}
/* the crowd, as a row of bars */
.flyer__crowd{position:relative;display:flex;align-items:flex-end;gap:3px;height:54px;margin-top:22px}
.flyer__crowd i{flex:1;background:linear-gradient(180deg,rgba(255,45,120,.5),rgba(var(--surface-rgb),.9));
  border-radius:2px 2px 0 0}

/* ==========================================================================
   34. SOUND — WCAG 2.2 SC 1.4.2 (Level A): a control for any audio over 3s,
   VISIBLE on load and keyboard operable. It is also the gesture the browser
   requires before audio may start at all, so it is a designed feature here,
   not a fallback.
   ========================================================================== */
.sound{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 20px;
  border:2px solid var(--line);border-radius:999px;background:rgba(var(--surface-rgb),.6);cursor:pointer;
  font:800 11.5px var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--white);
  transition:border-color .25s,color .25s}
.sound:hover{border-color:var(--cyan);color:var(--cyan)}
.sound[aria-pressed="true"]{border-color:var(--pink);color:var(--pink)}
/* four bars that only move once sound is actually playing */
.sound__eq{display:flex;align-items:flex-end;gap:2px;width:16px;height:14px}
.sound__eq i{flex:1;height:22%;background:currentColor;border-radius:1px;transition:height .1s linear}
.sound[aria-pressed="true"] .sound__eq i{height:calc(22% + var(--beat) * 78%)}
.sound[aria-pressed="true"] .sound__eq i:nth-child(2){height:calc(30% + var(--beat) * 60%)}
.sound[aria-pressed="true"] .sound__eq i:nth-child(3){height:calc(26% + var(--beat) * 70%)}
.sound[aria-pressed="true"] .sound__eq i:nth-child(4){height:calc(34% + var(--beat) * 52%)}
.sound__txt::after{content:'Sound on'}
.sound[aria-pressed="true"] .sound__txt::after{content:'Sound off'}
.hdr .sound{min-height:44px;padding:0 14px;font-size:10.5px}
@media (max-width:900px){.hdr .sound .sound__txt{display:none}}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}
  html{scroll-behavior:auto}
  :root{--beat:0}
}

/* ==========================================================================
   35. SPONSOR PACKAGES — the three ways in, on /sponsors/.
   Deliberately priceless: the rate moves with the room, and the enquiry form
   asks for a budget band instead, so nothing here goes stale.
   ========================================================================== */
.packs{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:30px}
.pack{padding:24px 22px;border:1px solid var(--line);background:var(--black-2)}
.pack--hero{border-color:var(--line-hi);background:
  linear-gradient(180deg,rgba(255,45,120,.12),transparent 60%),var(--black-2)}
.pack__k{margin:0;font-family:var(--display);font-size:26px;text-transform:uppercase;line-height:1}
.pack--hero .pack__k{color:var(--pink-lo)}
.pack__p{margin:12px 0 0;font-family:var(--display);font-size:38px;line-height:.95;color:var(--white)}
.pack--hero .pack__p{color:var(--white)}
.pack__p small{display:block;margin-top:7px;font:700 10px var(--mono);letter-spacing:.16em;
  text-transform:uppercase;color:var(--ash-dim)}
.pack__for{margin:6px 0 16px;font:700 10.5px var(--mono);letter-spacing:.18em;
  text-transform:uppercase;color:var(--ash-dim)}
.ticks{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.ticks li{position:relative;padding-left:22px;font-size:14.5px;line-height:1.45;color:var(--ash)}
.ticks li::before{content:'';position:absolute;left:0;top:.5em;width:9px;height:9px;
  background:var(--pink);clip-path:polygon(0 0,100% 50%,0 100%)}
.pack--hero .ticks li{color:var(--white)}

/* 2026-10-02: /partnerships/ runs the three priced tiers full-width in an opaque .sec, with a
   CTA per card and proof under them. The middle tier is the one brands start on, so it says so. */
.packs--wide{margin-top:40px;gap:18px}
.packs--wide .pack{position:relative;display:flex;flex-direction:column;padding:30px 26px 26px;border-radius:14px}
.packs--wide .pack--hero{border-color:var(--pink);box-shadow:0 0 0 1px var(--pink),0 30px 60px -36px rgba(255,45,120,.55)}
.packs--wide .pack__p{font-size:clamp(44px,4vw,58px)}
.packs--wide .ticks{margin-bottom:26px}
.pack__tag{position:absolute;top:-13px;left:26px;padding:7px 12px;border-radius:999px;background:var(--pink);color:#fff;
  font:800 10px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
.ticks--ok li::before{content:'\2713';width:auto;height:auto;top:.05em;background:none;clip-path:none;
  color:var(--pink-lo);font:800 13px/1 var(--sans)}
.pack__cta{margin-top:auto;width:100%}
.stats--proof{margin-top:48px;grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px}
@media (min-width:901px){
  .packs--wide{grid-template-columns:repeat(3,1fr)}
  .packs--wide .pack--hero{translate:0 -12px}
}

/* ==========================================================================
   35b. FAQ — native <details>, no JS: the platform does the open/close, the
   focus and the keyboard. One hairline per question; the plus turns into a ×.
   ========================================================================== */
.faqs{margin-top:36px;max-width:860px;border-top:1px solid var(--line)}
.faq{border-bottom:1px solid var(--line)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;
  padding:20px 0;font-family:var(--display);font-size:clamp(20px,2vw,26px);text-transform:uppercase;
  letter-spacing:.01em;color:var(--white)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'';flex:none;width:14px;height:14px;transition:rotate .25s;
  background:linear-gradient(var(--pink),var(--pink)) center/14px 2px no-repeat,
             linear-gradient(var(--pink),var(--pink)) center/2px 14px no-repeat}
.faq[open] summary::after{rotate:45deg}
.faq summary:hover{color:var(--pink-lo)}
.faq summary:focus-visible{outline:2px solid var(--pink);outline-offset:4px}
.faq p{margin:-4px 0 22px;max-width:62ch;color:var(--ash);font-size:16px;line-height:1.6}

/* Desktop tier 3: the flyer sits beside the copy. Under .es-3d the flyer is hidden and the
   room itself fills that half, so this rule is scoped to where a .flat actually renders. */
@media (min-width:901px){
  .act__in:has(.flat){grid-template-columns:1.05fr .95fr}
  .es-3d .act__in:has(.flat){grid-template-columns:minmax(0,1fr)}
}

/* ==========================================================================
   36. WOOCOMMERCE — the shop, wearing the site's clothes.
   Woo's own stylesheet still loads on shop/cart/checkout (es_is_shop()), so
   these override it rather than replace it. Selectors are Woo's; keep them.
   ========================================================================== */
.woocommerce .act__copy{max-width:none}

/* buttons ------------------------------------------------------------- */
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,
.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce #btn-razorpay,.woocommerce #btn-razorpay-cancel{   /* the Razorpay plugin's own pay page */
  display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:0 30px;border:2px solid transparent;border-radius:var(--r);
  background:var(--pink);color:#fff;
  font:800 14px var(--sans);letter-spacing:.12em;text-transform:uppercase;
  box-shadow:0 0 calc(18px + var(--beat) * 26px) rgba(255,45,120,calc(.3 + var(--beat) * .4));
  transition:transform .18s var(--ease),background-color .25s}
.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce input.button:hover,
.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover,.woocommerce #btn-razorpay:hover{
  background:var(--pink-hi);color:#fff;transform:translateY(-2px)}
.woocommerce a.button.wc-backward,.woocommerce #btn-razorpay-cancel{background:transparent;border-color:var(--line);color:var(--white);box-shadow:none}
.woocommerce #btn-razorpay[disabled]{opacity:.5;transform:none}

/* product ------------------------------------------------------------- */
.woocommerce div.product .product_title{font-family:var(--display);font-size:clamp(34px,5vw,64px);
  line-height:.92;text-transform:uppercase;margin-bottom:6px}
.woocommerce div.product p.price,.woocommerce div.product span.price{
  font-family:var(--display);font-size:clamp(30px,3.4vw,44px);color:var(--pink);line-height:1}
.woocommerce div.product p.price del{opacity:.45;font-size:.6em}
.woocommerce .stock{font:700 11px var(--mono);letter-spacing:.18em;text-transform:uppercase;color:var(--ash)}
.woocommerce .stock.in-stock{color:var(--ok)}
.woocommerce .stock.out-of-stock{color:var(--pink-lo)}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--ash);font-size:16.5px}
.woocommerce .product_meta{font:700 10.5px var(--mono);letter-spacing:.16em;
  text-transform:uppercase;color:var(--ash-dim);margin-top:22px}
.woocommerce .product_meta a{color:var(--ash)}
/* No product photos yet — Woo's grey placeholder is worse than nothing. */
.woocommerce div.product .woocommerce-product-gallery--without-images{display:none}
.woocommerce div.product div.images img{border-radius:var(--r)}

/* quantity ------------------------------------------------------------ */
.woocommerce .quantity input.qty{width:76px;min-height:52px;padding:10px 8px;text-align:center;
  border:1px solid var(--line);border-radius:var(--r);background:rgba(var(--surface-rgb),.8);color:var(--white);
  font:800 16px var(--sans)}
.woocommerce div.product form.cart .quantity{margin-right:12px}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:24px 0}

/* cart + checkout ----------------------------------------------------- */
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:var(--r);
  border-collapse:separate;background:var(--black-2)}
.woocommerce table.shop_table th{font:700 10.5px var(--mono);letter-spacing:.18em;
  text-transform:uppercase;color:var(--ash)}
.woocommerce table.shop_table td,.woocommerce table.shop_table tfoot td{border-top:1px solid var(--line);color:var(--white)}
.woocommerce table.shop_table a{color:var(--white)}
.woocommerce-cart table.cart img{width:64px;border-radius:var(--r)}
.woocommerce .cart_totals h2,.woocommerce-checkout h3,.woocommerce-billing-fields h3,
.woocommerce-order-details h2,.woocommerce-customer-details h2,.woocommerce-column__title{
  font-family:var(--display);font-size:clamp(22px,2.6vw,32px);text-transform:uppercase;margin:0 0 16px}
.woocommerce form .form-row{display:grid;gap:7px;margin-bottom:18px;padding:0}
.woocommerce form .form-row label{font:700 10.5px var(--mono);letter-spacing:.2em;
  text-transform:uppercase;color:var(--ash)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea.input-text,
.woocommerce form .form-row select,.select2-container .select2-selection--single{
  width:100%;min-height:50px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r);
  background:rgba(var(--surface-rgb),.8);color:var(--white)}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea.input-text:focus{border-color:var(--pink);outline:none}
.woocommerce form .form-row .required{color:var(--pink-lo);text-decoration:none}
.woocommerce-checkout #payment{background:var(--black-2);border:1px solid var(--line);
  border-top:3px solid var(--pink);border-radius:var(--r)}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--line)}
.woocommerce-checkout #payment ul.payment_methods li{color:var(--white)}
/* Razorpay's logo is dark grey type, invisible on the dark theme: give it its own white chip. */
.woocommerce-checkout #payment .payment_method_razorpay label img{display:block;margin:10px 0 0;padding:5px 9px;
  max-height:30px;background:#fff;border-radius:6px}
.woocommerce-checkout #payment div.payment_box{background:rgba(var(--surface-rgb),.7);color:var(--ash);border-radius:var(--r)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:rgba(var(--surface-rgb),.7)}
.woocommerce-info,.woocommerce-message,.woocommerce-error{
  background:var(--black-2);border-top:3px solid var(--pink);color:var(--white);border-radius:var(--r)}
.woocommerce-info::before,.woocommerce-message::before{color:var(--pink)}
.woocommerce-order .woocommerce-order-overview{border:1px solid var(--line);border-radius:var(--r);
  padding:18px;background:var(--black-2)}
.woocommerce ul.order_details li{font:700 10.5px var(--mono);letter-spacing:.16em;color:var(--ash-dim)}
.woocommerce ul.order_details li strong{font:400 19px var(--display);letter-spacing:.02em;color:var(--white)}
.woocommerce-privacy-policy-text,.woocommerce-terms-and-conditions-wrapper{color:var(--ash);font-size:14.5px}
.woocommerce-form__label-for-checkbox span{color:var(--ash);font-size:14.5px}

/* The price sits right under the redaction line and Anton has almost no leading, so they
   collided. And with the gallery hidden, Woo's summary column still floated at 48% — give it
   the whole width back rather than leaving half the page empty. */
.woocommerce div.product p.price{margin:26px 0 18px}
.woocommerce div.product:has(.woocommerce-product-gallery--without-images) div.summary{
  width:100%;float:none;margin-bottom:0}
.woocommerce div.product .loc{margin-top:22px}

/* ==========================================================================
   37. THE HERO MUST FIT
   Measured: the CTA was starting at 1115px on every desktop viewport — below
   the fold even at 1920x1080 — because the headline rendered 690px tall. Two
   causes compounding: the type capped at 150px, AND a 540px copy column that
   forced "PARTY IN TOWN" to wrap onto a second line.

   So: a wider hero column and a smaller cap, which together bring the headline
   to three lines, plus tighter gaps down the stack. The rule is that the
   primary CTA is visible without scrolling at 1366x768, the tightest laptop
   anyone actually uses. provision/test-site.py asserts it.
   ========================================================================== */
@media (min-width:901px){
  .act--hero{padding-top:calc(var(--header-h) + 40px);padding-bottom:56px}
  .es-3d .act--hero .act__copy{width:min(660px,54%)}
  .act--hero .h-xl{font-size:clamp(40px,6vw,86px)}
  .act--hero .lede{margin-top:18px;font-size:17.5px;max-width:46ch}
  .act--hero .cd{margin-top:22px}
  .act--hero .cd b{font-size:clamp(32px,3.6vw,50px)}
  .act--hero .loc{margin-top:16px}
  .act--hero .act__cta{margin-top:24px}
}
/* Short laptops (768px and under) get one more notch down — this is the case that failed. */
@media (min-width:901px) and (max-height:820px){
  .act--hero{padding-top:calc(var(--header-h) + 20px);padding-bottom:36px}
  .act--hero .h-xl{font-size:clamp(38px,4.8vw,68px)}
  .act--hero .lede{margin-top:14px;font-size:16px}
  .act--hero .cd{margin-top:16px}
  .act--hero .cd b{font-size:40px}
  .act--hero .loc{margin-top:12px}
  .act--hero .act__cta{margin-top:18px}
}

/* ==========================================================================
   38. THE PASS — what you actually get for your money.
   Reads as a torn ticket: main stub on the left, QR on a perforated right
   edge. Printable, screenshot-able, and legible in a dark doorway.
   ========================================================================== */
.passes{display:grid;gap:16px;margin:26px 0}
.pass{display:grid;grid-template-columns:1fr auto;gap:0;
  border:1px solid var(--line-hi);border-radius:var(--r);overflow:hidden;
  background:linear-gradient(120deg,rgba(255,45,120,.14),rgba(33,230,255,.1)),var(--black-2)}
.pass__main{padding:clamp(18px,3vw,28px);min-width:0}
.pass__k{margin:0;font:700 10px var(--mono);letter-spacing:.3em;text-transform:uppercase;color:var(--cyan)}
.pass__t{margin:8px 0 0;font-family:var(--display);font-size:clamp(24px,3.4vw,38px);
  line-height:.95;text-transform:uppercase}
.pass__m{margin:8px 0 0;font:700 11.5px var(--mono);letter-spacing:.14em;
  text-transform:uppercase;color:var(--ash)}
.pass__code{margin:16px 0 0;font:700 clamp(22px,3.2vw,32px)/1 var(--mono);
  letter-spacing:.12em;color:var(--white);word-break:break-all}
.pass .loc{margin-top:14px}

/* the stub, divided by a perforation */
.pass__qr{display:grid;place-items:center;gap:8px;padding:clamp(16px,2.4vw,22px);
  border-left:2px dashed var(--line-hi);background:rgba(var(--surface-rgb),.5)}
.pass__qrbox{width:clamp(96px,14vw,132px);aspect-ratio:1;display:grid;place-items:center;
  padding:8px;background:#fff;border-radius:2px}
.pass__qrbox svg{width:100%;height:100%;display:block}
.pass__hint{margin:0;max-width:11ch;text-align:center;
  font:700 9px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--ash-dim)}
@media (max-width:560px){
  .pass{grid-template-columns:minmax(0,1fr)}
  .pass__qr{border-left:0;border-top:2px dashed var(--line-hi)}
  .pass__hint{max-width:none}
}
/* A pass is the one thing on this site people will actually print. */
@media print{
  .hdr,.ftr,.act__cta,#es-canvas,.sound{display:none !important}
  body{background:#fff;color:#000}
  .pass{background:#fff;border:2px solid #000;break-inside:avoid}
  .pass__t,.pass__code{color:#000}
  .pass__k,.pass__m,.pass__hint{color:#444}
}

/* A real address is long, and the pass's .loc inherited the hero's single-line mono treatment
   — so it ran off the stub and got clipped. On a pass it needs to wrap and breathe. */
.pass .loc{display:block;font-size:11px;letter-spacing:.1em;line-height:1.55}
.pass .loc > span{display:inline}
.pass .loc .loc__real{display:none;overflow-wrap:anywhere}
.pass .loc.revealed .loc__real{display:block;margin-top:4px;text-transform:none;
  letter-spacing:.02em;font-size:12.5px;line-height:1.5}
.pass .redact{width:11ch;vertical-align:-.15em}

/* Woo's catalog ordering select and result count sit outside the form styles in §36. */
.woocommerce .woocommerce-ordering select,.woocommerce-page .woocommerce-ordering select{
  min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:var(--r);
  background:var(--black-2);color:var(--white);font:700 12px var(--sans);letter-spacing:.08em}
.woocommerce .woocommerce-result-count{color:var(--ash-dim);font:700 11px var(--mono);
  letter-spacing:.14em;text-transform:uppercase}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--display);font-size:20px;text-transform:uppercase;letter-spacing:.01em;
  padding:14px 0 6px}
.woocommerce ul.products li.product .price{font-family:var(--mono);font-size:15px;
  font-weight:700;color:var(--cyan)}
.woocommerce ul.products li.product img{border-radius:var(--r)}
.woocommerce ul.products li.product .button{margin-top:12px}
/* out of stock = a Saturday that already happened; it is proof, not a failed sale */
.woocommerce ul.products li.product.outofstock{opacity:.72}

/* ==========================================================================
   39. THE SHOP LAYOUT
   Shop pages get .shop, never .act__copy — that is the hero column, pinned to
   min(540px,45%), and reusing it crammed a whole product page into the left
   45% of the screen with the image squeezed to ~220px.
   ========================================================================== */
.act--shop{align-items:flex-start;padding:calc(var(--header-h) + 56px) 0 96px;min-height:100svh}
.shop{position:relative;z-index:2;width:100%;max-width:var(--wrap);
  margin-inline:auto;padding-inline:var(--pad)}
/* a flat scrim on the shop, not the hero's side ramp — content spans the full width here */
.es-3d .act--shop::before{background:rgba(var(--surface-rgb),.86)}
.es-3d .act--shop .act__copy{width:auto}

/* --- single product: big image left, the buy box right ------------------ */
.woocommerce div.product{display:grid;gap:clamp(24px,4vw,56px);
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:start}
.woocommerce div.product div.images,
.woocommerce div.product div.summary{width:auto;float:none;margin:0}
.woocommerce div.product .woocommerce-product-gallery{width:100% !important;margin:0}
.woocommerce div.product .woocommerce-product-gallery__image img{
  width:100%;height:auto;border-radius:var(--r);display:block}
/* the gallery strip under the main image */
.woocommerce div.product .flex-control-thumbs{display:grid;
  grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px;margin:12px 0 0;padding:0}
.woocommerce div.product .flex-control-thumbs li{width:auto;float:none;margin:0}
.woocommerce div.product .flex-control-thumbs img{width:100%;height:auto;border-radius:var(--r);
  opacity:.55;transition:opacity .25s;cursor:pointer}
.woocommerce div.product .flex-control-thumbs img:hover,
.woocommerce div.product .flex-control-thumbs img.flex-active{opacity:1}
/* the buy box reads as a panel, so the price and the button are one object */
.woocommerce div.product div.summary{padding:clamp(22px,3vw,32px);
  border:1px solid var(--line);border-top:3px solid var(--pink);
  border-radius:var(--r);background:rgba(var(--glass-rgb),.92);position:sticky;top:calc(var(--header-h) + 20px)}
.woocommerce div.product .product_title{font-size:clamp(28px,3.2vw,46px)}
.woocommerce div.product form.cart{margin:22px 0 0}

/* --- the catalogue grid ------------------------------------------------- */
.woocommerce ul.products{display:grid !important;gap:clamp(16px,2.4vw,28px);
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));margin:28px 0 0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto !important;float:none !important;margin:0 !important;
  padding:0;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  background:var(--black-2);display:flex;flex-direction:column}
.woocommerce ul.products li.product > a{display:block}
.woocommerce ul.products li.product img{width:100%;aspect-ratio:4/3;object-fit:cover;
  border-radius:0;margin:0}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:16px 18px 4px}
.woocommerce ul.products li.product .price{padding:0 18px}
/* display, because Woo's own `li.product .button{display:inline-block}` outranks the button rule
   in §37 — and li.product is a flex column, so that blockifies and the label loses its centring,
   sitting at the top of the 52px box. This selector ties Woo's and comes later, so it wins. */
.woocommerce ul.products li.product .button{margin:14px 18px 18px;align-self:flex-start;
  display:inline-flex}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:8px}

@media (max-width:900px){
  .act--shop{padding:calc(var(--header-h) + 28px) 0 64px}
  .woocommerce div.product{grid-template-columns:minmax(0,1fr)}
  .woocommerce div.product div.summary{position:static}
  .es-3d .act--shop::before{background:rgba(var(--surface-rgb),.9)}
}

/* --- the gallery, without flexslider ------------------------------------
   No slider support, so Woo stacks every image in one figure. First one big,
   the rest in a grid under it. No JS, nothing to collapse. */
.woocommerce div.product .woocommerce-product-gallery__wrapper{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0}
.woocommerce div.product .woocommerce-product-gallery__image{margin:0}
.woocommerce div.product .woocommerce-product-gallery__image:first-child{grid-column:1 / -1}
.woocommerce div.product .woocommerce-product-gallery__image a{display:block}
.woocommerce div.product .woocommerce-product-gallery__image img{
  width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r);display:block}
.woocommerce div.product .woocommerce-product-gallery__image:first-child img{aspect-ratio:3/2}
/* Woo's zoom trigger belongs to the slider we did not enable */
.woocommerce div.product .woocommerce-product-gallery__trigger{display:none}

/* Woo sets width:25%;display:inline-block on every gallery image after the first (its own
   no-slider layout), which shrank each grid cell's contents to a quarter. And it puts
   `opacity:0` INLINE on the gallery, expecting its slider JS to fade it in — with the slider
   off that JS may never run, so the whole gallery can stay invisible. Override both. */
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2){
  width:auto !important;display:block !important;float:none !important;padding:0 !important}
.woocommerce div.product .woocommerce-product-gallery{opacity:1 !important}

/* ==========================================================================
   40. THE INSTAGRAM STRIP — above the footer, every page but the checkout.
   ========================================================================== */
.ig{position:relative;z-index:2;padding:clamp(48px,7vw,88px) 0;background:var(--black);
  border-top:1px solid var(--line)}
.ig__head{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-end;justify-content:space-between}
.ig__head .h-lg{font-size:clamp(30px,5vw,58px)}
/* The Instagram glyph, inline before the handle, in the brand pink. Sized off the heading. */
.ig__mark{display:inline-block;width:.6em;height:.6em;vertical-align:.06em;margin-right:.14em;color:var(--pink)}

/* ==========================================================================
   41. BELOW THE HERO — the real room.
   The hero is the only section the WebGL canvas is ever seen behind. Every
   section from here down is OPAQUE and sits above it (§28 already gives
   `main > section` z-index 2 under .es-3d), which is what lets world.js stop
   drawing entirely once the hero scrolls away.
   ========================================================================== */
.sec{position:relative;z-index:2;background:var(--black);padding:clamp(66px,9vw,124px) 0}
.sec__head{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(18px,4vw,56px);
  align-items:end;margin-bottom:clamp(28px,4vw,52px)}
.sec__head .lede{padding-bottom:6px}
.sec__sub{margin:clamp(30px,4vw,48px) 0 14px;font:700 11px var(--mono);
  letter-spacing:.24em;text-transform:uppercase;color:var(--ash-dim)}
.sec--out{text-align:center;border-top:1px solid var(--line)}
.sec--out .eyebrow,.sec--out .act__cta{justify-content:center}
.sec--out .lede{margin-inline:auto}
.band .h-lg,.sec--out .h-lg{margin-bottom:24px}
/* A two-sentence headline needs the full measure, so the lede drops under it. */
.sec__head--wide{grid-template-columns:1fr;gap:20px}
.sec__head--wide .lede{max-width:62ch}
.sec__head p:last-child{margin-bottom:0}
.sec__note{font:700 11px var(--mono);letter-spacing:.24em;text-transform:uppercase;color:var(--ash-dim)}
/* Two sections on the same black in a row need a seam. */
.sec + .sec{border-top:1px solid var(--line)}

/* What we do: one integration photo beside the four services, numbered in the display face. */
.svc{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(16px,3vw,36px);align-items:stretch}
.svc > .shot{border-radius:var(--r);min-height:300px}
/* Out of flow, so the photo takes the height of the four cards instead of setting it. */
.svc > .shot img{position:absolute;inset:0}
.svc__list{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
.svc__list li{display:flex;flex-direction:column;gap:8px;padding:22px 22px 24px}
.svc__list li br{display:none}
.svc__list li b{font:400 clamp(20px,1.7vw,26px)/1 var(--display);text-transform:uppercase;letter-spacing:.01em}
.svc__list small{font-size:14.5px;line-height:1.5}
.svc__n{font:700 11px var(--mono);letter-spacing:.24em;color:var(--pink-lo)}
@media (max-width:820px){.svc,.svc__list{grid-template-columns:1fr}.svc > .shot{aspect-ratio:4/3;min-height:0}}
.sec--reels{padding-bottom:clamp(40px,5vw,70px)}
@media (max-width:820px){.sec__head{grid-template-columns:1fr;gap:16px}}

/* The one animation the .reveal observer in motion.js has ever had a rule for. transform and
   opacity only — a clip-path here silently stops IntersectionObserver firing at all. */
/* The fade is on the CONTENTS, not the section. The section itself has to stay opaque the
   whole way through: the WebGL room is position:fixed at z-index 0 behind every one of these,
   and a section at opacity 0 is a window onto a dark nightclub in the middle of an ivory page. */
.reveal > *{opacity:0;transform:translateY(26px);
  transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in > *{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal > *{opacity:1;transform:none}}

/* ==========================================================================
   42. THE MARQUEE — the seam between the simulated room and the real one.
   Two identical copies of the text, translated by exactly -50%: that is what
   makes the loop seamless without measuring anything in JS.
   ========================================================================== */
.mq{position:relative;z-index:2;overflow:hidden;padding:13px 0;
  background:var(--pink);color:#0a0410}
.mq__t{display:flex;width:max-content;animation:mq 34s linear infinite}
.mq__t span{padding-right:.45em;white-space:nowrap;font-family:var(--display);
  font-size:clamp(21px,3.2vw,38px);text-transform:uppercase;letter-spacing:.01em}
.mq__t i{font-style:normal;opacity:.5}
@keyframes mq{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.mq__t{animation:none}}

/* ==========================================================================
   42b. THE BRAND WALL — one small white plate per brand, a tidy grid inside the
   gutter, the same footprint as the old placeholder tiles. Plates are white in
   BOTH themes: a brand's mark is drawn for a white page and is shown as the brand
   drew it; the hairline keeps a plate visible on ivory. A brand with no logo file
   gets its name in the display face. es_brand_wall() in inc/content.php prints it.
   ========================================================================== */
.bwall{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;
  margin:32px 0 0;padding:0;list-style:none}
.bwall__b{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  aspect-ratio:1/1;padding:26px;border-radius:14px;background:#fff;color:#0a0410;
  border:1px solid rgba(22,18,26,.1);text-decoration:none;
  box-shadow:0 2px 3px rgba(22,18,26,.06),0 14px 30px -18px rgba(22,18,26,.4);
  transition:translate .3s,box-shadow .3s}
a.bwall__b:hover,a.bwall__b:focus-visible{translate:0 -3px;outline:none;
  box-shadow:0 0 0 2px var(--pink),0 16px 34px -14px rgba(255,45,120,.5)}
.bwall__b img{display:block;width:100%;height:100%;object-fit:contain}
.bwall__b b{font:400 clamp(16px,1.3vw,20px)/1.05 var(--display);text-transform:uppercase;
  letter-spacing:.02em;text-align:center}
.reveal .bwall li{opacity:0;scale:.9;transition:opacity .5s var(--ease),scale .5s var(--ease);
  transition-delay:calc(var(--i,0) * 70ms + .2s)}
.reveal.in .bwall li{opacity:1;scale:1}
@media (prefers-reduced-motion:reduce){.reveal .bwall li{opacity:1;scale:1}}
.bwall__b small{font:700 9px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--pink-lo)}
@media (max-width:700px){
  .bwall{grid-template-columns:repeat(3,1fr);gap:8px}
  .bwall__b{padding:14px;border-radius:10px}
}

/* ==========================================================================
   43. THE WRISTBANDS — what the people on the list make, as a fan of party
   bands on the door table. Replaces the handles that used to be painted on the
   room's back wall: no names, no follower counts, just crafts, and one blank
   band for the visitor. Colours cycle through the brand set; ink text on the
   light bands, --white on the black one. Odd bands breathe with --beat, which
   js/motion.js writes at 20Hz. es_crafts_wall() in inc/content.php prints it.
   ========================================================================== */
.wrist{position:relative;z-index:2;display:grid;gap:12px;justify-items:center;
  margin:0 auto;padding:0;list-style:none;max-width:460px}
.wrist__b{display:inline-flex;align-items:center;gap:14px;height:56px;padding:0 26px 0 14px;
  border-radius:999px;color:#16121a;text-decoration:none;white-space:nowrap;
  box-shadow:0 14px 30px -18px rgba(0,0,0,.6);transition:translate .3s,rotate .3s,box-shadow .3s}
.wrist__b i{flex:none;width:26px;height:10px;border-radius:999px;background:rgba(0,0,0,.18);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}                     /* the snap */
/* The printed brand on the band: two tiny lines, never taller than the band itself (a vertical
   run of "EVERY SATURDAY" was 140px long and poked out of a 56px pill). */
.wrist__b small{width:46px;flex:none;font:700 7.5px/1.25 var(--mono);letter-spacing:.14em;
  text-transform:uppercase;opacity:.62;white-space:normal}
.wrist__b b{font:400 24px/1 var(--display);letter-spacing:.03em;text-transform:uppercase}
.wrist__b--1{background:linear-gradient(90deg,#ff2d78,#ff6fa3)}
.wrist__b--2{background:linear-gradient(90deg,#21e6ff,#8df1ff)}
.wrist__b--3{background:linear-gradient(90deg,#fff8fb,#f1e6ec);border:1px solid rgba(22,18,26,.12)}
.wrist__b--4{background:linear-gradient(90deg,#1a1420,#2a2130);color:#fff8fb}
.wrist__b--4 i{background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 2px rgba(255,255,255,.4)}
.wrist__b--you{background:transparent;border:2px dashed var(--line-hi);color:var(--pink-lo);box-shadow:none}
.wrist__b--you i{background:transparent;box-shadow:inset 0 0 0 2px var(--line-hi)}
a.wrist__b--you:hover,a.wrist__b--you:focus-visible{border-style:solid;border-color:var(--pink);translate:0 -3px;outline:none}
/* the fan: each band sits a little off the last, like a stack on the door table */
.wrist li{margin-top:-8px}
.wrist li:first-child{margin-top:0}
.wrist li:nth-child(odd) .wrist__b{rotate:-4deg;translate:-14px 0;
  transform:translateY(calc(var(--beat,0) * -3px))}
.wrist li:nth-child(even) .wrist__b{rotate:3deg;translate:14px 0}
.wrist li:nth-child(3n) .wrist__b{rotate:-1.5deg;translate:4px 0}
@media (max-width:900px){
  .wrist{max-width:none;justify-items:start}
  .wrist__b{height:46px;padding:0 20px 0 12px}
  .wrist__b b{font-size:20px}
}
@media (prefers-reduced-motion:reduce){.wrist .wrist__b{transform:none;transition:none}}

/* ==========================================================================
   43. THE REEL RAIL — nine 9:16 cards, one of which is ever playing.
   The cards carry preload="none"; js/media.js starts one when it scrolls into
   view. Nine autoplaying videos is nine parallel connections on a phone before
   the page has finished drawing.
   ========================================================================== */
/* Bleeds to the right edge, but the FIRST card lines up with .wrap's content — hence the
   max(): below the wrap width there is no centring gutter to add. */
.rail{display:flex;gap:clamp(10px,1.2vw,16px);margin:0;list-style:none;
  padding:4px max(var(--pad),calc((100% - var(--wrap)) / 2 + var(--pad))) 20px;
  overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;
  scrollbar-width:thin;scrollbar-color:var(--pink-lo) transparent}
.reel{flex:0 0 clamp(190px,23vw,278px);scroll-snap-align:start}
.reel__btn{position:relative;display:block;width:100%;aspect-ratio:9 / 16;padding:0;
  overflow:hidden;cursor:pointer;border:1px solid var(--line);border-radius:var(--r);
  background:var(--black-2);transition:border-color .25s,transform .25s var(--ease)}
.reel__btn:hover{border-color:var(--line-hi);transform:translateY(-3px)}
.reel__v{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* A play glyph drawn in CSS: one clip-path, no sprite, no 404, sharp at every density. */
.reel__play{position:absolute;left:50%;top:50%;width:52px;height:52px;translate:-50% -50%;
  border-radius:999px;background:rgba(var(--surface-rgb),.55);backdrop-filter:blur(3px);
  box-shadow:0 0 0 1px rgba(var(--ink-rgb),.3),
             0 0 calc(10px + var(--beat) * 22px) rgba(255,45,120,calc(.25 + var(--beat) * .5));
  transition:opacity .3s}
.reel__play::after{content:'';position:absolute;left:54%;top:50%;translate:-50% -50%;
  width:15px;height:17px;background:var(--white);clip-path:polygon(0 0,100% 50%,0 100%)}
.reel__btn:hover .reel__play{opacity:.55}
/* Wraps rather than truncating. The caption is the SHORT label from reels.json, not the alt,
   so two lines is the ceiling — but a clipped … on a 190px card told the visitor nothing at all,
   and test-align.mjs is right to call that a word running past its column. */
.reel__cap{position:absolute;inset:auto 0 0;padding:36px 12px 11px;text-align:left;
  font:700 10.5px/1.35 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--white);
  background:linear-gradient(180deg,transparent,rgba(var(--surface-rgb),.92))}

/* --- 43b. THE COVERFLOW — the front page's reels come out of the screen -----
   The card at the middle of the rail is pushed TOWARDS the viewer (+translateZ)
   while its neighbours turn away and fall back; the same view() timeline the
   photo deck uses, so the compositor does all of it and no scroll handler runs.
   Generous padding-block because overflow-x:auto also clips vertically — a card
   that pops forward has to have somewhere to pop into. */
.rail--reels{perspective:1600px;perspective-origin:50% 44%;scroll-snap-type:x mandatory;
  padding-block:clamp(26px,3.4vw,46px) clamp(30px,3.6vw,50px)}
/* Wider than a sponsor rail's card on a phone: the centre card IS the effect, and at the
   shared 190px it read as a thumbnail. Desktop is unchanged at 278px. */
.rail--reels .reel{flex-basis:clamp(214px,54vw,278px);scroll-snap-align:center}
@supports (animation-timeline:view()){
  .rail--reels .reel{animation:reelflow linear both;animation-timeline:view(inline);
    animation-range:entry 0% exit 100%}
}
@keyframes reelflow{
  0%  {transform:rotateY(32deg) translateZ(-110px) scale(.88);opacity:.6}
  50% {transform:rotateY(0) translateZ(60px) scale(1);opacity:1}
  100%{transform:rotateY(-32deg) translateZ(-110px) scale(.88);opacity:.6}
}
@media (prefers-reduced-motion:reduce){.rail--reels .reel{animation:none}}

/* Sound is OFF until you ask for it, so the badge is the control: a play glyph while the
   reel loops silently, two pause bars in pink while it is the one that is talking. */
.rail--reels .reel__btn{cursor:pointer}
.reel.is-live .reel__btn{border-color:var(--pink)}
.reel.is-live .reel__play{opacity:1;background:var(--pink)}
.reel.is-live .reel__play::after{left:50%;width:13px;height:15px;clip-path:none;
  background:linear-gradient(90deg,var(--white) 0 4px,transparent 4px 9px,var(--white) 9px 13px)}
.reel.is-live .reel__btn:hover .reel__play{opacity:1}

/* --- 43c. THE FLIGHT — at tier 1 the rail becomes a corridor -----------------
   Social Paradigm flies twelve reels past the camera with three.js. Four reels
   and no starfield is inside what CSS 3D does natively, so this is the same
   motion without a second WebGL scene, without spending shader programs the
   room needs, and without uploading video frames as textures every frame.
   The cards are the SAME <li class="reel"> the rail renders — only their
   positioning changes, so the captions, the tap-for-sound and the lightbox
   exclusion all carry over untouched.
   Tiers 2 and 3 never see any of this: the rail stays the rail.              */
/* At tiers 2 and 3 the wrappers must not exist as boxes at all: `display:contents`
   hands the rail straight back to the section, so its bleed padding still measures
   against the section and the fallback is byte-for-byte the rail that shipped before. */
.flight,.flight__view,.flight__track{display:contents}
.flight__dust,.flight__beams,.flight__mark{display:none}

html[data-tier="1"] .flight{display:block;position:relative;
  /* long enough to fly the whole corridor past the camera, and that is a
     function of how many reels there are — hence --n from the template.
     The trailing 20svh is the HOLD: the scroll left over once the last reel has
     gone by, which the wordmark fades up into. js/media.js shares that number.
     2026-10-02: 22svh a reel + 46svh hold was 344svh for nine reels — Jatin, twice:
     "too lengthy". 9 + 20 is 201svh, two screens, with bigger cards in three lanes
     so the frame is full rather than long. */
  height:calc(100svh + var(--n,4) * 9svh + 20svh)}
html[data-tier="1"] .flight__view{display:block;position:sticky;top:0;height:100svh;
  overflow:hidden;perspective:1000px;perspective-origin:50% 46%}
html[data-tier="1"] .flight__track{display:block;position:absolute;inset:0;
  transform-style:preserve-3d;transform:translateZ(var(--z,0px))}

/* The rail stops being a scroller and becomes the corridor's coordinate space. */
html[data-tier="1"] .rail--reels{display:block;position:absolute;inset:0;
  padding:0;margin:0;overflow:visible;perspective:none;
  transform-style:preserve-3d;scroll-snap-type:none}
html[data-tier="1"] .rail--reels .reel{position:absolute;left:50%;top:50%;
  flex:none;width:320px;height:569px;      /* 62% of a 1000px viewport at the focus plane */
  /* js/media.js writes --x/--y/--cz/--ry once per card; only --z moves per frame.
     preserve-3d sorts by computed Z, so a near card occludes a far one with no
     z-index anywhere. */
  transform:translate(-50%,-50%) translate3d(var(--x,0px),var(--y,0px),var(--cz,0px))
            rotateY(var(--ry,0deg));
  animation:none}          /* the view() coverflow is a tier-2/3 treatment */
html[data-tier="1"] .rail--reels .reel__btn{width:100%;height:100%;aspect-ratio:auto;
  box-shadow:0 30px 70px rgba(0,0,0,.55)}
html[data-tier="1"] .rail--reels .reel__btn:hover{transform:none}   /* the corridor owns the motion */

/* Every Saturday's dressing instead of a starfield: the room's own pink and cyan
   beam dust, drifting with the dolly and breathing on --beat like everything else. */
html[data-tier="1"] .flight__dust{display:block;position:absolute;inset:-20%;z-index:0;
  pointer-events:none;
  opacity:calc(.55 + var(--beat,0) * .45);
  background-image:
    radial-gradient(2.5px 2.5px at 18% 24%,rgba(255,45,120,1),transparent 62%),
    radial-gradient(2px 2px at 72% 62%,rgba(33,230,255,.95),transparent 62%),
    radial-gradient(1.5px 1.5px at 44% 81%,rgba(var(--ink-rgb),.8),transparent 62%),
    radial-gradient(2px 2px at 88% 12%,rgba(255,45,120,.8),transparent 62%),
    radial-gradient(1.5px 1.5px at 8% 68%,rgba(33,230,255,.7),transparent 62%),
    radial-gradient(1.5px 1.5px at 60% 8%,rgba(var(--ink-rgb),.6),transparent 62%);
  background-size:300px 300px,240px 240px,170px 170px,130px 130px,210px 210px,160px 160px;
  background-position:0 calc(var(--z,0px) * .06),0 calc(var(--z,0px) * .1),
                      0 calc(var(--z,0px) * .16),0 calc(var(--z,0px) * .22),
                      0 calc(var(--z,0px) * .13),0 calc(var(--z,0px) * .19)}

/* Six moving heads light the room in the hero; eight light the corridor here — hung at
   the corners and the floor as well as the ceiling, so the beams cross the WHOLE frame
   rather than fanning out of one point. Four swing on their own clock, four sweep the full
   circle like a high beam going round the room; none of them share a period, so the pattern
   never repeats on a loop you can see. Pink and cyan, brightening on --beat like the room.
   `screen` so two beams crossing add up instead of painting over one another. */
html[data-tier="1"] .flight__beams{display:block;position:absolute;inset:0;z-index:0;
  overflow:hidden;pointer-events:none;mix-blend-mode:screen;
  /* one blur pass over the whole rig, not eight: a clip-path edge is a knife edge, and
     light does not have one. Blurring the layer is also a single composite. */
  filter:blur(5px)}
html[data-tier="1"] .flight__beams i{position:absolute;left:var(--bx,50%);top:var(--by,-30%);
  width:var(--bw,22vw);min-width:210px;height:var(--bh,200%);transform-origin:50% 0;
  clip-path:polygon(47.5% 0,52.5% 0,100% 100%,0 100%);      /* a hard-edged throw, not a blob */
  opacity:calc(.3 + var(--beat,0) * .55);   /* blur spreads the energy — this pays it back */
  background:linear-gradient(180deg,var(--bc),color-mix(in srgb,var(--bc) 12%,transparent) 46%,transparent 76%);
  animation:beamswing var(--bd,9s) ease-in-out var(--bdel,0s) infinite alternate}
@supports not (color: color-mix(in srgb,red 50%,transparent)){
  html[data-tier="1"] .flight__beams i{background:linear-gradient(180deg,var(--bc),transparent 74%)}}

/* ceiling rig — the four that swing */
html[data-tier="1"] .flight__beams i:nth-child(1){--bx:22%;--bc:rgba(255,45,120,.55);--bd:9s;--r1:-34deg;--r2:18deg}
html[data-tier="1"] .flight__beams i:nth-child(2){--bx:50%;--bc:rgba(33,230,255,.5);--bd:11.5s;--bdel:-3.4s;--r1:-22deg;--r2:26deg}
html[data-tier="1"] .flight__beams i:nth-child(3){--bx:78%;--bc:rgba(33,230,255,.42);--bd:7.8s;--bdel:-6.1s;--r1:-20deg;--r2:32deg}
html[data-tier="1"] .flight__beams i:nth-child(4){--bx:64%;--bc:rgba(255,45,120,.45);--bd:13.2s;--bdel:-1.7s;--r1:-30deg;--r2:14deg}

/* the four that go all the way round: two hung high at the sides, two standing on the floor */
html[data-tier="1"] .flight__beams i:nth-child(n+5){
  animation-name:beamspin;animation-timing-function:linear;animation-direction:normal}
html[data-tier="1"] .flight__beams i:nth-child(5){--bx:10%;--by:18%;--bw:17vw;--bh:230%;--bd:19s;--r1:0deg;--bc:rgba(255,45,120,.5)}
html[data-tier="1"] .flight__beams i:nth-child(6){--bx:90%;--by:26%;--bw:15vw;--bh:230%;--bd:24s;--bdel:-9s;--r1:120deg;--bc:rgba(33,230,255,.46)}
html[data-tier="1"] .flight__beams i:nth-child(7){--bx:32%;--by:96%;--bw:19vw;--bh:220%;--bd:28s;--bdel:-14s;--r1:205deg;--bc:rgba(33,230,255,.4)}
html[data-tier="1"] .flight__beams i:nth-child(8){--bx:72%;--by:98%;--bw:16vw;--bh:220%;--bd:33s;--bdel:-5s;--r1:160deg;--bc:rgba(255,45,120,.42)}

@keyframes beamswing{
  from{transform:translateX(-50%) rotate(var(--r1,-27deg))}
  to  {transform:translateX(-50%) rotate(var(--r2,27deg))}}
@keyframes beamspin{
  from{transform:translateX(-50%) rotate(var(--r1,0deg))}
  to  {transform:translateX(-50%) rotate(calc(var(--r1,0deg) + 360deg))}}
/* Tier 3 never renders the flight, but a forced tier must not start swinging lamps either. */
@media (prefers-reduced-motion:reduce){html[data-tier="1"] .flight__beams i{animation:none}}

/* --- 43a-ii. THE POPPERS -------------------------------------------------
   Two of them, fired from the bottom corners of the corridor, on a loop that is
   deliberately not in step (3.9s against 4.7s) so the room never pulses like a
   metronome. BACKGROUND ONLY: z-index 0 puts them with the beams, under the
   wordmark and under every reel — confetti is the room, not the content.
   One rule per piece would be 24 rules; instead each piece carries its own
   --x/--y/--c/--dl and the two containers mirror on --dir. */
html[data-tier="1"] .flight__pop{display:block;position:absolute;bottom:9%;z-index:0;
  width:0;height:0;pointer-events:none}
html[data-tier="1"] .flight__pop--l{left:7%;--dir:1}
html[data-tier="1"] .flight__pop--r{right:7%;--dir:-1;--sp:4.7s}
html[data-tier="1"] .flight__pop i{position:absolute;left:0;top:0;
  width:var(--w,9px);height:var(--h,13px);border-radius:1.5px;opacity:0;
  background:var(--c,var(--pink));
  animation:popfly var(--sp,3.9s) cubic-bezier(.18,.72,.32,1) var(--dl,0s) infinite}
/* out and up fast, then gravity: 45% is the top of the arc, the rest is the fall. */
@keyframes popfly{
  0%   {opacity:0;transform:translate3d(0,0,0) rotate(0deg) scale(.5)}
  7%   {opacity:1}
  45%  {transform:translate3d(calc(var(--dir) * var(--x,150px)),var(--y,-260px),0)
        rotate(190deg) scale(1)}
  88%  {opacity:.9}
  100% {opacity:0;
        transform:translate3d(calc(var(--dir) * var(--x,150px) * 1.45),140px,0)
        rotate(560deg) scale(.92)}
}
html[data-tier="1"] .flight__pop i:nth-child(1) {--x:90px; --y:-300px;--dl:0s;    --c:var(--pink)}
html[data-tier="1"] .flight__pop i:nth-child(2) {--x:160px;--y:-250px;--dl:.06s;  --c:var(--cyan-lo)}
html[data-tier="1"] .flight__pop i:nth-child(3) {--x:230px;--y:-190px;--dl:.02s;  --c:var(--uv);--w:7px;--h:11px}
html[data-tier="1"] .flight__pop i:nth-child(4) {--x:120px;--y:-350px;--dl:.1s;   --c:var(--ok)}
html[data-tier="1"] .flight__pop i:nth-child(5) {--x:300px;--y:-150px;--dl:.14s;  --c:var(--pink-hi);--w:11px;--h:8px}
html[data-tier="1"] .flight__pop i:nth-child(6) {--x:40px;  --y:-320px;--dl:.04s; --c:var(--cyan)}
html[data-tier="1"] .flight__pop i:nth-child(7) {--x:200px;--y:-300px;--dl:.18s;  --c:var(--pink);--w:6px;--h:14px}
html[data-tier="1"] .flight__pop i:nth-child(8) {--x:265px;--y:-240px;--dl:.08s;  --c:var(--ok);--w:8px;--h:8px}
html[data-tier="1"] .flight__pop i:nth-child(9) {--x:150px;--y:-410px;--dl:.22s;  --c:var(--uv)}
html[data-tier="1"] .flight__pop i:nth-child(10){--x:75px;  --y:-230px;--dl:.12s; --c:var(--cyan-lo);--w:12px;--h:7px}
html[data-tier="1"] .flight__pop i:nth-child(11){--x:340px;--y:-210px;--dl:.26s;  --c:var(--pink-hi)}
html[data-tier="1"] .flight__pop i:nth-child(12){--x:20px;  --y:-380px;--dl:.16s; --c:var(--pink);--w:7px;--h:12px}
/* Confetti is the one thing on this page nobody needs to see. */
@media (prefers-reduced-motion:reduce){html[data-tier="1"] .flight__pop{display:none}}

/* The wordmark waits at the end of the corridor. It fades up once the last reel has
   passed and then just stays there, faded, for the rest of the scroll — an end card, not
   a flash. It sits ABOVE the beams but BELOW the reels, so a straggler still flies over it. */
html[data-tier="1"] .flight__mark{display:grid;place-items:center;
  position:absolute;inset:0;z-index:1;pointer-events:none;
  opacity:calc(var(--mark,0) * .46);
  scale:calc(.93 + var(--mark,0) * .07);
  transition:opacity .12s linear}
html[data-tier="1"] .flight__mark img{width:min(58vw,660px);height:auto;
  filter:drop-shadow(0 0 calc(16px + var(--beat,0) * 30px) rgba(255,45,120,.45))}
@media (prefers-reduced-motion:reduce){html[data-tier="1"] .flight__mark{transition:none;scale:1}}

/* --- the control strip ------------------------------------------------------
   One switch for the whole rail, because only one reel is ever unmuted. */
.reelbar{display:flex;align-items:center;justify-content:center;gap:clamp(12px,1.6vw,22px);
  margin:clamp(16px,2vw,26px) auto 0;padding:9px 9px 9px 18px;width:max-content;max-width:92vw;
  border:1px solid var(--line);border-radius:999px;background:rgba(var(--surface-rgb),.72)}
@supports (backdrop-filter:blur(10px)){.reelbar{backdrop-filter:blur(10px)}}
.reelbar__n{font:700 11px/1 var(--mono);letter-spacing:.16em;color:var(--white)}
.reelbar__dots{display:flex;align-items:center;gap:7px}
.reelbar__dots i{width:5px;height:5px;border-radius:999px;background:rgba(var(--ink-rgb),.28);
  transition:background .25s,transform .25s var(--ease)}
.reelbar__dots i.is-on{background:var(--pink);transform:scale(1.5)}
.reelbar__sound{padding:9px 16px;cursor:pointer;border:0;border-radius:999px;
  background:rgba(var(--ink-rgb),.1);color:var(--white);
  font:700 10.5px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;
  transition:background .2s,color .2s}
.reelbar__sound:hover{background:rgba(var(--ink-rgb),.2)}
.reelbar__sound[aria-pressed="true"]{background:var(--pink);color:#0a0410}

/* At tier 1 it floats over the flight and only while the flight is on screen. */
html[data-tier="1"] .reelbar{position:fixed;left:50%;bottom:2.2rem;z-index:6;
  translate:-50% 0;margin:0;opacity:0;pointer-events:none;
  transition:opacity .35s var(--ease)}
html[data-tier="1"] .reelbar.is-live{opacity:1;pointer-events:auto}
@media (prefers-reduced-motion:reduce){.reelbar__dots i,.reelbar__sound{transition:none}}

/* ==========================================================================
   44. THE TILE — one photograph, in any deck.
   The mosaic this section used to describe is gone: every set of photographs
   on the site is a DECK now (44b), emitted by es_photo_deck() in inc/media.php.
   What survives is the tile itself — the crop, the ring and the hover.
   ========================================================================== */
.shot{position:relative;padding:0;overflow:hidden;cursor:pointer;
  border:0;border-radius:var(--r);background:var(--black-2)}
.shot img{width:100%;height:100%;object-fit:cover;
  transition:transform .55s var(--ease),filter .4s}
.shot::after{content:'';position:absolute;inset:0;pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(var(--ink-rgb),.08);border-radius:var(--r);
  transition:box-shadow .25s}
.shot:hover img{transform:scale(1.05)}
.shot:hover::after{box-shadow:inset 0 0 0 2px var(--pink)}

/* ==========================================================================
   44b. THE DECK — the same photographs, as a rail you flick instead of a wall
   you scroll past. Eighteen tiles down the mosaic ran four phone-screens tall;
   one snapped row is shorter and reads as a deck of cards.
   The 3D is CSS only: a view() timeline rotates each card by WHERE IT IS in
   the scroller, so the compositor does it and no scroll handler ever runs.
   Perspective sits on the scrolling element itself — its children are the
   cards, and a wrapper cannot do it, because overflow:auto forces
   transform-style back to flat and the depth collapses.
   ========================================================================== */
.deck{position:relative}
.rail--deck{align-items:center;scroll-snap-type:x mandatory;
  perspective:1100px;perspective-origin:50% 46%;
  padding-block:clamp(14px,2vw,26px) clamp(20px,2.4vw,30px)}
/* min() so it is ~three-quarters of a phone screen (the neighbours still peek in, which is
   what tells you it slides) and a fixed card on a desktop. */
.rail--deck .shot{flex:0 0 clamp(240px,74vw,380px);aspect-ratio:3 / 4;
  scroll-snap-align:center}
/* ONE card shape at every width. Letting each frame keep its own aspect (3:2 beside 2:3)
   made the rail read as a pile of odds and ends; a deck is a deck because every card is the
   same. The photographs are cropped to fit (object-fit:cover above), centred. */
@media (min-width:820px){
  .rail--deck .shot,
  .rail--deck .shot--tall{flex:0 0 auto;width:auto;height:clamp(300px,24vw,380px);aspect-ratio:3 / 4}
}
.rail--deck .shot:hover img{transform:none}      /* the card itself moves; the photo must not */

@supports (animation-timeline:view()){
  .rail--deck .shot{animation:deck linear both;animation-timeline:view(inline);
    animation-range:entry 0% exit 100%}
}
/* Positive rotateY brings the LEFT edge forward, so a card on the right faces the middle. */
@keyframes deck{
  0%  {transform:rotateY(30deg) translateZ(-90px);filter:brightness(.5) saturate(.85)}
  50% {transform:none;filter:none}
  100%{transform:rotateY(-30deg) translateZ(-90px);filter:brightness(.5) saturate(.85)}
}
@media (prefers-reduced-motion:reduce){.rail--deck .shot{animation:none}}

/* A phone swipes and a trackpad swipes; a mouse has no horizontal wheel, so the one input
   that needs a button gets one. Hidden where the gesture already exists. */
.deck__arw{position:absolute;top:50%;translate:0 -50%;z-index:3;display:none;
  place-items:center;width:46px;height:46px;cursor:pointer;
  border:1px solid var(--line-hi);border-radius:999px;
  background:rgba(var(--surface-rgb),.62);backdrop-filter:blur(4px);
  transition:background .2s,border-color .2s}
.deck__arw:hover{background:var(--pink);border-color:var(--pink)}
.deck__arw::after{content:'';width:10px;height:10px;
  border-top:2px solid var(--white);border-right:2px solid var(--white)}
.deck__arw--l{left:clamp(8px,2vw,22px)}
.deck__arw--l::after{rotate:-135deg;margin-left:4px}
.deck__arw--r{right:clamp(8px,2vw,22px)}
.deck__arw--r::after{rotate:45deg;margin-right:4px}
@media (hover:hover) and (min-width:820px){.deck__arw{display:grid}}

/* The rail bleeds off the right edge but has to start at the page's own left gutter, which
   left a dead band the height of a card beside it. It carries the index instead: the section
   name and how many frames are in there, set vertically like a contact-sheet spine.
   aria-hidden because it says what the <h2> already said — it is a texture, not a heading. */
.deck__rail{display:none;position:absolute;left:clamp(12px,1.3vw,26px);top:50%;z-index:2;
  margin:0;translate:0 -50%;
  writing-mode:vertical-rl;rotate:180deg;      /* reads bottom-to-top */
  align-items:center;gap:14px;
  font:700 10.5px/1 var(--mono);letter-spacing:.34em;text-transform:uppercase;
  color:var(--ash);white-space:nowrap}
.deck__rail span:first-child{color:var(--pink-lo)}
.deck__rail i{flex:0 0 auto;width:1px;height:clamp(40px,7vw,86px);background:var(--line-hi)}
/* Only where there IS a gutter to fill: below this the rail runs edge to edge. */
@media (min-width:1180px){.deck__rail{display:flex}
  .deck__arw--l{left:clamp(64px,5.4vw,104px)}}

/* ==========================================================================
   45. PHOTO BANDS — a full-bleed photograph with the copy on a scrim.
   isolation:isolate keeps the layering local: the element's own background
   paints first (so there is never a flash of canvas before the photo decodes),
   then the photo, then the scrim, then the words.
   ========================================================================== */
.band{position:relative;z-index:2;isolation:isolate;display:flex;align-items:flex-end;
  overflow:hidden;background:var(--black);
  min-height:clamp(520px,82svh,860px);padding:clamp(80px,10vw,130px) 0 clamp(44px,6vw,86px)}
/* A floor, never a ceiling: the receipts band carries a headline, a lede, four stat tiles and
   four recap cards. Pinned to 92svh the copy was taller than the band and flex-end pushed the
   headline off the top of the screen — a band with a lot in it is as tall as what is in it. */
.band--tall{min-height:clamp(560px,74svh,760px)}
/* These are flash-lit party photographs: white walls, white fencing, white shirts. A ramp
   alone cannot make a stat tile legible over a bright shoulder on the far right of the frame,
   so the plate itself is brought down and the saturation nudged back up to keep the neon. */
.band__img{position:absolute;inset:0;z-index:0;width:100%;height:100%;
  object-fit:cover;object-position:62% 36%;filter:brightness(.74) saturate(1.08)}
/* hero-06 has four heads in the top 30%; the default 36% took the top of two of them off. */
#experience .band__img{object-position:50% 8%}
/* 2026-10-23: the client asked for the man in the white shirt to be cut, so hero-06 is now the
   left 69% of the frame (client-media.py) and nearly square. Full-bleed on a 2:1 band that zoomed
   it onto two faces; instead the photo slides right and the copy keeps the dark side — "drag it
   to the right", in the client's words. The mask stops the photo ending in a hard edge. */
@media (min-width:901px){
  #experience .band__img{left:auto;width:64%;object-position:50% 26%;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 34%);
    mask-image:linear-gradient(90deg,transparent,#000 34%)}
}
/* Two ramps. The vertical one seats the band against the black sections above and below; the
   horizontal one is what makes the copy readable, and it has to be heavy — these are flash-lit
   party photographs with white walls and white fencing in them, not a moody dark plate. */
.band::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(var(--surface-rgb),.92) 0,rgba(var(--surface-rgb),.8) 22%,rgba(var(--surface-rgb),.46) 44%,rgba(var(--surface-rgb),.2) 64%,rgba(var(--surface-rgb),.06) 82%,transparent 94%),
    linear-gradient(180deg,rgba(var(--surface-rgb),.72) 0,rgba(var(--surface-rgb),.16) 22%,rgba(var(--surface-rgb),.34) 66%,rgba(var(--surface-rgb),.95) 100%)}
.band__in{position:relative;z-index:2;width:100%}
.band__in > *{max-width:58ch}
/* Wider than the prose: at 58ch the four stat tiles wrapped 3 + 1 and the recap cards 3 + 1. */
.band__in > .stats,.band__in > .cards{max-width:min(780px,72%)}
.band h2,.band .lede,.band p{text-shadow:0 2px 24px rgba(var(--surface-rgb),.9)}
.band .panel{max-width:520px;background:rgba(var(--glass-rgb),.9);backdrop-filter:blur(7px)}
/* On a phone the photo is the whole screen and the copy sits on a bottom scrim, the same
   shape as the hero in §29 — so the two read as one page rather than two designs. */
@media (max-width:900px){
  .band{min-height:100svh;padding:96px 0 40px}
  /* The desktop cap is a percentage of the band, and 72% of a 390px phone is one column —
     the four stat tiles and the four recap cards each stacked into a single tall list. */
  .band__in > .stats,.band__in > .cards{max-width:none}
  .band::after{background:linear-gradient(180deg,
    rgba(var(--surface-rgb),0) 0%,rgba(var(--surface-rgb),.12) 16%,rgba(var(--surface-rgb),.7) 34%,
    rgba(var(--surface-rgb),.92) 52%,rgba(var(--surface-rgb),.98) 100%)}
  .band__img{object-position:50% 28%}
  /* Too much copy for a bottom scrim: it climbed into the clear top of the photo and sat on
     faces. Photo on top, fading into the page, and the copy below it on solid ground. */
  .band--stack{padding-top:50svh}
  .band--stack .band__img{bottom:auto;height:62svh}
  .band--stack::after{background:linear-gradient(180deg,rgba(var(--surface-rgb),0) 0,
    rgba(var(--surface-rgb),.1) 26svh,rgba(var(--surface-rgb),.92) 52svh,var(--black) 62svh)}
}

/* ==========================================================================
   46. THE VIEWER — one native <dialog> for every photo and reel on the page.
   ESC, the backdrop, the focus trap and returning focus to the tile you opened
   are the platform's job. The buttons are position:fixed rather than absolute:
   inside a dialog that is the viewport, so they cannot be pushed off the top
   by a tall portrait frame.
   ========================================================================== */
.lb{width:min(1080px,94vw);max-width:none;max-height:94svh;padding:0;border:0;
  background:transparent;color:var(--white);overflow:visible}
.lb::backdrop{background:rgba(4,2,8,.93)}
.lb__fig{display:flex;flex-direction:column;align-items:center;gap:13px;margin:0}
.lb__img,.lb__v{width:auto;max-width:100%;max-height:80svh;border-radius:var(--r);background:#000}
.lb__v{aspect-ratio:9 / 16}
.lb__cap{max-width:56ch;text-align:center;font:700 10.5px var(--mono);
  letter-spacing:.16em;text-transform:uppercase;color:var(--ash)}
.lb__x,.lb__nav{position:fixed;display:flex;align-items:center;justify-content:center;
  width:48px;height:48px;padding:0;cursor:pointer;border:1px solid var(--line);
  border-radius:999px;background:rgba(var(--surface-rgb),.75);color:var(--white);
  font:400 26px/1 var(--sans);transition:border-color .25s,color .25s}
.lb__x:hover,.lb__nav:hover{border-color:var(--pink);color:var(--pink)}
.lb__x{top:14px;right:14px}
.lb__nav{top:50%;translate:0 -50%}
.lb__nav--prev{left:14px}
.lb__nav--next{right:14px}
.lb--one .lb__nav{display:none}
@media (max-width:600px){
  .lb__nav{top:auto;bottom:14px;translate:none}
  .lb__img,.lb__v{max-height:74svh}
}

/* ==========================================================================
   47. THE FLYER, WITH A REAL PHOTOGRAPH IN IT (tier 3 only)
   §33's drawn version still exists and is still the fallback when no photos
   have been imported. When they have, the stand-in for the room is a picture
   of the room. The drawn light beams are switched off here — they are a
   substitute for a photograph, not a treatment to put on top of one.
   ========================================================================== */
.flyer--photo{display:flex;align-items:flex-end;padding:0;background:var(--black-2);
  aspect-ratio:4 / 5;max-height:min(66svh,620px)}
.flyer--photo::before{display:none}
.flyer__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:50% 34%}
.flyer__txt{position:relative;width:100%;padding:clamp(18px,2.6vw,30px);
  background:linear-gradient(180deg,transparent,rgba(var(--surface-rgb),.55) 34%,rgba(var(--surface-rgb),.94))}
.flyer--photo .flyer__t{margin-top:8px;text-shadow:0 2px 18px rgba(var(--surface-rgb),.9)}
@media (max-width:900px){.flyer--photo{aspect-ratio:3 / 4;max-height:46svh}}

/* ==========================================================================
   48. THE TWO FRONT DOORS — /creators/ and /sponsors/ (2026-10-24).
   Everything else on them is a part from above; these are their three layouts.
   ========================================================================== */
/* How it works: the numbered cards of .svc__list, four in a row. */
.steps{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1100px){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:820px){.steps{grid-template-columns:1fr}}
/* Who we look for (criteria beside the wristband fan) and the application (pitch beside the form). */
.split,.apply{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,5vw,72px);align-items:center}
.apply{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start}
.split .h-lg,.apply .h-lg{margin-bottom:24px}
.split .ticks,.apply .ticks{margin-top:26px}
/* The form's fields in pairs; the name, the message and the consent take the whole row. */
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
.field--full{grid-column:1 / -1}
@media (max-width:900px){.split,.apply{grid-template-columns:1fr}}
@media (max-width:560px){.fields{grid-template-columns:1fr}}
