:root {
  color-scheme: light;
  --ink: #202725;
  --muted: #56605e;
  --paper: #fafbfa;
  --line: #d8dfdd;
  --green: #206753;
  --blue: #315f8a;
  --rose: #9c4351;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}
a { color: var(--green); text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { margin-bottom: 24px; font-size: 5rem; line-height: 1.05; }
h2 { margin-bottom: 24px; font-size: 2rem; line-height: 1.2; }
h3 { margin-bottom: 14px; font-size: 1.125rem; line-height: 1.4; overflow-wrap: anywhere; }

.site-header, main, footer { max-width: 1080px; margin: 0 auto; padding-inline: 32px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 650; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.9375rem; }
nav a, footer a { color: var(--muted); text-decoration: none; }
nav a:hover, footer a:hover { color: var(--green); text-decoration: underline; }

.hero { padding-block: 52px 64px; }
.hero-copy { max-width: 800px; }
.eyebrow, .language { color: var(--green); font-size: 0.8125rem; font-weight: 650; }
.eyebrow { margin-bottom: 16px; }
.intro-statement { max-width: 690px; margin-bottom: 20px; font-size: 1.75rem; line-height: 1.35; }
.lede { max-width: 740px; color: var(--muted); font-size: 1.125rem; }
.actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }

.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.section-grid, .projects, .personal-note { border-top: 1px solid var(--line); padding-block: 48px; }
.text-stack { color: var(--muted); font-size: 1.0625rem; }
.text-stack p { margin-bottom: 20px; }
.text-stack p:last-child { margin-bottom: 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card { padding: 24px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: #fff; text-decoration: none; }
.project-card:hover { border-color: var(--green); }
.project-card:hover h3 { text-decoration: underline; text-underline-offset: 0.22em; }
.language { display: block; margin-bottom: 12px; }
.project-card:nth-child(2) .language { color: var(--blue); }
.project-card:nth-child(3) .language { color: var(--rose); }
.project-card p { margin-bottom: 0; color: var(--muted); font-size: 0.9375rem; }
.more-link { margin: 24px 0 0; }
.personal-note p { max-width: 680px; margin-bottom: 0; color: var(--muted); font-size: 1.0625rem; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px 40px; font-size: 0.9375rem; }
footer p { margin: 0; font-weight: 650; }
footer div { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero { padding-block: 32px 44px; }
  h1 { font-size: 4rem; }
  .section-grid { grid-template-columns: 1fr; gap: 0; }
  .project-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .site-header, main, footer { padding-inline: 20px; }
  h1 { font-size: 3.25rem; }
  h2 { font-size: 1.75rem; }
  .intro-statement { font-size: 1.375rem; }
  .lede { font-size: 1.0625rem; }
  nav { gap: 8px 16px; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
