:root {
  --ink: #151515;
  --paper: #f7f7f5;
  --paper-deep: #eaeae7;
  --signal: #ac0000;
  --muted: #6d6a64;
  --line: rgba(21, 21, 21, 0.18);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 247, 245, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 164px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-size: .92rem; }
.nav-links a[aria-current="page"] { border-bottom: 2px solid var(--signal); }
.nav-cta { padding: 10px 16px; border: 1px solid var(--ink); }

.hero { min-height: 590px; display: grid; align-content: center; padding: 68px 0 62px; }
.eyebrow { margin: 0 0 22px; color: var(--signal); font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 980px; margin-bottom: 32px; font-size: clamp(3.5rem, 8vw, 7.8rem); line-height: .91; letter-spacing: -.07em; font-weight: 800; }
.hero-lede { max-width: 760px; margin-bottom: 40px; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.5; }
.hero-clients { max-width: 760px; margin: -16px 0 38px; color: var(--muted); font-size: 1.05rem; }
.button { display: inline-flex; align-items: center; gap: 16px; padding: 15px 20px; background: var(--ink); color: white; text-decoration: none; font-weight: 700; }
.button::after { content: "→"; color: var(--signal); font-size: 1.2em; }

.proof { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.proof-item { min-height: 170px; padding: 28px 20px 30px 0; border-right: 1px solid var(--line); }
.proof-item + .proof-item { padding-left: 24px; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; margin-bottom: 18px; font-size: clamp(1.5rem, 2.3vw, 2.5rem); line-height: 1.05; letter-spacing: -.045em; }
.proof-item span { display: block; max-width: 215px; color: var(--muted); font-size: .91rem; line-height: 1.4; }
.statement { background: var(--ink); color: white; padding: 80px 0; }
.statement-grid { display: grid; grid-template-columns: .8fr 2fr; gap: 80px; }
.statement h2 { max-width: 790px; margin: 0; font-size: clamp(2rem, 4.4vw, 4.4rem); line-height: 1.05; letter-spacing: -.045em; }
.section { padding: 110px 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .8fr 2fr; gap: 80px; margin-bottom: 58px; }
.section-index { color: var(--signal); font-weight: 800; font-size: .82rem; letter-spacing: .12em; }
.section h2 { max-width: 790px; font-size: clamp(2.2rem, 4.5vw, 4.6rem); line-height: 1.02; letter-spacing: -.05em; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.service { min-height: 310px; padding: 36px 40px 36px 0; border-bottom: 1px solid var(--line); }
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: 40px; }
.service-number { display: block; margin-bottom: 64px; color: var(--signal); font-weight: 800; }
.service h3 { margin-bottom: 16px; font-size: 1.65rem; letter-spacing: -.02em; }
.service p { max-width: 430px; color: var(--muted); }
.engagement-note { max-width: 830px; margin: 38px 0 0; font-size: 1.1rem; }

.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.situation { min-height: 255px; padding: 34px; background: var(--paper); }
.situation h3 { margin-bottom: 38px; font-size: 1.35rem; }
.situation p { color: var(--muted); }
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.approach strong { display: block; margin-bottom: 10px; font-size: 1.1rem; }
.approach p { color: var(--muted); }

.contact { padding: 100px 0; background: var(--signal); color: white; }
.contact-grid { display: grid; grid-template-columns: 1.55fr .75fr; gap: 70px; align-items: end; }
.contact h2 { margin-bottom: 0; font-size: clamp(2.7rem, 6vw, 6.4rem); line-height: .94; letter-spacing: -.06em; }
.contact h2 + p { max-width: 550px; margin: 24px 0 0; font-size: 1.15rem; }
.contact a { font-weight: 800; text-underline-offset: 5px; }
.contact .button { background: white; color: var(--ink); text-decoration: none; }
.contact p { margin-bottom: 10px; }
.site-footer { padding: 28px 0; background: var(--ink); color: white; }
.footer-row { display: flex; justify-content: space-between; gap: 30px; color: #bbb; font-size: .86rem; }

/* Bio */
.bio-hero { padding: 110px 0 90px; }
.bio-hero h1 { max-width: 920px; font-size: clamp(3.6rem, 7.8vw, 7.4rem); }
.bio-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 80px; align-items: start; margin-top: 60px; }
.bio-intro .lead { font-size: 1.4rem; color: var(--ink); }
.bio-intro p { color: var(--muted); }
.bio-copy { max-width: 650px; }
.bio-portrait { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.bio-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.metric { min-height: 170px; padding: 28px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; margin-bottom: 18px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.metric span { color: var(--muted); }
.timeline { border-top: 1px solid var(--line); }
.chapter { display: grid; grid-template-columns: .75fr 1.7fr; gap: 70px; padding: 54px 0; border-bottom: 1px solid var(--line); }
.chapter-meta { color: var(--signal); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.chapter h3 { margin-bottom: 14px; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.1; letter-spacing: -.035em; }
.chapter p { max-width: 690px; color: var(--muted); }
.chapter p:last-child { margin-bottom: 0; }
.reality { padding: 80px 0; background: var(--paper-deep); }
.reality blockquote { max-width: 980px; margin: 0; font-size: clamp(2rem, 4.2vw, 4.2rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 800; }
.reality blockquote span { color: var(--signal); }

@media (max-width: 800px) {
  .shell { width: min(calc(100% - 30px), var(--max)); }
  .nav { min-height: 68px; }
  .brand img { width: 130px; }
  .nav-links { gap: 16px; }
  .nav-cta { display: none; }
  .hero { min-height: auto; padding: 95px 0 75px; }
  h1 { font-size: clamp(3.25rem, 16vw, 5.3rem); }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof-item { min-height: 155px; padding: 22px 12px 22px 0; }
  .proof-item + .proof-item { padding-left: 16px; }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-item:nth-child(3) { padding-left: 0; }
  .statement-grid, .section-head, .contact-grid, .bio-intro, .chapter { grid-template-columns: 1fr; gap: 26px; }
  .section, .bio-hero { padding: 75px 0; }
  .bio-portrait { max-width: 450px; }
  .service-grid, .situations, .approach { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { min-height: auto; padding: 30px 0; border-right: 0; }
  .service-number { margin-bottom: 34px; }
  .situations { gap: 1px; }
  .situation { min-height: auto; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact { padding: 75px 0; }
  .footer-row { flex-direction: column; gap: 6px; }
}

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

/* Revised editorial hierarchy */
a:focus-visible { outline: 3px solid var(--signal); outline-offset: 5px; }
.button:hover { background: #373737; color: white; }
.section-index { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; letter-spacing: -.035em; text-transform: none; }
.statement .section-index { font-size: .85rem; letter-spacing: .12em; }
.section-head { gap: 48px; }
.section-head h2 { margin-bottom: 0; font-size: clamp(2rem, 3.5vw, 3.7rem); }
main > .section:nth-of-type(even) { background: var(--paper-deep); box-shadow: 0 0 0 100vmax var(--paper-deep); clip-path: inset(0 -100vmax); }
.service-number { margin-bottom: 28px; font-size: 1.2rem; }
.service { min-height: 245px; }
.context-note, .research-note { max-width: 790px; margin: 0 0 38px auto; font-size: 1.1rem; }
.research-note { border-top: 1px solid var(--line); margin-top: 32px; margin-bottom: 0; padding-top: 28px; }
.source { display: block; margin-top: 12px; font-size: .8rem; color: var(--muted); text-underline-offset: 4px; }
.work-section { background: #e5e5e2; padding: 96px 0; }
.work-section h2, .education h2 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.05; letter-spacing: -.05em; margin-bottom: 24px; }
.work-lede { font-size: 1.3rem; margin-bottom: 42px; }
.engagement-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.engagement-grid article { border-top: 3px solid var(--signal); padding: 26px 0 0; }
.engagement-grid h3 { font-size: 1.5rem; }
.engagement-grid p { color: #575752; }
.engagement-grid span { display: block; margin-top: 25px; font-size: .84rem; font-weight: 700; }
.education { padding: 85px 0; }
.education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 42px; }
.education-grid > div { border-top: 1px solid var(--line); padding-top: 26px; }
.education-grid h3 { font-size: 1.5rem; }
.education-grid p { color: var(--muted); }
.contact-grid { grid-template-columns: 1.15fr 1fr; gap: 45px; }
.contact .button { font-size: .95rem; }
@media(max-width:800px) {
  .engagement-grid, .education-grid, .contact-grid { grid-template-columns: 1fr; }
  .context-note, .research-note { margin-left: 0; }
  .work-section, .education { padding: 65px 0; }
  .section-head { gap: 24px; }
  .hero .button { font-size: .9rem; padding: 14px; }
  .bio-hero h1 { font-size: clamp(3rem, 13vw, 5rem); }
}

.education { padding: 32px 0; }
.education p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.education strong { color: var(--ink); }

.patent-links { margin-top: 12px; font-size: .75rem; line-height: 1.8; }
.patent-links a { text-underline-offset: 3px; white-space: nowrap; }

.education-band { background: #e8e8e5; border-top: 1px solid var(--line); padding: 46px 0; }
.education-row { display: grid; grid-template-columns: .75fr 1.7fr; gap: 70px; align-items: start; }
.education-qualifications p { margin: 0 0 12px; font-size: 1.1rem; line-height: 1.55; color: var(--ink); }
.education-qualifications p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .education-row { grid-template-columns: 1fr; gap: 22px; } .education-band { padding: 36px 0; } }
