/* ===========================================================
   A State of Trance · 25 Years · London · 14·11·2026
   Dark industrial cathedral aesthetic
   =========================================================== */

/* ---------- TOKENS ---------- */
:root {
  --ink:           #f1f5f7;
  --ink-soft:      rgba(241, 245, 247, 0.72);
  --ink-faint:     rgba(241, 245, 247, 0.42);
  --ink-ghost:     rgba(241, 245, 247, 0.18);

  --bg:            #06080a;
  --bg-deep:       #03040680;
  --panel-bg:      rgba(8, 11, 14, 0.62);
  --panel-bg-solid:#0a0d10;

  --hairline:      rgba(255, 255, 255, 0.16);
  --hairline-hi:   rgba(255, 255, 255, 0.34);

  /* Laser palette — sampled from the designer's gradient */
  --laser-cyan:    #34e6cf;
  --laser-green:   #5cf07e;
  --laser-magenta: #ff5cbd;
  --laser-violet:  #b466ff;

  /* The signature trance gradient — used SPARINGLY (hairlines, focus, primary button) */
  --laser-grad:    linear-gradient(90deg, #34e6cf 0%, #5cf07e 38%, #d49fff 68%, #ff5cbd 100%);
  --laser-grad-v:  linear-gradient(180deg, #34e6cf 0%, #5cf07e 50%, #ff5cbd 100%);

  /* Silver/chrome — for buttons and the ASOT-mark-adjacent type */
  --chrome:        linear-gradient(180deg, #fbfcfd 0%, #d8dde0 38%, #a8aeb2 100%);
  --chrome-flat:   #c9ced2;

  --danger:        #ff6b6b;

  --rad:           0px;
  --gap:           clamp(1rem, 2.2vw, 1.75rem);

  --sans:          "Helvetica Neue", "HelveticaNeue", Helvetica, "Nimbus Sans", "Liberation Sans", Arial, sans-serif;
  --display:       "Helvetica Neue", "HelveticaNeue", Helvetica, "Nimbus Sans", "Liberation Sans", Arial, sans-serif;
  --mono:          "Helvetica Neue", "HelveticaNeue", Helvetica, "Nimbus Sans", "Liberation Sans", Arial, sans-serif;

  /* Condensed industrial face — reserved for the 25-year chip + CTA button */
  --display-condensed: "Saira Condensed", "Arial Narrow", "Liberation Sans Narrow", Impact, 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(--bg);
  -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 ---------- */
body.page {
  background-color: var(--bg);
  background-image: url("/assets/images/bg-m-900.webp?v=20260517-1");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: scroll;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
}
@media (min-width: 800px) {
  body.page {
    background-image: url("/assets/images/bg-d-1920.webp?v=20260517-1");
    background-attachment: fixed;
    background-position: center center;
  }
}
@media (min-width: 1600px) {
  body.page { background-image: url("/assets/images/bg-d-2400.webp?v=20260517-1"); }
}

/* Vignette to keep edges dark and frame the centre */
body.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.55) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.5) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* SVG grain — prevents banding in flat blacks */
body.page::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.12 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

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

/* ---------- TOPBAR ---------- */
.topbar {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.4rem);
  flex-wrap: wrap;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 84px;
  height: 1px;
  background: var(--laser-grad);
}
.topbar__chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--hairline-hi);
  text-decoration: none;
  color: var(--ink);
  background: rgba(8,11,14,0.4);
  transition: border-color .2s ease, background .2s ease;
}
.topbar__chip:hover { border-color: var(--laser-cyan); background: rgba(52,230,207,0.06); }
.topbar__chip-num {
  font-family: var(--display-condensed);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.topbar__chip-label {
  font-family: var(--display-condensed);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.topbar__ticker {
  margin: 0;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.topbar__beat {
  color: var(--laser-cyan);
  font-size: 9px;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.65); }
}
.topbar__sep { color: var(--ink-faint); margin: 0 0.05rem; }
.topbar__divider {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--hairline-hi);
  margin: 0 0.2rem;
}

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1rem, 2.5vw, 2rem) 0;
}
@media (min-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.hero__col { min-width: 0; }

.hero__col--overlay {
  position: relative;
  text-align: center;
  animation: fade-up 1.1s cubic-bezier(.2,.7,.2,1) 0.2s both;
}
.hero__art { margin: 0; display: flex; justify-content: center; }
.hero__art img {
  width: 100%;
  max-width: min(78vw, 640px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55))
          drop-shadow(0 1px 0 rgba(255,255,255,0.06));
}
@media (min-width: 1080px) {
  .hero__art img { max-width: min(42vw, 640px); }
}
@media (min-width: 1400px) {
  .hero__art img { max-width: min(40vw, 700px); }
}

.hero__credit {
  margin: 1.2rem auto 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero__credit-mark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__credit-text { padding-bottom: 0.1rem; }

/* ---------- SIGNUP PANEL ---------- */
.signup { display: flex; justify-content: center; }

.panel {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.25rem, 3vw, 1.9rem);
  background: var(--panel-bg);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--hairline-hi);
  /* No clip-path / no isolation: the intl-tel-input country dropdown
     must be free to overflow below the panel's bottom edge. */
  animation: fade-up 1.1s cubic-bezier(.2,.7,.2,1) 0.55s both;
}

/* Decorative corner ticks — surveyor-style registration marks at each corner */
.panel__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}
.panel__corner::before,
.panel__corner::after {
  content: "";
  position: absolute;
  background: var(--laser-cyan);
}
.panel__corner::before { width: 10px; height: 1px; }
.panel__corner::after  { width: 1px;  height: 10px; }
.panel__corner--tl { top: 8px; left: 8px; }
.panel__corner--tl::before { top: 0; left: 0; }
.panel__corner--tl::after  { top: 0; left: 0; }
.panel__corner--tr { top: 8px; right: 8px; }
.panel__corner--tr::before { top: 0; right: 0; }
.panel__corner--tr::after  { top: 0; right: 0; }
.panel__corner--bl { bottom: 8px; left: 8px; }
.panel__corner--bl::before { bottom: 0; left: 0; }
.panel__corner--bl::after  { bottom: 0; left: 0; }
.panel__corner--br { bottom: 8px; right: 8px; }
.panel__corner--br::before { bottom: 0; right: 0; }
.panel__corner--br::after  { bottom: 0; right: 0; }

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

.panel__eyebrow {
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--laser-cyan);
}
.panel__eyebrow-hair {
  flex: 0 0 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--laser-cyan), transparent);
}
.panel__eyebrow-hair:last-child {
  flex: 1 1 auto;
  background: linear-gradient(90deg, var(--laser-cyan), transparent 80%);
}

.panel__title {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 3.1rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}
.panel__title em {
  font-style: italic;
  background: var(--laser-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.panel__lede {
  margin: 0 0 1.4rem;
  font-size: 14.5px;
  line-height: 1.55;
  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;
}

/* Server-supplied success message — appears above the static WhatsApp CTA copy
   when the CRM returns data.message (e.g. "Check your inbox to confirm"
   if double_optin is enabled). Slightly distinct visual treatment so it
   reads as a system notice rather than our own marketing copy. */
.panel__success-note {
  margin: 0 0 1.1rem !important;
  padding: 0.7rem 0.9rem;
  background: rgba(52, 230, 207, 0.08);
  border-left: 2px solid var(--laser-cyan);
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: var(--ink) !important;
}

/* ---------- COUNTDOWN ----------
   Pre-sale clock. Sits between the lede and the form. Numerals use the
   reserved condensed industrial face (--display-condensed, same as the
   25-year chip + CTA) so they read as ticket-stub / departure-board type
   rather than body chrome. Base = light-on-dark (v1); silver-press
   treatment is layered in the .page--v2 block below. */
.countdown {
  margin: 0 0 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
}
.countdown__caption {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--laser-cyan);
}
.countdown__clock {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.35rem, 1.5vw, 0.7rem);
}
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
}
.countdown__num {
  font-family: var(--display-condensed);
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 2.85rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: var(--ink);
}
.countdown__label {
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.countdown__sep {
  font-family: var(--display-condensed);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  line-height: 0.92;
  color: var(--ink-ghost);
  /* nudge the colon up so it aligns with the digits, not the labels */
  padding-top: 0.05em;
}
.countdown__live {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--laser-cyan);
}

/* ---------- 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. Bots that set
   the value via the DOM are still caught by the honeypot guard in app.js. */
.form__honeypot { display: none !important; }
.form__row { position: relative; }

.form__label {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.form__label-hint {
  margin-left: 0.4em;
  opacity: 0.6;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.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: transparent;
  border-image: var(--laser-grad) 1;
  border-image-slice: 1;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}
.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(--panel-bg-solid) inset;
  transition: background-color 5000s ease-in-out 0s;
}

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

/* ============================================================
   intl-tel-input v19 — dark-theme overrides
   The wrapper .iti is position:relative; the dropdown is
   .iti__dropdown-content (absolute, z:2) containing
   .iti__search-input (top) + .iti__country-list (scrollable).
   ============================================================ */

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

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

/* Selected-flag area: transparent so panel background shows through */
.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(255,255,255,0.04) !important; }
.iti__arrow { border-top-color: var(--ink-faint); }
.iti__arrow--up { border-bottom-color: var(--laser-cyan); }
.iti__selected-dial-code { color: var(--ink-soft); font-family: var(--sans); font-size: 14px; }

/* The dropdown panel — override vendor's white background + raise z-index
   so it sits above panel border + other inputs. */
.iti__dropdown-content {
  background-color: var(--panel-bg-solid) !important;
  color: var(--ink);
  border-radius: 0 !important;
}
.iti--inline-dropdown .iti__dropdown-content {
  position: absolute;
  z-index: 1000;            /* above panel border, corner ticks, body decoration */
  margin-top: 4px;
  margin-left: 0;
  border: 1px solid var(--hairline-hi) !important;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.6),
    0 2px 6px rgba(0,0,0,0.4) !important;
  min-width: 280px;
  max-width: calc(100vw - 2rem);
}

/* The dropdown's tiny search box at the top */
.iti__search-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--bg);
  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: transparent;
  border-image: var(--laser-grad) 1;
  border-image-slice: 1;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

/* Country list itself */
.iti__country-list {
  background: var(--panel-bg-solid);
  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(255,255,255,0.04); }
.iti__country.iti__highlight {
  background: rgba(52, 230, 207, 0.12);
  color: var(--laser-cyan);
}
.iti__country.iti__highlight .iti__dial-code { color: var(--laser-cyan); opacity: 0.85; }
.iti__country-name { color: var(--ink); flex: 1; }
.iti__dial-code { color: var(--ink-faint); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em; }
.iti__divider {
  border-bottom: 1px solid var(--hairline);
  padding: 0;
  margin: 0.25rem 0;
}

/* No-results message — vendor hides if there are results */
.iti__no-results {
  padding: 0.7rem 0.9rem;
  font-size: 13px;
  color: var(--ink-faint);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.form__row--check { margin-top: 0.2rem; }
.form__row--check-optional { margin-top: 0.65rem; padding-top: 0.65rem; border-top: 1px solid var(--hairline); }
.form__check-tag {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.05rem 0.4rem;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--hairline-hi);
  vertical-align: 2px;
}
.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);
  display: grid;
  place-items: center;
  transition: border-color .15s ease, background .15s ease;
}
.form__check input[type="checkbox"]:hover { border-color: var(--laser-cyan); }
.form__check input[type="checkbox"]:checked {
  background: var(--laser-cyan);
  border-color: var(--laser-cyan);
}
.form__check input[type="checkbox"]:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  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(--laser-cyan); }

.form__error {
  margin: 0.4rem 0 0;
  font-family: var(--mono);
  font-size: 11px;
  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-condensed);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--chrome);
  border: 0;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .15s ease;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn:active   { transform: translateY(1px); }

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--laser-grad);
  z-index: -1;
  opacity: 0;
  transition: opacity .2s ease;
}
.btn:hover { color: var(--bg); background: transparent; }
.btn:hover::before { opacity: 1; }

.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: #25d366;
  color: #06301a;
}
.btn--whatsapp::before { background: linear-gradient(90deg, #25d366 0%, #128c7e 100%); opacity: 1; }
.btn--whatsapp:hover::before { opacity: 1; transform: scale(1.04); }
.btn--whatsapp:hover { background: transparent; color: #04220f; }
.btn__icon { width: 22px; height: 22px; position: relative; z-index: 1; }

.form__resend {
  margin: 0.9rem 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
}
.form__resend-btn {
  background: transparent;
  border: 0;
  color: var(--laser-cyan);
  font-family: inherit;
  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(52,230,207,0.4);
}
.form__resend-btn:disabled { color: var(--ink-faint); text-decoration-color: var(--ink-ghost); cursor: not-allowed; }

/* ---------- FOOTER ---------- */
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.foot a { color: var(--ink-soft); text-decoration: none; }
.foot a:hover { color: var(--laser-cyan); }
.foot__legal { margin: 0; }

.site-built {
  margin: 0.6rem 0 0;
  text-align: right;
}
.site-built a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: rgba(8, 11, 14, 0.6);
  border: 1px solid var(--hairline-hi);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.site-built a:hover {
  color: var(--laser-cyan);
  border-color: var(--laser-cyan);
  background: rgba(52, 230, 207, 0.06);
}
.site-built img { display: inline-block; opacity: 0.95; filter: grayscale(1) brightness(2.4); vertical-align: middle; }

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

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

/* ---------- LEGAL PAGES (privacy.html) ---------- */
body.legal-wrap {
  background: var(--bg);
  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.4rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
  padding: 0.45rem 0.7rem 0.45rem 0.55rem;
  border: 1px solid var(--hairline-hi);
  margin-bottom: 2.5rem;
  transition: color .15s ease, border-color .15s ease;
}
.legal__back:hover { color: var(--laser-cyan); border-color: var(--laser-cyan); }
.legal__back svg { width: 14px; height: 14px; }
.legal__back-text { color: var(--ink-faint); }
.legal__back-brand { color: var(--ink); }

.legal h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 2rem;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--ink);
  text-wrap: balance;
}
.legal h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--laser-cyan);
  margin: 2.2rem 0 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--hairline);
}
.legal h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 1.8rem 0 0.4rem;
}
.legal h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  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 { color: var(--laser-cyan); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(52,230,207,0.4); }
.legal a:hover { text-decoration-color: var(--laser-cyan); }
.legal strong { color: var(--ink); font-weight: 500; }
.legal__meta {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  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 1rem; }
  .panel { padding: 1.1rem 1rem; }
  .topbar__ticker { font-size: 10px; gap: 0.4rem; }
  .topbar__divider { width: 18px; }
}

/* ===========================================================
   V2 VARIANT — indexv2.html
   Sepia-orange figure background + chrome poster centrepiece.
   All v2 rules scoped under .page--v2 so v1 (index.html) is
   untouched. Drop entire block to remove the variant.
   =========================================================== */

/* Swap the venue cathedral photo for the sepia/orange figure */
body.page--v2 {
  background-image: url("/assets/images/v2/bg-m-900.webp?v=20260528-v2");
}
@media (min-width: 800px) {
  body.page--v2 {
    background-image: url("/assets/images/v2/bg-d-1920.webp?v=20260528-v2");
  }
}
/* No 2400w v2 source — let 1920w cover up to ultrawide via cover-sizing.
   This unsets v1's 1600+ media query that points at the missing path. */
@media (min-width: 1600px) {
  body.page--v2 {
    background-image: url("/assets/images/v2/bg-d-1920.webp?v=20260528-v2");
  }
}

/* Warmer vignette: sepia photo wants a sepia-shadow frame, not pure black */
body.page--v2::before {
  background:
    radial-gradient(ellipse at center, transparent 25%, rgba(20, 8, 4, 0.62) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(8, 3, 1, 0.55) 0%, transparent 60%);
}

/* The v2 poster is near-square (999×1005) and has its own white background —
   resize it tighter than the v1 chrome overlay so it reads as a "poster on a
   wall" rather than filling the column. Drop shadow lifts it off the photo. */
.page--v2 .hero__art img {
  max-width: min(82vw, 540px);
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.55))
          drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
@media (min-width: 1080px) {
  .page--v2 .hero__art img { max-width: min(40vw, 560px); }
}
@media (min-width: 1400px) {
  .page--v2 .hero__art img { max-width: min(38vw, 620px); }
}

/* Hide the v1 chrome "25 years of A State of Trance" credit — the v2 poster
   already carries the 25-year mark and all chrome typography. No need to
   double-up below the artwork. */
.page--v2 .hero__credit { display: none; }

/* ---------- V2 PANEL: SILVER CHROME-PRESS ----------
   Palette pulled directly from the v2 main artwork: silver background,
   chrome typography, dark steel ink. The panel reads as another printed
   silver-press surface — same material family as the poster's ASOT mark.
*/

/* Panel: brushed silver gradient — top edge catches light, bottom recedes.
   Tokens scoped to .panel (NOT .page--v2) so global :root tokens used by
   topbar / footer / site-built (outside the panel) keep v1's light-on-dark
   palette, which is designed to read over the photographic page background. */
.page--v2 .panel {
  --paper:       #f1f1f2;          /* light silver — panel top              */
  --paper-deep:  #d9dadd;          /* mid silver — panel bottom             */
  --ink:         #1a1d20;          /* sharp near-black ink                  */
  --ink-soft:    #3a3d40;          /* primary body text                     */
  --ink-faint:   #6a6e72;          /* labels / metadata / secondary         */
  --ink-ghost:   rgba(26, 29, 32, 0.18); /* hairlines                       */
  --steel:       #6a6e72;          /* mid steel — corner marks, accents     */
  --steel-deep:  #3a3d40;          /* dark steel — focus / hover            */
  --chrome-hi:   #fbfcfd;          /* chrome highlight                      */
  --chrome-mid:  #b8bcc0;          /* chrome midtone                        */

  background:
    linear-gradient(180deg, #f4f4f5 0%, #e6e7ea 48%, #d4d6d9 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--ink-ghost);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.5),
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Faint monochrome grain — silver pressing, not paper texture */
.page--v2 .panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.13  0 0 0 0 0.15  0 0 0 0.16 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.page--v2 .panel > * { position: relative; z-index: 1; }

/* Corner registration marks in mid-steel — print marks on a silver press */
.page--v2 .panel__corner::before,
.page--v2 .panel__corner::after { background: var(--steel); }

/* Eyebrow: inherits the v1 mono/tracked treatment, switched to steel grey */
.page--v2 .panel__eyebrow { color: var(--steel-deep); }
.page--v2 .panel__eyebrow-hair {
  background: linear-gradient(90deg, transparent, var(--ink-ghost), transparent);
}
.page--v2 .panel__eyebrow-hair:last-child {
  background: linear-gradient(90deg, var(--ink-ghost), transparent 80%);
}

/* Title: chrome-press gradient — sampled from the poster's chrome ASOT mark.
   Top dark → mid lighter → bottom dark = a polished-steel sheen on text.
   Keeps the v1 Helvetica Neue typography so it sits in the same family as
   the artwork's bold-sans poster type. */
.page--v2 .panel__title {
  background: linear-gradient(180deg, #1c1f22 0%, #5a5e62 50%, #2a2d30 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--ink);
}
.page--v2 .panel__title em {
  font-style: italic;
  background: linear-gradient(180deg, #2a2d30 0%, #888c90 50%, #3a3d40 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Lede + success body copy: dark steel on silver */
.page--v2 .panel__lede,
.page--v2 .panel__success p:not(.panel__eyebrow) { color: var(--ink-soft); }

/* Server-supplied success notice — cool steel tint replaces cyan */
.page--v2 .panel__success-note {
  background: rgba(26, 29, 32, 0.06) !important;
  border-left-color: var(--steel-deep) !important;
  color: var(--ink) !important;
}

/* Countdown on silver: chrome-press numerals (same gradient as the title /
   poster ASOT mark), steel caption + labels, ink hairline divider. */
.page--v2 .countdown { border-top-color: var(--ink-ghost); }
.page--v2 .countdown__caption { color: var(--steel-deep); }
.page--v2 .countdown__num {
  background: linear-gradient(180deg, #1c1f22 0%, #5a5e62 50%, #2a2d30 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--ink);
}
.page--v2 .countdown__label { color: var(--ink-faint); }
.page--v2 .countdown__sep   { color: var(--ink-ghost); }
.page--v2 .countdown__live  { color: var(--steel-deep); }

/* ---------- FORM ON SILVER ---------- */

.page--v2 .form__label { color: var(--steel); }

/* Inputs: ink text on silver paper, steel hairline, ink underline on focus */
.page--v2 .form__input {
  color: var(--ink);
  border-bottom-color: var(--ink-ghost);
}
.page--v2 .form__input::placeholder { color: rgba(26, 29, 32, 0.35); }
.page--v2 .form__input:focus {
  border-image: none;
  border-bottom-color: var(--ink);
  border-bottom-width: 2px;
  border-bottom-style: solid;
}
.page--v2 .form__input:-webkit-autofill,
.page--v2 .form__input:-webkit-autofill:hover,
.page--v2 .form__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #ececed inset;
}

/* OTP digits: kept on the system mono stack, dark ink */
.page--v2 .form__input--otp { color: var(--ink); }

/* intl-tel-input — flip the vendor dark theme to silver */
.page--v2 .iti__selected-flag { border-right-color: var(--ink-ghost); }
.page--v2 .iti__arrow         { border-top-color: rgba(26, 29, 32, 0.55); }
.page--v2 .iti__arrow--up     { border-bottom-color: var(--ink); border-top-color: transparent; }
.page--v2 .iti__selected-dial-code { color: var(--ink-soft); }
.page--v2 .iti__selected-flag:hover,
.page--v2 .iti__selected-flag[aria-expanded="true"] { background: rgba(26, 29, 32, 0.05) !important; }

.page--v2 .iti__dropdown-content {
  background-color: #ececed !important;
  color: var(--ink);
  border-color: var(--ink-ghost) !important;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.2) !important;
}
.page--v2 .iti__search-input {
  background: #dcdde0;
  color: var(--ink);
  border-bottom-color: var(--ink-ghost);
}
.page--v2 .iti__search-input::placeholder { color: rgba(26, 29, 32, 0.45); }
.page--v2 .iti__search-input:focus {
  border-image: none;
  border-bottom-color: var(--ink);
}
.page--v2 .iti__country-list {
  background: #ececed;
  color: var(--ink);
  scrollbar-color: var(--ink-ghost) transparent;
}
.page--v2 .iti__country-list::-webkit-scrollbar-thumb { background: var(--ink-ghost); }
.page--v2 .iti__country:hover { background: rgba(26, 29, 32, 0.06); }
.page--v2 .iti__country.iti__highlight {
  background: rgba(26, 29, 32, 0.12);
  color: var(--ink);
}
.page--v2 .iti__country.iti__highlight .iti__dial-code { color: var(--ink-soft); opacity: 0.85; }
.page--v2 .iti__country-name { color: var(--ink); }
.page--v2 .iti__dial-code    { color: var(--ink-faint); }
.page--v2 .iti__divider      { border-bottom-color: var(--ink-ghost); }
.page--v2 .iti__no-results   { color: rgba(26, 29, 32, 0.55); }

/* Check rows + Optional pill — pull the optional row tight to the required one.
   The "Optional" tag + secondary text already differentiate it; the v1 separator
   margin/padding/border added too much air. */
.page--v2 .form__row--check-optional {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.page--v2 .form__check { color: var(--ink-soft); }
.page--v2 .form__check input[type="checkbox"] {
  border-color: rgba(26, 29, 32, 0.45);
  background: rgba(255, 255, 255, 0.5);
}
.page--v2 .form__check input[type="checkbox"]:hover { border-color: var(--ink); }
.page--v2 .form__check input[type="checkbox"]:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.page--v2 .form__check input[type="checkbox"]:checked::after {
  border-left-color: var(--paper);
  border-bottom-color: var(--paper);
}
.page--v2 .form__check a {
  color: var(--ink);
  text-decoration-color: rgba(26, 29, 32, 0.35);
}
.page--v2 .form__check a:hover { text-decoration-color: var(--ink); }
.page--v2 .form__check-tag {
  color: var(--ink-faint);
  border-color: rgba(26, 29, 32, 0.32);
}

/* Errors: deep oxidised red — sits clearly on silver without being neon */
.page--v2 .form__error { color: #9a2a1f; }

/* Primary CTA: dark ink button, chrome takeover on hover.
   Saira Condensed kept — same wide-tracked weight as the poster's partner logos. */
.page--v2 .btn {
  color: var(--paper);
  background: var(--ink);
}
.page--v2 .btn::before {
  background: linear-gradient(180deg, #fbfcfd 0%, #d8dde0 38%, #a8aeb2 100%);
}
.page--v2 .btn:hover {
  color: var(--ink);
  background: transparent;
}

/* Resend link: steel grey, no italic */
.page--v2 .form__resend { color: rgba(26, 29, 32, 0.55); }
.page--v2 .form__resend-btn {
  color: var(--steel-deep);
  text-decoration-color: rgba(26, 29, 32, 0.35);
}
.page--v2 .form__resend-btn:disabled {
  color: rgba(26, 29, 32, 0.30);
  text-decoration-color: rgba(26, 29, 32, 0.15);
}

/* WhatsApp success button: re-assert the brand green at v2 specificity.
   The .page--v2 .btn rules above were clobbering both .btn--whatsapp's base
   green and its green ::before gradient (chrome was painting over them),
   leaving grey-on-grey. Specificity 0,2,0 matches .page--v2 .btn and source
   order wins. */
.page--v2 .btn--whatsapp {
  background: #25d366;
  color: #06301a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.page--v2 .btn--whatsapp::before {
  background: linear-gradient(90deg, #25d366 0%, #128c7e 100%);
}
.page--v2 .btn--whatsapp:hover {
  background: transparent;
  color: #04220f;
}

/* Focus ring: ink, not cyan */
.page--v2 .panel :focus-visible       { outline-color: var(--ink); }
.page--v2 .panel .btn:focus-visible   { outline-color: var(--ink); }

/* ---------- V2 PAGE CHROME (outside the panel) ----------
   Topbar + footer + site-built sit on top of the orange/sepia photo backdrop.
   They use v1's :root tokens (light text designed for a dark photographic
   background) plus a subtle drop-shadow so they read across the photo's
   brighter hand/highlight areas. No cyan accents anywhere. */

/* Topbar: chrome fade replaces the v1 laser-grad rainbow rule */
.page--v2 .topbar::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
}
.page--v2 .topbar { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55); }
.page--v2 .topbar__beat { color: rgba(255, 255, 255, 0.78); }
.page--v2 .topbar__chip:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

/* Footer: brighter than v1's 42% opacity so it stays legible over the orange
   photo's lighter zones; hover swaps to pure chrome highlight, not cyan. */
.page--v2 .foot {
  color: rgba(241, 245, 247, 0.78);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.page--v2 .foot a       { color: rgba(241, 245, 247, 0.92); }
.page--v2 .foot a:hover { color: #ffffff; }

/* "Website built by Furiosa" badge — switch cyan hover to chrome */
.page--v2 .site-built a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(8, 11, 14, 0.7);
}

/* ---------- V2 STAGE: foot flush with viewport bottom, Furiosa pill on scroll ----------
   .site-built is now a sibling of .stage (not a grid child), so .stage has
   exactly 3 grid rows (auto 1fr auto) with .foot as the true bottom row.
   With min-height: 100dvh on .stage and a near-zero padding-bottom, the foot
   sits within a few pixels of the viewport edge. The Furiosa pill sits in
   normal document flow below .stage — past the viewport line, revealed
   only on scroll. */
.page--v2 .stage {
  min-height: 100dvh;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  padding-bottom: clamp(0.25rem, 0.6vw, 0.5rem);
}
.page--v2 .foot {
  padding-top: 0.55rem;
}

/* Pill sits below the fold — generous margin gives it breathing room
   when the user does scroll down. */
.page--v2 .site-built {
  margin: clamp(2rem, 5vh, 3.5rem) clamp(1rem, 4vw, 2.75rem) clamp(1rem, 3vh, 2rem) 0;
}
