@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f1e9;
  --paper-2: #ece7da;
  --ink: #17160f;
  --ink-soft: #423f36;
  --muted: #6b6558;
  --rule: rgba(23, 22, 15, 0.16);
  --rule-soft: rgba(23, 22, 15, 0.085);
  --green: #2b4a38;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: -0.004em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--green); color: var(--paper); }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 1px;
}

img { max-width: 100%; }

.wrap {
  width: min(1180px, 100% - 88px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-size: 0.85rem;
}
.skip:focus { left: 16px; top: 16px; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 233, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--rule);
  background: rgba(244, 241, 233, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 74px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.x-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: -8px;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.x-link:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 5vw, 64px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(20px, 3vw, 30px);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--rule);
}

h1 {
  text-wrap: balance;
  margin: 0 0 clamp(22px, 3vw, 32px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.8rem, 8.4vw, 7.1rem);
  line-height: 0.9;
  letter-spacing: -0.018em;
}

.lede {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.45;
  letter-spacing: -0.008em;
  color: var(--ink-soft);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.portrait {
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: min(380px, 100%);
  margin: 0;
}
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(0.94) contrast(1.03);
}
.portrait::before {
  content: "";
  position: absolute;
  inset: -13px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 9% -5% -7% 9%;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.13;
  z-index: -1;
}
.portrait figcaption {
  margin-top: 26px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

/* Introduction */

.intro-block {
  padding: 0 0 clamp(44px, 6vw, 76px);
}
.intro-block p {
  max-width: 66ch;
  margin: 0 0 1.2em;
  font-size: 1.13rem;
  line-height: 1.72;
  color: var(--ink-soft);
}
.intro-block p:last-child { margin-bottom: 0; }

.dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.05em;
  line-height: 0.78;
  padding: 0.08em 0.1em 0 0;
  color: var(--ink);
}

/* Sections */

.section {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 84px);
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--rule);
}

.section-label {
  position: sticky;
  top: 104px;
  align-self: start;
  text-wrap: balance;
  max-width: none;
  font-size: 0.69rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.65;
}
.section-label .num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0;
  color: var(--green);
}

.section-body {
  max-width: 760px;
  min-width: 0;
}

/* How I see it */

.statement {
  margin: 0 0 2.1rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.26;
  letter-spacing: -0.012em;
  max-width: none;
}
.statement-quiet {
  margin: 0 0 1.4rem;
  max-width: 58ch;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.statement-quiet:last-child { margin-bottom: 0; }

/* Ventures */

.ventures { max-width: 780px; }

.venture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule-soft);
  transition: background 0.45s var(--ease);
}
.venture:first-child { padding-top: 0; }
.venture:hover { background: rgba(43, 74, 56, 0.045); }

.venture h2 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
  line-height: 1.14;
  letter-spacing: -0.012em;
  transition: color 0.35s var(--ease);
}
.venture:hover h2 { color: var(--green); }

.venture p {
  margin: 0;
  max-width: 54ch;
  font-size: 0.97rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

.venture-link {
  padding-top: 0.45rem;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.venture-link:hover {
  color: var(--green);
  border-color: var(--green);
}

/* Quotes */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 56px);
}
blockquote {
  margin: 0;
  padding: 22px 0 26px;
  border-top: 1px solid var(--rule-soft);
}
blockquote:last-child { grid-column: 1 / -1; }
blockquote:last-child p { max-width: 42ch; }
blockquote p {
  margin: 0;
  text-wrap: pretty;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.quote-source {
  margin: 26px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Timeline */

.timeline { margin: 0; }
.timeline .row {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.timeline dt {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-top: 3px;
}
.timeline dd {
  margin: 0;
  font-size: 0.99rem;
  line-height: 1.55;
}

/* Off the clock */

.offclock {
  margin: 0 0 1.1em;
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--ink-soft);
}
.offclock:last-child { margin-bottom: 0; }

.offclock-figure {
  max-width: 700px;
  margin: 36px 0 0;
}
.offclock-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 58%;
  border: 1px solid var(--rule-soft);
}
.offclock-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  margin-top: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.offclock-figure a {
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.offclock-figure a:hover {
  color: var(--green);
  border-color: var(--green);
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: #f1ece0;
  padding: clamp(64px, 9vw, 112px) 0 38px;
}
.footer-inner { display: flex; flex-direction: column; }
.kicker.light { color: rgba(241, 236, 224, 0.55); margin-bottom: 0; }
.kicker.light::before { background: rgba(241, 236, 224, 0.28); }

.footer-lede {
  margin: 18px 0 42px;
  max-width: 26ch;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.26;
  letter-spacing: -0.012em;
  color: rgba(241, 236, 224, 0.9);
}

.email {
  align-self: flex-start;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #f1ece0;
  border-bottom: 1px solid rgba(241, 236, 224, 0.3);
  padding-bottom: 0.08em;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.email:hover { color: #ffffff; border-color: #ffffff; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 46px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(241, 236, 224, 0.68);
}
.footer-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-links a:hover {
  color: #f1ece0;
  border-bottom-color: rgba(241, 236, 224, 0.5);
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(52px, 8vw, 84px);
  padding-top: 22px;
  border-top: 1px solid rgba(241, 236, 224, 0.14);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(241, 236, 224, 0.52);
}

section[id] { scroll-margin-top: 92px; }

h2, .email, .footer-lede { text-wrap: balance; }

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.venture:nth-child(2) { transition-delay: 0.04s; }
.venture:nth-child(3) { transition-delay: 0.08s; }
.venture:nth-child(4) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Responsive */

@media (max-width: 960px) {
  .wrap { width: min(100% - 56px, 760px); }
  .header-inner { height: 66px; }
  .nav { gap: 22px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }
  .portrait {
    justify-self: start;
    width: min(320px, 68vw);
    order: -1;
  }
  .portrait figcaption { text-align: left; }
  .section { grid-template-columns: 1fr; gap: 22px; }
  .intro-block p { max-width: none; }
  .section-label { position: static; }
  .section-body { max-width: none; }
  .statement { max-width: 30ch; }
  .venture { padding: 22px 0; }
  .venture:first-child { padding-top: 4px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 44px); }
  .nav { display: none; }
  .hero { padding-top: 36px; }
  h1 { font-size: clamp(2.7rem, 12.8vw, 3.4rem); }
  .lede { max-width: none; }
  .hero-meta { gap: 8px 18px; }
  .venture { grid-template-columns: 1fr; gap: 10px; }
  .venture-link { padding-top: 0; justify-self: start; }
  .quotes { grid-template-columns: 1fr; }
  .timeline .row { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; }
  .timeline dd { font-size: 0.95rem; }
  .colophon { flex-direction: column; gap: 6px; }
  .email { font-size: clamp(1.6rem, 8vw, 2.4rem); }
}
