/* Layout: a dark river-navy hero band with a ticket-stub date and the signup card,
   then quiet paper sections. One accent: Tower Bridge gold. */
:root {
  --paper: #F5F7F4;
  --surface: #FCFDFB;
  --ink: #15232B;
  --muted: #56656B;
  --line: #D9E0DC;
  --gold: #8A6420;
  --gold-bright: #D9B25C;
  --gold-soft: #F3EAD4;
  --band: #15232B;
  --band-2: #1D3039;
  --on-band: #F1F3EE;
  --on-band-muted: #B5C3C6;
  --error: #A3362A;
  --ok: #2E6B4C;
  --font-display: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F171B; --surface: #162329; --ink: #ECF0EE; --muted: #9EAFB4; --line: #2A3B42;
    --gold: #D9B25C; --gold-soft: #2C281C; --band: #0B1216; --band-2: #13202A;
    --error: #E58A7C; --ok: #7CC4A0; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F171B; --surface: #162329; --ink: #ECF0EE; --muted: #9EAFB4; --line: #2A3B42;
  --gold: #D9B25C; --gold-soft: #2C281C; --band: #0B1216; --band-2: #13202A;
  --error: #E58A7C; --ok: #7CC4A0; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- top bar + hero band ---------- */
.band { background: var(--band); color: var(--on-band); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.01em; text-decoration: none; }
.wordmark span { color: var(--gold-bright); }
.topbar .live { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--on-band-muted); }

.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; padding-block: 40px 72px; align-items: start; }
.hero > * { min-width: 0; }
.eyebrow { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-bright); margin: 0 0 14px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--gold-bright); }
.lede { font-size: 1.15rem; color: var(--on-band-muted); max-width: 34em; margin: 0 0 28px; }
.counties { font-size: 0.9rem; color: var(--on-band-muted); margin: 18px 0 0; }
.counties b { color: var(--on-band); font-weight: 600; }

/* ticket stub */
.ticket {
  display: grid;
  grid-template-columns: auto 1fr;
  background: var(--band-2);
  border: 1px solid #2E4550;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 520px;
}
.ticket .stub {
  padding: 18px 22px;
  background: var(--gold-bright);
  color: #15232B;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  font-family: var(--font-display);
  border-right: 2px dashed #15232B55;
  min-width: 104px;
}
.ticket .stub .dow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.ticket .stub .day { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.ticket .stub .mon { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ticket .info { padding: 16px 22px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.ticket .info .time { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.ticket .info .meta { color: var(--on-band-muted); font-size: 0.95rem; }

/* ---------- form card ---------- */
.card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}
.card h2 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; margin: 0 0 6px; text-wrap: balance; }
.card .sub { color: var(--muted); margin: 0 0 20px; font-size: 0.95rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field .err { color: var(--error); font-size: 0.8rem; min-height: 0; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin-top: 16px; font-size: 0.78rem; line-height: 1.5; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 16px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--gold-bright);
  color: #15232B;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn[disabled] { opacity: 0.7; cursor: wait; transform: none; }
.fineprint { font-size: 0.78rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-error { color: var(--error); font-size: 0.9rem; margin: 12px 0 0; }
.preview-note { background: var(--gold-soft); color: var(--ink); border-radius: 10px; padding: 10px 12px; font-size: 0.82rem; margin: 0 0 16px; }

/* ---------- body sections ---------- */
section.block { padding-block: 72px; }
section.block + section.block { border-top: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 10px; text-wrap: balance; }
.section-head p { color: var(--muted); margin: 0; }
.kicker { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin: 0 0 10px; }

.mistakes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.mistakes li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 12px; min-width: 0; }
.mistakes .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; }
.mistakes h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 6px; line-height: 1.25; }
.mistakes p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; }
.two-col > * { min-width: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.checks li::before { content: ""; width: 18px; height: 10px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); margin-top: 6px; }

.hosts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.host { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.host h3 { margin: 0; font-family: var(--font-display); font-size: 1.1rem; }
.host p { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: block; font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 1.4rem; margin-bottom: 6px; }
.steps h3 { margin: 0 0 4px; font-size: 1.05rem; font-family: var(--font-display); }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 46em; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--font-display); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.cta-band { background: var(--band); color: var(--on-band); }
.cta-band .inner { padding-block: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; line-height: 1.1; max-width: 22em; text-wrap: balance; }
.cta-band .btn { width: auto; margin: 0; padding-inline: 28px; }

footer { padding-block: 36px 48px; font-size: 0.82rem; color: var(--muted); }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer p { margin: 4px 0; }

/* ---------- thank-you ---------- */
.thanks { padding-block: 40px 72px; max-width: 760px; }
.thanks h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.05; margin: 0 0 16px; text-wrap: balance; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row .btn { width: auto; margin: 0; }
.btn.ghost { background: transparent; color: var(--on-band); border: 1.5px solid #3A5560; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 24px 48px; }
  section.block { padding-block: 52px; }
}
@media (max-width: 460px) {
  .fields { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .ticket .stub { min-width: 88px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- logo ---------- */
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { display: block; height: 78px; width: auto; max-width: 100%; }
@media (max-width: 460px) { .wordmark img { height: 60px; } }
