/*
  Sachse Ventures. The brand is the Sachse Ventures design system in Claude Design
  (16 Nov 2026): growth rings, one hue of green, Newsreader for the human side,
  Geist and Geist Mono for the technical side. Fonts are hosted with the page.
*/

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/Newsreader-Variable.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("/fonts/Newsreader-Italic-Variable.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/Geist-Variable.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); }

:root {
  --ground: #F4F5F1;
  --ground-raised: #FBFBF9;
  --ground-sunk: #E9EDE6;
  --ink: #0F2621;
  --ink-muted: #4C5F58;
  --line: #D0D7CE;
  --marsh: #2F7A5B;
  --marsh-soft: #DDE8E0;
  --band: #0F2621;
  --on-band: #EEF1EA;
  --on-band-muted: #A7B6AE;
  --on-band-accent: #8FCDAE;

  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Geist", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-hero: clamp(2.9rem, 6.6vw, 5.75rem);
  --fs-statement: clamp(2.4rem, 5.4vw, 4.375rem);
  --fs-h2: clamp(2rem, 3.6vw, 3rem);
  --fs-h3: clamp(1.4rem, 2vw, 1.7rem);
  --fs-lede: clamp(1.1rem, 1.45vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-label: 0.75rem;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 112px;
  --radius-sm: 4px; --radius-md: 8px;

  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(var(--space-8), 9vw, var(--space-9));
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0C1D19; --ground-raised: #132A25; --ground-sunk: #091613;
    --ink: #EEF1EA; --ink-muted: #A7B6AE; --line: #29413A;
    --marsh: #8FCDAE; --marsh-soft: #17352C;
    --band: #132A25; --on-band: #EEF1EA; --on-band-muted: #A7B6AE; --on-band-accent: #8FCDAE;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--marsh-soft); color: var(--ink); }
img, svg, canvas { max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--marsh); outline-offset: 3px; border-radius: var(--radius-sm); }
.band :focus-visible { outline-color: var(--on-band-accent); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.label {
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted);
}
.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 10;
  background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: var(--radius-md);
  text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

/* The mark: a serif S and an italic V inside two fine rings. */
.m-ink { fill: currentColor; }
.m-acc { fill: var(--mark-mid, var(--marsh)); }
.m-ring { fill: none; stroke: currentColor; stroke-width: 1.8; }
.m-ring2 { fill: none; stroke: var(--mark-mid, var(--marsh)); stroke-width: 1; }
.band { --mark-mid: var(--on-band-accent); }

/* The lockup: the name at 0.625 of the mark's height, baseline 0.709 down the mark. */
.lockup { --mark: 44px; display: inline-flex; align-items: flex-start; gap: calc(var(--mark) * 0.26); text-decoration: none; color: var(--ink); }
.lockup svg { width: var(--mark); height: var(--mark); flex: none; }
.lockup .name {
  font-family: var(--font-display); font-size: calc(var(--mark) * 0.625); font-weight: 500;
  letter-spacing: -0.012em; line-height: 1; white-space: nowrap; margin-top: calc(var(--mark) * 0.25);
  font-variation-settings: "opsz" 72;
}

/* Header */
.site-head { position: relative; z-index: 2; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding-block: 24px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 0.94rem; }
.nav a { text-decoration: none; color: var(--ink-muted); padding-block: 10px; }
.nav a:hover { color: var(--ink); }
.nav a.nav-cta {
  color: var(--ink); border: 1px solid var(--ink); border-radius: var(--radius-md);
  padding: 9px 16px; font-weight: 500;
}
.nav a.nav-cta:hover { background: var(--ink); color: var(--ground); }
@media (max-width: 860px) { .nav a:not(.nav-cta) { display: none; } }
@media (max-width: 720px) { .site-head .lockup { --mark: 40px; } }
@media (max-width: 400px) { .site-head .lockup { --mark: 36px; } .site-head .wrap { gap: var(--space-3); } }
@media (max-width: 350px) {
  .site-head .lockup .name { white-space: normal; width: min-content; font-size: calc(var(--mark) * 0.4531); line-height: 0.96; margin-top: calc(var(--mark) * 0.1135); }
}

/* Hero, with the one field of growth rings bleeding off the right edge */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(48px, 8vw, 112px) clamp(64px, 10vw, 144px); }
.hero-copy { max-width: 46rem; display: flex; flex-direction: column; gap: var(--space-5); }
.hero h1 { font-size: var(--fs-hero); line-height: 1; letter-spacing: -0.024em; }
.hero h1 em { font-style: italic; color: var(--marsh); }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-muted); max-width: 35rem; }
.lede strong { color: var(--ink); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); margin-top: var(--space-3); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 0 22px; border-radius: var(--radius-md);
  background: var(--ink); color: var(--ground);
  font-size: 0.98rem; font-weight: 500; text-decoration: none;
  transition: background-color 0.18s ease;
}
.btn:hover { background: var(--marsh); }
.text-link { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--marsh); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.text-link:hover { color: var(--marsh); }
.actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.rings {
  position: absolute; inset: 0 0 0 auto; height: 100%; display: block;
  width: max(min(60%, 840px), calc((100% - 1160px) / 2 + 560px));
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 46%);
  mask-image: linear-gradient(to right, transparent 0, #000 46%);
}
@media (max-width: 860px) {
  .rings { position: relative; inset: auto; width: 100%; height: 190px; -webkit-mask-image: none; mask-image: none; }
  .hero .wrap { padding-block: 32px 28px; }
}

/* Sections */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: var(--space-4); max-width: 40rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.02em; }
.section-head p { color: var(--ink-muted); font-size: var(--fs-lede); line-height: 1.55; }

/* What we do: four verbs, each with what has already happened */
.verbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3.4vw, 48px); }
.verbs li { border-top: 1px solid var(--ink); padding-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.verbs h3 { font-size: clamp(1.9rem, 2.8vw, 2.4rem); line-height: 1; letter-spacing: -0.02em; }
.verbs p { color: var(--ink-muted); }
.verbs .sofar { margin-top: auto; padding-top: var(--space-3); color: var(--ink); font-size: var(--fs-small); line-height: 1.5; }
.verbs .sofar .label { display: block; margin-bottom: var(--space-1); }
@media (max-width: 900px) { .verbs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .verbs { grid-template-columns: 1fr; } }

/* Ventures ledger: ruled, not boxed. Each stage adds a ring. */
.ledger-title { margin: var(--space-7) 0 var(--space-3); }
.ledger-title:first-of-type { margin-top: 0; }
.ledger { border-top: 1px solid var(--ink); }
.ledger li {
  display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr) minmax(9.5rem, auto); gap: var(--space-3) var(--space-6);
  align-items: baseline; padding-block: var(--space-5); border-bottom: 1px solid var(--line);
}
.ledger h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.015em; }
.ledger h3 small { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.ledger p { color: var(--ink-muted); max-width: 36rem; }
.stage {
  display: inline-flex; align-items: center; gap: var(--space-2); justify-self: end; white-space: nowrap;
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink);
}
.stage svg { width: 20px; height: 20px; flex: none; }
.stage.is-active svg { color: var(--marsh); }
@media (max-width: 760px) {
  .ledger li { grid-template-columns: minmax(0, 1fr) auto; }
  .ledger p { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 420px) {
  .ledger li { grid-template-columns: 1fr; }
  .stage { justify-self: start; grid-row: 3; }
}

/* About */
.bio { max-width: 40rem; font-size: var(--fs-lede); line-height: 1.6; }
.bio .label { margin-bottom: var(--space-4); }
.bio h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: var(--space-5); }
.bio p + p { margin-top: var(--space-4); }
.bio p { color: var(--ink-muted); }
.bio p.first { color: var(--ink); }
.bio a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--marsh); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.bio a:hover { color: var(--marsh); }

/* The one signed, first-person note */
.family { background: var(--ground-sunk); border-top: 0 !important; }
.family .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 104px); align-items: end; }
.family h2 { font-size: var(--fs-statement); line-height: 1; letter-spacing: -0.024em; }
.family h2 em { font-style: italic; color: var(--marsh); }
.family .note { display: flex; flex-direction: column; gap: var(--space-4); }
.family .note p { color: var(--ink-muted); font-size: var(--fs-lede); line-height: 1.55; }
.family .note .sign { font-family: var(--font-display); font-style: italic; font-size: var(--fs-h3); line-height: 1.15; color: var(--ink); }
@media (max-width: 860px) { .family .wrap { grid-template-columns: 1fr; } }

/* Closing band */
.band { background: var(--band); color: var(--on-band); }
.band .wrap { padding-block: var(--section) 40px; }
.band h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.02em; max-width: 24ch; }
.band .label { color: var(--on-band-muted); }
.contact { display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; }
.mail {
  font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.1; font-weight: 400; letter-spacing: -0.02em;
  color: var(--on-band); text-decoration: underline; text-decoration-color: var(--on-band-accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}
.mail:hover { color: var(--on-band-accent); }
.place { color: var(--on-band-muted); }
.foot {
  margin-top: clamp(56px, 9vw, 120px); padding-top: 28px; border-top: 1px solid rgba(238, 241, 234, 0.16);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-6);
  color: var(--on-band-muted); font-size: var(--fs-small);
}
.foot .lockup { --mark: 40px; color: var(--on-band); }
.foot .tag { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--on-band); }

/* Not found page */
.lost { padding-block: var(--section); }
.lost h1 { font-size: var(--fs-hero); line-height: 1; letter-spacing: -0.024em; margin-bottom: var(--space-5); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
