/* Tokens. Colours are named after the LEE gels a lighting desk would use. */
:root{
  --black:#000000;
  --open-white:#FFF3DC;
  --amber:#F5B183;          /* LEE 162 Bastard Amber */
  --congo:#1E1466;          /* LEE 181 Congo Blue */
  --steel:#8C8F94;
  --dim:#2E2A26;
  --crew:#FFD400;           /* crew-pass yellow, laminates only */
  --text:#E9E1D2;
  --muted:#9A9184;
  /* Anybody (width 50-150, weight 100-900) carries every display role; Instrument Sans is the text face. Both SIL OFL. */
  --serif:'Anybody','Helvetica Neue',Arial,sans-serif;
  --sans:'Instrument Sans','Helvetica Neue',Arial,sans-serif;
  --wide:'Anybody','Helvetica Neue',Arial,sans-serif;
  --tall:'Anybody','Arial Narrow',sans-serif;
  --gutter:clamp(20px,5vw,72px);
  /* Type scale: the hero name (fitted by hero.js) is the one loud moment; every other heading uses --fs-display in
     the display cut. Text is 18 or 15. Anybody runs at 100% width; 125% is only the print on wristbands and the pass. */
  --fs-display:clamp(46px,6.4vw,104px);
  --fs-lead:clamp(28px,2.9vw,46px);
  --fs-text:18px;
  --fs-small:15px;
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-io:cubic-bezier(.65,0,.35,1);
  --k:.19;
  --floor:1000px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;color-scheme:dark}
::selection{background:var(--amber);color:#000}
.btn::selection{background:#1A0F06;color:var(--amber)}
body{margin:0;color:var(--text);font-family:var(--sans);font-weight:400;font-size:18px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden;background:linear-gradient(#000,#000) 0 0/100% var(--floor-start,0px) no-repeat,linear-gradient(180deg,#a49d92,#5c5850 2px,rgba(0,0,0,.55) 3px,transparent 16px) 0 var(--floor-start,0px)/100% 16px no-repeat,url('../img/floor-seams.webp') center var(--floor-start,0px)/var(--floor) auto repeat,url('../img/floor-hex.webp') 0 var(--floor-start,0px)/144px auto repeat,#232326}
img{max-width:none;display:block}
a{color:inherit}
/* no lone last word: headings and short list items balance, running text avoids a short last line. :where() keeps the specificity at zero so a class can still opt out;
   the hero name (fitted by hero.js on glyph ink) and the wristband names (sized to their band) stay out. */
:where(h2,h3,li):where(:not(.wb__name,.wb)){text-wrap:balance}
:where(p):where(:not(.wb__meta)){text-wrap:pretty}
main{display:block;overflow:clip}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* the e-mail address, drawn by core.js as a mask so it takes the link's colour (hover included) */
.mail__ink{display:inline-block;background:currentColor;-webkit-mask:var(--mail-ink) 0 0/100% 100% no-repeat;mask:var(--mail-ink) 0 0/100% 100% no-repeat}
.wordmark{margin:0;font-family:var(--sans);font-weight:600;font-size:var(--fs-small);letter-spacing:.01em}
.btn{display:inline-flex;align-items:center;min-height:48px;padding:14px 26px;border-radius:999px;background:var(--amber);color:#1A0F06;font-family:var(--sans);font-weight:600;font-size:var(--fs-small);text-decoration:none;transition:background-color .2s var(--ease-out),transform .2s var(--ease-out)}
@media (hover:hover) and (pointer:fine){.btn:hover{background:var(--open-white)}}
.btn:active{transform:scale(.97)}
.btn--li{--li:#0A66C2;justify-content:center;width:52px;height:52px;padding:0;background:rgba(10,102,194,.28);color:#fff;box-shadow:inset 0 0 0 2px var(--li)}
@media (hover:hover) and (pointer:fine){.btn--li:hover{background:var(--li)}}
:focus-visible{outline:2px solid var(--amber);outline-offset:4px}
.foot{position:relative;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;padding:28px var(--gutter);font-size:var(--fs-small);color:var(--muted);background:linear-gradient(180deg,transparent,rgba(0,0,0,.85))}
@media (max-width:640px){:root{--k:.13;--floor:640px}}

/* rig: rendered truss + PAR 64 cans + volumetric beams.
   Numbers are render pixels from rig.json; --k maps them to CSS px. */
.truss{height:calc(400px * var(--k));background:url('../img/rig/truss-h.webp') left center/auto 100% repeat-x}
.rig{position:absolute;left:0;right:0;top:0;height:calc(400px * var(--k));z-index:4;pointer-events:none}
.rig > .truss{position:absolute;inset:0}
.par{position:absolute;left:var(--x,50%);top:calc(273.64px * var(--k));width:0;height:0}
.par.flip{transform:scaleX(-1)}
.par.t0{--lx:0;--ly:376.39}
.par.t12{--lx:-29.27;--ly:373.38}
.par.t24{--lx:-57.27;--ly:364.49}
.par.t36{--lx:-82.76;--ly:350.09}
.par .can{position:absolute;left:calc(-280px * var(--k));top:calc(-81.33px * var(--k));width:calc(560px * var(--k));height:auto}
.par .beam{position:absolute;left:calc((var(--lx) - 3200) * var(--k) * 1px);top:calc((var(--ly) - 200) * var(--k) * 1px);width:calc(6400px * var(--k));height:auto;animation:cue var(--dur,10s) ease-in-out var(--del,0s) infinite;will-change:opacity}
.par .glow{position:absolute;left:calc(var(--lx) * var(--k) * 1px);top:calc(var(--ly) * var(--k) * 1px);width:calc(420px * var(--k));height:calc(240px * var(--k));transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(255,236,200,.85),rgba(255,176,90,.35) 45%,transparent);animation:cue var(--dur,10s) ease-in-out var(--del,0s) infinite}
@keyframes cue{0%,100%{opacity:1}38%{opacity:.62}55%{opacity:.8}}
.off *{animation-play-state:paused!important}

/* light pools on the stage floor */
.pool{position:absolute;left:var(--px);top:var(--py);width:var(--pw);height:var(--ph);transform:translate(-50%,-50%);pointer-events:none;border-radius:50%;background:radial-gradient(closest-side,rgba(255,196,130,.95),rgba(255,160,80,.45) 42%,rgba(255,150,70,0) 100%);mix-blend-mode:overlay}
.pool::after{content:"";position:absolute;inset:12%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,190,120,.16),transparent);mix-blend-mode:screen}
/* the sticky stage is its own stacking context, so a blend there has no floor to mix with */
.pool--stage{mix-blend-mode:normal;background:radial-gradient(closest-side,rgba(255,180,100,.22),rgba(255,160,80,.08) 55%,transparent)}
.pool--stage::after{display:none}

/* cutouts: one treatment everywhere — warm rim from the rig, soft fade where the photo was cut */
.cut{display:block;height:auto;user-select:none;-webkit-user-drag:none}
.cutwrap{position:relative;filter:drop-shadow(-12px -6px 28px rgba(255,170,80,.28)) drop-shadow(0 30px 40px rgba(0,0,0,.45))}

/* print: plain paper. The stage (rig, floor, photos, wristband material, pass) is left out; the content stays, in reading
   order, with every line showing. Each section's own sheet ends with its print rules, so a dropped section takes them
   along. Everything is !important: it has to beat the screen rules and the hidden start states GSAP and .js set inline. */
@page{margin:16mm 18mm}
@media print{
  :root{color-scheme:light!important}
  *,*::before,*::after{animation:none!important;transition:none!important;filter:none!important;box-shadow:none!important;text-shadow:none!important;mix-blend-mode:normal!important;-webkit-mask:none!important;mask:none!important;background:none!important;color:#000!important;opacity:1!important;visibility:visible!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;clip-path:none!important}
  html,body{height:auto!important;overflow:visible!important;background:#fff!important}
  body{font-size:10.5pt!important;line-height:1.45!important}
  main{overflow:visible!important}
  a{text-decoration:none!important}
  section,.pin-spacer{position:static!important;display:block!important;inset:auto!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important}
  h1,h2,h3,p,li{margin:0!important;padding:0!important;font-family:var(--sans)!important;font-stretch:100%!important;letter-spacing:0!important;text-transform:none!important;orphans:3!important;widows:3!important}
  h1,h2,h3{break-after:avoid!important}
  li{list-style:none!important}
  h2{margin:20pt 0 6pt!important;font-family:var(--serif)!important;font-weight:600!important;font-size:14pt!important;line-height:1.2!important;letter-spacing:0!important}

  .foot{display:flex!important;justify-content:space-between!important;gap:12pt!important;margin-top:20pt!important;padding:8pt 0 0!important;border-top:.4pt solid #888!important;font-size:9pt!important}

  .btn,button,canvas,svg,.rig,.truss,.par,.pool,.mail__ink{display:none!important}
}
