:root {
  --blue: #004aad;
  --green: #00a957;
  --red: #ef1b23;
  --ink: #101114;
  --paper: #ffffff;
  --soft: #f1f3f6;
  --muted: #626873;
  --line: #cfd3da;
  --display: 'Space Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html.dark {
  --ink: #f5f7fb;
  --paper: #0b0d11;
  --soft: #151820;
  --muted: #a9afba;
  --line: #313641;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0 auto 0 0;
  width: 6px;
  z-index: 1000;
  background: linear-gradient(to bottom, var(--blue) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66%);
  border-right: 1px solid rgba(16, 17, 20, .18);
  pointer-events: none;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 12px;
  left: 12px;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.reading-progress {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 6px;
  right: 0;
  height: 3px;
}
.reading-progress span { display: block; width: 0; height: 100%; background: var(--green); }

.profile-header {
  position: sticky;
  z-index: 900;
  top: 0;
  height: 76px;
  padding: 0 clamp(1rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 93%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.identity { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; width: fit-content; }
.identity strong { font-size: clamp(1rem, 1.55vw, 1.35rem); font-weight: 700; letter-spacing: -.045em; text-transform: uppercase; }
.identity strong::after { content: '.'; color: var(--red); }

.desktop-nav { display: flex; align-items: center; gap: 2rem; }
.desktop-nav a { color: var(--muted); font-family: var(--mono); font-size: .73rem; text-decoration: none; text-transform: uppercase; letter-spacing: .07em; }
.desktop-nav a:hover { color: var(--blue); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: .55rem; }
.theme-toggle {
  min-height: 40px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle { width: 40px; display: grid; place-items: center; font-size: 1.1rem; }
.theme-toggle:hover { background: var(--blue); color: white; border-color: var(--blue); }

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 5vw, 5rem) 3rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 10%, color-mix(in srgb, var(--paper) 95%, transparent) 62%, color-mix(in srgb, var(--paper) 70%, transparent)); }
.hero-grid { position: relative; z-index: 2; width: min(1440px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(420px, .8fr); gap: clamp(2.5rem, 4vw, 5rem); align-items: center; }
.hero-main { min-width: 0; max-width: 890px; }
.eyebrow { margin-bottom: 2.4rem; display: flex; gap: 1.1rem; align-items: center; color: var(--blue); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow span + span::before { content: ''; display: inline-block; width: 28px; height: 1px; margin-right: 1.1rem; vertical-align: middle; background: var(--blue); }
.hero h1 { margin: 0; font-size: clamp(3.3rem, 5vw, 6.4rem); line-height: .84; letter-spacing: -.072em; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: clamp(1px, .12vw, 2px) var(--ink); }
.hero-lead { max-width: 720px; margin: 2.4rem 0 0; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { display: inline-flex; min-height: 52px; align-items: center; padding: 0 1.35rem; border: 1px solid var(--ink); font-family: var(--mono); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; text-decoration: none; }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--blue); color: white; border-color: var(--blue); }
.button-secondary { background: var(--paper); }
.button-secondary:hover { box-shadow: inset 0 -4px var(--red); }
.portrait-panel { position: relative; width: min(530px, 100%); justify-self: end; padding: 0 0 1.25rem 1.25rem; }
.portrait-offset { position: absolute; z-index: -1; inset: 2rem 1.4rem 0 0; background: var(--blue); }
.portrait-offset::after { content: ''; position: absolute; right: -10px; top: 0; width: 6px; height: 100%; background: linear-gradient(to bottom, var(--blue) 0 33.33%, white 33.33% 66.66%, var(--red) 66.66%); }
.portrait-frame { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5.35; background: #07090d; box-shadow: 0 22px 70px rgba(3, 11, 28, .25); }
.portrait-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 8, 17, .78), transparent 32%), linear-gradient(120deg, rgba(0, 74, 173, .08), transparent 40%); pointer-events: none; }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: saturate(.88) contrast(1.04); }
.portrait-frame figcaption { position: absolute; z-index: 2; left: 1.35rem; right: 1.35rem; bottom: 1.2rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; color: white; }
.portrait-frame figcaption span { font-size: 1.05rem; font-weight: 600; }
.portrait-frame figcaption strong { font-family: var(--mono); font-size: .66rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.portrait-meta { display: flex; justify-content: space-between; gap: 1rem; width: calc(100% - 2.75rem); margin-left: 1.35rem; padding: .8rem 0 .7rem; color: white; font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .07em; }
.portrait-link { display: flex; align-items: center; justify-content: space-between; width: calc(100% - 2.75rem); margin-left: 1.35rem; padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .68); color: white; font-family: var(--mono); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.portrait-link:hover { color: white; border-color: white; }
.hero-folio { position: absolute; z-index: 1; right: -.04em; bottom: -.33em; color: var(--soft); font-family: var(--mono); font-size: clamp(11rem, 27vw, 30rem); font-weight: 600; letter-spacing: -.12em; line-height: 1; }

.section-shell { width: min(1380px, calc(100% - clamp(2.5rem, 10vw, 10rem))); margin: 0 auto; display: grid; grid-template-columns: 170px 1fr; gap: clamp(2rem, 5vw, 6rem); padding-block: clamp(5rem, 9vw, 9rem); }
.section-index { display: flex; gap: .9rem; align-items: baseline; align-self: start; position: sticky; top: 110px; }
.section-index span { color: var(--blue); font-family: var(--mono); font-size: .72rem; font-weight: 600; }
.section-index p { margin: 0; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.section-index.light { color: white; }.section-index.light span { color: #54a1ff; }
.manifesto { border-bottom: 1px solid var(--line); }
.manifesto-copy { max-width: 980px; }
.statement { margin: 0; font-size: clamp(2rem, 4.1vw, 4.5rem); line-height: 1.08; letter-spacing: -.045em; }
.statement strong { color: var(--blue); font-weight: 600; }
.copy-columns { margin-top: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.copy-columns p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.document-section {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 72% 30%, rgba(39, 124, 238, .45), transparent 34%),
    linear-gradient(135deg, #06152d 0%, #002b67 52%, #004aad 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .32);
}
.document-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.document-stage {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - clamp(2.5rem, 8vw, 8rem)));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  display: grid;
  grid-template-columns: 150px minmax(300px, .72fr) minmax(460px, 1.15fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  align-items: center;
}
.document-index { align-self: start; top: 110px; }
.document-cover { display: block; color: white; text-decoration: none; perspective: 1200px; }
.document-cover figure { position: relative; margin: 0; padding: clamp(.7rem, 1vw, 1rem); background: #f7f8fa; box-shadow: 0 35px 90px rgba(0, 0, 0, .42); transform: rotate(-1.5deg); transition: transform .35s ease, box-shadow .35s ease; }
.document-cover img { display: block; width: 100%; height: auto; background: white; }
.document-cover figcaption { position: absolute; left: 0; right: 0; bottom: 0; min-height: 58px; padding: 0 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: white; background: rgba(5, 12, 25, .93); font-family: var(--mono); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; transform: translateY(100%); transition: transform .3s ease; }
.document-cover figcaption strong { color: #76b3ff; font-weight: 600; }
.document-cover:hover figure { transform: rotate(0) translateY(-8px); box-shadow: 0 45px 110px rgba(0, 0, 0, .55); }
.document-cover:hover figcaption, .document-cover:focus-visible figcaption { transform: translateY(0); }
.document-copy { position: relative; max-width: 780px; }
.document-kicker { margin: 0 0 1.4rem; color: #8fc2ff; font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.document-copy h2 { margin: 0; max-width: 760px; font-size: clamp(3.2rem, 5.8vw, 6.7rem); line-height: .88; letter-spacing: -.067em; }
.document-lead { max-width: 700px; margin: 2rem 0 0; color: rgba(255, 255, 255, .78); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55; }
.document-metrics { margin: clamp(2.2rem, 4vw, 3.5rem) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.52); border-bottom: 1px solid rgba(255,255,255,.52); }
.document-metrics div { min-width: 0; padding: 1.25rem 1.2rem 1.25rem 0; }
.document-metrics div + div { padding-left: 1.2rem; border-left: 1px solid rgba(255,255,255,.3); }
.document-metrics dt { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2.4rem); font-weight: 700; letter-spacing: -.045em; }
.document-metrics dd { margin: .2rem 0 0; color: rgba(255,255,255,.62); font-family: var(--mono); font-size: .63rem; line-height: 1.45; text-transform: uppercase; }
.document-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.document-button { min-height: 56px; padding: 0 1.4rem; display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; color: #07152c; background: white; border: 1px solid white; font-family: var(--mono); font-size: .71rem; font-weight: 700; letter-spacing: .065em; text-decoration: none; text-transform: uppercase; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.document-button span { font-size: 1.15rem; transition: transform .2s ease; }
.document-button:hover { color: white; background: var(--red); border-color: var(--red); }
.document-button:hover span { transform: translate(4px, -4px); }
.document-download { color: white; font-family: var(--mono); font-size: .67rem; letter-spacing: .06em; text-decoration-line: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: .35rem; text-transform: uppercase; }
.document-download:hover { text-decoration-color: white; }
.document-disclaimer { max-width: 650px; margin: 1.6rem 0 0; color: rgba(255,255,255,.46); font-family: var(--mono); font-size: .62rem; line-height: 1.55; }
.document-watermark { position: absolute; z-index: 1; right: -.04em; bottom: -.28em; color: rgba(255,255,255,.05); font-family: var(--mono); font-size: clamp(14rem, 30vw, 34rem); font-weight: 600; letter-spacing: -.12em; line-height: 1; pointer-events: none; }

.section-content { min-width: 0; }
.section-heading-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .65fr); gap: 3rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.section-heading-row h2 { margin: 0; max-width: 820px; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.055em; }
.section-heading-row > p { margin: 0; color: var(--muted); }
.section-heading-row.light { color: white; }.section-heading-row.light > p { color: rgba(255,255,255,.65); }

.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: minmax(180px, .55fr) 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.timeline-date { color: var(--blue); font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; }
.timeline h3 { margin: 0 0 .5rem; font-size: 1.25rem; }.timeline p { margin: 0; color: var(--muted); max-width: 700px; }

.proposals-section { border-bottom: 1px solid var(--line); }
.proposal-list { border-top: 2px solid var(--ink); }
.proposal-list details { border-bottom: 1px solid var(--line); }
.proposal-list summary { min-height: 80px; display: grid; grid-template-columns: 48px 1fr 22px; gap: 1rem; align-items: center; cursor: pointer; list-style: none; }
.proposal-list summary::-webkit-details-marker { display: none; }
.proposal-list summary > span { color: var(--blue); font-family: var(--mono); font-size: .72rem; }.proposal-list summary strong { font-size: clamp(1rem, 2vw, 1.25rem); }.proposal-list summary i { justify-self: end; font-size: 1.4rem; font-style: normal; font-weight: 300; transition: transform .2s; }
.proposal-list details[open] summary i { transform: rotate(45deg); }.proposal-list summary:hover strong { color: var(--blue); }
.proposal-body { padding: 0 38px 2rem 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.proposal-body p { margin: 0; max-width: 750px; color: var(--muted); }.proposal-body a { color: var(--blue); font-family: var(--mono); font-size: .7rem; text-transform: uppercase; text-decoration: none; }

.method-section { border-bottom: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.method-step { min-height: 250px; padding: 1.4rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; }.method-step:last-child { border: 0; }
.method-step > span { color: var(--blue); font-family: var(--mono); font-size: .7rem; }.method-step h3 { margin: auto 0 .8rem; font-size: 1.15rem; }.method-step p { min-height: 3em; margin: 0; color: var(--muted); font-size: .9rem; }
.sources-note { margin-top: 2rem; padding: 1.7rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; background: var(--soft); border-left: 5px solid var(--green); }
.sources-note p { margin: 0; color: var(--muted); }.micro-label { margin: 0 0 .65rem !important; color: var(--blue) !important; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }

.principles-section { border-bottom: 1px solid var(--ink); }
.principles-list { margin: 0; padding: 0; list-style: none; counter-reset: item; border-top: 1px solid var(--ink); }
.principles-list li { display: grid; grid-template-columns: 52px 1fr; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.principles-list span { color: var(--blue); font-family: var(--mono); font-size: .7rem; }.principles-list p { margin: 0; font-size: clamp(1.2rem, 2.4vw, 2rem); letter-spacing: -.025em; }

.evidence-section { border-bottom: 1px solid var(--ink); }
.tricolor-word { display: inline-block; color: transparent; background: linear-gradient(90deg, #004aad 0 33.333%, #fff 33.333% 66.666%, #ef1b23 66.666% 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-stroke: 1px rgba(16, 17, 20, .3); }
.evidence-grid { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(320px, 1fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.evidence-document { position: relative; display: block; padding: clamp(1rem, 2vw, 1.5rem); overflow: hidden; background: #0a0d14; box-shadow: 0 24px 65px rgba(3, 11, 28, .18); text-decoration: none; }
.evidence-document img { display: block; width: 100%; height: auto; background: white; transition: transform .35s ease; }
.evidence-document span { position: absolute; right: 1.5rem; bottom: 1.5rem; padding: .55rem .75rem; background: var(--blue); color: white; font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; }
.evidence-document:hover img { transform: scale(1.012); }
.evidence-copy h3 { margin: .6rem 0 1.5rem; max-width: 700px; font-size: clamp(2rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -.05em; }
.evidence-copy > p:not(.micro-label) { margin: 0; max-width: 680px; color: var(--muted); font-size: 1.05rem; }
.evidence-copy blockquote { margin: clamp(2rem, 4vw, 3.5rem) 0; padding: 1.5rem 0 1.5rem 1.5rem; max-width: 680px; border-left: 5px solid var(--blue); font-size: clamp(1.25rem, 2.4vw, 2rem); line-height: 1.25; letter-spacing: -.025em; }
.evidence-link { display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--blue); color: white; font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.evidence-link span { font-size: 1.1rem; transition: transform .2s; }
.evidence-link:hover { color: white; background: var(--red); }
.evidence-link:hover span { transform: translate(3px, -3px); }
.evidence-copy small { display: block; margin-top: 1.2rem; max-width: 620px; color: var(--muted); font-family: var(--mono); font-size: .64rem; }

.contact-section { position: relative; padding: 0; background: var(--blue); color: white; overflow: hidden; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); min-height: 760px; }
.contact-shell { position: relative; z-index: 2; width: 100%; min-height: 760px; margin: 0; padding: clamp(4rem, 6vw, 6rem) clamp(3rem, 7vw, 7rem) 8.5rem; align-self: stretch; }
.contact-section .micro-label { color: white !important; opacity: .75; }.contact-section h2 { margin: .5rem 0 clamp(5rem, 7vw, 7rem); max-width: 900px; font-size: clamp(3.4rem, 8vw, 8rem); line-height: .88; letter-spacing: -.065em; }
.contact-copy { width: min(100%, 850px); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; text-align: center; }.contact-copy p { margin: 0; color: rgba(255,255,255,.78); }
.contact-links { margin-top: 4rem; border-top: 1px solid white; }
.contact-link { padding: 1.25rem 0; display: grid; grid-template-columns: 1fr auto 28px; gap: 1.5rem; align-items: center; border-bottom: 1px solid white; color: white; text-decoration: none; }.contact-link span { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }.contact-link strong { font-size: clamp(1rem, 2.5vw, 1.5rem); }.contact-link b { font-size: 1.4rem; transition: transform .2s; }.contact-link:hover b { transform: translate(4px, -4px); }
.contact-wordmark { position: absolute; left: clamp(3rem, 7vw, 7rem); bottom: 4.2rem; font-size: clamp(2rem, 4vw, 4.5rem); font-weight: 700; letter-spacing: -.055em; line-height: 1; text-transform: uppercase; }
.contact-wordmark::after { content: '.'; color: var(--red); }
.contact-integrated-footer { position: absolute; left: clamp(3rem, 7vw, 7rem); bottom: 1.7rem; }
.contact-portrait { position: relative; min-width: 0; overflow: hidden; background: #05080e; }
.contact-portrait::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(0, 74, 173, .2), transparent 35%), linear-gradient(to top, rgba(3, 7, 15, .25), transparent 45%); pointer-events: none; }
.contact-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: saturate(.9) contrast(1.03); }

.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }.footer-links a { color: white; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; text-decoration: none; }.footer-links a:hover { color: white; text-decoration: underline; text-underline-offset: .3rem; }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .profile-header { grid-template-columns: 1fr auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .portrait-panel { justify-self: start; width: min(520px, 100%); }
  .section-shell { grid-template-columns: 110px 1fr; }
  .document-stage { grid-template-columns: 110px minmax(280px, .7fr) minmax(380px, 1fr); gap: 2rem; }
  .document-copy h2 { font-size: clamp(3rem, 5.5vw, 5rem); }
  .section-heading-row { grid-template-columns: 1fr; gap: 1.4rem; }
  .method-grid { grid-template-columns: 1fr 1fr; }.method-step:nth-child(2) { border-right: 0; }.method-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .evidence-grid { gap: 3rem; }
}

@media (max-width: 900px) {
  .document-stage { grid-template-columns: 90px minmax(260px, .75fr) minmax(320px, 1fr); width: min(100% - 3rem, 900px); }
  .document-metrics { grid-template-columns: 1fr; }
  .document-metrics div { padding: .8rem 0; }
  .document-metrics div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.24); }
  .contact-layout { grid-template-columns: 1fr; min-height: 0; }
  .contact-shell { min-height: 0; }
  .contact-wordmark, .contact-integrated-footer { position: static; }
  .contact-wordmark { margin-top: 2.5rem; }
  .contact-integrated-footer { margin-top: 1rem; }
  .contact-portrait { height: min(90vw, 620px); }
}

@media (max-width: 720px) {
  body::before { width: 4px; }.reading-progress { left: 4px; }
  .profile-header { height: 66px; padding-inline: 1rem; }.identity strong { font-size: .95rem; }.theme-toggle { width: 38px; min-height: 38px; }
  .hero {
    min-height: calc(100svh - 66px);
    padding: 4.5rem 1.25rem 2.5rem;
    align-items: flex-end;
    color: white;
    background-color: #05080e;
    background-image: url('/images/portraits/moi.png');
    background-size: cover;
    background-position: center 18%;
  }
  .hero::before {
    background:
      linear-gradient(to bottom, rgba(3, 7, 15, .18) 0%, rgba(3, 7, 15, .42) 42%, rgba(3, 7, 15, .94) 100%),
      linear-gradient(90deg, rgba(0, 44, 104, .5), transparent 72%);
  }
  .hero-grid { display: block; }
  .hero-main { max-width: 100%; }
  .hero h1 { max-width: 350px; font-size: clamp(2.45rem, 12.8vw, 5rem); text-shadow: 0 3px 28px rgba(0, 0, 0, .48); }
  .hero h1 .outline { color: transparent; -webkit-text-stroke-color: white; }
  .hero-lead { max-width: 35rem; color: rgba(255, 255, 255, .9); font-size: 1rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
  .eyebrow { flex-wrap: wrap; margin-bottom: 1.6rem; color: #8fc2ff; text-shadow: 0 1px 12px rgba(0, 0, 0, .75); }
  .eyebrow span + span::before { background: #8fc2ff; }
  .hero .button-primary { background: white; color: #0a0d14; border-color: white; }
  .hero .button-primary:hover { background: var(--blue); color: white; border-color: var(--blue); }
  .hero .button-secondary { background: rgba(5, 8, 14, .35); color: white; border-color: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); }
  .hero .button-secondary:hover { border-color: white; box-shadow: inset 0 -4px var(--red); }
  .portrait-panel, .hero-folio { display: none; }
  .section-shell { width: min(100% - 2.5rem, 1380px); grid-template-columns: 1fr; gap: 2rem; padding-block: 4.5rem; }.section-index { position: static; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .document-section { min-height: 0; }
  .document-stage { width: min(100% - 2.5rem, 520px); min-height: 0; padding: 3.5rem 0 4rem; grid-template-columns: 1fr; gap: 2.5rem; }
  .document-index { border-color: rgba(255,255,255,.32); }
  .document-cover { width: min(82vw, 330px); margin: 0 auto; }
  .document-cover figure { transform: rotate(-1deg); }
  .document-cover figcaption { position: static; transform: none; margin-top: .7rem; }
  .document-copy h2 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .document-lead { color: rgba(255,255,255,.82); }
  .document-metrics { grid-template-columns: repeat(3, 1fr); }
  .document-metrics div { padding: 1rem .7rem 1rem 0; }
  .document-metrics div + div { padding-left: .7rem; border-top: 0; border-left: 1px solid rgba(255,255,255,.24); }
  .document-metrics dt { font-size: clamp(1.25rem, 6vw, 1.75rem); }
  .document-metrics dd { font-size: .54rem; }
  .document-actions { align-items: stretch; }
  .document-button { width: 100%; }
  .document-download { width: 100%; padding-top: .4rem; }
  .statement { font-size: 2rem; }.copy-columns { grid-template-columns: 1fr; margin-top: 2.5rem; gap: 1.5rem; }
  .section-heading-row { margin-bottom: 2.5rem; }.section-heading-row h2 { font-size: 2.65rem; }
  .timeline li { grid-template-columns: 1fr; gap: .7rem; }
  .proposal-list summary { grid-template-columns: 34px 1fr 20px; min-height: 74px; }.proposal-list summary em { display: none; }.proposal-body { padding: 0 0 1.5rem 50px; grid-template-columns: 1fr; gap: 1rem; }
  .method-grid { grid-template-columns: 1fr; }.method-step, .method-step:nth-child(2) { min-height: 180px; border-right: 0; border-bottom: 1px solid var(--line); }.sources-note { grid-template-columns: 1fr; gap: 1.5rem; }
  .evidence-grid { grid-template-columns: 1fr; }.evidence-document { width: min(100%, 520px); }.evidence-copy h3 { font-size: 2.65rem; }
  .contact-layout { grid-template-columns: 1fr; min-height: 0; }.contact-shell { min-height: 0; padding: 3.5rem 1.25rem 2rem; }.contact-section h2 { font-size: clamp(3.2rem, 16vw, 5rem); }.contact-copy { grid-template-columns: 1fr; gap: 1.2rem; }.contact-link { grid-template-columns: 1fr 22px; }.contact-link strong { grid-column: 1 / -1; grid-row: 2; }.contact-link b { grid-column: 2; grid-row: 1; }.contact-wordmark { position: static; margin-top: 2.5rem; font-size: clamp(2rem, 11vw, 3.2rem); }.contact-integrated-footer { position: static; margin-top: 1rem; }.contact-portrait { height: min(120vw, 560px); }
}

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

@media print {
  body::before, .profile-header, .reading-progress, .hero-cta, .theme-toggle { display: none !important; }
  .hero { min-height: auto; padding: 2cm 0; }.section-shell { width: 100%; padding-block: 1.2cm; }.contact-section { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  details .proposal-body { display: grid !important; }
}
