/* ─────────────────────────────────────────────────────────────────────────
   Overview one-pager — page-specific layout.
   Loaded AFTER /css/site.css; reuses its :root tokens + base classes
   (.wrap, .pillars, .wow-card, .answer-first, .cta-primary, footer, …).
   CSP style-src 'self' — NO inline styles anywhere; everything lives here.
   Namespaced `.ov-` so it can never collide with the marketing site.
   ───────────────────────────────────────────────────────────────────────── */

/* Prepared-for personalization line (revealed by /js/overview.js on ?to=) */
.ov-prepared-for {
  display: none;
  margin: 0 auto 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.4;
}
.ov-prepared-for.is-visible { display: block; }

/* Thesis — the locked lead claim, centered, large mono */
#ov-thesis .wrap { text-align: center; }
.ov-thesis {
  font-family: var(--mono);
  font-size: clamp(22px, 4.3vw, 37px);
  line-height: 1.42;
  letter-spacing: -0.005em;
  color: var(--fg);
  max-width: 900px;
  margin: 0 auto 28px;
}
.ov-lede {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.62;
  color: var(--muted);
}

/* Split — WHERE I START (wedge) | WHERE IT GOES (vision) */
.ov-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.ov-col-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 14px;
  line-height: 1.4;
}
.ov-col-vision .ov-col-label { color: var(--accent-emerald); }
.ov-col-head {
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1.45;
  color: var(--fg);
  margin: 0 0 16px;
}
.ov-col p { margin: 0 0 14px; line-height: 1.6; }
.ov-col p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .ov-split { grid-template-columns: 1fr 1fr; column-gap: 0; }
  .ov-col-start  { padding-right: 48px; }
  .ov-col-vision { padding-left: 48px; border-left: 1px solid var(--hairline); }
}

/* "What it looks like" typographic panel (product-shot slot lives here) */
.ov-glimpse {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  padding: 28px 28px;
  text-align: center;
}
.ov-glimpse p {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.6;
  color: var(--fg);
}
.ov-glimpse .ov-glimpse-note {
  margin: 16px 0 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* Founder note */
.ov-note {
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.62;
  color: var(--fg);
  text-align: center;
}
.ov-note p { margin: 0 0 16px; color: var(--fg); }
.ov-note p:last-child { margin-bottom: 0; }

/* Ask / next step */
.ov-ask { text-align: center; }
.ov-ask .ov-ask-line {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.ov-ask .ov-contact {
  margin: 24px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--dim);
  line-height: 1.7;
}
.ov-ask .ov-contact a { color: var(--fg); text-decoration-color: var(--dim); }
.ov-ask .ov-annex {
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

/* Architecture annex — reuse .pillars for the layer list; a couple extras */
.ov-arch-lead {
  max-width: 640px;
  margin: 0 auto 8px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--muted);
  text-align: center;
}
.ov-status {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
  border: 1px solid var(--hairline-strong);
  color: var(--dim);
  margin-left: 10px;
  vertical-align: middle;
}
.ov-status.is-live { color: var(--accent-emerald); border-color: rgba(16,185,129,0.28); }
.ov-status.is-planned { color: var(--accent-violet); border-color: rgba(107,94,205,0.30); }

/* Architecture deep page: the label key reads as a key, not as content. */
.ov-legend { opacity: 0.9; }
.ov-legend .pillar-line { color: var(--dim); }
/* Inline code (e.g. the `sqlite3` proof point) on the dark ground. */
.ov-arch-lead + section code, main code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--fg);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 1px 5px;
}

@media (max-width: 480px) {
  .ov-note { font-size: 15px; }
  .ov-glimpse { padding: 22px 20px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   REVIEW GALLERY + FOUR VARIATIONS
   Each variation page sets a body class: v-manifesto | v-brief |
   v-invitation | v-letter. Gallery lives at /overview/.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Gallery ───────────────────────────────────────────────────────────── */
.ov-gallery-intro { max-width: 620px; margin: 0 auto 8px; text-align: center;
  font-size: 17px; line-height: 1.62; color: var(--muted); }
.ov-gallery-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 8px; }
@media (min-width: 760px) { .ov-gallery-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.ov-variant-card { display: block; border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; background: var(--card); text-decoration: none;
  transition: border-color .28s ease, box-shadow .28s ease; }
.ov-variant-card:hover, .ov-variant-card:focus-visible { border-color: var(--alexandrite);
  box-shadow: 0 0 0 1px var(--alexandrite-forest), 0 16px 64px -18px var(--alexandrite);
  text-decoration: none; }
.ov-variant-card img { display: block; width: 100%; height: 300px; object-fit: cover;
  object-position: top; border-bottom: 1px solid var(--border); background: var(--bg); }
.ov-variant-meta { padding: 18px 20px 20px; }
.ov-variant-meta .n { font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--dim); }
.ov-variant-meta .t { font-family: var(--mono); font-size: 16px; color: var(--fg);
  margin: 6px 0 8px; line-height: 1.4; }
.ov-variant-meta .d { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }
.ov-variant-meta .pdf { display: inline-block; margin-top: 12px; font-family: var(--mono);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* ── V2 — Investor brief: left-aligned, at-a-glance table ──────────────── */
.v-brief header.hero { text-align: left; }
.v-brief header.hero .hud-strip { justify-content: flex-start; }
.v-brief .wordmark { width: min(38vw, 300px); margin-left: 0; }
.v-brief .tagline, .v-brief .subhead { margin-left: 0; text-align: left; }
.v-brief #ov-thesis .wrap { text-align: left; }
.v-brief .ov-thesis { text-align: left; margin-left: 0; font-size: clamp(21px, 3.4vw, 32px); }
.v-brief .ov-lede { margin-left: 0; text-align: left; }
.ov-glance { border: 1px solid var(--hairline-strong); border-radius: 4px; overflow: hidden; }
.ov-glance .row { display: flex; gap: 20px; padding: 15px 18px; border-bottom: 1px solid var(--hairline); }
.ov-glance .row:last-child { border-bottom: 0; }
.ov-glance .k { font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--dim); min-width: 116px; flex-shrink: 0; line-height: 1.6; }
.ov-glance .v { color: var(--fg); flex: 1; line-height: 1.55; }
@media (max-width: 480px) { .ov-glance .row { flex-direction: column; gap: 4px; } }

/* ── V3 — Quiet invitation: spare, generous space ─────────────────────── */
.v-invitation section { padding: 72px 0; }
.v-invitation .ov-thesis { font-size: clamp(24px, 4.8vw, 41px); }
.ov-lines { text-align: center; }
.ov-lines p { font-family: var(--mono); font-size: clamp(17px, 2.6vw, 22px);
  line-height: 1.5; color: var(--fg); margin: 0 0 22px; }
.ov-lines p:last-child { margin-bottom: 0; }
.ov-lines .dim { color: var(--dim); font-size: clamp(13px, 1.8vw, 15px); letter-spacing: .04em; }

/* ── V4 — Founder letter ──────────────────────────────────────────────── */
.ov-letter { max-width: 640px; margin: 0 auto; }
.ov-letter p { font-size: 17px; line-height: 1.72; color: var(--fg); margin: 0 0 20px; }
.ov-letter p:last-child { margin-bottom: 0; }
.ov-letter .sig { font-family: var(--mono); font-size: 14px; letter-spacing: .04em;
  color: var(--muted); margin-top: 30px; }

/* ═══════════════════════════════════════════════════════════════════════
   FLYER — true one page, print-ready, minimal. body class: flyer (+ flyer-min)
   Verified against 2026 one-sheet psychology: one message, <10-word headline,
   three points max, heavy whitespace, one CTA, high contrast.
   ═══════════════════════════════════════════════════════════════════════ */
.flyer-page {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  text-align: center;
  max-width: 720px; margin: 0 auto;
  padding: 8vh 30px 6vh;
}
.flyer-wordmark { width: 190px; margin: 0 auto 16px; opacity: .92; }
.flyer-wordmark svg { display: block; width: 100%; height: auto; }
.flyer-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--dim); margin: 0; line-height: 1.5; }
.flyer-core { flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; }
.flyer-hero { font-family: var(--mono); font-weight: 400;
  font-size: clamp(30px, 6.2vw, 54px); line-height: 1.3;
  letter-spacing: -0.01em; color: var(--fg); max-width: 16ch; margin: 0 auto 26px; }
.flyer-sub { font-size: clamp(15px, 2.4vw, 19px); line-height: 1.6;
  color: var(--muted); max-width: 46ch; margin: 0 auto 44px; }
.flyer-three { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin: 0 auto; }
.flyer-three .item { max-width: 170px; }
.flyer-three .k { font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--fg); display: block; margin-bottom: 8px; line-height: 1.4; }
.flyer-three .k::before { content: ""; display: block; width: 18px; height: 2px;
  background: var(--accent-emerald); margin: 0 auto 14px; }
.flyer-three .v { font-size: 13px; color: var(--dim); line-height: 1.5; }
.flyer-honest { font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  color: var(--dim); margin: 40px auto 22px; line-height: 1.5; }
.flyer-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.28);
  border-radius: 2px; text-decoration: none; line-height: 1.3;
  transition: background .2s ease, border-color .2s ease; }
.flyer-cta:hover, .flyer-cta:focus-visible { background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5); text-decoration: none; }
.flyer-url { margin: 16px 0 0; font-family: var(--mono); font-size: 12px;
  letter-spacing: .14em; color: var(--dim); }
.flyer-url a { color: var(--dim); text-decoration: none; }
.flyer-url a:hover { color: var(--fg); }
/* F3 minimal */
.flyer-min .flyer-hero { font-size: clamp(34px, 7.2vw, 62px); margin-bottom: 22px; }
.flyer-min .flyer-sub { margin-bottom: 0; }

@media print {
  @page { size: 8.5in 11in; margin: 0; }
  html, body { background: #000 !important; }
  .flyer-page { width: 8.5in; height: 11in; min-height: 0; padding: 1in 0.9in 0.9in; margin: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
