/* ============================================================
   20 YEARS OF SYMMETRY - BRISTOL
   Sawmills, Bristol. Saturday 10 April 2027, 14:00-22:00.
   Sign-up. Client: Louder Entertainment (named party Symmetry Recordings Ltd).
   Built 26 Nov 2026 from the London site (same brand, same structure).

   DIRECTION - the poster, unboxed (London method, Adam 26 Nov: "full screen like
   20yearsofsymmetry.com"). The page IS the poster: .bg is one wide canvas of the
   poster's own art (plate with the type removed, recoloured to the true grade, its
   streak ground extended edge to edge), and the type layer (.bill, the h1) sits on
   it in register. --s is "one PSD pixel" on screen; .bg and .bill both scale by it.
   Desktop canvas 5400 x 3000, plate at (1700, 560), type layer 1311 x 1779 with its
   origin at (1765, 630). Phones: plate full width at (0, 0), type at (65, 70).
   Numbers live in tools/build_canvas.py: change them there and here together.
   - The panel carries the only ornament: a hairline in the symbol's own
     ember-to-flare range, which turns once on load and stops.

   COLOUR - literal pixels of SYM-BRISTOL-4x5.jpg:
     #1C0D0C  ground  background median
     #120807  slab    panel
     #F9AE40  amber   the symbol's lit faces - CTA, second title line
     #F07A2E  ember   orange faces, lifted for text - completed steps
     #D54618  oxide   the symbol's shadow side - spectrum only
     #FEE472  flare   the hottest highlights - spectrum + hover
   Ink on amber 10.9:1. Amber on slab 10.3:1. Ember on slab 6.9:1.

   TYPE - Special Gothic (OFL), as London: Expanded One for titles and the CTA,
   the variable text cut for reading.
   ============================================================ */

@font-face {
  font-family: "Special Gothic Expanded";
  src: url("/assets/fonts/SpecialGothicExpanded.woff2?v=20261126-2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Special Gothic";
  src: url("/assets/fonts/SpecialGothic.woff2?v=20261126-2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

/* the spectrum's angle has to be a registered property to animate */
@property --turn {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --ground:   #1C0D0C;
  --ink:      #120807;   /* panel slab */
  --panel:    #0E0605;   /* country dropdown */
  --field:    #0A0404;   /* form field - OPAQUE on purpose, see autofill note */
  --amber:    #F9AE40;
  --amber-hi: #FEC867;
  --ember:    #F07A2E;
  --oxide:    #D54618;
  --flare:    #FEE472;
  --paper:    #FBF2EC;
  --mist:     #DCCDC6;
  --mist-dim: #A3918A;
  --danger:   #FFA897;
  --whatsapp: #25D366;
  --line:     rgba(220,205,198,.18);

  --display: "Special Gothic Expanded", "Arial Black", Arial, sans-serif;
  --font:    "Special Gothic", "Helvetica Neue", Helvetica, Arial, sans-serif;

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

  /* one poster pixel. Stacked layouts: poster up to 640 wide. */
  --s:  calc(min(100vw, 640px) / 1440);
  --tw: calc(var(--s) * 1311);        /* width of the type layer */
}

*, *::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(--ground) url("/assets/images/grain.png?v=20261126-2");
}
body {
  position: relative;              /* .bg is absolute against the whole document */
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font);
  font-synthesis: none;            /* Expanded One has one weight: never fake a bold */
  color: var(--paper);
  background: transparent;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* The poster's own background. absolute, never fixed: it scrolls with the type
   so they stay in register, and it reaches behind Safari's floating toolbar
   (gotcha 39). Preloads in index.html mirror these queries exactly. */
.bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image: url("/assets/images/bg-desktop.jpg?v=20261126-2");
  background-image: image-set(url("/assets/images/bg-desktop.webp?v=20261126-2") type("image/webp"), url("/assets/images/bg-desktop.jpg?v=20261126-2") type("image/jpeg"));
  background-size: auto calc(var(--s) * 3000);
  background-position: calc((100vw - var(--tw)) / 2 - var(--s) * 1765) calc(var(--s) * -560);
}
/* Phones: the tall canvas, plate full width at its top edge. */
@media (max-width: 559px) {
  :root { --s: calc(100vw / 1440); }
  .bg {
    background-image: url("/assets/images/bg-mobile.jpg?v=20261126-2");
    background-image: image-set(url("/assets/images/bg-mobile.webp?v=20261126-2") type("image/webp"), url("/assets/images/bg-mobile.jpg?v=20261126-2") type("image/jpeg"));
    background-size: 100% auto;
    background-position: 0 0;
  }
}

/* clip, not hidden: hidden on one axis forces the other to auto and would
   clip the country dropdown. */
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

/* ============================================================
   STAGE - base = phones / portrait: poster, then the sign-up below.
   ============================================================ */
.stage {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 var(--gutter);
}

/* The type layer is the h1; its alt carries the whole billing. */
.bill {
  width: var(--tw);
  margin: calc(var(--s) * 70) 0 calc(var(--s) * 60);
}
.bill picture, .bill img { display: block; width: 100%; height: auto; }

/* ============================================================
   SIGN-UP PANEL - a slab with a spectrum hairline.
   The hairline is a background on .panel itself (padding-box slab over a
   border-box conic), never a pseudo-element frame or a clip-path: either of
   those can cover or clip the country dropdown (gotcha 5).
   ============================================================ */
.signup {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--panel-w);
  position: relative;
  z-index: 2;
}
.panel {
  --turn: 0deg;
  width: 100%;
  position: relative;
  color: var(--mist);
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--ink), var(--ink)) padding-box,
    conic-gradient(from var(--turn) at 62% 38%, var(--amber) 0deg, var(--ember) 70deg, var(--oxide) 130deg, var(--flare) 168deg, var(--amber) 196deg, var(--amber-hi) 250deg, var(--ember) 310deg, var(--amber) 360deg) border-box;
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.85);
  animation: aperture 1.8s cubic-bezier(.16,.8,.24,1) .15s both;
}
/* The one load moment: the spectrum makes one turn and stops. */
@keyframes aperture {
  from { --turn: -300deg; }
  to   { --turn: 0deg; }
}
@media (prefers-reduced-motion: reduce) {
  .panel { animation: none; }
}
.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: 3px;
  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: 700;
  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(--paper);
  background: rgba(249,174,64,.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(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.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(--ember);
}
.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(--ember);
}
.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(--ember);
  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
   ============================================================ */
.panel__lede {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--mist);
  max-width: 46ch;
}
.panel__lede--last { margin-bottom: 20px; }
.panel__lede strong { color: var(--paper); font-weight: 700; }
.panel__success-note { margin: 0 0 12px; color: var(--ember); 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(--paper);
  background: var(--field);        /* OPAQUE - see the autofill rule below */
  border: 1px solid rgba(220,205,198,.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(--ember);
  box-shadow: 0 0 0 3px rgba(255,255,255,.22);
}
.form__input--otp {
  font-weight: 700;
  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(--paper) !important;
  caret-color: var(--paper);
  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(--amber);
  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(--paper); text-decoration: underline; text-underline-offset: 2px; }
.form__note a:hover { color: var(--ember); }

.form__resend {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--mist-dim);
  text-align: center;
}
.form__resend-btn {
  font: inherit;
  color: var(--ember);
  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: 15px 18px;
  font-family: var(--font);
  font-weight: 700;
  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: 3px;
  cursor: pointer;
  transition: transform .12s ease, background-color .18s ease, filter .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn--primary { color: var(--ink); background: var(--amber); }
.btn--primary:hover:not(:disabled) { background: var(--amber-hi); }
.btn--whatsapp {
  color: #06301A;                  /* 7.33:1 on the WhatsApp green */
  background: var(--whatsapp);
  margin-top: 4px;
}
.btn--whatsapp:hover { filter: brightness(1.06); }
.btn__icon { flex: 0 0 auto; width: 19px; height: 19px; }

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

/* ============================================================
   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,.45);
  border-radius: 3px;
  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(--paper);
  background: var(--field);
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.30);
}
.iti__search-input::placeholder { color: var(--mist-dim); }
.iti__search-input:focus { outline: none; background: #1E0F0B; }
.iti__country-list { background: var(--panel); max-height: 240px; }
.iti__country {
  padding: 9px 12px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--paper);
}
.iti__country:hover,
.iti__country.iti__highlight { background: rgba(249,174,64,.16); }
.iti__dial-code { color: var(--mist-dim); }
.iti__country-name { color: var(--paper); }
.iti__selected-country { border-radius: 3px 0 0 3px; }
.iti__selected-country:hover,
.iti__selected-country-primary:hover { background: rgba(249,174,64,.14); }
.iti__selected-dial-code { color: var(--paper); font-family: var(--font); font-size: 15px; }
.iti__arrow { border-top-color: var(--mist-dim); }
.iti__arrow--up { border-bottom-color: var(--mist-dim); }

/* House title pattern, set like BREAK: heavy expanded caps, second line amber. */
.panel__title {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 6.2vw, 1.7rem);
  line-height: 1.06;
  text-transform: uppercase;
  color: var(--paper);
  text-wrap: balance;
}
.panel__title em { font-style: normal; color: var(--amber); }

/* Buttons: square expanded caps. The CTA is a lit face of the symbol with the
   spectrum running along its foot. */
.btn {
  border-radius: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(.86rem, 3.4vw, .96rem);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.btn--primary {
  color: #1A0B06;
  padding-bottom: 18px;
  background:
    linear-gradient(90deg, var(--oxide), var(--ember) 38%, var(--flare) 72%, var(--oxide)) left bottom / 100% 4px no-repeat,
    var(--amber);
}
.btn--primary:hover:not(:disabled) {
  background:
    linear-gradient(90deg, var(--oxide), var(--ember) 38%, var(--flare) 72%, var(--oxide)) left bottom / 100% 6px no-repeat,
    var(--amber-hi);
}
.btn:focus { outline: none; }
.btn:focus-visible { outline: 2px solid var(--paper); 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(--amber); 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(--paper);
  background: #0A1A14;
  border: 1px solid var(--whatsapp);
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(.84rem, 3.5vw, .95rem);
  letter-spacing: .02em;
  transition: transform .12s ease, background-color .18s ease;
}
.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;
}
.btn--whatsapp .btn__text { flex: 1 1 auto; text-align: center; padding-right: 4px; }
.btn--whatsapp:hover { filter: none; background: #0E2A1D; }
.btn--whatsapp:focus-visible { outline: 2px solid var(--paper); 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; }
}

/* ============================================================
   FOOTER - fleet pattern, credit in a pill, on the ground.
   ============================================================ */
.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(--amber); }
/* 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(220,205,198,.4);
}
.site-built { margin: 0; }
.site-built a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(220,205,198,.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(--amber); }
.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; }
}

/* Short phones (SE class): tighten the panel so the email field stays near the fold. */
@media (max-width: 559px) and (max-height: 700px) {
  .spine { margin-bottom: 14px; }
  .panel__inner { padding-top: 18px; }
  .panel__lede { font-size: 14px; margin-bottom: 14px; }
}

/* ============================================================
   TWO-UP (>= 860 wide, square-or-wider window): the poster on the left,
   sign-up right, one screen. Same --s maths as the stacked layout, but the
   poster's size now comes from the window height, capped by the column.
   The panel track is DEFINITE, never auto (gotcha 35).
   ============================================================ */
@media (min-width: 860px) and (min-aspect-ratio: 1/1) {
  :root {
    --pl: clamp(16px, 4vw, 72px);
    --pr: clamp(24px, 7vw, 130px);
    --vh: max(100vh, 700px);
    --col: calc(100vw - var(--pl) - var(--pr) - var(--gap) - var(--panel-w));
    --th: min(calc(var(--vh) - 124px), calc(var(--col) * 1.357));
    --s:  calc(var(--th) / 1779);
    --tl: calc(var(--pl) + (var(--col) - var(--tw)) / 2);
    --tt: calc((var(--vh) - var(--th)) / 2);
  }
  @supports (height: 100svh) { :root { --vh: max(100svh, 700px); } }
  .bg { background-position: calc(var(--tl) - var(--s) * 1765) calc(var(--tt) - var(--s) * 630); }
  .page { position: relative; height: var(--vh); }
  .stage {
    flex: none;
    height: var(--vh);
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--panel-w);
    align-items: center;
    gap: var(--gap);
    padding: 0 var(--pr) 0 var(--pl);
  }
  .bill { margin: 0; justify-self: center; }
  .signup { width: var(--panel-w); max-width: none; }
  .panel__title { font-size: 1.72rem; }
  /* 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: poster sized to the screen on the left, the panel
   compact and top-aligned, the page scrolls with the poster. 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);
    --gap: 22px;
    --panel-w: 370px;
    --col: calc(100vw - var(--pl) - var(--pr) - var(--gap) - var(--panel-w));
    --th: min(calc(100vh - 20px), calc(var(--col) * 1.357));
    --s:  calc(var(--th) / 1779);
    --tl: calc(var(--pl) + (var(--col) - var(--tw)) / 2);
    --tt: 10px;
  }
  .bg { background-position: calc(var(--tl) - var(--s) * 1765) calc(var(--tt) - var(--s) * 630); }
  .page { position: static; height: auto; min-height: 100svh; }
  .stage {
    flex: 1 0 auto;
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--panel-w);
    align-items: start;
    gap: var(--gap);
    padding: 10px var(--pr) 12px var(--pl);
  }
  .bill { margin: 0; justify-self: center; }
  .signup { width: var(--panel-w); max-width: none; }
  .panel__inner { padding: 16px 20px 18px; }
  .spine { margin-bottom: 12px; }
  .spine__step { padding: 6px 4px 5px; font-size: 11px; }
  .panel__title { font-size: 1.22rem; 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: 12px 16px 14px; }
  .btn--whatsapp { min-height: 46px; }
  .foot { position: static; padding-top: 6px; }
}

/* Gensale vendor buttons (19 Nov 2026): Skiddle / RA / DICE stacked */
.tickets { display: grid; gap: 10px; }
