/* ============================================================
   BASEMENT JAXX - On The Beach Great Yarmouth, Sunday 20 June 2027
   /basementjaxx/ folder of onthebeach-greatyarmouth.com. Built 2 Dec 2026 on the OTB /royalblood/ engine.

   The poster is a cobalt sky over Great Yarmouth beach, with the bill in sunflower yellow.
   The page IS that poster, unboxed (Adam: "the artwork must not be boxed"): the text-free
   scene (rebuilt from the PSD layers) is the page's own background and the bill sits
   straight on the sky as the h1. Wide screens: the scene carries on to the right as one
   panorama (plate-wide: poster + its stage-free beach strip mirrored, clean sky) and the
   sign-up card stands on it. Phones: the poster full width, the card overlapping its foot.

   Colours sampled from the PSD: sun #FED302 (all the yellow type + the date pills),
   sky top #0A427F, deep #052A5C (card; the sky's own darkest blue pushed a step), ink #0B0C0E
   (the pill lettering). Type: Archivo (OFL) at wide widths, after the poster's extended
   grotesk caps. The poster's date pill is the page's one shape: buttons and fields are pills.
   ============================================================ */
@font-face {
  font-family: "Archivo";
  src: url("/basementjaxx/assets/fonts/Archivo-wdth.woff2?v=20261124-1") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
:root {
  --sun: #FED302;
  --sun-hi: #FFE35A;
  --sky: #0A427F;
  --deep: #052A5C;
  --deeper: #041F45;
  --ink: #0B0C0E;
  --white: #fff;
  --danger: #FFC9BF;
  --whatsapp: #25D366;
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 16px;
  --poster: 2362 / 3137;

  /* engine tokens (spine, form, iti) - the form lives on the deep-blue card */
  --paper: var(--white);
  --mist: #EAF0F8;
  --mist-dim: #B4C6E0;
  --line: rgba(255,255,255,.28);
  --field: #FFFFFF;
  --panel: #FFFFFF;
  --yellow: var(--sun);
  --yellow-hi: var(--sun-hi);
  --blood: var(--sun);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--deeper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.5;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }

.page { position: relative; display: flex; flex-direction: column; min-height: 100svh; overflow-x: clip; }
.stage { flex: 1 0 auto; position: relative; padding: 0 0 30px; }
.bg { display: none; }

/* ---------- the art (stacked): the poster scene full width with the bill on it. Below the poster's
   edge the crowd carries on and drifts out of focus, so the sign-up box sits on the beach crowd
   (Adam 2 Dec 16:29: no flat dark blue behind the box, no fade to blue). The scene is .stage's own
   background so it runs behind the box all the way down. ---------- */
.stage { background: #4E463F url("/basementjaxx/assets/images/plate-tall-1080.webp?v=20261202-6") center top / 100% auto no-repeat; }
.art {
  position: relative;
  width: 100%;
  aspect-ratio: var(--poster);
}
.art__bill { position: absolute; inset: 0; margin: 0; line-height: 0; }
.art__bill img { display: block; width: 100%; height: 100%; }
@media (min-width: 600px) {
  .stage { background-image: url("/basementjaxx/assets/images/plate-tall-1800.webp?v=20261202-6"); }
}
/* one moment on load: the bill comes up out of the haze */
@keyframes bill-in { from { opacity: 0; transform: translateY(1.2%); } to { opacity: 1; transform: none; } }
.motion .art__bill img { animation: bill-in .7s cubic-bezier(.2,.7,.2,1) .08s both; }

/* ---------- the sign-up card ---------- */
.signup {
  position: relative;
  z-index: 4;
  width: calc(100% - 2 * var(--gutter));
  max-width: 440px;
  margin: -13vw auto 0;
}
.panel {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--deep);
  border-radius: 28px;
  /* Adam 2 Dec 16:10: "more shading so it pops": a tight contact shadow, a wide soft drop and a
     faint dark halo against the bright sky, plus a lit top edge. */
  box-shadow:
    0 2px 6px rgba(2,12,30,.45),
    0 22px 44px -10px rgba(2,12,30,.70),
    0 54px 110px -24px rgba(2,12,30,.80),
    0 0 0 1px rgba(2,12,30,.35),
    0 1px 0 0 rgba(255,255,255,.22) inset,
    0 0 0 1px rgba(255,255,255,.10) inset;
}
.panel__inner { padding: 30px 24px 28px; container-type: inline-size; }
.panel__title .tl { display: block; white-space: nowrap; }
.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 10px;
  font-family: var(--font);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  /* ALWAYS two lines: each title is two nowrap lines and the size is capped by the card's own
     width. Widest line "YOUR NUMBER" is about 8.9em in Archivo 125/800 caps, so 100cqi / 9.4 fits. */
  --ts: 2.15rem;
  font-size: var(--ts);
  font-size: min(var(--ts), calc(100cqi / 9.4));
  line-height: 1;
  letter-spacing: -.005em;
  color: var(--sun);
}
/* ============================================================
   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(--blood);
}
.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(--blood);
}
.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(--blood);
  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(--blood); 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(--blood);
  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(--blood); }

.form__resend {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--mist-dim);
  text-align: center;
}
.form__resend-btn {
  font: inherit;
  color: var(--blood);
  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: white on the deep-blue card, white pill fields with ink text, sun pill buttons.
   ============================================================ */
.spine { justify-content: center; gap: 14px; margin: 0 auto 18px; 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: var(--mist-dim); }
.spine__step + .spine__step { border-left: 0; }
/* Digits dead centre (Adam 2 Dec: "not centred in the circle"): the digit is trimmed to its own
   cap box (text-box) and centred by grid; without text-box support the fixed line box + nudge holds. */
.spine__n {
  box-sizing: border-box;
  width: 18px; height: 18px;
  display: grid;
  place-items: center;
  padding: 0;
  text-align: center;
  font-size: 10.5px; font-weight: 800; line-height: 18px;
  font-variant-numeric: tabular-nums lining-nums;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px currentColor inset;
}
/* ring level with the label's capitals, not its line box */
.spine__n { transform: translateY(-0.75px); }
.spine__n > b { display: block; font: inherit; line-height: 1; 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: var(--white); }
.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 { color: var(--ink); background: var(--sun); border-color: var(--sun); box-shadow: none; }
.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(--white); }
.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;
  background: var(--white) 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='%23052A5C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
  border-color: var(--white);
  box-shadow: none;
}
.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: 34ch; margin: 0 auto 18px; font-size: 15.5px; font-weight: 500; line-height: 1.42; color: var(--mist); }
.panel__lede--last { margin-bottom: 16px; }
.panel__lede strong { color: var(--white); font-weight: 800; }
.form { text-align: left; }
.form__row { margin-bottom: 11px; }
.form__label {
  position: static;
  display: block;
  width: auto; height: auto;
  margin: 0 0 5px 16px;
  overflow: visible;
  clip: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.form__input {
  padding: 12px 18px;
  font-weight: 500;
  color: var(--ink);
  background: var(--field);
  border: 2px solid var(--field);
  border-radius: 999px;
}
.form__input::placeholder { color: #66707F; font-weight: 400; }
.form__input:focus { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(254,211,2,.45); }
.form__input:-webkit-autofill,
.form__input:-webkit-autofill:hover,
.form__input:-webkit-autofill:focus,
.form__input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink);
}
.form__input--otp { text-align: center; }
.form__error { margin-left: 16px; font-weight: 700; color: var(--danger); }
.form__error--global { margin-left: 0; text-align: center; }
.form__row--check { margin: 15px 0 16px; }
.form__check { font-size: 13px; line-height: 1.42; font-weight: 500; color: var(--mist); }
.form__check input { accent-color: var(--sun); }
.form__note { margin: 6px 0 0 29px; font-size: 12.5px; line-height: 1.42; color: var(--mist); }
.form__note a { color: var(--white); font-weight: 700; }
.form__note a:hover { color: var(--sun); }
.form__resend { color: var(--mist); font-weight: 500; }
.form__resend-btn { color: var(--sun); font-weight: 700; }
.form__resend-btn:disabled { color: var(--mist-dim); }
.panel__success-note { color: var(--sun); font-weight: 700; }
.wa-hook { color: var(--mist); font-weight: 500; margin: 14px 0 10px; }
.wa-hook strong { color: var(--white); }

/* Buttons: the poster's date pill. Ink caps on sun (14.5:1). */
.btn {
  border-radius: 999px;
  font-family: var(--font);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.btn--primary { color: var(--ink); background: var(--sun); }
.btn--primary:hover:not(:disabled) { color: var(--ink); background: var(--sun-hi); }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* intl-tel-input, ink on the white field */
.iti__dropdown-content { background: #fff; border: 2px solid var(--deep); border-radius: 16px; box-shadow: 0 18px 40px -14px rgba(2,14,34,.8); }
.iti__search-input { color: var(--ink); background: #EEF2F8; border-bottom: 1px solid #C9D3E2; }
.iti__search-input::placeholder { color: #66707F; }
.iti__search-input:focus { background: #E3EAF4; }
.iti__country-list { background: #fff; }
.iti__country, .iti__country-name { color: var(--ink); }
.iti__dial-code { color: #4A5568; }
.iti__country:hover, .iti__country.iti__highlight { background: rgba(10,66,127,.12); }
.iti__selected-country { border-radius: 999px 0 0 999px; padding-left: 12px; }
.iti__selected-country:hover, .iti__selected-country-primary:hover { background: rgba(10,66,127,.10); }
.iti__selected-dial-code { color: var(--ink); font-weight: 500; }
.iti__arrow { border-top-color: var(--ink); }
.iti__arrow--up { border-bottom-color: var(--ink); }

/* WhatsApp: green disc in a white pill */
.btn--whatsapp {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 4px;
  padding: 6px 18px 6px 6px;
  min-height: 56px;
  color: var(--ink);
  background: var(--white);
  container-type: inline-size; font-stretch: 100%; white-space: normal;
}
.btn--whatsapp .btn__icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; color: #06301A; background: var(--whatsapp); }
.btn--whatsapp .btn__text {
  flex: 1 1 auto; text-align: center;
  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;
}
.btn--whatsapp:hover { filter: none; color: var(--ink); background: var(--sun); }

/* access note */
.form__access { margin: 18px 0 0; font-size: 12.5px; line-height: 1.45; font-weight: 450; color: var(--mist); text-align: center; }
.form__access strong { font-weight: 700; color: var(--white); }
.form__access a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.form__access a:hover { color: var(--sun); }

/* Organisers: the poster's own strip (On The Beach, Louder, JOY), white. */
.orgs { display: block; width: 250px; max-width: 80%; height: auto; margin: 24px auto 0; filter: drop-shadow(0 1px 6px rgba(2,14,34,.7)); }

/* ---------- footer: the house format ---------- */
.foot {
  position: relative; z-index: 5;
  flex-shrink: 0;
  width: 100%;
  padding: 14px 18px 16px;
  background: var(--deeper);
  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: #fff; text-decoration: underline; }
.foot__copy span { margin-left: .75em; padding-left: .85em; border-left: 1px solid rgba(255,255,255,.35); }
.foot__links a + a,
.foot__legal [data-louder-consent-open] { margin-left: .75em; padding-left: .85em; border-left: 1px solid rgba(255,255,255,.35); }
.site-built { margin: 0; }
.site-built a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: 12px;
  color: var(--mist);
  text-decoration: none;
  transition: border-color .18s ease;
}
.site-built a:hover { border-color: var(--sun); }
.site-built img { display: block; opacity: .95; }
.foot a:focus-visible { outline: 2px solid var(--white); 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: 18px; }
  .foot__right { flex-direction: column; gap: 10px; }
}
/* wide stacked screens (tablets upright): the card overlap is capped */
@media (min-width: 700px) { .signup { margin-top: -90px; } }

/* ---------- side by side: genuinely landscape screens ----------
   The scene (Adam's desktop background: the poster's beach carried on to the right, sun top right)
   is the fixed full-window background, bottom-left anchored at window height. The bill and the card
   stand on it as ONE centred group; the bill is sized by the window height as well as its width
   so it always fits, and sticks while a long card scrolls. */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) and (min-height: 521px),
       (min-width: 560px) and (min-aspect-ratio: 3/2) and (max-height: 520px) {
  :root {
    --pw: 440px;
    --gap: clamp(28px, 5vw, 96px);
    --bw: min(36vw, 620px, calc((100svh - 96px) * 0.705));
  }
  .bg {
    display: block;
    position: fixed; inset: 0; z-index: 0;
    background: var(--sky) url("/basementjaxx/assets/images/plate-wide.webp?v=20261202-6") left bottom / auto 100% no-repeat;
  }
  .stage {
    background: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap);
    padding: 20px 24px;
    min-height: calc(100svh - 58px);
  }
  .art {
    position: sticky; top: 14px;
    flex: 0 0 var(--bw);
    width: var(--bw);
    aspect-ratio: 1877 / 2662;
    background: none;
    align-self: center;
  }
  .signup { flex: 0 1 var(--pw); width: auto; min-width: 0; max-width: var(--pw); margin: 0; }
  .panel__inner { padding: 34px 32px 30px; }
  .foot { background: rgba(4,31,69,.88); }
}
@media (min-aspect-ratio: 239/100) {
  .bg { background-size: 100% auto; }
}
/* Short laptops: keep the whole card on one screen. */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) and (min-height: 521px) and (max-height: 860px) {
  .stage { padding: 12px 24px; }
  .panel__inner { padding: 22px 28px 20px; }
  .spine { margin-bottom: 10px; }
  .panel__title { --ts: 1.8rem; margin-bottom: 6px; }
  .panel__lede { font-size: 14.5px; margin-bottom: 10px; }
  .form__row { margin-bottom: 6px; }
  .form__label { margin-bottom: 3px; }
  .form__input { padding: 8px 16px; }
  .form__row--check { margin: 10px 0; }
  .btn:not(.btn--whatsapp) { padding: 12px 16px; font-size: 16px; }
  .form__access { margin-top: 10px; font-size: 12px; }
  .orgs { width: 200px; margin-top: 12px; }
}
/* narrower two-up windows: the card takes what is left beside the poster */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) and (min-height: 521px) and (max-width: 1180px) {
  :root { --gap: 22px; --bw: min(40vw, calc((100svh - 96px) * 0.705)); }
  .stage { padding-left: 14px; padding-right: 14px; }
  .panel__inner { padding-left: 22px; padding-right: 22px; }
}

/* ---------- landscape phones (gotcha 27): the same pairing, smaller; the card scrolls ---------- */
@media (min-width: 560px) and (min-aspect-ratio: 3/2) and (max-height: 520px) {
  :root { --pw: 340px; --gap: 22px; --bw: calc((100svh - 24px) * 0.705); }
  .art { align-self: flex-start; top: 12px; }
  .bg { background-image: url("/basementjaxx/assets/images/plate-wide-720.webp?v=20261202-6"); }
  .stage { align-items: flex-start; padding: 12px 10px 14px; min-height: 0; }
  .panel { border-radius: 22px; }
  .panel__inner { padding: 20px 20px 18px; }
  .spine { margin-bottom: 10px; }
  .panel__title { --ts: 1.5rem; margin-bottom: 6px; }
  .panel__lede { font-size: 14px; margin-bottom: 8px; }
  .form__row { margin-bottom: 6px; }
  .form__input { padding: 8px 16px; }
  .btn:not(.btn--whatsapp) { padding: 11px 14px; font-size: 15px; }
  .orgs { width: 190px; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .art__bill img { animation: none !important; } }
