@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { --paper:#f4f1eb; --ink:#182225; --muted:#647074; --line:#d7d6ce; --accent:#356d82; --accent-dark:#214958; --card:#ebe9e2; --max:1180px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:'Manrope',system-ui,sans-serif; line-height:1.65; }
a { color:inherit; }
.shell { width:min(calc(100% - 3rem),var(--max)); margin:0 auto; }
.site-header { width:min(calc(100% - 3rem),var(--max)); margin:0 auto; min-height:88px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.wordmark { font-size:1.25rem; font-weight:800; letter-spacing:-.08em; text-decoration:none; }
.wordmark span { color:var(--accent); }
.site-nav { display:flex; gap:2rem; font-size:.8rem; font-weight:700; }
.site-nav a { text-decoration:none; }
.site-nav a:hover,.site-nav a:focus-visible,.text-link:hover,.text-link:focus-visible { color:var(--accent); }
.menu-toggle { display:none; border:0; background:none; color:var(--ink); font:inherit; font-size:.8rem; font-weight:700; }
.hero { min-height:650px; display:grid; grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr); gap:5rem; align-items:center; padding:7rem 0 8rem; }
.eyebrow,.card-number,.muted { color:var(--accent); font-family:'DM Mono',monospace; font-size:.72rem; letter-spacing:.04em; text-transform:uppercase; }
.eyebrow { margin:0 0 1.5rem; }
h1,h2,h3,p { margin-top:0; }
h1 { max-width:760px; margin-bottom:2rem; font-size:clamp(3rem,7vw,6.8rem); line-height:.98; letter-spacing:-.08em; }
.lede { max-width:650px; margin-bottom:2.5rem; color:var(--muted); font-size:1.15rem; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:1.4rem; }
.button { display:inline-flex; gap:.8rem; align-items:center; padding:.8rem 1.2rem; text-decoration:none; font-size:.82rem; font-weight:800; }
.button-primary { background:var(--ink); color:var(--paper); }
.button-primary:hover,.button-primary:focus-visible { background:var(--accent-dark); }
.text-link { text-underline-offset:.3rem; font-size:.82rem; font-weight:800; }
.hero-aside { border-top:1px solid var(--line); padding-top:1.5rem; }
.hero-aside img { width:100%; max-width:260px; aspect-ratio:1; object-fit:cover; filter:saturate(.7); }
.hero-aside p { max-width:250px; margin:1.3rem 0 0; color:var(--muted); font-size:.8rem; }
.section { padding:7rem 0; }
.section-lined { border-top:1px solid var(--line); }
.section-heading { display:grid; grid-template-columns:1fr 2fr; gap:2rem; margin-bottom:4rem; }
.section-heading h2 { max-width:650px; margin:0; font-size:clamp(2rem,4vw,4rem); line-height:1.03; letter-spacing:-.06em; }
.work-grid { display:grid; grid-template-columns:1.25fr 1fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); }
.work-card { min-height:390px; padding:2rem; background:var(--paper); }
.work-card-featured { background:var(--card); }
.card-number { margin-bottom:4rem; }
.work-card h3 { max-width:300px; font-size:1.5rem; line-height:1.15; letter-spacing:-.04em; }
.work-card p:not(.card-number):not(.muted) { color:var(--muted); font-size:.9rem; }
.muted { margin-top:2rem; font-size:.65rem; line-height:1.5; }
.timeline { border-top:1px solid var(--line); }
.timeline-item { display:grid; grid-template-columns:1fr 2fr; gap:2rem; padding:2rem 0; border-bottom:1px solid var(--line); }
.timeline-meta { display:flex; flex-direction:column; gap:.3rem; color:var(--accent); font-family:'DM Mono',monospace; font-size:.7rem; text-transform:uppercase; }
.timeline-item h3 { margin-bottom:.8rem; font-size:1.35rem; letter-spacing:-.04em; }
.timeline-item p,.about-copy > p { max-width:650px; margin-bottom:0; color:var(--muted); font-size:.92rem; }
.about-grid { display:grid; grid-template-columns:1fr 2fr; gap:2rem; }
.tag-list { display:flex; flex-wrap:wrap; gap:.55rem; margin:2rem 0 4rem; }
.tag-list span { padding:.45rem .7rem; border:1px solid var(--line); color:var(--muted); font-size:.72rem; }
.education { border-top:1px solid var(--line); padding-top:1.5rem; display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
.education h3 { grid-column:1 / -1; margin:0; font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; }
.education p { margin:0; color:var(--muted); font-size:.82rem; }
.education strong { color:var(--ink); }
.contact { padding:7rem 0 8rem; border-top:1px solid var(--line); }
.contact h2 { max-width:700px; margin-bottom:1.2rem; font-size:clamp(2.5rem,6vw,6rem); line-height:.98; letter-spacing:-.08em; }
.contact > p:not(.eyebrow) { max-width:480px; color:var(--muted); }
.contact .actions { margin-top:2rem; }
.site-footer { display:flex; justify-content:space-between; padding:1.5rem 0 2rem; border-top:1px solid var(--line); color:var(--muted); font-family:'DM Mono',monospace; font-size:.65rem; text-transform:uppercase; }
:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
@media (max-width:760px) {
  .shell,.site-header { width:min(calc(100% - 2rem),var(--max)); }
  .site-header { min-height:72px; position:relative; }
  .menu-toggle { display:block; cursor:pointer; }
  .site-nav { display:none; position:absolute; z-index:2; top:72px; right:0; left:0; flex-direction:column; gap:0; padding:.5rem 0; background:var(--paper); border-bottom:1px solid var(--line); }
  .site-nav.is-open { display:flex; }
  .site-nav a { padding:.7rem 0; }
  .hero { min-height:auto; grid-template-columns:1fr; gap:3rem; padding:5rem 0 6rem; }
  h1 { font-size:clamp(3rem,16vw,5rem); }
  .hero-aside img { max-width:170px; }
  .section { padding:5rem 0; }
  .section-heading,.about-grid { grid-template-columns:1fr; gap:1rem; margin-bottom:2.5rem; }
  .work-grid { grid-template-columns:1fr; }
  .work-card { min-height:auto; }
  .card-number { margin-bottom:2.5rem; }
  .timeline-item { grid-template-columns:1fr; gap:.7rem; }
  .education { grid-template-columns:1fr; }
  .education h3 { grid-column:auto; }
  .site-footer { flex-direction:column; gap:.5rem; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
