/* ============================================================
   KIROLLUS - an immersive 360 experience, feat. support from Niamh Grace.
   O2 Academy Brixton, London. Saturday 27 February 2027, from 7pm.
   Presale Wed 25 Nov 2026 10am, general sale Fri 27 Nov 2026 10am.
   Sign-up. Client: Louder Entertainment.

   DIRECTION - the poster is a riso print: cream ink and one pink pill on a
   cobalt sheet, everything set in rounded boxes, an 8px halftone screen
   over the lot. So the PAGE is the sheet: .bg is the poster's own blue cut
   from the PSD (tools/build_base.py, screen-aligned seamless tile), the
   lockup is the client's ink keyed off that blue and laid straight on it,
   with no frame, and everything we add is one more of the poster's boxes.
   - Under the lockup the poster grows two rows in its bottom-row language
     (outlined | pink | outlined): the sale dates, as live text.
   - The panel is a cream-outlined box like the poster's frames. Its head is
     the venue pill (pink, two yellow stars) carrying the countdown; the
     stars turn one slow 360 while it counts. That is the one motion.
   - The CTA is the only filled cream shape on the page.

   COLOUR - literal pixels of Kirollus_Brixton_4x5 (median per ink):
     #0047C0 riso   the blue sheet (page ground, button ink)
     #F2E7CF cream  the type and frames
     #F1298F pink   the venue + date pills (large type only: 3.1:1)
     #F4CF00 sun    the stars (title accent + focus, 5.2:1 on riso)
     #F54700 script the orange script (not used: 2.3:1 on riso)
   Cream on riso 6.4:1. Cream on --field 7.9:1. Riso on cream 6.4:1.

   TYPE - Anton (OFL), the closest free cut to the poster's Rama Gothic E,
   tracked like the pills. Reading copy in the house Helvetica.
   ============================================================ */

@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/Anton.woff2?v=20261118-1") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --riso:      #0047C0;
  --field:     #003BA3;   /* form field - OPAQUE on purpose, see autofill note */
  --drop:      #00379A;   /* country dropdown */
  --cream:     #F2E7CF;
  --cream-2:   #E4DACA;   /* reading copy */
  --cream-dim: #C9C3C0;   /* 4.5:1 on riso */
  --pink:      #F1298F;
  --sun:       #F4CF00;
  --danger:    #FFC6E0;   /* 5.4:1 on riso */
  --whatsapp:  #25D366;
  --line:      rgba(242,231,207,.45);

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font:    "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --panel-w: 420px;
  --gap: clamp(40px, 5vw, 88px);
  --pad: clamp(20px, 4vw, 64px);
  --r: 16px;                /* the poster's small-box radius at panel scale */
}

*, *::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(--riso);
}
body {
  position: relative;              /* .bg is absolute against the whole document */
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font);
  color: var(--cream);
  background: transparent;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* The sheet. 768px tile of the poster's blue at 384 css px = a 3 css px
   halftone screen. absolute, never fixed: it must reach behind Safari's
   floating toolbar (gotcha 39). */
.bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--riso) url("/assets/images/ground.webp?v=20261118-1") 0 0 / 384px 384px repeat;
}

/* 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 / square: lockup + sale rows, then the
   sign-up.
   ============================================================ */
.stage {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(14px, 4vw, 28px) 0 var(--gutter);
}

/* .bill = the lockup column. --pw (its width) is the one number every
   layout sets. Height = --pw x 1.4245 (lockup 1.2365 + rows .188).
   Container so the sale rows size off the lockup itself. */
.bill {
  --pw: min(calc(100vw - 2 * var(--gutter)), 460px);
  width: var(--pw);
  flex: 0 0 auto;
  container-type: inline-size;
  margin: 0;
}
.bill__h { margin: 0; line-height: 0; }
.bill picture { display: contents; }
.bill__art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2072 / 2562;
}

/* --- sale dates: the poster's bottom row (SATURDAY | 27TH FEB | FROM 7PM)
   repeated twice. One grid for both rows, so the columns line up. --- */
.sales {
  list-style: none;
  /* inset to the poster's frame edges: the image runs 0.72% wider on the
     left (matte margin) and 3.09% on the right (the script's overhang) */
  margin: 3.2cqw 3.09cqw 0 .72cqw;
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.4cqw 2.2cqw;
}
.sales__row { display: contents; }
.tag {
  height: 6.6cqw;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3cqw;
  border: max(2px, .42cqw) solid var(--cream);
  border-radius: max(9px, 1.9cqw);
  font-family: var(--display);
  font-size: max(13px, 3.75cqw);
  line-height: 1;
  letter-spacing: .075em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cream);
  padding-top: .12em;              /* Anton sits high in its em box */
}
.tag--pink { background: var(--pink); }
.tag time { font: inherit; }
/* once a sale has opened, its row says so quietly (app.js sets it) */
.sales__row.is-open .tag--pink { background: transparent; }

/* ============================================================
   SIGN-UP PANEL - one more of the poster's boxes.
   ============================================================ */
.signup {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--panel-w);
  position: relative;
  z-index: 2;
  margin-top: clamp(22px, 6vw, 32px);
}
.panel {
  width: 100%;
  position: relative;
  isolation: isolate;
  color: var(--cream-2);
  border: 3px solid var(--cream);
  border-radius: 26px;
  background: rgba(0, 55, 160, .30);   /* a breath darker than the sheet */
}
.panel__inner {
  position: relative;
  padding: 18px clamp(16px, 3vw, 24px) 24px;
}

/* --- 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; }

/* ============================================================
   COUNTDOWN - the venue pill, then the clock in outlined boxes.
   ============================================================ */
.count { margin: 0 0 16px; }
.count__pill {
  margin: 0 0 10px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  background: var(--pink);
  border: 2.5px solid var(--cream);
  border-radius: var(--r);
}
/* 24px: cream on pink is 3.1:1, which is AA only for large type */
.count__label {
  flex: 1 1 auto;
  text-align: center;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  padding-top: .1em;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.count__star {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: var(--sun);
  animation: turn 14s linear infinite;
}
.count__star:last-child { animation-direction: reverse; }
@keyframes turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .count__star { animation: none; }
}
.count__clock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.count__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 9px 0 7px;
  border: 2px solid var(--line);
  border-radius: var(--r);
}
.count__unit b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.count__unit span {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1;
  color: var(--cream-dim);
}
.count.is-live .count__clock { display: none; }
.count.is-live .count__pill { margin-bottom: 0; }

/* ============================================================
   STEP SPINE - numbered because it IS a sequence:
   form -> SMS code -> email confirm. Three of the poster's small pills.
   ============================================================ */
.spine {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.spine__step {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding: 0 6px;
  border: 2px solid var(--line);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cream-dim);
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}
.spine__n {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  display: grid;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 10.5px;
  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(--riso);
  background: var(--cream);
  border-color: var(--cream);
}
.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(--cream);
}
.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(--sun);
}
.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(--sun);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}
@media (max-width: 400px) {
  .spine__step { font-size: 12px; gap: 5px; padding: 0 3px; }
  .spine__n { width: 16px; height: 16px; }
}

/* ============================================================
   PANEL COPY - house title pattern, in the poster's caps.
   ============================================================ */
.panel__title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 9vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cream);
  text-wrap: balance;
}
.panel__title em { font-style: normal; color: var(--sun); }

.panel__lede {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--cream-2);
  max-width: 46ch;
}
.panel__lede--last { margin-bottom: 18px; }
.panel__lede strong { color: var(--cream); font-weight: 700; }
.panel__success-note { margin: 0 0 12px; color: var(--cream); font-size: 14.5px; }

/* ============================================================
   FORM
   ============================================================ */
.form__row { margin: 0 0 11px; }
/* 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 15px;
  font-family: var(--font);
  font-size: 16px;                 /* 16px minimum or iOS zooms on focus */
  color: var(--cream);
  background: var(--field);        /* OPAQUE - see the autofill rule below */
  border: 2px solid rgba(242,231,207,.55);
  border-radius: 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form__input::placeholder { color: #B9B7C4; opacity: 1; }   /* 4.9:1 on --field */
.form__input:focus {
  outline: none;
  border-color: var(--cream);
  box-shadow: 0 0 0 3px rgba(244,207,0,.55);
}
.form__input--otp {
  font-family: var(--display);
  font-size: 26px;
  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(--cream) !important;
  caret-color: var(--cream);
  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: 15px 0 17px; }
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--cream-2);
  cursor: pointer;
}
.form__check input {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin: 1px 0 0;
  accent-color: var(--cream);
  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(--cream-2); }
.form__note a { color: var(--cream); text-decoration: underline; text-underline-offset: 2px; }
.form__note a:hover { color: var(--sun); }

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

/* ---------- buttons ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 4px 18px 0;             /* Anton sits high in its em box */
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.15rem, 5.4vw, 1.4rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  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: var(--r);
  cursor: pointer;
  transition: transform .12s ease, background-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .65; cursor: default; }
/* the only filled cream shape on the page; hover takes the stars' yellow */
.btn--primary { color: var(--riso); background: var(--cream); }
.btn--primary:hover:not(:disabled) { background: var(--sun); }
.btn:focus { outline: none; }
.btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.form__input:focus-visible { outline: none; }
.form__resend-btn:focus-visible,
.form__note a:focus-visible,
.foot a:focus-visible,
.form__check input:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.btn__icon { flex: 0 0 auto; width: 20px; height: 20px; }

/* WhatsApp: its own green, dark ink (7.3:1), the poster's box shape. */
.wa-hook { margin: 18px 0 12px; font-size: 13.5px; color: var(--cream-2); }
.wa-hook strong { color: var(--cream); font-weight: 700; }
.btn--whatsapp {
  margin-top: 6px;
  color: #06301A;
  background: var(--whatsapp);
  border: 2px solid var(--cream);
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(.9rem, 3.8vw, 1rem);
  letter-spacing: .01em;
  text-transform: none;
  padding: 0 16px;
}
.btn--whatsapp:hover { background: #3BE07A; }
/* narrow phones: let the label wrap rather than touch the edge */
@media (max-width: 359px) {
  .btn--whatsapp { white-space: normal; line-height: 1.2; padding-top: 8px; padding-bottom: 8px; }
}

/* ============================================================
   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 (gotcha 19). */
.iti__dropdown-content.iti__hide { display: none !important; }
.iti__dropdown-content {
  background: var(--drop);
  border: 2px solid var(--cream);
  border-radius: 14px;
  box-shadow: 0 26px 56px -18px rgba(0, 18, 60, .85);
  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 (gotcha 33). */
  padding: 10px 30px 10px 32px;
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  color: var(--cream);
  background: var(--field);
  border: 0;
  border-bottom: 1px solid var(--line);
}
.iti__search-input::placeholder { color: #B9B7C4; }
.iti__search-input:focus { outline: none; background: #00429F; }
.iti__country-list { background: var(--drop); max-height: 240px; }
.iti__country {
  padding: 9px 12px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--cream);
}
.iti__country:hover,
.iti__country.iti__highlight { background: rgba(242,231,207,.16); }
.iti__dial-code { color: var(--cream-dim); }
.iti__country-name { color: var(--cream); }
.iti__selected-country { border-radius: 12px 0 0 12px; }
.iti__selected-country:hover,
.iti__selected-country-primary:hover { background: rgba(242,231,207,.12); }
.iti__selected-dial-code { color: var(--cream); font-family: var(--font); font-size: 15px; }
.iti__arrow { border-top-color: var(--cream-dim); }
.iti__arrow--up { border-bottom-color: var(--cream-dim); }

/* ============================================================
   FOOTER - fleet pattern, credit pill LEFT beside the copyright,
   legal links right.
   ============================================================ */
.foot {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 14px var(--gutter) 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.foot__left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot__legal { margin: 0; font-size: 12.5px; color: var(--cream-2); }
.foot__legal a { color: var(--cream-2); text-decoration: none; }
.foot__legal a:hover { color: var(--sun); }
/* 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(242,231,207,.45);
}
.site-built { margin: 0; }
.site-built a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(242,231,207,.45);
  border-radius: 999px;
  font-size: 12px;
  color: var(--cream-2);
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.site-built a:hover { border-color: var(--sun); }
.site-built img { display: block; opacity: .95; }

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

/* Narrow phones: the countdown pill label must not wrap. */
@media (max-width: 374px) {
  .count__label { font-size: 21px; letter-spacing: .06em; }   /* still 3.1:1, Anton is display-weight */
  .count__unit b { font-size: 29px; }
  .count__pill { padding: 0 10px; }
}

/* Short phones (SE class): a smaller lockup so the panel shows sooner. */
@media (max-width: 559px) and (max-height: 700px) {
  .bill { --pw: min(calc(100vw - 2 * var(--gutter)), 400px); }
}

/* ============================================================
   TWO-UP - genuinely landscape screens only (Adam's 13 Nov rule: the 7/10
   gate is far too eager for an art + form split): lockup left, sign-up
   right, one screen, the group centred. The panel track is DEFINITE, never
   auto (gotcha 35). The lockup column is sized from the window height
   (column height = --pw x 1.4245), capped by the width beside the panel.
   ============================================================ */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) and (min-height: 521px) {
  :root { --panel-w: 420px; }
  .stage {
    display: grid;
    grid-template-columns: auto var(--panel-w);
    justify-content: center;
    align-items: center;
    column-gap: var(--gap);
    padding: 24px var(--pad) 0;
  }
  .bill { --pw: min(calc((100vh - 72px) / 1.4245), calc(100vw - var(--panel-w) - var(--gap) - 2 * var(--pad)), 720px); }
  @supports (height: 100svh) {
    .bill { --pw: min(calc((100svh - 72px) / 1.4245), calc(100vw - var(--panel-w) - var(--gap) - 2 * var(--pad)), 720px); }
  }
  .signup { width: var(--panel-w); max-width: none; margin: 0; }
}
/* two-up but not very tall (laptops ~1366x768): tighter panel */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) and (min-height: 521px) and (max-height: 820px) {
  .panel__inner { padding: 14px 20px 18px; }
  .count { margin-bottom: 12px; }
  .count__pill { min-height: 44px; margin-bottom: 8px; }
  .count__label { font-size: 22px; }
  .count__unit { padding: 6px 0 5px; }
  .count__unit b { font-size: 28px; }
  .spine { margin-bottom: 12px; }
  .spine__step { height: 30px; }
  .panel__title { font-size: 2rem; margin-bottom: 6px; }
  .panel__lede { font-size: 14px; margin-bottom: 12px; }
  .form__row { margin-bottom: 8px; }
  .form__input { padding: 10px 13px; }
  .form__row--check { margin: 10px 0 12px; }
  .form__note { margin-top: 6px; }
  .btn { min-height: 50px; }
}

/* --- landscape phones are a first-class layout (gotcha 27) ---
   844x390, 932x430, 667x375: the lockup column at screen height on the
   left, the panel compact and top-aligned, the page scrolls. Placed LAST so
   it wins at equal specificity. */
@media (min-width: 560px) and (min-aspect-ratio: 5/4) and (max-height: 520px) {
  :root { --panel-w: 360px; --gap: 22px; --pad: 16px; }
  .stage {
    display: grid;
    grid-template-columns: auto var(--panel-w);
    justify-content: center;
    align-items: start;
    column-gap: var(--gap);
    padding: 10px var(--pad) 12px;
  }
  .bill { --pw: min(calc((100vh - 20px) / 1.4245), calc(100vw - var(--panel-w) - var(--gap) - 2 * var(--pad))); }
  @supports (height: 100svh) {
    .bill { --pw: min(calc((100svh - 20px) / 1.4245), calc(100vw - var(--panel-w) - var(--gap) - 2 * var(--pad))); }
  }
  .tag { min-height: 20px; font-size: max(11px, 3.75cqw); border-width: 2px; border-radius: 7px; }
  .signup { width: var(--panel-w); max-width: none; margin: 0; }
  .panel { border-radius: 20px; }
  .panel__inner { padding: 12px 16px 16px; }
  .count { margin-bottom: 10px; }
  .count__pill { min-height: 40px; margin-bottom: 7px; }
  .count__label { font-size: 20px; }
  .count__star { width: 16px; height: 16px; }
  .count__unit { padding: 5px 0 4px; border-radius: 12px; }
  .count__unit b { font-size: 24px; }
  .count__unit span { font-size: 11px; }
  .spine { margin-bottom: 10px; }
  .spine__step { height: 28px; font-size: 12px; }
  .panel__title { font-size: 1.6rem; margin-bottom: 6px; }
  .panel__lede { font-size: 13.5px; margin-bottom: 10px; }
  .form__row { margin-bottom: 8px; }
  .form__input { padding: 9px 12px; }
  .form__row--check { margin: 9px 0 11px; }
  .btn:not(.btn--whatsapp) { min-height: 46px; }
  .btn--whatsapp { min-height: 46px; }
}
