/* Hallmark · macrostructure: Marquee Hero · hero: chrome wordmark fills the fold, no CTA in fold
 * theme: custom · vibe: "underground, Y2K chrome, logo over pitch" · paper: oklch(14% 0.024 265) · accent: oklch(83% 0.11 225)
 * display: Grenze Gotisch · body: Geist (+ Geist Mono labels) · axes: dark / display-heavy / cool
 * enrichment: Tier B hand-built SVG chrome wordmark · nav: N9 edge-aligned · footer: Ft5 statement
 * studied: no · context: Bryan's brief via iMessage 2026-11-26 (underground, Y2K chrome, sell less)
 */
@import url("tokens.css");

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--space-md); top: var(--space-md); z-index: 10;
  background: var(--color-ink); color: var(--color-paper);
  padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill);
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

/* ── edge nav (N9) ─────────────────────────────── */
.edge {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-md);
  padding: var(--space-lg) var(--gutter);
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.edge a { text-decoration: none; color: var(--color-ink-2); white-space: nowrap; }
.edge a:hover { color: var(--color-ink); }
.edge .mark { display: inline-flex; align-items: center; gap: var(--space-xs); }
.edge .mark img { width: 22px; height: 22px; border-radius: 6px; }
.edge--static { position: static; border-bottom: var(--rule-thin) solid var(--color-rule-2); }

/* ── marquee fold ──────────────────────────────── */
.fold {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: var(--space-4xl) var(--gutter) var(--space-3xl);
  background:
    radial-gradient(60% 45% at 50% 48%, var(--color-bloom), transparent 70%),
    var(--color-paper);
  isolation: isolate;
}
.wordmark { width: min(100%, 1320px); height: auto; overflow: visible; }
.wordmark text { font-family: var(--font-display); font-weight: 900; }
.fold__foot {
  position: absolute; inset: auto var(--gutter) var(--space-lg) var(--gutter);
  display: flex; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap;
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-muted);
}
@media (prefers-reduced-motion: no-preference) {
  .wordmark { animation: rise var(--dur-slow) var(--ease-out) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px) scale(0.985); } to { opacity: 1; transform: none; } }
  .glint { animation: glint 4.8s var(--ease-in-out) infinite; transform-box: fill-box; transform-origin: center; }
  .glint--b { animation-delay: 1.6s; }
  .glint--c { animation-delay: 3.1s; }
  @keyframes glint { 0%, 70%, 100% { opacity: 0.25; transform: scale(0.6); } 82% { opacity: 1; transform: scale(1); } }
}

.rule-thick { border: 0; height: var(--rule-thick); margin: 0; background: var(--color-ink); }

/* ── shared section frame ──────────────────────── */
.band { padding: var(--space-4xl) var(--gutter); }
.band--raised { background: var(--color-paper-2); }
.wrap { max-width: 1180px; margin: 0 auto; }
.h-display, .h-section {
  font-family: var(--font-display); font-style: normal; font-weight: 800;
  color: var(--color-ink); line-height: 0.95; margin: 0;
  overflow-wrap: anywhere; min-width: 0;
}
.h-display { font-size: var(--text-display); letter-spacing: -0.01em; }
.h-section { font-size: var(--text-3xl); }
.label {
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-muted); margin: 0 0 var(--space-md);
}

/* ── the no list ───────────────────────────────── */
.nolist { list-style: none; margin: 0; padding: 0; }
.nolist li {
  font-family: var(--font-display); font-weight: 700; color: var(--color-ink);
  font-size: var(--text-2xl); line-height: 1.1;
  padding: var(--space-sm) 0; border-bottom: var(--rule-thin) solid var(--color-rule-2);
  overflow-wrap: anywhere;
}
.nolist li s { text-decoration-thickness: 3px; text-decoration-color: var(--color-muted); color: var(--color-muted); }
.nolist__end {
  margin: var(--space-2xl) 0 0; font-size: var(--text-xl); color: var(--color-ink); max-width: 30ch;
}

/* ── inside: index rows ────────────────────────── */
.inside__head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.inside__head p { margin: 0; max-width: 46ch; }
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--rule-thin) solid var(--color-rule); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 190px;
  gap: var(--space-lg); align-items: center;
  padding: var(--space-lg) 0; border-bottom: var(--rule-thin) solid var(--color-rule);
}
.row h3 {
  margin: 0; font-family: var(--font-display); font-weight: 800; font-style: normal;
  color: var(--color-ink); font-size: var(--text-2xl); line-height: 1;
}
.row p { margin: 0; color: var(--color-ink-2); font-size: var(--text-lg); max-width: 36ch; }
.shot {
  position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--radius-sm); border: var(--rule-thin) solid var(--color-rule);
  background: var(--color-paper-3);
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.shot .mono { filter: grayscale(1) contrast(1.2) brightness(0.85); }
.shot .color { opacity: 0; transition: opacity var(--dur-base) var(--ease-out); }
.row:hover .shot .color, .row:focus-within .shot .color { opacity: 1; }
@media (hover: none) { .shot .color { opacity: 1; } }

/* ── latest drop ───────────────────────────────── */
.drop { display: grid; gap: var(--space-lg); }
.drop__meta { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-muted); margin: 0; }
.drop__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); }
.drop__list li {
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl);
  color: var(--color-ink); line-height: 1;
}
.drop__list li:not(:last-child)::after { content: "·"; color: var(--color-accent); margin-left: var(--space-xl); }

/* ── founder note ──────────────────────────────── */
.note { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
.note blockquote { margin: 0; }
.note blockquote p {
  font-size: var(--text-xl); line-height: 1.45; color: var(--color-ink); margin: 0 0 var(--space-lg);
  max-width: 34ch;
}
.note .scroll { font-family: var(--font-display); font-weight: 700; color: var(--color-accent); font-style: normal; }
.note figcaption { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-muted); }
.note__photo {
  margin: 0; max-width: 360px; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm);
  border: var(--rule-thin) solid var(--color-rule);
}
.note__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }
@media (min-width: 900px) {
  .note { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; }
}

/* ── get it ────────────────────────────────────── */
.get { display: grid; gap: var(--space-lg); justify-items: start; }
.btn {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl); border-radius: var(--radius-pill);
  background: var(--color-ink); color: var(--color-paper);
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); opacity: 0.85; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.get__meta { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-muted); margin: 0; }

/* ── statement footer (Ft5) ────────────────────── */
.foot { padding: var(--space-3xl) var(--gutter) var(--space-xl); border-top: var(--rule-thick) solid var(--color-ink); }
.foot__line { margin: 0 0 var(--space-2xl); }
.foot__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md) var(--space-xl);
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-muted);
}
.foot__meta nav { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); }
.foot__meta a { color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }
.foot__meta a:hover { color: var(--color-ink); text-decoration: underline; }

/* ── legal pages ───────────────────────────────── */
.legal { padding: var(--space-3xl) var(--gutter) var(--space-4xl); }
.legal article { max-width: var(--measure); margin: 0 auto; }
.legal h1, .legal h2, .legal h3 {
  font-family: var(--font-display); font-style: normal; color: var(--color-ink);
  line-height: 1.05; overflow-wrap: anywhere;
}
.legal h1 { font-size: var(--text-3xl); font-weight: 800; margin: 0 0 var(--space-xs); }
.legal h2 { font-size: var(--text-xl); font-weight: 800; margin: var(--space-2xl) 0 var(--space-sm); }
.legal h3 { font-size: var(--text-lg); font-weight: 700; margin: var(--space-xl) 0 var(--space-xs); }
.legal p, .legal li { color: var(--color-ink-2); }
.legal strong { color: var(--color-ink); }
.legal a { color: var(--color-accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: var(--text-sm); }
.legal td, .legal th { border: var(--rule-thin) solid var(--color-rule); padding: var(--space-xs) var(--space-sm); vertical-align: top; }

/* ── mobile ────────────────────────────────────── */
@media (max-width: 720px) {
  .band { padding: var(--space-3xl) var(--gutter); }
  .row { grid-template-columns: minmax(0, 1fr) 112px; gap: var(--space-md); }
  .row h3 { grid-column: 1 / -1; }
  .row .shot { grid-row: 2; grid-column: 2; }
  .row p { grid-row: 2; grid-column: 1; font-size: var(--text-base); }
  .drop__list li:not(:last-child)::after { margin-left: var(--space-md); }
  .edge { padding: var(--space-md) var(--gutter); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .shot .color { transition: opacity 120ms linear; }
  .btn:hover { transform: none; }
}
