/* ============================================================
   WAH LIVERPOOL - new.html, rebuilt from the client PSD (WAH_BSW.psd, 6 Nov 2026)
   Worried About Henry, Blackstone Street Warehouse, Sat 13 February 2027.

   DIRECTION
   The poster is a blueprint, so the page is the drawing sheet opened out:
   the grid + print texture run full-bleed behind everything, every element is
   a layer lifted from the PSD and the form is the sheet's title block, set in
   its own ruled column, not a card on top. It stays on screen while the
   drawings scroll past it.

   COLOUR - literal samples from the PSD
     #0E2043 plate navy (average of the composited plate)
     #FFFFFF chalk, #D7CF55 highlighter (median of the venue underline)
     Highlighter on plate 9.9:1, so it can carry text and the CTA.

   TYPE - Big Shoulders Display Black (OFL, already on the site) for titles,
   Space Mono (OFL, the poster's own annotation face) for labels, system
   Helvetica for reading text (the poster's Helvetica Neue is commercial).

   MOTION - one moment: the two highlighter marks draw on at load. CSS only.
   ============================================================ */

@font-face { font-family: "Big Shoulders Display"; src: url("/assets/fonts/BigShouldersDisplay-900.woff2?v=20261003-1") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("/assets/fonts/SpaceMono-400.woff2?v=20261106-1") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --plate: #0E2043;
  --field: #0E2043;     /* OPAQUE on purpose, see the autofill rule */
  --chalk: #FFFFFF;
  --chalk-soft: #D5DBEA;
  --line: rgba(255,255,255,.34);
  --pen: #D7CF55;
  --danger: #FFB9AE;
  --whatsapp: #25D366;
  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, Consolas, monospace;
  --body: "Helvetica Neue", Helvetica, Arial, "Nimbus Sans", "Liberation Sans", sans-serif;
  --pad: 16px;
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
/* keep ABOVE every rule that sets display */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; background: var(--plate); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--body);
  color: var(--chalk);
  background: transparent;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;     /* clip, not hidden: hidden would break the sticky title block */
}
img { display: block; width: 100%; height: auto; }

/* The plate: fixed, so the page can be any length without stretching the grid. */
.plate {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--plate) url("/assets/images/new/bg-mobile.jpg?v=20261106-1") center top / cover no-repeat;
}
@media (min-aspect-ratio: 1/1) {
  .plate { background-image: url("/assets/images/new/bg-desktop.jpg?v=20261106-1"); }
}

/* Stacked by default: phones, portrait tablets, squarish windows.
   DOM order is art, form, drawings, so the form arrives straight after the line-up. */
.page { display: grid; grid-template-columns: minmax(0, 1fr); }

/* ---------- THE ART ---------- */
.art { padding: 20px var(--pad) 26px; min-width: 0; }
.art__h1 { margin: 0; font-weight: inherit; line-height: 0; }
.rule { margin-top: .4%; }
.draw-1 { animation: draw .9s cubic-bezier(.3,.1,.2,1) .25s both; }
.draw-2 { animation: draw .7s cubic-bezier(.3,.1,.2,1) 1.1s both; }
@keyframes draw { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }

/* venue + date, straight under the wordmark. Sized off the box, so it can never
   overflow: venue line 17.16em (measured from the woff2), date 6.29em, gap 1em. */
.facts-box { container-type: inline-size; }
.facts {
  margin: 10px 0 18px;
  display: flex;
  flex-direction: column;
  gap: .08em;
  font-family: var(--display);
  font-weight: 900;
  font-size: min(5.6cqw, 2.1rem);
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.facts span { white-space: nowrap; }
@container (min-width: 600px) {
  .facts { flex-direction: row; justify-content: space-between; gap: 1em; font-size: min(4cqw, 2.3rem); }
}
.art__body { position: relative; }
/* the half-face sits in the empty wedge of the line-up, off the right edge */
.roundel {
  position: absolute;
  z-index: -1;
  top: 33%;
  right: calc(-1 * var(--pad));
  height: 53%;
  width: auto;
}

/* ---------- THE TITLE BLOCK ---------- */
.sheet { min-width: 0; padding: 0 var(--pad); }
.sheet__in {
  background: var(--plate);
  border: 1px solid var(--chalk);
}
.signup { padding: 20px 18px 22px; }
.panel { position: relative; isolation: isolate; }  /* keeps the country dropdown on top */

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

.panel__title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.5rem, 11vw, 3.2rem);
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.panel__lede { margin: 0 0 8px; font-size: 15.5px; color: var(--chalk-soft); max-width: 46ch; }
.panel__lede--last { margin-bottom: 18px; }
.panel__lede strong { color: var(--chalk); font-weight: 700; }
.panel__success-note { margin: 0 0 12px; font-size: 14.5px; font-weight: 700; }

.form__row { margin: 0 0 12px; }
.form__label { display: block; margin: 0 0 4px; font-family: var(--mono); font-size: 12.5px; line-height: 1.3; color: var(--pen); }
.form__input {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 16px;      /* 16px minimum or iOS zooms on focus */
  color: var(--chalk);
  background: var(--field);
  border: 2px solid var(--chalk);
  border-radius: 0;
}
.form__input::placeholder { color: #A9B4CF; opacity: 1; }
.form__input:focus { outline: 2px dashed var(--pen); outline-offset: 2px; border-color: var(--pen); }
.form__input--otp {
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: .42em;
  text-align: center;
  text-indent: .42em;
}
/* Chrome ignores background on autofill: only an opaque inset shadow overrides it */
.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(--chalk) !important;
  caret-color: var(--chalk);
  transition: background-color 9999s ease-in-out 0s;
}
.form__error { margin: 6px 0 0; font-size: 13.5px; font-weight: 700; color: var(--danger); }
.form__error--global { margin: 14px 0 0; text-align: center; }
/* Honeypot. display:none ONLY: Chrome/Edge autofill off-screen fields */
.hp-row { display: none !important; }

.form__row--check { margin: 14px 0 16px; }
.form__check { display: flex; align-items: flex-start; gap: 11px; font-size: 12.5px; line-height: 1.5; color: var(--chalk-soft); cursor: pointer; }
.form__check input { flex: 0 0 auto; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--pen); cursor: pointer; }
.form__note { margin: 8px 0 0 30px; font-size: 12.5px; line-height: 1.5; color: var(--chalk-soft); }
.form__note a, .form__check a { color: var(--chalk); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.form__resend { margin: 16px 0 0; font-size: 13.5px; color: var(--chalk-soft); text-align: center; }
.form__resend-btn { font: inherit; font-weight: 700; color: var(--chalk); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.form__resend-btn:disabled { color: #A9B4CF; cursor: default; text-decoration: none; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px 13px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1.1;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.btn:disabled { opacity: .6; cursor: default; }
.btn--primary { color: var(--plate); background: var(--pen); }
.btn--primary:hover:not(:disabled) { background: var(--chalk); }
.btn--whatsapp { color: #06301A; background: var(--whatsapp); margin-top: 4px; }
.btn--whatsapp:hover { background: #4BE085; }
.btn__icon { flex: 0 0 auto; width: 20px; height: 20px; }
.wa-hook { margin: 18px 0 12px; font-size: 14px; color: var(--chalk-soft); }
.wa-hook strong { color: var(--chalk); font-weight: 700; }

/* WAH app: a cell of the title block, ruled off like the poster's venue box */
.appcta { margin: 22px -18px -22px; padding: 16px 18px 18px; border-top: 1px solid var(--chalk); }
.appcta__hook { margin: 0 0 4px; font-family: var(--display); font-weight: 900; font-size: 1.45rem; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.appcta__copy { margin: 0; font-size: 14px; line-height: 1.5; color: var(--chalk-soft); text-wrap: pretty; }
.appcta__badges { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 12px; }
.appcta__badge { display: inline-flex; line-height: 0; }
.appcta__badge img { height: 42px; width: auto; }
.appcta__badge:hover img { opacity: .82; }

/* ---------- intl-tel-input v25 ---------- */
.iti { width: 100%; display: block; }
.iti input.form__input { padding-left: calc(52px + 0.7rem); }  /* app.js re-measures this */
.iti__country-container { z-index: 3; }
.iti--inline-dropdown .iti__dropdown-content { z-index: 50; }
.iti__dropdown-content.iti__hide { display: none !important; }
.iti__dropdown-content { background: var(--plate); border: 2px solid var(--chalk); box-shadow: 0 18px 36px -14px #000; overflow: hidden; }
/* keep the vendor's horizontal padding: it clears the search and clear icons */
.iti__search-input { padding: 11px 30px 11px 32px; width: 100%; font-family: var(--body); font-size: 15px; color: var(--chalk); background: #18305F; border: 0; border-bottom: 2px solid var(--chalk); }
.iti__search-input::placeholder { color: #A9B4CF; }
.iti__search-input:focus { outline: none; background: #213B70; }
.iti__country-list { background: var(--plate); max-height: 240px; }
.iti__country { padding: 9px 12px; font-family: var(--body); font-size: 14px; color: var(--chalk); }
.iti__country:hover, .iti__country.iti__highlight { background: #213B70; }
.iti__dial-code { color: #A9B4CF; }
.iti__country-name { color: var(--chalk); }
.iti__selected-country { padding-left: 8px; }
.iti__selected-country:hover, .iti__selected-country-primary:hover { background: #213B70; }
.iti__selected-dial-code { color: var(--chalk); font-family: var(--body); font-size: 16px; }
.iti__arrow { border-top-color: var(--chalk); }
.iti__arrow--up { border-bottom-color: var(--chalk); }

/* ---------- THE DRAWINGS ---------- */
.plans {
  position: relative;
  min-width: 0;
  overflow: clip;
  padding: 26px var(--pad) 120px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "stage stage" "ph1 ph2" "venue venue" "map map";
  gap: 12px;
}
.plans__stage { grid-area: stage; }
.plans__ph1 { grid-area: ph1; }
.plans__ph2 { grid-area: ph2; }
.plans__photo { height: 100%; object-fit: cover; }
.plans__venue { grid-area: venue; position: relative; margin-top: 8px; }
/* the date oval, placed in % of the venue box so it scales with it */
.plans__oval { position: absolute; left: 16.2%; top: 61.7%; width: 32.7%; }
.plans__map { grid-area: map; }
.handface { position: absolute; right: -44px; bottom: -34px; width: 230px; pointer-events: none; }

/* ---------- FOOTER: current Louder house footer (wah-itc-2027, mozey-uk-tour) ---------- */
.foot {
  grid-column: 1 / -1;
  padding: 14px var(--pad) 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--plate);
  border-top: 1px solid var(--line);
}
.foot__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot__legal { margin: 0; font-size: 12px; color: var(--chalk); }
.foot__legal a { color: var(--chalk); text-decoration: none; }
.foot__legal a:hover { color: var(--pen); }
/* louder-consent.js drops "Cookie settings" in after the privacy link with only
   a text space: give every link a real gap and divider */
.foot__links a + a,
.foot__legal [data-louder-consent-open] {
  margin-left: .75em;
  padding-left: .85em;
  border-left: 1px solid rgba(255,255,255,.45);
}
.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,.4);
  border-radius: 999px;
  font-size: 12px;
  color: var(--chalk);
  text-decoration: none;
  transition: border-color .18s ease;
}
.site-built a:hover { border-color: var(--pen); }
.site-built img { display: block; width: 64px; height: 14px; 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; }
}

/* ---------- WIDE: drawings left, title block right and sticky ----------
   Aspect-ratio threshold, not width alone, so squarish windows have no gaps.
   --core is the height of the form down to the Sign up button: if the window
   is shorter than that, the block sticks further up, so the button is always
   on screen. Everything below it (the app cell) arrives at the end of the page. */
@media (min-width: 900px) and (min-aspect-ratio: 7/10) {
  :root { --pad: clamp(24px, 3vw, 48px); --block: clamp(390px, 33vw, 500px); --core: 590px; }
  .page {
    grid-template-columns: minmax(0, 1fr) var(--block);
    grid-template-rows: auto 1fr auto;
  }
  .art { grid-column: 1; grid-row: 1; padding-top: clamp(20px, 3.4vh, 40px); padding-bottom: 28px; }
  .facts { margin: 12px 0 22px; }
  /* Line-up + roundel always fit the first screen. --cw is the art column's inner
     width; .17 of it is the wordmark + rule (fixed by their aspect ratios); 138px is
     the top + bottom padding and the facts line. --lh is what is left for the line-up. */
  .art {
    --cw: calc(100vw - var(--block) - 2 * var(--pad));
    --lh: max(200px, calc(var(--vh) - 138px - var(--cw) * .17));
  }
  .art__body { display: flex; align-items: center; justify-content: space-between; }
  .lineup { flex: 0 1 auto; width: min(72%, calc(var(--lh) * 1.309)); }  /* 1.309 = image aspect */
  .roundel {
    position: static;
    z-index: auto;
    flex: 0 0 auto;
    height: min(var(--lh), calc((var(--cw) * .28 + var(--pad)) * 1.953));  /* 1.953 = 1 / aspect */
    width: auto;
    max-width: none;
    margin-right: calc(-1 * var(--pad));
  }

  .sheet { grid-column: 2; grid-row: 1 / 3; padding: 0; }
  .sheet__in {
    position: sticky;
    top: min(0px, calc(100vh - var(--core)));
    top: min(0px, calc(100svh - var(--core)));
    /* the column is one screen tall and the box sits centred in it, with the
       grid showing above and below; sticky keeps it centred while the page scrolls */
    min-height: var(--vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: none;
    border-width: 0 0 0 1px;
  }
  .signup {
    padding: clamp(20px, 3.4vh, 36px) clamp(22px, 2.4vw, 34px) 26px;
    background: var(--plate);
    border-block: 1px solid var(--chalk);
  }
  .appcta { margin: 24px calc(-1 * clamp(22px, 2.4vw, 34px)) -26px; padding-inline: clamp(22px, 2.4vw, 34px); }
  .panel__title { font-size: clamp(2.8rem, 3.8vw, 3.6rem); }

  .plans {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
    padding-bottom: clamp(56px, 8vw, 110px);
    /* column widths are the poster's: photos 515, stage 1395, venue 1420, map 455 */
    grid-template-columns: 515fr 905fr 455fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "ph1 stage stage"
      "ph2 stage stage"
      "venue venue map";
    gap: 16px;
  }
  .plans__venue { margin-top: 12px; align-self: start; }
  .plans__map { margin-top: 12px; align-self: start; }
  .handface { width: clamp(180px, 20vw, 300px); right: -3%; bottom: -5%; }
}

/* Landscape phones: wide but almost no height (gotcha 27) */
@media (min-width: 640px) and (min-aspect-ratio: 7/10) and (max-height: 520px) {
  :root { --pad: 18px; --block: 46vw; --core: 440px; }
  .page {
    grid-template-columns: minmax(0, 1fr) var(--block);
    grid-template-rows: auto 1fr auto;
  }
  .art { grid-column: 1; grid-row: 1; padding: 14px var(--pad) 16px; }
  .facts { margin: 6px 0 10px; }
  .sheet { grid-column: 2; grid-row: 1 / 3; padding: 0; }
  .sheet__in {
    position: sticky;
    top: min(0px, calc(100vh - var(--core)));
    top: min(0px, calc(100svh - var(--core)));
    border-width: 0 0 1px 1px;
  }
  .signup { padding: 12px 18px 18px; }
  .panel__title { font-size: 2rem; margin-bottom: 4px; }
  .panel__lede { font-size: 13px; }
  .panel__lede--last { margin-bottom: 8px; }
  .form__row { margin-bottom: 7px; }
  .form__input { padding: 8px 12px; }
  .form__row--check { margin: 8px 0 10px; }
  .btn { padding: 10px 16px 9px; font-size: 1.15rem; }
  .appcta { margin: 16px -18px -18px; padding: 12px 18px; }
  .appcta__badge img { height: 36px; }
  .iti__country-list { max-height: 150px; }
  .plans {
    grid-column: 1; grid-row: 2;
    padding-top: 0;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-template-areas: "stage stage" "ph1 ph2" "venue venue" "map map";
    gap: 10px;
  }
  .handface { width: 150px; right: -20px; bottom: -20px; }
}

/* ---------- ACCESSIBILITY ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2.5px solid var(--pen); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
