/* =========================================================
   GALERIE — strates génératives, catalogue d'exposition
   ========================================================= */
:root {
  --bg: #ece6db;
  --ink: #141210;
  --muted: #7a7064;
  --line: rgba(20, 18, 16, .16);
  --accent: #e0401f;           /* vermillon : la seule couleur vive */

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", -apple-system, "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, .84, .2, 1);
}
:root[data-theme="dark"] {
  --bg: #12100e;
  --ink: #ece6db;
  --muted: #968b7e;
  --line: rgba(236, 230, 219, .14);
  --accent: #ff5a36;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .6s, color .6s;
}

html[lang="en"] [lang="fr"], html[lang="fr"] [lang="en"] { display: none !important; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.mono { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .03em; text-transform: uppercase; }
.dim { color: var(--muted); }
.accent { color: var(--accent); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--accent); color: var(--bg); }

/* Grain papier (fixe, discret) */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .grain { opacity: .12; filter: invert(1); }

/* ---------- Onglets ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 18px var(--gutter);
  mix-blend-mode: difference; color: #ece6db;
}
.nav { transition: background .4s, color .4s, box-shadow .4s; }
.nav.solid { mix-blend-mode: normal; color: var(--ink); background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.nav-brand { font-weight: 500; }
.nav-links { display: flex; gap: clamp(16px, 2.6vw, 38px); }
.nav-links a { position: relative; padding: 4px 0; opacity: .75; transition: opacity .3s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-ctrl { justify-self: end; display: flex; gap: 18px; align-items: center; }
#lang-toggle span { opacity: .45; transition: opacity .3s; }
#lang-toggle span.on { opacity: 1; }
.theme-dot { display: block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); transition: transform .6s; }
:root[data-theme="dark"] .theme-dot { transform: rotate(180deg); }

/* ---------- En-tête strates ---------- */
.stage {
  position: relative; overflow: hidden;
  height: 100vh; min-height: 620px;
  transition: height 1s var(--ease), min-height 1s var(--ease);
}
body:not([data-view="home"]) .stage { height: 58vh; min-height: 400px; }
#strata { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.stage-home, .stage-page { position: absolute; inset: 0; pointer-events: none; transition: opacity .6s; }
body:not([data-view="home"]) .stage-home { opacity: 0; }
body[data-view="home"] .stage-page { opacity: 0; }

.hero-name {
  position: absolute; left: var(--gutter); top: 13vh; margin: 0;
  font: 400 clamp(88px, 14.5vw, 260px)/.8 var(--serif); letter-spacing: -.035em;
}
.hero-name em { padding-left: .55em; }
.line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.1em; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.line:nth-child(2) > span { transition-delay: .12s; }
.hero-name.in .line > span { transform: none; }

.hero-label {
  position: absolute; right: var(--gutter); top: 18vh; width: 230px;
  display: flex; flex-direction: column; gap: 3px; font-size: 11px; line-height: 1.5;
}
.hero-label .label-n { color: var(--accent); margin-bottom: 8px; }
.hero-label .it { font-family: var(--serif); font-size: 17px; text-transform: none; letter-spacing: 0; font-style: italic; }
.hero-label .label-rule { height: 1px; background: var(--ink); margin: 10px 0 6px; width: 40px; }

.page-title {
  position: absolute; left: var(--gutter); top: 15vh; margin: 0;
  font: 400 clamp(64px, 10vw, 170px)/.85 var(--serif); letter-spacing: -.035em;
}
.page-title.swap { animation: titleIn .9s var(--ease); }
@keyframes titleIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Vues ---------- */
main { padding: 0 var(--gutter); }
.view { display: none; padding: clamp(60px, 10vh, 120px) 0 40px; }
.view.active { display: block; animation: viewIn .8s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.block { margin-bottom: clamp(56px, 9vh, 100px); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 30px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.block-title { margin: 0 0 18px; font: 400 clamp(32px, 3.4vw, 52px)/1 var(--serif); letter-spacing: -.02em; display: flex; align-items: baseline; gap: 14px; text-wrap: balance; }
.block-head .block-title { margin: 0; }
.lead-note { font: 400 clamp(24px, 2.4vw, 34px)/1.25 var(--serif); margin: 0; max-width: 34ch; }

/* ---------- Accueil ---------- */
.about-grid { display: grid; grid-template-columns: 1fr minmax(240px, 30%); gap: 32px clamp(28px, 6vw, 96px); margin-bottom: clamp(70px, 11vh, 130px); }
.big { font: 400 clamp(28px, 3.3vw, 50px)/1.12 var(--serif); letter-spacing: -.01em; margin: 0 0 50px; max-width: 26ch; }
.big em { color: var(--accent); }
.cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 60px); }
.cols p { margin: 0; font-size: 16px; max-width: 60ch; }
.inline-links a, .cols a, .work-meta a { border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.inline-links a:hover, .cols a:hover, .work-meta a:hover, .contact-grid a:hover { color: var(--accent); border-color: var(--accent); }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 11px; align-content: start; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-transform: none; letter-spacing: 0; font-size: 12px; }

.portrait { margin: 0; align-self: start; }
.portrait-frame { overflow: hidden; }
.portrait img { display: block; width: 100%; max-width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 45% 20%; filter: grayscale(1) contrast(1.05) brightness(1.06); }
.portrait figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 10px; }

.now { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.now li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; align-items: baseline; }
.now em { font-size: 1.15em; }

.doors { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.doors a {
  display: flex; flex-direction: column; gap: 30px; padding: 22px 20px 26px;
  font: 400 clamp(30px, 3.2vw, 48px)/1 var(--serif); letter-spacing: -.02em;
  border-right: 1px solid var(--line); transition: color .3s;
}
.doors a:first-child { padding-left: 0; }
.doors a:last-child { border-right: 0; }
.doors a .mono { color: var(--accent); font-size: 14px; transition: transform .4s var(--ease); }
.doors a:hover { color: var(--accent); }
.doors a:hover .mono { transform: translateX(8px); }

/* ---------- Recherche ---------- */
.thesis-title { font: 400 italic clamp(28px, 3.4vw, 50px)/1.1 var(--serif); margin: 0 0 16px; max-width: 30ch; text-wrap: balance; }
.filters { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.filter { color: var(--muted); padding: 4px 0; position: relative; transition: color .3s; }
.filter sup { font-size: 8px; }
.filter:hover, .filter.active { color: var(--ink); }
.filter.active::before { content: "●"; color: var(--accent); position: absolute; left: -13px; font-size: 8px; top: 7px; }

.work { border-bottom: 1px solid var(--line); }
.work.hidden { display: none; }
.work-row {
  display: grid; grid-template-columns: 70px 1fr 190px 110px 24px; align-items: center; gap: 16px;
  width: 100%; padding: 24px 0;
}
.work-n { color: var(--accent); }
.work-title { font: 400 clamp(23px, 2.4vw, 36px)/1.08 var(--serif); letter-spacing: -.01em; transition: color .3s, transform .5s var(--ease); }
.work-row:hover .work-title { color: var(--accent); transform: translateX(8px); }
.work-who, .work-status { font-size: 11px; }
.work-status { text-align: right; }
.work-status.hot { color: var(--accent); }
.work-status.hot::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: 1px; }
.work-plus { width: 16px; height: 16px; position: relative; justify-self: end; }
.work-plus::before, .work-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.work-plus::after { transform: rotate(90deg); }
.work.open .work-plus::after { transform: rotate(0); }
.work-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.work-body > div { overflow: hidden; }
.work.open .work-body { grid-template-rows: 1fr; }
.work-meta { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 0 0 28px 86px; font-size: 11px; }
.work-meta dt { color: var(--muted); }
.work-meta dd { margin: 0; text-transform: none; letter-spacing: 0; font-size: 13px; }
.work-meta dd.soon { font: italic 400 20px/1.3 var(--serif); color: var(--muted); }

.talks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.talks li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 22px/1.2 var(--serif); }
.talks li .mono { font-size: 11px; white-space: nowrap; }

/* ---------- Enseignement / CV ---------- */
.courses, .entries { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.courses li, .entries li {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.courses h3, .entries h3 { margin: 0; font: 400 clamp(22px, 2.3vw, 32px)/1.12 var(--serif); letter-spacing: -.01em; }
.entries p { margin: 4px 0 0; font-size: 15px; }
.entries p.dim { font-size: 14px; }
.courses li > .mono:last-child, .entries li > .mono:last-child { text-align: right; font-size: 11px; }

.cv-top { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; }
.pill {
  display: inline-block; border: 1px solid var(--ink); padding: 12px 20px; border-radius: 999px;
  transition: background .3s, color .3s, border-color .3s;
}
.pill:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.simple { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.simple li { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.simple li .mono { font-size: 11px; white-space: nowrap; }

/* ---------- Contact ---------- */
.mail { display: block; width: 100%; margin: 0 0 60px; }
.mail-text { display: block; font: 400 clamp(40px, 9.2vw, 170px)/.9 var(--serif); letter-spacing: -.035em; word-break: break-all; transition: color .4s; }
.mail-text i { font-style: italic; color: var(--accent); }
.mail:hover .mail-text { color: var(--accent); }
.mail:hover .mail-text i { color: var(--ink); }
.mail-hint { display: inline-block; margin-top: 16px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; font-size: 11px; }
.contact-grid > div { display: flex; flex-direction: column; gap: 6px; }
.contact-grid a { width: fit-content; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }

/* ---------- Pied de page ---------- */
.foot { display: flex; justify-content: space-between; padding: 26px var(--gutter); border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.foot a:hover { color: var(--accent); }

#toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 150; transform: translate(-50%, 20px);
  background: var(--accent); color: #fff; padding: 10px 18px; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Téléphone ---------- */
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; row-gap: 10px; padding-top: 14px; }
  .nav-links { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; gap: 20px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
  .hero-name { top: 16vh; font-size: clamp(76px, 25vw, 160px); }
  .hero-label { top: auto; bottom: 40px; right: auto; left: var(--gutter); width: auto; max-width: 70vw; background: var(--bg); padding: 12px 14px; }
  .page-title { top: 18vh; }
  .about-grid, .cols, .cv-grid, .contact-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
  .now li { grid-template-columns: 1fr; gap: 4px; }
  .doors { grid-template-columns: 1fr 1fr; }
  .doors a { padding: 18px 0 20px 16px; }
  .doors a:nth-child(odd) { padding-left: 0; }
  .doors a:nth-child(2) { border-right: 0; }
  .doors a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .work-row { grid-template-columns: 34px 1fr 20px; row-gap: 6px; align-items: start; }
  .work-title { grid-column: 2; }
  .work-who { grid-column: 2; grid-row: 2; }
  .work-status { grid-column: 2; grid-row: 3; text-align: left; }
  .work-plus { grid-column: 3; grid-row: 1; margin-top: 10px; }
  .work-meta { margin-left: 50px; grid-template-columns: 1fr; gap: 2px 0; }
  .work-meta dd { margin-bottom: 10px; }
  .talks li { flex-direction: column; gap: 4px; font-size: 20px; }
  .courses li, .entries li { grid-template-columns: 1fr; gap: 4px; }
  .courses li > .mono:last-child, .entries li > .mono:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .line > span { transform: none; }
}

/* ---------- Tableaux cartographiques ---------- */
.work-inner { display: grid; grid-template-columns: 86px 320px 1fr; gap: 0 32px; padding-bottom: 32px; }
.work-art { grid-column: 2; margin: 0; }
.work-art canvas { display: block; width: 100%; max-width: 100%; height: auto; box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(20,18,16,.12); }
.work-art figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 10px; }
.work-art figcaption span:first-child { color: var(--accent); }
.work-inner .work-meta { grid-column: 3; margin: 0; align-content: start; }
@media (max-width: 900px) {
  .work-inner { grid-template-columns: 1fr; gap: 20px; padding-left: 50px; }
  .work-art, .work-inner .work-meta { grid-column: 1; }
  .work-art { max-width: 300px; }
}

/* ---------- Accueil : mur de tableaux ---------- */
.block-head .more { color: var(--muted); transition: color .3s; }
.block-head .more:hover { color: var(--accent); }
.block-intro { margin: 18px 0 34px; max-width: 62ch; color: var(--muted); }
.wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2.4vw, 36px); align-items: start; }
.frame { display: flex; flex-direction: column; gap: 6px; }
.frame canvas { width: 100%; max-width: 100%; height: auto; display: block; margin-bottom: 8px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(20,18,16,.12); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.frame:hover canvas { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 28px 50px rgba(20,18,16,.18); }
.frame .mono { font-size: 10px; }
.frame-title { font: 400 19px/1.15 var(--serif); transition: color .3s; }
.frame:hover .frame-title { color: var(--accent); }

/* ---------- Accueil : présentations ---------- */
.talks-home { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: clamp(28px, 5vw, 80px); margin-top: 30px; align-items: start; }
.talks-map { margin: 0; }
.talks-map canvas { width: 100%; max-width: 100%; height: auto; display: block; box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(20,18,16,.12); }
.talks-map figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 10px; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin-bottom: 30px; }
.figures div { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; }
.figures b { font: 400 clamp(56px, 6vw, 96px)/.9 var(--serif); font-variant-numeric: tabular-nums; }
.talks.compact li { font-size: 20px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.duo .lead-note { margin-bottom: 18px; }
.tags-line { line-height: 1.9; font-size: 11px; }

@media (max-width: 900px) {
  .wall { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding-bottom: 10px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .frame { flex: 0 0 62%; scroll-snap-align: start; }
  .talks-home, .duo { grid-template-columns: 1fr; }
}

/* ---------- Résumés & liste de pays ---------- */
.work-meta dd.abstract { max-width: 68ch; }
.work-meta dd.abstract p { margin: 0 0 12px; font: 300 16px/1.6 var(--sans); }
.countries { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 20px; }
.countries li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.countries li .dim { font-family: var(--mono); font-size: 10px; white-space: nowrap; }
.work-inner { padding-bottom: 0; min-height: 0; transition: padding .6s var(--ease); }
.work.open .work-inner { padding-bottom: 32px; }

/* ---------- Chiffres clés des papiers ---------- */
.key-figs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 22px; border-top: 1px solid var(--ink); margin-top: 2px; }
.key-figs div { display: flex; flex-direction: column; gap: 6px; padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
.key-figs b { font: 400 clamp(30px, 2.6vw, 40px)/.95 var(--serif); color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.key-figs span { font: 300 12.5px/1.4 var(--sans); text-transform: none; letter-spacing: 0; }
.now a, .entries a { border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.now a:hover, .entries a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Accueil : frise Parcours ---------- */
.path {
  list-style: none; margin: 40px 0 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 18px;
}
.path { --col: calc((100% - 90px) / 6); }
.path::before {                /* ligne du temps, jusqu'à aujourd'hui */
  content: ""; position: absolute; top: 78px; height: 1px; background: var(--ink);
  left: 6px; width: calc(var(--col) * 4 + 72px);
}
.path::after {                 /* futur en pointillés */
  content: ""; position: absolute; top: 78px; height: 1px;
  left: calc(var(--col) * 4 + 78px); width: calc(var(--col) + 18px);
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
}
.stop { position: relative; display: flex; flex-direction: column; gap: 6px; padding-right: 8px; }
.stop-year { font: 400 clamp(38px, 3.6vw, 56px)/1 var(--serif); letter-spacing: -.02em; height: 60px; display: flex; align-items: flex-end; }
.stop-dot {
  width: 13px; height: 13px; border-radius: 50%; background: var(--ink); margin: 7px 0 14px; position: relative; z-index: 1;
  box-shadow: 0 0 0 5px var(--bg); transition: transform .4s var(--ease), background .3s;
}
.stop:hover .stop-dot { transform: scale(1.35); background: var(--accent); }
.stop-city { font-size: 11px; }
.stop-place { font: 400 19px/1.15 var(--serif); }
.stop-role { font-size: 13.5px; color: var(--muted); }
.stop.current .stop-dot { background: var(--accent); }
.stop.current .stop-dot::after {   /* « aujourd'hui » : halo qui respire */
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent); animation: breathe 2.4s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.5); opacity: 0; } }
.stop.future .stop-dot { background: var(--bg); border: 1.5px solid var(--ink); }
.stop.future .stop-year { color: var(--muted); font-style: italic; }

@media (max-width: 900px) {
  .path { grid-template-columns: 1fr; gap: 0; padding-left: 28px; }
  .path::before { left: 6px; right: auto; top: 12px; bottom: 120px; width: 1px; height: auto; }
  .path::after { left: 6px; right: auto; top: auto; bottom: 20px; width: 1px; height: 100px;
    background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 12px); }
  .stop { padding: 0 0 26px; }
  .stop-year { height: auto; font-size: 34px; }
  .stop-dot { position: absolute; left: -28px; top: 14px; margin: 0; }
}
@media (max-width: 900px) { .path::after { display: none; } }
