:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --ink: #192c41;
  --muted: #526071;
  --accent: #a63d17;
  --line: #d5d4cd;
  --portrait: #e9e4d9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
main:focus { outline: none; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; color: var(--paper); }
.site-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.2rem; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.wordmark span { color: var(--accent); }
nav { display: flex; gap: 30px; }
nav a { padding-block: 8px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: center; padding-block: 90px 96px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.accent-rule { width: 28px; height: 2px; background: var(--accent); flex-shrink: 0; }
h1, h2, h3, p { margin-top: 0; overflow-wrap: anywhere; }
nav { flex-wrap: wrap; }
.portrait-caption { overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.8rem, 4.5vw, 4.25rem); line-height: 1.09; letter-spacing: -.05em; margin-bottom: 26px; }
h1 em { color: var(--accent); font-weight: 400; }
.hero-intro { max-width: 540px; font-size: 1.08rem; color: var(--muted); margin-bottom: 30px; }
.button { display: inline-flex; align-items: center; gap: 32px; padding: 12px 22px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: .88rem; text-decoration: none; }
.button:hover { background: var(--accent); color: var(--paper); }
.portrait { margin: 0; background: var(--portrait); position: relative; border: 1px solid #d8d1c4; }
.initials { height: 268px; display: flex; align-items: center; justify-content: center; position: relative; font: 6.4rem/1 var(--serif); letter-spacing: -.07em; }
.portrait-line { position: absolute; bottom: 23px; left: 26px; width: 36px; height: 3px; background: var(--accent); }
.portrait-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait-caption { border-top: 1px solid #d8d1c4; padding: 18px 24px; margin: 0; font-size: .88rem; font-weight: 600; }
.portrait-caption span { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; font-weight: 400; }
.work { border-top: 1px solid var(--line); padding-top: 46px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.section-heading .eyebrow, .about .eyebrow { color: var(--accent); margin-bottom: 12px; }
h2 { font-size: clamp(2rem, 3vw, 2.75rem); letter-spacing: -.04em; line-height: 1.15; margin-bottom: 0; }
.section-heading > p { max-width: 360px; color: var(--muted); font-size: .9rem; margin-bottom: 3px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.project { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-block: 28px 32px; min-width: 0; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 19px; }
.project-number { color: var(--muted); font-size: .66rem; letter-spacing: .09em; font-weight: 600; }
.status { background: #ece7dd; color: var(--ink); font-size: .68rem; line-height: 1.5; padding: 4px 9px; border-radius: 3px; }
h3 { font-size: 1.95rem; line-height: 1.2; letter-spacing: -.035em; margin-bottom: 15px; }
.project > p { color: var(--muted); font-size: .94rem; margin-bottom: 18px; }
.project .stack { font-size: .74rem; font-weight: 600; color: var(--ink); }
.project .project-note { font-size: .79rem; line-height: 1.6; margin-bottom: 20px; }
.project-links { display: flex; gap: 10px 24px; flex-wrap: wrap; margin-top: auto; }
.project-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font-size: .83rem; font-weight: 600; }
.private-label { font-size: .79rem; color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; }
.evidence-note { color: var(--muted); font-size: .75rem; max-width: 800px; border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 0; }
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding-block: 70px 78px; margin-top: 70px; border-top: 1px solid var(--line); }
.about-copy > p { color: var(--muted); margin-bottom: 20px; font-size: .96rem; }
.about-copy .about-lead { font-family: var(--serif); color: var(--ink); font-size: 1.45rem; line-height: 1.45; letter-spacing: -.02em; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-block: 8px; font-size: .87rem; font-weight: 600; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 26px; color: var(--muted); font-size: .77rem; }
.site-footer p { margin: 0; }
.site-footer p span { padding-inline: 10px; color: var(--accent); }
.site-footer a { white-space: nowrap; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 36px; grid-template-columns: minmax(0, 1fr) 220px; padding-block: 64px; }
  .initials { height: 230px; font-size: 5.6rem; }
  .project-grid { column-gap: 32px; }
  .about { gap: 40px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { gap: 12px; padding-block: 18px; }
  .wordmark { font-size: 1rem; }
  nav { gap: 16px; }
  nav a { font-size: .78rem; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 48px; }
  h1 { font-size: clamp(2.5rem, 9.1vw, 3.65rem); }
  .hero-intro { font-size: 1rem; }
  .portrait { width: 100%; display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
  .initials { height: 120px; font-size: 3.6rem; }
  .portrait-line { bottom: 17px; left: 23px; width: 20px; height: 2px; }
  .portrait-caption { padding: 18px; border-top: 0; border-left: 1px solid #d8d1c4; }
  .work { padding-top: 34px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 18px; }
  .project-grid { grid-template-columns: 1fr; }
  .project { padding-block: 26px 30px; }
  .about { grid-template-columns: 1fr; gap: 26px; margin-top: 44px; padding-block: 42px; }
  .about h2 br { display: none; }
  .site-footer { flex-wrap: wrap; padding-block: 22px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  nav { gap: 12px; }
  .wordmark { font-size: .9rem; }
  .eyebrow { font-size: .66rem; letter-spacing: .08em; }
}
@media print {
  body { background: white; }
  .wrap { width: 100%; }
  nav, .button, .skip-link, .site-footer a { display: none; }
  .hero { padding-block: 30px; }
  .project { break-inside: avoid; }
  .about { margin-top: 30px; padding-block: 30px; }
}
