:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --text: #1a1d23;
  --muted: #5d6470;
  --line: #e3dfd6;
  --accent: #1f4b7a;
  --accent-ink: #ffffff;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12141a;
    --surface: #1a1d25;
    --text: #ece9e2;
    --muted: #9aa1ad;
    --line: #2a2e38;
    --accent: #7fa8d6;
    --accent-ink: #0f1217;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 500; }
.nav nav a:hover { color: var(--text); }

.hero { padding: 96px 24px 72px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.1; letter-spacing: -.01em; max-width: 18ch; }
.lede { margin-top: 22px; font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .15s, opacity .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); }

.section { padding: 56px 24px; border-top: 1px solid var(--line); }
h2 { font-family: var(--serif); font-weight: 600; font-size: 1.8rem; margin-bottom: 28px; }
h3 { font-size: 1.1rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
.muted { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

.company { margin-bottom: 40px; }
.company-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 14px; }
.company-head span { color: var(--muted); font-size: .88rem; }
.roles { list-style: none; border-left: 2px solid var(--line); padding-left: 22px; }
.roles li { position: relative; padding-bottom: 22px; }
.roles li::before { content: ""; position: absolute; left: -29px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.date { display: block; color: var(--muted); font-size: .82rem; font-weight: 500; margin-bottom: 2px; }
.roles p { color: var(--muted); font-size: .95rem; margin-top: 4px; max-width: 70ch; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.item { margin-bottom: 16px; }

.contact { text-align: center; }
.contact p { margin: -16px 0 24px; }

.footer { padding: 32px 24px 48px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }

@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
  .nav nav { gap: 14px; }
  .hero { padding: 64px 16px 48px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
}
