/* ===========================================================
   ALISHA · 10HRS · Amsterdam · Zondag 20 September
   White poster-banner over the venue photograph — ink type,
   brick-red accent word, thin rule, condensed grotesque caps.
   The page background IS the artwork; we only hang the panel.
   =========================================================== */

/* ---------- TOKENS ---------- */
:root {
  --paper:        #fbfbf9;                        /* poster-panel white        */
  --paper-soft:   rgba(251, 251, 249, 0.97);
  --ink:          #161616;                        /* poster black              */
  --ink-soft:     rgba(22, 22, 22, 0.72);
  --ink-faint:    rgba(22, 22, 22, 0.45);
  --ink-ghost:    rgba(22, 22, 22, 0.14);

  --hairline:     rgba(22, 22, 22, 0.18);
  --hairline-hi:  rgba(22, 22, 22, 0.34);

  /* Sampled from the artwork: "ZONDAG" brick red + canopy rose + ground sand */
  --brick:        #8f4f4b;
  --brick-deep:   #73403c;
  --rose:         #a27471;
  --sand:         #b6a18d;

  --danger:       #b03a30;

  --sans:         "Helvetica Neue", "HelveticaNeue", Helvetica, "Nimbus Sans", "Liberation Sans", Arial, sans-serif;
  /* Condensed grotesque — same family of heavy flat-terminal caps as the
     poster's "ALISHA 10HRS" lockup */
  --display:      "Archivo Narrow", "Arial Narrow", "Helvetica Neue", sans-serif;
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ---------- PAGE BACKGROUND: the venue photograph ----------
   Mobile art (1080×2525): lockup + artist in the top half, empty ground
   below — anchored top so the panel slots into the ground area.
   Desktop art (2997×1920): lockup on the left side — anchored left so
   it survives narrow-desktop cropping; the panel sits over the trees. */
body.page {
  background-color: var(--sand);
  background-image: url("/assets/images/bg-m-720.webp?v=20260610-8");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-attachment: scroll;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
}
@media (min-width: 480px) {
  body.page { background-image: url("/assets/images/bg-m-1080.webp?v=20260610-8"); }
}
/* Desktop art only when the window is wide AND landscape enough for the
   two-column layout to clear the photographed lockup — narrower or squarer
   windows (portrait tablets, half-screen browsers) stay on the stacked
   mobile-art layout. Keep these conditions in sync with the .hero grid. */
@media (min-width: 1000px) and (min-aspect-ratio: 6/5) {
  body.page {
    background-image: url("/assets/images/bg-d-1600.webp?v=20260610-8");
    background-position: left center;
    background-attachment: fixed;
  }
}
@media (min-width: 1400px) and (min-aspect-ratio: 6/5) {
  body.page { background-image: url("/assets/images/bg-d-1920.webp?v=20260610-8"); }
}
@media (min-width: 2000px) and (min-aspect-ratio: 6/5) {
  body.page { background-image: url("/assets/images/bg-d-2560.webp?v=20260610-8"); }
}

/* ---------- LAYOUT ---------- */
.stage {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 4vw, 2.75rem) clamp(0.4rem, 1vw, 0.75rem);
  gap: clamp(1rem, 2.5vw, 2rem);
}

/* ---------- HERO ----------
   Mobile: one column — an empty spacer row lets the photographed lockup +
   artist show through, then the panel slots in over the empty foreground.
   Desktop: two columns — the lockup lives in the left of the photo, the
   panel hangs over the tree line on the right. */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-content: start;
  padding: clamp(0.5rem, 2vw, 2rem) 0;
}
/* Stacked-layout spacer. The lockup writing in the mobile art ends ~43% of
   the image width down (cover scales by width), so 46vw is the hard floor
   the panel must never cross; 96vw pushes it below the artist on phones,
   capped at 60svh so short viewports don't bury the form. */
.hero__art { min-height: clamp(46vw, 96vw, 60svh); }
.hero__col { min-width: 0; }

/* Two columns only when the lockup AND a usable panel both fit. The lockup
   writing's right edge in the desktop art (2997×1920) sits at 40% of the
   image width; with cover anchored left its on-screen position is
   max(40vw, 62.5vh) — the left column reserves that footprint (+ margin)
   so the panel can never overlap the writing. Keep these conditions in
   sync with the body.page bg swap. */
@media (min-width: 1000px) and (min-aspect-ratio: 6/5) {
  .hero {
    grid-template-columns: minmax(max(42vw, 65vh), 1fr) minmax(340px, 480px);
    gap: clamp(1.5rem, 3vw, 4.5rem);
    align-items: center;
    align-content: center;
    min-height: 0;
  }
  .hero__art { min-height: 0; }
}

/* ---------- SIGNUP PANEL: white poster banner ----------
   Mirrors the poster block baked into the photo: paper white, brick-red
   top strip, centred header, thin rule — like a second banner hung at
   the venue. box-shadow (not ::before) so the intl-tel-input dropdown
   is free to overflow and nothing stacks over the form. */
.signup { display: flex; justify-content: center; }

.panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1.25rem, 3vw, 1.9rem);
  background: var(--paper-soft);
  border-top: 4px solid var(--brick);
  border-radius: 3px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 24px 60px rgba(20, 16, 12, 0.38),
    0 4px 14px rgba(20, 16, 12, 0.22);
  animation: fade-up 1.1s cubic-bezier(.2,.7,.2,1) 0.35s both;
}

/* State machine — blueprint contract */
.panel__idle, .panel__otp, .panel__success { 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; }

/* Eyebrow mirrors "ZONDAG 20 SEPTEMBER": red lead word + ink, centred,
   with the poster's thin rule directly underneath. */
.panel__eyebrow {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
}
.panel__eyebrow-red { color: var(--brick); }

.panel__rule {
  display: block;
  width: 84%;
  height: 2px;
  margin: 0 auto 1.1rem;
  background: var(--ink);
}

.panel__title {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 3rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  text-wrap: balance;
}
.panel__title strong { font-weight: 700; }
/* The trailing phrase drops to medium weight — the "ALISHA 10HRS" mix */
.panel__title em { font-style: normal; font-weight: 500; }
/* Red full stop signs off every title, like the red word on the poster */
.panel__title::after { content: "."; color: var(--brick); font-weight: 700; }

.panel__lede {
  margin: 0 0 1.4rem;
  font-size: 14.5px;
  line-height: 1.55;
  text-align: center;
  color: var(--ink-soft);
  text-wrap: pretty;
}
/* Scoped to avoid clobbering eyebrow — blueprint gotcha #3 */
.panel__success p:not(.panel__eyebrow) {
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
  font-size: 14.5px;
  line-height: 1.55;
  text-align: center;
}

/* Server-supplied success message (e.g. double-opt-in notice) */
.panel__success-note {
  margin: 0 0 1.1rem !important;
  padding: 0.7rem 0.9rem;
  background: rgba(143, 79, 75, 0.07);
  border-left: 2px solid var(--brick);
  border-radius: 0 3px 3px 0;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: var(--ink) !important;
  text-align: left !important;
}

/* ---------- COUNTDOWN: time until ticket on-sale ----------
   Four poster-style cells split by hairlines — condensed ink numerals
   over tiny letter-spaced labels, matching the lockup's type mix. */
.countdown {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin: 0 0 0.85rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 0.55rem 0;
}
.countdown__cell {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0 0.3rem;
}
.countdown__cell + .countdown__cell { border-left: 1px solid var(--hairline); }
.countdown__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.countdown__lab {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.panel__onsale {
  margin: 0 0 1.3rem;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: var(--ink-soft);
  /* Two even lines on narrow panels — never an orphaned "time." */
  text-wrap: balance;
}
.panel__onsale strong { color: var(--ink); font-weight: 600; }

/* ---------- FORM ---------- */
.form { display: flex; flex-direction: column; gap: 0.95rem; margin: 0; padding: 0; }
/* display:none (not off-screen) so browser autofill / password managers never
   populate the trap — an off-screen field is still a live autofill target and
   Chrome/Edge would fill it, silently blocking the real submit. */
.form__honeypot { display: none !important; }
.form__row { position: relative; }

.form__label {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.form__input {
  width: 100%;
  padding: 0.65rem 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition: border-color .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form__input::placeholder { color: var(--ink-faint); letter-spacing: 0; }
.form__input:focus {
  outline: 0;
  border-bottom-color: var(--brick);
}
.form__input:-webkit-autofill,
.form__input:-webkit-autofill:hover,
.form__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset;
  transition: background-color 5000s ease-in-out 0s;
}

.form__input--otp {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.45em;
  text-align: center;
  padding: 0.8rem 0;
}

/* ============================================================
   intl-tel-input — paper-theme overrides
   ============================================================ */

.iti { display: block; width: 100%; }

/* Vendor reserves ~52px for the flag/dial-code area — gotcha #1 */
.iti input.form__input { padding-left: calc(52px + 0.7rem); }

.iti__flag-container { background: transparent; }
.iti__selected-flag {
  background: transparent !important;
  padding-left: 0;
  border-right: 1px solid var(--hairline);
}
.iti__selected-flag:hover,
.iti__selected-flag[aria-expanded="true"] { background: rgba(22,22,22,0.04) !important; }
.iti__arrow { border-top-color: var(--ink-faint); }
.iti__arrow--up { border-bottom-color: var(--brick); }
.iti__selected-dial-code { color: var(--ink-soft); font-family: var(--sans); font-size: 14px; }

.iti__dropdown-content {
  background-color: #ffffff !important;
  color: var(--ink);
  border-radius: 6px !important;
}
.iti--inline-dropdown .iti__dropdown-content {
  position: absolute;
  z-index: 1000;            /* above panel chrome + other inputs */
  margin-top: 4px;
  margin-left: 0;
  border: 1px solid var(--hairline-hi) !important;
  box-shadow:
    0 8px 24px rgba(20,16,12,0.25),
    0 2px 6px rgba(20,16,12,0.15) !important;
  min-width: 280px;
  max-width: calc(100vw - 2rem);
  overflow: hidden;
}

.iti__search-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  outline: 0;
  border-radius: 0;
}
.iti__search-input::placeholder { color: var(--ink-faint); }
.iti__search-input:focus { border-bottom-color: var(--brick); }

.iti__country-list {
  background: #ffffff;
  color: var(--ink);
  border: 0;
  font-family: var(--sans);
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline-hi) transparent;
}
.iti__country-list::-webkit-scrollbar { width: 8px; }
.iti__country-list::-webkit-scrollbar-track { background: transparent; }
.iti__country-list::-webkit-scrollbar-thumb { background: var(--hairline-hi); }
.iti__country-list::-webkit-scrollbar-thumb:hover { background: var(--ink-faint); }

.iti__country {
  padding: 0.55rem 0.9rem;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: background .12s ease;
}
.iti__country:hover { background: rgba(22,22,22,0.04); }
.iti__country.iti__highlight {
  background: rgba(143, 79, 75, 0.1);
  color: var(--brick);
}
.iti__country.iti__highlight .iti__dial-code { color: var(--brick); opacity: 0.85; }
.iti__country-name { color: var(--ink); flex: 1; }
.iti__dial-code { color: var(--ink-faint); font-size: 12.5px; letter-spacing: 0.02em; }
.iti__divider {
  border-bottom: 1px solid var(--hairline);
  padding: 0;
  margin: 0.25rem 0;
}
.iti__no-results {
  padding: 0.7rem 0.9rem;
  font-size: 13px;
  color: var(--ink-faint);
}

.form__row--check { margin-top: 0.2rem; }
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  cursor: pointer;
}
.form__check input[type="checkbox"] {
  flex: 0 0 16px;
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: transparent;
  border: 1px solid var(--hairline-hi);
  border-radius: 2px;
  display: grid;
  place-items: center;
  transition: border-color .15s ease, background .15s ease;
}
.form__check input[type="checkbox"]:hover { border-color: var(--brick); }
.form__check input[type="checkbox"]:checked {
  background: var(--brick);
  border-color: var(--brick-deep);
}
.form__check input[type="checkbox"]:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: rotate(-45deg) translate(0, -1px);
}
.form__check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--ink-ghost); }
.form__check a:hover { text-decoration-color: var(--brick); }

.form__error {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--danger);
}
.form__error--global { margin-top: 0.8rem; }

/* ---------- BUTTONS ---------- */
.btn {
  --btn-h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: var(--btn-h);
  margin-top: 0.5rem;
  padding: 0 1.1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 8px 22px rgba(20, 16, 12, 0.28);
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn:hover {
  transform: translateY(-1px);
  background: var(--brick-deep);
  box-shadow: 0 12px 30px rgba(115, 64, 60, 0.38);
}
.btn:active { transform: translateY(1px); }

/* Light sheen sweep on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .5s ease;
  z-index: -1;
}
.btn:hover::before { transform: translateX(120%); }

.btn__text { position: relative; z-index: 1; }
.btn__arrow {
  position: relative;
  z-index: 1;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
  transform: translateX(0);
  transition: transform .2s ease;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--whatsapp {
  background: linear-gradient(180deg, #3ae07a 0%, #25d366 55%, #1aa851 100%);
  color: #06301a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 8px 22px rgba(37, 211, 102, 0.28);
}
.btn--whatsapp:hover {
  background: linear-gradient(180deg, #3ae07a 0%, #25d366 55%, #1aa851 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 12px 30px rgba(37, 211, 102, 0.4);
}
.btn__icon { width: 22px; height: 22px; position: relative; z-index: 1; }

.form__resend {
  margin: 0.9rem 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
}
.form__resend-btn {
  background: transparent;
  border: 0;
  color: var(--brick);
  font-family: inherit;
  font-weight: 700;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0 0 0 0.3rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(143, 79, 75, 0.4);
}
.form__resend-btn:disabled { color: var(--ink-faint); text-decoration-color: var(--ink-ghost); cursor: not-allowed; }

/* ---------- FOOTER ----------
   Sits over the sandy foreground of the photo — ink type with a faint
   paper lift so it stays legible over ground texture. */
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-family: var(--display);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(22, 22, 22, 0.78);
}
.foot a { color: rgba(22, 22, 22, 0.85); text-decoration: none; }
.foot a:hover { color: var(--brick-deep); }
/* Each footer item floats as its own small frosted pill (like the built-by
   badge) — keeps the type legible over the photo's dark stage corner
   without drawing a solid bar across the artwork. */
.foot__legal {
  margin: 0;
  padding: 0.35rem 0.9rem;
  background: rgba(251, 251, 249, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(251, 251, 249, 0.35);
  border-radius: 999px;
}

/* Copyright + Furiosa pill share the left side of the footer */
.foot__left {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.6vw, 1rem);
  flex-wrap: wrap;
}
.site-built { margin: 0; line-height: 0; }
.site-built a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(22, 22, 22, 0.75);
  background: rgba(251, 251, 249, 0.6);
  border: 1px solid rgba(22, 22, 22, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  text-shadow: none;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.site-built a:hover {
  color: var(--brick-deep);
  border-color: var(--brick);
  background: rgba(251, 251, 249, 0.85);
}
/* The avatar PNG is light teal (drawn for dark footers) — pull it down to
   ink so it reads on the light frosted pill. */
.site-built img { display: inline-block; filter: grayscale(1) brightness(0.3); opacity: 0.85; vertical-align: middle; }

/* Footer: stack to a clean centred column on phones */
@media (max-width: 600px) {
  .foot {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.85rem;
    padding: 0.5rem 0 0;
  }
  .foot__left {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
  }
  .foot__legal { letter-spacing: 0.12em; }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .panel { animation: none; }
  .btn::before { display: none; }
}

/* ---------- A11Y / FOCUS ---------- */
:focus-visible { outline: 1px solid var(--brick); outline-offset: 2px; }
.form__input:focus-visible { outline: 0; }
.btn:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }

/* ---------- LEGAL PAGES (privacy.html) ---------- */
body.legal-wrap {
  background: #f1ede7;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 2.5rem) 4rem;
}
.legal {
  max-width: 740px;
  margin: 0 auto;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  padding: 0.4rem 1.05rem 0.4rem 0.4rem;
  border: 1px solid var(--hairline-hi);
  border-radius: 999px;
  background: rgba(251, 251, 249, 0.8);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease, background .18s ease;
}
.legal__back:hover {
  border-color: var(--brick);
  background: rgba(143, 79, 75, 0.06);
}
/* Ink arrow chip — nudges left on hover */
.legal__back-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  transition: transform .18s ease, background .18s ease;
}
.legal__back:hover .legal__back-arrow { transform: translateX(-3px); background: var(--brick-deep); }
.legal__back-arrow svg { width: 13px; height: 13px; display: block; }
/* Stacked label: tiny "BACK TO" eyebrow over the brand in proper casing */
.legal__back-label {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.12;
}
.legal__back-text {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.legal__back-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.legal h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 2rem;
  color: var(--ink);
  text-wrap: balance;
}
.legal h1::after { content: "."; color: var(--brick); }
.legal h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 2.2rem 0 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--hairline);
}
.legal h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 1.8rem 0 0.4rem;
}
.legal h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 1.4rem 0 0.3rem;
}
.legal p, .legal li {
  font-size: 14.5px;
  color: var(--ink-soft);
}
.legal ul { padding-left: 1.1rem; margin: 0.5rem 0 1rem; }
.legal li { margin-bottom: 0.45rem; }
.legal a:not(.legal__back) { color: var(--brick); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(143,79,75,0.4); }
.legal a:not(.legal__back):hover { text-decoration-color: var(--brick); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal__meta {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- TINY VIEWPORTS ---------- */
@media (max-width: 380px) {
  .stage { padding: 0.7rem 0.85rem 0.4rem; }
  .panel { padding: 1.1rem 1rem; }
}
