@font-face {
  font-family: 'Archivo Black';
  src: url('../assets/fonts/ArchivoBlack-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/JetBrainsMono-var.ttf') format('truetype');
  font-weight: 100 800; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/SpaceGrotesk-var.ttf') format('truetype');
  font-weight: 300 700; font-display: swap;
}

:root {
  --bone: #f5f0e6;
  --bone-2: #ebe4d6;
  --ink: #2b2620;
  --ink-2: #1a1713;
  --ochre: #e8a33d;
  --rust: #c8462c;
  --live: #4a9d5f;
  --dim: #8a8175;
  --line: #d6cdbb;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --body: 'Space Grotesk', system-ui, sans-serif;
  --display: 'Archivo Black', var(--body);
  --wrap: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- shared */
.label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}

h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4.4vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 6px 0 14px;
}
h3 {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.lede { font-size: clamp(15px, 1.6vw, 17px); color: #56503f; max-width: 62ch; }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s, filter 0.15s;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rust); color: var(--bone); }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

/* pixel checkerboard divider — the one motif worth keeping from the genre */
.checker {
  height: 12px;
  background-image:
    linear-gradient(45deg, var(--ink) 25%, transparent 25%),
    linear-gradient(-45deg, var(--ink) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--ink) 75%),
    linear-gradient(-45deg, transparent 75%, var(--ink) 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
  opacity: 0.9;
}

/* ---------------------------------------------------------------- nav */
nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 240, 230, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; gap: 22px; height: 58px; }
.brand {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.03em;
  text-decoration: none;
  margin-right: auto;
}
.brand .hot { color: var(--rust); }
nav a.nl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dim);
}
nav a.nl:hover { color: var(--ink); }
nav .btn { padding: 9px 18px; font-size: 10px; }
@media (max-width: 820px) { nav a.nl { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: 54px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-bg, linear-gradient(160deg, #f5c76a, #e8a33d 45%, #c4762f));
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-copy { text-align: center; max-width: 760px; margin: 0 auto 26px; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(46px, 9vw, 94px);
  letter-spacing: -0.035em;
  line-height: 0.9;
  margin: 10px 0 12px;
}
.hero h1 .hot { color: var(--rust); }
.hero .pitch { font-size: clamp(16px, 2vw, 20px); color: #4a4438; margin-bottom: 22px; }
.hero .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }


/* Restored: this was collateral from cutting the old .stage/iframe block. The
   cut ran from a start comment to the next section header and took everything
   in between, including a rule that had nothing to do with the iframe. */
.hero-note {
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-top: 12px;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- board */
.board { background: var(--ink); color: var(--bone); padding: 40px 0; }
.board .label { color: #8a8175; }
.board-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}
@media (max-width: 900px) { .board-grid { grid-template-columns: 1fr; } }

.ca-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 14px; }
.ca-boxes { display: flex; gap: 2px; flex-wrap: wrap; }
.ca-boxes span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  width: 17px; height: 24px;
  display: grid;
  place-items: center;
  background: #3a342c;
  color: var(--ochre);
  border: 1px solid #4e463b;
}
.ca-boxes span.empty { color: #5f574a; }
.ca-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.ca-actions .btn { padding: 9px 14px; font-size: 10px; }
.ca-actions .btn-ghost { color: var(--bone); border-color: #564e42; }

.countdown { text-align: right; }
@media (max-width: 900px) { .countdown { text-align: left; } }
.cd-time {
  font-family: var(--mono);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ochre);
  line-height: 1;
}
.cd-time.live { color: var(--live); }
.cd-utc { font-family: var(--mono); font-size: 10px; color: #8a8175; letter-spacing: 0.14em; margin-top: 6px; }

.warn {
  margin-top: 22px;
  border: 1px solid var(--rust);
  background: rgba(200, 70, 44, 0.1);
  padding: 12px 15px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: #f0d9d2;
}
.warn b { color: var(--rust); }

/* ---------------------------------------------------------------- sections */
section { padding: 66px 0; }
.sec-head { margin-bottom: 30px; max-width: 70ch; }

.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 860px) { .ladder { grid-template-columns: repeat(2, 1fr); } }
.tier {
  background: var(--ink);
  color: var(--bone);
  padding: 18px 14px;
  border: 2px solid var(--ink);
}
.tier .n { font-family: var(--mono); font-size: 9px; color: var(--ochre); letter-spacing: 0.2em; }
.tier h3 { margin: 5px 0 6px; color: var(--bone); }
.tier p { font-size: 12.5px; color: #b8b0a2; line-height: 1.5; }
.tier .cost {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid #3f382f;
  letter-spacing: 0.08em;
}
.tier:last-child { background: var(--rust); border-color: var(--rust); }
.tier:last-child .n, .tier:last-child .cost { color: #ffd9cd; }
.tier:last-child p { color: #ffe3da; }
.tier:last-child .cost { border-top-color: rgba(255,255,255,0.25); }

.pull {
  font-family: var(--display);
  font-size: clamp(20px, 2.8vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 26px;
  padding-left: 18px;
  border-left: 4px solid var(--rust);
  max-width: 24ch;
}

/* regions */
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .regions { grid-template-columns: 1fr; } }
.region { border: 2px solid var(--ink); background: var(--bone-2); }
.region .swatch { height: 92px; }
.region .body { padding: 16px; }
.region .st {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 7px;
  display: inline-block;
  margin-bottom: 8px;
}
.st.on { background: var(--live); color: #fff; }
.st.off { background: var(--line); color: #6d6656; }
.region p { font-size: 13px; color: #56503f; }
.region dl { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--dim); }
.region dl div { display: flex; justify-content: space-between; padding: 3px 0; border-top: 1px solid var(--line); }

/* economy */
.tiers { width: 100%; border-collapse: collapse; font-size: 14px; }
.tiers th, .tiers td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.tiers th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.tiers td:first-child { font-family: var(--display); font-size: 14px; }
.tiers tr:last-child td { border-bottom: 0; }
.tiers .hold { font-family: var(--mono); font-size: 12px; color: var(--dim); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { border: 2px solid var(--ink); padding: 20px; background: var(--bone-2); }
.card .num { font-family: var(--mono); font-size: 10px; color: var(--rust); letter-spacing: 0.2em; }
.card p { font-size: 13.5px; color: #56503f; margin-top: 4px; }

/* faq */
details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
summary {
  font-family: var(--display);
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-family: var(--mono); color: var(--rust); }
details[open] summary::after { content: '−'; }
details p { margin-top: 10px; font-size: 14px; color: #56503f; max-width: 74ch; }

/* footer */
footer { background: var(--ink); color: #9a9184; padding: 44px 0 30px; }
.foot-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.foot-brand { font-family: var(--display); font-size: 22px; color: var(--bone); letter-spacing: -0.03em; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #9a9184;
}
.foot-links a:hover { color: var(--ochre); }
.fine {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.85;
  color: #7b7367;
  border-top: 1px solid #3a342c;
  padding-top: 20px;
  max-width: 92ch;
}

/* ---------------------------------------------------------------- hero CA
   Plain selectable text, not boxes — the boxes are The Board's treatment.
   Ships reading TBA from the markup so it survives config.js failing. */
.hero-ca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(43, 38, 32, 0.06);
  border: 1px solid var(--line);
  padding: 8px 8px 8px 14px;
  margin-bottom: 20px;
  max-width: 100%;
}
.hca-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero-ca code {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
  text-align: left;
  user-select: all;
}
.hca-copy {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bone);
  border: 0;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.hca-copy:hover { filter: brightness(1.25); }
@media (max-width: 560px) {
  .hero-ca { gap: 7px; padding: 7px; }
  .hero-ca code { font-size: 10px; }
}

/* ---------------------------------------------------------------- nav icons */
nav a.nl.ic {
  display: inline-flex;
  align-items: center;
  color: var(--dim);
  padding: 6px;
  /* 44px is the minimum reliable touch target; a 15px glyph alone is a miss. */
  min-width: 30px;
  min-height: 30px;
  justify-content: center;
}
nav a.nl.ic:hover { color: var(--ink); }
/* Icons survive the mobile nav cull — text links don't. */
@media (max-width: 820px) {
  nav a.nl.ic { display: inline-flex; }
  nav .wrap { gap: 12px; }
}

/* ---------------------------------------------------------------- hero shots */
.shots {
  position: relative;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(43, 38, 32, 0.16);
  background: var(--ink-2);
  overflow: hidden;
}
.shots-view {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}
.shots-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.shots-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.shots-tag {
  position: absolute;
  top: 0; left: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  z-index: 2;
}
.shots-tag .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--live);
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
  animation: pulse 1.9s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.shots-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(26, 23, 19, 0.9));
  color: var(--bone);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  z-index: 2;
  pointer-events: none;
}
.shots-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 42px;
  color: var(--bone);
  text-shadow: 0 2px 18px rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
  pointer-events: none;
}
.shots-view:hover .shots-play { opacity: 0.9; }

.shots-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(26, 23, 19, 0.6);
  color: var(--bone);
  border: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.shots-nav:hover { background: var(--rust); }
.shots-nav.prev { left: 0; }
.shots-nav.next { right: 0; }

.shots-dots {
  position: absolute;
  bottom: 10px; right: 12px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.shot-dot {
  width: 22px; height: 4px;
  border: 0;
  padding: 0;
  background: rgba(245, 240, 230, 0.35);
  cursor: pointer;
  transition: background 0.2s;
}
.shot-dot.on { background: var(--ochre); }

@media (prefers-reduced-motion: reduce) {
  .shots-track { transition: none; }
  .shots-tag .dot { animation: none; }
}

/* ---------------------------------------------------------------- mobile */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 44px 0; }

  .hero { padding: 32px 0 28px; }
  .hero h1 { font-size: clamp(40px, 15vw, 62px); }
  .hero .pitch { font-size: 15px; }
  /* Buttons go full width and stack — a row of three wraps into an unreadable
     jumble at 360px, and each one needs a 44px-tall tap target anyway. */
  .hero .cta { flex-direction: column; gap: 8px; }
  .hero .cta .btn { width: 100%; padding: 15px 20px; }

  .shots { border-width: 2px; box-shadow: 5px 5px 0 rgba(43,38,32,0.16); }
  .shots-view { aspect-ratio: 4 / 3; }
  /* Arrows are a desktop affordance; on a phone the gesture is the swipe. */
  .shots-nav { display: none; }
  .shots-cap { font-size: 10px; padding: 22px 10px 10px; }
  .shots-play { display: none; }

  .board { padding: 30px 0; }
  .ca-boxes span { width: 14px; height: 20px; font-size: 9px; }
  .ca-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .ca-actions .btn { padding: 12px 8px; }
  .cd-time { font-size: 32px; }

  .pull { font-size: 19px; padding-left: 12px; }
  .tiers th, .tiers td { padding: 9px 8px; font-size: 12.5px; }
  .tiers th:nth-child(2), .tiers td:nth-child(2) { display: none; } /* hold column */
  summary { font-size: 14px; }
  .fine { font-size: 10px; }
  .foot-links { gap: 12px; }
}

/* Very narrow: the address boxes are the first thing to break. */
@media (max-width: 380px) {
  .ca-boxes span { width: 12px; height: 18px; font-size: 8px; }
  .hero-ca { padding: 6px; }
  .hero-ca code { font-size: 9px; }
}
