/* Two Days, No Sleep — "Overnight" look */

:root {
  --ink: #0D0D0F;
  --ink-2: #151518;
  --bone: #F3ECDD;
  --red: #FF3B2F;
  --muted: rgba(243, 236, 221, .6);
  --line: rgba(243, 236, 221, .16);

  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: var(--bone); text-decoration-color: var(--red); text-underline-offset: 4px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.red { color: var(--red); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); letter-spacing: .08em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: var(--ink); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

/* type */
.label {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 20px;
}
.display, .display-sm, .heading, .city-name, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .005em;
  margin: 0;
}
.display { font-size: clamp(56px, 11vw, 150px); }
.display-sm { font-size: clamp(48px, 8vw, 96px); margin-bottom: 20px; }
.heading { font-size: clamp(40px, 6vw, 76px); margin-bottom: 36px; }
h3 { font-size: 30px; margin-bottom: 10px; }
.lede { font-size: clamp(18px, 2vw, 22px); max-width: 640px; color: var(--bone); }
.br-mobile { display: none; }

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--red);
  color: var(--ink);
  border: 2px solid var(--red);
  padding: 16px 24px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn:hover { background: transparent; color: var(--red); }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--bone); color: var(--bone); }
.btn-small { padding: 10px 16px; font-size: 13px; }

/* header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(13, 13, 15, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.wordmark {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--bone); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.nav a:hover { color: var(--bone); }

/* hero */
.hero {
  position: relative;
  padding: clamp(56px, 10vw, 120px) 0 clamp(64px, 10vw, 130px);
  background: radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, .05), transparent 60%);
  overflow: hidden;
}
.viewfinder .vf {
  position: absolute; width: 40px; height: 40px;
  border: 0 solid rgba(243, 236, 221, .55);
}
.vf.tl { top: 24px; left: 24px; border-top-width: 2px; border-left-width: 2px; }
.vf.tr { top: 24px; right: 24px; border-top-width: 2px; border-right-width: 2px; }
.vf.bl { bottom: 24px; left: 24px; border-bottom-width: 2px; border-left-width: 2px; }
.vf.br { bottom: 24px; right: 24px; border-bottom-width: 2px; border-right-width: 2px; }

.hud {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-weight: 500; font-size: 15px; letter-spacing: .14em;
  margin-bottom: clamp(40px, 7vw, 72px);
}
.rec { display: inline-flex; align-items: center; gap: 10px; }
.dot {
  display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 14px rgba(255, 59, 47, .8);
  animation: blink 1.6s steps(1) infinite;
}
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.timecode { font-variant-numeric: tabular-nums; }

.hero .display { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* city strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.strip-inner { display: grid; grid-template-columns: 1fr 1fr; }
.city { padding: 48px 0; }
.city + .city { padding-left: var(--gutter); border-left: 1px solid var(--line); }
.city-name { font-size: clamp(44px, 6vw, 80px); margin-bottom: 10px; }
.city .mono { font-size: 16px; margin: 0 0 4px; }
.city .muted { margin: 0; font-size: 15px; }

/* sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.timeline li { border-top: 2px solid var(--line); padding-top: 22px; position: relative; counter-increment: step; }
.timeline li::before {
  content: "0" counter(step);
  position: absolute; top: -13px; left: 0;
  background: var(--ink); padding-right: 10px;
  font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--red);
}
.timeline li:nth-child(3) { border-top-color: var(--red); }
.when { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.timeline p:last-child { font-size: 16px; margin: 0; color: rgba(243, 236, 221, .85); }

/* call sheet mock */
.sheet {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--mono);
  padding: 28px;
  transform: rotate(1.2deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}
.sheet-head {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-weight: 700; letter-spacing: .14em; font-size: 14px;
  border-bottom: 3px solid var(--ink); padding-bottom: 12px; margin-bottom: 8px;
}
.sheet-rows { margin: 0; }
.sheet-rows > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dashed rgba(13, 13, 15, .3); }
.sheet-rows dt { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; padding-top: 3px; }
.sheet-rows dd { margin: 0; font-size: 16px; }
.sheet .muted { color: rgba(13, 13, 15, .55); }
.sheet .ink { font-family: 'Caveat', cursive; font-size: 30px; line-height: 1; color: #1F3A93; }
.sheet .initials { display: inline-block; margin-left: 14px; font-size: 22px; border: 2px solid #1F3A93; border-radius: 50%; padding: 4px 6px 2px; transform: rotate(-8deg); }
.sheet .note { display: block; font-size: 12px; color: rgba(13, 13, 15, .55); margin-top: 4px; }
.sheet-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--red); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); padding: 30px; background: rgba(255, 255, 255, .015); }
.card p { margin: 0; color: rgba(243, 236, 221, .85); font-size: 17px; }

/* checklist */
.checklist { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 20px; }
.checklist li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: center; }
.checklist li::before { content: ""; width: 18px; height: 18px; border: 2px solid var(--bone); flex: none; }
.checklist li:last-child::before { border-color: var(--red); background: var(--red); }

/* faq */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none;
  padding: 22px 40px 22px 0; position: relative;
  font-family: var(--display); font-size: 26px; text-transform: uppercase; letter-spacing: .01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 28px; color: var(--red);
}
details[open] summary::after { content: "–"; }
details p { margin: 0 0 24px; color: rgba(243, 236, 221, .85); max-width: 680px; }

/* signup */
.signup { padding: clamp(80px, 12vw, 140px) 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(255, 59, 47, .12), transparent 60%); }
.signup .lede { margin: 0 auto 32px; }
.signup-form { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; }
.signup-form input {
  flex: 1; min-width: 0;
  font-family: var(--mono); font-size: 16px;
  background: transparent; color: var(--bone);
  border: 2px solid var(--line); padding: 16px 18px;
}
.signup-form input::placeholder { color: var(--muted); }
.signup-form input:focus { border-color: var(--bone); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg.ok { color: var(--bone); }
.form-msg { min-height: 1.6em; font-family: var(--mono); font-size: 14px; color: var(--red); margin: 16px 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; font-family: var(--mono); font-size: 14px; }
.site-footer .small { flex-basis: 100%; margin: 0; }

/* responsive */
@media (max-width: 1000px) {
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav { display: none; }
  .header-inner { justify-content: space-between; height: 60px; }
  .wordmark { font-size: 20px; }
  .br-mobile { display: inline; }
  .strip-inner, .split { grid-template-columns: 1fr; }
  .city { padding: 36px 0; }
  .city + .city { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; }
  .sheet { transform: none; padding: 22px; }
  .sheet-rows > div { grid-template-columns: 1fr; gap: 4px; }
  .signup-form { flex-direction: column; }
  .vf { display: none; }
  summary { font-size: 22px; }
}

/* settings-driven bits */
.city .muted + .muted { margin-top: 2px; }
.city-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
button.btn { font: inherit; font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
button.btn-small { font-size: 13px; }

/* ---------- rules page ---------- */
.nav a[aria-current="page"] { color: var(--bone); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 6px; }

.rules-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.rules-hero .display-sm { margin-bottom: 40px; }
.short { border: 2px solid var(--bone); padding: 26px 28px; max-width: 760px; background: var(--ink-2); }
.short .label { margin-bottom: 10px; color: var(--bone); }
.short p:last-child { margin-bottom: 0; }

.rules-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(64px, 9vw, 110px); }
.toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; font-family: var(--mono); font-size: 14px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 0; color: var(--muted); text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--red); font-weight: 700; }
.toc a:hover { color: var(--bone); }

.rules { max-width: 760px; min-width: 0; }
.rules section { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.rules section:last-child { border-bottom: 0; margin-bottom: 0; }
.rules h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 4.5vw, 48px); line-height: 1; margin: 0 0 22px; display: flex; align-items: baseline; gap: 16px; text-wrap: balance; }
.rules .num { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--red); letter-spacing: .08em; }
.rules p, .rules li { color: rgba(243, 236, 221, .88); }
.rules ul { padding-left: 1.1em; margin: 0 0 16px; }
.rules li { margin-bottom: 10px; }
.rules li::marker { color: var(--red); }
.rules strong { color: var(--bone); }

.times { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--bone); margin: 0 0 24px; }
.times > div { padding: 18px 20px; }
.times > div + div { border-left: 2px solid var(--bone); }
.times .lock { background: var(--bone); color: var(--ink); }
.times dt { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.times dd { margin: 4px 0 0; font-family: var(--display); font-size: 34px; text-transform: uppercase; line-height: 1.05; }
.times dd span { display: block; font-family: var(--sans); font-size: 15px; text-transform: none; line-height: 1.45; margin-top: 8px; color: var(--muted); }
.times .lock dd span { color: rgba(13, 13, 15, .7); }

.must { margin: 8px 0 24px; }
.must > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px dashed var(--line); }
.must > div:last-child { border-bottom: 1px dashed var(--line); }
.must dt { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding-top: 4px; }
.must dd { margin: 0; color: rgba(243, 236, 221, .88); }

.callout { border-left: 3px solid var(--red); padding: 4px 0 4px 18px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two > div { border: 1px solid var(--line); padding: 20px; }
.two .tag { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 8px; }
.two .yes .tag { color: var(--bone); }
.two .no .tag { color: var(--red); }
.two p:last-child { margin: 0; }

.big { font-family: var(--display); font-size: clamp(40px, 6vw, 64px); text-transform: uppercase; line-height: 1; color: var(--bone) !important; margin: 0 0 16px; }
.big span { display: block; margin-top: 10px; font-family: var(--sans); font-size: 18px; text-transform: none; color: var(--muted); }

.specs, .prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); margin: 0 0 20px; }
.prices { grid-template-columns: repeat(3, 1fr); }
.specs > div, .prices > div { padding: 14px 16px; }
.specs > div + div, .prices > div + div { border-left: 1px solid var(--line); }
.specs dt, .prices dt { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-family: var(--mono); font-size: 16px; }
.prices dd { margin: 4px 0 0; font-family: var(--display); font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; margin: 0 0 20px; }
.rules table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.rules th { text-align: left; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 12px 10px 0; border-bottom: 2px solid var(--bone); }
.rules td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: rgba(243, 236, 221, .88); }
.rules td:first-child { color: var(--bone); font-weight: 600; white-space: nowrap; }

.weights { margin: 0 0 24px; }
.weights > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.weights dt { color: rgba(243, 236, 221, .88); }
.weights dd { margin: 0; font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.weights .bar { grid-column: 1 / -1; height: 4px; background: var(--line); position: relative; }
.weights .bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--red); }

.awards { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.awards li { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.awards li strong { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 22px; color: var(--bone); }

@media (max-width: 900px) {
  .rules-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); padding: 18px 20px; }
  .toc ol { columns: 2; column-gap: 20px; }
}
@media (max-width: 600px) {
  .times, .two, .awards { grid-template-columns: 1fr; }
  .times > div + div { border-left: 0; border-top: 2px solid var(--bone); }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs > div:nth-child(3) { border-left: 0; }
  .specs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .must > div { grid-template-columns: 1fr; gap: 4px; }
  .toc ol { columns: 1; }
}

.follow-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.signup-note { font-size: 15px; margin: 20px auto 0; }

/* venue photos */
.venues { display: grid; grid-template-columns: 3fr 7fr; gap: 20px; margin: 0 0 12px; }
.venue { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); min-width: 0; }
.venue img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.venue-roxie img { aspect-ratio: 3 / 4; }
.venue-grand img { aspect-ratio: 7 / 4; object-position: 50% 45%; }
.venue figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 48px 20px 18px;
  background: linear-gradient(to top, rgba(13, 13, 15, .9), rgba(13, 13, 15, 0));
}
.venue-name { font-family: var(--display); font-size: 32px; text-transform: uppercase; line-height: 1; }
.venue-city { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.photo-credits { font-size: 12px; color: var(--muted); margin: 0 0 36px; }
.photo-credits a { color: var(--muted); }
@media (max-width: 760px) {
  .venues { grid-template-columns: 1fr; }
  .venue-roxie img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
}
