:root {
  --paper: #f3efe6;
  --paper-2: #ece5d8;
  --ink: #131820;
  --muted: #68665f;
  --blue: #1542a6;
  --blue-soft: #4d74cc;
  --red: #c73c39;
  --red-soft: #df6a61;
  --hair: rgba(19, 24, 32, .19);
  --display: "Playfair Display", Georgia, serif;
  --sans: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --max: 1560px;
  --pad: clamp(20px, 4vw, 72px);
  --ease: cubic-bezier(.22,.77,.22,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: clamp(16px, .95vw, 19px);
  line-height: 1.48;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(21,66,166,.16); color: var(--ink); }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }

#ambient {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .18;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(0,0,0,.042) 0 .6px, transparent .7px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.55) 0 .65px, transparent .75px);
  background-size: 5px 5px, 7px 7px;
  mix-blend-mode: multiply;
}

.page-progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  z-index: 80;
  background: transparent;
}
.page-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--red));
}

.masthead {
  position: fixed;
  z-index: 60;
  left: var(--pad);
  right: var(--pad);
  top: max(14px, env(safe-area-inset-top));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 54px;
  padding: 7px 10px 7px 7px;
  border: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s var(--ease), transform .45s var(--ease);
}
.masthead.scrolled {
  background: rgba(243,239,230,.80);
  border-color: rgba(19,24,32,.12);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  transform: translateY(2px);
}
.masthead__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--ink);
  font-family: var(--display); font-size: 17px;
  letter-spacing: -.08em;
}
.brand-copy { font-size: 11px; line-height: 1.08; letter-spacing: .06em; text-transform: uppercase; }
.brand-copy em { font-style: normal; color: var(--muted); }
.masthead__chapter,
.masthead__edition { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.masthead__chapter { text-align: center; opacity: .72; }
.masthead__edition { text-align: right; opacity: .58; }

main { isolation: isolate; }
section, footer { position: relative; }

.hero {
  min-height: 100svh;
  padding: clamp(95px, 11vh, 145px) var(--pad) clamp(34px, 5vh, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
}
.hero__eyebrow {
  font-size: clamp(11px, .8vw, 14px);
  letter-spacing: .25em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 12px;
}
.hero__stage {
  position: relative;
  min-height: clamp(520px, 72vh, 820px);
  display: flex;
  align-items: center;
  overflow: clip;
}
.hero__ghost {
  position: absolute;
  z-index: 0;
  left: -2vw;
  top: 3vh;
  font-family: var(--display);
  font-size: clamp(70px, 14vw, 260px);
  line-height: .86;
  color: transparent;
  -webkit-text-stroke: 1px rgba(19,24,32,.10);
  letter-spacing: -.07em;
  transform: scaleX(.9);
  transform-origin: left center;
  user-select: none;
}
.hero__name {
  position: relative;
  z-index: 4;
  margin: 0;
  max-width: min(78vw, 1320px);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(72px, 12.2vw, 218px);
  line-height: .82;
  letter-spacing: -.048em;
  text-transform: uppercase;
}
.hero__name span { display: block; clip-path: inset(0 0 0 0); }
.hero__name span:last-child { margin-left: clamp(10px, 4.2vw, 76px); font-style: normal; font-weight: 700; }
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-media__aura {
  position: absolute;
  right: 10%;
  top: 10%;
  width: min(42vw, 760px);
  height: min(42vw, 760px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,226,186,.42) 0%, rgba(255,226,186,.18) 36%, rgba(255,226,186,0) 74%);
  filter: blur(18px);
  opacity: .8;
}
.hero-media__panel {
  position: absolute;
  right: clamp(-40px, -1vw, 0px);
  bottom: clamp(-16px, -1.5vw, 0px);
  width: min(56vw, 940px);
  height: min(78vh, 760px);
  overflow: hidden;
  border-radius: 42px 0 0 42px;
  box-shadow: 0 22px 60px rgba(19,24,32,.14);
  background: #ddd4c8;
}
.hero-media__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.45);
  border-right: 0;
  border-radius: inherit;
  z-index: 3;
}
.hero-media__panel picture,
.hero-media__image {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-media__image {
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(.93) contrast(1.015);
  transform: scale(1.018);
  transform-origin: center center;
  will-change: transform;
}
.hero-media__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(243,239,230,.96) 14%, rgba(243,239,230,.76) 28%, rgba(243,239,230,.26) 44%, rgba(243,239,230,0) 60%),
    linear-gradient(180deg, rgba(243,239,230,.18) 0%, rgba(243,239,230,0) 18%, rgba(243,239,230,0) 80%, rgba(243,239,230,.42) 100%),
    radial-gradient(circle at 82% 18%, rgba(255,237,210,.28), rgba(255,237,210,0) 34%);
}
.hero__monogram {
  position: absolute;
  right: 1vw;
  bottom: 2vh;
  width: clamp(112px, 14vw, 230px);
  aspect-ratio: 1;
  border: 1px solid rgba(19,24,32,.32);
  border-radius: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  transform: rotate(-8deg);
  background: rgba(243,239,230,.42);
  backdrop-filter: blur(8px);
}
.hero__monogram::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 72%;
  background: rgba(19,24,32,.2);
}
.hero__monogram span { font-family: var(--display); font-size: clamp(42px, 5vw, 84px); }
.hero__footer {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, .8fr) 1fr;
  gap: 8vw;
  align-items: end;
}
.hero__statement { max-width: 540px; }
.hero__statement .kicker, .micro {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero__statement p { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.15vw, 40px); line-height: 1.02; }
.hero__scroll {
  justify-self: end;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero__scroll i { font-style: normal; font-size: 18px; animation: breathe 2.6s ease-in-out infinite; }

.section-shell {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(120px, 16vw, 260px) var(--pad);
}
.section-index {
  position: absolute;
  right: var(--pad);
  top: clamp(90px, 11vw, 175px);
  font-family: var(--display);
  font-size: clamp(74px, 11vw, 190px);
  line-height: 1;
  color: rgba(19,24,32,.075);
}
.intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(44px, 10vw, 170px);
  align-items: end;
}
.intro__headline h2,
.chapter h2,
.dual-section h2,
.defence-scene h2,
.open-ideas h2,
.editorial-break h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 5.25vw, 88px);
  line-height: .98;
  letter-spacing: -.028em;
}
.intro__body { max-width: 680px; padding-bottom: 12px; }
.lead {
  margin: 0 0 1.2em;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.25vw, 38px);
  line-height: 1.18;
}
.intro__body p:last-child { max-width: 620px; color: var(--muted); }


/* ---------- V2: robustesse typographique + préparation photos ---------- */
:where(h1,h2,h3,.index-item strong,.work-band strong,.footer__title span) {
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
}
:where(.chapter,.chapter__content,.measure,.measure-list,.work-band,.work-band > div,.education-flow article,.dual-section__panel,.defence-scene__content) {
  min-width: 0;
}
[id], .anchor-target { scroll-margin-top: 92px; }

.campaign-photo {
  position: relative;
  margin: 0;
  overflow: clip;
  background: rgba(19,24,32,.035);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.campaign-photo:empty { display: none; }
.campaign-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.88) contrast(1.025);
  transform: scale(1.002);
}
.campaign-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  max-width: min(420px, 78%);
  padding: 7px 9px;
  background: rgba(243,239,230,.88);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.campaign-photo--hero {
  position: absolute;
  z-index: 1;
  right: 2%;
  bottom: 1%;
  width: min(38vw, 560px);
  height: min(65vh, 720px);
  border: 0;
  background: transparent;
}
.campaign-photo--hero img { object-fit: contain; object-position: bottom right; }
.campaign-photo--chapter {
  width: min(100%, 980px);
  aspect-ratio: 16 / 8.5;
  margin-top: clamp(42px, 6vw, 86px);
}
.campaign-photo--offset { margin-left: clamp(0px, 7vw, 100px); width: min(calc(100% - clamp(0px, 7vw, 100px)), 960px); }

.programme-index {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 10vh var(--pad) 18vh;
  display: grid;
  grid-template-columns: 1fr 3.2fr;
  gap: clamp(30px, 7vw, 120px);
}
.index-rail { position: sticky; top: 130px; height: max-content; display: flex; flex-direction: column; gap: 12px; }
.index-rule { width: 64px; height: 1px; background: var(--ink); opacity: .34; }
.index-list { border-top: 1px solid var(--hair); }
.index-item {
  display: grid;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  grid-template-columns: 64px 1fr 1fr;
  gap: 18px;
  align-items: baseline;
  padding: clamp(14px, 1.5vw, 24px) 0;
  border-bottom: 1px solid var(--hair);
  opacity: .48;
  transform: scale(.985);
  transform-origin: left center;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.index-item.is-active { opacity: 1; transform: scale(1); }
.index-item:hover, .index-item:focus-visible { opacity: 1; transform: translateX(4px) scale(1); }
.index-item:focus-visible { outline: 1px solid var(--ink); outline-offset: 5px; }
.index-item > span { font-family: var(--display); font-size: clamp(24px, 2.2vw, 38px); }
.index-item strong { font-family: var(--display); font-weight: 700; font-size: clamp(29px, 3.25vw, 58px); letter-spacing: -.025em; line-height: 1.02; }
.index-item em { font-style: normal; color: var(--muted); }

.chapter { display: grid; grid-template-columns: 1fr 6fr; gap: clamp(34px, 6vw, 110px); }
.chapter__marker { position: sticky; top: 120px; height: max-content; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.chapter__marker span { font-family: var(--display); font-size: clamp(54px, 7vw, 110px); line-height: 1; }
.chapter__marker b { font-size: 10px; letter-spacing: .2em; writing-mode: vertical-rl; text-transform: uppercase; margin-left: 8px; }
.chapter__content { width: 100%; max-width: 1180px; min-width: 0; }
.chapter__content > h2 { max-width: 1100px; }
.chapter__content > .lead { max-width: 920px; margin-top: 42px; }

.measure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0 6vw;
  margin-top: clamp(64px, 8vw, 130px);
  border-top: 1px solid var(--hair);
}
.measure-grid--offset article:nth-child(even) { transform: translateY(clamp(26px, 4vw, 66px)); }
.measure {
  padding: 28px 0 34px;
  border-bottom: 1px solid var(--hair);
}
.measure > span,
.work-band span,
.education-flow span {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 20px;
}
.measure h3, .work-band strong, .education-flow h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(25px, 2.15vw, 38px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.018em;
}
.measure p { margin: 0; max-width: 620px; }
.measure-list { margin-top: clamp(70px, 9vw, 150px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 28px; }
.measure-list .measure { grid-column: span 6; }
.measure-list .measure--wide { grid-column: span 8; }
.measure-list--split .measure:nth-child(3n+1) { grid-column: 1 / span 7; }
.measure-list--split .measure:nth-child(3n+2) { grid-column: 7 / span 6; }
.measure-list--split .measure:nth-child(3n) { grid-column: 3 / span 8; }

.statement {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10vh var(--pad);
  overflow: hidden;
}
.statement p { position: relative; z-index: 2; margin: 0; font-family: var(--display); font-size: clamp(64px, 10.2vw, 185px); line-height: .82; letter-spacing: -.06em; }
.statement p em { font-weight: 400; }
.statement > span { position: absolute; font-family: var(--display); font-size: 44vw; line-height: 1; opacity: .025; }
.statement--blue p em { color: var(--blue); }

.work-band {
  margin-top: clamp(70px, 10vw, 160px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  overflow: visible;
}
.work-band > div { min-height: 360px; min-width: 0; padding: 28px clamp(14px, 1.5vw, 24px) 34px; border-right: 1px solid var(--hair); }
.work-band > div:first-child { padding-left: 0; }
.work-band p { margin-top: 22px; color: var(--muted); }
.work-band strong { display:block; font-size: clamp(24px, 1.85vw, 34px); line-height: 1.08; overflow-wrap: anywhere; }

.editorial-break {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(120px, 17vw, 280px) var(--pad);
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 5vw;
  align-items: end;
}
.editorial-break__number { font-family: var(--display); font-size: clamp(160px, 31vw, 560px); line-height: .62; letter-spacing: -.09em; color: var(--red); opacity: .86; }
.editorial-break h2 { font-size: clamp(50px, 7.4vw, 128px); }

.education-flow { margin-top: 90px; }
.education-flow article {
  display: grid;
  grid-template-columns: 90px minmax(240px,.9fr) minmax(260px,1fr);
  gap: 28px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--hair);
}
.education-flow article:last-child { border-bottom: 1px solid var(--hair); }
.education-flow h3 { margin: 0; max-width: 100%; }
.education-flow p { margin: 0; color: var(--muted); }

.dual-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(100px, 13vw, 220px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 70px);
}
.dual-section__panel { position: relative; padding: clamp(30px, 4vw, 60px); border-left: 1px solid var(--ink); background: rgba(199,60,57,.045); }
.dual-section__panel--light { background: rgba(21,66,166,.045); }
.big-num { position: absolute; right: 20px; top: -20px; font-family: var(--display); font-size: clamp(90px, 13vw, 210px); opacity: .06; }
.dual-section h2 { font-size: clamp(48px, 5.7vw, 92px); max-width: 660px; }
ul { padding-left: 1.05em; }
li { padding: 8px 0; }

.chapter__content--two { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; }
.chapter__content--two h2 { font-size: clamp(44px, 5vw, 84px); }
.chapter-cardless { padding-top: clamp(70px, 9vw, 150px); border-left: 1px solid var(--hair); padding-left: 4vw; }

.defence-scene {
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(130px, 16vw, 260px) var(--pad);
}
.defence-scene__word { position: absolute; top: 7%; left: -5%; font-family: var(--display); font-size: clamp(120px, 27vw, 500px); letter-spacing: -.08em; line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(19,24,32,.09); transform: rotate(-4deg); }
.defence-scene__content { position: relative; z-index: 2; width: min(1180px, 100%); margin: 0 auto; }
.defence-scene h2 { max-width: 1180px; }
.defence-columns { margin-top: 80px; display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; border-top: 1px solid var(--hair); padding-top: 28px; }
.defence-columns p { margin: 0; }
.defence-columns strong { font-family: var(--display); font-size: 1.3em; font-weight: 500; }

.open-ideas {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(120px, 16vw, 260px) var(--pad);
}
.open-ideas__head { display: grid; grid-template-columns: 1fr 2.2fr; gap: 5vw; align-items: start; }
.open-ideas__list { margin-top: 90px; border-top: 1px solid var(--hair); }
.open-ideas article { display: grid; grid-template-columns: 70px 1fr; gap: 30px; padding: 25px 0; border-bottom: 1px solid var(--hair); }
.open-ideas article > span { font-family: var(--display); font-size: 34px; color: var(--red); }
.open-ideas p { margin: 0; max-width: 900px; }

.footer {
  min-height: 82svh;
  padding: clamp(120px, 14vw, 230px) var(--pad) 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.footer__mark { position: absolute; right: 1vw; top: -5vh; font-family: var(--display); font-size: clamp(240px, 50vw, 900px); line-height: .8; letter-spacing: -.1em; opacity: .035; }
.footer__title { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: 22px; }
.footer__title span { font-family: var(--display); font-weight: 700; font-size: clamp(50px, 7.5vw, 126px); line-height: .9; letter-spacing: -.035em; }
.footer__title strong { font-family: var(--display); font-weight: 400; font-size: clamp(74px, 13vw, 230px); line-height: .65; color: var(--blue); }
.footer__meta { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 40px; padding-top: 26px; align-items: flex-end; }
.footer__meta p { max-width: 560px; margin: 0; color: var(--muted); }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; position: relative; }
.footer__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor; transform: scaleX(.2); transform-origin: left; transition: transform .25s var(--ease); }
.footer__links a:hover::after { transform: scaleX(1); }

.reveal-mask { overflow: hidden; }
@keyframes breathe { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(5px); opacity: 1; } }

@media (max-width: 1280px) {
  .work-band { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .work-band > div:nth-child(3n) { border-right: 0; }
  .work-band > div { min-height: 300px; border-bottom: 1px solid var(--hair); }
}

@media (max-width: 1080px) {
  .masthead { grid-template-columns: 1fr auto; }
  .masthead__chapter { display: none; }
  .intro { grid-template-columns: 1fr; }
  .intro__body { margin-left: 18vw; }
  .programme-index { grid-template-columns: 1fr; }
  .index-rail { position: relative; top: 0; flex-direction: row; align-items: center; }
  .index-list { margin-left: 6vw; }
  .chapter { grid-template-columns: 1fr; }
  .chapter__marker { position: relative; top: 0; flex-direction: row; align-items: center; border-bottom: 1px solid var(--hair); padding-bottom: 10px; }
  .chapter__marker b { writing-mode: initial; margin-left: 0; }
  .measure-grid { margin-left: 0; }
  .chapter__content > h2 { max-width: 920px; }
  .defence-columns { grid-template-columns: repeat(2,1fr); }
}


@media (max-width: 1080px) {
  .hero__stage { min-height: clamp(500px, 66vh, 700px); }
  .hero__name { max-width: min(84vw, 900px); }
  .hero-media__panel { width: min(58vw, 680px); height: min(64vh, 620px); right: -4%; }
  .hero-media__aura { right: 6%; width: min(46vw, 540px); height: min(46vw, 540px); }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  .masthead { left: 12px; right: 12px; top: max(8px, env(safe-area-inset-top)); min-height: 48px; }
  .brand-mark { width: 34px; height: 34px; font-size: 14px; }
  .brand-copy { font-size: 9px; }
  .masthead__edition { font-size: 9px; }
  .hero { padding-top: 90px; min-height: 100svh; }
  .hero__eyebrow { font-size: 9px; }
  .hero__stage { min-height: clamp(470px, 64vh, 640px); align-items: center; overflow: clip; }
  .hero__ghost { font-size: 22vw; top: 10%; left: 0; }
  .hero__name { width: 100%; max-width: min(82vw, 420px); font-size: clamp(58px, 18vw, 92px); line-height: .88; letter-spacing: -.035em; }
  .hero__name span { max-width: 100%; }
  .hero__name span:last-child { margin-left: 1.5vw; }
  .hero__monogram { right: -12px; bottom: 2%; width: 104px; }
  .hero-media__aura { right: 8%; top: 18%; width: 68vw; height: 68vw; opacity: .72; }
  .hero-media__panel {
    right: -16vw;
    left: 28%;
    width: auto;
    height: clamp(360px, 55vh, 520px);
    bottom: -4px;
    border-radius: 28px 0 0 28px;
  }
  .hero-media__image { object-position: center 14%; transform: scale(1.03); }
  .hero-media__veil {
    background:
      linear-gradient(90deg, var(--paper) 0%, rgba(243,239,230,.96) 20%, rgba(243,239,230,.72) 38%, rgba(243,239,230,.18) 56%, rgba(243,239,230,0) 72%),
      linear-gradient(180deg, rgba(243,239,230,.18) 0%, rgba(243,239,230,0) 20%, rgba(243,239,230,0) 82%, rgba(243,239,230,.48) 100%);
  }
  .hero__footer { grid-template-columns: 1fr; gap: 26px; }
  .hero__statement { width: 100%; max-width: 92%; }
  .hero__scroll { justify-self: start; }
  .section-shell { padding-top: 110px; padding-bottom: 110px; }
  .section-index { top: 70px; font-size: 96px; }
  .intro__body { margin-left: 0; }
  .lead { font-size: 26px; }
  .programme-index { padding-top: 80px; padding-bottom: 110px; }
  .index-list { margin-left: 0; }
  .index-item { grid-template-columns: 42px 1fr; gap: 10px 12px; }
  .index-item em { grid-column: 2; font-size: 14px; }
  .index-item strong { font-size: clamp(28px, 9vw, 36px); line-height: 1.05; }
  .measure-grid { grid-template-columns: 1fr; margin-left: 0; gap: 0; }
  .measure-grid--offset article:nth-child(even) { transform: none; }
  .measure-list { grid-template-columns: 1fr; gap: 0; }
  .measure-list .measure, .measure-list .measure--wide, .measure-list--split .measure:nth-child(n) { grid-column: 1; }
  .statement { min-height: 62vh; }
  .statement p { font-size: clamp(54px, 16vw, 92px); }
  .work-band { grid-template-columns: 1fr; overflow: visible; }
  .work-band > div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--hair); padding: 26px 0; }
  .editorial-break { grid-template-columns: 1fr; padding-top: 100px; padding-bottom: 100px; }
  .editorial-break__number { font-size: 57vw; }
  .education-flow article { grid-template-columns: 44px 1fr; gap: 10px 16px; }
  .education-flow article p { grid-column: 2; }
  .dual-section { grid-template-columns: 1fr; padding-top: 90px; padding-bottom: 100px; }
  .dual-section__panel { padding: 30px 18px; }
  .chapter__content--two { grid-template-columns: 1fr; gap: 70px; }
  .chapter-cardless { padding-top: 0; padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); padding-top: 36px; }
  .defence-scene { padding-top: 120px; padding-bottom: 120px; min-height: auto; }
  .defence-scene__word { top: 2%; font-size: 40vw; }
  .defence-columns { grid-template-columns: 1fr; gap: 26px; }
  .open-ideas__head { grid-template-columns: 1fr; }
  .open-ideas__list { margin-top: 60px; }
  .open-ideas article { grid-template-columns: 42px 1fr; gap: 10px; }
  .footer { min-height: 72svh; }
  .footer__title { display: block; }
  .footer__title strong { display: block; margin-top: 28px; }
  .footer__meta { flex-direction: column; align-items: flex-start; }
  .intro__headline h2, .chapter h2, .dual-section h2, .defence-scene h2, .open-ideas h2, .editorial-break h2 {
    font-size: clamp(40px, 12vw, 58px);
    line-height: 1.02;
    letter-spacing: -.025em;
  }
  .measure h3, .education-flow h3 { font-size: clamp(25px, 7.5vw, 34px); line-height: 1.08; }
  .work-band strong { font-size: clamp(27px, 8vw, 34px); overflow-wrap: normal; }
  .statement p { max-width: 100%; padding-inline: 2px; line-height: .94; letter-spacing: -.04em; }
  .campaign-photo--hero { right: -4%; width: 56vw; height: 48vh; opacity: .92; }
  .campaign-photo--chapter, .campaign-photo--offset { width: 100%; margin-left: 0; aspect-ratio: 4 / 3; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  #ambient { opacity: .75; }
  .index-item { opacity: .8; transform: none; }
  .hero-media__image { transform: none; }
}




/* ===== V3 PROGRAMME PHOTOGRAPHY / PERFORMANCE ===== */
.programme-index {
  grid-template-columns: minmax(95px,.54fr) minmax(430px,1.55fr) minmax(330px,1.28fr);
  gap: clamp(24px, 3.6vw, 66px);
  align-items: start;
}
.index-list { min-width: 0; }
.index-item { min-width: 0; grid-template-columns: 52px minmax(0,1.04fr) minmax(125px,.78fr); gap: 12px 16px; }
.index-item > * { min-width: 0; }
.index-item strong, .index-item em { overflow-wrap: anywhere; }
.index-item strong { font-size: clamp(27px, 2.55vw, 48px); }
.index-item em { font-size: clamp(13px, .92vw, 17px); line-height: 1.24; }

.programme-visual {
  position: sticky;
  top: 100px;
  margin: 0;
  width: 100%;
  height: min(69vh, 720px);
  min-height: 460px;
  overflow: hidden;
  border-top: 1px solid rgba(19,24,32,.28);
  border-bottom: 1px solid rgba(19,24,32,.28);
  background: rgba(19,24,32,.06);
  contain: layout paint;
}
.programme-visual__media { position:absolute; inset:0 0 72px; overflow:hidden; background:#d9d5cc; }
.programme-visual__image {
  position:absolute;
  inset:-1.5%;
  width:103%;
  height:103%;
  object-fit:cover;
  object-position:center;
  opacity:0;
  transform:scale(1.025);
  filter:saturate(.76) contrast(1.035) brightness(.96);
  transition: opacity .72s var(--ease), transform 5.8s cubic-bezier(.16,.75,.24,1);
  will-change: opacity, transform;
}
.programme-visual__image.is-front { opacity:1; transform:scale(1.002); }
.programme-visual__shade {
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(243,239,230,0) 55%, rgba(17,23,32,.12) 100%);
  pointer-events:none;
}
.programme-visual__meta {
  position:absolute; left:0; right:0; bottom:0; height:72px;
  display:grid; grid-template-columns:54px 1fr; align-items:center; gap:14px;
  padding:12px 4px 10px 0;
  background:rgba(243,239,230,.88);
  backdrop-filter:blur(12px) saturate(.95);
  -webkit-backdrop-filter:blur(12px) saturate(.95);
}
.programme-visual__meta > span { font-family:var(--display); font-size:29px; line-height:1; }
.programme-visual__meta div { display:flex; flex-direction:column; gap:2px; min-width:0; }
.programme-visual__meta strong { font-family:var(--display); font-size:22px; line-height:1.05; }
.programme-visual__meta small { font-size:10px; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.chapter-photo-mobile { display:none; }
.photo-credits { width:100%; max-width:760px !important; font-size:11px; line-height:1.4; opacity:.72; }

/* Guardrails against long French titles and overlap at all desktop widths. */
.chapter__content, .dual-section__panel, .chapter-cardless, .defence-scene__content, .open-ideas { min-width:0; }
h1,h2,h3,strong,p,li,em { text-wrap:pretty; }
.chapter h2, .dual-section h2, .defence-scene h2, .open-ideas h2, .editorial-break h2 { overflow-wrap:normal; hyphens:auto; }
.work-band > div, .measure, .education-flow article { contain:layout style; }

@media (max-width: 1280px) and (min-width: 1081px) {
  .programme-index { grid-template-columns: 90px minmax(390px,1.55fr) minmax(300px,1.12fr); gap:24px; }
  .index-item { grid-template-columns:44px minmax(0,1fr); gap:8px 12px; }
  .index-item em { grid-column:2; font-size:13px; }
  .index-item strong { font-size:clamp(27px,3vw,40px); }
  .programme-visual { min-height:430px; height:min(66vh,650px); }
}

@media (max-width:1080px) {
  .programme-index { grid-template-columns:1fr; }
  .programme-visual { display:none; }
}

@media (max-width:760px) {
  .chapter-photo-mobile {
    display:block;
    width:100%;
    margin:28px 0 40px;
    aspect-ratio:16/10;
    position:relative;
    overflow:hidden;
    border-top:1px solid rgba(19,24,32,.18);
    border-bottom:1px solid rgba(19,24,32,.18);
    background:rgba(19,24,32,.06);
  }
  .chapter-photo-mobile picture, .chapter-photo-mobile img { display:block; width:100%; height:100%; }
  .chapter-photo-mobile img {
    object-fit:cover;
    object-position:center;
    filter:saturate(.78) contrast(1.025) brightness(.97);
    transform:scale(1.001);
  }
  .chapter-photo-mobile figcaption {
    position:absolute; left:0; right:0; bottom:0;
    padding:9px 11px 8px;
    background:linear-gradient(180deg, transparent, rgba(12,18,26,.62));
    color:#f5f0e5;
    font-size:9px;
    letter-spacing:.11em;
    text-transform:uppercase;
    line-height:1.25;
  }
  .dual-section__panel .chapter-photo-mobile, .chapter-cardless .chapter-photo-mobile, #agriculture .chapter-photo-mobile { margin-inline:0; }
  .index-item strong { overflow-wrap:normal; hyphens:auto; }
}

@media (prefers-reduced-motion: reduce) {
  .programme-visual__image { transition:none !important; transform:none !important; }
}

/* ===== V6 — corrected chapter system, integrated photography, fluid section colour ===== */
.masthead { grid-template-columns: 1fr auto; }
.masthead__chapter { text-align:right; }

/* Hero: no top eyebrow/FRANCE label; photograph and name coexist without collision. */
.hero { padding-top: clamp(92px, 10vh, 132px); }
.hero__stage { min-height: clamp(560px, 74vh, 840px); }
.hero__name { z-index: 5; max-width: min(67vw, 1180px); text-shadow: 0 1px 0 rgba(243,239,230,.34); }
.hero-media__panel { width: min(58vw, 970px); height: min(78vh, 780px); }
.hero-media__veil {
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(243,239,230,.97) 10%, rgba(243,239,230,.76) 24%, rgba(243,239,230,.22) 42%, rgba(243,239,230,0) 60%),
    linear-gradient(180deg, rgba(243,239,230,.15), rgba(243,239,230,0) 26%, rgba(243,239,230,0) 78%, rgba(243,239,230,.45));
}

/* The overview is intentionally unnumbered. */
.intro { padding-top: clamp(100px, 12vw, 180px); }

/* Category photo becomes an editorial element rather than a mobile-only card. */
.chapter-photo {
  --edge: var(--section-bg, rgba(243,239,230,1));
  position: relative;
  display:block;
  width: min(108%, 1160px);
  aspect-ratio: 16 / 7.2;
  margin: clamp(30px,4.5vw,62px) 0 clamp(42px,5vw,76px) clamp(-56px,-3.8vw,-14px);
  overflow:hidden;
  background: rgba(19,24,32,.055);
  clip-path: inset(0 0 0 0 round 3px);
  opacity:.92;
  transform: translateY(12px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), clip-path 1.1s var(--ease);
  isolation:isolate;
}
.chapter-photo::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(90deg, var(--edge) 0%, transparent 7%, transparent 93%, var(--edge) 100%),
    linear-gradient(180deg, var(--edge) 0%, transparent 8%, transparent 92%, var(--edge) 100%);
  opacity:.22;
}
.chapter-photo.is-visible { opacity:1; transform:translateY(0); }
.chapter-photo picture, .chapter-photo img { display:block; width:100%; height:100%; }
.chapter-photo img {
  object-fit:cover;
  object-position:center;
  filter:saturate(.86) contrast(1.025) brightness(.99);
  transform:scale(1.045);
  transition:transform 1.55s var(--ease), filter .9s ease;
  will-change:transform;
}
.chapter-photo.is-visible img { transform:scale(1.008); }
.chapter-photo[data-photo-key="expression"] {
  background:rgba(255,255,255,.58);
}
.chapter-photo[data-photo-key="expression"] img {
  object-fit:contain;
  padding:clamp(28px,5vw,72px);
  filter:saturate(.88) contrast(.98);
}

/* Composite categories also behave as individual sections for colour + navigation. */
.dual-section__panel[data-programme-category],
#agriculture[data-programme-category],
#europe[data-programme-category] {
  position:relative;
  scroll-margin-top:90px;
}
#agriculture > .big-num, #europe > .big-num, .defence-scene__content > .big-num {
  display:block;
  margin-bottom:20px;
  font-family:var(--display);
  font-size:clamp(72px,8vw,128px);
  line-height:.72;
  color:rgba(19,24,32,.12);
  letter-spacing:-.05em;
}

/* Let the Canvas supply the slowly morphing pale background instead of hard colour blocks. */
[data-programme-category], .intro, .programme-index { background:transparent !important; }

/* The right-side programme imagery stays pure image: no captions or overlays. */
.programme-visual__meta { display:none !important; }
.programme-visual__media { inset:0; }
.programme-visual__shade { opacity:.10; }

/* Softly reveal category photos only once. */
@media (min-width:761px) {
  .dual-section__panel .chapter-photo,
  #agriculture .chapter-photo,
  #europe .chapter-photo { width:100%; margin-left:0; aspect-ratio:16/9; }
  .defence-scene .chapter-photo { width:min(105%,1180px); margin-left:-2.5%; }
}

@media (max-width:760px) {
  .masthead { grid-template-columns:1fr auto; }
  .masthead__chapter { font-size:8px; max-width:42vw; line-height:1.2; }
  .hero { min-height:100svh; padding-top:80px; }
  .hero__stage {
    min-height:clamp(610px,76vh,760px);
    display:grid;
    grid-template-rows:auto 1fr;
    align-items:start;
    overflow:clip;
  }
  .hero__name {
    position:relative;
    z-index:6;
    width:100%;
    max-width:100%;
    padding-top:clamp(28px,7vh,58px);
    font-size:clamp(54px,16vw,78px);
    line-height:.88;
    letter-spacing:-.035em;
  }
  .hero__name span:last-child { margin-left:0; }
  .hero-media { inset:auto 0 0 0; height:61%; z-index:2; }
  .hero-media__panel {
    top:0;
    bottom:0;
    left:8%;
    right:-17%;
    width:auto;
    height:auto;
    border-radius:26px 0 0 26px;
  }
  .hero-media__image { object-position:center 20%; transform:scale(1.025); }
  .hero-media__veil {
    background:
      linear-gradient(180deg, var(--paper) 0%, rgba(243,239,230,.78) 8%, rgba(243,239,230,.08) 24%, rgba(243,239,230,0) 78%, rgba(243,239,230,.38) 100%),
      linear-gradient(90deg, rgba(243,239,230,.65) 0%, rgba(243,239,230,.12) 24%, rgba(243,239,230,0) 48%);
  }
  .hero__monogram { z-index:7; right:0; bottom:1%; width:88px; background:rgba(243,239,230,.74); }
  .hero__footer { margin-top:14px; }

  .chapter-photo {
    width:calc(100% + 20px);
    aspect-ratio:4/3;
    margin:28px -10px 38px 0;
    transform:none;
    opacity:1;
  }
  .chapter-photo img { transform:none; }
  .chapter-photo::after { opacity:.16; }
  .chapter-photo[data-photo-key="expression"] { aspect-ratio:16/9; }
  .chapter-photo[data-photo-key="expression"] img { padding:28px; }
  #agriculture > .big-num, #europe > .big-num, .defence-scene__content > .big-num {
    font-size:76px;
    margin-bottom:14px;
  }
}
.programme-visual__image.is-contain { object-fit:contain; padding:clamp(38px,5vw,82px); background:#f5f5f3; transform:none !important; }


/* Visible but very restrained category tint, fading into neighbouring sections. */
[data-programme-category] {
  background:
    linear-gradient(
      to bottom,
      transparent 0,
      color-mix(in srgb, var(--section-bg) 94%, transparent) clamp(52px,7vw,110px),
      var(--section-bg) 24%,
      var(--section-bg) 76%,
      color-mix(in srgb, var(--section-bg) 94%, transparent) calc(100% - clamp(52px,7vw,110px)),
      transparent 100%
    ) !important;
}
.dual-section__panel[data-programme-category] {
  background: color-mix(in srgb, var(--section-bg) 94%, transparent) !important;
}
#agriculture[data-programme-category], #europe[data-programme-category] {
  padding-top: clamp(34px,4vw,64px);
  padding-bottom: clamp(34px,4vw,64px);
}
@supports not (background: color-mix(in srgb, white 50%, black)) {
  [data-programme-category] { background: var(--section-bg) !important; }
}

/* ===== V7 — one chapter per scroll beat, sharper media, integrated image fades ===== */

/* Every numbered programme category occupies its own vertical section. */
section.chapter[data-programme-category] {
  display: grid;
  grid-template-columns: minmax(74px, .78fr) minmax(0, 6fr);
  width: min(var(--max), 100%);
  margin: 0 auto;
  min-height: 76vh;
  isolation: isolate;
}

/* The chapter image belongs to the chapter header, never to an individual measure. */
.chapter__content > .chapter-photo,
.defence-scene__content > .chapter-photo {
  width: min(90%, 980px);
  max-width: 980px;
  aspect-ratio: 16 / 8.4;
  margin: clamp(30px, 4vw, 58px) 0 clamp(42px, 5vw, 72px);
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  opacity: .985;
  transform: none;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

.chapter-photo picture,
.chapter-photo img {
  width: 100%;
  height: 100%;
}

.chapter-photo img {
  object-fit: cover;
  object-position: center;
  filter: saturate(.94) contrast(1.015) brightness(1.005);
  transform: scale(1.012);
  transition: transform 1.35s var(--ease), filter .7s ease;
  image-rendering: auto;
  backface-visibility: hidden;
}

.chapter-photo.is-visible img { transform: scale(1); }

/* Soft four-edge fade so photography feels printed into each pale chapter field. */
.chapter-photo::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  pointer-events: none;
  opacity: .72;
  background:
    linear-gradient(90deg,
      var(--edge) 0%,
      color-mix(in srgb, var(--edge) 74%, transparent) 3.5%,
      transparent 11%,
      transparent 89%,
      color-mix(in srgb, var(--edge) 74%, transparent) 96.5%,
      var(--edge) 100%),
    linear-gradient(180deg,
      var(--edge) 0%,
      color-mix(in srgb, var(--edge) 62%, transparent) 4%,
      transparent 13%,
      transparent 85%,
      color-mix(in srgb, var(--edge) 72%, transparent) 96%,
      var(--edge) 100%);
}

/* A restrained luminous wash, not blur, keeps edges photographic and sharp. */
.chapter-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%, rgba(19,24,32,.018));
  mix-blend-mode: soft-light;
}

/* Special aspect ratios for supplied editorial graphics. */
.chapter-photo[data-photo-key="protection-sociale"] { aspect-ratio: 16 / 5.6; }
.chapter-photo[data-photo-key="protection-sociale"] img { object-position: center; }
.chapter-photo[data-photo-key="fiscalite"] img { object-position: center 48%; }
.chapter-photo[data-photo-key="travail"] img { object-position: center 50%; }
.chapter-photo[data-photo-key="etat"] img { object-position: center 44%; }

/* Arcom remains a graphic mark and should not be cropped. */
.chapter-photo[data-photo-key="expression"] {
  width: min(76%, 820px);
  aspect-ratio: 16 / 7;
  background: rgba(255,255,255,.46);
}
.chapter-photo[data-photo-key="expression"] img {
  object-fit: contain;
  padding: clamp(24px, 4vw, 58px);
  transform: none;
  filter: none;
}

/* Category 05 headline is now a normal, horizontal chapter heading. */
#securite-justice .chapter__content > h2 {
  max-width: 1040px;
}

/* The previous side-by-side category compositions are intentionally disabled. */
.dual-section,
.chapter__content--two {
  display: block;
}

/* Sequential list rhythm for chapters converted from paired layouts. */
#culture-medias .measure-list,
#transports-logement .measure-list,
#agriculture .measure-list,
#europe .measure-list,
#climat .measure-list {
  margin-top: clamp(50px, 6vw, 92px);
}

#culture-medias .measure,
#transports-logement .measure,
#agriculture .measure,
#europe .measure,
#climat .measure {
  grid-column: 1 / -1;
  max-width: 900px;
}

.defence-measure-number {
  display: block;
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
}

/* Higher-resolution programme preview, visually a little smaller and cleaner. */
.programme-visual {
  height: min(61vh, 640px);
  min-height: 420px;
}
.programme-visual__image {
  filter: saturate(.94) contrast(1.01);
}
.programme-visual__shade {
  background: linear-gradient(180deg, rgba(243,239,230,0) 64%, rgba(17,23,32,.07) 100%);
}

/* Keep browser work low for chapters far from the viewport. */
@supports (content-visibility: auto) {
  section.chapter[data-programme-category] {
    content-visibility: auto;
    contain-intrinsic-size: auto 1050px;
  }
}

@media (max-width: 1080px) {
  section.chapter[data-programme-category] {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .chapter__content > .chapter-photo,
  .defence-scene__content > .chapter-photo {
    width: min(100%, 920px);
  }
}

@media (max-width: 760px) {
  .chapter__content > .chapter-photo,
  .defence-scene__content > .chapter-photo {
    width: calc(100% + 8px);
    max-width: none;
    aspect-ratio: 4 / 3;
    margin: 26px -4px 38px 0;
  }
  .chapter-photo[data-photo-key="protection-sociale"] { aspect-ratio: 16 / 7.2; }
  .chapter-photo[data-photo-key="expression"] { width: 100%; aspect-ratio: 16 / 9; }
  .chapter-photo::after { opacity: .50; }
  .chapter-photo img { transform: none; }
  .defence-columns { grid-template-columns: 1fr; }
}

@supports not (background: color-mix(in srgb, white 50%, black)) {
  .chapter-photo::after {
    background:
      linear-gradient(90deg, var(--edge), transparent 10%, transparent 90%, var(--edge)),
      linear-gradient(180deg, var(--edge), transparent 12%, transparent 88%, var(--edge));
  }
}


/* ===== V8 — chapter rhythm, reliable anchors, full-page colour fields ===== */
html { scroll-padding-top: 92px; }
body { scroll-behavior: smooth; }

/* Keep anchor geometry real: virtualized section heights were the source of bad menu jumps. */
section.chapter[data-programme-category] {
  content-visibility: visible !important;
  contain: none !important;
  min-height: auto;
  position: relative;
  z-index: 0;
  padding-top: clamp(118px, 11vw, 190px);
  padding-bottom: clamp(118px, 11vw, 190px);
  scroll-margin-top: 88px;
}

/* Pale full-viewport-width chapter fields, fading into the next chapter. */
[data-programme-category] { background: transparent !important; }
[data-programme-category]::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1px;
  bottom: -1px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    var(--section-bg) 8%,
    var(--section-bg) 92%,
    rgba(255,255,255,0) 100%
  );
}

.chapter__content > h2,
.defence-scene__content > h2 {
  max-width: 980px;
  font-size: clamp(44px, 4.7vw, 82px);
  line-height: .99;
  text-wrap: balance;
}
#securite-justice .chapter__content > h2 { max-width: 900px; }

/* Chapter photos: smaller, crisp, rounded, and softly printed into the chapter colour. */
.chapter__content > .chapter-photo,
.defence-scene__content > .chapter-photo {
  --photo-radius: 22px;
  width: min(82%, 900px);
  max-width: 900px;
  aspect-ratio: 16 / 8.7;
  margin: clamp(32px, 4vw, 56px) 0 clamp(42px, 5vw, 72px);
  border-radius: var(--photo-radius);
  overflow: hidden;
  background: color-mix(in srgb, var(--section-bg) 84%, #ffffff 16%);
  box-shadow: 0 18px 50px rgba(20,25,31,.08);
}
.chapter-photo picture { border-radius: inherit; overflow: hidden; }
.chapter-photo img {
  border-radius: inherit;
  object-fit: cover;
  transform: none !important;
  filter: saturate(.93) contrast(1.02) brightness(1.005);
}
.chapter-photo::before {
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.10), transparent 46%, rgba(17,22,30,.022));
}
.chapter-photo::after {
  border-radius: inherit;
  opacity: .42;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--edge) 82%, transparent) 0%, transparent 7%, transparent 93%, color-mix(in srgb, var(--edge) 82%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--edge) 74%, transparent) 0%, transparent 8%, transparent 92%, color-mix(in srgb, var(--edge) 74%, transparent) 100%);
}
.chapter-photo.is-image-fallback {
  min-height: 260px;
  background:
    radial-gradient(circle at 25% 24%, rgba(255,255,255,.65), transparent 38%),
    linear-gradient(135deg, color-mix(in srgb, var(--section-bg) 86%, #d9dde2 14%), color-mix(in srgb, var(--section-bg) 92%, #fff 8%));
}

/* Protection sociale graphic: show the complete supplied image, never crop it. */
.chapter-photo[data-photo-key="protection-sociale"] {
  width: min(86%, 940px);
  aspect-ratio: 1663 / 946;
  background: #b81716;
}
.chapter-photo[data-photo-key="protection-sociale"] img {
  object-fit: contain;
  object-position: center;
  filter: none;
}

/* Arcom remains an uncropped graphic mark. */
.chapter-photo[data-photo-key="expression"] {
  width: min(68%, 760px);
  aspect-ratio: 16 / 8;
  background: rgba(255,255,255,.58);
}
.chapter-photo[data-photo-key="expression"] img {
  object-fit: contain;
  padding: clamp(22px,3.5vw,48px);
}

/* Programme index preview: preserve the last valid image if an external source fails. */
.programme-visual { border-radius: 20px; overflow: hidden; }
.programme-visual__image { object-fit: cover; }
.programme-visual__image.is-contain { object-fit: contain; padding: clamp(28px,4vw,58px); }

/* Desktop scrolling stays native, but layout work is reduced. */
@media (min-width: 1081px) {
  .chapter__content { will-change: auto; }
  .measure { contain: layout paint; }
}

@media (max-width: 1080px) {
  section.chapter[data-programme-category] {
    padding-top: 108px;
    padding-bottom: 108px;
  }
  .chapter__content > .chapter-photo,
  .defence-scene__content > .chapter-photo { width: min(92%, 860px); }
}

@media (max-width: 760px) {
  .hero { min-height: 100svh; padding-top: 72px; }
  .hero__stage {
    position: relative;
    min-height: clamp(610px, 74vh, 720px);
    display: block;
    overflow: clip;
  }
  .hero__name {
    position: relative;
    z-index: 7;
    width: 100%;
    max-width: 100%;
    padding-top: clamp(38px, 7vh, 58px);
    font-size: clamp(54px, 15.7vw, 76px);
    line-height: .87;
  }
  .hero-media {
    position: absolute;
    z-index: 3;
    inset: clamp(102px, 14vh, 125px) 0 0 0;
    height: auto;
  }
  .hero-media__panel {
    inset: 0 -14% 0 7%;
    width: auto;
    height: auto;
    border-radius: 24px 0 0 24px;
  }
  .hero-media__image {
    object-fit: cover;
    object-position: center 17%;
    transform: none !important;
  }
  .hero-media__veil {
    background:
      linear-gradient(180deg, var(--paper) 0%, rgba(243,239,230,.88) 7%, rgba(243,239,230,.30) 16%, rgba(243,239,230,0) 30%, rgba(243,239,230,0) 82%, rgba(243,239,230,.36) 100%),
      linear-gradient(90deg, rgba(243,239,230,.54) 0%, rgba(243,239,230,.08) 28%, rgba(243,239,230,0) 52%);
  }
  .hero__monogram { z-index: 8; }
  .hero__statement p { display: none; }

  section.chapter[data-programme-category] {
    padding-top: 92px;
    padding-bottom: 92px;
    scroll-margin-top: 72px;
  }
  .chapter__content > h2,
  .defence-scene__content > h2 {
    font-size: clamp(39px, 11.3vw, 56px);
    line-height: 1.01;
  }
  .chapter__content > .chapter-photo,
  .defence-scene__content > .chapter-photo {
    --photo-radius: 16px;
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 3;
    margin: 26px 0 38px;
  }
  .chapter-photo[data-photo-key="protection-sociale"] {
    width: 100%;
    aspect-ratio: 1663 / 946;
  }
  .chapter-photo[data-photo-key="expression"] {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .chapter-photo::after { opacity: .28; }
}


/* ===== V10 — verified layer stack + continuous ambient motion ===== */

/*
   Explicit stacking architecture:
   0 = existing chapter colour fields
   1 = fixed ambient-motion layer
   2+ = page content
   Header/progress remain on their existing higher levels outside <main>.
*/
main {
  position: relative;
  isolation: isolate;
}

/* Programme colour fields stay exactly where they are visually, but are placed
   below the new global motion layer rather than in isolated section contexts. */
section[data-programme-category] {
  position: relative;
  isolation: auto !important;
  z-index: auto !important;
}
[data-programme-category]::before {
  z-index: 0 !important;
}

/* Numbered chapter content sits above the fixed waves. */
section[data-programme-category] > .chapter__marker,
section[data-programme-category] > .chapter__content,
section[data-programme-category] > .defence-scene__word,
section[data-programme-category] > .defence-scene__content {
  z-index: 2;
}

/* Non-numbered editorial scenes also remain above the waves. */
main > .hero,
main > .intro,
main > .programme-index,
main > .statement,
main > .footer {
  position: relative;
  z-index: 2;
}

.ambient-motion-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  contain: paint;
  transform: translateZ(0);
}

.ambient-motion-wave {
  position: absolute;
  left: -38vw;
  width: 176vw;
  min-width: 1900px;
  height: 38vh;
  min-height: 300px;
  border-radius: 50% 46% 53% 47% / 58% 43% 57% 42%;
  filter: blur(54px);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: transform, opacity;
  mix-blend-mode: soft-light;
}

/* The gradients themselves carry visible alpha, so the effect does not rely on
   blend-mode support to remain perceptible on pale chapter colours. */
.ambient-motion-wave--1 {
  top: -4vh;
  opacity: .62;
  background:
    radial-gradient(ellipse at 35% 50%, rgba(255,255,255,.38) 0 13%, rgba(255,255,255,.20) 30%, rgba(255,255,255,.055) 52%, rgba(255,255,255,0) 74%),
    linear-gradient(101deg, rgba(255,255,255,0) 3%, rgba(255,255,255,.16) 29%, rgba(255,255,255,.30) 47%, rgba(240,243,246,.10) 67%, rgba(255,255,255,0) 96%);
  animation: ambientMotionOne 21s cubic-bezier(.45,.02,.55,.98) infinite alternate;
}

.ambient-motion-wave--2 {
  top: 32vh;
  left: -48vw;
  width: 194vw;
  height: 42vh;
  opacity: .54;
  background:
    radial-gradient(ellipse at 70% 46%, rgba(255,255,255,.29) 0 14%, rgba(255,255,255,.14) 33%, rgba(255,255,255,0) 70%),
    linear-gradient(83deg, rgba(29,36,48,0) 5%, rgba(29,36,48,.045) 26%, rgba(255,255,255,.19) 47%, rgba(255,255,255,.27) 61%, rgba(255,255,255,0) 94%);
  animation: ambientMotionTwo 31s cubic-bezier(.43,.03,.57,.97) infinite alternate;
}

.ambient-motion-wave--3 {
  top: 70vh;
  left: -30vw;
  width: 166vw;
  height: 34vh;
  opacity: .48;
  background:
    radial-gradient(ellipse at 52% 48%, rgba(242,244,247,.22) 0 16%, rgba(255,255,255,.12) 38%, rgba(255,255,255,0) 72%),
    linear-gradient(109deg, rgba(255,255,255,0) 4%, rgba(255,255,255,.12) 27%, rgba(30,38,51,.040) 48%, rgba(255,255,255,.23) 68%, rgba(255,255,255,0) 96%);
  animation: ambientMotionThree 41s cubic-bezier(.46,.02,.54,.98) infinite alternate;
}

@keyframes ambientMotionOne {
  0%   { transform: translate3d(-6vw,-3vh,0) rotate(-7deg) scale3d(1.01,.94,1); opacity: .52; }
  38%  { transform: translate3d(1vw,3vh,0) rotate(-3deg) scale3d(1.07,1.02,1); opacity: .64; }
  72%  { transform: translate3d(6vw,0vh,0) rotate(1deg) scale3d(1.03,1.08,1); opacity: .57; }
  100% { transform: translate3d(10vw,-2vh,0) rotate(4deg) scale3d(.99,1.03,1); opacity: .61; }
}
@keyframes ambientMotionTwo {
  0%   { transform: translate3d(10vw,2vh,0) rotate(5deg) scale3d(1.04,.95,1); opacity: .44; }
  33%  { transform: translate3d(4vw,-3vh,0) rotate(2deg) scale3d(.99,1.06,1); opacity: .57; }
  68%  { transform: translate3d(-3vw,3vh,0) rotate(-2deg) scale3d(1.06,1.00,1); opacity: .49; }
  100% { transform: translate3d(-9vw,-1vh,0) rotate(-5deg) scale3d(1.02,1.07,1); opacity: .55; }
}
@keyframes ambientMotionThree {
  0%   { transform: translate3d(-8vw,3vh,0) rotate(-4deg) scale3d(1.03,1.07,1); opacity: .40; }
  41%  { transform: translate3d(-1vw,-2vh,0) rotate(0deg) scale3d(1.08,.98,1); opacity: .51; }
  76%  { transform: translate3d(5vw,2vh,0) rotate(4deg) scale3d(1.00,1.05,1); opacity: .46; }
  100% { transform: translate3d(9vw,-3vh,0) rotate(7deg) scale3d(1.06,1.01,1); opacity: .50; }
}

/* ===== V10 — premium one-shot scroll reveal system ===== */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--reveal-y, 30px), 0) scale(var(--reveal-scale, .992));
  filter: blur(var(--reveal-blur, 1.7px));
  transition:
    opacity var(--reveal-duration, 1.08s) cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms),
    transform var(--reveal-duration, 1.08s) cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms),
    filter calc(var(--reveal-duration, 1.08s) * .82) cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0);
}

[data-reveal="media"] {
  --reveal-y: 38px;
  --reveal-scale: .985;
  --reveal-blur: 2px;
  --reveal-duration: 1.22s;
  clip-path: inset(2.2% 0 1.4% 0 round 16px);
  transition:
    opacity var(--reveal-duration) cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms),
    transform var(--reveal-duration) cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms),
    filter 1s cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms),
    clip-path 1.18s cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms);
}
[data-reveal="media"].is-visible {
  clip-path: inset(0 0 0 0 round 16px);
}
[data-reveal="media"] img {
  transform: scale(1.03);
  transition: transform 1.28s cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms), filter .7s ease;
}
[data-reveal="media"].is-visible img {
  transform: scale(1);
}

[data-reveal="number"] {
  --reveal-y: 22px;
  --reveal-scale: .996;
  --reveal-blur: 1px;
}

@media (max-width: 760px) {
  .ambient-motion-wave {
    left: -86vw;
    width: 270vw;
    min-width: 0;
    height: 29vh;
    min-height: 190px;
    filter: blur(34px);
  }
  .ambient-motion-wave--1 { top: 0vh; opacity: .52; }
  .ambient-motion-wave--2 { top: 42vh; opacity: .43; }
  .ambient-motion-wave--3 { top: 77vh; height: 24vh; opacity: .34; }

  [data-reveal] {
    --reveal-y: 25px;
    --reveal-blur: 1.2px;
    --reveal-duration: .96s;
  }
  [data-reveal="media"] {
    --reveal-y: 30px;
    --reveal-duration: 1.04s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-motion-wave {
    animation: none !important;
    will-change: auto;
    opacity: .18 !important;
    transform: none !important;
  }
  [data-reveal],
  [data-reveal="media"] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  [data-reveal="media"] img {
    transform: none !important;
    transition: none !important;
  }
}

/*
   Chapter imagery now behaves like a polished editorial print mounted above the
   page rather than dissolving into it. The president hero keeps its existing
   soft photographic integration untouched.
*/
.chapter__content > .chapter-photo,
.defence-scene__content > .chapter-photo {
  border: 1px solid rgba(255,255,255,.72);
  outline: 1px solid rgba(19,24,32,.055);
  outline-offset: -1px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.84) inset,
    0 10px 26px rgba(20,25,31,.075),
    0 30px 72px rgba(20,25,31,.085);
  isolation: isolate;
  transition: transform .65s var(--ease), box-shadow .65s var(--ease);
}

.chapter-photo picture {
  position: relative;
  z-index: 0;
  background: rgba(255,255,255,.28);
}

.chapter-photo img {
  filter: saturate(1.01) contrast(1.045) brightness(1.015);
  image-rendering: auto;
  backface-visibility: hidden;
  transition: transform 1.1s var(--ease), filter .7s var(--ease);
}

/* A soft specular reflection — no side fading and no loss of image edges. */
.chapter-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 22% 0%, rgba(255,255,255,.22) 0%, rgba(255,255,255,.07) 30%, transparent 57%),
    linear-gradient(118deg, transparent 12%, rgba(255,255,255,.055) 33%, rgba(255,255,255,.14) 45%, transparent 61%);
  mix-blend-mode: screen;
  opacity: .72;
}

.chapter-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075) 0%, transparent 22%, transparent 78%, rgba(15,20,29,.045) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(14,20,28,.05);
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1081px) {
  .chapter__content > .chapter-photo:hover,
  .defence-scene__content > .chapter-photo:hover {
    transform: translateY(-2px);
    box-shadow:
      0 1px 0 rgba(255,255,255,.9) inset,
      0 15px 34px rgba(20,25,31,.085),
      0 38px 82px rgba(20,25,31,.095);
  }
  .chapter-photo:hover img { transform: scale(1.008) !important; }
}

/* Graphic/contain assets keep their intended colour and proportions. */
.chapter-photo[data-photo-key="protection-sociale"] img,
.chapter-photo[data-photo-key="expression"] img {
  filter: none;
}

@media (max-width: 760px) {

  .chapter__content > .chapter-photo,
  .defence-scene__content > .chapter-photo {
    box-shadow:
      0 1px 0 rgba(255,255,255,.76) inset,
      0 8px 22px rgba(20,25,31,.07),
      0 22px 48px rgba(20,25,31,.07);
  }
  .chapter-photo::before { opacity: .58; }
}

@media (prefers-reduced-motion: reduce) {
  .chapter__content > .chapter-photo,
  .defence-scene__content > .chapter-photo,
  .chapter-photo img { transition: none !important; }
}


/* ===== V11 — chapter 14 parity + image reliability audit ===== */

/* Chapter 14 now follows exactly the same numbered-chapter geometry as 01–13 and 15. */
.defence-scene[data-programme-category] {
  width: min(var(--max), 100%);
  margin: 0 auto;
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr 6fr;
  gap: clamp(34px, 6vw, 110px);
  align-items: start;
  overflow: visible;
  padding: clamp(118px, 11vw, 190px) var(--pad);
  scroll-margin-top: 88px;
}
.defence-scene[data-programme-category] > .chapter__marker {
  grid-column: 1;
  position: sticky;
  top: 120px;
  height: max-content;
  z-index: 3;
}
.defence-scene[data-programme-category] > .defence-scene__content {
  grid-column: 2;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0;
}
.defence-scene__word {
  z-index: 0;
  pointer-events: none;
}

/* Never let the browser's broken-image glyph/alt rendering distort a photo frame. */
.chapter-photo {
  isolation: isolate;
}
.chapter-photo img[hidden] {
  display: none !important;
}
.chapter-photo.is-image-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  background:
    radial-gradient(ellipse at 28% 24%, rgba(255,255,255,.72), transparent 38%),
    radial-gradient(ellipse at 75% 70%, rgba(35,43,55,.055), transparent 42%),
    linear-gradient(135deg, color-mix(in srgb, var(--section-bg) 88%, #dce2e8 12%), color-mix(in srgb, var(--section-bg) 93%, #fff 7%));
}
.chapter-photo.is-image-loaded img {
  visibility: visible;
}

@media (max-width: 1080px) {
  .defence-scene[data-programme-category] {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 108px;
    padding-bottom: 108px;
  }
  .defence-scene[data-programme-category] > .chapter__marker,
  .defence-scene[data-programme-category] > .defence-scene__content {
    grid-column: 1;
  }
  .defence-scene[data-programme-category] > .chapter__marker {
    position: relative;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--hair);
    padding-bottom: 10px;
  }
  .defence-scene[data-programme-category] > .chapter__marker b {
    writing-mode: initial;
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .defence-scene[data-programme-category] {
    padding-top: 92px;
    padding-bottom: 92px;
    scroll-margin-top: 72px;
  }
  .defence-scene[data-programme-category] > .chapter__marker {
    gap: 12px;
  }
  .defence-scene[data-programme-category] > .chapter__marker span {
    flex: 0 0 auto;
  }
  .defence-scene[data-programme-category] > .chapter__marker b {
    max-width: calc(100% - 68px);
    line-height: 1.25;
  }
}


/* ===== V12 — PIN HERO / SCROLL ROTATION ===== */
.hero-pin {
  --pin-rotation: 0deg;
  position: absolute;
  z-index: 8;
  right: clamp(10px, 1.2vw, 24px);
  bottom: clamp(10px, 1.7vh, 22px);
  width: clamp(150px, 15vw, 238px);
  aspect-ratio: 1.53 / 1;
  pointer-events: none;
  transform: rotate(var(--pin-rotation));
  transform-origin: 50% 50%;
  will-change: transform;
  contain: layout paint style;
}
.hero-pin__float {
  width: 100%;
  height: 100%;
  animation: heroPinFloat 6.8s cubic-bezier(.45,0,.55,1) infinite;
  will-change: transform;
}
.hero-pin__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 9px 16px rgba(16,27,45,.16))
    drop-shadow(0 2px 4px rgba(16,27,45,.10));
  transform: translateZ(0);
}
@keyframes heroPinFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  35% { transform: translate3d(0,-4px,0) scale(1.003); }
  68% { transform: translate3d(1px,-1px,0) scale(.999); }
}
@media (max-width: 760px) {
  .hero-pin {
    right: clamp(-3px, 1vw, 6px);
    bottom: clamp(5px, 1.1vh, 10px);
    width: clamp(118px, 31vw, 150px);
  }
  .hero-pin__float { animation-duration: 7.8s; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pin { --pin-rotation: 0deg !important; transform: rotate(0deg) !important; }
  .hero-pin__float { animation: none !important; }
}

/* ===== V15 — MOBILE VIEWPORT CONTAINMENT =====
   Prevent oversized decorative layers from enlarging the mobile layout viewport.
   This restores the pre-chatbot one-screen mobile composition without changing
   any visual element, section geometry, animation or chapter behavior. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body,
  main {
    overflow-x: clip;
  }
}

/* The oversized chapter-14 outline is intentionally decorative; keep it clipped
   to its own section so it can never affect the document's intrinsic width. */
.defence-scene {
  overflow-x: hidden;
}
@supports (overflow: clip) {
  .defence-scene {
    overflow-x: clip;
  }
}
