:root {
  color-scheme: dark;
  --floor: #14101f;
  --floor-2: #1c1630;
  --floor-glow: #2a2044;
  --grain: #34294d;
  --grid: rgba(255, 255, 255, 0.022);
  --chalk: #f6efe6;
  --chalk-dim: #b8aec9;
  --tape: #f2c14e;
  --tape-ink: #2a1d0c;
  --tape-now: #ff5d8f;
  --tape-now-ink: #3a0a1c;
  --shadow: var(--shadow);
  --maxw: 68rem;
  --display: "Fraunces", "Georgia", serif;
  --body: "Karla", system-ui, sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", sans-serif;
}


:root[data-theme="light"] {
  color-scheme: light;
  --floor: #f7f2ea;
  --floor-2: #efe8dc;
  --floor-glow: #fff9ef;
  --grain: #d9cfc0;
  --grid: rgba(0, 0, 0, 0.035);
  --chalk: #1a1424;
  --chalk-dim: #5d5468;
  --tape-now: #e8407a;
  --link: #8a5a00;
  --shadow: rgba(40, 20, 60, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background:
    radial-gradient(120% 60% at 50% 0%, var(--floor-glow) 0%, var(--floor) 55%),
    var(--floor);
  color: var(--chalk);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 118px, var(--grid) 118px 120px);
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--chalk); }
:focus-visible { outline: 2px solid var(--tape); outline-offset: 3px; border-radius: 2px; }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}

em { font-style: italic; font-weight: 400; }

/* ---------- tape ---------- */
.tape {
  display: inline-block;
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tape-ink);
  background: var(--tape);
  background-image: repeating-linear-gradient(115deg, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 7px);
  padding: 0.18em 0.7em 0.14em;
  transform: rotate(-1.5deg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
.tape-now { background-color: var(--tape-now); color: var(--tape-now-ink); transform: rotate(1.2deg); }
.tape-mini { font-size: 0.8rem; margin-right: 0.5em; }

/* ---------- header ---------- */
.top { padding: 1.1rem 0; border-bottom: 1px solid var(--grain); }
.top-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--chalk); }
.brand-mark {
  width: 1.5rem; height: 0.55rem; background: var(--tape);
  transform: rotate(-8deg); border-radius: 1px;
}
.brand-name { font-family: var(--label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.95rem; }
.brand-sep { color: var(--chalk-dim); }
.brand-tour { font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--chalk-dim); }
.nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.nav a { font-size: 0.95rem; text-decoration: none; color: var(--chalk-dim); }
.nav a:hover { color: var(--chalk); }
.nav-ig { color: var(--link); }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 1px solid var(--grain); border-radius: 999px; background: none;
  color: var(--chalk-dim); font: inherit; font-size: 0.9rem; padding: 0.25rem 0.75rem 0.25rem 0.5rem; cursor: pointer;
}
.theme-toggle:hover { color: var(--chalk); border-color: var(--tape); }
.theme-toggle::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--tape); box-shadow: 0 0 0 3px var(--floor-2); }
:root[data-theme="light"] .theme-toggle::before { background: var(--chalk); }

/* ---------- hero ---------- */
.hero { padding: 4.5rem 0 3rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }
.hero-media { position: relative; margin: 0; }
.hero-media .video { transform: rotate(1.2deg); }
.media-tape { position: absolute; top: -0.9rem; left: 1.2rem; z-index: 2; }
.hero-media figcaption { margin-top: 1.4rem; color: var(--chalk-dim); font-size: 0.98rem; max-width: 34rem; }
.hero-media figcaption .fine { display: block; margin-top: 0.4rem; }
.eyebrow { color: var(--chalk-dim); font-size: 0.98rem; margin-bottom: 1.6rem; }
.hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.6rem);
  max-width: 14ch;
  font-weight: 450;
}
.hero h1 em { color: var(--tape-now); font-variation-settings: "SOFT" 100, "WONK" 1; }
.lede { margin-top: 1.6rem; max-width: 36rem; font-size: 1.18rem; color: var(--chalk-dim); }
.lede strong, .prose strong { color: var(--chalk); font-weight: 600; }
.actions { margin-top: 2.2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 0.85rem 1.4rem; border-radius: 0.2rem;
  font-family: var(--label); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; line-height: 1.1;
}
.btn-tape { background: var(--tape); color: var(--tape-ink); transform: rotate(-1deg); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4); }
.btn-tape:hover { background: var(--chalk); color: var(--tape-ink); transform: rotate(0deg); }
.btn-chalk { border: 1px solid var(--grain); color: var(--chalk); }
.btn-chalk:hover { border-color: var(--tape); color: var(--link); }

/* ---------- count bar (signature) ---------- */
.countbar { margin-top: 4.5rem; padding-top: 2.4rem; border-top: 1px solid var(--grain); }
.countbar-title { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.9rem; color: var(--chalk-dim); margin-bottom: 1.6rem; }
.counts { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.6rem; align-items: end; }
.count {
  position: relative;
  min-height: 5.6rem;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.2rem;
  padding: 0.6rem 0.7rem 0.55rem;
  background: var(--tape);
  background-image: repeating-linear-gradient(115deg, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 7px);
  color: var(--tape-ink);
  box-shadow: 0 2px 0 var(--shadow);
  transition: transform 120ms ease-out;
}
.count:nth-child(odd) { transform: rotate(-1.4deg); }
.count:nth-child(even) { transform: rotate(1.1deg); }
.count .num { font-family: var(--display); font-size: 1.9rem; line-height: 1; font-weight: 500; }
.count .city { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem; line-height: 1.15; }
.count.now { background-color: var(--tape-now); color: var(--tape-now-ink); }
.count.tap { background: none; box-shadow: none; color: var(--chalk-dim); border-bottom: 2px dashed var(--grain); min-height: 3rem; }
.count.tap .num { font-family: var(--label); font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; }
.count.open { background: none; box-shadow: none; color: var(--chalk-dim); border: 1.5px dashed var(--grain); }
.count.open .city { font-family: var(--display); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.count.finale { background-color: var(--chalk); color: var(--floor); }
.count.beat { transform: translateY(-6px) rotate(0deg); }
.count.tap.beat, .count.finale.beat { transform: translateY(-10px) rotate(0deg); }
.count.beat::after {
  content: ""; position: absolute; left: 50%; bottom: -1rem; width: 0.45rem; height: 0.45rem;
  margin-left: -0.225rem; border-radius: 50%; background: var(--chalk);
}
.countnote { margin-top: 2.2rem; font-size: 0.98rem; color: var(--chalk-dim); max-width: 40rem; }

@media (max-width: 680px) {
  .counts { grid-template-columns: repeat(4, 1fr); row-gap: 1.6rem; }
  .count { min-height: 5rem; padding: 0.5rem 0.55rem 0.45rem; }
  .count .num { font-size: 1.5rem; }
}

/* ---------- sections ---------- */
section { padding: 4.5rem 0; }
section + section { border-top: 1px solid var(--grain); }
section h2 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: 1.4rem; max-width: 20ch; }
.prose, .prose-wide { color: var(--chalk-dim); }
.prose { max-width: 38rem; }
.prose p + p { margin-top: 1rem; }
.prose .pull { margin-top: 1.6rem; font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.3; color: var(--chalk); font-variation-settings: "SOFT" 100, "WONK" 1; }
.fine, .credit, .coords, figcaption { font-size: 0.92rem; color: var(--chalk-dim); }

/* ---------- video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 0.25rem; box-shadow: 0 20px 50px var(--shadow); }
.video iframe, .video img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play { position: absolute; inset: 0; width: 100%; border: 0; background: none; cursor: pointer; padding: 0; }
.video-play img { filter: saturate(0.9); transition: transform 300ms ease; }
.video-play:hover img { transform: scale(1.02); }
.play-badge {
  position: absolute; left: 50%; top: 50%; width: 5rem; height: 5rem; margin: -2.5rem 0 0 -2.5rem;
  border-radius: 50%; background: var(--tape); display: grid; place-items: center;
  box-shadow: 0 6px 20px var(--shadow);
}
.play-tri { width: 0; height: 0; border-left: 1.5rem solid var(--tape-ink); border-top: 0.95rem solid transparent; border-bottom: 0.95rem solid transparent; margin-left: 0.35rem; }

/* ---------- story ---------- */
.story-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 34%; gap: 4rem; } }
.portrait { max-width: 26rem; order: 2; }
.portrait img { border-radius: 0.25rem; box-shadow: 0 20px 50px var(--shadow); transform: rotate(-1deg); }
.portrait figcaption { margin-top: 1rem; font-family: var(--display); font-style: italic; font-size: 1rem; }

/* ---------- stops ---------- */
.stop-grid { display: grid; gap: 1.2rem; margin-top: 2rem; }
@media (min-width: 760px) { .stop-grid { grid-template-columns: repeat(3, 1fr); } }
.stop {
  position: relative; background: var(--floor-2); border: 1px solid var(--grain);
  padding: 2.1rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; border-radius: 0.2rem;
}
.stop-tape { position: absolute; top: -0.8rem; left: 1rem; }
.stop h3 { font-size: 2.1rem; margin-top: 0.4rem; }
.stop .coords { font-family: var(--label); letter-spacing: 0.1em; }
.stop p { color: var(--chalk-dim); font-size: 0.98rem; line-height: 1.55; }
.stop.next { border-color: var(--tape-now); }
.stop .credit { margin-top: auto; padding-top: 0.6rem; }

/* ---------- the ask ---------- */
.lede-small { color: var(--chalk-dim); max-width: 38rem; }
.ask-cols { display: grid; gap: 2.4rem; margin-top: 2.4rem; max-width: 56rem; }
@media (min-width: 760px) { .ask-cols { grid-template-columns: 1fr 1fr; } }
.ask-col h3 { font-size: 1rem; margin-bottom: 1rem; }
.ask-col ul { list-style: none; }
.ask-col li { padding: 0.7rem 0 0.7rem 1.6rem; position: relative; color: var(--chalk-dim); border-bottom: 1px solid var(--grain); }
.ask-col li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem; width: 0.85rem; height: 0.4rem;
  background: var(--tape); transform: rotate(-8deg);
}
.ask-col.give li::before { background: var(--tape-now); }
.fn-mark { color: var(--tape-now); font-weight: 600; }
.footnote { margin-top: 1.4rem; max-width: 56rem; font-size: 0.92rem; color: var(--chalk-dim); }
.ask .actions { margin-top: 2rem; }

/* ---------- mexico ---------- */
.prize-line { margin-top: 1.8rem; max-width: 36rem; color: var(--chalk-dim); font-size: 1rem; }
.prize-line a { color: var(--chalk); }
.prize-line a:hover { color: var(--link); }
.mexico { background: var(--floor-2); }
.mexico-grid { display: grid; gap: 2.4rem; align-items: start; }
@media (min-width: 900px) { .mexico-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.mexico h2 { font-size: clamp(2.4rem, 6vw, 4rem); max-width: none; }
.mexico h2 em { color: var(--tape-now); font-variation-settings: "SOFT" 100, "WONK" 1; }
.mexico .prose-wide + .prose-wide { margin-top: 1rem; }
.mexico .prose-wide strong { color: var(--chalk); font-weight: 600; }
.rules { border: 1px solid var(--grain); padding: 1.6rem 1.4rem 1.2rem; border-radius: 0.2rem; background: var(--floor); }
.rules h3 { font-size: 1rem; margin-bottom: 1rem; }
.rules ul { list-style: none; }
.rules li { padding: 0.65rem 0; border-bottom: 1px solid var(--grain); color: var(--chalk-dim); font-size: 0.98rem; line-height: 1.5; }
.rules li:last-child { border-bottom: 0; }
.rules strong { color: var(--chalk); font-weight: 600; }

/* ---------- finale ---------- */
.finale { background: var(--floor-2); }
.finale-count { font-family: var(--label); letter-spacing: 0.2em; color: var(--chalk-dim); text-transform: uppercase; margin-bottom: 1rem; }
.finale-count b { color: var(--chalk); }
.finale h2 { font-size: clamp(2.6rem, 8vw, 5.2rem); max-width: none; }
.finale h2 em { color: var(--tape); font-variation-settings: "SOFT" 100, "WONK" 1; }
.prose-wide { max-width: 44rem; font-size: 1.12rem; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--grain); padding: 2.4rem 0 3.5rem; font-size: 0.95rem; color: var(--chalk-dim); }
.foot-row { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: space-between; align-items: baseline; }
.foot-links a { margin-right: 1.2rem; }
.foot-brand { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; }
.foot-brand a { text-decoration: none; }

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