/* ------------------------------------------------------------------
   Aurélien Lafargue — artiste visuel
   Feuille de style v2 — d'après la planche de référence.
   Typographie : Geist (variable 100–900, SIL OFL), graisses légères.
   Deux registres : sombre pour l'immersion, clair pour la consultation.
   ------------------------------------------------------------------ */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/geist-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/geist-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f3f3f1;
  --fg: #141416;
  --muted: #7d7d82;
  --muted-2: #a3a3a7;
  --prose: #45454a;
  --line: rgba(20, 20, 22, 0.14);
  --line-2: rgba(20, 20, 22, 0.42);
  --tile: #e6e6e3;
  --sourd: #ebebe8;
  --sans: 'Geist', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --gap: clamp(16px, 2vw, 28px);
  --maxw: 1560px;
}
.dark {
  --bg: #0b0b0d;
  --fg: #f1f1ee;
  --muted: #8d8d92;
  --muted-2: #5f5f64;
  --prose: #b4b4b8;
  --line: rgba(241, 241, 238, 0.14);
  --line-2: rgba(241, 241, 238, 0.45);
  --tile: #17171a;
  --sourd: #121214;
  background: var(--bg);
  color: var(--fg);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" 0, "cv11" 1;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
p, h1, h2, h3, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 300; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--fg); color: var(--bg); }

.wrap { padding-inline: var(--gutter); max-width: var(--maxw); margin-inline: auto; }

/* ----- typographie ----- */
.lbl { font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.meta { font-size: 12.5px; font-weight: 400; letter-spacing: 0.02em; color: var(--muted); line-height: 1.6; }
.meta .sep { margin: 0 0.5em; opacity: 0.6; }
.h-display { font-size: clamp(44px, 7vw, 92px); font-weight: 300; line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance; }
.h-page { font-size: clamp(38px, 5.2vw, 66px); font-weight: 300; line-height: 1.02; letter-spacing: -0.02em; }
.h-sec { font-size: clamp(24px, 2.6vw, 32px); font-weight: 300; line-height: 1.15; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.6vw, 21px); font-weight: 300; line-height: 1.55; color: var(--fg); max-width: 30em; text-wrap: pretty; }
.prose { font-size: 15px; line-height: 1.8; color: var(--prose); max-width: 36em; }
.prose p + p { margin-top: 1.2em; }
.prose a { border-bottom: 1px solid var(--line-2); }
.prose a:hover { border-color: var(--fg); }
.kw-list { display: flex; flex-direction: column; gap: 4px; font-size: clamp(17px, 1.5vw, 19px); font-weight: 300; line-height: 1.5; }

/* flèche longue (SVG en ligne) */
.arr { width: 30px; height: 10px; flex: 0 0 auto; transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
.cta { display: inline-flex; align-items: center; gap: 16px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg); }
.cta > span { padding-bottom: 5px; border-bottom: 1px solid var(--line-2); transition: border-color 0.3s ease; }
.cta:hover > span { border-color: var(--fg); }
.cta:hover .arr { transform: translateX(6px); }
.cta.back:hover .arr { transform: translateX(-6px); }
.cta.soft { color: var(--muted); }
.cta.soft > span { border-color: var(--line); }
.cta.soft:hover { color: var(--fg); }

/* ----- images : noir et blanc, couleur au survol ----- */
.bw img { filter: grayscale(1); transition: filter 1s ease, opacity 1s ease, transform 1.2s ease; }
.bw:hover img, .bw:focus-within img { filter: grayscale(0); }
.cover { width: 100%; height: 100%; object-fit: cover; background: var(--tile); }

/* ----- en-tête ----- */
.site-head { display: flex; justify-content: space-between; align-items: flex-start; padding-top: clamp(22px, 2.6vw, 36px); gap: 24px; }
.brand { display: block; line-height: 1.4; }
.brand span { display: block; }
.brand-name { font-size: 11px; font-weight: 400; letter-spacing: 0.34em; text-transform: uppercase; }
.brand-role { font-size: 10px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: clamp(20px, 2.4vw, 36px); padding-top: 4px; }
.nav a { font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; border-bottom: 1px solid transparent; transition: color 0.3s ease, border-color 0.3s ease; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); border-color: var(--fg); }
.menu-btn { display: none; align-items: center; gap: 12px; font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; padding-top: 4px; }
.menu-btn .arr { width: 22px; }
@media (max-width: 760px) { .nav { display: none; } .menu-btn { display: inline-flex; } }

/* menu plein écran */
.menu { position: fixed; inset: 0; z-index: 50; background: #0b0b0d; color: #f1f1ee; display: none; flex-direction: column; }
.menu.is-open { display: flex; }
.menu img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: grayscale(1); }
.menu .inner { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 36px) var(--gutter); }
.menu .top { display: flex; justify-content: space-between; align-items: flex-start; }
.menu .close { font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; padding-top: 4px; }
.menu-links { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 3vh, 26px); }
.menu-links a { font-size: clamp(22px, 4.5vw, 34px); font-weight: 300; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.1; transition: opacity 0.3s ease; }
.menu-links a:hover { opacity: 0.6; }
.menu .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.menu .bottom span, .menu .bottom a { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #a5a5a9; }
body.menu-open { overflow: hidden; }

/* ----- pied de page ----- */
.site-foot { margin-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(30px, 4vw, 48px); }
.foot-grid { border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: 1fr; gap: 24px 40px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col a, .foot-col span { font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.foot-col a:hover { color: var(--fg); }
.foot-col .brand { color: var(--fg); margin-bottom: 6px; }
.foot-col .brand span { color: inherit; }
.foot-col .addr { text-transform: none; letter-spacing: 0.02em; font-size: 12.5px; font-weight: 400; line-height: 1.6; }
.foot-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; }
.foot-legal span { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ----- accueil : héro immersif ----- */
.hero { position: relative; min-height: min(86vh, 900px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.hero > .wrap { width: 100%; }
.hero-frame { position: absolute; inset: 0; }
.hero-frame > span { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-frame > span.is-on { opacity: 1; }
.hero-frame img, .hero-frame picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-frame img { filter: grayscale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,0.45) 0%, rgba(11,11,13,0.1) 26%, rgba(11,11,13,0.2) 48%, rgba(11,11,13,0.82) 82%, rgba(11,11,13,0.95) 100%); pointer-events: none; }
.hero .site-head { position: relative; z-index: 2; }
.hero-body { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px 40px; padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 52px); pointer-events: none; }
.hero-body > * { pointer-events: auto; }
.hero-id { max-width: 22em; }
.hero-name { font-size: clamp(38px, 6.4vw, 88px); font-weight: 300; line-height: 0.98; letter-spacing: -0.025em; }
.hero-role { font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: #d8d8d4; margin-top: 14px; }
.hero-work { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hero-caps { position: relative; min-height: 4.4em; width: 100%; }
.hero-caps > a { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 2px; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.hero-caps > a.is-on { opacity: 1; pointer-events: auto; }
.hero-caps .t { font-size: clamp(20px, 2.2vw, 26px); font-weight: 300; line-height: 1.2; }
.hero-caps .arr { margin-top: 8px; }
.hero-caps > a:hover .arr { transform: translateX(6px); }
@media (min-width: 900px) { .hero-work { align-items: flex-end; text-align: right; width: min(30em, 42%); } .hero-caps > a { align-items: flex-end; } .hero-caps .meta { max-width: 22em; } }
.hero-nav { display: flex; align-items: center; gap: 22px; }
.hero-nav .count { font-size: 11px; letter-spacing: 0.22em; font-variant-numeric: tabular-nums; color: var(--muted); }
.hero-nav button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--fg); opacity: 0.75; transition: opacity 0.3s ease; }
.hero-nav button:hover { opacity: 1; }
.hero-nav svg { width: 18px; height: 12px; }

/* ----- accueil : section claire ----- */
.intro { padding-top: clamp(64px, 8vw, 120px); }
.intro-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.intro-text .lead { margin-top: 40px; }
.intro-text .prose { margin-top: 20px; }
.intro-text .cta { margin-top: 36px; }
.intro-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tile); }
.intro-fig figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 16px; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 1fr 1fr; } .intro-text { padding-top: 24px; } }

.thumbs-3 { display: grid; grid-template-columns: 1fr; gap: var(--gap); padding-top: clamp(56px, 7vw, 96px); }
.thumbs-3 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tile); }
.thumb-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.thumb-cap .t { font-size: 15px; font-weight: 400; }
.thumb-cap .meta { flex: 0 0 auto; }
@media (min-width: 640px) { .thumbs-3 { grid-template-columns: repeat(3, 1fr); } }
.section-cta { padding-top: 40px; }

/* ----- listes (Œuvres, Recherches) ----- */
.page-head { padding-top: clamp(48px, 6vw, 96px); }
.page-head .lead { margin-top: 26px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: clamp(36px, 4vw, 56px); padding-bottom: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.filters button, .sorts button { font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); padding-bottom: 5px; border-bottom: 1px solid transparent; transition: color 0.3s ease, border-color 0.3s ease; }
.filters button:hover, .sorts button:hover { color: var(--fg); }
.filters button[aria-pressed="true"], .sorts button[aria-pressed="true"] { color: var(--fg); border-color: var(--fg); }
.sorts { display: flex; gap: 22px; }

.rows { display: flex; flex-direction: column; margin-top: 16px; }
.row-item { display: grid; grid-template-columns: 1fr; gap: 18px var(--gap); padding-block: clamp(22px, 3vw, 36px); border-top: 1px solid var(--line); align-items: center; }
.row-item[hidden] { display: none; }
.rows .row-item:last-child { border-bottom: 1px solid var(--line); }
.row-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tile); }
.row-text { display: flex; flex-direction: column; gap: 6px; }
.row-text .t { font-size: clamp(22px, 2.2vw, 28px); font-weight: 300; line-height: 1.15; letter-spacing: -0.01em; }
.row-text .arr { margin-top: 16px; color: var(--fg); }
.row-item:hover .arr { transform: translateX(6px); }
.row-item:hover .t { opacity: 0.7; }
.row-text .t, .row-item .arr { transition: opacity 0.3s ease, transform 0.4s cubic-bezier(.2,.7,.2,1); }
.tile-text { aspect-ratio: 3 / 2; background: var(--sourd); display: flex; flex-direction: column; justify-content: space-between; padding: 22px 24px; }
.tile-text .q { font-size: clamp(17px, 1.6vw, 21px); font-weight: 300; line-height: 1.4; color: var(--prose); text-wrap: pretty; }
@media (min-width: 720px) { .row-item { grid-template-columns: minmax(0, 420px) 1fr; } .row-text { padding-left: 8px; } }
@media (min-width: 1100px) { .row-item { grid-template-columns: minmax(0, 460px) 1fr; gap: 18px clamp(28px, 4vw, 64px); } }

/* ----- fiche œuvre (sombre) ----- */
.work-top { padding-top: clamp(48px, 6vw, 88px); }
.work-top .meta { margin-top: 18px; }
.work-cols { display: grid; grid-template-columns: 1fr; gap: 40px var(--gap); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.work-text .lead { max-width: 28em; }
.work-text .prose { margin-top: 26px; }
.work-text .thanks { margin-top: 2em; font-size: 13px; color: var(--muted); }
.spec { display: flex; flex-direction: column; }
.spec div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.55; }
.spec dt { font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.spec dd { color: var(--fg); }
.spec .todo { color: var(--muted); font-style: italic; }
@media (min-width: 900px) { .work-cols { grid-template-columns: 7fr 4fr; } .spec { padding-left: 24px; } }
@media (min-width: 720px) { .spec div { grid-template-columns: 150px 1fr; gap: 14px; } }

.viewer { padding-top: clamp(48px, 6vw, 88px); }
.viewer-stage { position: relative; aspect-ratio: 16 / 10; background: var(--tile); overflow: hidden; }
.viewer-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.7s ease; }
.viewer-stage img.is-on { opacity: 1; }
.viewer-stage img.fit-cover { object-fit: cover; }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; }
.viewer-bar .count { font-variant-numeric: tabular-nums; white-space: nowrap; }
.viewer-nav { display: flex; gap: 6px; }
.viewer-nav button { width: 34px; height: 30px; display: grid; place-items: center; color: var(--fg); opacity: 0.7; }
.viewer-nav button:hover { opacity: 1; }
.viewer-nav svg { width: 18px; height: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--gap); }
.thumbs button { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tile); }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: 0.7; transition: opacity 0.4s ease, filter 0.8s ease; }
.thumbs button:hover img, .thumbs button[aria-pressed="true"] img { opacity: 1; filter: grayscale(0); }
.thumbs button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fg); }
@media (min-width: 720px) { .thumbs { grid-template-columns: repeat(4, 1fr); } .thumbs.n5 { grid-template-columns: repeat(5, 1fr); } .thumbs.n6 { grid-template-columns: repeat(6, 1fr); } }

.bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; padding-top: clamp(40px, 5vw, 64px); }

.video { padding-top: clamp(56px, 7vw, 96px); scroll-margin-top: 24px; }
.video-box { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video-box img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: grayscale(1); transition: opacity 0.6s ease; }
.video-box:hover img { opacity: 0.65; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #f1f1ee; }
.video-play .ring { width: 74px; height: 74px; border-radius: 50%; border: 1px solid rgba(241,241,238,0.7); display: grid; place-items: center; transition: background 0.3s ease, transform 0.5s ease; }
.video-play .ring::after { content: ""; border-style: solid; border-width: 6px 0 6px 11px; border-color: transparent transparent transparent #f1f1ee; margin-left: 3px; }
.video-play:hover .ring { background: rgba(241,241,238,0.12); transform: scale(1.05); }
.video-play .lbl { color: rgba(241,241,238,0.85); }
.video-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; }

.genesis { padding-top: clamp(56px, 7vw, 96px); }
.genesis-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.genesis-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.genesis-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tile); }
@media (min-width: 640px) { .genesis-grid { grid-template-columns: repeat(3, 1fr); } }

.next { margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 48px); }
.next a { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.next .t { font-size: clamp(30px, 4vw, 52px); font-weight: 300; letter-spacing: -0.02em; line-height: 1; margin-top: 14px; }
.next .cta { margin-top: 26px; }
.next img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tile); }
@media (min-width: 720px) { .next a { grid-template-columns: 1fr 1fr; } .next img { max-width: 480px; justify-self: end; } }

/* ----- recherche (clair) ----- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px 26px; padding-top: clamp(28px, 3.5vw, 44px); }
.tabs a { font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); padding-bottom: 5px; border-bottom: 1px solid transparent; transition: color 0.3s ease, border-color 0.3s ease; }
.tabs a:hover, .tabs a.is-on { color: var(--fg); border-color: var(--fg); }
.rsection { padding-top: clamp(40px, 5vw, 64px); scroll-margin-top: 24px; }
.rsection h2 { margin-bottom: 16px; }
.steps { display: flex; flex-direction: column; margin-top: 20px; }
.steps li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.status-pill { display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 4px 9px 3px; border-radius: 999px; }
.research-cols { display: grid; grid-template-columns: 1fr; gap: 40px var(--gap); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .research-cols { grid-template-columns: 7fr 4fr; } .research-cols .spec { padding-left: 24px; position: sticky; top: 28px; } }

/* ----- à propos (sombre) ----- */
.about { padding-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.about-text .lead { margin-top: 30px; }
.about-text .prose { margin-top: 22px; }
.about-fig img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--tile); }
.about-fig figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 16px; }
.reperes { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px var(--gap); margin-top: 36px; max-width: 36em; }
.reperes div { border-top: 1px solid var(--line); padding-top: 10px; font-size: 13.5px; }
.reperes .lbl { display: block; margin-bottom: 4px; }
@media (min-width: 900px) { .about { grid-template-columns: 7fr 5fr; } .about-fig { position: sticky; top: 28px; } }
.about-block { padding-top: clamp(56px, 7vw, 96px); }
.about-block > .lbl { display: block; margin-bottom: 18px; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .y { color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline a { border-bottom: 1px solid var(--line-2); }
.timeline a:hover { border-color: var(--fg); }
.collab div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.collab div:last-child { border-bottom: 1px solid var(--line); }
.collab .role { color: var(--muted); font-size: 12.5px; }
@media (min-width: 720px) { .collab div { grid-template-columns: 1fr 1.4fr; gap: 24px; } }
.docs div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.docs div:last-child { border-bottom: 1px solid var(--line); }
.docs .t { font-size: 20px; font-weight: 300; }
.thumbs-3.tight { padding-top: clamp(40px, 5vw, 64px); }

/* ----- contact (clair) ----- */
.contact { padding-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.contact-text .lead { margin-top: 30px; }
.contact-text .prose { margin-top: 18px; }
.contact-email { display: inline-block; margin-top: 40px; font-size: clamp(17px, 1.7vw, 22px); font-weight: 300; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; }
.contact-email:hover { border-color: var(--fg); }
.contact-email.todo { color: var(--muted); font-style: italic; border-color: transparent; }
.socials { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; }
.socials a, .socials span { align-self: flex-start; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; padding-bottom: 3px; border-bottom: 1px solid var(--line-2); }
.socials span { color: var(--muted); border-color: var(--line); }
.socials a:hover { border-color: var(--fg); }
.contact-addr { margin-top: 48px; font-size: 13px; line-height: 1.7; color: var(--prose); }
.contact-studio { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 30em; }
.contact-studio .cta { margin-top: 14px; }
.contact-fig img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--tile); }
.contact-fig figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 16px; }
@media (min-width: 900px) { .contact { grid-template-columns: 7fr 5fr; } .contact-fig { position: sticky; top: 28px; } }

/* ----- recherches en cours (accueil) ----- */
.research-strip { padding-top: clamp(64px, 8vw, 120px); }
.research-strip .head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.rlist li { border-top: 1px solid var(--line); }
.rlist li:last-child { border-bottom: 1px solid var(--line); }
.rlist a { display: grid; grid-template-columns: 1fr auto auto; gap: 16px 28px; align-items: center; padding: 16px 0; }
.rlist .t { font-size: clamp(18px, 1.8vw, 24px); font-weight: 300; letter-spacing: -0.01em; }
.rlist a:hover .t { opacity: 0.7; }
.rlist a:hover .arr { transform: translateX(6px); }
@media (max-width: 560px) { .rlist a { grid-template-columns: 1fr auto; } .rlist .meta { grid-column: 1; } }

/* ----- 404 ----- */
.notfound { padding-top: clamp(80px, 12vw, 160px); min-height: 55vh; }

/* ----- apparition douce ----- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-frame img { transition: none; } }

.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ----- v3 : accueil, propositions, parcours, contact ----- */
.sel { padding-top: clamp(56px, 7vw, 100px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px) var(--gap); padding-top: clamp(24px, 3vw, 40px); }
.grid-2 img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tile); }
.grid-2 .thumb-cap { flex-wrap: wrap; }
.grid-2 .status { flex-basis: 100%; }
.card:hover .t { opacity: 0.7; }
.card .t { transition: opacity 0.3s ease; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(6, 1fr); }
  .grid-2 > * { grid-column: span 3; }
  .grid-2.odd > *:nth-last-child(-n+3) { grid-column: span 2; }
}
.research-strip { margin-top: clamp(64px, 8vw, 110px); padding-block: clamp(56px, 7vw, 96px); }
.research-strip .rlist li { border-color: var(--line); }
.rlist .static { display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: center; padding: 16px 0; }
.about-short { padding-top: clamp(64px, 8vw, 110px); }
.about-short > .lbl { display: block; }
.lead-lg { font-size: clamp(22px, 2.6vw, 34px); font-weight: 300; line-height: 1.35; letter-spacing: -0.01em; max-width: 26em; margin-top: 18px; text-wrap: pretty; }
.section-cta { padding-top: 36px; }

.proposal { border: 1px dashed var(--line-2); padding: 14px 18px; margin: 18px 0 22px; max-width: 36em; }
.proposal .lbl { display: block; margin-bottom: 8px; }
.proposal p { font-size: 15px; line-height: 1.7; color: var(--prose); font-style: italic; }
.unverified { font-style: italic; font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

.row-item.static { cursor: default; }
.row-item.static .t { opacity: 1; }
.status-pill { display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 4px 9px 3px; border-radius: 999px; }

.credits h2 { margin-bottom: 8px; }
.spec dd.multi span { display: block; }
.spec dd.multi span + span { margin-top: 4px; }
.state { padding-top: clamp(48px, 6vw, 80px); max-width: 44em; }
.state h2 { margin-bottom: 8px; }

.timeline li { grid-template-columns: 64px 1fr; }
.timeline .ev-t { display: block; font-size: 16px; font-weight: 400; color: var(--fg); }
.timeline .ev-w, .timeline .ev-c, .timeline .ev-r { display: block; font-size: 13px; color: var(--muted); line-height: 1.55; }
.timeline .ev-r { color: var(--prose); }
@media (min-width: 720px) { .timeline li { grid-template-columns: 72px 1fr; } }

.contact-cols { display: grid; grid-template-columns: 1fr; gap: 36px var(--gap); margin-top: clamp(32px, 4vw, 48px); }
.contact-cols > div { border-top: 1px solid var(--line); padding-top: 18px; }
@media (min-width: 640px) { .contact-cols { grid-template-columns: 1fr 1fr; } }
.contact-cols h2 { margin-bottom: 12px; }
.req { display: flex; flex-direction: column; gap: 4px; }
.req li { font-size: 14.5px; line-height: 1.6; color: var(--prose); }
.cform { margin-top: clamp(40px, 5vw, 64px); max-width: 34em; display: flex; flex-direction: column; gap: 20px; }
.cform .field { display: flex; flex-direction: column; gap: 6px; }
.cform label { font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.cform input, .cform select, .cform textarea { font: inherit; font-size: 15px; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 8px 0; border-radius: 0; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--fg); }
.cform textarea { resize: vertical; }
.cform .hp { position: absolute; left: -9999px; }
.cform button.cta { align-self: flex-start; margin-top: 8px; }
.contact-addr { margin-top: 40px; }


/* ----- v4 : territoires, accueil, lignes de texte ----- */
.intro { padding-top: clamp(56px, 7vw, 96px); }
.intro .lead-lg { margin-top: 0; max-width: 24em; }
.axes { padding-top: clamp(56px, 7vw, 96px); }
.axes-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.axis-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.axis-card .lbl { grid-row: span 2; }
.axis-card .t { font-size: clamp(21px, 2.4vw, 28px); font-weight: 300; letter-spacing: -0.01em; line-height: 1.2; }
.axis-card .meta { max-width: 44em; }
.axis-card .arr { display: none; }
.axis-card:hover .t { opacity: 0.7; }
.axis-card .t { transition: opacity 0.3s ease; }
@media (min-width: 900px) { .axis-card { grid-template-columns: 60px minmax(0, 15em) 1fr auto; align-items: center; } .axis-card .lbl { grid-row: auto; } .axis-card .arr { display: block; } }
.axes-list { display: grid; grid-template-columns: 1fr; gap: 20px var(--gap); max-width: 52em; }
.axes-list .lbl { display: block; margin-bottom: 6px; }
.axes-list p { font-size: 14.5px; line-height: 1.65; color: var(--prose); }
.axes-list > div { border-top: 1px solid var(--line); padding-top: 12px; }
@media (min-width: 720px) { .axes-list { grid-template-columns: repeat(3, 1fr); } }

.sel { padding-top: clamp(56px, 7vw, 96px); }
.card-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.axis-section { padding-top: clamp(48px, 6vw, 84px); }
.axis-section .axis-line { max-width: 42em; margin-top: 6px; }
.axis-section .rows { margin-top: clamp(18px, 2.5vw, 28px); }

.row-item.is-text { grid-template-columns: 1fr; padding-block: clamp(20px, 2.6vw, 30px); }
.row-item.is-text .row-text { padding-left: 0; }
.row-item.is-text .prose { max-width: 46em; }
.rlist .st { color: var(--muted); }
.rlist a, .rlist .static { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; position: relative; }
.rlist .arr { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.rlist a:hover .arr { transform: translateY(-50%) translateX(6px); }
.rlist .st { color: var(--muted-2); }
@media (min-width: 860px) {
  .rlist a, .rlist .static { grid-template-columns: minmax(0, 20em) 1fr 12em 60px; gap: 16px 28px; align-items: baseline; }
  .rlist .arr { position: static; transform: none; align-self: center; }
  .rlist a:hover .arr { transform: translateX(6px); }
  .rlist .st { text-align: right; }
}

.notice { border-left: 2px solid var(--line-2); padding: 14px 0 14px 18px; margin-bottom: 24px; max-width: 40em; }
.notice .lbl { display: block; margin-bottom: 6px; }
.notice p { font-size: 14px; line-height: 1.7; color: var(--prose); }


/* ----- v5 : galerie complète, biographie, liste des œuvres antérieures ----- */
.gallery-all { padding-top: clamp(56px, 7vw, 96px); }
.g-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); padding-top: clamp(20px, 2.5vw, 32px); }
.g-grid figure { margin: 0; }
.g-grid img { width: 100%; height: auto; background: var(--tile); }
.g-grid figcaption { margin-top: 10px; }
@media (min-width: 760px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .g-grid .g-w { grid-column: 1 / -1; }
}
.bio p + p { margin-top: 1.1em; }
.bio { max-width: 40em; }
.rlist .y { color: var(--muted-2); }
@media (min-width: 860px) { .rlist a, .rlist .static { grid-template-columns: minmax(0, 20em) 1fr 8em 60px; } }


/* ------------------------------------------------------------------
   v6 — recentrage art numérique
   Le nom quitte le héro et devient le logotype de l'en-tête ;
   le héro n'est plus qu'une œuvre. Réglages d'ergonomie et de netteté.
   ------------------------------------------------------------------ */

/* accès clavier */
.skip { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-200%); background: var(--fg); color: var(--bg); padding: 11px 18px; font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; transition: transform 0.2s ease; }
.skip:focus { transform: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }

/* ----- logotype ----- */
.brand-h { margin: 0; font-weight: inherit; }
.brand { display: block; line-height: 1; }
.brand-name { display: block; font-size: clamp(15px, 1.55vw, 20px); font-weight: 400; letter-spacing: 0.13em; text-transform: uppercase; line-height: 1.06; }
.brand-name span { display: block; }
.brand-role { display: block; font-size: 9.5px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-top: 9px; }
.site-head.is-home .brand-name { font-size: clamp(27px, 3.4vw, 48px); letter-spacing: 0.095em; }
.site-head.is-home .brand-role { font-size: 11px; margin-top: 13px; color: #d5d5d1; }
.foot-col .brand-name { font-size: 11px; letter-spacing: 0.28em; }
.foot-col .brand-role { margin-top: 5px; }
.menu .brand-name { font-size: 14px; letter-spacing: 0.2em; }

/* ----- en-tête collant (pages intérieures) ----- */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--bg); padding-bottom: clamp(14px, 1.7vw, 22px); transition: border-color 0.3s ease; border-bottom: 1px solid transparent; }
.site-head.is-stuck { border-bottom-color: var(--line); }
.hero .site-head { position: relative; background: none; border-bottom: 0; }
.nav, .menu-btn { padding-top: 6px; }
:target, .rsection, .video, .axis-section, .credits { scroll-margin-top: clamp(76px, 9vw, 108px); }

/* ----- héro : l'œuvre seule ----- */
.hero { min-height: min(94svh, 1000px); }
.hero-body { align-items: flex-end; padding-block: clamp(56px, 7vw, 96px) clamp(26px, 3.6vw, 52px); gap: 20px 40px; }
.hero-work { flex: 1 1 20em; gap: 16px; align-items: flex-start; text-align: left; width: auto; }
.hero-caps { display: grid; min-height: 0; width: 100%; }
.hero-caps > a { position: static; grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-caps .t { font-size: clamp(24px, 3.6vw, 52px); font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.hero-caps .meta { color: #cdcdc9; }
.hero-caps .arr { margin-top: 2px; }
.hero-nav { flex: 0 0 auto; padding-bottom: 8px; }
@media (min-width: 900px) {
  .hero-work { align-items: flex-start; text-align: left; width: auto; }
  .hero-caps > a { align-items: flex-start; }
  .hero-caps .meta { max-width: none; }
}

/* ----- accueil : déclaration ----- */
.intro > .lbl { display: block; margin-bottom: 20px; }
.intro .lead-lg { max-width: 21em; font-size: clamp(23px, 2.9vw, 38px); line-height: 1.28; letter-spacing: -0.015em; }

/* ----- netteté typographique ----- */
.h-display { font-size: clamp(46px, 7.4vw, 100px); letter-spacing: -0.03em; }
.h-page { letter-spacing: -0.025em; }
.axis-back { color: var(--muted); transition: color 0.3s ease; }
.axis-back:hover { color: var(--fg); }
.role-line { margin-top: 6px; }
.axis-section .axis-line { color: var(--prose); }

/* fiche : le titre, puis l'œuvre, puis le texte */
.work-top { padding-bottom: 0; }
.work-top + .viewer { padding-top: clamp(30px, 3.6vw, 52px); }
.work-body { padding-top: clamp(48px, 6vw, 80px); }
.work-body .work-cols { margin-top: 0; }

/* liste des œuvres : sommaire des territoires et extrait d'auteur */
.axes-index { display: grid; grid-template-columns: 1fr; margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line); }
.axes-index a { display: grid; grid-template-columns: 3.5em 1fr 3em; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); transition: color 0.3s ease; }
.axes-index .t { font-size: clamp(16px, 1.5vw, 19px); font-weight: 300; }
.axes-index .n { text-align: right; font-variant-numeric: tabular-nums; }
.axes-index a:hover .t { opacity: 0.6; }
@media (min-width: 900px) { .axes-index { grid-template-columns: repeat(2, 1fr); column-gap: clamp(28px, 4vw, 64px); } }
.row-exc { font-size: 14px; line-height: 1.7; color: var(--prose); max-width: 40em; margin-top: 10px; }
.row-text .arr { margin-top: 18px; }

/* fiche : appel à programmer / coproduire */
.booking { margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(28px, 3.5vw, 44px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 14px 40px; align-items: end; }
.booking .lbl { grid-column: 1 / -1; }
.booking-t { font-size: clamp(24px, 3vw, 40px); font-weight: 300; line-height: 1.12; letter-spacing: -0.02em; max-width: 18em; text-wrap: balance; }
.booking .cta { justify-self: start; }
@media (min-width: 900px) { .booking { grid-template-columns: 1fr auto; } .booking .cta { justify-self: end; margin-bottom: 8px; } }
.booking + .next { margin-top: clamp(40px, 5vw, 64px); }

/* ---- v9 : retour d'erreur du formulaire (cible Apache / contact.php) ---- */
.form-erreur { margin: 0; padding: 14px 16px; border: 1px solid var(--line-2); border-left-width: 3px; border-left-color: var(--fg); font-size: 14px; line-height: 1.5; color: var(--fg); }
.cform input[type="hidden"] { display: none; }

/* ---- v11 : portrait officiel sur la page À propos ---- */
.portrait { margin: 0 0 clamp(32px, 4vw, 48px); max-width: 420px; }
.portrait img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); }
.portrait figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; color: var(--muted); }
@media (min-width: 900px) { .portrait { float: right; margin-left: clamp(32px, 4vw, 56px); max-width: 34%; } }
.portrait-large { margin: clamp(32px, 4vw, 48px) 0 0; max-width: 560px; }
.portrait-large img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); }
.portrait-large figcaption { margin-top: 10px; color: var(--muted); }

/* ---- v12 : conditions d'accueil dans le bloc Diffusion ---- */
.diffusion-spec { margin: 20px 0 28px; }
.booking .diffusion-spec dt { color: var(--muted); }
.docs { display: flex; flex-wrap: wrap; gap: 12px; }
.doc-link { display: flex; align-items: baseline; gap: 14px; padding: 14px 18px; border: 1px solid var(--line-2); text-decoration: none; color: var(--fg); }
.doc-link:hover { border-color: var(--fg); }
.doc-link .lbl { color: var(--muted); }

/* ---- v13 : sur l'accueil, le nom prime sur le titre de l'œuvre ----
   Mesuré avant correction : le titre de l'œuvre était 1,9 fois plus gros que
   le nom sur mobile et 2,7 fois sur desktop. Un visiteur retenait l'œuvre,
   pas l'artiste — exactement l'inverse de ce que doit faire un site d'auteur. */
.ouverture { display: inline-block; margin-top: 12px; padding: 5px 11px; border: 1px solid var(--line-2); font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg); }
