/* Layout concept: the bull and bear face off on brand sky blue, then a visitor pass hangs over a glowing
   horizon. The page then moves through the booth, what to try there, and an electric blue registration band. */
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0a0b12;
  --ink-2: #05081c;
  --blue: #2242ff;
  --blue-deep: #1a33cc;
  --sky: #bde1fb;
  --ice: #bde1fb;
  --mist: #dfe7fa;
  --paper: #f4f6fb;
  --white: #ffffff;
  --text: #141414;
  --muted: #566278;
  --line: #d9dde6;
  --line-ink: #2c3148;
  --on-dark: #d7dcea;
  --err: #af2654;
  --tbc-bg: #fff1b8;
  --tbc-fg: #5c4700;
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --pill: 999px;
  --radius: 24px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --hero-h: clamp(540px, 44vw, 760px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 500 1rem/1.6 var(--font); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(2.3rem, 4.1vw, 4.1rem); font-weight: 800; }
h1 em { font-style: normal; color: #6f8dff; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(60px, 8vw, 112px); }
.section--tint { background: var(--paper); }
.section--blue { background: radial-gradient(90% 70% at 12% 0%, #4a66ff 0%, rgb(74 102 255 / 0) 70%), var(--blue); color: var(--white); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 40; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

.label { display: block; font: 600 0.72rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.eyebrow { font: 700 0.8rem/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice); }
.eyebrow--blue { color: var(--blue); }
.fine { font-size: 0.82rem; line-height: 1.5; }
.link-row { margin-top: 20px; font-weight: 700; }
.link-row:not(:has(a:not([hidden]))) { display: none; }

/* Unfilled config values. These only appear in a draft. */
.tbc { background: var(--tbc-bg); color: var(--tbc-fg); border-radius: 6px; padding: 0 0.3em; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.risk-strip { background: var(--ink); color: #c8cede; font-size: 0.76rem; line-height: 1.45; padding-block: 8px; padding-left: var(--gutter-l); padding-right: var(--gutter-r); text-align: center; }
.risk-strip strong { color: var(--white); }
.risk-strip a { color: var(--ice); }

.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgb(255 255 255 / 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.topbar img { width: 128px; height: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 30px; border: 0; border-radius: var(--pill); background: var(--blue); color: var(--white); font: 700 1rem/1.2 var(--font); text-align: center; text-decoration: none; cursor: pointer; transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.btn:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.btn--small { min-height: 40px; padding: 8px 20px; font-size: 0.9rem; }
.btn--wide { width: 100%; }
.btn--ink { box-shadow: 0 14px 30px rgb(34 66 255 / 0.35); }
.btn--ghost { background: rgb(5 8 28 / 0.35); color: var(--white); box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.7); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }

/* Hero: the booth photo fills the band, with a dark fade behind the copy so the text stays readable. */
.hero { position: relative; overflow: hidden; background: var(--ink-2); color: var(--white); min-height: var(--hero-h); isolation: isolate; }
.hero__art { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 78%; height: 100%; max-width: none; object-fit: cover; object-position: right center; animation: settle 1.2s cubic-bezier(.2,.8,.2,1) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink-2) 0%, var(--ink-2) 24%, rgb(5 8 28 / 0.9) 40%, rgb(5 8 28 / 0.35) 50%, rgb(5 8 28 / 0) 58%); }
.hero__in { position: relative; }
.hero__copy { display: grid; gap: 20px; padding-block: clamp(44px, 5vw, 76px); max-width: 46%; min-width: 0; }
.lede { max-width: 50ch; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 12px 36px; }
.hero__facts .label { color: var(--ice); }
.hero__facts dd { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; }
.hero :focus-visible { outline-color: var(--white); }

@keyframes settle {
  from { transform: scale(1.04); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}

/* Market ticker: names only, no prices */
.ticker { overflow: hidden; background: var(--blue); color: var(--white); padding-block: 13px; }
.ticker__track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.ticker span { display: inline-flex; align-items: center; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.ticker span::after { content: ""; width: 7px; height: 7px; margin-inline: 30px; border-radius: 50%; background: var(--ice); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Event details: stars and a glowing horizon drawn in CSS */
.event { position: relative; overflow: hidden; background: var(--ink-2); color: var(--white); }
.event__sky { position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 110px 80px, #cfe0ff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 190px 150px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 70px 190px, #9fbaff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 240px 40px, #fff 50%, transparent 51%);
  background-size: 280px 240px; opacity: 0.55; }
.event::after { content: ""; position: absolute; left: 50%; top: calc(100% - 96px); width: max(1500px, 130vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, #071145 88%, #0d2bb8 97%, #2f6bff 100%); box-shadow: 0 -2px 10px #cfe2ff, 0 -10px 46px #4d7dff, 0 -36px 150px 16px #2242ff; pointer-events: none; }
.event__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding-bottom: 150px; }
.event__copy { padding-top: clamp(56px, 7vw, 96px); display: grid; gap: clamp(24px, 3vw, 38px); min-width: 0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.facts > div { min-width: 0; padding: 20px 22px; border-radius: 18px; background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.18); backdrop-filter: blur(6px); }
.facts .label { color: var(--ice); }
.facts dd { margin-top: 8px; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.event .link-row { margin-top: 0; }
.event a { color: var(--ice); }
.event :focus-visible, .section--blue :focus-visible, .footer :focus-visible { outline-color: var(--white); }
.event .card :focus-visible, .section--blue .card :focus-visible { outline-color: var(--blue); }

.pass-hang { display: grid; justify-items: center; transform-origin: top center; animation: swing 1.5s cubic-bezier(.3,.7,.3,1) both; min-width: 0; }
.strap { width: 34px; height: clamp(44px, 6vw, 72px); background: repeating-linear-gradient(180deg, var(--blue) 0 22px, #3956ff 22px 44px); }
.pass { position: relative; width: min(340px, 100%); background: var(--white); color: var(--text); border-radius: var(--radius); padding: 30px 24px 22px; display: grid; gap: 18px; box-shadow: 0 30px 80px rgb(34 66 255 / 0.55); }
.pass__slot { position: absolute; top: 10px; left: 50%; width: 52px; height: 9px; margin-left: -26px; border-radius: var(--pill); background: var(--ink); }
.pass__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pass__head img { width: 104px; }
.pass__type { background: var(--blue); color: var(--white); border-radius: var(--pill); padding: 3px 12px; font: 600 0.72rem/1.5 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.pass__stand { border-block: 1px dashed var(--line); padding-block: 14px; }
.pass__stand strong { display: block; font-size: clamp(3.4rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; color: var(--blue); overflow-wrap: anywhere; }
.pass__stand strong.is-long { font-size: clamp(2.7rem, 4.6vw, 3.4rem); white-space: nowrap; }
.pass__stand strong.tbc { font-size: 2.4rem; display: inline-block; margin-block: 8px; }
.pass__hall { font-weight: 700; }
.pass__facts { display: grid; gap: 10px; }
.pass__facts dd { font-size: 0.94rem; font-weight: 600; line-height: 1.35; }
.pass__bars { height: 30px; background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 5px, var(--text) 5px 9px, transparent 9px 11px, var(--text) 11px 12px, transparent 12px 17px); }

@keyframes swing {
  0% { transform: rotate(4deg); }
  45% { transform: rotate(-1.6deg); }
  75% { transform: rotate(0.6deg); }
  100% { transform: rotate(0deg); }
}

/* Booth */
.booth { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.booth__copy { display: grid; gap: 16px; min-width: 0; }
.booth__number { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; color: var(--blue); line-height: 1.2; }
.plan { min-width: 0; display: grid; gap: 10px; }
.plan .fine { color: var(--muted); }
.plan__art { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 34px 70px rgb(14 26 110 / 0.3); }
.plan__art img { width: 100%; }
.plan__tag { position: absolute; left: 18px; bottom: 18px; background: var(--white); color: var(--text); border-radius: var(--pill); padding: 7px 16px; font-weight: 800; }
.plan__frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.plan__frame img { width: 100%; }
.plan__pin { position: absolute; transform: translate(-50%, -100%); background: var(--blue); color: var(--white); border-radius: var(--pill); padding: 5px 12px; font-size: 0.8rem; font-weight: 700; box-shadow: 0 6px 18px rgb(10 11 18 / 0.35); }

/* Highlights */
#highlights h2 { margin-top: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
.devices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.device { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); min-width: 0; }
.device img { width: 100%; aspect-ratio: 693 / 720; object-fit: cover; object-position: top; transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.device:hover img { transform: scale(1.04); }
.device figcaption { position: relative; padding: 18px 22px 22px; background: var(--ink); color: var(--on-dark); font-size: 0.92rem; line-height: 1.45; }
.device figcaption strong { display: block; margin-bottom: 4px; color: var(--white); font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; }

.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
/* The glass artwork fades to this same colour at its bottom edge. */
.audience { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius); background: var(--mist); min-width: 0; }
.audience img { width: 100%; height: clamp(240px, 27vw, 350px); object-fit: cover; object-position: center top; -webkit-mask-image: linear-gradient(#000 76%, transparent); mask-image: linear-gradient(#000 76%, transparent); }
.audience > div { display: grid; gap: 16px; align-content: start; padding: 4px clamp(20px, 3vw, 34px) clamp(24px, 3vw, 34px); min-width: 0; }
.ticks { list-style: none; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 15px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.trust { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(12px, 3vw, 36px); margin-top: 18px; padding-right: clamp(20px, 3vw, 36px); overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.trust img { width: clamp(100px, 13vw, 164px); -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.proof { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; font-size: 0.9rem; color: var(--muted); }
.proof strong { display: block; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; color: var(--text); }

/* Registration */
.register { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.register__intro { display: grid; gap: 18px; color: #eef1ff; min-width: 0; }
.register__intro h2 { color: var(--white); }
.register__art { width: min(290px, 70%); margin-top: 20px; border-radius: var(--radius); transform: rotate(-5deg); box-shadow: 0 30px 60px rgb(5 8 40 / 0.5); }
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 16px; margin-top: 8px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--blue); font: 700 0.8rem/1 var(--mono); }
.card { background: var(--white); color: var(--text); border-radius: var(--radius); padding: clamp(20px, 3.4vw, 36px); min-width: 0; box-shadow: 0 40px 90px rgb(5 8 60 / 0.4); }
#lead-form { display: grid; gap: 20px; }
.branch { display: grid; gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; align-items: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, legend { font-size: 0.9rem; font-weight: 700; padding: 0; }
.opt { font-weight: 500; color: var(--muted); }
.group { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
legend { margin-bottom: 8px; }
.group--plain { gap: 10px; }

/* 16px text stops iOS zooming into a field on focus. */
input:not([type="radio"], [type="checkbox"]), select, textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid #aab2c2; border-radius: 12px; background: var(--white); color: var(--text); font: 500 1rem/1.4 var(--font); appearance: none; -webkit-appearance: none;
}
select { padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(-45deg, transparent 50%, var(--text) 50%); background-position: right 20px center, right 14px center; background-size: 6px 6px; background-repeat: no-repeat; }
textarea { resize: vertical; }
input::placeholder { color: #737c8e; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.hint { font-size: 0.82rem; line-height: 1.45; color: var(--muted); }
.error { font-size: 0.85rem; line-height: 1.4; font-weight: 600; color: var(--err); }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input, .chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: grid; place-items: center; height: 100%; min-height: 50px; padding: 8px 10px; border: 1.5px solid #aab2c2; border-radius: 12px; font-size: 0.92rem; font-weight: 600; line-height: 1.2; text-align: center; }
.choice input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.choice input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip span { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid #aab2c2; border-radius: var(--pill); font-size: 0.9rem; font-weight: 600; }
.chip input:checked + span { background: var(--ice); border-color: var(--blue); }

.consent { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.88rem; line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); }
.form-alert { padding: 12px 14px; border-radius: 12px; background: #fbeaf0; color: #7f1a3c; font-size: 0.9rem; font-weight: 600; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { display: grid; gap: 16px; }
.done h3 { font-size: 1.6rem; font-weight: 800; }
.done__ref dd { font: 700 1.2rem/1.4 var(--mono); margin-top: 2px; overflow-wrap: anywhere; }
.done:focus { outline: none; }

/* Footer */
.footer { background: var(--ink); color: #aab2c6; font-size: 0.82rem; line-height: 1.6; padding-block: 44px; }
.footer__in { display: grid; gap: 16px; }
.footer img { width: 128px; margin-bottom: 8px; }
.footer strong { color: var(--white); }
.footer a { color: var(--ice); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; }

/* Phone call-to-action bar */
.mobile-cta { display: none; }

/* Below this width the copy would cover the booth, so the photo sits on top and fades into the band. */
@media (max-width: 1240px) {
  .hero { min-height: 0; }
  .hero__art { inset: 0 0 auto; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .hero::after { inset: 0 0 auto; height: calc(56.25vw + 2px); background: linear-gradient(180deg, rgb(5 8 28 / 0) 70%, var(--ink-2) 99%); }
  .hero__copy { max-width: 680px; padding-top: calc(56.25vw + 20px); padding-bottom: 44px; }
}

@media (max-width: 900px) {
  .event__in, .booth, .register { grid-template-columns: minmax(0, 1fr); }
  .event__copy { padding-top: 0; }
  .event__in { gap: 36px; padding-bottom: 130px; }
  .strap { height: 36px; }
  .audiences, .devices { grid-template-columns: minmax(0, 1fr); }
  .device img { aspect-ratio: 693 / 600; }
  .audience img { height: clamp(240px, 62vw, 380px); }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 16px; }
  .topbar .btn { display: none; }
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: rgb(255 255 255 / 0.96); border-top: 1px solid var(--line); transition: transform 0.2s; }
  .mobile-cta.is-away { transform: translateY(110%); visibility: hidden; }
  .footer { padding-bottom: 104px; }
  .register__art { display: none; }
}

@media (max-width: 460px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { flex: 1 1 100%; }
  .choices--3 { grid-template-columns: minmax(0, 1fr); }
  .choice span { min-height: 48px; }
  .facts dd { font-size: 1rem; }
  .facts > div { padding: 16px; }
  .plan__tag { left: 12px; bottom: 12px; font-size: 0.86rem; padding: 5px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
