@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #16121c;
  --ink-soft: #2a2433;
  --paper: #f8f1e3;
  --paper-2: #fff8ec;
  --gold: #f0b429;
  --gold-deep: #8a6208;
  --ember: #e85d3a;
  --ember-ink: #a8341c;
  --foam: #f4e8c8;
  --muted: #5c5568;
  --line: rgba(22, 18, 28, 0.12);
  --ok: #136c45;
  --ok-bg: #e3f5eb;
  --err: #9b1c1c;
  --err-bg: #fde8e8;
  --radius: 18px;
  --shadow: 5px 5px 0 var(--ink);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 70rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--space);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark {
  width: 56px;
  height: 36px;
  flex: 0 0 auto;
}

.brand-name {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border: 2px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 6rem) var(--space) clamp(4rem, 10vw, 7rem);
  color: var(--paper);
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.8rem 0.35rem 0.5rem;
  border: 2px solid rgba(240, 180, 41, 0.45);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.92rem;
}

.pulse {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(232, 93, 58, 0.7);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 93, 58, 0.65); }
  70% { box-shadow: 0 0 0 10px rgba(232, 93, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 93, 58, 0); }
}

.hero h1 {
  font-size: clamp(3.4rem, 13vw, 8.4rem);
  max-width: 11ch;
  margin-bottom: 1.25rem;
}

.gold {
  color: var(--gold);
}

.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  max-width: 32rem;
  color: var(--foam);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #ffc24a;
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
  box-shadow: 5px 5px 0 rgba(248, 241, 227, 0.18);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 7px 7px 0 rgba(248, 241, 227, 0.3);
}

.btn-full {
  width: 100%;
  margin-top: 0.4rem;
}

.track {
  position: absolute;
  left: var(--space);
  right: var(--space);
  bottom: 1.4rem;
  height: 0;
  border-top: 4px dashed rgba(240, 180, 41, 0.45);
}

.intro,
.steps,
.faq {
  background: var(--paper);
  color: var(--ink);
}

.intro,
.steps,
.signup,
.faq,
.site-footer {
  padding: clamp(3rem, 8vw, 5.5rem) var(--space);
}

.wrap,
.signup-card,
.site-footer {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  display: inline-block;
  margin: 0 0 0.7rem;
  color: var(--ember-ink);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker-on-dark {
  color: var(--gold);
}

.intro-grid {
  display: grid;
  gap: 1.5rem 3rem;
}

.intro-copy {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.intro-copy p + p {
  margin-top: 1rem;
}

.steps {
  padding-top: 0;
}

.step-list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
  padding: 0;
  margin: 1.5rem auto 0;
}

.ticket {
  position: relative;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.3rem 1.4rem 1.5rem;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  left: -2px;
  width: 1.15rem;
  height: 1.15rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.ticket::before { top: -0.65rem; }
.ticket::after { bottom: -0.65rem; }

.ticket-num {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.ticket p {
  color: var(--muted);
}

.signup {
  background:
    radial-gradient(circle at 10% 0%, rgba(240, 180, 41, 0.16), transparent 40%),
    var(--ink);
  color: var(--paper);
}

.signup-card {
  background: #1d1826;
  border: 2px solid rgba(240, 180, 41, 0.55);
  border-radius: 28px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: 8px 8px 0 #0a0810;
}

.signup-lead {
  max-width: 36rem;
  color: var(--foam);
  margin-bottom: 1.4rem;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}

.form-status.is-ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.form-status.is-err {
  background: var(--err-bg);
  color: var(--err);
}

.signup-form {
  display: grid;
  gap: 1rem;
}

.field label,
.check {
  font-weight: 700;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
}

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.field input::placeholder {
  color: #8a8396;
}

.field input:focus-visible,
.check input:focus-visible,
.btn:focus-visible,
.header-cta:focus-visible,
.skip:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--paper);
}

.check input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  accent-color: var(--gold);
  flex: 0 0 auto;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy {
  margin-top: 1.3rem;
  color: #c6bfd0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.faq {
  background: var(--paper-2);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 0.2rem 1.1rem 0.2rem;
}

summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  padding: 0.95rem 0;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--ember);
  font-weight: 800;
}

details[open] summary::after {
  content: "–";
}

details p {
  padding: 0 0 1rem;
  color: var(--muted);
}

.site-footer {
  background: var(--ink);
  color: #c6bfd0;
  text-align: left;
}

.brand-footer {
  margin-bottom: 0.9rem;
}

.site-footer p {
  max-width: 40rem;
  font-size: 0.92rem;
}

@media (min-width: 800px) {
  .intro-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  .step-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .btn, .btn:hover, .btn:active { transition: none; transform: none; }
}
