:root {
  color-scheme: light;
  --ink: #211a16;
  --muted: #6f6259;
  --paper: #fffaf2;
  --sand: #f3e6d5;
  --clay: #9d6044;
  --moss: #586845;
  --line: rgba(33, 26, 22, 0.14);
  --shadow: 0 24px 80px rgba(57, 38, 26, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top left, #fff4df, transparent 34rem), var(--paper);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--moss); outline-offset: 4px; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 1rem clamp(1rem, 4vw, 2rem);
  backdrop-filter: blur(16px); background: rgba(255, 250, 242, 0.82); border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; letter-spacing: -0.04em; }
nav { display: flex; gap: clamp(0.75rem, 3vw, 1.5rem); color: var(--muted); font-size: 0.95rem; }
nav a:hover { color: var(--ink); }
main, footer { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

.section-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr); gap: clamp(2rem, 7vw, 5rem); align-items: center; }
.hero { min-height: 88vh; padding: clamp(4rem, 9vw, 7rem) 0; }
.eyebrow { color: var(--clay); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 1rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3.2rem, 10vw, 7.5rem); line-height: 0.88; letter-spacing: -0.08em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 5vw, 4rem); line-height: 0.95; letter-spacing: -0.06em; }
h3 { font-size: 1.45rem; line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 0.8rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); max-width: 720px; }
.hero-actions, .contact-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.button, .contact-links a { border: 1px solid var(--line); border-radius: 999px; padding: 0.85rem 1.1rem; background: rgba(255,255,255,0.52); font-weight: 700; }
.button:hover, .contact-links a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.primary { background: var(--ink); color: var(--paper); }

.portrait-card { margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 2rem; background: rgba(255,255,255,0.48); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.portrait-placeholder { min-height: 520px; border-radius: 1.35rem; display: grid; place-items: center; background: linear-gradient(135deg, #322219, #7f5138 48%, #d7b27a); color: #fff4df; overflow: hidden; }
.portrait-placeholder span { font-size: 6rem; font-weight: 900; letter-spacing: -0.08em; }
.portrait-card figcaption { color: var(--muted); font-size: 0.95rem; padding: 1rem 0.25rem 0; }

.snapshot, .project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.snapshot article, .project-card, .contact-card { border: 1px solid var(--line); border-radius: 1.5rem; background: rgba(255,255,255,0.5); padding: clamp(1.25rem, 3vw, 2rem); }
.snapshot strong { display: block; font-size: 2rem; letter-spacing: -0.05em; }
.snapshot span, .project-card p, .stacked-copy, .timeline p, footer { color: var(--muted); }
.content-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.pill-list li, .tag { border-radius: 999px; background: var(--sand); color: var(--moss); padding: 0.4rem 0.7rem; font-size: 0.85rem; font-weight: 800; }
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.project-grid { grid-template-columns: repeat(2, 1fr); }
.project-card { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 160ms ease, box-shadow 160ms ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.featured { background: var(--ink); color: var(--paper); }
.featured p { color: rgba(255, 250, 242, 0.72); }
.timeline { display: grid; gap: 1rem; }
.timeline article { border-left: 3px solid var(--clay); padding-left: 1rem; }
.timeline span { font-weight: 900; }
.contact-card { margin: 2rem 0 4rem; background: linear-gradient(135deg, var(--ink), #4b3428); color: var(--paper); }
.contact-card .eyebrow { color: #e6bc8e; }
.contact-links a { color: var(--paper); border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); }
footer { padding-bottom: 2rem; }

@media (max-width: 820px) {
  .section-grid, .snapshot, .project-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 3rem; }
  .portrait-placeholder { min-height: 380px; }
  .site-header { align-items: flex-start; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
