:root {
  --ink: #13202e;
  --ink-soft: #526173;
  --paper: #f5f5f1;
  --white: #ffffff;
  --line: #d9dedf;
  --line-dark: #314456;
  --navy: #0d1e2d;
  --navy-2: #142b3b;
  --red: #ed4d3c;
  --red-soft: #ffe4de;
  --cyan: #1daab0;
  --cyan-soft: #d8f2f1;
  --green: #75b995;
  --yellow: #f1bd59;
  --shadow: 0 20px 50px rgba(17, 31, 43, 0.1);
  --radius: 3px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.top-line { height: 5px; background: linear-gradient(90deg, var(--red) 0 35%, var(--cyan) 35% 70%, var(--yellow) 70%); }
.section-shell { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 max(40px, calc((100vw - var(--max)) / 2));
  background: rgba(245, 245, 241, 0.94);
  border-bottom: 1px solid rgba(217, 222, 223, 0.8);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: transparent;
}
.brand-mark img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(13, 30, 45, 0.08); }
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font-size: 24px; }
.brand small { margin-top: 5px; color: var(--ink-soft); font-size: 14px; letter-spacing: 2.4px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; color: var(--ink-soft); font-size: 13px; }
.site-nav a { transition: color 160ms ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--red); }
.site-nav .nav-cta { color: var(--ink); font-weight: 700; }
.nav-cta span { color: var(--red); font-size: 16px; }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }

.hero { display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); gap: 72px; align-items: center; padding-top: 86px; padding-bottom: 86px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; line-height: 1.2; text-transform: uppercase; }
.eyebrow.light { color: #f4c3a1; }
.eyebrow-dot { width: 8px; height: 8px; background: currentColor; border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 16%, transparent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: 0; }
h1 { max-width: 620px; margin-bottom: 24px; font-size: clamp(45px, 5.6vw, 78px); line-height: 0.98; }
h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 54px); line-height: 1.03; }
h3 { margin-bottom: 10px; font-size: 25px; line-height: 1.12; }
.hero-lede { max-width: 540px; margin-bottom: 30px; color: var(--ink-soft); font-size: 18px; line-height: 1.62; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-bottom: 46px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius); font-size: 12px; font-weight: 800; letter-spacing: 0.3px; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 10px 22px rgba(237, 77, 60, 0.2); }
.button-primary:hover { background: #d83c2c; }
.button-outline { color: var(--white); border-color: #6a7c8a; }
.button-outline:hover { border-color: var(--red); background: rgba(255, 255, 255, 0.06); }
.button-light { color: var(--navy); background: var(--white); }
.text-link { color: var(--ink); border-bottom: 1px solid var(--red); font-size: 12px; font-weight: 800; }
.text-link span { margin-left: 6px; color: var(--red); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 34px; }
.hero-facts > div { min-width: 90px; }
.fact-label { display: block; margin-bottom: 4px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.hero-facts strong { font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.project-byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 11px; margin-top: 27px; padding-top: 17px; border-top: 1px solid var(--line); }
.project-byline span { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.project-byline strong { font-size: 13px; }
.project-byline i { margin-inline: 4px; color: var(--red); font-style: normal; }
.hero-visual { position: relative; }
.visual-kicker { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.visual-kicker span { color: var(--red); }
.image-button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.image-button img { width: 100%; height: auto; transition: transform 300ms ease; }
.image-button:hover img { transform: scale(1.02); }
.hero-visual .image-button { background: var(--white); box-shadow: var(--shadow); }
.expand-hint { position: absolute; right: 14px; bottom: 12px; padding: 5px 9px; color: var(--white); background: rgba(13, 30, 45, 0.87); font-size: 10px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; opacity: 0; transition: opacity 160ms ease; }
.image-button:hover .expand-hint { opacity: 1; }
.visual-caption, figcaption { display: flex; gap: 13px; margin-top: 13px; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.visual-caption span, figcaption span { flex: 0 0 auto; color: var(--red); font-weight: 800; }
.visual-caption p { margin: 0; }

.signal-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 max(40px, calc((100vw - var(--max)) / 2)); color: var(--white); background: var(--navy); }
.signal-strip > div { display: flex; align-items: center; gap: 15px; min-height: 105px; padding: 22px 18px; border-right: 1px solid var(--line-dark); }
.signal-strip > div:first-child { border-left: 1px solid var(--line-dark); }
.signal-number { color: #f8d1b8; font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1; white-space: nowrap; }
.signal-strip > div:nth-child(2) .signal-number { color: var(--cyan); }
.signal-strip > div:nth-child(3) .signal-number { color: var(--green); }
.signal-strip > div:nth-child(4) .signal-number { color: var(--yellow); font-size: 25px; }
.signal-strip div > span:last-child { color: #aab8c1; font-size: 11px; font-weight: 800; letter-spacing: 1.1px; line-height: 1.25; text-transform: uppercase; }

.intro { padding-top: 115px; padding-bottom: 120px; }
.section-index { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.intro-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 100px; margin-top: 28px; }
.lead-copy { max-width: 650px; color: var(--ink-soft); font-size: 18px; line-height: 1.66; }
.note-list { margin-top: 35px; border-top: 1px solid var(--line); }
.note-list > div { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.note-list span { color: var(--red); font-size: 11px; font-weight: 800; }
.note-list p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.note-list strong { color: var(--ink); }

.section-dark { color: var(--white); background: var(--navy); }
.architecture { width: 100%; padding: 106px max(40px, calc((100vw - var(--max)) / 2)) 96px; }
.architecture .section-heading, .architecture-layout, .flow-line { width: min(var(--max), 100%); margin-inline: auto; }
.section-heading { display: grid; grid-template-columns: 120px minmax(0, 1fr) 280px; gap: 38px; align-items: start; margin-bottom: 48px; }
.section-heading h2 { max-width: 700px; margin-bottom: 0; }
.section-summary { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.section-dark .section-summary { color: #aebbc4; }
.architecture-layout { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 58px; align-items: start; }
.architecture-copy { display: grid; gap: 12px; }
.architecture-callout { padding: 18px 19px; border-left: 3px solid var(--red); background: #132a3b; }
.architecture-callout.accent-green { border-color: var(--green); }
.architecture-callout.accent-orange { border-color: var(--yellow); }
.callout-label, .card-kicker { display: block; margin-bottom: 8px; color: #f4c3a1; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.architecture-callout.accent-green .callout-label { color: #a9d9bd; }
.architecture-callout.accent-orange .callout-label { color: #f8d78d; }
.architecture-callout strong { display: block; margin-bottom: 5px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.architecture-callout p { margin: 0; color: #aebbc4; font-size: 13px; line-height: 1.55; }
.architecture-copy .button { margin-top: 12px; justify-self: start; }
.architecture-figure { margin: 0; padding: 14px; background: #f4f6f3; }
.architecture-figure figcaption { color: #5a6873; }
.architecture-figure figcaption span { color: var(--red); }
.flow-line { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; margin-top: 55px; padding-top: 25px; border-top: 1px solid var(--line-dark); }
.flow-line > div { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; }
.flow-line span { grid-row: span 2; color: var(--red); font-size: 10px; font-weight: 800; }
.flow-line strong { font-family: Georgia, "Times New Roman", serif; font-size: 17px; }
.flow-line small { color: #92a5b0; font-size: 11px; }
.flow-line i { color: var(--cyan); font-size: 20px; font-style: normal; }

.algorithms { padding-top: 112px; padding-bottom: 120px; }
.section-heading.compact { margin-bottom: 37px; }
.algorithm-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.algorithm-tab { display: grid; grid-template-columns: 35px 1fr 20px; gap: 10px; align-items: center; min-height: 80px; padding: 14px 17px; border: 0; border-right: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; }
.algorithm-tab:last-child { border-right: 0; }
.algorithm-tab.is-active { color: var(--white); background: var(--navy); }
.tab-number { color: var(--red); font-size: 11px; font-weight: 800; }
.algorithm-tab strong, .algorithm-tab small { display: block; }
.algorithm-tab strong { font-family: Georgia, "Times New Roman", serif; font-size: 21px; }
.algorithm-tab small { color: var(--ink-soft); font-size: 11px; }
.algorithm-tab.is-active small { color: #aebbc4; }
.algorithm-tab b { color: var(--red); font-size: 18px; font-weight: 400; }
.algorithm-panel { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 72px; align-items: center; padding-top: 55px; }
.algorithm-label { margin-bottom: 13px; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.algorithm-copy h3 { margin-bottom: 18px; font-size: 46px; }
.algorithm-copy > p { max-width: 540px; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.algorithm-facts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.algorithm-facts span { padding: 6px 9px; color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; }
.algorithm-result { display: flex; gap: 11px; max-width: 500px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
.result-mark { display: grid; place-items: center; width: 21px; height: 21px; color: var(--white); background: var(--green); border-radius: 50%; font-size: 12px; font-weight: 900; }
.algorithm-result p { margin: 0; }
.algorithm-result strong, .algorithm-result small { display: block; }
.algorithm-result strong { margin-bottom: 2px; font-size: 13px; }
.algorithm-result small { color: var(--ink-soft); font-size: 12px; }
.algorithm-visual { margin: 0; padding: 18px; background: var(--white); box-shadow: var(--shadow); }
.algorithm-visual figcaption { color: var(--ink-soft); }

.interface { padding-top: 114px; padding-bottom: 120px; }
.interface-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 90px; margin-top: 28px; align-items: start; }
.interface h2 { max-width: 620px; }
.interface .section-summary { max-width: 600px; margin-bottom: 35px; font-size: 16px; }
.register-map { border-top: 1px solid var(--line); }
.register-map > div { display: grid; grid-template-columns: 100px 1fr 45px; align-items: center; gap: 12px; min-height: 67px; border-bottom: 1px solid var(--line); }
.register-map code { color: var(--red); font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; font-weight: 700; }
.register-map strong, .register-map small { display: block; }
.register-map strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.register-map small { color: var(--ink-soft); font-size: 12px; }
.register-map b { justify-self: end; color: var(--cyan); font-size: 11px; }
.board-card { padding: 22px; color: var(--white); background: var(--navy); box-shadow: var(--shadow); }
.board-card-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.board-card-top span { color: #98aab5; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.board-card-top strong { color: #f5d49d; font-family: Georgia, "Times New Roman", serif; font-size: 23px; }
.board-card img { width: 100%; background: var(--white); }
.board-card p { margin: 15px 0 0; color: #aebbc4; font-size: 12px; line-height: 1.6; }

.section-soft { background: #e9eeec; }
.evidence { width: 100%; padding: 108px max(40px, calc((100vw - var(--max)) / 2)) 118px; }
.evidence .section-heading, .evidence-grid { width: min(var(--max), 100%); margin-inline: auto; }
.evidence-grid { display: grid; grid-template-columns: 1.25fr 0.9fr 0.95fr; gap: 15px; }
.evidence-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; background: var(--white); border-top: 3px solid var(--cyan); }
.evidence-card-wide { border-color: var(--red); }
.evidence-card-accent { border-color: var(--yellow); background: var(--navy); color: var(--white); }
.evidence-card-head, .card-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.evidence-card .card-kicker { color: var(--red); }
.evidence-card-accent .card-kicker { color: #f8d78d; }
.card-index { color: var(--ink-soft); font-size: 10px; font-weight: 800; }
.evidence-card h3 { margin-bottom: 7px; font-size: 28px; }
.evidence-card > p { min-height: 62px; margin-bottom: 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.evidence-card-accent > p { color: #aebbc4; }
.evidence-card .image-button { margin-top: auto; background: #edf1ef; }
.evidence-card-wide .image-button { min-height: 260px; }
.evidence-card-wide .image-button img { width: 100%; height: 260px; object-fit: cover; object-position: 50% 50%; }
.waveform-stack { display: grid; gap: 7px; margin-top: auto; }
.waveform-stack .image-button { background: #edf1ef; }
.waveform-stack .image-button img { height: 74px; width: 100%; object-fit: cover; object-position: left center; }
.evidence-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.evidence-stats div { padding: 9px 7px; background: #193346; text-align: center; }
.evidence-stats strong, .evidence-stats span { display: block; }
.evidence-stats strong { color: var(--yellow); font-family: Georgia, "Times New Roman", serif; font-size: 21px; }
.evidence-stats span { color: #aebbc4; font-size: 9px; line-height: 1.2; }

.results { padding-top: 112px; padding-bottom: 126px; }
.result-hero { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 45px; align-items: center; margin-bottom: 17px; padding: 34px 38px; color: var(--white); background: var(--navy); }
.result-hero .card-kicker { color: #f8d78d; }
.result-hero-copy > strong { display: block; color: var(--cyan); font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: 0.95; }
.result-hero-copy h3 { margin: 7px 0 9px; font-size: 25px; }
.result-hero-copy p { max-width: 430px; margin: 0; color: #aebbc4; font-size: 13px; line-height: 1.55; }
.mini-bars { display: grid; gap: 20px; }
.mini-bars > div { display: grid; grid-template-columns: 100px 1fr 105px; gap: 16px; align-items: center; color: #c2cdd2; font-size: 11px; }
.mini-bars b { color: var(--white); font-size: 12px; text-align: right; }
.bar-track { height: 12px; background: #2b4352; }
.bar-track i { display: block; height: 100%; }
.bar-red { background: var(--red); }
.bar-cyan { background: var(--cyan); }
.results-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 17px; }
.result-card { min-width: 0; padding: 24px; background: var(--white); border: 1px solid var(--line); }
.result-card .card-kicker { color: var(--red); }
.card-heading > span:last-child { color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.result-card-table table { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 12px; }
.result-card-table th { padding: 10px 8px; color: var(--ink-soft); border-bottom: 1px solid var(--ink); font-size: 10px; letter-spacing: 0.5px; text-align: left; text-transform: uppercase; }
.result-card-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.result-card-table th:not(:first-child), .result-card-table td:not(:first-child) { text-align: right; }
.result-card-table tr.total td { color: var(--red); font-weight: 900; }
.table-note { margin: 17px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.result-card > .image-button { margin: 20px 0 18px; background: #edf1ef; }
.resource-list { border-top: 1px solid var(--line); }
.resource-list > div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.resource-list span { color: var(--ink-soft); }
.resource-list strong { font-size: 12px; }
.resource-list small { color: var(--cyan); font-size: 10px; font-weight: 700; }
.report-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 17px; }
.report-grid figure { margin: 0; padding: 11px; background: var(--white); border: 1px solid var(--line); }
.report-grid figcaption { display: block; margin-top: 9px; color: var(--ink-soft); font-size: 11px; }
.report-grid figcaption span { display: block; margin-bottom: 3px; }

.closing { width: 100%; padding: 86px max(40px, calc((100vw - var(--max)) / 2)); }
.closing-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 100px; }
.closing h2 { max-width: 650px; margin-bottom: 0; }
.closing-grid > div:last-child { align-self: end; }
.closing-grid p:not(.eyebrow) { max-width: 520px; margin-bottom: 28px; color: #aebbc4; font-size: 16px; line-height: 1.65; }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding-top: 28px; padding-bottom: 32px; color: var(--ink-soft); font-size: 11px; }
.site-footer > div { display: flex; align-items: center; gap: 20px; }
.site-footer strong { color: var(--ink); font-size: 13px; }
.site-footer span { color: var(--ink-soft); }
.site-footer a { color: var(--red); font-weight: 800; }

.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 40px; background: rgba(8, 19, 28, 0.92); opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: min(1200px, 95vw); max-height: 90vh; margin: 0; }
.lightbox figure img { max-height: 78vh; width: auto; margin: auto; background: var(--white); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.lightbox figcaption { justify-content: center; color: #d6e0e2; text-align: center; }
.lightbox figcaption span { display: none; }
.lightbox-close { position: absolute; top: 20px; right: 26px; width: 42px; height: 42px; color: var(--white); border: 1px solid #61707a; border-radius: 50%; background: transparent; cursor: pointer; font-size: 25px; line-height: 1; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 1050px) {
  .section-shell { width: min(var(--max), calc(100% - 48px)); }
  .site-header { padding-inline: 24px; }
  .hero { gap: 42px; }
  .intro-grid, .interface-grid, .closing-grid { gap: 50px; }
  .section-heading { grid-template-columns: 90px minmax(0, 1fr) 230px; gap: 24px; }
  .algorithm-panel { gap: 40px; }
  .architecture, .evidence, .closing { padding-inline: 24px; }
  .signal-strip { padding-inline: 24px; }
}

@media (max-width: 820px) {
  .site-header { min-height: 68px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 12px; font-weight: 800; }
  .menu-toggle b { color: var(--red); font-size: 21px; font-weight: 400; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 14px 25px rgba(17, 31, 43, 0.08); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { border-bottom: 0; }
  .hero, .intro-grid, .architecture-layout, .algorithm-panel, .interface-grid, .closing-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; padding-bottom: 66px; }
  .hero h1 { max-width: 600px; font-size: clamp(43px, 9vw, 65px); }
  .hero-visual { max-width: 720px; }
  .intro-grid { gap: 35px; }
  .section-heading { grid-template-columns: 1fr; gap: 15px; }
  .section-heading .section-index { order: 0; }
  .section-heading > div:nth-child(2) { order: 1; }
  .section-heading .section-summary { order: 2; max-width: 580px; }
  .architecture-layout { gap: 38px; }
  .algorithm-panel { gap: 45px; }
  .algorithm-copy h3 { font-size: 41px; }
  .interface-grid { gap: 45px; }
  .evidence-grid { grid-template-columns: 1fr 1fr; }
  .evidence-card-wide { grid-column: span 2; }
  .results-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr 1fr; }
  .closing-grid { gap: 36px; }
}

@media (max-width: 560px) {
  .section-shell { width: min(var(--max), calc(100% - 34px)); }
  .site-header { padding-inline: 17px; }
  .brand-mark, .brand-mark img { width: 46px; height: 46px; }
  .brand strong { font-size: 20px; }
  .brand small { font-size: 11px; letter-spacing: 1.7px; }
  .hero { padding-top: 50px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 34px; }
  .hero-facts { gap: 21px; }
  .hero-facts strong { font-size: 17px; }
  .signal-strip { grid-template-columns: 1fr 1fr; padding-inline: 17px; }
  .signal-strip > div { min-height: 84px; padding: 16px 10px; }
  .signal-strip > div:nth-child(3) { border-left: 1px solid var(--line-dark); }
  .signal-number { font-size: 25px; }
  .signal-strip > div:nth-child(4) .signal-number { font-size: 19px; }
  .intro, .algorithms, .interface, .results { padding-top: 76px; padding-bottom: 80px; }
  .intro-grid { margin-top: 20px; }
  h2 { font-size: 36px; }
  .architecture, .evidence, .closing { padding-inline: 17px; }
  .architecture { padding-top: 76px; padding-bottom: 75px; }
  .flow-line { grid-template-columns: 1fr; gap: 8px; padding-inline: 8px; }
  .flow-line i { display: none; }
  .algorithm-tabs { grid-template-columns: 1fr; }
  .algorithm-tab { border-right: 0; border-bottom: 1px solid var(--line); }
  .algorithm-tab:last-child { border-bottom: 0; }
  .algorithm-panel { padding-top: 38px; }
  .algorithm-copy h3 { font-size: 38px; }
  .register-map > div { grid-template-columns: 82px 1fr 35px; }
  .evidence { padding-top: 76px; padding-bottom: 80px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-card-wide { grid-column: auto; }
  .evidence-card-wide .image-button img { height: 180px; }
  .result-hero { grid-template-columns: 1fr; gap: 29px; padding: 26px 22px; }
  .result-hero-copy > strong { font-size: 55px; }
  .mini-bars > div { grid-template-columns: 86px 1fr; gap: 10px; }
  .mini-bars b { grid-column: 2; text-align: left; }
  .report-grid { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; padding-top: 22px; padding-bottom: 27px; }
  .site-footer > div { align-items: flex-start; flex-direction: column; gap: 7px; }
  .lightbox { padding: 20px; }
  .lightbox figure img { max-width: 100%; max-height: 70vh; }
}

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