/* ============================================================
   PRIME SECURITY · THE SECURITY ODYSSEY · BLACK HAT USA 2026
   Brand: near-black #161616 · electric yellow #F9FE2E · marble
   Type: Archivo (display/body) · IBM Plex Mono (captions/data)
   ============================================================ */

/* Display font: Geist Pixel (Line) — stand-in until TT Interphases is licensed */
@font-face {
  font-family: "Geist Pixel Line";
  src: url("../assets/fonts/GeistPixel-Line.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #161616;
  --ink-2: #1a1a1a;
  --ink-3: #202020;
  --line: #363636;
  --line-soft: #2a2a2a;
  --paper: #f1f0eb;          /* warm-tinted light, "parchment" */
  --paper-2: #e7e6df;
  --bone: #f5f5f0;           /* brand off-white text */
  --mist: #9a9a94;
  --yellow: #f9fe2e;
  --yellow-deep: #d8dd1a;
  --gold: #c9a961;           /* constellations, map, shimmer */
  --gold-soft: #c9a96155;

  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --font-display: "Geist Pixel Line", "Archivo", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --pad-x: clamp(1.25rem, 5vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--yellow); color: var(--ink); }

/* ---------- shared type ---------- */

.h1, .h2, .hero__title {
  font-family: var(--font-display);
  font-weight: 400;          /* pixel font ships a single weight */
  letter-spacing: 0.01em;    /* pixel grids need air, not negative tracking */
  line-height: 1.04;
  text-wrap: balance;
}
.h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
.h2 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }

.tick { color: var(--yellow); }
.section--light .tick, .section--yellow .tick { color: inherit; }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
}
.kicker__dot {
  width: 1.4rem; height: 3px;
  background: var(--yellow);
  flex: none;
}
.kicker--dark { color: #6b6a60; }
.kicker--onyellow { color: #4c4e10; }
.kicker--onyellow .kicker__dot { background: var(--ink); }
.kicker--dark .kicker__dot { background: var(--ink); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 380;
  max-width: 34em;
  color: inherit;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 1.7rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {   /* gold shimmer sweep */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn:hover::after { transition: transform 0.7s var(--ease-out); transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #ffff5c; }
.btn--dark { background: var(--ink); color: var(--bone); }
.btn--dark:hover { background: #2e2e2e; }
.btn--ghost {
  border-color: var(--line);
  color: var(--bone);
}
.btn--ghost:hover { border-color: var(--bone); }
.btn__arrow { font-family: var(--font-sans); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem var(--pad-x);
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transform: translateY(0);
  transition: transform 0.45s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
}
.nav__lockup { height: 32px; color: var(--bone); }
.nav__lockup svg { height: 100%; width: auto; display: block; }
.nav__tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  border-left: 1px solid var(--line);
  padding-left: 0.65rem;
  margin-left: 0.1rem;
}

.nav__links {
  display: flex;
  gap: 1.7rem;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--yellow); }

.nav__cta { padding: 0.7rem 1.15rem; font-size: 0.7rem; }

@media (max-width: 980px) {
  .nav__links, .nav__tag, .nav__cta { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(7rem, 12vh, 9rem) var(--pad-x) 4rem;
  overflow: hidden;
}

.hero__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 90rem;
  margin: 0 auto;
  width: 100%;
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.hero__title em {
  font-style: normal;
  color: var(--yellow);
}

.hero__sub {
  max-width: 33em;
  color: var(--mist);
  margin-bottom: 1.1rem;
}
@media (max-height: 940px) and (min-width: 901px) {
  .hero__sub { font-size: 0.95rem; margin-bottom: 0.75rem; }
  .hero__cta { margin-top: 1.3rem; }
}
.hero__sub--strong { color: var(--bone); font-weight: 460; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.hero__fun {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  max-width: 46em;
}

.hero__statue {
  position: relative;
  justify-self: center;
  width: min(122%, 780px); /* deliberately wider than its grid track — bleeds into the gap */
}
.hero__video {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 60px 80px rgba(0,0,0,0.55));
}
.hero__halo {
  position: absolute;
  inset: 8% -6% -4% -6%;
  background:
    radial-gradient(closest-side, rgba(201,169,97,0.16), transparent 72%);
  z-index: 1;
}

.annot {
  position: absolute;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.annot span {
  width: 2.4rem; height: 1px;
  background: var(--gold-soft);
  flex: none;
}
.annot--a { top: 16%; right: 78%; flex-direction: row-reverse; }
.annot--b { top: 30%; bottom: auto; left: auto; right: 5%; }

.hero__scroll {
  position: relative;
  align-self: center;
  margin-top: clamp(2rem, 5vh, 4rem);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mist);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.hero__scroll-line {
  width: 1px; height: 3.4rem;
  background: linear-gradient(var(--yellow), transparent);
  animation: scrollPulse 2.2s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
  .hero { padding-top: 6.5rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__statue { width: min(94%, 500px); order: -1; margin-bottom: -3rem; }
  .annot--a { right: auto; left: -2%; top: 8%; flex-direction: row; }
  .annot--b { display: none; }
}

/* ---------- light sections base ---------- */

.section--light {
  background:
    radial-gradient(90rem 40rem at 80% -10%, #faf9f4, transparent 60%),
    var(--paper);
  color: var(--ink);
}

/* ---------- map / journey ---------- */

.map { padding: clamp(5rem, 10vw, 9rem) var(--pad-x) clamp(4rem, 8vw, 7rem); }

.map__head { max-width: 90rem; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.map__head .lede { color: #55544c; margin-top: 1.4rem; }
.map__head .lede + .lede { margin-top: 0.9rem; }

.map__chart {
  position: relative;
  max-width: 68rem;
  margin: 0 auto;
}
.map__svg { width: 100%; height: auto; display: block; }

.map__decor circle,
.map__decor path {
  stroke: #d8d6ca;
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 3 6;
}
.map__compass text {
  font-family: var(--font-mono);
  font-size: 14px;
  fill: #b3b1a2;
  stroke: none;
}
.map__compass-n { fill: #cfcdbd; stroke: none; }

.map__route-ghost {
  stroke: #d2d0c2;
  stroke-width: 2;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
}
.map__route {
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.map__chariot {
  position: absolute;
  top: 0; left: 0;
  width: clamp(120px, 17vw, 230px);
  height: auto;
  /* white-background source art: multiply melts the white into the paper bg
     and keeps full marble detail (no alpha-matte fringing); contrast boost
     keeps the marble from washing out against the light paper */
  mix-blend-mode: multiply;
  filter: contrast(1.25) saturate(1.08); /* no brightness(): white must stay 255 to vanish under multiply */
  transform: translate(-50%, -72%);      /* anchor: wheels sit on the route (JS sets left/top only) */
  will-change: left, top;
  z-index: 2;
}

.map__points { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

.wp {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "dot name" "dot note";
  column-gap: 0.8rem;
  align-items: center;
}
.wp--r { grid-template-areas: "name dot" "note dot"; grid-template-columns: auto auto; text-align: right; }

.wp__dot {
  grid-area: dot;
  width: 13px; height: 13px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.wp.is-lit .wp__dot { background: var(--yellow); box-shadow: 0 0 0 6px rgba(249,254,46,0.25); }

.wp__num {
  position: absolute;
  top: -1.5em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: #a09e8f;
}
.wp__name {
  grid-area: name;
  font-weight: 560;
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  letter-spacing: -0.01em;
  align-self: end;
  justify-self: start;
  background: var(--paper);              /* chip: keeps the route line from cutting through */
  box-shadow: 0 0 0 0.3em var(--paper);
}
.wp__note {
  grid-area: note;
  font-family: var(--font-mono);
  font-size: clamp(0.56rem, 1vw, 0.68rem);
  letter-spacing: 0.05em;
  color: #85836f;
  align-self: start;
  justify-self: start;
  background: var(--paper);
  box-shadow: 0 0 0 0.25em var(--paper);
}
.wp__num {
  background: var(--paper);
  box-shadow: 0 0 0 0.3em var(--paper);
}
.wp--r .wp__name, .wp--r .wp__note { justify-self: end; }

.wp--final .wp__dot { border-color: var(--ink); }
.wp--final .wp__name { background: var(--yellow); box-shadow: 0 0 0 0.3em var(--yellow); }

@media (max-width: 640px) {
  .wp__note { display: none; }
  .wp { grid-template-areas: "dot name"; }
  .wp--r { grid-template-areas: "name dot"; }
}

/* ---------- meet prime ---------- */

.prime {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(70rem 40rem at -10% 110%, #1d1d1b, transparent 60%),
    var(--ink);
}
.prime__inner {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.prime__left { position: sticky; top: 7rem; }
.prime__left .lede { color: var(--mist); margin-top: 1.4rem; }
.prime__also {
  margin-top: 1.4rem;
  color: var(--mist);
  max-width: 34em;
}
.prime__also a {
  color: var(--yellow);
  text-underline-offset: 3px;
}

.prime__statue {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  width: min(100%, 460px);
  filter: drop-shadow(0 40px 50px rgba(0,0,0,0.5));
}

.pillars { display: grid; gap: 0; padding-top: 0.5rem; }
.pillar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.4rem, 3vw, 2.8rem);
  padding: clamp(2rem, 4vw, 3.2rem) 0;
  border-bottom: 1px solid var(--line-soft);
}
.pillar:first-child { border-top: 1px solid var(--line-soft); }

.pillar__num {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  color: var(--line);
  line-height: 1;
  transition: color 0.35s;
}
.pillar:hover .pillar__num { color: var(--yellow); }

.pillar__body h3 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.pillar__body p { color: var(--mist); max-width: 30em; }

.pillar__rule {
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 100%;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}
.pillar:hover .pillar__rule { transform: scaleX(1); }

@media (max-width: 900px) {
  .prime__inner { grid-template-columns: 1fr; }
  .prime__left { position: static; }
}

/* ---------- events ---------- */

.events {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(70rem 45rem at 110% 0%, #1d1d1a, transparent 55%),
    var(--ink);
}
.events__head {
  max-width: 90rem;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.events__head .kicker { justify-content: center; }
.events__head .lede { color: var(--mist); }
.events__intro { margin-top: clamp(2rem, 3.5vw, 3rem); max-width: 44em; }
.events__note {
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  max-width: 52em;
}

.events__grid {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2vw, 2rem);
}

.event {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #212121 0%, #1a1a1a 60%, #161616 100%);
  padding: clamp(1.4rem, 2.2vw, 2rem);
}
.event__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.3rem;
}
.event__emoji { font-size: 1.5rem; }
.event__when {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: right;
}
.event h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 480;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.event__tag { color: var(--bone); font-weight: 460; font-size: 0.98rem; }
.event p { color: var(--mist); font-size: 0.95rem; }
.event__fine {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: #8b8a7c;
}
.event__status {
  margin-top: auto;
  justify-content: center;
  align-self: stretch;
}
.event__status--soldout {
  background: var(--ink-3);
  color: var(--mist);
  border: 1px dashed var(--line);
  cursor: not-allowed;
}
.event__status--soldout:hover { transform: none; }
.event__status--soldout::after { content: none; }
.event--soldout { opacity: 0.75; }
.event--visual {
  border: 0;
  background: none;
  padding: 0;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  .events__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .events__grid { grid-template-columns: 1fr; }
}

.poker__media {
  position: relative;
  display: grid;
  justify-content: center;
  padding: 2rem 0;
}

/* the visual is presented as a dealt playing card; source art is white-bg,
   so the white card face absorbs it seamlessly */
.poker__card {
  position: relative;
  width: min(100%, 400px);
  padding: clamp(2.2rem, 4vw, 3rem) clamp(1rem, 2vw, 1.4rem);
  transform: rotate(-4deg);
}
.poker__card::before {  /* yellow card back peeking from behind */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  border-radius: 14px;
  transform: rotate(7deg) translateX(6%);
  z-index: 0;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.poker__card::after {   /* white card face */
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 14px;
  z-index: 1;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6);
}
.poker__card img { position: relative; width: 100%; z-index: 2; }

.poker__pip {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.95;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--ink);
}
.poker__pip i { font-style: normal; font-size: 0.8em; }
.poker__pip--tl { top: 0.9rem; left: 1.1rem; }
.poker__pip--br { bottom: 0.9rem; right: 1.1rem; transform: rotate(180deg); }

/* ---------- individual event sections ---------- */

.evt {
  padding: clamp(4rem, 8vw, 7rem) var(--pad-x);
  border-top: 1px solid var(--line-soft);
}
.evt:nth-of-type(even) {
  background:
    radial-gradient(60rem 35rem at -10% 50%, #1c1c1a, transparent 60%),
    var(--ink);
}
.evt__inner {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}
.evt--flip .evt__inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.evt--flip .evt__copy { order: 2; }
.evt--flip .evt__visual { order: 1; }

.evt__tag { color: var(--bone); margin-top: 1.2rem; }
.evt__body { color: var(--mist); max-width: 36em; margin-top: 1rem; }
.evt__fine {
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  max-width: 44em;
}
.evt__copy .btn, .evt__copy .evt__soldout { margin-top: 1.8rem; }

.evt__soldout {
  background: var(--ink-3);
  color: var(--mist);
  border: 1px dashed var(--line);
  cursor: not-allowed;
}
.evt__soldout::after { content: none; }
.evt__soldout:hover { transform: none; }

.evt__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  width: 100%;
  justify-self: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 38%, #232320, transparent),
    linear-gradient(160deg, #1e1e1c 0%, #171717 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.evt__visual::before {   /* gold orbit ring */
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed var(--gold-soft);
  border-radius: 50%;
}
.evt__num {
  position: absolute;
  top: 1rem; left: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.evt__emoji {
  font-size: clamp(4rem, 8vw, 7rem);
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.5));
}

.evt .poker__media { justify-self: center; width: min(100%, 440px); }

.evt__img {
  justify-self: center;
  width: min(100%, 480px);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55));
}

@media (max-width: 900px) {
  .evt__inner, .evt--flip .evt__inner { grid-template-columns: 1fr; }
  .evt--flip .evt__copy { order: 1; }
  .evt--flip .evt__visual { order: 2; }
  .evt__visual { max-width: 320px; }
}

/* ---------- sold-out card leftovers removed with myths/bust ---------- */

/* ---------- black hat / yellow ---------- */

.section--yellow {
  background: var(--yellow);
  color: var(--ink);
}
.bh { padding: clamp(5rem, 9vw, 8rem) var(--pad-x); }

.bh__inner {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.bh__meta {
  margin: clamp(1.8rem, 3vw, 2.6rem) 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(22,22,22,0.35);
}
.bh__meta div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(22,22,22,0.35);
}
.bh__meta dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #55570f;
  align-self: center;
}
.bh__meta dd { font-weight: 500; font-size: clamp(1rem, 1.6vw, 1.25rem); }

.bh__merch { margin-bottom: 2rem; max-width: 30em; color: #3c3d0c; }

.bh__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.bh__coin img {
  width: clamp(180px, 20vw, 260px);
  filter: drop-shadow(0 26px 30px rgba(60,61,12,0.4));
  animation: coinFloat 5.5s ease-in-out infinite;
}
@keyframes coinFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
.bh__coin figcaption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: #55570f;
}

.countdown {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.6rem);
}
.countdown__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 4ch;
}
.countdown__n {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  background: var(--ink);
  color: var(--yellow);
  padding: 0.45em 0.3em;
  font-variant-numeric: tabular-nums;
}
.countdown__l {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #55570f;
}
.bh__cd-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: #55570f;
}

@media (max-width: 900px) {
  .bh__inner { grid-template-columns: 1fr; }
}

/* ---------- join / book ---------- */

.join {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  background:
    radial-gradient(80rem 60rem at 50% 130%, #201f1b, transparent 60%),
    var(--ink);
}
.join__inner {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.join__steps { margin-top: clamp(2rem, 4vw, 3rem); }
.join__steps li {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.join__steps li span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  min-width: 2.2ch;
}
.join__steps-final { color: var(--yellow); font-weight: 460; }
.join__steps-final span { color: var(--yellow); }

.join__recliner {
  width: min(100%, 400px);
  margin-top: clamp(1.2rem, 2.5vw, 2rem);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55));
}

.book {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  position: sticky;
  top: 6.5rem;
}
.book__title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 420;
  letter-spacing: -0.02em;
}
.book__sub { color: var(--mist); margin: 0.7rem 0 1.9rem; font-size: 0.98rem; }

.book__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) {
  .book__row { grid-template-columns: 1fr; gap: 0; }
}

.book__opt { text-transform: none; color: #6f6f68; }

.book__field { margin-bottom: 1.3rem; border: 0; }
.book__field label, .book__field legend {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.5rem;
}
.book__field input[type="text"],
.book__field input[type="email"],
.book__field input[type="tel"],
.book__field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--bone);
  font: inherit;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s;
}
.book__field textarea { resize: vertical; min-height: 5.5rem; }
.book__field input:focus,
.book__field textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
.book__field input::placeholder,
.book__field textarea::placeholder { color: #5c5c56; }

/* stacked event checkboxes */
.book__checks { display: grid; gap: 0.5rem; }
.book__checks label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.book__checks label:hover { border-color: var(--mist); }
.book__checks input {
  appearance: none;
  flex: none;
  width: 1rem; height: 1rem;
  margin-top: 0.15rem;
  border: 1px solid var(--mist);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.book__checks input:checked {
  background: var(--yellow);
  border-color: var(--yellow);
}
.book__checks input:checked::after {
  content: "✓";
  font-size: 0.7rem;
  color: var(--ink);
  line-height: 1;
}
.book__checks input:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.book__checks label:has(input:checked) {
  border-color: var(--yellow);
  background: color-mix(in srgb, var(--yellow) 6%, transparent);
}
.book__checks span { display: flex; flex-direction: column; gap: 0.15rem; }
.book__checks strong { font-weight: 480; font-size: 0.95rem; }
.book__checks em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.book__note {
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  color: #6f6f68;
}

.book__chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.book__chips label { margin: 0; cursor: pointer; }
.book__chips input { position: absolute; opacity: 0; pointer-events: none; }
.book__chips span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  color: var(--mist);
  transition: all 0.2s;
}
.book__chips input:checked + span {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}
.book__chips input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }

.book__submit { width: 100%; justify-content: center; margin-top: 0.4rem; }
/* ---------- HubSpot embedded form, themed to brand ---------- */

.book__hs { min-height: 22rem; }

.book__hs .hs-form-field { margin-bottom: 1.3rem; }
.book__hs .hs-form-field > label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.5rem;
}
.book__hs .hs-input {
  width: 100% !important;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--bone);
  font: inherit;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s;
  box-sizing: border-box;
}
.book__hs textarea.hs-input { resize: vertical; min-height: 5.5rem; }
.book__hs .hs-input:focus { outline: none; border-color: var(--yellow); }
.book__hs .hs-input::placeholder { color: #5c5c56; }
.book__hs select.hs-input { appearance: auto; }

.book__hs .form-columns-2 .hs-form-field .hs-input { width: 95% !important; }

/* checkbox lists */
.book__hs ul.inputs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.book__hs ul.inputs-list label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--bone);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}
.book__hs ul.inputs-list label:hover { border-color: var(--mist); }
.book__hs ul.inputs-list input.hs-input {
  width: 1rem !important;
  height: 1rem;
  flex: none;
  margin-top: 0.2rem;
  accent-color: var(--yellow);
}

/* errors + legal */
.book__hs .hs-error-msgs,
.book__hs .hs-error-msgs label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #ff8f6b;
  letter-spacing: 0.04em;
  list-style: none;
  padding: 0.3rem 0 0;
  margin: 0;
  border: 0;
}
.book__hs .hs-richtext, .book__hs .legal-consent-container {
  font-size: 0.78rem;
  color: #6f6f68;
  margin: 0.8rem 0;
}

/* submit */
.book__hs .hs-button.primary {
  width: 100%;
  background: var(--yellow);
  color: var(--ink);
  border: 0;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.05rem 1.7rem;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), background-color 0.25s;
}
.book__hs .hs-button.primary:hover { background: #ffff5c; transform: translateY(-2px); }

/* post-submit thank-you message */
.book__hs .submitted-message {
  font-size: 1.05rem;
  color: var(--bone);
}

@media (max-width: 900px) {
  .join__inner { grid-template-columns: 1fr; }
  .book { position: static; }
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  background: #121212;
}
.footer__marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  padding: 1.3rem 0;
}
.footer__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--mist);
  white-space: nowrap;
}
.footer__track > span:first-child,
.footer__track span[data-main] { color: var(--yellow); }
.footer__sep { color: var(--gold); }

.footer__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2.2rem var(--pad-x);
  max-width: 90rem;
  margin: 0 auto;
}
.footer__brand { display: flex; align-items: center; text-decoration: none; }
.footer__lockup { height: 28px; color: var(--bone); }
.footer__lockup svg { height: 100%; width: auto; display: block; }
.footer__note {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__legal {
  margin-left: auto;
  font-size: 0.8rem;
  color: #6f6f68;
}
.footer__legal a { color: inherit; text-decoration: none; }
.footer__legal a:hover { color: var(--bone); }

/* ---------- sticky mobile CTA ---------- */

.sticky-cta {
  display: none;
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
}
@media (max-width: 980px) {
  .sticky-cta { display: inline-flex; }
  .sticky-cta.is-parked { position: absolute; visibility: hidden; }
}

/* ---------- reveal defaults (JS enhances) ---------- */

[data-reveal] { opacity: 0; transform: translateY(28px); }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .hero__scroll-line, .bh__coin img { animation: none; }
  * { scroll-behavior: auto; }
}
