:root {
  --text: #1d1d1f;
  --muted: #626262;
  --line: #e4e4e1;
  --accent: #315f66;
  --bg: #fff;
  --max: 1120px;
  --pad: clamp(22px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
img { display: block; max-width: 100%; }
.container { width: min(100%, var(--max)); margin: 0 auto; padding-inline: var(--pad); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); position: sticky; top: 0; z-index: 20; }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-name { color: var(--text); font-size: 16px; font-weight: 650; text-decoration: none; }
.site-nav { display: flex; gap: 25px; }
.site-nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px 0; color: var(--text); font: inherit; }

.hero { padding: clamp(60px, 8vw, 100px) 0 clamp(72px, 9vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: clamp(48px, 8vw, 96px); align-items: center; }
.hero-copy { max-width: 520px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(2.65rem, 5vw, 4.4rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 650; }
.role { margin-bottom: 34px; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.4; }
.summary { margin-bottom: 0; max-width: 510px; color: var(--muted); font-size: 1.08rem; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }

.section { padding: clamp(72px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.content-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(45px, 8vw, 100px); align-items: start; }
h2 { margin: 0; font-size: clamp(1.65rem, 2.4vw, 2.15rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }
h3 { margin: 0 0 14px; font-size: 1.3rem; line-height: 1.35; font-weight: 650; }
h4 { margin: 0 0 9px; font-size: 1.08rem; line-height: 1.4; font-weight: 650; }
.lead { max-width: 760px; margin-bottom: 40px; font-size: 1.08rem; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 42px; margin-bottom: 54px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts p { margin: 0; color: var(--muted); }
.facts strong { color: var(--text); font-size: 1.15rem; }
.entries { max-width: 780px; }
.entries article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.entries article:first-child { padding-top: 6px; }
.entries p { margin-bottom: 0; color: var(--muted); }
.meta { margin-bottom: 7px !important; color: #777 !important; font-size: .88rem; }
.links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 34px 0 0; }
.links a { font-size: .95rem; }
.writing-list h3 a { color: var(--text); }
.app-list { margin-top: 30px; }
.about-copy { max-width: 760px; }
.about-copy p { margin-bottom: 1.25em; }
.email { color: var(--text); font-size: 1.15rem; }

.site-footer { border-top: 1px solid var(--line); padding: 30px 0 42px; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-inner a { color: var(--muted); }

@media (max-width: 780px) {
  html { scroll-padding-top: 62px; }
  .header-inner { min-height: 60px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 60px; padding: 12px var(--pad) 20px; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; font-size: 15px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 600px; }
  .hero-photo { max-width: 600px; }
  .content-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding-block: 68px; }
  .facts { margin-bottom: 44px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding-top: 48px; }
  h1 { font-size: 2.55rem; }
  .role { font-size: 1.2rem; margin-bottom: 25px; }
  .summary { font-size: 1rem; }
  .hero-photo { aspect-ratio: 1 / 1; }
  .footer-inner { flex-direction: column; }
}

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