/* ============================================================
   lore.css — La chronique de l'Ordre des Bannis
   Même direction artistique que la page d'accueil : obsidienne,
   cuivre et or, brush de maison, médaillons circulaires et
   dégradé de flamme. Le contenu et les crochets JS
   (chronicle.js, card-depth.js) sont inchangés.
   ============================================================ */

/* ── 1. Jetons de la page ───────────────────────────────────── */
.chronicle-page{
  --ch-ink: #f6e8d6;
  --ch-soft: #d3bda4;
  --ch-muted: #a08a6d;
  --ch-gold: #d9a35f;
  --ch-gold-bright: #f3cb8f;
  --ch-coral: #ff7059;
  --ch-copper: #c98552;
  --ch-line: #d99a632e;
  --ch-line-soft: #d99a6318;
  --ch-glass: linear-gradient(158deg, #ffffff0d, #ffffff03 46%), #0c0805d9;
  --ch-glass-flat: #0f0a07e6;
  --ch-flame: linear-gradient(96deg, #ff5f6d 0%, #ff8a4c 48%, #f3cb8f 100%);
  --ch-display: 'Outfit', var(--font-body);
  --ch-display-big: 'Rocket Brush', 'Outfit', sans-serif;
  --ch-ease: cubic-bezier(.16, 1, .3, 1);
  --ch-ease-out: cubic-bezier(.25, .46, .45, .94);
  --ch-progress: 0%;
  --ch-done: 0;
  --ch-px: 0;
  --ch-py: 0;
  position: relative; z-index: 1; min-width: 0;
  padding: 0 var(--page-gutter) clamp(60px, 9vh, 130px);
  color: var(--ch-ink); font-family: var(--font-body);
}
.chronicle-page :is(h1, h2, h3, p, blockquote, figure){ margin: 0 }
.chronicle-page em{ font-style: normal }
.chronicle-page a:not(.chronicle-button){ color: inherit; text-decoration: none }
.chronicle-page :is(a, button):focus-visible{ outline: 2px solid var(--ch-gold-bright); outline-offset: 5px; border-radius: 8px }

/* ── 2. Atmosphère : puits de lumière, voûte, sol, vignette ─── */
.chronicle-atmos{ position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none }
.chronicle-shaft{
  position: absolute; top: -30%; width: 42vw; height: 150%;
  filter: blur(48px); transform: rotate(9deg);
  translate: calc(var(--ch-px) * -28px) calc(var(--ch-py) * -18px);
  animation: ch-breathe 15s ease-in-out infinite;
}
.chronicle-shaft--a{ left: 3%; background: linear-gradient(178deg, #e8a54a1f, #c9855200 62%) }
.chronicle-shaft--b{
  right: 1%; transform: rotate(-12deg); animation-delay: -7s;
  background: linear-gradient(182deg, #f3cb8f18, #c9855200 58%);
}
.chronicle-vault{
  position: absolute; inset: 0; display: grid; place-items: center;
  overflow: hidden; user-select: none;
  /* La voûte monte à mesure que la lecture avance : la profondeur suit le propos. */
  translate: calc(var(--ch-px) * 38px) calc(var(--ch-py) * 26px + var(--ch-progress) * -.3);
}
.chronicle-vault > .bi{
  font-size: clamp(320px, 42vw, 860px); line-height: 1;
  color: #d99a6308; opacity: .55;
  -webkit-text-stroke: 1.6px #d99a6318;
  filter: drop-shadow(0 0 70px #c9855214);
  rotate: -7deg;
}
.chronicle-floor{
  position: absolute; left: -25%; right: -25%; bottom: -6%; height: 42vh;
  background:
    repeating-linear-gradient(90deg, #d99a6314 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, #d99a6310 0 1px, transparent 1px 74px);
  transform: perspective(420px) rotateX(74deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000c, transparent 78%);
  mask-image: linear-gradient(to top, #000c, transparent 78%);
  animation: ch-floor 16s linear infinite;
}
.chronicle-vignette{ position: absolute; inset: 0; background: radial-gradient(ellipse 78% 62% at 50% 44%, transparent 42%, #0a0605a0 100%) }

/* ── 3. Scène d'ouverture ───────────────────────────────────── */
.chronicle-stage{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr);
  gap: clamp(28px, 4vw, 74px); align-items: center;
  max-width: 1580px; margin-inline: auto;
  padding: clamp(44px, 9vh, 108px) 0 clamp(38px, 7vh, 88px);
  container-type: inline-size;
}
/* Filigrane fantôme, taillé dans le brush de maison. Le pourcentage se
   rapporte à sa propre largeur : le mot dérive au fil de la lecture. */
.chronicle-wordmark{
  position: absolute; left: 50%; bottom: -2%;
  translate: calc(-50% + var(--ch-progress) * -.55) 0;
  font-family: var(--ch-display-big); font-weight: 400;
  font-size: clamp(72px, 13vw, 220px); line-height: .8; letter-spacing: .01em;
  white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px #d9a35f1a;
  pointer-events: none; user-select: none;
}
.chronicle-crest-spark{
  position: absolute; left: 12%; top: 22%; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle, #fff6dd, #e8a54a 55%, #c9855200);
  box-shadow: 0 0 16px 3px #c9855266;
  animation: ch-float 9s ease-in-out infinite, ch-twinkle 4.6s ease-in-out infinite;
}
/* La pastille d'œil, comme celles des sections de l'accueil. */
.chronicle-kicker{
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; margin-bottom: clamp(20px, 2.8vh, 32px);
  border: 1px solid var(--ch-line); border-radius: 999px; background: #c985520d;
  font-family: var(--ch-display); font-size: 10.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ch-gold);
}
.chronicle-kicker > i{
  width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #fff6dd, #e8a54a 60%, transparent);
  box-shadow: 0 0 10px 3px #c9855266;
}
/* !important : main.css impose Outfit sur les h1–h4 de .app-main. */
.chronicle-page .chronicle-stage h1{
  font-family: var(--ch-display-big)!important; font-weight: 400;
  width: max-content; max-width: 118%;
  font-size: clamp(38px, 10cqi, 132px); line-height: 1.18; letter-spacing: -.01em;
  text-transform: none;
}
.chronicle-page .chronicle-stage h1 em{
  background: var(--ch-flame); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: ch-shimmer 9s ease-in-out infinite;
}
.chronicle-stage-copy > p{
  max-width: 52ch; margin-top: clamp(10px, 1.4vh, 16px);
  font-size: clamp(16px, 1.15vw, 21px); line-height: 1.85; color: var(--ch-soft);
}

/* Bouton-flamme */
.chronicle-page .chronicle-button{
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .62em;
  padding: 1.02rem 1.7rem; min-height: 54px; border: 1px solid transparent; border-radius: 999px;
  background: var(--ch-flame); background-size: 180% 100%;
  color: #2b130c; font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 14px 40px #c985523d, inset 0 1px 0 #fff3;
  transition: box-shadow .4s var(--ch-ease), scale .4s var(--ch-ease), background-position .6s var(--ch-ease);
}
.chronicle-page .chronicle-button::after{
  content: ''; position: absolute; inset: -60% -20%; z-index: -1;
  background: linear-gradient(105deg, transparent 38%, #ffffffa8 50%, transparent 62%);
  transform: translateX(-130%); transition: transform .85s var(--ch-ease);
}
.chronicle-page .chronicle-button:hover{ scale: 1.02; background-position: 60% 0; box-shadow: 0 18px 52px #c985525c, inset 0 1px 0 #fff5 }
.chronicle-page .chronicle-button:hover::after{ transform: translateX(130%) }
.chronicle-page .chronicle-button > .bi{ font-size: 1.12em }

/* Frise des époques */
.chronicle-era{ display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); max-width: 440px; margin-top: clamp(30px, 4.6vh, 52px) }
.chronicle-era-item b{ display: block; font-family: var(--ch-display); font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.02em; line-height: 1 }
.chronicle-era-item small{ display: block; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ch-muted); margin-top: 8px }
.chronicle-era-item--end{ text-align: right }
.chronicle-era-bar{ position: relative; flex: 1; height: 2px; border-radius: 999px; background: linear-gradient(90deg, #c985524d, #f3cb8f1f) }
.chronicle-era-bar > i{ position: absolute; inset: 0 auto 0 0; width: var(--ch-progress); border-radius: 999px; background: var(--ch-flame); box-shadow: 0 0 14px #c9855299 }
/* La jauge porte sa propre braise ; sa tête ne s'allume qu'une fois lancée. */
.chronicle-era-bar > i::after{
  content: ''; position: absolute; right: -3px; top: -4px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle, #fff6dd, #e8a54a 55%, transparent);
  box-shadow: 0 0 16px 4px #c9855299;
  opacity: min(1, calc(var(--ch-done) * 2.2)); animation: ch-ember-pulse 2.4s ease-in-out infinite;
}

/* ── 4. Le sceau circulaire ─────────────────────────────────── */
.chronicle-crest{
  position: relative; display: grid; place-items: center;
  width: min(100%, 520px); aspect-ratio: 1; justify-self: center;
  perspective: 1000px; isolation: isolate;
  animation: ch-float 13s ease-in-out infinite;
}
.chronicle-crest > *:not(.chronicle-crest-label):not(.chronicle-crest-meta):not(.chronicle-crest-year){ grid-area: 1 / 1 }
.chronicle-crest-halo{
  position: absolute; inset: -14%; border-radius: 50%;
  background: radial-gradient(circle, #c985522e, #ff705914 42%, transparent 68%);
  filter: blur(18px); animation: ch-breathe 8s ease-in-out infinite;
}
.chronicle-crest-core{
  display: grid; place-items: center; width: 66%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid #d9a35f3a;
  background: radial-gradient(circle at 50% 34%, #c9855233, #0c0805e6 68%);
  box-shadow: 0 0 0 1px #140c08, 0 34px 70px #0a0605a8, 0 0 70px #c985522b, inset 0 1px 0 #ffffff24;
  transform: rotateX(var(--ch-rx, 0deg)) rotateY(var(--ch-ry, 0deg));
  transition: transform .6s var(--ch-ease);
  will-change: transform;
}
.chronicle-crest-core > .bi{
  font-size: clamp(66px, 8vw, 112px);
  background: var(--ch-flame); background-size: 180% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px #c9855259);
  animation: ch-float 7s ease-in-out infinite, ch-shimmer 11s ease-in-out infinite;
}
/* Anneaux de l'emblème : lointain pointillé, arc conique, proche plein.
   ch-spin ne touche que « rotate », ch-ring-open que scale et opacité. */
.chronicle-crest-ring{
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed #c9855226;
  animation: ch-spin 46s linear infinite, ch-ring-open 1.2s var(--ch-ease) .18s both;
}
.chronicle-crest-ring--b{
  inset: 8%; border-width: 2px; border-color: transparent;
  background: conic-gradient(from 0deg, #ff705900 0 62%, #c98552aa 78%, #f3cb8f00 92%) border-box;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
  animation: ch-spin 18s linear infinite reverse, ch-ring-open 1.2s var(--ch-ease) .32s both;
}
.chronicle-crest-ring--c{
  inset: 16%; border-style: solid; border-color: #d99a6314;
  box-shadow: inset 0 0 60px #c985521f;
  animation: ch-spin 32s linear infinite, ch-ring-open 1.2s var(--ch-ease) .46s both;
}
.chronicle-crest-ring > i{
  position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle, #fff6dd, #e8a54a 55%, transparent);
  box-shadow: 0 0 16px 4px #c9855299;
  animation: ch-twinkle 3.2s ease-in-out infinite;
}
/* L'arc conique est masqué sur son épaisseur : sa pastille serait rognée. */
.chronicle-crest-ring--b > i{ display: none }
.chronicle-crest-ring--c > i{ background: radial-gradient(circle, #fff, #ff7059 55%, transparent); box-shadow: 0 0 16px 4px #ff705999 }
.chronicle-crest-label{ position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ch-soft) }
.chronicle-crest-meta{ position: absolute; left: 0; right: 0; bottom: 3.5%; text-align: center; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--ch-muted) }
.chronicle-crest-year{ position: absolute; left: 0; right: 0; top: 12.5%; text-align: center; font-size: 10px; letter-spacing: .3em; color: var(--ch-muted) }

/* ── 5. Index collant ───────────────────────────────────────── */
.chronicle-index{
  position: sticky; top: clamp(10px, 2vh, 22px); z-index: 30;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px;
  overflow: hidden; max-width: 1240px; margin: 0 auto clamp(28px, 4vh, 48px);
  padding: 6px; border: 1px solid var(--ch-line); border-radius: 999px;
  background: #0f0a07e6;
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 #ffffff0a, 0 24px 60px #0a060552;
}
.chronicle-index-fill{ position: absolute; left: 10px; bottom: 1px; height: 2px; width: var(--ch-progress); border-radius: 999px; background: var(--ch-flame); box-shadow: 0 0 14px #c98552b3 }
.chronicle-index-fill::after{
  content: ''; position: absolute; right: -3px; bottom: -3px; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle, #fff6dd, #e8a54a 55%, transparent);
  box-shadow: 0 0 16px 4px #c9855299;
  opacity: min(1, calc(var(--ch-done) * 2.2)); animation: ch-ember-pulse 2.2s ease-in-out infinite;
}
.chronicle-index > a{
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 6px; border-radius: 999px; font-size: 11.5px; letter-spacing: .03em;
  color: var(--ch-muted);
  transition: color .35s var(--ch-ease), background .35s var(--ch-ease),
    box-shadow .35s var(--ch-ease), translate .35s var(--ch-ease);
}
.chronicle-index > a > span{ font-size: 9px; font-variant-numeric: tabular-nums; color: var(--ch-gold); opacity: .55; transition: opacity .35s var(--ch-ease) }
.chronicle-index > a:hover{ color: var(--ch-ink); background: #c9855212; translate: 0 -2px }
.chronicle-index > a[aria-current="location"]{
  color: var(--ch-ink); background: linear-gradient(160deg, #c9855226, #ff70590f);
  box-shadow: inset 0 0 0 1px #d9a35f40, 0 0 24px #c985522e;
  animation: ch-chip 3s ease-in-out infinite;
}
.chronicle-index > a[aria-current="location"] > span{ opacity: 1 }

/* ── 6. Le fil des années ───────────────────────────────────── */
.chronicle-introduction{
  display: grid; justify-items: center; text-align: center;
  max-width: 900px; margin: clamp(52px, 9vh, 108px) auto clamp(28px, 5vh, 52px);
}
.chronicle-page .chronicle-introduction h2{
  font-family: var(--ch-display-big)!important; font-weight: 400;
  font-size: clamp(30px, 4.2vw, 64px); line-height: 1.15; letter-spacing: -.01em;
  text-transform: none;
}
.chronicle-page .chronicle-introduction h2 em{
  background: var(--ch-flame); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: ch-shimmer 9s ease-in-out infinite;
}
.chronicle-introduction > p{ font-size: clamp(15px, 1.1vw, 19px); line-height: 1.85; color: var(--ch-soft); max-width: 62ch; margin-top: 22px }
.chronicle-figures{ display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 2vw, 26px); margin-top: clamp(30px, 5vh, 54px) }
.chronicle-figure{ position: relative; display: grid; justify-items: center; gap: 8px; padding-inline: clamp(20px, 3vw, 44px) }
.chronicle-figure + .chronicle-figure::before{ content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(180deg, transparent, var(--ch-line), transparent) }
.chronicle-figure b{
  font-family: var(--ch-display); font-size: clamp(38px, 4.4vw, 62px); font-weight: 700; line-height: 1; letter-spacing: -.04em;
  background: var(--ch-flame); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.chronicle-figure span{ font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ch-muted) }

/* ── 7. Le rail de braises ──────────────────────────────────── */
.chronicle-timeline{ position: relative; max-width: 1580px; margin-inline: auto; padding-block: clamp(24px, 5vh, 56px) }
.chronicle-rail{ position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -50% 0; background: linear-gradient(180deg, transparent, #d99a6326 5%, #d99a6326 95%, transparent) }
.chronicle-rail-burn{ position: absolute; left: 0; top: 0; width: 100%; height: var(--ch-progress); background: linear-gradient(180deg, #f3cb8f, #e8a54a 42%, #ff7059); box-shadow: 0 0 18px #c98552b3, 0 0 46px #ff705959 }
.chronicle-rail-burn::after{
  content: ''; position: absolute; left: 50%; bottom: -7px; translate: -50% 0;
  width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle, #fff6dd, #e8a54a 52%, #ff705900);
  box-shadow: 0 0 28px 7px #c98552b3;
}

.chronicle-entry{
  position: relative; display: grid; align-items: start;
  grid-template-columns: minmax(0, 1fr) clamp(66px, 8vw, 130px) minmax(0, 1fr);
  padding-block: clamp(14px, 2.6vh, 30px);
  scroll-margin-top: 130px;
}
.chronicle-entry-marker{ grid-column: 1; grid-row: 1; justify-self: end; text-align: right; max-width: 300px; padding: clamp(16px, 2.4vh, 30px) clamp(4px, 1vw, 16px) 0 0 }
.chronicle-entry:nth-of-type(even) .chronicle-entry-marker{ grid-column: 3; justify-self: start; text-align: left; padding: clamp(16px, 2.4vh, 30px) 0 0 clamp(4px, 1vw, 16px) }
.chronicle-entry-node{
  position: absolute; left: 50%; top: clamp(30px, 5vh, 58px); translate: -50% 0; z-index: 2;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--chapter-color) 55%, #d99a6340);
  background: #0d0806; box-shadow: 0 0 0 5px #0a0605cc;
  transition: background .8s var(--ch-ease), box-shadow .8s var(--ch-ease), border-color .8s var(--ch-ease);
}
.chronicle-entry.is-lit .chronicle-entry-node{
  background: var(--chapter-color); border-color: color-mix(in srgb, var(--chapter-color) 80%, #fff);
  box-shadow: 0 0 0 5px #0a0605cc, 0 0 24px 5px color-mix(in srgb, var(--chapter-color) 65%, transparent);
}

.chronicle-entry-number{
  display: block; font-family: var(--ch-display);
  font-size: clamp(42px, 5vw, 80px); font-weight: 300; line-height: .9; letter-spacing: -.045em;
  color: transparent; -webkit-text-stroke: 1.4px color-mix(in srgb, var(--chapter-color) 38%, #d99a6340);
  transition: color .9s var(--ch-ease), -webkit-text-stroke-color .9s var(--ch-ease);
}
.chronicle-entry.is-lit .chronicle-entry-number{ color: color-mix(in srgb, var(--chapter-color) 55%, var(--ch-gold-bright)); -webkit-text-stroke-color: transparent }
.chronicle-entry-date{ display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ch-soft); margin-top: clamp(12px, 2vh, 22px) }

/* Panneau de verre teinté de son chapitre */
.chronicle-entry-body{
  position: relative; grid-column: 3; grid-row: 1; overflow: hidden; min-width: 0;
  max-width: 700px; padding: clamp(26px, 2.6vw, 44px);
  border: 1px solid color-mix(in srgb, var(--chapter-color) 22%, var(--ch-line)); border-radius: 28px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--chapter-color) 10%, transparent), #ffffff03 44%), var(--ch-glass-flat);
  -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 34px 80px #0a06056b, inset 0 1px 0 #ffffff10;
  transition: border-color .5s var(--ch-ease), box-shadow .5s var(--ch-ease);
}
.chronicle-entry:nth-of-type(even) .chronicle-entry-body{ grid-column: 1; justify-self: end }
.chronicle-entry-body:hover{ border-color: color-mix(in srgb, var(--chapter-color) 55%, transparent); box-shadow: 0 42px 96px #0a060585, 0 0 44px color-mix(in srgb, var(--chapter-color) 14%, transparent), inset 0 1px 0 #ffffff14 }
.chronicle-entry-body::before{
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--chapter-color) 65%, transparent), transparent);
  opacity: .65;
}
.chronicle-entry-glow{
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--ch-mx, 50%) var(--ch-my, 0%), color-mix(in srgb, var(--chapter-color) 15%, transparent), transparent 62%);
  transition: opacity .5s var(--ch-ease);
}
.chronicle-entry-body:hover .chronicle-entry-glow{ opacity: 1 }

.chronicle-entry-top{ position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: clamp(18px, 2.4vh, 26px) }
.chronicle-entry-top > span:first-child{ display: inline-flex; align-items: center; gap: 12px; font-family: var(--ch-display); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--chapter-color) 75%, var(--ch-gold-bright)) }
/* Médaillon circulaire, comme les cartouches du rail. */
.chronicle-entry-top .bi{
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-size: 20px;
  border: 1px solid color-mix(in srgb, var(--chapter-color) 34%, transparent);
  background: color-mix(in srgb, var(--chapter-color) 16%, transparent);
  color: color-mix(in srgb, var(--chapter-color) 86%, white);
  box-shadow: 0 0 30px color-mix(in srgb, var(--chapter-color) 24%, transparent);
}
.chronicle-entry-top > span:last-child{ font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--ch-muted) }
.chronicle-page .chronicle-entry-body h2{ font-family: var(--ch-display)!important; font-size: clamp(23px, 2.1vw, 34px); font-weight: 700; line-height: 1.22; letter-spacing: -.015em; color: var(--ch-ink); text-transform: none }
.chronicle-entry-body > p{ font-size: 16.5px; line-height: 1.95; color: var(--ch-soft); max-width: 78ch; margin-top: 18px }
.chronicle-entry-body strong{ color: var(--ch-gold); font-weight: 600 }
.chronicle-entry-body em{ color: var(--ch-gold-bright) }

.chronicle-entry-body blockquote{
  position: relative; display: flex; align-items: flex-start; gap: 16px;
  margin: clamp(24px, 3vh, 34px) 0; padding: 6px 0 6px 24px;
  border-left: 2px solid; border-image: linear-gradient(180deg, #f3cb8f, #ff705900) 1;
  font-family: var(--ch-display-big);
  font-size: clamp(21px, 2vw, 32px); font-weight: 400; line-height: 1.3; letter-spacing: -.005em; color: var(--ch-gold-bright);
}
.chronicle-entry-body blockquote > .bi{ flex-shrink: 0; font-size: 22px; opacity: .45; margin-top: .35em }

.chronicle-founders{ position: relative; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ch-line-soft) }
.chronicle-founders > span{ font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ch-muted) }
.chronicle-founder{ display: flex; align-items: center; gap: 16px; margin-top: 20px }
.chronicle-founder > .bi{
  display: grid; place-items: center; flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid #d9a35f30; background: radial-gradient(circle at 32% 28%, #c985523d, #120c08 68%);
  font-size: 23px; color: var(--ch-gold); box-shadow: inset 0 1px 0 #ffffff1f;
}
.chronicle-founder strong{ display: block; font-family: var(--ch-display); font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--ch-ink) }
.chronicle-founder small{ display: block; font-size: 11.5px; letter-spacing: .06em; color: var(--ch-muted); margin-top: 5px }
.chronicle-founder-names{ display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px }
.chronicle-founder-names span{
  padding: 7px 14px; border: 1px solid var(--ch-line-soft); border-radius: 999px;
  font-size: 12px; color: var(--ch-soft); background: #c985520d;
  transition: border-color .35s, color .35s, background .35s, translate .35s var(--ch-ease);
}
.chronicle-founder-names span:hover{ border-color: #d9a35f4d; color: var(--ch-ink); background: #c9855214; translate: 0 -3px }

/* ── 8. La nouvelle ère ─────────────────────────────────────── */
.chronicle-leadership{ max-width: 1580px; margin: clamp(52px, 10vh, 120px) auto 0; padding-top: clamp(40px, 6vh, 76px); border-top: 1px solid var(--ch-line-soft) }
.chronicle-section-head{ display: grid; justify-items: center; text-align: center; margin-bottom: clamp(30px, 5vh, 54px) }
.chronicle-page .chronicle-section-head h2{
  font-family: var(--ch-display-big)!important; font-weight: 400;
  font-size: clamp(30px, 4.2vw, 64px); line-height: 1.15; letter-spacing: -.01em;
  text-transform: none;
}
.chronicle-page .chronicle-section-head h2 em{
  background: var(--ch-flame); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: ch-shimmer 9s ease-in-out infinite;
}
.chronicle-section-head > p{ font-size: clamp(15px, 1.1vw, 19px); line-height: 1.85; color: var(--ch-muted); max-width: 62ch; margin-top: 22px }
/* Les cartes dirigeants n'ont pas la même longueur de texte : align-items:start
   évite que la plus longue étire les autres et creuse le vide sous un nom seul. */
.chronicle-leaders{ display: grid; grid-template-columns: 1.32fr 1fr 1fr; align-items: start; gap: clamp(14px, 1.6vw, 24px) }
.chronicle-leader{
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; padding: clamp(28px, 2.4vw, 42px);
  border: 1px solid var(--ch-line); border-radius: 28px;
  background: var(--ch-glass-flat);
  -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 34px 80px #0a06055c, inset 0 1px 0 #ffffff10;
  transition: border-color .5s var(--ch-ease), box-shadow .5s var(--ch-ease);
}
.chronicle-leader:hover{ border-color: #d9a35f52; box-shadow: 0 42px 96px #0a06057a, 0 0 44px #c9855224, inset 0 1px 0 #ffffff16 }
.chronicle-leader-glow{ position: absolute; inset: -40% -20% auto; height: 70%; z-index: -1; opacity: .55; background: radial-gradient(ellipse at 50% 0, #c985522e, transparent 68%); transition: opacity .5s var(--ch-ease) }
.chronicle-leader:hover .chronicle-leader-glow{ opacity: 1 }
/* Médaillon circulaire, comme les cartouches du rail. */
.chronicle-leader > .bi{
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px; border-radius: 50%;
  border: 1px solid #d9a35f30; background: radial-gradient(circle at 32% 28%, #c985523d, #120c08 70%);
  font-size: 24px; color: var(--ch-gold-bright);
  box-shadow: inset 0 1px 0 #ffffff1f, 0 0 34px #c9855224;
}
.chronicle-leader > span{ font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ch-muted); margin-bottom: 12px }
.chronicle-leader h3{ font-family: var(--ch-display); font-size: clamp(23px, 2.1vw, 32px); font-weight: 700; letter-spacing: -.015em; color: var(--ch-ink) }
.chronicle-leader p{ font-size: 15px; line-height: 1.9; color: var(--ch-soft); margin-top: 18px }
.chronicle-leader-founder{ border-color: #d9a35f40; background: radial-gradient(ellipse at 16% 0, #c9855224, transparent 62%), var(--ch-glass-flat) }
.chronicle-leader-founder h3{ font-size: clamp(27px, 2.6vw, 38px) }

/* ── 9. Le prochain chapitre ────────────────────────────────── */
.chronicle-epilogue{
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; text-align: center;
  max-width: 1180px; margin: clamp(52px, 10vh, 120px) auto 0;
  padding: clamp(44px, 6vh, 88px) clamp(24px, 4vw, 68px);
  border: 1px solid var(--ch-line); border-radius: 32px;
  background: radial-gradient(ellipse 72% 58% at 50% 112%, #c9855224, transparent 70%), var(--ch-glass-flat);
  -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%);
  box-shadow: inset 0 1px 0 #ffffff0c, 0 34px 80px #0a060566;
}
/* Les anneaux du sceau reviennent en filigrane derrière le propos. */
.chronicle-epilogue::before,.chronicle-epilogue::after{
  content: ''; position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  border-radius: 50%; pointer-events: none; z-index: -1;
}
.chronicle-epilogue::before{
  width: min(72vw, 680px); aspect-ratio: 1;
  border: 1px dashed #d9a35f1c;
  animation: ch-spin 54s linear infinite;
}
.chronicle-epilogue::after{
  width: min(52vw, 470px); aspect-ratio: 1;
  border: 1px solid #d9a35f12;
  box-shadow: inset 0 0 90px #c9855212;
  animation: ch-spin 38s linear infinite reverse;
}
.chronicle-page .chronicle-epilogue h2{
  font-family: var(--ch-display-big)!important; font-weight: 400;
  font-size: clamp(30px, 4.2vw, 64px); line-height: 1.15; letter-spacing: -.01em;
  text-transform: none;
}
.chronicle-page .chronicle-epilogue h2 em{
  background: var(--ch-flame); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: ch-shimmer 9s ease-in-out infinite;
}
.chronicle-epilogue > p{ font-size: clamp(15px, 1.1vw, 19px); line-height: 1.85; color: var(--ch-soft); max-width: 58ch; margin: 22px 0 34px }
.chronicle-epilogue > div{ display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px }
.chronicle-text-link{ display: inline-flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ch-gold); transition: color .3s, gap .35s var(--ch-ease) }
.chronicle-text-link:hover{ color: var(--ch-gold-bright); gap: 20px }

/* Brasier */
.chronicle-brazier{ position: relative; display: block; width: 132px; height: 128px; margin-bottom: clamp(20px, 3.4vh, 34px) }
.chronicle-brazier-base{
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  width: 96px; height: 40px; border-radius: 0 0 48px 48px;
  background: linear-gradient(180deg, #c985523d, #ff705914);
  border: 1px solid #d9a35f40; border-top: 2px solid #f3cb8f66;
  box-shadow: 0 0 34px #c9855240, inset 0 -10px 22px #ff705922;
}
.chronicle-brazier-flame{
  position: absolute; left: 50%; bottom: 30px; translate: -50% 0;
  width: 46px; height: 78px; border-radius: 50% 50% 44% 44% / 64% 64% 36% 36%;
  background: linear-gradient(180deg, #f3cb8f, #e8a54a 44%, #ff705900);
  filter: blur(7px); opacity: .88; transform-origin: 50% 100%;
  animation: ch-flicker 2.6s ease-in-out infinite;
}
.chronicle-brazier-flame--b{ width: 28px; height: 58px; background: linear-gradient(180deg, #fff6dd, #f3cb8f 50%, transparent); animation-duration: 1.9s; animation-delay: -.6s }
.chronicle-brazier-flame--c{ width: 62px; height: 96px; opacity: .5; animation-duration: 3.4s; animation-delay: -1.3s }

/* ── 10. Mouvements ─────────────────────────────────────────────
   Tout ce qui bouge est décrit ici. Deux règles gouvernent la page :
   1. fx.js verrouille « transform » sur les entrées et les cartes
      dirigeants ; les montées passent donc par « translate » et « scale »,
      propriétés individuelles que cette couche n'écrase pas.
   2. Aucun filtre ni transform n'est posé sur un ancêtre d'un calque
      fixe : la voûte et les puits de flamme restent mobiles via variables.
   ─────────────────────────────────────────────────────────────── */

/* 10.1 — Alphabet de mouvement */
@keyframes ch-shimmer { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } }
@keyframes ch-breathe { 0%, 100% { opacity: .55; scale: 1 } 50% { opacity: 1; scale: 1.07 } }
@keyframes ch-float { 0%, 100% { translate: 0 0 } 50% { translate: 0 -16px } }
@keyframes ch-spin { to { rotate: 360deg } }
@keyframes ch-floor { from { background-position: 0 0, 0 0 } to { background-position: 0 92px, 74px 0 } }
@keyframes ch-flicker {
  0%, 100% { scale: 1 1; skewX: 0deg }
  30% { scale: 1.06 .94; skewX: 3deg }
  55% { scale: .95 1.08; skewX: -3deg }
  78% { scale: 1.03 .97; skewX: 1deg }
}
@keyframes ch-rise { from { opacity: 0; translate: 0 26px } to { opacity: 1; translate: 0 0 } }
@keyframes ch-lift { from { opacity: 0; translate: 0 14px; scale: .96 } to { opacity: 1; translate: 0 0; scale: 1 } }
@keyframes ch-core-in { from { opacity: 0; scale: .74 } to { opacity: 1; scale: 1 } }
@keyframes ch-ring-open { from { opacity: 0; scale: .58 } to { opacity: 1; scale: 1 } }
@keyframes ch-twinkle { 0%, 100% { opacity: .45; scale: .72 } 50% { opacity: 1; scale: 1.18 } }
@keyframes ch-ember-pulse { 0%, 100% { scale: .82 } 50% { scale: 1.3 } }
@keyframes ch-nudge { 0%, 100% { translate: 0 -2px } 50% { translate: 0 4px } }
@keyframes ch-burst { from { opacity: .8; scale: .4 } to { opacity: 0; scale: 2.6 } }
@keyframes ch-halo { 0%, 100% { opacity: .28; scale: .88 } 50% { opacity: .72; scale: 1.14 } }
@keyframes ch-lick { from { translate: 0 -150% } to { translate: 0 640% } }
@keyframes ch-sweep { from { background-position: -55% 0 } to { background-position: 155% 0 } }
@keyframes ch-flare { 0% { scale: 1 } 42% { scale: 1.17 } 100% { scale: 1 } }
@keyframes ch-haze { 0%, 100% { opacity: .26; translate: -50% 0; scale: 1 } 50% { opacity: .58; translate: -50% -13px; scale: 1.07 } }
@keyframes ch-spark {
  0% { opacity: 0; translate: 0 0; scale: .5 }
  16% { opacity: .95 }
  100% { opacity: 0; translate: var(--ch-spark-drift, 9px) -78px; scale: .15 }
}
@keyframes ch-coal {
  0%, 100% { box-shadow: 0 0 34px #c9855240, inset 0 -10px 22px #ff705922 }
  50% { box-shadow: 0 0 50px #c9855266, inset 0 -13px 26px #ff705933 }
}
@keyframes ch-chip {
  0%, 100% { box-shadow: inset 0 0 0 1px #d9a35f33, 0 0 24px #c985522e }
  50% { box-shadow: inset 0 0 0 1px #d9a35f66, 0 0 36px #c9855259 }
}
@keyframes ch-chip-light {
  0%, 100% { box-shadow: inset 0 0 0 1px #a8742f47 }
  50% { box-shadow: inset 0 0 0 1px #a8742f80, 0 0 22px #a8742f2e }
}

/* 10.2 — L'ouverture : la scène s'assemble, le sceau s'allume. */
.chronicle-stage .chronicle-kicker{ animation: ch-rise .9s var(--ch-ease) .05s both }
.chronicle-stage h1{ animation: ch-rise 1.05s var(--ch-ease) .18s both }
.chronicle-stage-copy > p{ animation: ch-rise .95s var(--ch-ease) .4s both }
.chronicle-stage .chronicle-button{ animation: ch-rise .9s var(--ch-ease) .54s both }
.chronicle-era{ animation: ch-rise 1s var(--ch-ease) .68s both }
.chronicle-stage .chronicle-button > .bi{ animation: ch-nudge 2.2s ease-in-out 1.5s infinite }
.chronicle-crest-core{ animation: ch-core-in 1.15s var(--ch-ease) .12s both }
.chronicle-crest :is(.chronicle-crest-label, .chronicle-crest-meta, .chronicle-crest-year){ animation: ch-rise 1s var(--ch-ease) .82s both }
.chronicle-index{ animation: ch-lift .85s var(--ch-ease) .5s both }

/* 10.3 — Le rail : la braise court sur la partie déjà brûlée et sa tête respire. */
.chronicle-rail-burn::before{
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 22%;
  background: linear-gradient(180deg, transparent, #fff6ddcc 48%, transparent);
  animation: ch-lick 3.4s linear infinite;
}
.chronicle-rail-burn::after{ animation: ch-ember-pulse 2.2s ease-in-out infinite }

/* 10.4 — Le nœud de chapitre : éclat d'ignition, puis halo qui continue de brûler. */
.chronicle-entry-node::before,.chronicle-entry-node::after{
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.chronicle-entry-node::before{
  inset: -7px; background: radial-gradient(circle, color-mix(in srgb, var(--chapter-color) 55%, transparent), transparent 68%);
  opacity: 0;
}
.chronicle-entry-node::after{
  inset: -2px; border: 1px solid color-mix(in srgb, var(--chapter-color) 85%, #fff); opacity: 0;
}
.chronicle-entry.is-lit .chronicle-entry-node::before{ animation: ch-halo 3.6s ease-in-out .45s infinite }
.chronicle-entry.is-lit .chronicle-entry-node::after{ animation: ch-burst 1s var(--ch-ease) .05s both }
/* Le chiffre ne renaît pas : il tressaille. Aucune opacité en jeu, donc
   aucun clignotement pour un chapitre déjà à l'écran quand il s'allume. */
.chronicle-entry.is-lit .chronicle-entry-number{ animation: ch-flare 1.1s var(--ch-ease) }

/* 10.5 — Les panneaux : filet de lumière sur l'arête haute, reflet qui répond au curseur. */
.chronicle-entry.is-lit .chronicle-entry-body::before{
  background-size: 220% 100%; animation: ch-shimmer 7s ease-in-out infinite;
}
.chronicle-entry-body:hover .chronicle-entry-top > .bi{ animation: ch-flare .9s var(--ch-ease) }
.chronicle-leader::after{
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--ch-gold), transparent);
  background-size: 46% 100%; background-repeat: no-repeat; background-position: -55% 0;
  opacity: 0; transition: opacity .4s var(--ch-ease);
}
.chronicle-leader:hover::after{ opacity: .9; animation: ch-sweep 1.7s linear infinite }

/* 10.6 — Sections embrasées : la prose monte avant les chiffres, jamais l'inverse.
   Sans is-lit (script absent, mouvement réduit) le contenu reste en place. */
.chronicle-introduction.is-lit > .chronicle-kicker{ animation: ch-rise .8s var(--ch-ease) both }
.chronicle-introduction.is-lit h2{ animation: ch-rise .95s var(--ch-ease) .1s both }
.chronicle-introduction.is-lit > p{ animation: ch-rise .9s var(--ch-ease) .24s both }
.chronicle-introduction.is-lit .chronicle-figure{ animation: ch-lift .8s var(--ch-ease) both }
.chronicle-introduction.is-lit .chronicle-figure:nth-child(2){ animation-delay: .12s }
.chronicle-introduction.is-lit .chronicle-figure:nth-child(3){ animation-delay: .24s }
.chronicle-introduction.is-lit .chronicle-figure b{ animation: ch-shimmer 6.5s ease-in-out infinite }
.chronicle-introduction.is-lit .chronicle-figure:nth-child(2) b{ animation-delay: -2.2s }
.chronicle-introduction.is-lit .chronicle-figure:nth-child(3) b{ animation-delay: -4.4s }
.chronicle-leadership.is-lit > .chronicle-section-head > *{ animation: ch-rise .9s var(--ch-ease) both }
.chronicle-leadership.is-lit .chronicle-section-head h2{ animation-delay: .1s }
.chronicle-leadership.is-lit .chronicle-section-head > p{ animation-delay: .24s }
.chronicle-leadership.is-lit .chronicle-leader > .bi{ animation: ch-float 6.5s ease-in-out infinite }
.chronicle-leader:nth-child(2) > .bi{ animation-delay: -2s }
.chronicle-leader:nth-child(3) > .bi{ animation-delay: -4s }
.chronicle-founder > .bi{ animation: ch-float 5.5s ease-in-out infinite }

/* 10.7 — Le brasier : braise incandescente, vapeur de chaleur et étincelles. */
.chronicle-brazier-base{ animation: ch-coal 4.6s ease-in-out infinite }
.chronicle-brazier::after{
  content: ''; position: absolute; left: 50%; bottom: 92px; translate: -50% 0;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 100%, #c9855230, transparent 66%); opacity: .3;
}
.chronicle-epilogue.is-lit .chronicle-brazier::after{ animation: ch-haze 5.5s ease-in-out infinite }
.chronicle-brazier-spark{
  position: absolute; left: 50%; bottom: 74px; width: 3px; height: 3px; border-radius: 50%;
  background: #f3cb8f; box-shadow: 0 0 10px 2px #c98552aa; opacity: 0;
}
.chronicle-epilogue.is-lit .chronicle-brazier-spark{ animation: ch-spark 3.8s ease-out infinite }
.chronicle-brazier-spark:nth-child(2){ animation-delay: -1.3s; --ch-spark-drift: -12px }
.chronicle-brazier-spark:nth-child(3){ animation-delay: -2.5s; --ch-spark-drift: 14px }
.chronicle-epilogue.is-lit > .chronicle-kicker{ animation: ch-rise .8s var(--ch-ease) .1s both }
.chronicle-epilogue.is-lit h2{ animation: ch-rise .95s var(--ch-ease) .22s both }
.chronicle-epilogue.is-lit > p{ animation: ch-rise .9s var(--ch-ease) .36s both }
.chronicle-epilogue.is-lit > div{ animation: ch-rise .9s var(--ch-ease) .48s both }
.chronicle-text-link > .bi{ animation: ch-nudge 2.8s ease-in-out infinite }

/* ── 11. Adaptation ─────────────────────────────────────────── */
/* Le chapô remonte dans l'interligne du titre : la ligne de corps du
   brush laisse sous les glyphes une réserve qui doublait l'écart visible. */
@media (min-width: 1241px) {
  .chronicle-stage-copy > p{ margin-top: clamp(-28px, -2.4vh, -20px) }
}
@media (min-width: 1500px) {
  .chronicle-stage{ grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr) }
}

/* ── 11.1 Tablettes et petites fenêtres ─────────────────────── */
@media (max-width: 1240px) {
  .chronicle-stage{ grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 5vw, 54px) }
  /* En colonne unique le titre reprend sa largeur naturelle. */
  .chronicle-page .chronicle-stage h1{ width: auto; max-width: none }
  .chronicle-crest{ width: min(100%, 460px); margin-inline: auto }
  .chronicle-index{ display: flex; top: 8px; overflow-x: auto; scrollbar-width: none; border-radius: 26px }
  .chronicle-index::-webkit-scrollbar{ display: none }
  .chronicle-index > a{ flex: 0 0 auto; padding-inline: 16px }
  .chronicle-leaders{ grid-template-columns: 1fr 1fr }
  .chronicle-leader-founder{ grid-column: 1 / -1 }
}

/* Sur téléphone, la barre d'index se pose sous le bouton de menu fixe. */
@media (max-width: 960px) {
  .chronicle-index{ top: 62px }
}

/* ── 11.2 Mobile : le rail passe à gauche ───────────────────── */
@media (max-width: 900px) {
  .chronicle-rail{ left: 11px }
  .chronicle-entry{ grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 12px; scroll-margin-top: 138px }
  .chronicle-entry-node{ left: 11px; top: 8px }
  .chronicle-entry-marker,.chronicle-entry:nth-of-type(even) .chronicle-entry-marker{
    grid-column: 1; grid-row: 1; justify-self: stretch; text-align: left;
    display: flex; align-items: baseline; gap: 16px; padding: 0 0 0 40px; max-width: none;
  }
  .chronicle-entry-body,.chronicle-entry:nth-of-type(even) .chronicle-entry-body{ grid-column: 1; grid-row: 2; justify-self: stretch; max-width: none; margin-left: 40px }
  .chronicle-entry-number{ font-size: 34px }
  .chronicle-entry-date{ margin: 0 }
}
@media (max-width: 860px) {
  .chronicle-crest{ width: min(86%, 400px); margin-inline: auto }
  .chronicle-crest-core > .bi{ font-size: clamp(64px, 16vw, 100px) }
  .chronicle-wordmark{ bottom: -4%; font-size: clamp(70px, 24vw, 190px) }
}
@media (max-width: 700px) {
  .chronicle-page .chronicle-stage h1{ font-size: clamp(44px, 14vw, 70px) }
  .chronicle-stage-copy > p{ font-size: 16px; max-width: none }
  .chronicle-page .chronicle-button{ width: 100% }
  .chronicle-era{ max-width: none }
  .chronicle-vault > .bi{ font-size: 128vw; -webkit-text-stroke-width: 1.4px }
  .chronicle-introduction{ margin-top: 40px }
  .chronicle-page .chronicle-introduction h2{ font-size: 27px }
  .chronicle-figures{ gap: 4px }
  .chronicle-figure{ padding-inline: 16px }
  .chronicle-figure b{ font-size: 38px }
  .chronicle-entry-body{ padding: 24px 20px; border-radius: 22px }
  .chronicle-page .chronicle-entry-body h2{ font-size: 24px }
  .chronicle-entry-body > p{ font-size: 16px }
  .chronicle-entry-top{ flex-wrap: wrap; gap: 10px }
  .chronicle-entry-body blockquote{ font-size: 21px; padding-left: 18px }
  .chronicle-leaders{ grid-template-columns: minmax(0, 1fr) }
  .chronicle-leader{ border-radius: 24px }
  .chronicle-epilogue{ padding: 44px 22px; border-radius: 26px }
  .chronicle-epilogue > div{ width: 100%; flex-direction: column }
  .chronicle-epilogue::before{ width: 150% }
  .chronicle-epilogue::after{ width: 104% }
}

/* ── 12. Grands écrans ──────────────────────────────────────── */
/* Comme sur l'accueil : la typo cesse de croître dès que la colonne
   sature, et l'espace gagné profite au blason de droite. */
@media (min-width: 1900px) {
  .chronicle-stage{ max-width: 1720px; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(56px, 3.4vw, 88px) }
  .chronicle-kicker{ font-size: clamp(12px, .63vw, 14px) }
  .chronicle-stage-copy > p{ font-size: clamp(19px, .92vw, 22px); max-width: 48ch }
  .chronicle-page .chronicle-button{ min-height: 56px; padding: 1.05rem 1.9rem; font-size: .98rem }
  .chronicle-crest{ width: min(100%, 700px) }
  .chronicle-crest-core > .bi{ font-size: clamp(112px, 6vw, 136px) }
  .chronicle-index{ max-width: 1560px; gap: 6px; padding: 8px }
  .chronicle-index > a{ padding: 16px 8px; font-size: 13px }
  .chronicle-index > a > span{ font-size: 10px }
  .chronicle-introduction{ max-width: 1180px }
  .chronicle-page .chronicle-introduction h2{ font-size: clamp(72px, 3vw, 88px) }
  .chronicle-introduction > p{ font-size: 18px }
  .chronicle-figure b{ font-size: clamp(62px, 2.5vw, 72px) }
  .chronicle-timeline{ max-width: 1660px }
  .chronicle-entry{ grid-template-columns: minmax(0, 1fr) clamp(110px, 7vw, 170px) minmax(0, 1fr) }
  .chronicle-entry-body{ max-width: 800px; padding: clamp(34px, 2vw, 52px) }
  .chronicle-entry-body > p{ font-size: 18px }
  .chronicle-page .chronicle-entry-body h2{ font-size: clamp(30px, 1.6vw, 38px) }
  .chronicle-entry-number{ font-size: clamp(80px, 3vw, 88px) }
  .chronicle-leadership{ max-width: 1660px }
  .chronicle-page .chronicle-section-head h2{ font-size: clamp(72px, 3vw, 88px) }
  .chronicle-section-head > p{ font-size: 18px }
  .chronicle-leaders{ gap: clamp(22px, 1.8vw, 34px) }
  .chronicle-leader{ padding: clamp(34px, 2.2vw, 48px) }
  .chronicle-leader h3{ font-size: clamp(30px, 1.35vw, 34px) }
  .chronicle-leader-founder h3{ font-size: clamp(38px, 1.7vw, 44px) }
  .chronicle-epilogue{ max-width: 1420px; padding: clamp(64px, 5vw, 100px) clamp(44px, 4vw, 84px) }
  .chronicle-page .chronicle-epilogue h2{ font-size: clamp(72px, 3vw, 88px) }
  .chronicle-epilogue > p{ font-size: 19px }
}
/* Le conteneur s'élargit, pas la typo : les plafonds du palier ≥1900px
   restent la seule échelle. */
@media (min-width: 2400px) {
  .chronicle-stage{ max-width: 1980px; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) }
  .chronicle-index{ max-width: 1800px }
  .chronicle-introduction{ max-width: 1320px }
  .chronicle-timeline,.chronicle-leadership{ max-width: 1900px }
  .chronicle-epilogue{ max-width: 1560px }
  .chronicle-crest{ width: min(100%, 820px) }
}
@media (min-width: 3000px) {
  .chronicle-stage{ max-width: 2240px }
  .chronicle-index{ max-width: 2000px }
  .chronicle-timeline,.chronicle-leadership{ max-width: 2100px }
  .chronicle-crest{ width: min(100%, 880px) }
  .chronicle-entry-body > p,.chronicle-epilogue > p{ font-size: 19px }
}

/* ── 13. Accessibilité : mouvement et transparence réduits ──── */
@media (prefers-reduced-motion: reduce) {
  .chronicle-page :is(.chronicle-shaft, .chronicle-vault, .chronicle-floor, .chronicle-crest-halo, .chronicle-crest-core, .chronicle-crest-ring, .chronicle-crest-spark, .chronicle-crest-core > .bi, .chronicle-brazier-flame, .chronicle-brazier-base, .chronicle-founder > .bi, .chronicle-stage h1 em, .chronicle-introduction h2 em, .chronicle-section-head h2 em, .chronicle-epilogue h2 em, .chronicle-text-link > .bi){ animation: none !important }
  /* Une vapeur, une braise ou un anneau figés en plein vol ressemblent à
     un défaut : ces calques n'existent que pour leur mouvement. */
  .chronicle-epilogue::before,.chronicle-epilogue::after,
  .chronicle-brazier::after,.chronicle-brazier-spark,.chronicle-rail-burn::before{ display: none }
  .chronicle-entry-node::before,.chronicle-entry-node::after,
  .chronicle-entry.is-lit .chronicle-entry-number,
  .chronicle-page .chronicle-entry-body::before,
  .chronicle-leader::after,
  .chronicle-index > a[aria-current="location"]{ animation: none !important }
  /* Les cascades des sections restent visibles d'emblée. */
  .chronicle-page :is(.chronicle-introduction, .chronicle-leadership, .chronicle-epilogue, .chronicle-stage) *{ animation: none !important }
  .chronicle-page{ scroll-behavior: auto }
  .chronicle-entry-node,.chronicle-entry-number,.chronicle-entry-glow,.chronicle-index > a{ transition: none !important }
}
@media (prefers-reduced-transparency: reduce) {
  .chronicle-page :is(.chronicle-entry-body, .chronicle-leader, .chronicle-epilogue, .chronicle-index){ background: var(--pure-surface); -webkit-backdrop-filter: none; backdrop-filter: none }
  .chronicle-atmos{ display: none }
}

/* ── 14. Thème clair : braise sur parchemin ─────────────────── */
html[data-theme="light"] .chronicle-page{
  --ch-ink: #2a1c10;
  --ch-soft: #6d5238;
  --ch-muted: #93795c;
  --ch-gold: #a8742f;
  --ch-gold-bright: #96632a;
  --ch-coral: #b84a3a;
  --ch-copper: #a8742f;
  --ch-line: #a8742f33;
  --ch-line-soft: #a8742f1a;
  --ch-glass: linear-gradient(158deg, #ffffffe3, #fff6e6ba 60%);
  --ch-glass-flat: #fff8eee6;
  --ch-flame: linear-gradient(96deg, #b84a3a 0%, #c66a33 48%, #96632a 100%);
}
html[data-theme="light"] .chronicle-atmos{ opacity: .5 }
html[data-theme="light"] .chronicle-vignette{ background: radial-gradient(ellipse 78% 62% at 50% 44%, transparent 46%, #a8742f14 100%) }
html[data-theme="light"] .chronicle-wordmark{ -webkit-text-stroke-color: #a8742f20 }
html[data-theme="light"] .chronicle-vault > .bi{ color: #a8742f0a; -webkit-text-stroke-color: #a8742f24; filter: none }
html[data-theme="light"] .chronicle-crest-core{
  background: radial-gradient(circle at 50% 34%, #e7c9a0, #fff8ee 70%);
  border-color: #a8742f30;
  box-shadow: 0 0 0 1px #fff8ee, 0 30px 60px #a8742f26, 0 0 60px #a8742f1f, inset 0 1px 0 #fff;
}
html[data-theme="light"] .chronicle-crest-ring{ border-color: #a8742f2b }
html[data-theme="light"] .chronicle-crest-ring--b{
  border-color: transparent;
  background: conic-gradient(from 0deg, #b84a3a00 0 62%, #a8742faa 78%, #96632a00 92%) border-box;
}
html[data-theme="light"] .chronicle-crest-ring--c{ border-color: #a8742f1f; box-shadow: inset 0 0 60px #a8742f14 }
html[data-theme="light"] .chronicle-index{ background: #fff8eee8 }
html[data-theme="light"] .chronicle-index > a[aria-current="location"]{
  background: linear-gradient(160deg, #a8742f1f, #c66a330f);
  box-shadow: inset 0 0 0 1px #a8742f59;
  animation: ch-chip-light 3s ease-in-out infinite;
}
html[data-theme="light"] .chronicle-index > a[aria-current="location"] > span{ color: #6d3a1c }
html[data-theme="light"] .chronicle-entry-node{ background: #fff8ee; box-shadow: 0 0 0 5px #fff8eee6 }
html[data-theme="light"] .chronicle-entry.is-lit .chronicle-entry-node{
  box-shadow: 0 0 0 5px #fff8eee6, 0 0 22px 4px color-mix(in srgb, var(--chapter-color) 45%, transparent);
}
html[data-theme="light"] .chronicle-entry-body,
html[data-theme="light"] .chronicle-leader{ box-shadow: 0 30px 70px #a8742f1f, inset 0 1px 0 #fff }
html[data-theme="light"] .chronicle-founder > .bi{
  background: radial-gradient(circle at 32% 28%, #e7c9a0, #fff8ee 70%);
  border-color: #a8742f30;
}
html[data-theme="light"] .chronicle-page .chronicle-button{ color: #2a130c }
html[data-theme="light"] .chronicle-epilogue::before{ border-color: #a8742f24 }
html[data-theme="light"] .chronicle-epilogue::after{ border-color: #a8742f1a; box-shadow: inset 0 0 90px #a8742f14 }
html[data-theme="light"] .chronicle-text-link:hover{ color: #96632a }
html[data-theme="light"] .chronicle-brazier-base{
  background: linear-gradient(180deg, #a8742f3d, #c66a3314);
  border-color: #a8742f40; border-top-color: #a8742f66;
  box-shadow: 0 0 34px #a8742f26, inset 0 -10px 22px #c66a3314;
}
html[data-theme="light"] .chronicle-page .depth-card.is-depth-hover{
  box-shadow: inset 0 1px 0 #fff, 0 22px 45px #a8742f2b, 0 0 30px color-mix(in srgb, var(--chapter-color, var(--pure-accent)) 16%, transparent)!important;
  border-color: color-mix(in srgb, var(--chapter-color, var(--pure-accent)) 55%, transparent)!important;
}

/* Profondeur au pointeur : la coquille n'a plus rien à dire ici,
   le moteur card-depth.js pose .depth-card sur les cartes de la page. */
.chronicle-page .depth-card{ position:relative; isolation:isolate; transform:perspective(1200px) rotateX(0deg) rotateY(0deg); transform-origin:center; transition:transform .5s cubic-bezier(.2,.75,.3,1),box-shadow .35s,border-color .35s }
.chronicle-page .depth-card-shine{ position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:2; opacity:0; background:radial-gradient(ellipse at var(--depth-x,50%) var(--depth-y,50%),#ffffff16,transparent 60%); mix-blend-mode:screen; transition:opacity .35s }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .chronicle-page .depth-card.is-depth-hover{ z-index:3; transform:perspective(1200px) rotateX(var(--depth-rx,0deg)) rotateY(var(--depth-ry,0deg)) translateY(-5px)!important; transition:transform .12s ease-out,box-shadow .3s,border-color .3s; box-shadow:inset 0 1px 0 #ffffff19,0 22px 45px #0502074d,0 0 30px color-mix(in srgb,var(--chapter-color,var(--pure-accent)) 12%,transparent)!important; border-color:color-mix(in srgb,var(--chapter-color,var(--pure-accent)) 45%,transparent)!important }
  .chronicle-page .depth-card.is-depth-hover > .depth-card-shine{ opacity:1 }
}
@media (hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){
  .chronicle-page .depth-card{ transform:none!important; transition:none!important }
  .chronicle-page .depth-card-shine{ display:none }
}
