/* ============================================================
   WILKINSON PRESENTS NIRVA
   Gunnersbury Park, London. Sunday 15 August 2027.
   Presale Thursday 26 November 2026, 10am; general sale 2pm.
   Sign-up. Client: Louder Entertainment (named party Wilkinson Music Ltd).

   DIRECTION - the night shoot, unboxed. (Background swapped 16 Nov to Sam
   Neill's live stage shot at the client's request; notes below describe the
   original cave photograph.)
   The client supplied one photograph (Wilkinson at his synths in a snowing
   cave under a black sky), cut wide and tall, plus the wordmark. The 2025
   Nirva overlays fix the typography: white wordmark, tracked "presents",
   chrome NIRVA, tracked "a brand new show", condensed caps facts. So:
   - the photograph IS the page: full-bleed on desktop, the lockup stands on
     its left in the dark with no box; on phones the lockup sits in the black
     sky at the top of the tall cut and the artist shows beneath it.
   - NIRVA is set in the logo's own white (Adam, 16 Nov), so the lockup reads
     as one mark; the chrome lives on only in the countdown digits and CTA.
   - the countdown is the only other loud thing: chrome digits.

   COLOUR - literal pixels:
     #030605  night      the sky (background-desktop.png, upper right)
     #0A0D10  slab       night, a touch lifted (panel)
     #F2F4F5  snow       lamp-lit snow - facts, typed text
     #A6B6C4  chrome     NIRVA's mid tone (median of opaque pixels)
     #C6D0DA  chrome-hi  NIRVA 70th percentile - second title lines
     #889DB1  chrome-lo  NIRVA 10th percentile - gradient shadow only
     #C4CBD2  mist       reading text on slab
   Snow on slab 18.4:1. Chrome-hi on slab 12.6:1. Mist on slab 11.9:1.
   Mist-dim (#8D97A1) on slab 6.6:1. Night on the chrome CTA >= 9:1.

   TYPE - Bebas Neue (facts, titles, countdown, CTA: the condensed caps of
   the 2025 overlays; its digits are all one advance, so the clock never
   jitters) + Jost (the tracked small lines and reading text). Both OFL.
   ============================================================ */

@font-face {
  font-family: "Bebas Neue";
  src: url("/assets/fonts/BebasNeue.woff2?v=20261116-9") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/Jost-var.woff2?v=20261116-9") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --night:     #030605;
  --slab:      #0A0D10;
  --panel:     #090C0F;   /* country dropdown */
  --field:     #05080A;   /* form field - OPAQUE on purpose, see autofill note */
  --snow:      #F2F4F5;
  --chrome:    #A6B6C4;
  --chrome-hi: #C6D0DA;
  --chrome-lo: #889DB1;
  --mist:      #C4CBD2;
  --mist-dim:  #8D97A1;
  --danger:    #FFA897;
  --whatsapp:  #25D366;
  --line:      rgba(196,203,210,.18);

  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font:    "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --panel-w: 420px;

  /* STACKED layouts (phones, portrait tablets) are sized from the window HEIGHT:
     --H is the first screen minus --peek, so the top of the sign-up box is
     always visible before scrolling (Adam, 16 Nov). The lockup takes ~55% of
     --H (its height is ~1.52 x its width), the photograph's artist the rest.
     --ih = on-screen height of the tall cut (1080 x 2532) at full width. */
  --peek: 150px;
  --H: calc(100vh - var(--peek));
  --ih: calc(100vw * 2.3444);
  --lock-w: min(calc(100vw - 2 * var(--gutter)), max(170px, min(300px, calc(var(--H) * .36 - 16px))));
}

*, *::before, *::after { box-sizing: border-box; }

/* The `hidden` attribute is only display:none in the UA stylesheet, the weakest
   layer of the cascade, so ANY author rule that sets display beats it. Keep this
   rule ABOVE everything that sets display, and never remove it. */
[hidden] { display: none !important; }

/* Ground colour lives on html, NOT body (gotcha 16). */
html {
  -webkit-text-size-adjust: 100%;
  background: var(--night);
}
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font);
  font-synthesis: none;
  color: var(--snow);
  background: transparent;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Desktop + landscape-phone photograph. Unused (display:none) on stacked
   layouts, where the tall cut sits on .scene instead. */
.bg { display: none; }

/* clip, not hidden: hidden on one axis forces the other to auto and would
   clip the country dropdown. */
@supports (height: 100svh) { :root { --H: calc(100svh - var(--peek)); } }

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

/* ============================================================
   STAGE - base = phones + portrait tablets: the first screen is the scene
   (lockup at the top, the stage below it) at --H tall, and the panel rides
   36px up over its foot. Photo = Sam Neill's live shot (16 Nov, client
   request), 5334x3810. Scaled to --S = 1.27 x --H and BOTTOM-anchored with
   its bottom 15% (crowd) cropped, so the decks (photo y ~0.63) land at ~72%
   of --H, under the lockup, at every phone and tablet size; the photo is
   always wider than the screen (1.78 x --H) and centred on the decks. The
   beams behind the lockup are bright, hence the strong top scrim.
   ============================================================ */
.stage {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 var(--gutter);
}
.scene {
  --S: calc(var(--H) * 1.27);
  width: 100%;
  min-height: calc(var(--H) + 36px);
  padding: 24px var(--gutter) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    linear-gradient(0deg, var(--night) 0, rgba(3,6,5,0) 110px) 0 0 / 100% 100% no-repeat,
    linear-gradient(180deg, rgba(3,6,5,.8) 0, rgba(3,6,5,.66) 42%, rgba(3,6,5,.2) 62%, rgba(3,6,5,0) 72%) 0 0 / 100% 100% no-repeat,
    url("/assets/images/bg-stage.jpg?v=20261116-9") center bottom calc(var(--S) * -.15) / auto var(--S) no-repeat;
  background:
    linear-gradient(0deg, var(--night) 0, rgba(3,6,5,0) 110px) 0 0 / 100% 100% no-repeat,
    linear-gradient(180deg, rgba(3,6,5,.8) 0, rgba(3,6,5,.66) 42%, rgba(3,6,5,.2) 62%, rgba(3,6,5,0) 72%) 0 0 / 100% 100% no-repeat,
    image-set(url("/assets/images/bg-stage.webp?v=20261116-9") type("image/webp"), url("/assets/images/bg-stage.jpg?v=20261116-9") type("image/jpeg")) center bottom calc(var(--S) * -.15) / auto var(--S) no-repeat;
}
.scene__gap { display: none; }

/* ============================================================
   LOCKUP - sized in container units, so it is one drawing at any width.
   The container has a DEFINITE width (never auto) - gotcha 35.
   ============================================================ */
.lockup {
  width: var(--lock-w);
  container-type: inline-size;
  text-align: center;
}
.lockup__logo { display: block; width: 100%; height: auto; }
.lockup__small {
  margin: 4.2cqw 0 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 3.6cqw;
  line-height: 1;
  letter-spacing: .5em;
  text-indent: .5em;               /* tracking pads the right; re-centre */
  text-transform: uppercase;
  color: var(--mist);
}
.lockup__title {
  position: relative;
  width: 66%;
  margin: 1.4cqw auto 0;
  line-height: 0;
}
.lockup__title img { display: block; width: 100%; height: auto; }
/* NIRVA is flat logo white since 16 Nov (Adam), so the chrome sheen sweep is gone. */
.lockup__facts {
  margin: 5cqw 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 10.6cqw;
  line-height: .98;
  color: var(--snow);
}

/* ---------- countdown: chrome digits ---------- */
.count { margin: 6cqw 0 0; }
.count__label {
  margin: 0;
  font-family: var(--display);
  font-size: 6.4cqw;
  line-height: 1;
  letter-spacing: .03em;
  color: var(--snow);
}
.count__clock {
  display: flex;
  justify-content: center;
  gap: 2.4cqw;
  margin: 2.4cqw 0 0;
}
.count__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 19cqw;
  padding: 2cqw 0 1.6cqw;
  border-top: 1px solid rgba(198,208,218,.38);
  border-bottom: 1px solid rgba(198,208,218,.38);
}
.count__num {
  font-family: var(--display);
  font-size: 15cqw;
  line-height: .9;
  color: var(--chrome);            /* flat steel blue: chrome effect retired (Adam, 16 Nov) */
}
.count__cap {
  margin-top: 1.2cqw;
  font-family: var(--font);
  font-weight: 500;
  font-size: 3cqw;
  line-height: 1;
  letter-spacing: .18em;
  color: var(--mist);
}
.count__when {
  margin: 2.6cqw 0 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 3.7cqw;
  color: var(--mist);
}
.count__gen {
  margin: .8cqw 0 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 3.7cqw;
  color: var(--chrome);
}
.count[data-phase="onsale"] .count__label { font-size: 9cqw; }

/* ============================================================
   SIGN-UP PANEL - a night slab with a flat hairline border (the chrome
   gradient was retired, Adam 16 Nov). Never a pseudo-element frame: that can
   cover the country dropdown (gotcha 5).
   ============================================================ */
.signup {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--panel-w);
  margin-top: -36px;
  position: relative;
  z-index: 2;
}
.panel {
  width: 100%;
  position: relative;
  color: var(--mist);
  /* Solid slab + plain border. NOT the layered padding-box/border-box
     background trick: Safari intermittently dropped the padding-box slab on
     refresh (Adam's screenshot, 16 Nov) and the photo showed through. */
  background-color: #0A0D10;
  border: 1px solid rgba(196,203,210,.32);
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.9);
}
.panel__inner {
  position: relative;
  z-index: 1;
  padding: 24px clamp(22px, 3vw, 34px) 28px;
}

/* --- state machine (app.js flips data-form-state on .panel) --- */
.panel__state { display: none; }
.panel[data-form-state="idle"]    .panel__idle    { display: block; }
.panel[data-form-state="otp"]     .panel__otp     { display: block; }
.panel[data-form-state="success"] .panel__success { display: block; }

/* ============================================================
   STEP SPINE - numbered because it IS a sequence:
   form -> SMS code -> email confirm.
   ============================================================ */
.spine {
  display: flex;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.spine__step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 6px 8px;
  font-weight: 600;
  font-size: 12px;
  color: var(--mist-dim);
  transition: color .25s ease, background-color .25s ease;
}
.spine__step + .spine__step { border-left: 1px solid var(--line); }
.spine__n {
  flex: 0 0 auto;
  width: 17px; height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
}
.spine__t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.panel[data-form-state="idle"]    .spine__step:nth-child(1),
.panel[data-form-state="otp"]     .spine__step:nth-child(2),
.panel[data-form-state="success"] .spine__step:nth-child(3) {
  color: var(--snow);
  background: rgba(198,208,218,.10);
}
.panel[data-form-state="idle"]    .spine__step:nth-child(1) .spine__n,
.panel[data-form-state="otp"]     .spine__step:nth-child(2) .spine__n,
.panel[data-form-state="success"] .spine__step:nth-child(3) .spine__n {
  background: var(--chrome-hi);
  border-color: var(--chrome-hi);
  color: var(--night);
}
.panel[data-form-state="otp"]     .spine__step:nth-child(1),
.panel[data-form-state="success"] .spine__step:nth-child(1),
.panel[data-form-state="success"] .spine__step:nth-child(2) {
  color: var(--chrome);
}
.panel[data-form-state="otp"]     .spine__step:nth-child(1) .spine__n,
.panel[data-form-state="success"] .spine__step:nth-child(1) .spine__n,
.panel[data-form-state="success"] .spine__step:nth-child(2) .spine__n {
  font-size: 0;                    /* hide the digit, keep the ring */
  border-color: var(--chrome);
}
.panel[data-form-state="otp"]     .spine__step:nth-child(1) .spine__n::after,
.panel[data-form-state="success"] .spine__step:nth-child(1) .spine__n::after,
.panel[data-form-state="success"] .spine__step:nth-child(2) .spine__n::after {
  content: "";
  width: 7px; height: 4px;
  border: 1.5px solid var(--chrome);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}
@media (max-width: 400px) {
  .spine__step { font-size: 11px; gap: 5px; padding: 8px 3px 7px; }
  .spine__n { width: 15px; height: 15px; }
}

/* ============================================================
   PANEL COPY - house title pattern in the overlays' condensed caps.
   ============================================================ */
.panel__title {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 9vw, 2.5rem);
  line-height: .94;
  letter-spacing: .01em;
  color: var(--snow);
  text-wrap: balance;
}
.panel__title em { font-style: normal; color: var(--chrome); }
.panel__lede {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--mist);
  max-width: 46ch;
}
.panel__lede--last { margin-bottom: 20px; }
.panel__lede--small { font-size: 13.5px; color: var(--mist-dim); margin-top: -6px; }
.panel__lede strong { color: var(--snow); font-weight: 600; }
.panel__success-note { margin: 0 0 12px; color: var(--chrome-hi); font-size: 14.5px; }

/* ============================================================
   FORM
   ============================================================ */
.form__row { margin: 0 0 12px; }
/* labels stay for screen readers; placeholders carry the meaning visually */
.form__label {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form__input {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font);
  font-size: 16px;                 /* 16px minimum or iOS zooms on focus */
  color: var(--snow);
  background: var(--field);        /* OPAQUE - see the autofill rule below */
  border: 1px solid rgba(196,203,210,.30);
  border-radius: 2px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form__input::placeholder { color: var(--mist-dim); opacity: 1; }
.form__input:focus {
  outline: none;
  border-color: var(--chrome-hi);
  box-shadow: 0 0 0 3px rgba(198,208,218,.24);
}
.form__input--otp {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .42em;
  text-align: center;
  text-indent: .42em;              /* re-centres text that tracking pushes left */
}

/* Chrome paints autofilled inputs pale lavender and IGNORES background on
   :-webkit-autofill - a huge inset box-shadow is the only reliable override.
   It must be the flattened OPAQUE colour of the field, which is simply --field
   because the field is opaque on purpose. Keep it opaque. */
.form__input:-webkit-autofill,
.form__input:-webkit-autofill:hover,
.form__input:-webkit-autofill:focus,
.form__input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--field) inset !important;
          box-shadow: 0 0 0 1000px var(--field) inset !important;
  -webkit-text-fill-color: var(--snow) !important;
  caret-color: var(--snow);
  transition: background-color 9999s ease-in-out 0s;   /* stops the lavender flashing in */
}

.form__error { margin: 7px 0 0; font-size: 13px; color: var(--danger); }
.form__error--global { margin-top: 14px; }

/* Honeypot. display:none ONLY - off-screen positioning stays an autofill
   target in Chrome/Edge, which fills it and silently blocks real signups. */
.hp-row { display: none !important; }

.form__row--check { margin: 16px 0 18px; }
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mist);
  cursor: pointer;
}
.form__check input {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin: 1px 0 0;
  accent-color: var(--chrome-hi);
  cursor: pointer;
}
/* Privacy line under the marketing tick box (kept out of the consent box itself). */
.form__note { margin: 10px 0 0 29px; font-size: 12px; line-height: 1.5; color: var(--mist); }
.form__note a { color: var(--snow); text-decoration: underline; text-underline-offset: 2px; }
.form__note a:hover { color: var(--chrome-hi); }

.form__resend {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--mist-dim);
  text-align: center;
}
.form__resend-btn {
  font: inherit;
  color: var(--chrome-hi);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.form__resend-btn:disabled { color: var(--mist-dim); cursor: default; text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px 11px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 5.6vw, 1.45rem);
  line-height: 1;
  letter-spacing: .05em;
  white-space: nowrap;             /* shrink the type before it can ever wrap */
  text-align: center;
  text-decoration: none;           /* <a class="btn"> needs this */
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: transform .12s ease, filter .18s ease, background-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
/* The CTA: flat steel blue with night ink, 9.9:1 (chrome retired, Adam 16 Nov). */
.btn--primary {
  color: var(--night);
  background: var(--chrome);
}
.btn--primary:hover:not(:disabled) { background: var(--chrome-hi); }
.btn:focus { outline: none; }
.btn:focus-visible { outline: 2px solid var(--snow); outline-offset: 3px; }
.form__input:focus-visible { outline: none; }
.form__resend-btn:focus-visible,
.form__note a:focus-visible,
.foot a:focus-visible { outline: 2px solid var(--chrome-hi); outline-offset: 3px; }

/* WhatsApp: dark slab, green hairline, a solid green chip carrying the glyph. */
.btn--whatsapp {
  position: relative;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 6px;
  padding: 0 14px 0 0;
  min-height: 52px;
  color: var(--snow);
  background: #0A1A14;
  border: 1px solid var(--whatsapp);
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(.84rem, 3.5vw, .95rem);
  letter-spacing: .02em;
}
.btn--whatsapp .btn__icon {
  align-self: stretch;
  width: 46px;
  height: auto;
  padding: 0 13px;
  color: #06301A;                  /* 7.33:1 on the WhatsApp green */
  background: var(--whatsapp);
  box-sizing: border-box;
  flex: 0 0 auto;
}
.btn--whatsapp .btn__text { flex: 1 1 auto; text-align: center; padding-right: 4px; }
.btn--whatsapp:hover { background: #0E2A1D; }
.btn--whatsapp:focus-visible { outline: 2px solid var(--snow); outline-offset: 4px; }
/* narrow phones: let the label wrap to two lines rather than touch the edge */
@media (max-width: 359px) {
  .btn--whatsapp { white-space: normal; line-height: 1.2; padding-top: 8px; padding-bottom: 8px; }
}

.wa-hook { margin: 18px 0 12px; font-size: 13.5px; color: var(--mist); }
.wa-hook strong { color: var(--snow); font-weight: 600; }

/* ============================================================
   intl-tel-input v25
   ============================================================ */
.iti { width: 100%; display: block; }
/* app.js re-measures and sets padding-left inline; this is the sane default
   before it runs. Anything >= 80px breaks 320-390px viewports. */
.iti input.form__input { padding-left: calc(52px + 0.7rem); }
.iti__country-container { z-index: 3; }
.iti--inline-dropdown .iti__dropdown-content { z-index: 50; }
/* Until the vendor stylesheet loads, the hidden state does not exist and the
   whole list plus search box flashes open on first paint. */
.iti__dropdown-content.iti__hide { display: none !important; }
.iti__dropdown-content {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 2px;
  box-shadow: 0 26px 56px -18px rgba(0,0,0,.94);
  overflow: hidden;
}
.iti__search-input {
  /* Keep the vendor's horizontal padding reservation (30px left for the search
     icon, 28px right for the clear button). A padding SHORTHAND that drops them
     puts the magnifier on top of the placeholder. */
  padding: 10px 30px 10px 32px;
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  color: var(--snow);
  background: var(--field);
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.28);
}
.iti__search-input::placeholder { color: var(--mist-dim); }
.iti__search-input:focus { outline: none; background: #0E1216; }
.iti__country-list { background: var(--panel); max-height: 240px; }
.iti__country {
  padding: 9px 12px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--snow);
}
.iti__country:hover,
.iti__country.iti__highlight { background: rgba(198,208,218,.16); }
.iti__dial-code { color: var(--mist-dim); }
.iti__country-name { color: var(--snow); }
.iti__selected-country { border-radius: 2px 0 0 2px; }
.iti__selected-country:hover,
.iti__selected-country-primary:hover { background: rgba(198,208,218,.14); }
.iti__selected-dial-code { color: var(--snow); font-family: var(--font); font-size: 15px; }
.iti__arrow { border-top-color: var(--mist-dim); }
.iti__arrow--up { border-bottom-color: var(--mist-dim); }

/* ============================================================
   FOOTER - fleet pattern, credit in a pill, on the night.
   ============================================================ */
.foot {
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: 14px var(--gutter) 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.foot__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot__legal { margin: 0; font-size: 12.5px; color: var(--mist); }
.foot__legal a { color: var(--mist); text-decoration: none; }
.foot__legal a:hover { color: var(--chrome-hi); }
/* Ticket terms | Privacy | (louder-consent.js adds "Cookie settings" after
   the privacy link with only a text space between them) */
.foot__links a + a,
.foot__legal [data-louder-consent-open] {
  margin-left: .75em;
  padding-left: .85em;
  border-left: 1px solid rgba(196,203,210,.4);
}
.site-built { margin: 0; }
.site-built a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(196,203,210,.32);
  border-radius: 999px;
  font-size: 12px;
  color: var(--mist);
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.site-built a:hover { border-color: var(--chrome-hi); }
.site-built img { display: block; opacity: .9; }

@media (max-width: 899px) {
  .foot { justify-content: center; text-align: center; }
  .foot__right { justify-content: center; }
}
@media (max-width: 480px) {
  .foot { flex-direction: column; align-items: center; gap: 10px; padding-bottom: 22px; }
  .foot__right { flex-direction: column; align-items: center; gap: 10px; }
}

/* Portrait tablets and other stacked windows >= 560 wide: same scene maths,
   a larger lockup and more air above it. */
@media (min-width: 560px) {
  :root { --lock-w: min(calc(100vw - 2 * var(--gutter)), max(240px, min(420px, calc(var(--H) * .36 - 16px)))); }
  .scene { padding-top: 40px; }
}

/* ============================================================
   TWO-UP (>= 900 wide, >= 5/4, >= 521 tall: genuinely landscape screens only,
   per the 13 Nov size-sweep rule; everything else stacks): the photograph full-bleed,
   the lockup unboxed on its dark left, the artist free in the middle, the
   panel on the right. One screen, no scroll.
   The lockup and panel tracks are DEFINITE, never auto (gotcha 35).
   The left scrim is what the type needs over the lit smoke on the left of
   the stage photo; the decks stay centred between lockup and panel.
   ============================================================ */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) and (min-height: 521px) {
  :root {
    --pl: clamp(24px, 4.5vw, 84px);
    --pr: clamp(24px, 5vw, 96px);
    --vh: max(100vh, 680px);
    --lock-w: min(30vw, 430px, calc((var(--vh) - 120px) / 1.62));
  }
  @supports (height: 100svh) { :root { --vh: max(100svh, 680px); } }
  .bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(3,6,5,.84) 0, rgba(3,6,5,.66) calc(var(--pl) + var(--lock-w) * .8), rgba(3,6,5,0) calc(var(--pl) + var(--lock-w) + 14vw)),
      linear-gradient(0deg, rgba(3,6,5,.75) 0, rgba(3,6,5,0) 16%),
      url("/assets/images/bg-stage.jpg?v=20261116-9") 50% 68% / cover no-repeat;
    background:
      linear-gradient(90deg, rgba(3,6,5,.84) 0, rgba(3,6,5,.66) calc(var(--pl) + var(--lock-w) * .8), rgba(3,6,5,0) calc(var(--pl) + var(--lock-w) + 14vw)),
      linear-gradient(0deg, rgba(3,6,5,.75) 0, rgba(3,6,5,0) 16%),
      image-set(url("/assets/images/bg-stage.webp?v=20261116-9") type("image/webp"), url("/assets/images/bg-stage.jpg?v=20261116-9") type("image/jpeg")) 50% 68% / cover no-repeat;
  }
  .page { position: relative; height: var(--vh); }
  .stage {
    flex: none;
    height: var(--vh);
    display: grid;
    grid-template-columns: var(--lock-w) minmax(0, 1fr) var(--panel-w);
    align-items: center;
    padding: 0 var(--pr) 44px var(--pl);
  }
  .scene { grid-column: 1; padding: 0; background: none; min-height: 0; }
  .scene__gap { display: none; }
  .signup { grid-column: 3; width: var(--panel-w); max-width: none; margin-top: 0; }
  /* the footer lies over the foot of the stage, so the page never scrolls */
  .foot { position: absolute; left: 0; right: 0; bottom: 0; }
}

/* --- landscape phones are a first-class layout (gotcha 27) ---
   844x390, 932x430, 667x375: the photograph behind, lockup small on the left,
   panel compact and top-aligned, the page scrolls. Placed LAST so it wins at
   equal specificity. */
@media (min-width: 560px) and (min-aspect-ratio: 7/10) and (max-height: 520px) {
  :root {
    --pl: var(--gutter);
    --pr: var(--gutter);
    --panel-w: 360px;
    --lock-w: min(34vw, 290px);
  }
  .bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(3,6,5,.86) 0, rgba(3,6,5,.6) 40%, rgba(3,6,5,.2) 70%),
      url("/assets/images/bg-stage.jpg?v=20261116-9") 50% 68% / cover no-repeat;
    background:
      linear-gradient(90deg, rgba(3,6,5,.86) 0, rgba(3,6,5,.6) 40%, rgba(3,6,5,.2) 70%),
      image-set(url("/assets/images/bg-stage.webp?v=20261116-9") type("image/webp"), url("/assets/images/bg-stage.jpg?v=20261116-9") type("image/jpeg")) 50% 68% / cover no-repeat;
  }
  .page { position: static; height: auto; min-height: 100svh; }
  .stage {
    flex: 1 0 auto;
    height: auto;
    display: grid;
    grid-template-columns: var(--lock-w) minmax(0, 1fr) var(--panel-w);
    align-items: start;
    padding: 14px var(--pr) 12px var(--pl);
  }
  .scene { grid-column: 1; padding: 6px 0 0; background: none; min-height: 0; }
  .scene__gap { display: none; }
  .signup { grid-column: 3; width: var(--panel-w); max-width: none; margin-top: 0; }
  .panel__inner { padding: 16px 20px 18px; }
  .spine { margin-bottom: 12px; }
  .spine__step { padding: 6px 4px 5px; font-size: 11px; }
  .panel__title { font-size: 1.8rem; margin-bottom: 8px; }
  .panel__lede { font-size: 13.5px; margin-bottom: 12px; }
  .form__row { margin-bottom: 9px; }
  .form__input { padding: 10px 12px; }
  .form__row--check { margin: 10px 0 12px; }
  .btn:not(.btn--whatsapp) { padding: 11px 16px 9px; }
  .btn--whatsapp { min-height: 46px; }
  .foot { position: static; padding-top: 6px; }
}
