@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-variable.woff2") format("woff2-variations"),
       url("/fonts/inter-variable.woff2") format("woff2");
}

:root {
  --ink: #0a0a0a;
  --paper: #fbfaf7;
  --white: #ffffff;
  --mist: #f1eee7;
  --line: #151515;
  --hair: rgba(10, 10, 10, 0.16);
  --soft: #67635c;
  --quiet: #777169;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.58;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.026) 1px, transparent 1px) 0 0 / 8.333vw 100%, var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 16px; font: 700 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.skip-link:focus { left: 16px; top: 16px; }
.site-shell { width: min(1480px, calc(100% - 40px)); margin: 0 auto; }
.folio { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hair); color: var(--quiet); font: 500 10px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .16em; }
.topbar { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; width: calc(100% + 40px); margin-left: -20px; padding: 16px 20px; background: rgba(251,250,247,.97); backdrop-filter: blur(12px); }
.topbar::after { content: ""; position: absolute; right: 20px; bottom: 0; left: 20px; height: 1px; background: var(--line); }
.mark, .nav-links, .nav-meta, .eyebrow, .tiny-label, .status, .case-kind, .crumbs, .proof-key, .issue-label, .screen-label, .tag, .date-line { font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: clamp(10px,.72vw,11.5px); }
.mark { justify-self: start; font-weight: 750; }
.nav-links { justify-self: center; display: flex; gap: 22px; color: var(--soft); }
.nav-links a { display: inline-flex; align-items: center; min-height: 32px; padding-bottom: 2px; background: linear-gradient(var(--ink),var(--ink)) left bottom / 0 1px no-repeat; transition: background-size .2s ease, color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--ink); background-size: 100% 1px; }
.nav-meta { justify-self: end; color: var(--soft); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--quiet); padding: 24px 0 0; }
.crumbs a { border-bottom: 1px solid var(--hair); }
.crumbs span[aria-current="page"] { color: var(--ink); }
.hero { display: grid; grid-template-columns: minmax(0,.72fr) minmax(260px,.28fr); gap: clamp(38px,6vw,96px); align-items: end; padding: clamp(60px,8vw,118px) 0 clamp(44px,5vw,72px); border-bottom: 1px solid var(--line); }
.hero-main { display: grid; gap: 28px; max-width: 960px; }
.eyebrow { width: fit-content; padding-bottom: 11px; border-bottom: 1px solid var(--line); font-weight: 720; }
h1 { margin: 0; max-width: 1050px; font-size: clamp(46px,6.2vw,96px); line-height: .94; font-weight: 820; letter-spacing: -.045em; }
h1 .soft { color: var(--quiet); }
.answer-block { display: grid; gap: 10px; max-width: 820px; }
.answer-question { margin: 0; max-width: 780px; font: 720 clamp(15px,1.1vw,18px)/1.35 var(--sans); letter-spacing: -.01em; }
.answer { margin: 0; max-width: 820px; color: var(--soft); font-size: clamp(17px,1.35vw,20px); line-height: 1.53; }
.answer strong { color: var(--ink); font-weight: 660; }
.hero-side { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 18px; }
.hero-side p { margin: 0; color: var(--soft); font-size: 15.5px; line-height: 1.45; }
.status { width: fit-content; padding: 8px 10px; border: 1px solid var(--line); background: var(--white); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 18px; border: 1px solid var(--line); background: var(--ink); color: var(--paper); font: 700 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .12em; transition: background .16s ease, color .16s ease; }
.button.secondary { background: transparent; color: var(--ink); }
.button:hover, .button:focus-visible { background: var(--white); color: var(--ink); }
.proof-strip { display: grid; grid-template-columns: repeat(5,1fr); border-bottom: 1px solid var(--line); background: var(--white); }
.proof-item { min-height: 138px; padding: 20px; border-right: 1px solid var(--hair); display: grid; align-content: space-between; gap: 20px; }
.proof-item:last-child { border-right: 0; }
.proof-key { color: var(--quiet); }
.proof-value { font-size: clamp(15px,1.3vw,20px); line-height: 1.24; font-weight: 660; letter-spacing: -.01em; }
.public-proof { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--mist); }
.public-proof a { border-bottom: 1px solid currentColor; font-weight: 740; }
section { padding: clamp(64px,8.5vw,128px) 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(150px,.25fr) minmax(0,.75fr); gap: clamp(24px,5vw,80px); margin-bottom: clamp(34px,5vw,72px); }
.section-head .tiny-label { color: var(--quiet); font-weight: 680; }
.section-head h2 { margin: 0 0 20px; max-width: 960px; font-size: clamp(38px,4.8vw,74px); line-height: .98; font-weight: 790; letter-spacing: -.035em; }
.section-head p { margin: 0; max-width: 760px; color: var(--soft); font-size: clamp(17px,1.45vw,21px); line-height: 1.5; }
.lead-grid { display: grid; grid-template-columns: minmax(0,.63fr) minmax(280px,.37fr); gap: clamp(32px,6vw,92px); align-items: start; }
.prose { max-width: 820px; }
.prose p { margin: 0 0 1.15em; font-size: clamp(17px,1.45vw,21px); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 680; }
.fact-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); background: var(--white); }
.fact-table th, .fact-table td { padding: 14px 12px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.fact-table th { width: 34%; color: var(--quiet); font: 650 10px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.fact-table td { font-size: 15px; line-height: 1.45; }
.outcome-grid, .case-grid, .cap-grid, .system-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); background: var(--white); }
.outcome-card, .cap-card, .system-card { min-height: 210px; padding: 24px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.outcome-card:nth-child(3n), .cap-card:nth-child(3n), .system-card:nth-child(3n) { border-right: 0; }
.outcome-card:nth-last-child(-n+3), .cap-card:nth-last-child(-n+3), .system-card:nth-last-child(-n+3) { border-bottom: 0; }
.outcome-card h3, .cap-card h3, .system-card h3 { margin: 36px 0 10px; font-size: clamp(21px,1.8vw,30px); line-height: 1.04; letter-spacing: -.025em; }
.outcome-card p, .cap-card p, .system-card p { margin: 0; color: var(--soft); font-size: 15.5px; }
.visual-stack { display: grid; gap: 30px; }
.visual-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.feature-evidence-map { display: grid; border-top: 1px solid var(--line); }
.feature-evidence-row { display: grid; grid-template-columns: 64px minmax(0,1fr) minmax(0,1fr); gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--hair); align-items: start; }
.feature-evidence-number { color: var(--quiet); font: 300 30px/1 var(--sans); letter-spacing: -.04em; }
.feature-evidence-row h3 { margin: 10px 0 8px; font-size: clamp(20px,1.7vw,27px); line-height: 1.08; letter-spacing: -.025em; }
.feature-evidence-row p { margin: 0; color: var(--soft); font-size: 15.5px; }
.screen { margin: 0; min-width: 0; }
.screen.featured { grid-column: 1 / -1; }
.screen-frame { position: relative; border: 0; border-radius: 9px; background: transparent; overflow: hidden; }
.screen-frame picture { display: block; width: 100%; }
.screen.current-capture img { aspect-ratio: auto; height: auto; object-fit: contain; }
.capture-open { display: inline-block; margin: 12px 0 0; text-underline-offset: 4px; }
.agent-boundary { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.depth-navigation { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 16px 0 28px; }
.depth-navigation a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 5px; }
.depth-module { display: grid; grid-template-columns: minmax(0,.34fr) minmax(0,.66fr); gap: clamp(24px,5vw,76px); padding: clamp(28px,4vw,56px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.depth-number { display: block; margin-bottom: 24px; color: var(--quiet); font: 300 38px/1 var(--sans); }
.depth-module-title h3 { margin: 14px 0 0; font-size: clamp(25px,3vw,40px); line-height: 1.08; letter-spacing: -.025em; overflow-wrap: anywhere; }
.depth-module-copy p { margin: 0 0 20px; font-size: clamp(16px,1.4vw,19px); line-height: 1.65; }
.depth-example { margin-top: 26px; padding: 24px; border-left: 3px solid var(--ink); background: var(--white); }
.depth-example p { margin: 12px 0 0; font-size: 16px; }
@media (max-width: 720px) { .depth-module { grid-template-columns: 1fr; gap: 24px; } .depth-number { margin-bottom: 14px; } .depth-example { padding: 20px; } }
.screen img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top; }
.screen.mobile-evidence .screen-frame { width: min(100%, 430px); margin-inline: auto; }
.screen.mobile-evidence img { height: auto; aspect-ratio: 390 / 844; object-fit: contain; }
.screen figcaption { padding: 14px 0 0; color: var(--soft); font-size: 14px; line-height: 1.5; }
.screen figcaption strong { color: var(--ink); }
.screen-label { display: inline-block; margin-right: 9px; color: var(--quiet); }
.layers { display: grid; border-top: 1px solid var(--line); }
.layer { display: grid; grid-template-columns: 90px minmax(200px,.34fr) minmax(0,.66fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--hair); align-items: start; }
.layer-n { color: var(--quiet); font: 300 38px/1 var(--sans); letter-spacing: -.04em; }
.layer h3, .layer p { margin: 0; }
.layer h3 { font-size: clamp(21px,2vw,31px); line-height: 1.04; letter-spacing: -.025em; }
.layer p { color: var(--soft); max-width: 680px; }
.flow { counter-reset: flow; display: grid; grid-template-columns: repeat(5,1fr); margin: 0; padding: 0; border: 1px solid var(--line); background: var(--white); list-style: none; }
.flow-step { counter-increment: flow; min-height: 260px; padding: 22px; border-right: 1px solid var(--hair); }
.flow-step:last-child { border-right: 0; }
.flow-step::before { content: "0" counter(flow); display: block; margin-bottom: 42px; color: var(--quiet); font: 500 11px/1 var(--mono); letter-spacing: .12em; }
.flow-step h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.08; letter-spacing: -.02em; }
.flow-step p { margin: 0; color: var(--soft); font-size: 14.5px; }
.issue-list { display: grid; border-top: 1px solid var(--line); }
.issue { display: grid; grid-template-columns: minmax(82px,.12fr) minmax(180px,.24fr) minmax(0,.32fr) minmax(0,.32fr); gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--hair); }
.issue-label { color: var(--quiet); }
.issue h3, .issue p { margin: 0; }
.issue h3 { font-size: 20px; line-height: 1.14; }
.issue p { color: var(--soft); font-size: 15.5px; }
.issue-copy { display: grid; align-content: start; gap: 10px; }
.issue-copy .tiny-label { color: var(--quiet); }
.limits { padding: clamp(28px,4vw,48px); border: 1px solid var(--line); background: var(--ink); color: var(--paper); }
.limits .tiny-label { color: #c8c4bb; }
.limits h3 { margin: 24px 0 16px; max-width: 840px; font-size: clamp(28px,3.2vw,50px); line-height: 1.02; letter-spacing: -.03em; }
.limits p { margin: 0; max-width: 820px; color: #d6d2c9; font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tag { padding: 9px 11px; border: 1px solid var(--hair); background: var(--white); font-weight: 650; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); background: var(--white); }
.related-card { min-height: 230px; padding: 24px; border-right: 1px solid var(--hair); display: flex; flex-direction: column; justify-content: space-between; transition: background .18s ease; }
.related-card:last-child { border-right: 0; }
.related-card:hover, .related-card:focus-visible { background: var(--mist); }
.related-card h3 { margin: 38px 0 12px; font-size: clamp(22px,2vw,32px); line-height: 1.04; letter-spacing: -.025em; }
.related-card p { margin: 0; color: var(--soft); font-size: 15px; }
.related-card .arrow { font: 650 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--hair); padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-size: clamp(18px,1.6vw,24px); font-weight: 660; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; font: 400 24px/1 var(--mono); }
.faq details[open] summary::after { content: "-"; }
.faq p { margin: 0; padding: 0 48px 24px 0; max-width: 840px; color: var(--soft); }
.cta-band { display: grid; grid-template-columns: minmax(0,.7fr) minmax(240px,.3fr); gap: 48px; align-items: end; }
.cta-band h2 { margin: 0 0 20px; max-width: 880px; font-size: clamp(40px,5.2vw,80px); line-height: .96; letter-spacing: -.04em; }
.cta-band p { margin: 0; max-width: 680px; color: var(--soft); font-size: 19px; }
.cta-band .cta-row { justify-self: end; }
.engagement-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: clamp(44px,6vw,82px); border: 1px solid var(--line); background: var(--white); }
.engagement-grid article { min-height: 190px; padding: 22px; border-right: 1px solid var(--hair); }
.engagement-grid article:last-child { border-right: 0; }
.engagement-grid h3 { margin: 34px 0 0; font-size: clamp(18px,1.45vw,24px); line-height: 1.16; letter-spacing: -.018em; }
.case-grid { grid-template-columns: repeat(2,1fr); gap: clamp(34px,4vw,68px) clamp(24px,3vw,52px); border: 0; background: transparent; }
.portfolio-filter { display: grid; grid-template-columns: minmax(260px,.34fr) minmax(0,.66fr); gap: clamp(32px,6vw,96px); align-items: end; }
.portfolio-filter h2 { margin: 14px 0 16px; max-width: 620px; font-size: clamp(34px,4vw,62px); line-height: .98; letter-spacing: -.035em; }
.portfolio-filter p { margin: 0; max-width: 650px; color: var(--soft); }
.filter-controls { display: flex; flex-wrap: wrap; gap: 9px; align-content: flex-end; }
.filter-button { min-height: 44px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); cursor: pointer; font: 700 10px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.filter-button:hover, .filter-button:focus-visible, .filter-button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filter-button[aria-pressed="true"]::before { content: "Selected / "; color: var(--paper); }
.filter-count { grid-column: 2; padding-top: 18px; font: 650 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--quiet) !important; }
.noscript-note { padding: 16px; border: 1px solid var(--line); border-top: 0; background: var(--white); }
.case-card { min-height: 650px; border: 0; background: transparent; display: flex; flex-direction: column; }
.case-card[hidden] { display: none; }
.case-card-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 0; border-radius: 7px; background: transparent; }
.case-card-image picture { display: block; width: 100%; height: 100%; }
.case-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.case-card-copy { flex: 1; padding: 22px 0 0; display: flex; flex-direction: column; align-items: flex-start; }
.case-card-top { width: 100%; display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.case-kind { color: var(--quiet); }
.evidence-chip { flex: 0 0 auto; max-width: 190px; padding: 6px 8px; border: 1px solid var(--hair); background: var(--mist); text-align: right; font: 700 9px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.case-card h3 { margin: 36px 0 14px; max-width: 560px; font-size: clamp(28px,3vw,48px); line-height: .98; letter-spacing: -.035em; }
.case-card p { margin: 0 0 26px; max-width: 610px; color: var(--soft); }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.case-tags span { padding: 5px 7px; border: 1px solid var(--hair); font: 650 9px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.card-outcome { width: 100%; margin: 0 0 28px; padding: 14px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 6px; }
.card-outcome span { color: var(--quiet); font: 650 9px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.card-outcome strong { max-width: 600px; font-size: 14px; line-height: 1.4; }
.case-card .arrow { margin-top: auto; border-bottom: 1px solid var(--ink); padding-bottom: 3px; font: 700 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .11em; }
.index-groups { display: grid; gap: 72px; }
.index-group { display: grid; grid-template-columns: minmax(180px,.25fr) minmax(0,.75fr); gap: 32px; }
.index-group h2 { margin: 0; font-size: clamp(28px,3vw,48px); line-height: 1; letter-spacing: -.03em; }
.index-list { display: grid; border-top: 1px solid var(--line); }
.index-entry { display: grid; grid-template-columns: minmax(180px,.34fr) minmax(0,.66fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.index-entry h3, .index-entry p { margin: 0; }
.index-entry h3 { font-size: 18px; line-height: 1.2; }
.index-entry p { color: var(--soft); font-size: 15px; }
.text-link { border-bottom: 1px solid var(--ink); }
.anchor-target { display: block; height: 0; overflow: hidden; }
.date-line { color: var(--quiet); }
.footer { padding: 44px 0 56px; display: grid; grid-template-columns: 1fr auto auto; gap: clamp(24px,6vw,96px); color: var(--soft); }
.footer strong { display: block; color: var(--ink); margin-bottom: 8px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { min-height: 30px; display: flex; align-items: center; }
.colophon { text-align: right; color: var(--quiet); font: 500 10px/1.7 var(--mono); text-transform: uppercase; letter-spacing: .13em; }

@media (max-width: 1050px) {
  .hero, .section-head, .lead-grid, .cta-band, .index-group, .portfolio-filter { grid-template-columns: 1fr; }
  .filter-count { grid-column: 1; }
  .proof-strip { grid-template-columns: repeat(2,1fr); }
  .proof-item { border-bottom: 1px solid var(--hair); }
  .proof-item:nth-child(2n) { border-right: 0; }
  .proof-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .flow { grid-template-columns: repeat(2,1fr); }
  .flow-step { border-bottom: 1px solid var(--hair); }
  .flow-step:nth-child(2n) { border-right: 0; }
  .flow-step:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .outcome-grid, .cap-grid, .system-grid { grid-template-columns: repeat(2,1fr); }
  .outcome-card:nth-child(3n), .cap-card:nth-child(3n), .system-card:nth-child(3n) { border-right: 1px solid var(--hair); }
  .outcome-card:nth-child(2n), .cap-card:nth-child(2n), .system-card:nth-child(2n) { border-right: 0; }
  .outcome-card:nth-last-child(-n+3), .cap-card:nth-last-child(-n+3), .system-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--hair); }
  .outcome-card:nth-last-child(-n+2), .cap-card:nth-last-child(-n+2), .system-card:nth-last-child(-n+2) { border-bottom: 0; }
  .cta-band .cta-row { justify-self: start; }
  .engagement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .engagement-grid article { border-bottom: 1px solid var(--hair); }
  .engagement-grid article:nth-child(2n) { border-right: 0; }
  .engagement-grid article:nth-last-child(-n+2) { border-bottom: 0; }
  .footer { grid-template-columns: 1fr; }
  .colophon { text-align: left; }
}

@media (max-width: 720px) {
  body { font-size: 16px; background: var(--paper); }
  .site-shell { width: min(calc(100% - 24px),640px); }
  .folio { display: none; }
  .topbar { grid-template-columns: 1fr auto; width: calc(100% + 24px); margin-left: -12px; padding: 9px 12px 7px; row-gap: 2px; }
  .topbar::after { right: 12px; left: 12px; }
  .nav-links { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: space-between; gap: 5px; letter-spacing: .08em; }
  .nav-links a { min-height: 42px; }
  .nav-meta { grid-column: 2; grid-row: 1; }
  .hero { padding-top: 46px; }
  h1 { font-size: clamp(42px,13vw,62px); }
  .proof-strip, .case-grid, .visual-grid, .outcome-grid, .cap-grid, .system-grid, .related-grid, .flow { grid-template-columns: 1fr; }
  .proof-item, .case-card, .outcome-card, .cap-card, .system-card, .related-card, .flow-step { border-right: 0; border-bottom: 1px solid var(--hair); }
  .proof-item:last-child, .case-card:last-child, .outcome-card:last-child, .cap-card:last-child, .system-card:last-child, .related-card:last-child, .flow-step:last-child { grid-column: auto; border-bottom: 0; }
  .case-card:nth-last-child(-n+2), .outcome-card:nth-last-child(-n+2), .cap-card:nth-last-child(-n+2), .system-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .case-card:last-child, .outcome-card:last-child, .cap-card:last-child, .system-card:last-child { border-bottom: 0; }
  .screen.featured { grid-column: auto; }
  .layer, .issue, .index-entry, .feature-evidence-row { grid-template-columns: 1fr; gap: 12px; }
  .feature-evidence-number { font-size: 24px; }
  .layer-n { font-size: 28px; }
  .flow-step { min-height: 210px; }
  .case-card { min-height: 0; }
  .case-card-image { aspect-ratio: 16 / 10; }
  .case-card-image picture { height: 100%; }
  .case-card-image picture.has-mobile-source { height: auto; aspect-ratio: 390 / 844; }
  .case-card-image img { height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top; }
  .case-card-image picture.has-mobile-source img { height: auto; aspect-ratio: 390 / 844; }
  .screen img { height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top; }
  .screen.mobile-evidence img { aspect-ratio: 390 / 844; object-fit: contain; }
  .screen-frame picture.has-mobile-source { display: block; aspect-ratio: 390 / 844; }
  .screen-frame picture.has-mobile-source img { aspect-ratio: 390 / 844; object-position: center top; }
  .case-card h3 { margin-top: 28px; }
  .case-grid .case-card { border: 0; }
  .case-card-top { display: grid; }
  .evidence-chip { max-width: none; width: fit-content; text-align: left; }
  .filter-controls { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .filter-button { text-align: left; }
  .engagement-grid { grid-template-columns: 1fr; }
  .engagement-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--hair); }
  .engagement-grid article:nth-last-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .engagement-grid article:last-child { border-bottom: 0; }
  .footer-links a { min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Actual Personal OS native header capture, in normal flow above its content. */
.screen-frame .app-native-header, .case-card-image .app-native-header { display: block; width: 100%; line-height: 0; }
.screen-frame .app-native-header img, .case-card-image .app-native-header img { display: block; width: 100%; height: auto; aspect-ratio: 40 / 1; object-fit: contain; position: static; }
@media (max-width: 720px) { .case-card-image .app-native-header.has-mobile-source { display: none; } }

/* Case-study reading routes and evidence summaries. */
.case-jump-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 26px 0 42px; padding: 20px 0; border-block: 1px solid var(--hair); }
.case-jump-links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.case-decision { margin-top: 32px; max-width: 880px; padding: 28px; border: 1px solid var(--hair); }
.case-decision p, .engagement-grid article p { font-size: 16px; line-height: 1.65; }
.feature-evidence-row a { text-underline-offset: 5px; }
figure[id], #evidence-summary, #contract-profile { scroll-margin-top: 130px; }
@media (max-width: 720px) { .case-jump-links { gap: 8px 20px; } .case-decision { padding: 20px; } }

.evidence-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.evidence-summary-grid .outcome-card { border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.evidence-summary-grid .outcome-card:nth-child(2n) { border-right: 0; }
.evidence-summary-grid .outcome-card:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 720px) {
  .evidence-summary-grid { grid-template-columns: 1fr; }
  .evidence-summary-grid .outcome-card { border-right: 0; border-bottom: 1px solid var(--hair); }
  .evidence-summary-grid .outcome-card:last-child { border-bottom: 0; }
}
