/* render/styles.css */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/InterVariable.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/InterVariable-Italic.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Fraunces-Variable.woff2') format('woff2-variations');
}

:root {
  --accent: #1f5135;
  --ink: #1a1a1a;
  --muted: #666;
  --rule: #e5e5e5;
  --bg: #fff;
  --bg-soft: #fafaf8;
  --max-width: 760px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; }
a:hover { color: var(--accent); }

/* ─── HUB: nav + hero ─────────────────────────────── */

.nav-row {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 36px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.nav-row a { border-bottom: none; }
.nav-row a:hover { color: var(--accent); }

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 36px 40px;
  border-bottom: 1px solid var(--rule);
}
.hero h1 {
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 8px;
}
.hero .tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 20px;
}
.hero .bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 60ch;
}

.ventures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.venture {
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 16px 18px;
  background: var(--bg-soft);
  transition: border-color 0.15s, transform 0.15s;
}
.venture:hover { border-color: var(--accent); transform: translateY(-1px); }
.venture .v-name { font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: var(--ink); margin: 0 0 2px; }
.venture .v-role { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 700; margin: 0 0 6px; }
.venture .v-desc { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0 0 6px; }
.venture .v-url { font-size: 11px; color: var(--muted); border-bottom: none; }

/* ─── RESUME body ─────────────────────────────────── */

.resume {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 36px 64px;
}
.resume h1 {
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.resume h1 + p { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.resume hr { border: none; border-top: 1px solid var(--rule); margin: 22px 0; }
.resume h2 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent);
  border-top: 2px solid var(--accent);
  padding-top: 10px;
  margin: 28px 0 14px;
  display: inline-block;
}
.resume h3 { font-size: 15px; font-weight: 700; margin: 18px 0 2px; }
.resume h3 + p { margin: 0 0 6px; color: var(--muted); font-size: 12px; }
.resume p em { color: var(--muted); font-style: italic; font-size: 12.5px; }
.resume ul { padding-left: 18px; margin: 6px 0 12px; }
.resume li { margin-bottom: 5px; line-height: 1.5; }
.resume strong { font-weight: 600; }
.resume code {
  font-family: 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  font-size: 0.86em;
  font-weight: 500;
  background: #f1f1ec;
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ─── PRINT ───────────────────────────────────────── */

@media print {
  @page { size: letter; margin: 0.7in 0.8in; }
  body { font-size: 10.25pt; line-height: 1.55; widows: 3; orphans: 3; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .nav-row, .hero { display: none !important; }
  .resume { padding: 0; max-width: none; }
  .resume h1 { font-size: 23pt; margin-bottom: 4pt; }
  .resume h2 { font-size: 9pt; margin: 16pt 0 7pt; }
  .resume h3 { font-size: 11.5pt; margin: 13pt 0 2pt; }
  .resume hr { margin: 16pt 0; }
  .resume p { margin: 6pt 0; }
  .resume ul { margin: 5pt 0 11pt; }
  .resume li { font-size: 10.25pt; margin-bottom: 4pt; line-height: 1.5; }
  a { color: inherit; border-bottom: none; }
  h2, h3 { break-after: avoid; }
  ul { break-inside: avoid-column; }
}
