/* ============================================================
   TWO DOOR CINEMA CLUB - 15th Anniversary Tour
   On The Beach Brighton, Thursday 22 July 2027. /twodoor/ folder of onthebeachbrighton.com.

   The stage IS the page. The client's 4x5 poster is rebuilt from its PSD layers on the
   poster's own pure black, so there is no box: the photo's sides dissolve into the stage
   (baked into plate.webp) and the type floats on the same black.

   The memorable thing: the five LED screens behind the band are live. On load they power
   on left to right (a flicker, then light), and from then on each runs its own programme,
   cutting to a new colour grade with an LED top-down wipe at its own tempo. The mirror floor
   shows the same cut, wiping upward. People standing in front of a screen are cut out of
   the sprites, so no face ever changes colour.
   The sign-up is the sixth screen: a lit pale-cyan panel in the screens' gold bezel.

   Colours from the artwork: stage #000 (poster colour fill), LED cyan #A1E2F1 / #11A8E4
   (screen 3's strip, screen 1), bezel gold #C98D26, poster red #C2050C (the date dash).
   Type: Oswald (free stand-in for the poster's Rama Gothic E) for headings, Archivo with
   its width axis (for the poster's Helvetica Neue Extended) for buttons and reading.

   Art box = poster 2160 x 2700 (aspect .8). The plate is 2300 wide and starts 95px left
   of the box (-4.398%, width 106.481%).
   ============================================================ */
@font-face {
  font-family: "Archivo";
  src: url("/twodoor/assets/fonts/Archivo-wdth.woff2?v=20261117-1") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("/twodoor/assets/fonts/Oswald-var.woff2?v=20261117-1") format("woff2");
  font-weight: 200 700; font-style: normal; font-display: swap;
}
:root {
  --stage: #000000;
  --led: #A1E2F1;
  --led-hi: #C4EEF8;
  --cyan: #11A8E4;
  --gold: #C98D26;
  --red: #C2050C;
  --ink: #000000;
  --paper: #FFFFFF;
  --mist: #D6DCE0;
  --mist-dim: #9AA4AA;
  --line: rgba(255,255,255,.26);
  --field: #FFFFFF;
  --panel: #FFFFFF;
  --yellow: #000000;
  --yellow-hi: #222222;
  --peach: #000000;
  --danger: #8A0010;
  --whatsapp: #25D366;
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --gutter: 16px;
  /* stacked: full width on phones; on portrait tablets cap the poster at 62% of the
     screen height so the sign-up panel peeks above the fold */
  --aw: min(100vw, calc(62svh * .8));
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--stage); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  position: relative;
  min-height: 100svh;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.5;
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
.page { display: flex; flex-direction: column; min-height: 100svh; overflow-x: clip; }
.stage { flex: 1 0 auto; position: relative; padding-bottom: 28px; }

/* ---------- the art ---------- */
.art {
  position: relative;
  width: var(--aw);
  margin: 0 auto;
  aspect-ratio: 2160 / 2700;
  transition: opacity .5s ease;
}
html.wait .art { opacity: 0; }
html.wait .art *, html.wait .signup { animation-play-state: paused !important; }
.art__plate { position: absolute; left: -4.398%; top: 0; width: 106.481%; max-width: none; height: 100%; display: block; }
.art__type { position: absolute; inset: 0; margin: 0; z-index: 3; }
.art__type img { display: block; width: 100%; height: 100%; }

/* ---------- the screens ----------
   One element per screen (s) and per reflection (r), sized to its sprite. Each sprite is
   4 rows: three colour grades, then the screen at 12% light ("off"). */
.screens { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.scr { position: absolute; }
.scr > i {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-size: 100% 400%;
  clip-path: inset(0 0 100% 0);
}
.scr > i:nth-child(1) { background-position: 0 0; }
.scr > i:nth-child(2) { background-position: 0 33.3333%; }
.scr > i:nth-child(3) { background-position: 0 66.6667%; }
.scr > .scr__off      { background-position: 0 100%; clip-path: none; opacity: 0; }
.scr--1s > i { background-image: url("/twodoor/assets/images/scr1s.webp?v=20261117-1"); }
.scr--1r > i { background-image: url("/twodoor/assets/images/scr1r.webp?v=20261117-1"); }
.scr--2s > i { background-image: url("/twodoor/assets/images/scr2s.webp?v=20261117-1"); }
.scr--2r > i { background-image: url("/twodoor/assets/images/scr2r.webp?v=20261117-1"); }
.scr--3s > i { background-image: url("/twodoor/assets/images/scr3s.webp?v=20261117-1"); }
.scr--3r > i { background-image: url("/twodoor/assets/images/scr3r.webp?v=20261117-1"); }
.scr--4s > i { background-image: url("/twodoor/assets/images/scr4s.webp?v=20261117-1"); }
.scr--4r > i { background-image: url("/twodoor/assets/images/scr4r.webp?v=20261117-1"); }
.scr--5s > i { background-image: url("/twodoor/assets/images/scr5s.webp?v=20261117-1"); }
.scr--5r > i { background-image: url("/twodoor/assets/images/scr5r.webp?v=20261117-1"); }
/* positions in % of the art box, written by tools/build_images.py (screens_meta.json) */
.scr--1s { left: 12.917%; top: 47.333%; width: 6.574%; height: 14.889%; }
.scr--1r { left: 13.287%; top: 68.815%; width: 6.481%; height: 13.704%; }
.scr--2s { left: 22.361%; top: 44.407%; width: 9.028%; height: 15.481%; }
.scr--2r { left: 22.685%; top: 69.963%; width: 9.028%; height: 15.481%; }
.scr--3s { left: 35.046%; top: 41.222%; width: 12.083%; height: 18.667%; }
.scr--3r { left: 35.370%; top: 69.963%; width: 12.083%; height: 18.667%; }
.scr--4s { left: 51.343%; top: 44.481%; width: 8.796%; height: 15.704%; }
.scr--4r { left: 51.667%; top: 69.704%; width: 8.796%; height: 15.667%; }
.scr--5s { left: 63.843%; top: 47.815%; width: 7.870%; height: 13.556%; }
.scr--5r { left: 64.167%; top: 68.815%; width: 7.870%; height: 13.222%; }

@media (prefers-reduced-motion: no-preference) {
  /* Power-on: the "off" row covers each screen, then flickers away, left to right.
     Reflections switch on with their screen. The panel lights last. */
  .scr > .scr__off { animation: power-on 1s steps(1, end) both; }
  .scr--1s > .scr__off, .scr--1r > .scr__off { animation-delay: .35s; }
  .scr--2s > .scr__off, .scr--2r > .scr__off { animation-delay: .52s; }
  .scr--3s > .scr__off, .scr--3r > .scr__off { animation-delay: .69s; }
  .scr--4s > .scr__off, .scr--4r > .scr__off { animation-delay: .86s; }
  .scr--5s > .scr__off, .scr--5r > .scr__off { animation-delay: 1.03s; }
  .signup { animation: panel-on 1s steps(1, end) 1.25s both; }

  /* Programme: original, grade 1, grade 2, grade 3, then the original wipes back in.
     Each screen has its own tempo and offset so the wall never cuts in unison. */
  .scr--1s, .scr--1r { --dur: 13s; --off: -2s; }
  .scr--2s, .scr--2r { --dur: 16s; --off: -9s; }
  .scr--3s, .scr--3r { --dur: 14s; --off: -5s; }
  .scr--4s, .scr--4r { --dur: 17s; --off: -12s; }
  .scr--5s, .scr--5r { --dur: 15s; --off: -1s; }
  .scr > i:nth-child(1) { animation: cut-a var(--dur) linear var(--off) infinite; }
  .scr > i:nth-child(2) { animation: cut-b var(--dur) linear var(--off) infinite; }
  .scr > i:nth-child(3) { animation: cut-c var(--dur) linear var(--off) infinite; }
  .scr--1r > i:nth-child(1), .scr--2r > i:nth-child(1), .scr--3r > i:nth-child(1), .scr--4r > i:nth-child(1), .scr--5r > i:nth-child(1) { animation-name: mir-a; }
  .scr--1r > i:nth-child(2), .scr--2r > i:nth-child(2), .scr--3r > i:nth-child(2), .scr--4r > i:nth-child(2), .scr--5r > i:nth-child(2) { animation-name: mir-b; }
  .scr--1r > i:nth-child(3), .scr--2r > i:nth-child(3), .scr--3r > i:nth-child(3), .scr--4r > i:nth-child(3), .scr--5r > i:nth-child(3) { animation-name: mir-c; }
}
@keyframes power-on {
  0%   { opacity: 1; }
  30%  { opacity: .25; }
  40%  { opacity: 1; }
  58%  { opacity: 0; }
  66%  { opacity: .7; }
  74%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes panel-on {
  0%   { opacity: 0; }
  20%  { opacity: .55; }
  30%  { opacity: .1; }
  48%  { opacity: 1; }
  100% { opacity: 1; }
}
/* screens: the new grade wipes down from the top; at the end the original wipes back down */
@keyframes cut-a { 0%, 25% { clip-path: inset(0 0 100% 0); } 27.5%, 97% { clip-path: inset(0); } 100% { clip-path: inset(100% 0 0 0); } }
@keyframes cut-b { 0%, 50% { clip-path: inset(0 0 100% 0); } 52.5%, 97% { clip-path: inset(0); } 100% { clip-path: inset(100% 0 0 0); } }
@keyframes cut-c { 0%, 75% { clip-path: inset(0 0 100% 0); } 77.5%, 97% { clip-path: inset(0); } 100% { clip-path: inset(100% 0 0 0); } }
/* reflections: the same cuts, mirrored, so they wipe upward */
@keyframes mir-a { 0%, 25% { clip-path: inset(100% 0 0 0); } 27.5%, 97% { clip-path: inset(0); } 100% { clip-path: inset(0 0 100% 0); } }
@keyframes mir-b { 0%, 50% { clip-path: inset(100% 0 0 0); } 52.5%, 97% { clip-path: inset(0); } 100% { clip-path: inset(0 0 100% 0); } }
@keyframes mir-c { 0%, 75% { clip-path: inset(100% 0 0 0); } 77.5%, 97% { clip-path: inset(0); } 100% { clip-path: inset(0 0 100% 0); } }
@media (prefers-reduced-motion: reduce) { .screens { display: none; } }

/* ---------- the sign-up: the sixth screen ---------- */
.signup {
  position: relative;
  z-index: 4;
  width: calc(100% - 2 * var(--gutter));
  max-width: 440px;
  margin: calc(var(--aw) * -.045) auto 0;
}
.panel {
  /* black on lit cyan; the engine's form block reads these */
  --paper: #000;
  --mist: #000;
  --mist-dim: #2C4A55;
  --line: rgba(0,0,0,.3);
  --peach: #000;
  --yellow: #000;
  --yellow-hi: #1E1E1E;
  --ink: #FFF;
  --danger: #8A0010;
  position: relative;
  isolation: isolate;
  color: #000;
  background:
    radial-gradient(circle at 1.5px 1.5px, rgba(0,0,0,.07) 1px, transparent 1.3px) 0 0 / 4px 4px,
    linear-gradient(180deg, var(--led-hi) 0, var(--led) 60%, #93DAEC 100%);
  border: 3px solid var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 0 1px #000 inset, 0 0 70px -8px rgba(17,168,228,.55), 0 0 0 1px rgba(0,0,0,.6);
}
.panel__inner { padding: 22px 22px 24px; }
.panel__state { display: none; text-align: center; }
.panel[data-form-state="idle"]    .panel__idle,
.panel[data-form-state="otp"]     .panel__otp,
.panel[data-form-state="success"] .panel__success { display: block; }
.panel__title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 10vw, 2.9rem);
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
  text-wrap: balance;
  color: #000;
}
/* ============================================================
   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: transparent;
}
.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(--yellow);
  border-color: var(--yellow);
  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(--peach);
}
.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(--peach);
}
.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(--peach);
  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(--peach); 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(194,211,212,.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(--peach);
  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(--yellow);
  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(--peach); }

.form__resend {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--mist-dim);
  text-align: center;
}
.form__resend-btn {
  font: inherit;
  color: var(--peach);
  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(--yellow); }
.btn--primary:hover:not(:disabled) { background: var(--yellow-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: #0E1A24; }
.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(134,231,232,.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(134,231,232,.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); }


/* ============================================================
   THIS BUILD: the sixth screen's form. Black on lit cyan, square bezel geometry.
   ============================================================ */
.spine { justify-content: center; gap: 14px; margin: 0 auto 12px; border: 0; border-radius: 0; overflow: visible; }
.spine__step { flex: 0 0 auto; padding: 0; gap: 6px; font-size: 12.5px; font-weight: 700; color: rgba(0,0,0,.55); }
.spine__step + .spine__step { border-left: 0; }
/* Digits dead centre (otb-tomjones lesson): block + cap-trim padding, never a flex circle. */
.spine__n {
  box-sizing: border-box;
  width: 18px; height: 18px;
  display: block;
  padding: calc((16px - 1cap) / 2) 0 0;
  text-align: center;
  font-size: 10.5px; font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  border-radius: 2px;
  text-box: trim-both cap alphabetic;
}
.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) { background: none; color: #000; }
.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: #000; }
.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 {
  background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.1 6.5 11.4 12.8 4.6' fill='none' stroke='%23A1E2F1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
  border-color: #000;
}
.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 { display: none; }

.panel__lede { max-width: 36ch; margin: 0 auto 14px; font-size: 15.5px; font-weight: 500; line-height: 1.42; color: #000; }
.panel__lede--last { margin-bottom: 16px; }
.panel__lede strong { color: #000; font-weight: 800; }
.form { text-align: left; }
.form__row { margin-bottom: 10px; }
.form__label {
  position: static;
  display: block;
  width: auto; height: auto;
  margin: 0 0 4px;
  overflow: visible;
  clip: auto;
  font-size: 13px;
  font-weight: 750;
  color: #000;
}
.form__input {
  padding: 12px 14px;
  font-weight: 500;
  color: #000;
  background: #FFF;
  border: 2px solid #000;
  border-radius: 2px;
}
.form__input::placeholder { color: #69757B; font-weight: 400; }
.form__input:focus { border-color: #000; box-shadow: 0 0 0 3px rgba(17,168,228,.75); }
.form__input:-webkit-autofill,
.form__input:-webkit-autofill:hover,
.form__input:-webkit-autofill:focus,
.form__input:-webkit-autofill:active {
  -webkit-text-fill-color: #000 !important;
  caret-color: #000;
}
.form__input--otp { text-align: center; }
.form__error { font-weight: 700; }
.form__row--check { margin: 14px 0; }
.form__check { font-size: 13px; line-height: 1.42; font-weight: 500; color: #000; }
.form__check input { accent-color: #000; }
.form__note { margin: 6px 0 0 29px; font-size: 12.5px; line-height: 1.42; color: #000; }
.form__note a { color: #000; font-weight: 750; }
.form__resend { color: #000; font-weight: 500; }
.panel__success-note { color: #000; font-weight: 700; }
.wa-hook { color: #000; font-weight: 500; margin: 14px 0 10px; }

/* Buttons: the poster's boxed "PERFORMING TOURIST HISTORY" line - wide, black, caps. */
.btn {
  border-radius: 2px;
  font-family: var(--font);
  font-stretch: 125%;
  font-weight: 850;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.btn--primary { color: #FFF; background: #000; }
.btn--primary:hover:not(:disabled) { background: var(--red); }
.btn:focus-visible { outline: 3px solid #000; outline-offset: 3px; }

/* intl-tel-input, black on white to match the field */
.iti__dropdown-content { background: #FFF; border: 2px solid #000; border-radius: 2px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.8); }
.iti__search-input { color: #000; background: #EEF3F5; border-bottom: 1px solid #CDD6DA; }
.iti__search-input::placeholder { color: #69757B; }
.iti__search-input:focus { background: #E2ECEF; }
.iti__country-list { background: #FFF; }
.iti__country, .iti__country-name { color: #000; }
.iti__dial-code { color: #4B5960; }
.iti__country:hover, .iti__country.iti__highlight { background: rgba(17,168,228,.2); }
.iti__selected-country { border-radius: 2px 0 0 2px; padding-left: 6px; }
.iti__selected-country:hover, .iti__selected-country-primary:hover { background: rgba(17,168,228,.16); }
.iti__selected-dial-code { color: #000; font-weight: 500; }
.iti__arrow { border-top-color: #000; }
.iti__arrow--up { border-bottom-color: #000; }

/* WhatsApp: green disc in the black bar */
.btn--whatsapp {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 4px;
  padding: 6px 16px 6px 6px;
  min-height: 56px;
  color: #FFF;
  background: #000;
  font-size: clamp(.86rem, 3.9vw, 1rem);
}
.btn--whatsapp .btn__icon { width: 44px; height: 44px; padding: 10px; border-radius: 2px; color: #06301A; background: var(--whatsapp); }
.btn--whatsapp .btn__text { flex: 1 1 auto; text-align: center; }
.btn--whatsapp:hover { filter: none; background: #1E1E1E; }

/* access note (OTB Brighton venue copy, as on /tomjones/) */
.form__access { margin: 18px 0 0; padding: 12px 14px 13px; font-size: 13px; line-height: 1.45; font-weight: 450; color: #000; text-align: left; background: rgba(255,255,255,.4); border: 2px solid #000; border-radius: 2px; }
.form__access strong { font-weight: 800; }
.form__access a { color: #000; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }

/* Organisers from the poster's logo strip, white on the stage. */
.orgs { display: block; width: 340px; max-width: 100%; height: auto; margin: 22px auto 0; opacity: .92; }

/* ---------- footer: the house format ---------- */
.foot {
  flex-shrink: 0;
  width: 100%;
  padding: 14px 24px 18px;
  background: var(--stage);
  border-top: 1px solid rgba(255,255,255,.08);
  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: 12px; color: var(--mist); }
.foot__legal a { color: var(--mist); text-decoration: none; }
.foot__legal a:hover { color: var(--led); }
.foot__copy span { margin-left: .75em; padding-left: .85em; border-left: 1px solid var(--line); }
.foot__links a + a,
.foot__legal [data-louder-consent-open] { margin-left: .75em; padding-left: .85em; border-left: 1px solid var(--line); }
.site-built { margin: 0; }
.site-built a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--mist);
  text-decoration: none;
  transition: border-color .18s ease;
}
.site-built a:hover { border-color: var(--led); }
.site-built img { display: block; opacity: .9; }
.foot a:focus-visible { outline: 2px solid #FFF; outline-offset: 3px; }
@media (max-width: 899px) {
  .foot { justify-content: center; text-align: center; }
  .foot__right { justify-content: center; }
}
@media (max-width: 480px) {
  .foot { flex-direction: column; gap: 10px; padding-bottom: 22px; }
  .foot__right { flex-direction: column; gap: 10px; }
}

/* ---------- side by side: genuinely landscape screens ----------
   Poster + gap + panel centred as ONE group (otb-tomjones lesson). The poster is
   as tall as the window allows (its last 8% is black, so it may run a little under the
   footer), and sticks while a long panel scrolls. */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) and (min-height: 521px) {
  :root {
    --pw: clamp(360px, 27vw, 420px);
    --gap: clamp(28px, 4vw, 72px);
    --ah: min(calc(100svh - 20px), calc((100vw - var(--pw) - var(--gap) - 64px) / .8));
    --aw: calc(var(--ah) * .8);
  }
  .stage {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--gap);
    padding: 0 16px;
  }
  .art { flex: 0 0 auto; margin: 0; position: sticky; top: max(0px, calc((100svh - var(--ah)) / 2)); }
  .signup {
    flex: 0 0 var(--pw);
    width: var(--pw);
    max-width: none;
    margin: 0;
    align-self: center;
    padding: 24px 0;
  }
  .panel__inner { padding: 26px 28px; }
  .panel__title { font-size: 3rem; }
}
/* Short laptops: keep the whole panel on one screen. */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) and (min-height: 521px) and (max-height: 820px) {
  .signup { padding: 12px 0; }
  .panel__inner { padding: 16px 24px 18px; }
  .spine { margin-bottom: 6px; }
  .panel__title { font-size: 2.5rem; margin-bottom: 6px; }
  .panel__lede { font-size: 14.5px; margin-bottom: 10px; }
  .form__row { margin-bottom: 6px; }
  .form__input { padding: 8px 12px; }
  .form__row--check { margin: 10px 0; }
  .btn:not(.btn--whatsapp) { padding: 12px 16px; font-size: 16px; }
  .form__access { margin-top: 12px; padding: 9px 12px 10px; font-size: 12.5px; }
  .orgs { width: 290px; margin-top: 14px; }
}

/* ---------- landscape phones (gotcha 27): the same pairing, smaller ---------- */
@media (min-width: 560px) and (min-aspect-ratio: 3/2) and (max-height: 520px) {
  :root {
    --pw: 320px;
    --gap: 20px;
    --ah: min(100svh, calc((100vw - var(--pw) - var(--gap) - 24px) / .8));
    --aw: calc(var(--ah) * .8);
  }
  .stage { display: flex; align-items: flex-start; justify-content: center; gap: var(--gap); padding: 0 8px 10px; }
  .art { flex: 0 0 auto; margin: 0; position: sticky; top: 0; }
  .signup { flex: 0 0 var(--pw); width: var(--pw); max-width: none; margin: 0; padding: 10px 0; }
  .panel__inner { padding: 14px 18px 16px; }
  .panel__title { font-size: 2rem; margin-bottom: 6px; }
  .panel__lede { font-size: 14px; margin-bottom: 8px; }
  .form__row { margin-bottom: 6px; }
  .form__input { padding: 8px 12px; }
  .btn:not(.btn--whatsapp) { padding: 11px 14px; font-size: 15px; }
  .orgs { width: 260px; margin-top: 14px; }
}

/* WhatsApp label fit (Adam 17 Nov 16:23: "group" ran over the button edge). The label is
   ~15.6px wide per px of font size even at normal width, and has 160-280px of room. So: normal
   width, size from the button's own width (container query: content = button - 22px padding,
   minus 56px icon + gap), 12-16px; on the narrowest phones it wraps to two balanced lines
   rather than ever running past the edge. */
.btn--whatsapp { container-type: inline-size; font-stretch: 100%; white-space: normal; }
.btn--whatsapp .btn__text {
  font-size: 13px;
  font-size: clamp(12px, calc((100cqi - 60px) / 15.8), 16px);
  line-height: 1.15;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
