/* ==========================================================================
   Valérie Bourimoff — feuille de style
   ========================================================================== */

:root {
  --paper: #f3eee6;
  --paper-deep: #e8e0d3;
  --ink: #1c1a20;
  --ink-2: #4a4650;
  --ink-3: #8c8792;
  --line: rgba(28, 26, 32, 0.13);
  --night: #111015;

  --rose: #c23b62;
  --ultramarine: #2b47c4;
  --ochre: #e3a23b;
  --viridian: #2f9c86;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --gap: clamp(14px, 2.2vw, 36px);
  --header-h: 76px;

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* Grain papier */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 3000;
  pointer-events: none;
  opacity: 0.075;
  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 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

::selection { background: var(--rose); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ultramarine);
  outline-offset: 4px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 5000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

.wrap { padding-inline: var(--gutter); }

/* ---------- Typo helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: "";
  width: 2.4em;
  height: 1px;
  background: currentColor;
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.display em { font-style: italic; font-weight: 300; }

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.h2 em { font-style: italic; }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.3;
  font-weight: 400;
}

/* ---------- Boutons & liens ---------- */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 6px;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.7s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(0); }
.link-arrow .arrow { transition: transform 0.6s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(6px); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 1.05rem 1.9rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: none; }
.btn--light::before { background: var(--paper); }
.btn--light:hover { color: var(--ink); }

.btn-round {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: clamp(130px, 13vw, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
  padding: 1.5rem;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s var(--ease);
}
.btn-round::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--rose);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.7s var(--ease);
}
.btn-round:hover::before { transform: scale(1); }
.btn-round--light { background: var(--paper); color: var(--ink); }
.btn-round--light:hover { color: #fff; }

/* Effet « roll » du texte */
.roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.roll > span { display: block; transition: transform 0.6s var(--ease); }
.roll::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 100%;
  transition: transform 0.6s var(--ease);
}
.roll:hover > span,
.roll:hover::after,
a:hover > .roll > span,
a:hover > .roll::after { transform: translateY(-100%); }

/* ---------- En-tête ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  transition: transform 0.7s var(--ease), background-color 0.5s, border-color 0.5s, color 0.5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(243, 238, 230, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.brand__first { font-style: italic; font-weight: 300; }
.brand__last {
  font-weight: 500;
  font-size: 0.78em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-left: 0.15em;
}

.nav ul { display: flex; gap: clamp(20px, 2.8vw, 44px); }
.nav a {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-block: 6px;
}
.nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -4px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--rose);
}

.menu-btn {
  display: none;
  position: relative;
  z-index: 2;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 0;
}
.menu-btn__lines { position: relative; width: 26px; height: 8px; }
.menu-btn__lines::before,
.menu-btn__lines::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.menu-btn__lines::before { top: 0; }
.menu-btn__lines::after { top: 100%; }
.menu-open .menu-btn__lines::before { top: 50%; transform: rotate(45deg); }
.menu-open .menu-btn__lines::after { top: 50%; transform: rotate(-45deg); }

.menu-open .site-header {
  color: var(--paper);
  background: transparent;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: none;
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .brand { font-size: 1.3rem; }
}

/* ---------- Menu mobile ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 6vh) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.9s var(--ease-io), visibility 0s 0.9s;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.9s var(--ease-io), visibility 0s;
}
.menu__links li { overflow: hidden; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 14vw, 6rem);
  line-height: 1.08;
  transform: translateY(105%);
  transition: transform 0.9s var(--ease);
}
.menu__links a small {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--ink-3);
}
.menu__links a:hover { font-style: italic; }
.menu.is-open .menu__links a { transform: none; }
.menu.is-open .menu__links li:nth-child(2) a { transition-delay: 0.06s; }
.menu.is-open .menu__links li:nth-child(3) a { transition-delay: 0.12s; }
.menu.is-open .menu__links li:nth-child(4) a { transition-delay: 0.18s; }
.menu.is-open .menu__links li:nth-child(5) a { transition-delay: 0.24s; }
.menu__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  font-size: 0.8rem;
  color: rgba(243, 238, 230, 0.65);
  opacity: 0;
  transition: opacity 0.6s 0.3s;
}
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--paper); }

/* ---------- Curseur ---------- */

.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 2500;
  pointer-events: none;
  display: none;
}
.has-cursor .cursor { display: block; }
.has-cursor,
.has-cursor * { cursor: none !important; }
.has-cursor input,
.has-cursor textarea,
.has-cursor select { cursor: auto !important; }

.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 0; left: 0;
  border-radius: 50%;
  will-change: transform;
}
.cursor__dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--ink);
  transition: opacity 0.3s, background-color 0.3s;
}
.cursor__ring {
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  display: grid;
  place-items: center;
}
.cursor__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(28, 26, 32, 0.45);
  transition: transform 0.55s var(--ease), background-color 0.4s, border-color 0.4s;
}
.cursor__label {
  position: absolute;
  top: 50%; left: 50%;
  padding-left: 0.16em; /* compense l'espacement après la dernière lettre */
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.3s, transform 0.5s var(--ease);
  white-space: nowrap;
}
.cursor.is-link .cursor__ring::before { transform: scale(1.6); border-color: rgba(28, 26, 32, 0.25); }
.cursor.is-label .cursor__ring::before { transform: scale(2.5); background: var(--ink); border-color: var(--ink); }
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%); }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }
.cursor.is-light .cursor__dot { background: var(--paper); }
.cursor.is-light .cursor__ring::before { border-color: rgba(243, 238, 230, 0.5); }
.cursor.is-light.is-label .cursor__ring::before { background: var(--paper); border-color: var(--paper); }
.cursor.is-light .cursor__label { color: var(--ink); }

/* ---------- Transitions de page & loader ---------- */

.curtain {
  position: fixed;
  inset: 0;
  z-index: 4000;
  pointer-events: none;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
}
.curtain.is-leaving {
  transform: scaleY(1);
  transition: transform 0.7s var(--ease-io);
}
.is-entering .curtain { transform: scaleY(1); transform-origin: top; }
.curtain.is-entered {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.9s var(--ease-io);
}

.loader { display: none; }
.show-loader .loader {
  position: fixed;
  inset: 0;
  z-index: 4500;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: clip-path 1.2s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__inner { text-align: center; }
.loader__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 0.1em;
}
.loader__name em { font-style: italic; margin-right: 0.25em; }
.loader__name span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: calc(var(--i) * 45ms + 0.1s);
}
.loader__bar {
  width: min(260px, 60vw);
  height: 1px;
  margin: 28px auto 0;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.loader__bar span {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  transition: transform 0.5s var(--ease);
}
.loader__count {
  margin-top: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

@keyframes rise { to { transform: none; } }

/* ---------- Révélations ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal="fade"] { transform: none; }

.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.5s var(--ease-io);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="clip"] img {
  transform: scale(1.25);
  transition: transform 2s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].is-in img { transform: none; }

.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.08em 0.22em 0;
  margin: 0 -0.08em -0.22em 0;
}
.split .w > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.3s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0s));
}
.split.is-in .w > span { transform: none; }

/* ---------- Sections communes ---------- */

.section { padding-block: clamp(90px, 16vh, 200px); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(40px, 7vh, 90px);
}
.section-head .eyebrow { margin-bottom: 22px; }
.section-head p { max-width: 30ch; color: var(--ink-2); }

@media (max-width: 700px) {
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Accueil
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: calc(var(--header-h) + 4vh) var(--gutter) 28px;
  overflow: hidden;
  isolation: isolate;
}

.pigments {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
.cta .pigments,
.bigquote .pigments {
  -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 70%, transparent);
  mask-image: linear-gradient(transparent, #000 25%, #000 70%, transparent);
}
.pigments span {
  position: absolute;
  width: 58vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--c) 0%, transparent 62%);
  opacity: 0.3;
  mix-blend-mode: multiply;
  animation: drift 26s ease-in-out infinite alternate;
  will-change: transform;
}
.pigments span:nth-child(1) { --c: var(--rose); top: -22%; left: -14%; }
.pigments span:nth-child(2) { --c: var(--ultramarine); top: 18%; right: -22%; animation-duration: 32s; animation-delay: -8s; }
.pigments span:nth-child(3) { --c: var(--ochre); bottom: -30%; left: 18%; animation-duration: 28s; animation-delay: -14s; opacity: 0.34; }
.pigments span:nth-child(4) { --c: var(--viridian); top: 30%; left: 30%; width: 34vmax; animation-duration: 36s; animation-delay: -4s; opacity: 0.18; }

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(6vw, 4vh) scale(1.12); }
  66% { transform: translate(-4vw, 8vh) scale(0.94); }
  100% { transform: translate(3vw, -6vh) scale(1.06); }
}

.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__title {
  position: relative;
  z-index: 3;
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.025em;
  font-size: clamp(4.4rem, 17vw, 19rem);
  pointer-events: none;
}
.hero__title .first {
  display: block;
  font-style: italic;
  font-size: 0.42em;
  letter-spacing: 0;
  margin-bottom: 0.05em;
  transform: translateX(-0.9em);
}
.hero__title .last { display: block; }
.hero__title .ch {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero__title .ch > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.5s var(--ease);
  transition-delay: calc(var(--i) * 55ms + 0.15s);
}
.is-ready .hero__title .ch > span { transform: none; }
.no-js .hero__title .ch > span { transform: none; }

.hero__art {
  position: absolute;
  z-index: 1;
  margin: 0;
  will-change: transform;
}
.hero__art .frame {
  display: block;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.6s var(--ease-io);
  transition-delay: var(--d, 0s);
  box-shadow: 0 30px 60px -30px rgba(28, 26, 32, 0.45);
}
.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3);
  transition: transform 2.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.is-ready .hero__art .frame { clip-path: inset(0 0 0 0); }
.is-ready .hero__art img { transform: none; }
.no-js .hero__art .frame { clip-path: none; }
.no-js .hero__art img { transform: none; }

.hero__art .hero__cap {
  margin-top: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0;
  transition: opacity 1s 1.4s;
}
.is-ready .hero__art .hero__cap { opacity: 1; }
.hero__art .hero__cap em { font-family: var(--serif); font-size: 1.2em; text-transform: none; letter-spacing: 0; color: var(--ink); }

.hero__art--a { width: clamp(150px, 21vw, 360px); left: 4%; top: 2%; --d: 0.35s; }
.hero__art--a .frame { aspect-ratio: 1583 / 2000; }
.hero__art--b { width: clamp(180px, 25vw, 440px); right: 2%; top: 8%; --d: 0.5s; }
.hero__art--b .frame { aspect-ratio: 2000 / 1389; }
.hero__art--c { width: clamp(110px, 13vw, 230px); right: 16%; bottom: 0; --d: 0.7s; }
.hero__art--c .frame { aspect-ratio: 1743 / 2000; }
.hero__art--d { width: clamp(110px, 12vw, 210px); left: 20%; bottom: 4%; --d: 0.85s; }
.hero__art--d .frame { aspect-ratio: 1018 / 1023; }

.hero__foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  position: relative;
  z-index: 4;
  padding-top: 24px;
}
.hero__foot p { font-size: 0.82rem; color: var(--ink-2); line-height: 1.5; }
.hero__foot .tagline {
  justify-self: end;
  text-align: right;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  color: var(--ink);
  line-height: 1.25;
}
.hero__foot .tagline em { display: block; color: var(--ink-2); font-size: 0.82em; }

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 54px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

.hero .js-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s var(--ease) 1.1s, transform 1.2s var(--ease) 1.1s;
}
.is-ready .hero .js-fade,
.no-js .hero .js-fade { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero__stage { place-items: start center; padding-top: 3vh; min-height: 110vw; }
  .hero__title { font-size: 21vw; }
  .hero__title .first { transform: none; }
  .hero__art--a { width: 44vw; left: 1%; top: auto; bottom: 12%; }
  .hero__art--b { width: 54vw; right: -2%; top: 28%; }
  .hero__art--c { width: 30vw; right: 9%; bottom: 0; }
  .hero__art--d { display: none; }
  .hero__art .hero__cap { display: none; }
  .hero__foot { grid-template-columns: 1fr; gap: 14px; }
  .hero__foot .tagline { justify-self: start; text-align: left; }
  .scroll-cue { display: none; }
}

/* ---------- Manifeste ---------- */

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: var(--gap);
}
.manifesto__text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 4.3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.manifesto__text em { font-style: italic; }
.scrub .sw { opacity: 0.14; transition: opacity 0.5s, color 0.5s; }
.scrub .sw.on { opacity: 1; }
.no-js .scrub .sw { opacity: 1; }
.manifesto__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.manifesto__more { margin-top: 48px; }

@media (max-width: 860px) {
  .manifesto { grid-template-columns: 1fr; }
}

/* ---------- Sélection (défilement horizontal) ---------- */

.hs { position: relative; background: var(--paper-deep); }
.hs__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5vh;
}
.hs__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-inline: var(--gutter);
}
.hs__head .eyebrow { margin-bottom: 16px; }
.hs__progress {
  width: min(240px, 30vw);
  height: 1px;
  background: var(--line);
  position: relative;
  margin-bottom: 12px;
}
.hs__progress span {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.hs__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(28px, 5vw, 90px);
  padding-inline: var(--gutter);
  will-change: transform;
  width: max-content;
}

.hs { --hh: clamp(260px, 52vh, 620px); }
.card {
  flex: 0 0 auto;
  display: block;
  width: calc(var(--hh) * var(--ar, 1));
  text-align: left;
  position: relative;
}
.card:nth-child(even) { margin-top: 7vh; }
.card__frame {
  display: block;
  width: 100%;
  height: var(--hh);
  overflow: hidden;
  background: var(--c, var(--paper));
  position: relative;
}
.card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12) translateX(var(--shift, 0));
  transition: transform 1.2s var(--ease);
}
.card:hover .card__frame img { transform: scale(1.05) translateX(var(--shift, 0)); }
.card__cap {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding-top: 14px;
}
.card__num { font-size: 0.7rem; letter-spacing: 0.14em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.card__title { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.1; }
.card__meta { display: block; font-size: 0.78rem; color: var(--ink-2); margin-top: 4px; }

.card--end {
  width: auto;
  height: var(--hh);
  display: grid;
  place-items: center;
  padding-inline: 4vw 8vw;
}

.hs.is-static .hs__sticky { position: relative; height: auto; padding-block: clamp(80px, 14vh, 160px); }
.hs.is-static .hs__track {
  width: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.hs.is-static .hs__track::-webkit-scrollbar { display: none; }
.hs.is-static .card { scroll-snap-align: start; }
.hs.is-static { --hh: clamp(260px, 58vh, 520px); }
.hs.is-static .card:nth-child(even) { margin-top: 0; }

@media (max-width: 700px) {
  .hs.is-static { --hh: min(66vw, 60vh); }
  .hs__progress { display: none; }
}

/* ---------- Chapitres ---------- */

.chapters { border-top: 1px solid var(--line); }
.chapters a {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) 4fr auto auto;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(22px, 3.6vh, 38px);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: color 0.4s, padding 0.7s var(--ease);
}
.chapters a::before {
  content: "";
  position: absolute;
  inset: -1px 0 -1px;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
  z-index: -1;
}
.chapters li { position: relative; isolation: isolate; }
.chapters__year {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.chapters__title { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.9rem); line-height: 1.2; }
.chapters__count { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.chapters__arrow { font-size: 1.4rem; transition: transform 0.6s var(--ease); }
.chapters__thumb { display: none; }

@media (hover: hover) {
  .chapters:hover a { color: var(--ink-3); }
  .chapters a:hover { color: var(--paper); padding-inline: 2vw; }
  .chapters a:hover::before { transform: scaleY(1); transform-origin: top; }
  .chapters a:hover .chapters__count { color: rgba(243, 238, 230, 0.7); }
  .chapters a:hover .chapters__arrow { transform: translateX(8px) rotate(-45deg); }
}

@media (max-width: 700px) {
  .chapters a { grid-template-columns: 72px 1fr auto; row-gap: 4px; }
  .chapters__thumb { display: block; grid-row: span 2; width: 72px; height: 72px; object-fit: cover; }
  .chapters__year { font-size: 2.2rem; }
  .chapters__title { grid-column: 2 / 4; grid-row: 2; font-size: 1.1rem; }
  .chapters__count { grid-column: 3; grid-row: 1; justify-self: end; }
  .chapters__arrow { display: none; }
}

.preview {
  position: fixed;
  top: 0; left: 0;
  z-index: 45;
  width: clamp(220px, 20vw, 340px);
  aspect-ratio: 4 / 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  will-change: transform;
}
.preview.is-on { opacity: 1; }
.preview__inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: scale(0.7);
  transition: transform 0.7s var(--ease);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.5);
}
.preview.is-on .preview__inner { transform: none; }
.preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.15);
  transition: opacity 0.5s, transform 1s var(--ease);
}
.preview img.is-current { opacity: 1; transform: none; }

/* ---------- Atelier ---------- */

.studio {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: center;
}
.studio__media { position: relative; }
.studio__frame { overflow: hidden; aspect-ratio: 3 / 4; }
.studio__frame .px { height: 118%; margin-top: -9%; }
.studio__frame img { width: 100%; height: 100%; object-fit: cover; }
.studio__badge {
  position: absolute;
  right: -40px; bottom: 40px;
  width: 120px; height: 120px;
  animation: spin 22s linear infinite;
}
.studio__badge text { font-family: var(--sans); font-size: 8.4px; font-weight: 600; letter-spacing: 3.1px; text-transform: uppercase; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.studio__text .h2 { margin: 22px 0 36px; }
.studio__text p + p { margin-top: 1.2em; }
.studio__text p { color: var(--ink-2); max-width: 54ch; }
.studio__quote {
  margin-top: 44px;
  padding-left: 26px;
  border-left: 1px solid var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.3;
}
.studio__text .link-arrow { margin-top: 44px; }

@media (max-width: 860px) {
  .studio { grid-template-columns: 1fr; }
  .studio__badge { right: 12px; bottom: -40px; width: 96px; height: 96px; }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(22px, 4vh, 40px);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  white-space: nowrap;
  padding-right: 0.6em;
}
.marquee__track span:nth-child(odd) { font-style: italic; }
.marquee__track b { font-weight: 300; color: var(--rose); padding-right: 0.6em; font-size: clamp(1.2rem, 2.4vw, 2.2rem); vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Appel à l'action ---------- */

.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta .h2 { font-size: clamp(2.8rem, 8vw, 8.5rem); }
.cta p { margin: 26px auto 46px; max-width: 46ch; color: var(--ink-2); }
.cta .pigments span { opacity: 0.22; }

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--night);
  color: var(--paper);
  padding: clamp(70px, 12vh, 140px) var(--gutter) 0;
  overflow: hidden;
  position: relative;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-bottom: clamp(50px, 9vh, 100px);
  border-bottom: 1px solid rgba(243, 238, 230, 0.14);
}
.footer__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 5.2rem);
  line-height: 1;
}
.footer__quote em { display: block; font-size: 0.42em; color: rgba(243, 238, 230, 0.55); margin-top: 0.5em; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: 50px;
  font-size: 0.88rem;
}
.footer__grid h3 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 238, 230, 0.5);
  margin-bottom: 18px;
}
.footer__grid li + li { margin-top: 6px; }
.footer__grid a { transition: color 0.3s; }
.footer__grid a:hover { color: var(--ochre); }
.footer__grid p { color: rgba(243, 238, 230, 0.6); max-width: 40ch; line-height: 1.6; }
.footer__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22.5vw;
  line-height: 0.74;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 calc(var(--gutter) * -1);
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 238, 230, 0.28);
  user-select: none;
  transform: translateY(14%);
}
.footer__bottom {
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(243, 238, 230, 0.45);
}

@media (max-width: 760px) {
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { position: static; padding-block: 16px; flex-direction: column; gap: 4px; }
  .footer__name { transform: none; margin-top: 10px; }
}

/* ==========================================================================
   Pages intérieures
   ========================================================================== */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 12vh) var(--gutter) clamp(50px, 8vh, 90px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero .pigments span { opacity: 0.2; }
.page-hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4.2rem, 15vw, 15rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
}
.page-hero__title em { font-style: italic; }
.page-hero__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-top: clamp(28px, 5vh, 56px);
}
.page-hero__row p { max-width: 44ch; color: var(--ink-2); }
.page-hero__stat { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.8rem); white-space: nowrap; }
.page-hero__stat em { color: var(--ink-2); }

@media (max-width: 700px) {
  .page-hero__row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Galerie ---------- */

.toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px var(--gutter);
  background: rgba(243, 238, 230, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-block: 1px solid var(--line);
  transition: top 0.7s var(--ease);
}
.header-hidden .toolbar { top: 0; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}
.chip sup { font-size: 0.85em; color: var(--ink-2); letter-spacing: 0; top: 0; transition: color 0.4s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.is-active sup { color: rgba(243, 238, 230, 0.6); }

.toolbar__count { font-size: 0.78rem; color: var(--ink-2); white-space: nowrap; }
.toolbar__count b { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--ink); }

.years-mobile {
  flex: 0 0 calc(100% + var(--gutter) * 2);
  display: none;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  border-top: 1px solid var(--line);
}
.years-mobile::-webkit-scrollbar { display: none; }
.years-mobile a {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 1.1rem;
  padding: 2px 10px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: background-color 0.3s, color 0.3s;
}
.years-mobile a.is-active { background: var(--ink); color: var(--paper); }
.years-mobile a.is-empty { display: none; }

.works-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 70px);
  padding-inline: var(--gutter);
}

.year-index {
  position: sticky;
  top: calc(var(--header-h) + 110px);
  align-self: start;
  padding-top: 12vh;
  transition: top 0.7s var(--ease);
}
.header-hidden .year-index { top: 110px; }
.year-index li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 5px;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink-3);
  transition: color 0.4s;
}
.year-index li a::before {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: width 0.6s var(--ease);
}
.year-index li a:hover { color: var(--ink); }
.year-index li a.is-active { color: var(--ink); font-style: italic; }
.year-index li a.is-active::before { width: 34px; background: var(--rose); }
.year-index li a.is-empty { opacity: 0.35; pointer-events: none; }

.chapter { padding-top: clamp(70px, 12vh, 140px); }
.chapter.is-hidden { display: none; }
.chapter__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 50px);
  align-items: end;
  margin-bottom: clamp(30px, 5vh, 60px);
  padding-bottom: clamp(20px, 3vh, 34px);
  border-bottom: 1px solid var(--line);
}
.chapter__year {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4.6rem, 11vw, 11rem);
  line-height: 0.78;
  letter-spacing: -0.03em;
}
.chapter__year.is-word { font-style: italic; }
.chapter__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2.3rem);
  line-height: 1.15;
  max-width: 26ch;
}
.chapter__meta { margin-top: 12px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.chapter__intro { margin-top: 16px; max-width: 62ch; color: var(--ink-2); font-size: 0.95rem; }

@media (max-width: 860px) {
  .works-layout { grid-template-columns: 1fr; }
  .year-index { display: none; }
  .years-mobile { display: flex; }
  .toolbar { flex-wrap: wrap; padding-bottom: 0; }
  .toolbar__count { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
}
@media (max-width: 600px) {
  .chapter__head { grid-template-columns: 1fr; }
}

.masonry { display: flex; gap: var(--gap); align-items: flex-start; }
.masonry__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: calc(var(--gap) * 1.4); }

.work { display: block; width: 100%; text-align: left; }
.work__frame {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--c, var(--paper-deep));
}
.work__frame img {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s var(--ease), transform 1.4s var(--ease);
}
.work__frame img.is-loaded { opacity: 1; transform: none; }
.work:hover .work__frame img.is-loaded { transform: scale(1.04); }
.work__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(28, 26, 32, 0.06);
  pointer-events: none;
}
.work__cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
}
.work__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  line-height: 1.2;
}
.work__meta { font-size: 0.74rem; color: var(--ink-2); text-align: right; line-height: 1.4; flex-shrink: 0; }
.work__meta:only-child { text-align: left; }

.js .work { opacity: 0; transform: translateY(50px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .work.is-in { opacity: 1; transform: none; }

.gallery-empty { padding: 20vh 0; text-align: center; font-family: var(--serif); font-size: 1.6rem; }

@media (max-width: 600px) {
  .work__cap { flex-direction: column; gap: 2px; }
  .work__meta { text-align: left; font-size: 0.7rem; }
}

.gallery-fade { transition: opacity 0.45s var(--ease); }
.gallery-fade.is-fading { opacity: 0; }

/* ==========================================================================
   Visionneuse
   ========================================================================== */

.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: var(--paper);
  visibility: hidden;
  pointer-events: none;
}
.lb.is-open { visibility: visible; pointer-events: auto; }
.lb__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 46%, color-mix(in srgb, var(--tint, #333) 32%, transparent) 0%, transparent 75%),
    #0f0e13;
  opacity: 0;
  transition: opacity 0.6s var(--ease), background 1s;
}
.lb.is-open .lb__bg { opacity: 1; }

.lb__top,
.lb__bottom {
  position: relative;
  z-index: 3;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px var(--gutter);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s, transform 0.6s var(--ease);
}
.lb__bottom { grid-row: 3; transform: translateY(10px); align-items: flex-end; padding-bottom: 24px; }
.lb__top > *,
.lb__bottom > * { pointer-events: auto; }
.lb :focus-visible { outline-color: var(--paper); }
.lb.is-open .lb__top,
.lb.is-open .lb__bottom { opacity: 1; transform: none; transition-delay: 0.2s; }
.lb.is-zoomed .lb__top,
.lb.is-zoomed .lb__bottom { opacity: 0; pointer-events: none; }

.lb__count { font-size: 0.74rem; letter-spacing: 0.18em; font-variant-numeric: tabular-nums; color: rgba(243, 238, 230, 0.7); }
.lb__count b { color: var(--paper); font-weight: 600; }
.lb__tools { display: flex; gap: 10px; }

.lb__btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 238, 230, 0.22);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.5s var(--ease);
}
.lb__btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.lb__btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.lb__stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.lb__img {
  position: absolute;
  top: 0; left: 0;
  transform-origin: 0 0;
  will-change: transform, opacity;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
  -webkit-user-drag: none;
}
.lb.is-zoomed .lb__stage { cursor: zoom-out; }

.lb__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  margin-top: -23px;
}
.lb__nav--prev { left: var(--gutter); }
.lb__nav--next { right: var(--gutter); }
.lb.is-zoomed .lb__nav { opacity: 0; pointer-events: none; }

.lb__info { min-width: 0; }
.lb__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.05;
}
.lb__meta { margin-top: 6px; font-size: 0.8rem; color: rgba(243, 238, 230, 0.68); }
.lb__ask { flex-shrink: 0; }
.lb__ask.btn { color: var(--paper); }

.lb__spinner {
  position: absolute;
  top: 50%; left: 50%;
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(243, 238, 230, 0.2);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
  pointer-events: none;
}
.lb.is-loading .lb__spinner { opacity: 1; }

.lb__hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none !important;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 238, 230, 0.45);
  pointer-events: none;
}

@media (max-width: 760px) {
  .lb__nav { top: auto; bottom: 18px; margin: 0; }
  .lb__nav--prev { left: auto; right: calc(var(--gutter) + 56px); }
  .lb__bottom { flex-direction: column; align-items: flex-start; padding-right: calc(var(--gutter) + 120px); }
  .lb__ask.btn { padding: 0.8rem 1.2rem; font-size: 0.66rem; }
  .lb__hint { display: none; }
  .lb__tools .lb__zoom { display: none; }
}

/* ==========================================================================
   Biographie
   ========================================================================== */

.bio-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: end;
}
.bio-hero__portrait { position: relative; }
.bio-hero__portrait .frame { overflow: hidden; aspect-ratio: 800 / 764; }
.bio-hero__portrait .frame img { width: 100%; height: 100%; object-fit: cover; }
.bio-hero__portrait figcaption { margin-top: 10px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

@media (max-width: 860px) {
  .bio-hero { grid-template-columns: 1fr; }
}

.bio-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: var(--gap);
}
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  align-self: start;
  margin-top: 26px;
}
.lang-toggle button {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  transition: background-color 0.3s, color 0.3s;
}
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.bio-text__body [lang] { display: none; }
.bio-text__body [lang].is-active { display: block; animation: fadeUp 0.9s var(--ease); }
.bio-text__body .lead + p,
.bio-text__body p + p { margin-top: 1.3em; }
.bio-text__body p:not(.lead) { color: var(--ink-2); max-width: 62ch; font-size: 1.05rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

@media (max-width: 860px) {
  .bio-text { grid-template-columns: 1fr; }
}

.bigquote {
  position: relative;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.bigquote blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1.1;
  max-width: 22ch;
  margin-inline: auto;
}
.bigquote .pigments span { opacity: 0.24; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.stats > div { padding: clamp(26px, 5vh, 50px) clamp(10px, 2vw, 30px); }
.stats > div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1; }
.stats span { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }

@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

.cv {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: var(--gap);
}
.cv + .cv { margin-top: clamp(70px, 12vh, 140px); }
.cv__title { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.cv__title .h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); margin-top: 18px; }

.formations li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  line-height: 1.25;
}
.formations li:first-child { border-top: 1px solid var(--line); }
.formations li small { font-family: var(--sans); font-size: 0.82rem; color: var(--ink-2); text-align: right; max-width: 32ch; }

.expo-year {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(0, 4fr);
  gap: 20px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.expo-year:first-child { border-top: 1px solid var(--line); }
.expo-year h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; }
.expo-year li { padding-block: 6px; display: grid; gap: 2px; }
.expo-year li strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.25; }
.expo-year li span { font-size: 0.86rem; color: var(--ink-2); }
.expo-year li + li { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 6px; }

@media (max-width: 860px) {
  .cv { grid-template-columns: 1fr; }
  .cv__title { position: static; margin-bottom: 20px; }
}
@media (max-width: 520px) {
  .expo-year { grid-template-columns: 1fr; gap: 10px; }
  .formations li { flex-direction: column; gap: 6px; }
  .formations li small { text-align: left; }
}

.notice {
  font-size: 0.8rem;
  color: var(--ink-2);
  max-width: 70ch;
  padding-top: 30px;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  padding: 0 var(--gutter) clamp(90px, 16vh, 180px);
}
.contact__aside p { color: var(--ink-2); max-width: 44ch; }
.contact__aside p + p { margin-top: 1.1em; }
.contact__info { margin-top: 44px; border-top: 1px solid var(--line); }
.contact__info li { padding-block: 18px; border-bottom: 1px solid var(--line); }
.contact__info small { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.contact__info span { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }

.form { display: grid; gap: 34px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.field { position: relative; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 26px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(28, 26, 32, 0.3);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field select { cursor: pointer; padding-right: 30px; }
.field--select::after {
  content: "";
  position: absolute;
  right: 4px; bottom: 20px;
  width: 8px; height: 8px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(45deg);
  pointer-events: none;
}
.field label {
  position: absolute;
  left: 0; top: 26px;
  font-size: 1.05rem;
  color: var(--ink-2);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.5s var(--ease), color 0.3s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field--select label {
  transform: translateY(-24px) scale(0.72);
  color: var(--ink);
  letter-spacing: 0.04em;
}
.field__line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.field textarea ~ .field__line { bottom: 6px; }
.field input:focus ~ .field__line,
.field textarea:focus ~ .field__line,
.field select:focus ~ .field__line { transform: scaleX(1); }
.field input:user-invalid,
.field textarea:user-invalid { border-bottom-color: var(--rose); }

.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__foot small { font-size: 0.78rem; color: var(--ink-2); max-width: 34ch; }
.form__status {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
  min-height: 1.3em;
}
.form__status.is-error { color: var(--rose); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ask-card {
  display: none;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}
.ask-card.is-visible { display: flex; }
.ask-card img { width: 74px; height: 74px; object-fit: cover; }
.ask-card small { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.ask-card strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.4rem; line-height: 1.2; }
.ask-card span { display: block; font-size: 0.8rem; color: var(--ink-2); }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  body::after { animation: none; }
}

/* ---------- Ajustements ---------- */

.bio-hero .page-hero__title { font-size: clamp(3.6rem, 10.5vw, 11rem); }
.expo-year h3 em { font-size: 0.55em; color: var(--ink-2); }
.chapters__year em { font-style: italic; }
.lb-open .site-header { pointer-events: none; }
.lb.is-zoomed .lb__top > *,
.lb.is-zoomed .lb__bottom > * { pointer-events: none; }
