@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

@view-transition { navigation: auto; }

:root {
  --paper: #DEE5E5;            /* Alabaster Grey */
  --paper-2: #d0dedb;          /* Alabaster teinté de Muted Teal */
  --wall: #c3d8d2;             /* Muted Teal adouci : mur derrière les œuvres */
  --ink: #082D0F;              /* Evergreen */
  --ink-soft: #435f5e;         /* Deep Teal assombri pour la lisibilité du texte */
  --line: #b5cbc6;
  --accent: #0b6e55;            /* Mint Leaf assombri : liens et textes d'accent */
  --mint: #17B890;              /* Mint Leaf : aplats */
  --teal: #9DC5BB;              /* Muted Teal */
  --deep-teal: #5E807F;         /* Deep Teal */
  --night: #082D0F;
  --night-2: #0d3a16;
  --on-night: #DEE5E5;
  --on-night-soft: #9DC5BB;
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* Grain de papier très léger */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .5; mix-blend-mode: multiply;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .03 0 0 0 0 .18 0 0 0 0 .06 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
::selection { background: var(--mint); color: var(--ink); }
h1, h2, h3 { text-wrap: balance; font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.015em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
h2 { font-size: clamp(2.3rem, 4.8vw, 4rem); }
h3 { font-size: 1.7rem; }
em, .it { font-style: italic; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 .72rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 1.3rem; }
.eyebrow::before { content: ""; flex-shrink: 0; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.plain::before { display: none; }
.lead { font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 1.8rem); line-height: 1.42; }
.muted { color: var(--ink-soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }

/* Signature : un seul fichier masque, teinté par currentColor */
.sig { display: block; aspect-ratio: 1716 / 736; background: currentColor;
  -webkit-mask: url("/img/signature.png") center / contain no-repeat; mask: url("/img/signature.png") center / contain no-repeat; }
.sig.write { animation: write 2.4s var(--ease) .25s both; }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Boutons et liens fléchés */
.btn { display: inline-flex; align-items: center; gap: .7em; padding: 15px 26px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; font: 500 .82rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; cursor: pointer; }
.btn:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.light { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.btn.light:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.arrow { display: inline-flex; align-items: center; gap: .6em; font: 500 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid currentColor; }
.arrow::after { content: "→"; transition: transform .3s var(--ease); }
.arrow:hover::after { transform: translateX(5px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 2.2rem; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; view-transition-name: header; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header); }
.brand { display: block; width: clamp(104px, 10vw, 132px); color: var(--ink); margin-left: -4px; transition: color .25s; }
.brand:hover { color: var(--accent); }
.nav ul { display: flex; gap: clamp(18px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; font: 500 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header) 0 0 0; background: var(--paper); padding: 32px var(--gutter); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; display: flex; flex-direction: column; justify-content: space-between; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { display: block; font: 400 2.3rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; padding: 16px 0; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav .nav-foot { display: block; }
}
.nav-foot { display: none; font-size: .9rem; color: var(--ink-soft); }
.nav-foot a { text-decoration: none; }

/* Apparitions au défilement (seulement si JS actif) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Accueil ---------- */
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: center; min-height: calc(100svh - var(--header)); padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-text h1 { font-size: clamp(2.6rem, 3.9vw, 4.1rem); white-space: nowrap; line-height: .98; margin: 0 0 clamp(20px, 2.6vw, 32px); animation: rise 1.2s var(--ease) .1s both; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero-text .lead { max-width: 21ch; font-style: italic; color: var(--ink); text-wrap: balance; }
.hero-text .who { color: var(--ink-soft); max-width: 40ch; }
.show { position: relative; height: min(78svh, 840px); }
.show::before { content: ""; position: absolute; inset: 4% -4vw 76px 12%; background: var(--wall); z-index: 0; }
.show figure { position: absolute; inset: 0 0 76px; margin: 0; opacity: 0; transition: opacity 1.4s ease; display: flex; align-items: center; justify-content: center; }
.show figure.on { opacity: 1; z-index: 1; }
.show figure a { display: contents; }
.show img { max-width: 100%; max-height: 100%; width: auto; height: auto; filter: drop-shadow(0 34px 40px rgba(8, 45, 15, .30)); transform: scale(1.025); transition: transform 7s linear; }
.show figure.on img { transform: scale(1); }
.show-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; z-index: 2; }
.show-cap { font-size: .8rem; color: var(--ink-soft); min-height: 3em; }
.show-cap b { display: block; font: 400 1.35rem/1.2 var(--serif); color: var(--ink); }
.show-dots { display: flex; gap: 6px; }
.show-dots button { width: 28px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.show-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); }
.show-dots button::after { content: ""; position: absolute; left: 0; top: 50%; height: 2px; width: 0; background: var(--ink); }
.show-dots button.on::after { background: var(--mint); width: 100%; transition: width var(--dur, 6s) linear; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; gap: 28px; }
  .hero-text h1 { font-size: clamp(2rem, 9vw, 3rem); margin-bottom: 16px; }
  .hero-text .lead { font-size: 1.35rem; margin-bottom: 0; }
  .hero-text .who, .hero-text .actions { display: none; }
  .show { height: 62svh; }
  .show::before { inset: 6% calc(-1 * var(--gutter)) 76px 18%; }
  .hero-cta { display: flex; }
}

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--max); }
.facts li { padding: 28px 24px 26px 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font: 400 clamp(2.2rem, 4vw, 3.2rem)/1 var(--serif); margin-bottom: 8px; }
.facts span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 760px) { .facts ul { grid-template-columns: 1fr 1fr; } .facts li:nth-child(3) { padding-left: 0; border-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--line); } }

.section { padding-block: clamp(72px, 11vw, 150px); }
.section.tight { padding-block: clamp(48px, 7vw, 96px); }
.section.alt { background: var(--paper-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { max-width: 44ch; margin: 0; color: var(--ink-soft); }

.hero-cta { display: none; flex-wrap: wrap; gap: 10px; }
.hero-cta .btn { padding: 14px 18px; }

/* Index des séries */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: s; }
.index li { border-bottom: 1px solid var(--line); counter-increment: s; }
.index a { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto auto; align-items: center; gap: clamp(12px, 3vw, 40px); padding: clamp(14px, 2vw, 22px) 0; text-decoration: none; transition: padding .45s var(--ease), background .45s; }
.index a::before { content: counter(s, decimal-leading-zero); font: 500 .75rem var(--sans); letter-spacing: .1em; color: var(--ink-soft); }
.index .n { font: 400 clamp(1.9rem, 4.2vw, 3.4rem)/1.05 var(--serif); transition: transform .45s var(--ease), color .3s; }
.index .thumbs { display: flex; gap: 8px; }
.index .thumbs img { height: clamp(52px, 6vw, 84px); width: auto; max-width: 140px; object-fit: cover; opacity: .9; filter: saturate(.85); transition: opacity .3s, filter .3s, transform .45s var(--ease); }
.index .c { font-size: .8rem; color: var(--ink-soft); white-space: nowrap; min-width: 7.5em; text-align: right; }
.index a:hover { background: var(--paper-2); padding-left: 16px; padding-right: 16px; color: var(--ink); }
.index a:hover .n { color: var(--accent); transform: translateX(6px); }
.index a:hover .thumbs img { opacity: 1; filter: none; }
.index a:hover .thumbs img:nth-child(1) { transform: translateY(-3px); }
.index a:hover .thumbs img:nth-child(2) { transform: translateY(-6px); transition-delay: .04s; }
.index a:hover .thumbs img:nth-child(3) { transform: translateY(-3px); transition-delay: .08s; }
@media (max-width: 900px) { .index .thumbs img:nth-child(n+2) { display: none; } }
@media (max-width: 560px) { .index a { grid-template-columns: 2rem minmax(0, 1fr) auto; } .index .c { display: none; } .index .thumbs img { height: 56px; max-width: 76px; } }

/* Page Œuvres : grille des séries, œuvre de couverture en grand */
.series-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4.5vw, 64px) clamp(20px, 3vw, 44px); counter-reset: s; }
.series-grid li { counter-increment: s; }
.series-grid li.wide { grid-column: 1 / -1; }
.series-grid a { display: block; text-decoration: none; }
.series-grid .frame { aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; padding: clamp(14px, 1.8vw, 24px); background: var(--wall); transition: background .45s; }
.series-grid .frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 14px 28px -16px rgba(8, 45, 15, .55); transition: transform .6s var(--ease); }
.series-grid .wide .frame { aspect-ratio: auto; }
.series-grid .wide .frame img { width: 100%; }
.series-grid .cap { display: flex; align-items: baseline; gap: 14px; padding-top: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.series-grid .cap::before { content: counter(s, decimal-leading-zero); font: 500 .72rem var(--sans); letter-spacing: .1em; color: var(--ink-soft); }
.series-grid .n { font: 400 clamp(1.7rem, 2.6vw, 2.3rem)/1.1 var(--serif); transition: color .3s; }
.series-grid .c { margin-left: auto; font-size: .78rem; color: var(--ink-soft); white-space: nowrap; }
.series-grid a:hover .frame { background: var(--teal); }
.series-grid a:hover img { transform: translateY(-6px); }
.series-grid a:hover .n { color: var(--accent); }
@media (max-width: 900px) { .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .series-grid { grid-template-columns: 1fr; } }

/* Carrousel « sélection » */
.rail-wrap { position: relative; }
.rail-first { padding-top: clamp(20px, 3vw, 40px); }
.rail-first .section-head { margin-bottom: clamp(24px, 3.5vw, 44px); }
@media (min-width: 700px) { .rail-first .eyebrow { white-space: nowrap; } }
.rail { display: flex; gap: clamp(16px, 2.4vw, 32px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail figure { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.rail a { display: block; text-decoration: none; }
.rail .frame { height: clamp(300px, 46vw, 520px); display: flex; align-items: flex-end; }
.rail img { height: 100%; width: auto; max-width: none; transition: transform .6s var(--ease); }
.rail a:hover img { transform: translateY(-6px); }
.rail figcaption { padding-top: 14px; max-width: 34ch; }
.rail .t { font: 400 1.35rem/1.2 var(--serif); }
.rail .m { font-size: .78rem; color: var(--ink-soft); }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-size: 1.1rem; transition: background .25s, color .25s; }
.rail-nav button:hover { background: var(--ink); color: var(--paper); }
.rail-nav button:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }
@media (max-width: 600px) { .rail .frame { height: 300px; } .rail-nav { display: none; } }
.rail-wrap:not(.full) .rail { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); scroll-padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }

/* Sections sombres */
.night { background: var(--night); color: var(--on-night); }
.night .eyebrow, .night .muted { color: var(--on-night-soft); }
.night a:hover { color: var(--mint); }
.night .btn.ghost { color: var(--on-night); border-color: var(--on-night); }
.night .btn.ghost:hover { background: var(--on-night); color: var(--night); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: center; }
.split.top { align-items: start; }
.split figure { margin: 0; }
.split figcaption, .credit { font-size: .76rem; color: var(--ink-soft); margin-top: 10px; letter-spacing: .02em; }
.night .credit, .night figcaption { color: var(--on-night-soft); }
.artist-intro { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; }
.artist-intro h1 { margin-bottom: .3em; }
.artist-intro .lead { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
.artist-intro figure { max-width: 440px; justify-self: end; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .artist-intro figure { justify-self: start; max-width: 300px; } .contact-photo { display: none; } }
.artist-quote { font: italic 400 clamp(1.7rem, 3vw, 2.5rem)/1.3 var(--serif); margin: 0 0 1.6rem; }
.artist-quote::before { content: "«\00a0"; } .artist-quote::after { content: "\00a0»"; }
.night .sig { width: 210px; color: var(--on-night); margin-top: 2rem; opacity: .9; }

/* Bandeau image pleine largeur */
.banner { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.banner > img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; z-index: -2; will-change: transform; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(20deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .28) 32%, rgba(0, 0, 0, 0) 58%); }
.banner .wrap > * { text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.banner .btn { text-shadow: none; }
.banner .wrap { width: 100%; padding-bottom: clamp(40px, 7vw, 96px); }
.banner h2 { max-width: 12ch; }
.banner p { max-width: 50ch; color: rgba(255, 255, 255, .86); font-size: 1.05rem; }
.banner .eyebrow { color: rgba(255, 255, 255, .8); }

.quote { font: italic 400 clamp(1.9rem, 4.2vw, 3.4rem)/1.22 var(--serif); max-width: 24ch; margin: 0 auto; text-align: center; text-wrap: balance; }
.quote footer { font: 500 .74rem/1.4 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2rem; }

/* Actualités */
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 3vw, 48px); }
.news-item { border-top: 1px solid var(--ink); padding-top: 20px; position: relative; }
.news-item time { font-size: .74rem; color: var(--ink-soft); letter-spacing: .14em; text-transform: uppercase; }
.news-item h3 { margin: .5em 0 .5em; font-size: 1.7rem; line-height: 1.12; }
.news-item h3 a { text-decoration: none; }
.news-item h3 a::after { content: ""; position: absolute; inset: 0; }
.news-item p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.news-item:hover h3 { color: var(--accent); }

.news-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); margin: 2.4rem 0 0; }
.news-gallery figure { margin: 0; }
.news-gallery.one { grid-template-columns: 1fr; }
.news-gallery.portrait { max-width: 440px; }
.news-gallery img { display: block; width: 100%; height: auto; box-shadow: 0 18px 40px -24px rgba(8, 45, 15, .45); }
.news-gallery figcaption { font-size: .78rem; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 560px) { .news-gallery { grid-template-columns: 1fr; } }

/* ---------- Pages intérieures ---------- */
/* En-tête des pages intérieures : compact, titre à gauche et chapô à droite */
.page-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); align-items: end; padding: clamp(24px, 3.5vw, 48px) 0 clamp(24px, 3vw, 40px); }
.page-head > * { grid-column: 1; }
.page-head > .eyebrow, .page-head > .crumbs { margin-bottom: .8rem; }
.page-head h1 { margin: 0; }
.page-head .lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; color: var(--ink-soft); max-width: 46ch; font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
.page-head .actions { grid-column: 1 / -1; }
.narrow .page-head, .page-head.solo { display: block; }
.narrow .page-head .lead { margin-top: 1rem; }
@media (max-width: 760px) { .page-head { display: block; } .page-head .lead { margin-top: 1rem; } }
.crumbs { font: 500 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.6rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 .6em; opacity: .6; }

/* Tête de série */
.series-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 6vw, 96px); align-items: end; padding: clamp(24px, 3.5vw, 48px) 0 clamp(24px, 3vw, 40px); }
.series-head h1 { margin: 0; }
.series-head .count { font: italic 400 1.25rem var(--serif); color: var(--ink-soft); margin: .3rem 0 0; }
.series-head .crumbs { margin-bottom: .8rem; }
.series-head .intro p { font: 400 clamp(1.1rem, 1.5vw, 1.28rem)/1.5 var(--serif); margin-bottom: .6em; }
.series-head .intro p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .series-head { grid-template-columns: 1fr; align-items: start; } }

.chips { position: sticky; top: var(--header); z-index: 30; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 3.5vw, 44px); }
.chips ul { display: flex; gap: 6px; list-style: none; margin: 0 auto; padding: 12px var(--gutter); overflow-x: auto; scrollbar-width: none; max-width: var(--max); }
.chips ul::-webkit-scrollbar { display: none; }
.chips a { display: block; padding: 8px 16px; border: 1px solid transparent; border-radius: 999px; font-size: .82rem; text-decoration: none; white-space: nowrap; color: var(--ink-soft); }
.chips a:hover { color: var(--ink); border-color: var(--line); }
.chips a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.chips a[aria-current="page"]::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); margin-right: 8px; vertical-align: middle; }

.works { columns: 3 320px; column-gap: clamp(20px, 3vw, 48px); }
.work { break-inside: avoid; margin: 0 0 clamp(36px, 4.5vw, 64px); }
.work a { display: block; text-decoration: none; }
.work .frame { position: relative; overflow: hidden; background: var(--wall); }
.work img { width: 100%; transition: transform 1s var(--ease); }
.work a:hover img { transform: scale(1.035); }
.work .zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(222, 229, 229, .92); color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.work .zoom svg { width: 18px; height: 18px; }
.work a:hover .zoom, .work a:focus-visible .zoom { opacity: 1; transform: none; }
.work figcaption { padding-top: 14px; }
.work .t { font: 400 1.4rem/1.2 var(--serif); transition: color .3s; }
.work a:hover .t { color: var(--accent); }
.work .t, .work .m { display: block; }
.work .m { font-size: .78rem; color: var(--ink-soft); margin-top: 4px; letter-spacing: .02em; }

.next-series { display: block; text-decoration: none; border-top: 1px solid var(--ink); padding: clamp(36px, 6vw, 72px) 0; }
.next-series .eyebrow { margin-bottom: .6rem; }
.next-series .n { font: 400 clamp(2.6rem, 7vw, 6rem)/1 var(--serif); display: inline-flex; align-items: center; gap: .3em; transition: color .3s, gap .4s var(--ease); }
.next-series:hover .n { color: var(--accent); gap: .5em; }

/* Fiche œuvre */
.artwork { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: clamp(28px, 5vw, 88px); align-items: start; padding: clamp(20px, 3vw, 40px) 0 clamp(64px, 9vw, 120px); }
.artwork .media { background: var(--wall); padding: clamp(24px, 5vw, 72px); display: grid; gap: 32px; place-items: center; }
.artwork .media a { display: block; position: relative; cursor: zoom-in; }
.artwork .media img { max-height: 74vh; width: auto; margin: 0 auto; box-shadow: 0 34px 50px -30px rgba(8, 45, 15, .5), 0 2px 6px rgba(8, 45, 15, .12); }
.artwork .zoom-hint { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.artwork .zoom-hint svg { width: 15px; height: 15px; }
.artwork .info { position: sticky; top: calc(var(--header) + 32px); }
.artwork h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); margin-bottom: .35em; }
.artwork .note { font: italic 400 1.35rem/1.4 var(--serif); color: var(--ink-soft); }
.artwork dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 28px; margin: 1.8rem 0; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .92rem; }
.artwork dt { color: var(--ink-soft); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.artwork dd { margin: 0; }
.artwork .actions { margin-top: 1.2rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2.6rem; }
.pager a { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 10px; border: 1px solid var(--line); transition: border-color .25s, background .25s; min-width: 0; }
.pager a:hover { border-color: var(--ink); background: var(--paper-2); color: var(--ink); }
.pager a.next { flex-direction: row-reverse; text-align: right; }
.pager img { width: 52px; height: 52px; object-fit: cover; flex-shrink: 0; }
.pager small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.pager span { font: 400 1.1rem/1.2 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.pager div { min-width: 0; }
.artwork.wide { grid-template-columns: 1fr; }
.artwork.wide .media img { width: 100%; max-height: none; }
.artwork.wide .info { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); }
.artwork.wide .info > :nth-child(-n+3) { grid-column: 1; }
@media (max-width: 960px) { .artwork { grid-template-columns: 1fr; } .artwork .info { position: static; } .artwork .media img { max-height: none; width: 100%; } .artwork.wide .info { grid-template-columns: 1fr; } }

/* Contenu éditorial */
.prose { font-size: 1.06rem; }
.prose p { max-width: 64ch; }
.prose h2 { margin-top: 1.4em; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.prose figure { margin: 2.6rem 0; }
.prose figcaption { font-size: .78rem; color: var(--ink-soft); margin-top: 10px; }
.dropcap > p:first-of-type::first-letter { float: left; font: 400 5.2rem/.8 var(--serif); padding: 6px 10px 0 0; color: var(--accent); }
.eyebrow::before { background: var(--mint); opacity: 1; }
.night .eyebrow::before, .banner .eyebrow::before { background: var(--mint); }
.timeline { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.timeline li:hover { background: var(--paper-2); }
.timeline b { font: 400 1.3rem/1.3 var(--serif); }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 0; } }

.embed { position: relative; aspect-ratio: 16 / 9; background: #000; margin: 2rem 0 .8rem; }
.embed iframe, .embed button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed button { padding: 0; cursor: pointer; background: #000; }
.embed button img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .4s, transform 1s var(--ease); }
.embed button:hover img { opacity: .55; transform: scale(1.02); }
.embed button span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); color: #fff; transition: background .3s, border-color .3s; }
.embed button span svg { width: 26px; height: 26px; margin-left: 4px; }
.embed button:hover span { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.embed-note { font-size: .76rem; color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-line { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.2 var(--serif); display: inline-block; text-decoration: none; margin-bottom: 1.6rem; word-break: break-word; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.contact-line:hover { border-bottom-color: var(--accent); }
.form { background: var(--paper-2); padding: clamp(24px, 4vw, 48px); }
.form .field { position: relative; margin-bottom: 22px; }
.form label { display: block; font: 500 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
.form input, .form textarea { width: 100%; font: 400 1.05rem/1.5 var(--sans); color: inherit; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid var(--ink-soft); border-radius: 0; transition: border-color .25s; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.form textarea { min-height: 150px; resize: vertical; }
.hidden { display: none; }

/* Pied de page */
.site-footer { background: var(--night); color: var(--on-night); padding: clamp(64px, 9vw, 120px) 0 32px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.foot-cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; padding-bottom: clamp(48px, 7vw, 96px); border-bottom: 1px solid rgba(222, 229, 229, .16); }
.foot-cta h2 { margin: 0; max-width: 14ch; }
.foot-cta .sig { width: min(100%, 320px); color: var(--on-night); justify-self: end; opacity: .92; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 40px 0; font-size: .9rem; }
.foot-cols h3 { font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-night-soft); margin-bottom: 1.2rem; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .78rem; color: var(--on-night-soft); padding-top: 24px; border-top: 1px solid rgba(222, 229, 229, .16); }
@media (max-width: 760px) { .foot-cta { grid-template-columns: 1fr; } .foot-cta .sig { justify-self: start; width: 220px; } .foot-cols { grid-template-columns: 1fr 1fr; } }

/* Visionneuse */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #e7e7e5; color: var(--ink); overflow: hidden; }
.lightbox::backdrop { background: #e7e7e5; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lbin .35s ease; }
@keyframes lbin { from { opacity: 0; } }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 0 22px; font-size: .78rem; letter-spacing: .14em; color: var(--ink-soft); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 8px 76px; min-height: 0; overflow: hidden; touch-action: none; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .45); cursor: zoom-in; user-select: none; -webkit-user-drag: none; transform-origin: 0 0; transition: opacity .3s; }
.lb-stage img.loading { opacity: .35; }
.lightbox.zoomed .lb-stage { cursor: grab; }
.lightbox.zoomed .lb-stage.drag { cursor: grabbing; }
.lightbox.zoomed .lb-stage img { cursor: inherit; }
.lightbox.no-zoom .lb-stage img { cursor: default; }
.lightbox.no-zoom .lb-zoom { visibility: hidden; }
.lb-tools { display: flex; align-items: center; gap: 18px; }
.lb-zoom { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.lb-zoom .lb-btn { padding: 7px 10px; }
.lb-zoom .lb-btn svg { width: 20px; height: 20px; }
.lb-level { background: none; border: 0; padding: 0 4px; min-width: 5.6em; font: 500 .72rem/1 var(--sans); letter-spacing: .08em; color: var(--ink-soft); cursor: pointer; }
.lb-level:hover { color: var(--ink); }
.lb-btn:disabled { opacity: .25; cursor: default; }
.lb-cap { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 14px 22px 20px; font-size: .86rem; color: var(--ink-soft); }
.lb-cap b { font: 400 1.6rem/1.2 var(--serif); display: block; color: var(--ink); }
.lb-cap a { color: var(--ink); white-space: nowrap; }
.lb-btn { background: none; border: 0; color: inherit; cursor: pointer; padding: 12px; opacity: .75; transition: opacity .2s; }
.lb-btn:hover { opacity: 1; }
.lb-btn svg { width: 28px; height: 28px; display: block; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lightbox.zoomed .lb-prev, .lightbox.zoomed .lb-next { display: none; }
.lb-hint { color: var(--ink-soft); font-size: .74rem; letter-spacing: .08em; }
@media (max-width: 640px) { .lb-stage { padding: 4px; } .lb-prev, .lb-next { top: 0; transform: none; } .lb-prev { left: auto; right: 112px; } .lb-next { right: 62px; } .lb-hint { display: none; } .lb-top { padding-left: 14px; } .lb-tools { gap: 10px; } .lb-zoom .lb-btn { padding: 6px 7px; } .lb-level { min-width: 3.9em; } }

/* ---------- Accueil : le cavalier sort de la toile ---------- */
.cavalier { position: relative; padding: clamp(56px, 8vw, 110px) 0; }
.cav-head { position: relative; z-index: 1; }
.cav-head h2 { margin: 0 0 .4em; }
.cav-lead { display: none; color: var(--ink-soft); max-width: 26ch; margin: 0; }
.cavalier.anim .cav-lead { display: block; }
.cav-art { display: block; width: min(80%, 520px); margin: 2.4rem auto 0; box-shadow: 0 18px 40px rgba(8, 45, 15, .22); }
.cav-art img { display: block; width: 100%; height: auto; transition: opacity .4s; }
.cavalier canvas { display: none; }
.cavalier.anim { height: 340vh; padding: 0; }
.cavalier.anim .cav-stage { position: sticky; top: var(--header); height: calc(100svh - var(--header)); overflow: hidden; container-type: size; }
.cavalier.anim canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.cavalier.anim .cav-head { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.cavalier.anim .cav-head > * { max-width: min(26%, 340px); }
.cavalier.anim .cav-art { position: absolute; margin: 0; box-shadow: none; --pw: min(42cqw, 64cqh); width: var(--pw); left: calc(50% - var(--pw) / 2); top: calc(48cqh - var(--pw) / 2); }
.cavalier.ready .cav-art img { opacity: 0; }
@media (max-width: 699px) {
  .cavalier.anim .cav-head { top: 0; transform: none; padding-top: 22px; }
  .cavalier.anim .cav-head > * { max-width: none; }
  .cavalier.anim .cav-art { --pw: var(--cav-pw, min(72cqw, 50cqh)); top: var(--cav-top, calc(50cqh - var(--pw) / 2)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
