/* Reprenez la main — styles communs au programme et à la biographie.
   Les tailles de lecture utilisent rem pour respecter les préférences du lecteur. */
:root {
  --ink: #333333;
  --muted: #53627a;
  --paper: #f6f9ff;
  --white: #ffffff;
  --line: #dce5f3;
  --navy: #003399;
  --orange: #ff1166;
  --gold: #ffcc00;
  --cyan: #00aaee;
  --accent: #003399;
  --tint: #edf4ff;
  --spot: #00aaee;
  --sans: 'URW Geometric', 'Avenir Next', 'Century Gothic', Arial, Helvetica, sans-serif;
  --serif: var(--sans);
  --warm: linear-gradient(105deg, #ff1166 0%, #ff5757 42%, #ffcc00 100%);
  --cool: linear-gradient(120deg, #003399 0%, #00aaee 100%);
  --header-offset: 108px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1.0625rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
::selection { background: #d5f2ff; color: var(--navy); }
[hidden] { display: none !important; }
.print-only { display: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip { position: absolute; top: -100px; background: #fff; padding: 14px; z-index: 100; }
.skip:focus { top: 12px; }

/* En-tête et commandes partagés. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #e7edf7;
  box-shadow: 0 3px 20px #00339908;
  backdrop-filter: blur(12px);
}
.topbar-inner {
  min-height: 80px;
  max-width: 1540px;
  margin: auto;
  padding: 12px 42px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--navy);
}
.brand-symbol {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  position: relative;
  border-radius: 8px;
  background: var(--warm);
}
.brand-symbol:before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  left: 6px;
  top: 8px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-left: 0;
  transform: rotate(45deg);
}
.edition {
  font-size: .875rem;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.toolbar, .bio-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tool, .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #cddcf2;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.tool svg, .nav-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.tool:hover, .tool[aria-pressed=true], .nav-link:hover, .nav-link[aria-current] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.progress { height: 4px; width: 0; background: var(--warm); position: absolute; bottom: -1px; left: 0; }

@media (max-width: 1200px) {
  .edition { display: none; }
  .topbar-inner { padding-inline: 24px; gap: 16px; }
}
@media (max-width: 760px) {
  :root { --header-offset: 144px; }
  .topbar-inner { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 12px; }
  .brand { justify-content: center; }
  .toolbar, .bio-nav { flex: 0 0 100%; margin: 0; justify-content: center; gap: 6px; }
  .tool, .nav-link { padding: 10px; font-size: 1rem; }
  .nav-link { flex: 1; max-width: 240px; font-size: 1rem; }
  .candidate-link svg, .print-tool .button-label { display: none; }
  .print-tool { min-width: 44px; }
}
@media (max-width: 370px) {
  #mode-toggle svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@page { size: A4; margin: 16mm; }
@media print {
  html { scroll-behavior: auto; scroll-padding-top: 0; }
  body { background: #fff; color: #333; font-size: 11pt; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .topbar, .skip, .screen-only { display: none !important; }
  .print-only { display: block; }
}


/* Programme : couverture, sommaire et chapitres. */
.hero {
  background:var(--navy);
  color:white;
  min-height:770px;
  position:relative;
  overflow:hidden;
}

.hero-inner {
  max-width:1360px;
  margin:auto;
  padding:52px 70px 0;
  position:relative;
  z-index:2;
}

.hero .hero-meta {
  display:flex;
  justify-content:space-between;
  align-items:center;
  letter-spacing:2.3px;
  text-transform:uppercase;
  color:#d0dde2;
  font-size: .8125rem;
}

.hero .hero-meta .draft {
  border:1px solid #69818b;
  border-radius:30px;
  padding:7px 14px;
  letter-spacing:1.6px;
  font-size: .8125rem;
}

.hero h1 {
  font-size:clamp(80px,9.5vw,142px);
  line-height:.87;
  margin:78px 0 26px;
  font-weight:400;
  letter-spacing:-7px;
  position:relative;
  max-width:700px;
}

.hero h1 .horizon {
  font-family:var(--serif);
  display:block;
  font-style:italic;
}

.hero h1 .year {
  font-family:var(--sans);
  display:block;
  font-size:1.37em;
  font-weight:800;
  color:var(--gold);
  letter-spacing:-.075em;
  line-height:1;
  margin-top:9px;
}

.hero-statement {
  font-size:clamp(20px,2.2vw,30px);
  line-height:1.36;
  margin:0 0 28px;
  font-weight:400;
  letter-spacing:-.4px;
}

.hero-desc {
  color:#cbd9df;
  line-height:1.75;
  max-width:460px;
  margin:0 0 34px;
  font-size: 1.0625rem;
}

.hero-cta {
  display:inline-flex;
  align-items:center;
  gap:44px;
  padding:13px 18px;
  background:var(--gold);
  color:var(--navy);
  font-size:12px;
  text-decoration:none;
  font-weight:700;
  border-radius:2px;
}

.hero-cta:hover {
  background:#ffdcaa;
}

.hero-art {
  position:absolute;
  right:-170px;
  top:36px;
  width:940px;
  height:750px;
  opacity:.93;
  pointer-events:none;
}

.hero-footer {
  position:relative;
  z-index:2;
  margin:54px 0 0;
  padding:22px 0 25px;
  display:flex;
  border-top:1px solid #45616e;
  gap:42px;
}

.hero-stat {
  display:flex;
  gap:13px;
  align-items:center;
}

.hero-stat b {
  font-size:27px;
  line-height:1;
  font-weight:400;
  color:var(--gold);
}

.hero-stat span {
  text-transform:uppercase;
  letter-spacing:1.2px;
  line-height:1.6;
  max-width:118px;
  font-size: .875rem;
}

.hero-footer .date {
  margin-left:auto;
  align-self:center;
  color:#c1d0d7;
  font-size: .875rem;
}

.document-wrap {
  max-width:1460px;
  display:grid;
  grid-template-columns:248px minmax(0,1fr);
  gap:58px;
  margin:auto;
  padding:0 52px 90px;
}

.rail {
  position:sticky;
  top:110px;
  height:calc(100vh - 140px);
  padding-top:5px;
  align-self:start;
  overflow-y:auto;
  margin-top:65px;
}

.rail-label {
  text-transform:uppercase;
  letter-spacing:2px;
  color:var(--muted);
  margin-bottom:18px;
  font-size: .875rem;
}

.rail a {
  display:flex;
  gap:11px;
  align-items:baseline;
  line-height:1.55;
  text-decoration:none;
  border-left:2px solid transparent;
  padding:10px 8px 10px 11px;
  color:var(--muted);
  font-size: 1rem;
}

.rail a span {
  width:23px;
  flex-shrink:0;
  color:#88989e;
  font-size: .875rem;
}

.rail a:hover,
.rail a.active {
  color:var(--navy);
  border-color:var(--orange);
  background:#e9e9e0;
}

.rail .index-link {
  margin-bottom:14px;
  border-bottom:1px solid var(--line);
  padding-bottom:16px;
  color:var(--ink);
  font-weight:700;
}

.rail-foot {
  margin-top:27px;
  padding:18px 10px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size: .9375rem;
}

.rail-foot strong {
  display:block;
  color:var(--ink);
  margin-bottom:5px;
  font-size: 1rem;
}

.rail small {
  display:block;
  margin-top:9px;
}

.main-content {
  min-width:0;
}

.intro {
  padding:72px 0 45px;
  border-bottom:1px solid var(--line);
}

.eyebrow {
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.7px;
  font-size: .8125rem;
}

.intro .eyebrow {
  color:var(--orange);
}

.intro h2,
.index-head h2,
.method h2 {
  font-family:var(--serif);
  font-size:44px;
  font-weight:400;
  line-height:1.14;
  letter-spacing:-1.5px;
  margin:15px 0 25px;
}

.intro>p {
  line-height:1.8;
  max-width:790px;
  color:var(--muted);
  font-size: 1.125rem;
}

.intro strong {
  color:var(--ink);
}

.principles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
  margin:30px 0;
}

.principles div {
  padding:16px 0;
  border-top:2px solid var(--navy);
}

.principles span {
  color:var(--orange);
  font-size: .875rem;
}

.principles h3 {
  margin:9px 0;
  font-size: 1.125rem;
}

.principles p {
  color:var(--muted);
  margin:0;
  line-height:1.65;
  font-size: 1rem;
}

.index {
  padding:48px 0 10px;
}

.index-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
}

.index-head h2 {
  font-size:34px;
  margin:8px 0 0;
}

.index-head .eyebrow {
  color:var(--muted);
}

.search-box {
  display:flex;
  align-items:center;
  gap:12px;
  background:var(--white);
  border:1px solid #bec8c9;
  border-radius:3px;
  margin:26px 0 13px;
  padding:13px 16px;
}

.search-box svg {
  color:#6f848c;
  flex-shrink:0;
}

.search-box input {
  border:0;
  outline:0;
  background:transparent;
  min-width:0;
  width:100%;
  color:var(--ink);
  font-size: 1rem;
}

.search-box:focus-within {
  outline:2px solid #c2744a;
  outline-offset:1px;
}

.search-box button {
  background:none;
  border:none;
  color:var(--muted);
  padding:2px 4px;
  font-size: .9375rem;
}

.search-box button:hover {
  color:var(--orange);
}

.search-status {
  color:var(--muted);
  min-height:17px;
  margin:0 0 18px;
  font-size: .9375rem;
}

.toc-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px 33px;
}

.toc-group {
  min-width:0;
}

.toc-group-name {
  text-transform:uppercase;
  letter-spacing:1px;
  font-weight:700;
  display:flex;
  gap:10px;
  align-items:center;
  padding:0 0 12px;
  border-bottom:2px solid var(--accent);
  font-size: .9375rem;
}

.toc-group-name b {
  font-weight:400;
  color:var(--accent);
  font-family:var(--serif);
  font-size:18px;
  min-width:29px;
}

.toc-group>a {
  display:grid;
  grid-template-columns:28px 1fr 14px;
  gap:7px;
  align-items:baseline;
  padding:9px 0;
  border-bottom:1px solid var(--line);
  text-decoration:none;
  line-height:1.45;
  font-size: 1.0625rem;
}

.toc-group>a>span:first-child {
  color:var(--accent);
  font-size: .875rem;
}

.toc-group>a b {
  color:#8d9da2;
  font-weight:400;
  font-size: 1rem;
}

.toc-group>a:hover {
  color:var(--accent);
  background:var(--tint);
}

.index-note {
  margin:23px 0 0;
  color:var(--muted);
  font-size: 1rem;
}

.blue {
  --accent:#295d8a;
  --tint:#eaf0f6;
}

.teal {
  --accent:#236961;
  --tint:#e9f1eb;
}

.orange {
  --accent:#ab492e;
  --tint:#f8ece2;
}

.violet {
  --accent:#615370;
  --tint:#eeebf2;
}

.pillar {
  padding-top:64px;
}

.pillar-heading {
  background:var(--navy);
  color:white;
  padding:35px 40px 34px;
  position:relative;
  overflow:hidden;
  border-radius:3px;
}

.pillar-heading .eyebrow {
  color:#ecb789;
  display:flex;
  gap:15px;
  justify-content:space-between;
  position:relative;
  z-index:1;
  font-size: .8125rem;
}

.pillar-heading .eyebrow span {
  font-weight:400;
  color:#bbced6;
  white-space:nowrap;
  letter-spacing:1.2px;
  font-size: .8125rem;
}

.pillar-heading h2 {
  font:400 39px/1.12 var(--serif);
  letter-spacing:-1px;
  margin:26px 0 17px;
  position:relative;
  z-index:1;
}

.pillar-heading>p {
  line-height:1.7;
  max-width:480px;
  color:#c7d7dd;
  margin:0;
  position:relative;
  z-index:1;
  font-size: 1.0625rem;
}

.pillar-orbit {
  position:absolute;
  right:-75px;
  top:60px;
  width:300px;
  height:300px;
  border:1px solid #658895;
  border-radius:50%;
  opacity:.35;
}

.pillar-orbit i {
  display:block;
  border:1px solid #658895;
  border-radius:50%;
  position:absolute;
  inset:24px;
}

.pillar-orbit i:nth-child(2) {
  inset:52px;
}

.pillar-orbit i:nth-child(3) {
  inset:80px;
  background:#516e75;
}

.chapter {
  padding:42px 40px 25px;
  background:var(--white);
  border:1px solid #d9dcd6;
  border-radius:3px;
  margin-top:23px;
  position:relative;
  scroll-margin-top:98px;
}

.chapter-top {
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
}

.chapter-index {
  font-size:34px;
  font-weight:700;
  line-height:1;
  color:var(--accent);
  letter-spacing:-1.6px;
  min-width:45px;
}

.chapter-top .eyebrow {
  color:var(--muted);
  letter-spacing:1.35px;
  font-size: .8125rem;
}

.chapter-top .status {
  margin-left:auto;
}

.chapter h3 {
  font-family:var(--serif);
  font-weight:400;
  font-size:34px;
  letter-spacing:-.8px;
  line-height:1.16;
  margin:0 0 17px;
  max-width:670px;
}

.chapter-lead {
  line-height:1.65;
  color:var(--muted);
  margin:0;
  max-width:700px;
  font-size: 1.125rem;
}

.subdomains {
  margin-top:29px;
  padding-top:20px;
  border-top:1px solid var(--line);
}

.section-caption {
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:1.4px;
  color:var(--accent);
  display:flex;
  gap:14px;
  align-items:center;
  margin-bottom:20px;
  font-size: .8125rem;
}

.section-caption span {
  font-weight:400;
  color:#a8b4b9;
}

.subdomain-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:21px 27px;
}

.subdomain h4 {
  line-height:1.4;
  margin:0 0 6px;
  color:var(--ink);
  font-size: 1.0625rem;
}

.subdomain p {
  line-height:1.7;
  color:var(--muted);
  margin:0;
  font-size: 1.0625rem;
}

.flagship {
  margin-top:29px;
  background:var(--tint);
  border-left:3px solid var(--accent);
  padding:21px 24px 23px;
  position:relative;
}

.flagship-label {
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--accent);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.8px;
  margin-bottom:10px;
  font-size: .8125rem;
}

.sun-mark {
  font-size:24px;
  line-height:1;
  font-weight:400;
}

.flagship h4 {
  font:400 24px/1.24 var(--serif);
  margin:0 0 11px;
  letter-spacing:-.3px;
  color:var(--ink);
}

.flagship p {
  line-height:1.75;
  margin:0;
  color:#354c57;
  max-width:730px;
  font-size: 1.0625rem;
}

.flagship p + p {
  margin-top:0.8em;
}

.implementation {
  display:grid;
  grid-template-columns:122px 1fr;
  gap:18px;
  margin-top:18px;
  padding:0 1px;
}

.implementation>span {
  line-height:1.65;
  text-transform:uppercase;
  letter-spacing:.7px;
  color:var(--muted);
  padding-top:2px;
  font-size: .8125rem;
}

.implementation p {
  line-height:1.75;
  color:var(--muted);
  margin:0;
  font-size: 1rem;
}

.ref {
  line-height:1.2;
  display:inline-block;
  vertical-align:super;
  text-decoration:none;
  border:1px solid #b9c6c8;
  border-radius:2px;
  padding:1px 3px;
  margin:0 1px;
  color:var(--accent);
  font-size: .8125rem;
}

.scope {
  border-top:1px solid var(--line);
  margin-top:23px;
}

.scope summary {
  display:flex;
  justify-content:space-between;
  list-style:none;
  padding:11px 0;
  color:var(--muted);
  cursor:pointer;
  font-size: .9375rem;
}

.scope summary::-webkit-details-marker {
  display:none;
}

.scope summary span {
  font-size:15px;
  line-height:1;
}

.scope[open] summary span {
  transform:rotate(45deg);
}

.scope p {
  line-height:1.7;
  color:var(--muted);
  margin:0 0 12px;
  font-size: 1rem;
}

.back-index {
  display:block;
  text-align:right;
  color:#65777d;
  text-decoration:none;
  font-size: .9375rem;
}

.back-index:hover {
  color:var(--orange);
}

.method {
  margin-top:65px;
  border-top:2px solid var(--navy);
  padding:38px 0 15px;
}

.method>.eyebrow {
  color:var(--orange);
}

.method h2 {
  font-size:37px;
}

.method-intro {
  color:var(--muted);
  max-width:700px;
  font-size: 1.125rem;
}

.method-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin:27px 0;
}

.method-item {
  border-top:1px solid #bec8c8;
  padding-top:13px;
}

.method-item span {
  color:var(--orange);
  font-size: .875rem;
}

.method-item h3 {
  margin:6px 0;
  font-size: 1.125rem;
}

.method-item p {
  line-height:1.7;
  margin:0;
  color:var(--muted);
  font-size: 1.0625rem;
}

.method-last {
  padding:19px 22px;
  background:var(--navy);
  color:white;
  line-height:1.7;
  font-size: 1.0625rem;
}

.method-last strong {
  color:var(--gold);
}

.sources {
  margin-top:40px;
  padding-top:28px;
  border-top:1px solid var(--line);
}

.sources h2 {
  font-size:22px;
  font-family:var(--serif);
  font-weight:400;
  margin:5px 0 14px;
}

.sources>p {
  color:var(--muted);
  font-size: 1rem;
}

.sources ol {
  list-style:none;
  padding:0;
  margin:24px 0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 25px;
}

.sources li {
  display:flex;
  gap:12px;
  scroll-margin-top:110px;
  line-height:1.6;
  min-width:0;
  font-size: 1rem;
}

.sources li>b {
  font-weight:400;
  color:var(--orange);
  min-width:22px;
  font-size: .875rem;
}

.sources li a {
  font-weight:700;
  text-decoration:none;
  border-bottom:1px solid #bac7c9;
}

.sources li a:hover {
  color:var(--orange);
}

.sources li p {
  line-height:1.6;
  color:var(--muted);
  margin:3px 0;
  font-size: 1rem;
}

.colophon {
  margin:42px 0 0;
  padding:22px 0;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:15px;
  color:var(--muted);
  font-size: .875rem;
}

.colophon strong {
  color:var(--ink);
  letter-spacing:1.3px;
  text-transform:uppercase;
}

.closing {
  background:var(--navy);
  padding:53px 7%;
  color:white;
  display:flex;
  justify-content:space-between;
  gap:25px;
  align-items:center;
}

.closing p {
  font:italic 42px/1.2 var(--serif);
  margin:0;
  color:var(--gold);
}

.closing span {
  letter-spacing:1.6px;
  text-transform:uppercase;
  font-size: .875rem;
}

.closing a {
  text-decoration:none;
  border:1px solid #77919a;
  padding:10px 14px;
  font-size: 1rem;
}

.no-results {
  padding:35px;
  background:var(--white);
  border:1px solid var(--line);
  margin-top:30px;
  color:var(--muted);
}

.measure-mode .subdomains,
.measure-mode .scope {
  display:none;
}

.measure-mode .chapter {
  padding-top:26px;
}

.measure-mode .chapter h3 {
  font-size:25px;
  margin-bottom:0;
}

.measure-mode .chapter-top {
  margin-bottom:12px;
}

.measure-mode .flagship {
  margin-top:20px;
}

.measure-mode .chapter-index {
  font-size:26px;
}

.measure-mode .implementation {
  margin-bottom:15px;
}

.measure-mode .back-index {
  margin-top:14px;
}

@media(min-width:1500px) {
  .hero-art {
    right:-25px;
  }
}

@media(max-width:1200px) {
  .document-wrap {
    grid-template-columns:188px minmax(0,1fr);
    gap:30px;
    padding:0 30px 70px;
  }

  .rail a {
    font-size: 1rem;
  }

  .chapter {
    padding:32px 30px 22px;
  }

  .chapter-top {
    gap:10px;
  }

  .chapter-top .eyebrow {
    letter-spacing:.6px;
    font-size: .8125rem;
  }

  .hero-art {
    right:-285px;
  }

  .hero-inner {
    padding-left:55px;
    padding-right:55px;
  }

  .pillar-heading {
    padding:30px;
  }

  .pillar-heading .eyebrow {
    letter-spacing:1px;
    font-size: .8125rem;
  }

  .pillar-heading h2 {
    font-size:35px;
  }
}

@media(max-width:900px) {
  .document-wrap {
    display:block;
    padding:0 32px 55px;
  }

  .rail {
    display:none;
  }

  .main-content {
    max-width:780px;
    margin:auto;
  }

  .hero-inner {
    padding:40px 40px 0;
  }

  .hero h1 {
    font-size:110px;
    margin-top:66px;
  }

  .hero-art {
    right:-410px;
    opacity:.65;
  }

  .hero .hero-meta {
    letter-spacing:1.7px;
    font-size: .8125rem;
  }

  .hero-footer {
    gap:28px;
  }

  .hero-footer .date {
    display:none;
    font-size: .875rem;
  }

  .hero {
    min-height:0;
  }

  .intro {
    padding-top:48px;
  }

  .chapter-top .eyebrow {
    letter-spacing:1px;
    font-size: .8125rem;
  }

  .chapter-top .status {
    font-size:9px;
  }

  .hero-footer {
    margin-top:44px;
  }
}

@media(max-width:600px) {
  .hero-inner {
    padding:29px 25px 0;
  }

  .hero .hero-meta {
    letter-spacing:1.2px;
    align-items:start;
    font-size: .8125rem;
  }

  .hero .hero-meta .draft {
    padding:5px 8px;
    letter-spacing:.7px;
    font-size: .8125rem;
  }

  .hero h1 {
    font-size:86px;
    letter-spacing:-4px;
    margin-top:65px;
  }

  .hero h1 .year {
    font-size:1.35em;
  }

  .hero-statement {
    font-size:23px;
    margin-top:24px;
  }

  .hero-desc {
    max-width:310px;
    margin-bottom:25px;
    font-size: 1.0625rem;
  }

  .hero-art {
    width:650px;
    right:-455px;
    top:65px;
    opacity:.4;
  }

  .hero-cta {
    font-size:11px;
    gap:35px;
    padding:12px 15px;
  }

  .hero-footer {
    gap:16px;
    justify-content:space-between;
    margin-top:36px;
    padding:21px 0 24px;
  }

  .hero-stat {
    display:block;
  }

  .hero-stat b {
    font-size:24px;
    display:block;
    margin-bottom:7px;
  }

  .hero-stat span {
    letter-spacing:.5px;
    display:block;
    max-width:94px;
    font-size: .875rem;
  }

  .document-wrap {
    padding:0 18px 40px;
  }

  .intro {
    padding-top:38px;
    padding-bottom:30px;
  }

  .intro h2 {
    font-size:35px;
  }

  .intro>p {
    font-size: 1.125rem;
  }

  .principles {
    grid-template-columns:1fr;
    gap:15px;
    margin:24px 0;
  }

  .principles div {
    padding:10px 0;
    display:grid;
    grid-template-columns:27px 1fr;
    column-gap:8px;
  }

  .principles h3 {
    margin:0 0 6px;
    font-size: 1.125rem;
  }

  .principles p {
    grid-column:2;
    font-size: 1rem;
  }

  .principles span {
    padding-top:3px;
    font-size: .875rem;
  }

  .index {
    padding-top:32px;
  }

  .index-head {
    align-items:start;
  }

  .index-head h2 {
    font-size:30px;
  }

  .search-box {
    margin-top:22px;
    padding:11px;
  }

  .search-box input {
    font-size: 1rem;
  }

  .search-box svg {
    width:16px;
  }

  .toc-grid {
    grid-template-columns:1fr;
    gap:25px;
  }

  .toc-group>a {
    padding:10px 0;
    font-size: 1.0625rem;
  }

  .pillar {
    padding-top:38px;
  }

  .pillar-heading {
    padding:24px 23px;
  }

  .pillar-heading .eyebrow {
    display:block;
    line-height:1.8;
    letter-spacing:1px;
    font-size: .8125rem;
  }

  .pillar-heading .eyebrow span {
    display:block;
    margin-top:3px;
    font-size: .8125rem;
  }

  .pillar-heading h2 {
    font-size:32px;
    letter-spacing:-1px;
    margin:20px 0 14px;
  }

  .pillar-heading>p {
    font-size: 1.0625rem;
  }

  .pillar-orbit {
    opacity:.22;
    right:-140px;
  }

  .chapter {
    padding:25px 20px 20px;
    margin-top:17px;
    scroll-margin-top:82px;
  }

  .chapter-top {
    display:grid;
    grid-template-columns:40px 1fr;
    gap:5px 10px;
    margin-bottom:18px;
  }

  .chapter-index {
    grid-row:1/3;
    font-size:31px;
    min-width:0;
  }

  .chapter-top .status {
    margin:0;
    justify-self:start;
    font-size:8px;
  }

  .chapter-top .eyebrow {
    letter-spacing:.9px;
    font-size: .8125rem;
  }

  .chapter h3 {
    font-size:29px;
    line-height:1.17;
  }

  .chapter-lead {
    font-size: 1.125rem;
  }

  .subdomains {
    margin-top:23px;
    padding-top:17px;
  }

  .section-caption {
    margin-bottom:18px;
    font-size: .8125rem;
  }

  .subdomain-grid {
    grid-template-columns:1fr;
    gap:17px;
  }

  .subdomain h4 {
    font-size: 1.0625rem;
  }

  .subdomain p {
    line-height:1.7;
    font-size: 1.0625rem;
  }

  .flagship {
    margin-top:23px;
    padding:18px 17px;
  }

  .flagship-label {
    letter-spacing:1.4px;
    font-size: .8125rem;
  }

  .flagship h4 {
    font-size:23px;
  }

  .flagship p {
    font-size: 1.0625rem;
  }

  .implementation {
    display:block;
  }

  .implementation>span {
    display:block;
    margin-bottom:6px;
    font-size: .8125rem;
  }

  .implementation p {
    line-height:1.75;
    font-size: 1rem;
  }

  .scope summary {
    font-size: .9375rem;
  }

  .scope p {
    font-size: 1rem;
  }

  .back-index {
    font-size: .9375rem;
  }

  .method {
    margin-top:38px;
    padding-top:27px;
  }

  .method h2 {
    font-size:31px;
  }

  .method-intro {
    font-size: 1.125rem;
  }

  .method-grid {
    grid-template-columns:1fr;
  }

  .method-last {
    padding:17px;
    font-size: 1.0625rem;
  }

  .sources ol {
    grid-template-columns:1fr;
  }

  .sources h2 {
    font-size:23px;
  }

  .colophon {
    flex-direction:column;
    gap:7px;
    font-size: .875rem;
  }

  .closing {
    padding:34px 25px;
    display:block;
  }

  .closing p {
    font-size:35px;
    margin:11px 0 24px;
  }

  .closing span {
    font-size: .875rem;
  }

  .closing a {
    display:inline-block;
    font-size: 1rem;
  }

  .measure-mode .chapter h3 {
    font-size:23px;
  }
}

@media print {
  .rail,
.search-box,
.search-status,
.back-index,
.closing,
.no-results {
    display:none!important;
  }

  .hero {
    min-height:0;
    height:260mm;
    break-after:page;
    margin:0;
    background:#102d3d!important;
  }

  .hero-inner {
    padding:13mm 11mm 0;
  }

  .hero .hero-meta {
    font-size:7pt;
    letter-spacing:1pt;
  }

  .hero .hero-meta .draft {
    font-size:6pt;
    padding:5pt 8pt;
  }

  .hero h1 {
    font-size:82pt;
    margin-top:32mm;
    letter-spacing:-4pt;
  }

  .hero h1 .year {
    font-size:116pt;
  }

  .hero-statement {
    font-size:21pt;
    margin-top:15mm;
  }

  .hero-desc {
    font-size:10pt;
    max-width:100mm;
  }

  .hero-cta {
    display:none;
  }

  .hero-art {
    width:235mm;
    height:220mm;
    right:-116mm;
    top:17mm;
    opacity:.65;
  }

  .hero-footer {
    margin-top:25mm;
    padding-top:8mm;
    gap:9mm;
  }

  .hero-stat b {
    font-size:24pt;
  }

  .hero-stat span {
    font-size:7pt;
  }

  .hero-footer .date {
    display:none;
  }

  .document-wrap {
    display:block;
    max-width:none;
    padding:0;
    margin:0;
  }

  .intro {
    padding:8mm 0;
    break-after:page;
    border:0;
  }

  .intro h2 {
    font-size:34pt;
  }

  .intro>p {
    font-size:11pt;
  }

  .principles {
    gap:8mm;
    margin-top:14mm;
    grid-template-columns:repeat(3,1fr);
  }

  .principles h3 {
    font-size:11pt;
  }

  .principles p {
    font-size:9pt;
  }

  .index {
    padding:6mm 0;
    break-after:page;
  }

  .index-head h2 {
    font-size:27pt;
  }

  .toc-grid {
    gap:6mm 9mm;
    margin-top:9mm;
    grid-template-columns:1fr 1fr;
  }

  .toc-group {
    break-inside:avoid;
  }

  .toc-group-name {
    font-size:7pt;
    padding-bottom:5pt;
    letter-spacing:.4pt;
  }

  .toc-group-name b {
    font-size:11pt;
  }

  .toc-group>a {
    font-size:7.2pt;
    padding:4pt 0;
    gap:4pt;
    grid-template-columns:17pt 1fr 10pt;
  }

  .toc-group>a>span:first-child {
    font-size:7pt;
  }

  .index-note {
    font-size:8pt;
  }

  .pillar {
    padding:0;
  }

  .pillar-heading {
    display:none;
  }

  .chapter {
    break-before:page;
    border:0;
    border-radius:0;
    margin:0;
    padding:2mm 0 0;
    scroll-margin:0;
    break-inside:auto;
  }

  .chapter-top {
    margin-bottom:7mm;
    gap:5mm;
  }

  .chapter-index {
    font-size:31pt;
  }

  .chapter-top .eyebrow {
    font-size:7pt;
    letter-spacing:1pt;
  }

  .chapter-top .status {
    font-size:6pt;
  }

  .chapter h3 {
    font-size:28pt;
    max-width:none;
    line-height:1.1;
  }

  .chapter-lead {
    font-size:10pt;
    line-height:1.6;
    margin-bottom:0;
  }

  .subdomains {
    margin-top:6mm;
    padding-top:5mm;
  }

  .section-caption {
    font-size:7pt;
    margin-bottom:5mm;
  }

  .subdomain-grid {
    gap:5mm 8mm;
    grid-template-columns:1fr 1fr;
  }

  .subdomain {
    break-inside:avoid;
  }

  .subdomain h4 {
    font-size:9pt;
  }

  .subdomain p {
    font-size:8.5pt;
    line-height:1.55;
  }

  .flagship {
    break-inside:avoid;
    margin-top:7mm;
    padding:6mm;
    border-left-width:2pt;
  }

  .flagship-label {
    font-size:7pt;
    margin-bottom:3mm;
  }

  .flagship h4 {
    font-size:20pt;
  }

  .flagship p {
    font-size:8.5pt;
    line-height:1.6;
  }

  .implementation {
    break-inside:avoid;
    margin-top:5mm;
    grid-template-columns:30mm 1fr;
    gap:5mm;
  }

  .implementation>span {
    font-size:6.5pt;
  }

  .implementation p {
    font-size:7pt;
    line-height:1.6;
  }

  .scope {
    display:none;
  }

  .ref {
    font-size:6pt;
  }

  .method {
    break-before:page;
    margin:0;
    padding-top:8mm;
    border:0;
  }

  .method-grid {
    gap:8mm;
  }

  .method h2 {
    font-size:30pt;
  }

  .method-item p {
    font-size:9pt;
  }

  .sources {
    break-before:page;
    margin-top:0;
    padding-top:5mm;
  }

  .sources ol {
    gap:6mm 9mm;
    grid-template-columns:1fr 1fr;
  }

  .sources li {
    break-inside:avoid;
  }

  .sources li a,
.sources li p {
    font-size:8pt;
  }

  .colophon {
    font-size:7pt;
    margin-top:10mm;
  }

  .measure-mode .chapter {
    break-before:auto;
    break-inside:avoid;
    margin-bottom:8mm;
    padding-top:4mm;
  }

  .measure-mode .pillar {
    break-before:page;
  }

  .measure-mode .chapter h3 {
    font-size:18pt;
  }

  .measure-mode .flagship {
    margin-top:4mm;
  }

  .measure-mode .flagship h4 {
    font-size:17pt;
  }

  .measure-mode .chapter-top {
    margin-bottom:4mm;
  }

  .measure-mode .chapter-index {
    font-size:22pt;
  }
}

.chapter>.flagship {
  margin-top:20px;
  margin-bottom:24px;
}

@media(max-width:600px) {
  .chapter-top .chapter-index {
    grid-row:auto;
  }
}

@media print {
  .chapter>.flagship {
    margin-top:5mm;
    margin-bottom:6mm;
  }

  .measure-mode .chapter>.flagship {
    margin-top:4mm;
    margin-bottom:4mm;
  }
}

@media screen and (max-width:600px) {
  .hero h1 {
    font-size:clamp(48px,15vw,86px);
  }
}

.hero {
  background:linear-gradient(118deg,#003399 0%,#003399 52%,#002775 100%);
  color:#fff;
  min-height:760px;
}

.hero:after {
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:6px;
  background:var(--warm);
}

.hero .hero-meta {
  color:#e0eeff;
  font-weight:600;
  letter-spacing:1.7px;
  font-size: .8125rem;
}

.hero .hero-meta .draft {
  color:#fff;
  border-color:#ffffff45;
  background:#ffffff0b;
  font-size: .8125rem;
}

.hero h1 {
  font-family:var(--sans);
  font-weight:800;
  font-size:clamp(76px,8.6vw,124px);
  letter-spacing:-.065em;
  line-height:.98;
  max-width:760px;
  margin-top:70px;
  margin-bottom:29px;
}

.hero h1 .horizon {
  font-family:inherit;
  font-style:normal;
  font-weight:800;
  letter-spacing:inherit;
  line-height:1;
}

.hero h1 .year {
  font-family:inherit;
  font-weight:800;
  font-size:1.16em;
  letter-spacing:-.065em;
  line-height:1.05;
  margin-top:1px;
  color:#ffcc00;
}

.hero h1 .year {
  background:none;
  color:#ffcc00;
  -webkit-text-fill-color:#ffcc00;
  width:fit-content;
  padding-right:.1em;
}

.hero-statement {
  font-weight:600;
  font-size:clamp(22px,2.05vw,29px);
  letter-spacing:-.5px;
  line-height:1.4;
}

.hero-desc {
  color:#e0edff;
  line-height:1.8;
  max-width:485px;
  font-size: 1.0625rem;
}

.hero-cta {
  --cta-gradient:linear-gradient(105deg,#dc0b50 0%,#e6423b 62%,#ffcc00 100%);
  width:320px;
  max-width:100%;
  min-height:68px;
  justify-content:space-between;
  background:var(--cta-gradient);
  color:#fff;
  border-radius:999px;
  padding:20px 26px;
  font-size:18px;
  line-height:1.4;
  font-weight:800;
  box-shadow:0 8px 24px #001c6840;
  gap:24px;
  transition:transform .18s,box-shadow .18s;
}

.hero-cta:hover {
  background:var(--cta-gradient);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 12px 28px #001c6860;
}

.hero-art {
  opacity:.94;
  right:-150px;
  top:44px;
}

.hero-footer {
  border-top-color:#ffffff38;
  padding-top:26px;
  padding-bottom:30px;
  margin-top:44px;
  gap:42px;
}

.hero-stat b {
  color:#fff;
  font-weight:800;
  font-size:32px;
  letter-spacing:-1.2px;
}

.hero-stat span {
  color:#dbeaff;
  letter-spacing:1px;
  font-size: .875rem;
}

.hero-stat:nth-child(2) b {
  color:#5ce1e6;
}

.hero-stat:nth-child(3) b {
  color:#ffcc00;
}

.hero-footer .date {
  color:#dbeaff;
  font-size: .875rem;
}

.blue {
  --accent:#003399;
  --tint:#edf4ff;
  --spot:#00aaee;
}

.teal {
  --accent:#00688d;
  --tint:#e9faff;
  --spot:#00aaee;
}

.orange {
  --accent:#b40d45;
  --tint:#fff0f5;
  --spot:#ff1166;
}

.violet {
  --accent:#6234bc;
  --tint:#f3eeff;
  --spot:#8c52ff;
}

.rail-label {
  color:#003399;
  font-weight:800;
  letter-spacing:1.4px;
  font-size: .875rem;
}

.rail a {
  border-radius:0 10px 10px 0;
  margin-bottom:3px;
  padding-top:11px;
  padding-bottom:11px;
  font-size: 1rem;
}

.rail a:hover,
.rail a.active {
  background:#e8f1ff;
  border-left-color:#00aaee;
  color:#003399;
}

.rail a.active {
  font-weight:700;
}

.rail a span {
  color:#5d7294;
  font-weight:700;
  font-size: .875rem;
}

.rail-foot {
  background:#fff;
  border:1px solid #dce5f3;
  border-radius:12px;
  padding:18px 15px;
  font-size: .9375rem;
}

.rail-foot strong {
  color:#003399;
  font-size: 1rem;
}

.intro .eyebrow,
.method>.eyebrow {
  color:#b40d45;
}

.intro h2,
.index-head h2,
.method h2,
.sources h2 {
  font-family:var(--sans);
  font-weight:800;
  color:#003399;
  letter-spacing:-1.4px;
  line-height:1.13;
}

.intro h2 {
  font-size:46px;
}

.intro strong {
  color:#003399;
}

.principles {
  gap:17px;
}

.principles div {
  border:1px solid #dce5f3;
  border-top:4px solid #00aaee;
  border-radius:13px;
  background:#fff;
  padding:21px 18px;
  box-shadow:0 6px 18px #00339905;
}

.principles div:nth-child(2) {
  border-top-color:#ff1166;
}

.principles div:nth-child(3) {
  border-top-color:#ffcc00;
}

.principles span {
  font-weight:800;
  color:#003399;
  font-size: .875rem;
}

.principles h3 {
  color:#003399;
  line-height:1.35;
  margin-top:13px;
  font-size: 1.125rem;
}

.search-box {
  border-radius:14px;
  border-color:#cddcf2;
  padding:15px 18px;
  box-shadow:0 5px 15px #00339904;
}

.search-box:focus-within {
  outline-color:#00aaee;
}

.search-box svg {
  color:#003399;
}

.search-box button {
  color:#003399;
  font-weight:700;
  font-size: .9375rem;
}

.toc-group-name {
  border-bottom:3px solid var(--spot);
  color:#003399;
  letter-spacing:.7px;
  line-height:1.5;
  font-size: .9375rem;
}

.toc-group-name b {
  font-weight:800;
  font-family:var(--sans);
  color:var(--accent);
}

.toc-group>a {
  border-bottom-color:#dce5f3;
  padding-top:11px;
  padding-bottom:11px;
  transition:background .15s;
  font-size: 1.0625rem;
}

.toc-group>a:hover {
  color:#003399;
}

.toc-group>a>span:first-child {
  font-weight:700;
  font-size: .875rem;
}

.toc-group>a b {
  color:#003399;
  font-size: 1rem;
}

.pillar-heading {
  background:linear-gradient(115deg,#003399,#0044b8);
  border-radius:19px;
  padding-top:38px;
  padding-bottom:38px;
  box-shadow:0 10px 28px #00339912;
  border-bottom:4px solid var(--spot);
}

.pillar-heading .eyebrow {
  color:#fff;
  font-weight:800;
  font-size: .8125rem;
}

.pillar-heading .eyebrow span {
  color:#e3efff;
  font-size: .8125rem;
}

.pillar-heading h2 {
  font-family:var(--sans);
  font-weight:800;
  letter-spacing:-1.3px;
  font-size:39px;
  line-height:1.14;
}

.pillar-heading>p {
  color:#e3efff;
  line-height:1.8;
  font-size: 1.0625rem;
}

.pillar-orbit {
  border-color:#5ce1e6;
  opacity:.36;
}

.pillar-orbit i {
  border-color:#5ce1e6;
}

.pillar-orbit i:nth-child(3) {
  background:linear-gradient(135deg,#00aaee,#8c52ff);
}

.chapter {
  border-color:#dce5f3;
  border-radius:16px;
  box-shadow:0 7px 24px #00339905;
}

.chapter-top {
  gap:17px;
}

.chapter-index {
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:54px;
  height:54px;
  border-radius:13px;
  background:var(--tint);
  color:var(--accent);
  font-size:29px;
  letter-spacing:-1.2px;
}

.chapter-top .eyebrow {
  font-weight:700;
  color:#596b86;
  font-size: .8125rem;
}

.chapter h3 {
  font-family:var(--sans);
  font-weight:800;
  color:#003399;
  font-size:34px;
  letter-spacing:-1px;
  line-height:1.17;
}

.chapter-lead {
  line-height:1.8;
  font-size: 1.125rem;
}

.flagship {
  border:1px solid var(--line);
  border-left:5px solid var(--spot);
  border-radius:0 14px 14px 0;
  background:var(--tint);
  padding:24px 25px 25px;
}

.flagship-label {
  color:var(--accent);
  letter-spacing:1.5px;
  font-weight:800;
  font-size: .8125rem;
}

.sun-mark {
  color:var(--accent);
}

.flagship h4 {
  font-family:var(--sans);
  font-weight:800;
  color:#003399;
  font-size:25px;
  line-height:1.25;
  letter-spacing:-.6px;
}

.flagship p {
  color:#333333;
  line-height:1.8;
  font-size: 1.0625rem;
}

.section-caption {
  color:var(--accent);
  font-weight:800;
  font-size: .8125rem;
}

.subdomain h4 {
  color:#003399;
  line-height:1.5;
  font-size: 1.0625rem;
}

.subdomain p {
  line-height:1.75;
  font-size: 1.0625rem;
}

.implementation {
  padding:14px 15px;
  background:#f8faff;
  border-radius:9px;
  border:1px solid #e6edf8;
}

.implementation>span {
  color:#003399;
  font-weight:700;
  font-size: .8125rem;
}

.ref {
  color:#003399;
  border-color:#b8cdf0;
  background:#fff;
  border-radius:4px;
  font-size: .8125rem;
}

.scope summary {
  color:#4d6488;
  font-size: .9375rem;
}

.scope summary span {
  color:#003399;
  font-weight:700;
}

.back-index {
  color:#003399;
  font-weight:700;
  margin-top:5px;
  font-size: .9375rem;
}

.method {
  border-top:4px solid #003399;
}

.method-item {
  border-top-color:#cddcf2;
}

.method-item span {
  color:#b40d45;
  font-weight:700;
  font-size: .875rem;
}

.method-item h3 {
  color:#003399;
  font-size: 1.125rem;
}

.method-last {
  background:#003399;
  border-radius:13px;
  padding:22px 25px;
  font-size: 1.0625rem;
}

.method-last strong {
  color:#ffcc00;
}

.sources li>b {
  color:#003399;
  font-weight:700;
  font-size: .875rem;
}

.sources li a {
  color:#003399;
  border-bottom-color:#bdcff0;
}

.sources li a:hover {
  color:#b40d45;
}

.colophon strong {
  color:#003399;
}

.closing {
  background:#003399;
  border-top:5px solid #ff1166;
}

.closing p {
  font-family:var(--sans);
  font-style:normal;
  font-weight:800;
  letter-spacing:-1.5px;
  color:#fff;
}

.closing span {
  color:#dbeaff;
  font-size: .875rem;
}

.closing a {
  border-radius:999px;
  border-color:#ffffff80;
  font-weight:700;
  font-size: 1rem;
}

.closing a:hover {
  background:#fff;
  color:#003399;
}

@media screen and (min-width:1500px) {
  .hero-art {
    right:-25px;
  }
}

@media screen and (max-width:1100px) {
  .hero-art {
    right:-310px;
    opacity:.65;
  }

  .hero h1 {
    font-size:100px;
  }
}

@media screen and (max-width:900px) {
  .hero {
    min-height:0;
  }

  .hero-inner {
    padding-left:40px;
    padding-right:40px;
  }

  .hero h1 {
    font-size:clamp(74px,11.5vw,98px);
    margin-top:60px;
  }

  .hero-art {
    right:-420px;
    opacity:.43;
  }

  .hero-footer {
    gap:28px;
  }

  .intro h2 {
    font-size:40px;
  }

  .pillar-heading h2 {
    font-size:35px;
  }
}

@media screen and (max-width:600px) {
  .hero-inner {
    padding:29px 25px 0;
  }

  .hero .hero-meta {
    gap:14px;
    flex-wrap:wrap;
    letter-spacing:1px;
    font-size: .8125rem;
  }

  .hero .hero-meta .draft {
    letter-spacing:.6px;
    padding:6px 9px;
    font-size: .8125rem;
  }

  .hero h1 {
    font-size:clamp(48px,14.3vw,82px);
    line-height:1;
    margin-top:48px;
    letter-spacing:-.06em;
  }

  .hero h1 .year {
    font-size:1.16em;
    letter-spacing:-.06em;
  }

  .hero-statement {
    font-size:22px;
    line-height:1.45;
    margin-top:23px;
  }

  .hero-desc {
    max-width:315px;
    font-size: 1.0625rem;
  }

  .hero-art {
    right:-460px;
    top:45px;
    opacity:.25;
  }

  .hero-cta {
    width:320px;
    max-width:100%;
    min-height:64px;
    font-size:18px;
    padding:18px 22px;
    gap:18px;
  }

  .hero-footer {
    gap:14px;
    margin-top:36px;
    padding:22px 0 29px;
  }

  .hero-stat b {
    font-size:27px;
  }

  .hero-stat span {
    letter-spacing:.4px;
    font-size: .875rem;
  }

  .intro h2 {
    font-size:33px;
    letter-spacing:-1px;
  }

  .principles {
    gap:12px;
  }

  .principles div {
    padding:16px;
    grid-template-columns:25px 1fr;
  }

  .principles h3 {
    margin-top:0;
    font-size: 1.125rem;
  }

  .search-box {
    padding:13px;
    border-radius:12px;
  }

  .toc-group>a {
    padding-top:11px;
    padding-bottom:11px;
    font-size: 1.0625rem;
  }

  .pillar-heading {
    padding:25px 23px;
    border-radius:14px;
  }

  .pillar-heading h2 {
    font-size:30px;
    letter-spacing:-.9px;
  }

  .chapter {
    padding:25px 20px 20px;
    border-radius:13px;
  }

  .chapter-top {
    grid-template-columns:44px 1fr;
    gap:12px;
  }

  .chapter-index {
    min-width:44px;
    height:44px;
    font-size:25px;
    border-radius:10px;
    grid-row:auto;
  }

  .chapter h3 {
    font-size:28px;
    letter-spacing:-.7px;
  }

  .flagship {
    padding:19px 17px;
    border-radius:0 11px 11px 0;
  }

  .flagship h4 {
    font-size:22px;
    letter-spacing:-.4px;
  }

  .flagship p {
    font-size: 1.0625rem;
  }

  .subdomain p {
    font-size: 1.0625rem;
  }

  .implementation {
    padding:12px;
  }

  .method h2 {
    font-size:29px;
  }

  .method-last {
    padding:19px;
    font-size: 1.0625rem;
  }

  .closing p {
    font-size:34px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero-cta:hover {
    transform:none;
  }
}

@media print {
  .index {
    padding-top:4mm;
  }

  .index-head h2 {
    font-size:24pt;
  }

  .toc-grid {
    margin-top:6mm;
    gap:5mm 9mm;
  }

  .index-note {
    margin-top:3mm;
  }

  .hero {
    background:#003399!important;
    min-height:0;
    height:260mm;
  }

  .hero h1 {
    font-size:66pt;
    margin-top:29mm;
    letter-spacing:-3.5pt;
    max-width:none;
  }

  .hero h1 .year {
    font-size:82pt;
    color:#ffcc00;
    background:none;
    -webkit-text-fill-color:#ffcc00;
    letter-spacing:-4pt;
  }

  .hero .hero-meta {
    font-size:7pt;
  }

  .hero .hero-meta .draft {
    font-size:6pt;
  }

  .hero-statement {
    font-size:20pt;
  }

  .hero-desc {
    font-size:10pt;
    max-width:110mm;
  }

  .hero-art {
    width:235mm;
    height:220mm;
    right:-116mm;
    top:17mm;
    opacity:.6;
  }

  .hero-footer {
    margin-top:23mm;
    padding-top:8mm;
    gap:9mm;
  }

  .hero-stat b {
    font-size:24pt;
  }

  .hero-stat span {
    font-size:7pt;
  }

  .intro h2 {
    font-size:31pt;
  }

  .principles div {
    padding:5mm;
    box-shadow:none;
  }

  .principles span {
    font-size:9pt;
  }

  .principles h3 {
    font-size:10pt;
    margin-top:3mm;
  }

  .principles p {
    font-size:8.5pt;
  }

  .toc-group-name {
    font-size:7pt;
  }

  .toc-group>a {
    padding:4pt 0;
  }

  .toc-group-name b {
    font-size:11pt;
  }

  .chapter {
    border:0;
    border-radius:0;
    box-shadow:none;
    padding:2mm 0 0;
  }

  .chapter-index {
    min-width:14mm;
    height:14mm;
    font-size:28pt;
    border-radius:3mm;
  }

  .chapter h3 {
    font-size:25pt;
    letter-spacing:-.7pt;
  }

  .chapter-lead {
    font-size:10pt;
    line-height:1.6;
  }

  .flagship {
    padding:5mm;
    border-radius:0 3mm 3mm 0;
    border-left-width:2pt;
  }

  .flagship-label {
    font-size:7pt;
  }

  .flagship h4 {
    font-size:18pt;
    line-height:1.25;
  }

  .flagship p {
    font-size:8.5pt;
    line-height:1.6;
  }

  .subdomain h4 {
    font-size:9pt;
  }

  .subdomain p {
    font-size:8.5pt;
    line-height:1.55;
  }

  .implementation {
    padding:3mm;
  }

  .implementation p {
    font-size:7pt;
    line-height:1.6;
  }

  .method h2 {
    font-size:28pt;
  }

  .method-last {
    padding:5mm;
  }

  .measure-mode .chapter-index {
    min-width:12mm;
    height:12mm;
    font-size:22pt;
  }

  .measure-mode .chapter h3 {
    font-size:18pt;
  }

  .measure-mode .flagship h4 {
    font-size:16pt;
  }
}

.bio-teaser {
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-left:24px;
  color:#fff;
  font-weight:700;
  text-decoration:none;
  padding:15px 0;
  border-bottom:1px solid #ffffff66;
  font-size: 1rem;
}

.bio-teaser svg {
  width:18px;
  height:18px;
}

.bio-teaser:hover {
  border-bottom-color:#ffcc00;
  color:#ffcc00;
}

@media(max-width:600px) {
  .bio-teaser {
    display:flex;
    width:fit-content;
    margin:18px 0 0;
    padding:9px 0;
    font-size: 1rem;
  }

  .bio-teaser svg {
    width:16px;
    height:16px;
  }
}

@media print {
  .bio-teaser {
    display:none!important;
  }
}


/* Candidat : biographie et parcours. */
.bio-hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(118deg,#003399 0%,#003399 52%,#002775 100%);
  color:#fff;
}

.bio-hero:after {
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:6px;
  background:var(--warm);
}

.bio-hero-inner {
  max-width:1280px;
  margin:auto;
  position:relative;
  z-index:2;
  padding:48px 64px 58px;
}

.bio-hero .hero-meta {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  letter-spacing:1.7px;
  text-transform:uppercase;
  color:#e0eeff;
  font-weight:700;
  font-size: .8125rem;
}

.bio-hero .hero-meta span:last-child {
  border:1px solid #ffffff45;
  border-radius:30px;
  padding:7px 13px;
}

.bio-hero h1 {
  font-size:clamp(74px,8.6vw,122px);
  font-weight:800;
  line-height:.99;
  letter-spacing:-.065em;
  margin:66px 0 30px;
  max-width:620px;
}

.bio-hero h1 span {
  display:block;
  color:#ffcc00;
}

.bio-intro {
  font-weight:600;
  line-height:1.5;
  max-width:530px;
  margin:0 0 24px;
  color:#e4efff;
  font-size: 1.25rem;
}

.bio-declaration {
  font-size:28px;
  line-height:1.38;
  font-weight:700;
  max-width:560px;
  letter-spacing:-.7px;
  margin:0 0 29px;
}

.bio-dawn {
  position:absolute;
  right:-90px;
  top:42px;
  width:810px;
  height:auto;
  opacity:.92;
  pointer-events:none;
}

.bio-cta {
  width:300px;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
  background:linear-gradient(105deg,#dc0b50 0%,#e6423b 62%,#ffcc00 100%);
  color:#fff;
  border-radius:999px;
  min-height:58px;
  padding:15px 24px;
  font-weight:800;
  font-size:16px;
  text-decoration:none;
  box-shadow:0 8px 24px #001c6840;
}

.bio-cta:hover {
  transform:translateY(-2px);
}

.bio-cta svg {
  width:19px;
  height:19px;
  flex-shrink:0;
}

/* Portrait du candidat : le cadrage carré conserve la photographie entière. */
.bio-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-areas: "identity portrait" "message portrait";
  gap: 26px clamp(32px, 5vw, 72px);
  margin-top: 46px;
}

.bio-identity { grid-area: identity; align-self: end; min-width: 0; }
.bio-hero-message { grid-area: message; align-self: start; min-width: 0; }

.candidate-portrait {
  grid-area: portrait;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding: 8px;
  border: 1px solid #ffffff70;
  border-radius: 20px;
  background: #fffefa;
  box-shadow: 0 22px 60px #00164135, 0 2px 8px #00164118;
  color: var(--navy);
}

.candidate-portrait-image {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 13px;
  background: #e5e3df;
}

.candidate-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.candidate-portrait figcaption { padding: 20px 18px 16px; }
.candidate-portrait-name { display: block; font-size: 1.125rem; font-weight: 800; line-height: 1.4; }
.candidate-portrait-role { display: block; margin-top: 4px; font-size: .9375rem; line-height: 1.5; color: var(--muted); }

@media screen {
  .bio-hero .bio-hero-content h1 { margin: 0 0 24px; font-size: clamp(4.5rem, 7.6vw, 7rem); }
  .bio-hero-content .bio-intro { margin: 0; }
  .bio-hero-content .bio-declaration { font-size: clamp(1.375rem, 2.15vw, 1.75rem); line-height: 1.5; }
  .bio-hero-content .bio-cta { font-size: 1rem; }
  .bio-hero .bio-dawn { opacity: .16; right: -120px; }
}

@media screen and (max-width: 860px) {
  .bio-hero-content {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "identity" "portrait" "message";
    gap: 30px;
    max-width: 520px;
    margin: 34px auto 0;
    text-align: center;
  }
  .bio-hero .bio-hero-content h1 { font-size: clamp(2.75rem, 8vw, 4.5rem); margin-bottom: 14px; }
  .bio-hero .bio-hero-content h1 span { display: inline; }
  .bio-hero-content .bio-intro { max-width: none; font-size: 1.125rem; }
  .candidate-portrait { justify-self: center; max-width: 340px; text-align: left; }
  .bio-hero-content .bio-declaration { max-width: none; margin-bottom: 24px; }
  .bio-hero .bio-dawn { right: -280px; opacity: .1; }
}

@media screen and (max-width: 600px) {
  .bio-hero-content { gap: 26px; margin-top: 28px; }
  .candidate-portrait { max-width: 320px; border-radius: 17px; padding: 7px; }
  .candidate-portrait-image { border-radius: 11px; }
  .candidate-portrait figcaption { padding: 16px 13px 12px; }
  .candidate-portrait-role { font-size: .875rem; }
}

@media print {
  .bio-hero-content { grid-template-columns: minmax(0, 1fr) 55mm; gap: 12px 24px; margin-top: 24px; }
  .bio-hero .bio-hero-content h1 { margin: 0 0 16px; font-size: 40pt; }
  .bio-hero-content .bio-intro { margin: 0; }
  .bio-hero-content .bio-declaration { font-size: 14pt; }
  .candidate-portrait { border: 0; border-radius: 10px; padding: 5px; box-shadow: none; break-inside: avoid; }
  .candidate-portrait-image { border-radius: 6px; }
  .candidate-portrait figcaption { padding: 10px 7px 7px; }
  .candidate-portrait-name { font-size: 11pt; }
  .candidate-portrait-role { font-size: 9pt; }
}

.bio-layout {
  max-width:1240px;
  padding:62px 40px 74px;
  margin:auto;
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:48px;
  align-items:start;
}

.bio-index {
  position:sticky;
  top:113px;
}

.index-kicker {
  letter-spacing:1.6px;
  font-weight:800;
  text-transform:uppercase;
  color:#003399;
  margin:0 0 19px;
  font-size: .875rem;
}

.bio-index a {
  display:flex;
  gap:12px;
  align-items:baseline;
  text-decoration:none;
  padding:12px 12px;
  border-left:2px solid #dce5f3;
  border-radius:0 9px 9px 0;
  color:#53627a;
  line-height:1.5;
  margin:3px 0;
  font-size: 1rem;
}

.bio-index a span {
  font-weight:800;
  color:#6e85aa;
  min-width:20px;
  font-size: .875rem;
}

.bio-index a:hover,
.bio-index a.active {
  background:#e8f1ff;
  border-left-color:#00aaee;
  color:#003399;
}

.bio-index a.active {
  font-weight:700;
}

.bio-index .return-project {
  border:1px solid #cddcf2;
  border-radius:12px;
  margin-top:25px;
  background:#fff;
  color:#003399;
  font-weight:700;
  align-items:center;
  justify-content:space-between;
  padding:14px;
}

.return-project svg {
  width:16px;
  height:16px;
  flex-shrink:0;
}

.bio-main {
  min-width:0;
}

.bio-section {
  --section-color:#003399;
  --section-tint:#edf4ff;
  background:#fff;
  border:1px solid #dce5f3;
  border-radius:18px;
  padding:38px 42px;
  margin:0 0 27px;
  box-shadow:0 7px 24px #00339905;
  scroll-margin-top:108px;
}

.bio-section:last-child {
  margin-bottom:0;
}

.accent-cyan {
  --section-color:#00688d;
  --section-tint:#e9faff;
}

.accent-pink {
  --section-color:#b40d45;
  --section-tint:#fff0f5;
}

.accent-violet {
  --section-color:#6234bc;
  --section-tint:#f3eeff;
}

.accent-gold {
  --section-color:#825a00;
  --section-tint:#fff8e2;
}

.section-top {
  display:flex;
  align-items:flex-start;
  gap:18px;
  margin-bottom:25px;
}

.section-number {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:53px;
  height:53px;
  border-radius:13px;
  background:var(--section-tint);
  color:var(--section-color);
  font-weight:800;
  font-size:26px;
  letter-spacing:-1px;
}

.section-top h2 {
  flex:1;
  min-width:0;
  font-size:29px;
  line-height:1.2;
  letter-spacing:-.8px;
  font-weight:800;
  color:#003399;
  margin:6px 0 0;
  max-width:620px;
}

.prose {
  line-height:1.85;
  overflow-wrap:break-word;
  font-size: 1.125rem;
}

.prose p {
  margin:0 0 19px;
}

.prose p:last-child {
  margin-bottom:0;
}

.prose strong {
  color:#003399;
  font-weight:800;
}

.prose .lead {
  line-height:1.8;
  font-size: 1.125rem;
}

.prose .statement {
  font-size:28px;
  line-height:1.35;
  color:#003399;
  font-weight:800;
  letter-spacing:-.6px;
  margin:30px 0;
  padding:24px 25px;
  background:var(--section-tint);
  border-left:4px solid var(--section-color);
  border-radius:0 13px 13px 0;
}

.prose>.statement:first-child {
  margin-top:0;
}

.vision {
  padding:24px 25px;
  border:1px solid #dce5f3;
  border-radius:14px;
  background:#f7faff;
  margin:28px 0;
}

.vision p {
  font-size: 1.0625rem;
}

.vision ul {
  list-style:none;
  margin:19px 0 23px;
  padding:0;
}

.vision li {
  position:relative;
  padding-left:22px;
  margin:10px 0;
  line-height:1.7;
  font-size: 1.0625rem;
}

.vision li:before {
  content:'';
  position:absolute;
  left:0;
  top:.68em;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#00aaee;
}

.prose blockquote {
  margin:25px 0;
  padding:24px 25px;
  background:var(--section-tint);
  border-left:4px solid var(--section-color);
  border-radius:0 13px 13px 0;
  font-size:25px;
  line-height:1.5;
  color:#003399;
  font-weight:700;
  letter-spacing:-.3px;
}

.priorities {
  padding-left:23px;
  margin:0 0 22px;
}

.priorities li {
  padding-left:5px;
  margin:10px 0;
}

.priorities li::marker {
  color:#ff1166;
}

.timeline-item {
  position:relative;
  padding:0 0 30px 29px;
  margin-left:5px;
  border-left:2px solid #dce5f3;
}

.timeline-item:last-child {
  padding-bottom:0;
}

.timeline-item:before {
  content:'';
  position:absolute;
  width:12px;
  height:12px;
  left:-7px;
  top:7px;
  border-radius:50%;
  background:#00aaee;
  border:2px solid #fff;
  box-shadow:0 0 0 2px #dce5f3;
}

.timeline-item:nth-child(2):before,
.timeline-item:nth-child(4):before {
  background:#ff1166;
}

.timeline-date {
  display:inline-block;
  line-height:1.4;
  font-weight:800;
  color:#003399;
  letter-spacing:.4px;
  background:#edf4ff;
  padding:6px 10px;
  border-radius:7px;
  margin-bottom:13px;
  font-size: .9375rem;
}

.timeline-item p:last-child {
  margin-bottom:0;
}

.bio-closing {
  background:#003399;
  border-top:5px solid #ff1166;
  padding:42px max(30px,7%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  color:#fff;
}

.bio-closing p {
  font-weight:800;
  font-size:35px;
  line-height:1.2;
  letter-spacing:-1px;
  margin:0;
}

.bio-closing a {
  display:flex;
  align-items:center;
  gap:24px;
  white-space:nowrap;
  border:1px solid #ffffff80;
  border-radius:999px;
  padding:14px 20px;
  text-decoration:none;
  font-weight:700;
  font-size: 1rem;
}

.bio-closing a:hover {
  background:#fff;
  color:#003399;
}

@media(min-width:1500px) {
  .bio-dawn {
    right:3%;
  }
}

@media(max-width:1100px) {
  .bio-layout {
    grid-template-columns:190px minmax(0,1fr);
    gap:25px;
    padding-left:25px;
    padding-right:25px;
  }

  .bio-section {
    padding:30px;
  }

  .bio-dawn {
    right:-265px;
    opacity:.65;
  }

  .bio-hero-inner {
    padding-left:45px;
    padding-right:45px;
  }
}

@media(max-width:850px) {
  .bio-layout {
    display:block;
    max-width:800px;
    padding-top:30px;
  }

  .bio-index {
    position:static;
    display:flex;
    flex-wrap:wrap;
    gap:4px 12px;
    margin-bottom:30px;
  }

  .bio-index a {
    flex:0 1 48%;
    min-width:0;
    font-size: 1rem;
  }

  .index-kicker {
    width:100%;
    margin-bottom:9px;
    font-size: .875rem;
  }

  .bio-index .return-project {
    display:none;
  }

  .bio-dawn {
    right:-350px;
    opacity:.4;
  }

  .bio-hero h1 {
    font-size:92px;
  }

  .bio-declaration {
    max-width:540px;
  }
}

@media(max-width:600px) {
  .bio-hero-inner {
    padding:30px 25px 39px;
  }

  .bio-hero .hero-meta {
    letter-spacing:.8px;
    gap:10px;
    flex-wrap:wrap;
    font-size: .8125rem;
  }

  .bio-hero .hero-meta span:last-child {
    padding:6px 10px;
  }

  .bio-hero h1 {
    font-size:clamp(62px,19vw,92px);
    margin:48px 0 25px;
    letter-spacing:-.06em;
  }

  .bio-intro {
    max-width:290px;
    margin-bottom:20px;
    font-size: 1.25rem;
  }

  .bio-declaration {
    font-size:23px;
    line-height:1.45;
    letter-spacing:-.4px;
    max-width:320px;
  }

  .bio-dawn {
    width:620px;
    right:-355px;
    top:80px;
    opacity:.23;
  }

  .bio-cta {
    min-height:55px;
    font-size:15px;
    padding:15px 22px;
    gap:26px;
  }

  .bio-layout {
    padding:25px 16px 40px;
  }

  .bio-index {
    gap:2px 6px;
    margin-bottom:24px;
  }

  .bio-index a {
    gap:7px;
    padding:10px 8px;
    font-size: 1rem;
  }

  .bio-index a span {
    min-width:17px;
    font-size: .875rem;
  }

  .bio-section {
    padding:25px 21px;
    border-radius:14px;
    scroll-margin-top:86px;
    margin-bottom:18px;
  }

  .section-top {
    gap:13px;
    margin-bottom:23px;
  }

  .section-number {
    width:42px;
    height:42px;
    font-size:22px;
    border-radius:11px;
  }

  .section-top h2 {
    font-size:24px;
    letter-spacing:-.7px;
    margin-top:4px;
    line-height:1.23;
  }

  .prose,
.prose .lead {
    line-height:1.85;
    font-size: 1.125rem;
  }

  .prose p {
    margin-bottom:18px;
  }

  .prose .statement {
    font-size:24px;
    padding:21px 18px;
    margin:25px 0;
  }

  .vision {
    padding:21px 18px;
  }

  .vision p,
.vision li {
    font-size: 1.0625rem;
  }

  .prose blockquote {
    font-size:22px;
    padding:21px 18px;
  }

  .timeline-item {
    padding-left:22px;
    padding-bottom:27px;
  }

  .timeline-date {
    font-size: .9375rem;
  }

  .bio-closing {
    display:block;
    padding:30px 25px;
  }

  .bio-closing p {
    font-size:29px;
  }

  .bio-closing a {
    display:inline-flex;
    margin-top:22px;
    font-size: 1rem;
  }
}

@media(max-width:370px) {
  .bio-section {
    padding:23px 18px;
  }

  .section-top h2 {
    font-size:22px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .bio-cta:hover {
    transform:none;
  }
}

@media print {
  .bio-index,
.bio-cta,
.bio-closing,
.privacy-notice,
.legal-footer,
.legal-dialog {
    display:none!important;
  }

  .bio-hero {
    background:#003399!important;
    print-color-adjust:exact;
    -webkit-print-color-adjust:exact;
    border-radius:10px;
    break-inside:avoid;
  }

  .bio-hero-inner {
    padding:28px 34px 34px;
  }

  .bio-hero h1 {
    font-size:64px;
    margin:34px 0 22px;
  }

  .bio-intro {
    font-size:16px;
  }

  .bio-declaration {
    font-size:22px;
    margin-bottom:0;
  }

  .bio-dawn {
    right:-200px;
    top:-20px;
    width:650px;
    opacity:.3;
  }

  .bio-layout {
    display:block;
    padding:25px 0 0;
  }

  .bio-section {
    box-shadow:none;
    padding:25px 28px;
    margin-bottom:20px;
    break-inside:auto;
  }

  .section-top {
    break-after:avoid;
  }

  .section-top h2 {
    font-size:23px;
  }

  .section-number {
    width:42px;
    height:42px;
    font-size:22px;
    print-color-adjust:exact;
  }

  .prose,
.prose .lead {
    font-size:11pt;
    line-height:1.65;
  }

  .prose p {
    orphans:3;
    widows:3;
  }

  .prose .statement {
    font-size:20px;
    break-inside:avoid;
  }

  .vision {
    break-inside:avoid;
  }

  .prose blockquote {
    font-size:19px;
    break-inside:avoid;
  }

  .timeline-item {
    break-inside:avoid;
  }

  .bio-section a {
    text-decoration:none;
  }
}


/* Informations légales et confidentialité communes aux deux pages. */
.legal-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px max(25px,7%);
  background:#fff;
  border-top:1px solid #dce5f3;
  color:#53627a;
  font-size: .9375rem;
}

.legal-footer>span {
  color:#003399;
  font-weight:800;
}

.legal-footer nav {
  display:flex;
  gap:24px;
  flex-wrap:wrap;
}

.legal-footer a {
  color:#003399;
  text-decoration:none;
}

.legal-footer a:hover {
  text-decoration:underline;
}

.legal-dialog:not([open]) {
  display:none;
}

.legal-dialog {
  position:fixed;
  inset:0;
  width:720px;
  max-width:calc(100% - 32px);
  max-height:calc(100vh - 48px);
  max-height:calc(100dvh - 48px);
  padding:0;
  margin:auto;
  border:1px solid #dce5f3;
  border-radius:20px;
  background:#fff;
  color:#333;
  box-shadow:0 24px 100px #001d5959;
  overflow:hidden;
}

.legal-dialog[open] {
  display:flex;
  flex-direction:column;
}

.legal-dialog::backdrop {
  background:rgba(0,20,61,.65);
  backdrop-filter:blur(4px);
}

.legal-dialog-header {
  position:relative;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:24px 28px 20px;
  background:#fff;
  border-bottom:1px solid #e7edf7;
}

.legal-dialog-header:before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(105deg,#ff1166,#ffcc00);
}

.legal-dialog-header h2 {
  margin:0;
  color:#003399;
  font:800 24px/1.25 var(--sans);
  letter-spacing:-.5px;
}

.legal-close {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:42px;
  height:42px;
  padding:0;
  background:#edf4ff;
  color:#003399;
  border:1px solid #cddcf2;
  border-radius:50%;
  font:400 28px/1 var(--sans);
  cursor:pointer;
}

.legal-close:hover {
  background:#dceaff;
}

.legal-body {
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:14px 28px 28px;
  scroll-behavior:auto;
}

.legal-content {
  line-height:1.75;
  color:#333;
  font-size: 1rem;
}

.legal-content h3 {
  color:#003399;
  margin:23px 0 8px;
  line-height:1.4;
  font-size: 1.125rem;
}

.legal-content h3:first-child {
  margin-top:8px;
}

.legal-content a {
  color:#003399;
  text-underline-offset:3px;
  overflow-wrap:anywhere;
}

.legal-content p {
  margin:10px 0;
}

.legal-content .legal-reference {
  color:#53627a;
  margin-top:20px;
  font-size: .875rem;
}

.legal-identity {
  margin:20px 0;
}

.legal-identity>div {
  display:grid;
  grid-template-columns:155px minmax(0,1fr);
  gap:16px;
  padding:13px 0;
  border-bottom:1px solid #e7edf7;
}

.legal-identity dt {
  font-weight:700;
  color:#003399;
}

.legal-identity dd {
  margin:0;
  overflow-wrap:anywhere;
}

.privacy-notice {
  position:fixed;
  z-index:45;
  right:24px;
  bottom:24px;
  width:430px;
  max-width:calc(100vw - 48px);
  display:block;
  padding:23px;
  background:#fff;
  border:1px solid #dce5f3;
  border-radius:18px;
  box-shadow:0 15px 50px #001d5940;
  color:#333;
  overflow:hidden;
}

.privacy-notice:before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(105deg,#ff1166,#ffcc00);
}

.privacy-mark {
  float:left;
  margin-right:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  background:#e9faff;
  border-radius:12px;
  color:#003399;
}

.privacy-mark svg {
  width:24px;
  height:24px;
}

.privacy-copy {
  margin-left:57px;
}

.privacy-copy h2 {
  margin:0 0 7px;
  font:800 18px/1.25 var(--sans);
  letter-spacing:-.3px;
  color:#003399;
}

.privacy-copy p {
  line-height:1.65;
  margin:0;
  color:#53627a;
  font-size: 1rem;
}

.privacy-actions {
  clear:both;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:16px;
}

.privacy-primary,
.privacy-secondary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  border-radius:999px;
  padding:10px 18px;
  line-height:1.4;
  font-family:var(--sans);
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  font-size: .9375rem;
}

.privacy-primary {
  background:#003399;
  color:#fff;
  border:1px solid #003399;
  min-width:95px;
  font-size: .9375rem;
}

.privacy-primary:hover {
  background:#002877;
}

.privacy-secondary {
  background:#fff;
  color:#003399;
  border:1px solid #cddcf2;
  font-size: .9375rem;
}

.privacy-secondary:hover {
  background:#edf4ff;
}

@media(max-width:600px) {
  .legal-footer {
    display:block;
    padding:22px 25px;
    font-size: .9375rem;
  }

  .legal-footer nav {
    margin-top:13px;
    gap:12px 20px;
  }

  .legal-dialog {
    max-width:calc(100% - 24px);
    max-height:calc(100vh - 24px);
    max-height:calc(100dvh - 24px);
    border-radius:16px;
  }

  .legal-dialog-header {
    padding:20px 18px 16px;
    gap:12px;
  }

  .legal-dialog-header h2 {
    font-size:20px;
  }

  .legal-body {
    padding:10px 18px 22px;
  }

  .legal-content {
    font-size: 1rem;
  }

  .legal-identity>div {
    display:block;
  }

  .legal-identity dd {
    margin-top:5px;
  }

  .privacy-notice {
    right:14px;
    bottom:14px;
    max-width:calc(100vw - 28px);
    padding:20px;
  }

  .privacy-mark {
    width:35px;
    height:35px;
    border-radius:10px;
    margin-right:12px;
  }

  .privacy-copy {
    margin-left:47px;
  }

  .privacy-copy h2 {
    font-size:17px;
  }

  .privacy-actions {
    justify-content:stretch;
  }

  .privacy-actions>* {
    flex:1;
  }
}

@media print {
  .legal-footer,
.legal-dialog,
.privacy-notice,
.legal-dialog::backdrop {
    display:none!important;
  }
}

/* Mise en page de lecture : les petits écrans conservent les mêmes corps de texte.
   Ces adaptations écran laissent la pagination d'impression indépendante. */
@media screen {
  .document-wrap { grid-template-columns: 270px minmax(0, 1fr); gap: 40px; }
  .rail { top: var(--header-offset); height: calc(100vh - var(--header-offset) - 24px); }
  .bio-index { top: var(--header-offset); }
  .rail a, .bio-index a { min-height: 44px; padding-block: 12px; }
  .rail a { line-height: 1.55; }
  .rail-foot { line-height: 1.7; }
  .hero .hero-meta, .bio-hero .hero-meta { gap: 16px; flex-wrap: wrap; letter-spacing: .06em; }
  .hero .hero-meta .draft { letter-spacing: .04em; }
  .hero-desc { max-width: 34rem; line-height: 1.75; }
  .hero-stat { min-width: 0; }
  .hero-stat span { max-width: 150px; letter-spacing: .04em; text-transform: none; }
  .intro>p, .chapter-lead, .method-intro { line-height: 1.75; max-width: 70ch; }
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .principles p { line-height: 1.75; }
  .toc-grid { gap: 32px; }
  .toc-group-name { line-height: 1.5; letter-spacing: .04em; align-items: baseline; }
  .toc-group>a { min-height: 48px; padding: 13px 4px; line-height: 1.55; grid-template-columns: 28px minmax(0, 1fr) 16px; gap: 10px; }
  .search-box { min-height: 56px; }
  .search-box input { line-height: 1.5; }
  .search-box button { min-height: 44px; padding-inline: 8px; }
  .search-status, .index-note { line-height: 1.65; }
  .pillar-heading .eyebrow { flex-wrap: wrap; gap: 8px 18px; line-height: 1.6; letter-spacing: .05em; }
  .pillar-heading>p { max-width: 60ch; line-height: 1.75; }
  .chapter, .bio-section, .sources li { scroll-margin-top: 0; }
  .chapter-top .eyebrow, .flagship-label, .section-caption { line-height: 1.5; letter-spacing: .05em; }
  .subdomain-grid { gap: 28px 32px; }
  .subdomain h4 { margin-bottom: 9px; line-height: 1.45; }
  .subdomain p, .flagship p, .method-item p { line-height: 1.75; }
  .flagship p { max-width: 70ch; }
  .implementation { display: block; padding: 20px; }
  .implementation>span { display: block; margin-bottom: 10px; line-height: 1.5; }
  .implementation p { line-height: 1.75; }
  .ref { vertical-align: baseline; padding: 3px 6px; margin: 0 2px; line-height: 1.4; }
  .scope summary { min-height: 48px; padding-block: 14px; gap: 16px; align-items: center; line-height: 1.5; }
  .scope summary span { flex-shrink: 0; font-size: 1.25rem; }
  .scope p { line-height: 1.75; }
  .back-index { min-height: 44px; padding-block: 10px; line-height: 1.6; }
  .method-grid { gap: 28px 32px; }
  .method-item h3 { line-height: 1.4; margin-block: 10px; }
  .method-last { line-height: 1.75; }
  .sources ol { gap: 24px 32px; }
  .sources li { overflow-wrap: anywhere; }
  .sources li p { line-height: 1.65; }
  .colophon { flex-wrap: wrap; line-height: 1.6; }
  .closing a, .bio-closing a { min-height: 44px; }
  .prose, .prose .lead { line-height: 1.8; }
  .vision p, .vision li { line-height: 1.75; }
  .bio-index a { line-height: 1.55; }
  .legal-content { line-height: 1.75; }
  .legal-footer nav { gap: 8px 24px; }
  .legal-footer a { display: inline-flex; align-items: center; min-height: 44px; }
  .privacy-primary, .privacy-secondary { min-height: 44px; }
  .privacy-notice { max-height: calc(100dvh - 28px); overflow-y: auto; }
}

@media screen and (max-width: 1100px) {
  .document-wrap { display: block; max-width: 940px; padding-inline: 32px; }
  .rail { display: none; }
  .main-content { max-width: 860px; margin: auto; }
  .bio-layout { display: block; max-width: 900px; padding-top: 32px; }
  .bio-index { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin-bottom: 32px; }
  .index-kicker { grid-column: 1 / -1; margin-bottom: 9px; }
  .bio-index .return-project { display: none; }
}

@media screen and (max-width: 760px) {
  .document-wrap { padding-inline: 20px; }
  .principles, .toc-grid, .subdomain-grid, .method-grid, .sources ol { grid-template-columns: minmax(0, 1fr); }
  .principles { gap: 16px; }
  .principles div { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; }
  .principles h3 { margin-top: 0; }
  .principles p { grid-column: 2; }
  .pillar-heading .eyebrow { display: block; }
  .pillar-heading .eyebrow span { display: block; margin-top: 5px; white-space: normal; }
  .hero-footer { gap: 18px; }
  .hero-stat { display: block; flex: 1; }
  .hero-stat b { display: block; margin-bottom: 8px; }
  .hero-stat span { display: block; max-width: none; }
  .hero-footer .date { display: none; }
  .bio-closing { display: block; }
  .bio-closing a { display: inline-flex; margin-top: 22px; white-space: normal; }
}

@media screen and (max-width: 600px) {
  .document-wrap { padding-inline: 16px; }
  .chapter, .bio-section { padding: 26px 20px; }
  .flagship { padding: 20px 17px; }
  .flagship h4 { font-size: 1.5rem; line-height: 1.35; }
  .implementation { padding: 18px 16px; }
  .bio-index { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .bio-index a { padding: 12px; }
  .bio-intro { max-width: 28rem; }
  .legal-dialog-header h2 { font-size: 1.375rem; }
  .privacy-copy h2 { font-size: 1.125rem; }
  .privacy-notice { padding: 20px; }
  .privacy-mark { display: none; }
  .privacy-copy { margin-left: 0; }
}
