/* ITC Clearface — la voix serif de LES GRIOTS (fichier maison, self-hosted) */
@font-face {
  font-family: "ITC Clearface";
  src: url("assets/fonts/ClearfaceStd-Regular.woff2") format("woff2"),
       url("assets/fonts/ClearfaceStd-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   Les Griots — clean stylesheet
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --ink: #ffffff;
  --accent: #F1B81F;
  --hot: #C4321F;
  /* Paire « Saint Heron » (cf. testeur de polices) gravée par défaut :
     serif classique façon Times + Archivo en sans. */
  --serif: "ITC Clearface", "Times Now", "Times New Roman", Georgia, serif;
  --sans: "Archivo", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: #fff; }
/* (scroll-snap natif retiré — Lenis gère l'inertie, le snap est piloté en JS) */
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* =========================================================
   LANDING — section 0 : Florale home video, big vertical logo
   Sticky so the next section can slide UP over it.
   ========================================================= */
.landing {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  cursor: pointer;
  z-index: 1;
  scroll-snap-align: start;
}
.landing-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(.95);
  transition: filter 1.2s ease;
}
body.entered .landing-image {
  filter: grayscale(0) contrast(1.05) brightness(1);
}
.landing-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0) 18%, rgba(0,0,0,0) 70%, rgba(0,0,0,.6));
}

/* Bottom centered tagline, like COLORS' "CURATED SHOWS, FREQUENTLY UPDATED." */
.landing-tag {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 4vh, 48px);
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
  white-space: nowrap;
  text-align: center;
  transition: opacity .6s ease, transform .6s ease;
}
body.entered .landing-tag {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
}
/* Heavy film grain on landing only */
.landing::after {
  content: "";
  position: absolute;
  inset: -80px;
  z-index: 2;
  pointer-events: none;
  opacity: .72;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
  background-size: 260px 260px;
  animation: grain .35s steps(10) infinite;
  will-change: transform;
}
/* Second grain layer for extra density */
.landing::before {
  content: "";
  position: absolute;
  inset: -80px;
  z-index: 2;
  pointer-events: none;
  opacity: .35;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='340' height='340'><filter id='n2'><feTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .8 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n2)' opacity='1'/></svg>");
  background-size: 340px 340px;
  animation: grain .9s steps(6) infinite reverse;
}

/* =========================================================
   À LA UNE — white bg, video centered, marker words overlap on scroll
   ========================================================= */
.une {
  position: relative;
  z-index: 120; /* passe au-dessus du logo (z 100) */
  background: #f6f4ef;
  height: 260vh;
}
.une-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.une-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  overflow: hidden;
}
.une-video img, .une-video video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.une-word {
  position: absolute;
  left: 50%;
  font-family: "Permanent Marker", cursive;
  color: #141210;
  white-space: nowrap;
  will-change: transform;
  pointer-events: none;
}
.une-w1 { top: 18%; font-size: clamp(40px, 7vw, 110px); }
.une-w2 { top: 44%; font-size: clamp(80px, 15vw, 260px); color: #C4321F; }
.une-w3 { top: 74%; font-size: clamp(32px, 5vw, 80px); }
@media (max-width: 720px) {
  .une-video { width: 86vw; }
}

/* Scroll runway — logo rise, immediately followed by the black block */
.scroll-runway { height: 100vh; width: 100%; pointer-events: none; }

/* =========================================================
   SECTION 02 — slides up over the stage once the logo is up
   ========================================================= */
.next-section {
  position: relative;
  z-index: 50;
  background: var(--bg);
  color: #f4efe3;
  min-height: 100vh;
  padding: calc(100vw / 3.89 + 48px) clamp(28px, 4vw, 64px) 96px;
}
.ns-inner { max-width: 880px; margin: 0 auto; }
.ns-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244,239,227,.55);
  margin-bottom: clamp(20px, 3vw, 36px);
}
.ns-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin-bottom: clamp(24px, 3vw, 44px);
}
.ns-title em { font-style: italic; color: var(--accent, #F1B81F); }
.ns-text {
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.5;
  color: rgba(244,239,227,.85);
  max-width: 56ch;
}

/* =========================================================
   INTRO — white statement, giant serif caps
   ========================================================= */
.intro {
  position: relative;
  z-index: 40;
  background: var(--bg);
  color: #f4efe3;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px clamp(20px, 4vw, 80px);
  scroll-snap-align: start;
}
.intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 4.5vw, 76px);
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* =========================================================
   ENCYCLOPÉDIE — Saint Heron-style index
   ========================================================= */
.ency {
  position: sticky;
  top: 0;
  z-index: 51;
  background: var(--bg);
  color: #fff;
  height: 100vh;
  overflow: hidden;
  padding: 50vh clamp(20px, 2vw, 36px) 40px; /* le contenu commence au milieu */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.ency-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.ency-head span:nth-child(2) { justify-self: center; }
.ency-head span:nth-child(3) { justify-self: end; }

/* Menu — dans la ligne d'en-tête, aligné avec Les Griots / Encyclopædia */
.ency-menu {
  position: relative;
  justify-self: end;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
}
.ency-menu-btn {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  cursor: pointer;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.ency-menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  display: none;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,.18);
  padding: 16px 20px;
  min-width: 160px;
  z-index: 60;
  text-align: right;
}
.ency-menu.open .ency-menu-list { display: flex; }
.ency-menu-list a {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.ency-menu-list a:hover { color: #fff; }

/* =========================================================
   JOURNAL — beige pgLang-style timeline
   ========================================================= */
.journal {
  position: relative;
  z-index: 60;
  background: var(--bg);
  color: #f4efe3;
  height: 100vh;
  overflow-y: auto;
  padding: calc(100vw / 3.89 + 72px) clamp(20px, 2vw, 40px) 16px; /* la liste démarre sous le logo + menu */
  font-family: var(--serif);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.jr-head {
  position: fixed;
  top: calc(100vw / 3.89 + 14px);
  left: clamp(20px, 2vw, 40px);
  right: clamp(20px, 2vw, 40px);
  z-index: 240; /* toujours au-dessus des panneaux, sous le logo */
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  color: #f4efe3;
}
body.entered .jr-head { opacity: 1; pointer-events: auto; }
.jr-head a:hover { color: #F1B81F; }

/* Panier — haut droite quand le shop est ouvert */
.shop-cart {
  position: fixed;
  top: 22px;
  right: clamp(20px, 2vw, 40px);
  z-index: 245;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f4efe3;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
  cursor: pointer;
}
.shop-cart.on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.shop-cart.bump #cart-count { color: #F1B81F; }
.shop-cart:hover { color: #F1B81F; }

/* Fiche produit — overlap au-dessus du shop */
/* Fiche produit — réf. Saint Heron : colonne centrée, l'objet d'abord */
.pd-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 3.5vh, 40px);
  max-width: 1100px;
  width: 100%;
  padding-top: calc(100vw / 3.89 * .4);
}
.pd-carousel { position: relative; width: 100%; cursor: pointer; }
.pd-track { position: relative; width: 100%; height: 56vh; }
.pd-track img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; /* le média dicte son ratio — jamais de crop */
  opacity: 0;
  transition: opacity .3s cubic-bezier(.16, 1, .3, 1);
}
.pd-track img.is-on { opacity: 1; }
.pd-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.pd-dots button {
  width: 5px; height: 5px; padding: 0;
  border: 0; border-radius: 99px;
  background: rgba(244, 239, 227, 0.32);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.pd-dots button.is-on { background: #f4efe3; transform: scale(1.25); }
.pd-info { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.pd-info h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.15; }
.pd-desc { font-family: var(--serif); font-size: clamp(13px, 1vw, 15px); line-height: 1.6; color: rgba(244,239,227,.65); max-width: 52ch; }
.pd-desc:empty { display: none; }
.pd-buy { font-family: var(--serif); font-size: clamp(15px, 1.3vw, 19px); letter-spacing: .08em; }
.pd-buy:hover { color: #F1B81F; }
@media (max-width: 720px) { .pd-track { height: 46vh; } }

/* Archive — mosaïque avec creux */
.about-panel.archive-panel { display: block; padding: calc(100vw / 3.89 + 64px) 0 0; overflow-y: auto; }
.ar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(32px, 4vw, 80px);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 2vw, 40px) clamp(40px, 5vh, 80px);
}
.ar-grid a { display: block; aspect-ratio: 16 / 9; overflow: hidden; opacity: 0; transform: translateY(80px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.ar-grid a.in-view { opacity: 1; transform: translateY(0); }
.ar-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s; }
.ar-grid a:hover img { opacity: .75; }
.ar-gap { background: transparent; pointer-events: none; }
@media (max-width: 720px) { .ar-grid { grid-template-columns: 1fr; } }
.jr-head span { cursor: pointer; }
/* L'Index remonte par-dessus le panneau ouvert (copie animée, la vraie section ne bouge pas) */
.journal.covering {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: var(--bg);
  transform: translateY(100%);
  transition: transform 1s cubic-bezier(.22,1,.36,1);
}
.journal.covering.cover-in { transform: translateY(0); }

/* About — panneau plein écran qui monte par le bas */
.about-panel {
  position: fixed;
  inset: 0;
  z-index: 90; /* passe sous le logo (z 100) */
  background: var(--bg);
  color: #f4efe3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(100vw / 3.89 + 24px) clamp(24px, 5vw, 96px) 48px;
  transform: translate3d(0, 100%, 0);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}
.about-panel.open { transform: translateY(0); }
/* About — deux écrans : phrase noire, puis section blanche qui monte au scroll */
#about-panel { display: block; padding: 0; overflow-y: auto; overscroll-behavior: contain; }
.about-slide {
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: calc(100vw / 3.89 + 48px) clamp(24px, 5vw, 96px) 48px; /* le texte reste sous le menu */
}
/* About — trois sites, façon PIN-UP */
.about-white { z-index: 2; margin-top: -58vh; } /* raccord resserré : la grille arrive plus tôt sous la phrase */
.aw-sites {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 80px);
  width: 100%;
  max-width: 1400px;
  align-items: end;
}
.aw-site { display: flex; flex-direction: column; gap: 28px; color: #f4efe3; opacity: 0; transform: translateY(80px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.aw-site:nth-child(2) { transition-delay: .12s; }
.aw-site:nth-child(3) { transition-delay: .24s; }
.about-white.in-view .aw-site { opacity: 1; transform: translateY(0); }
.aw-site img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.aw-site span {
  font-family: var(--serif);
  font-size: clamp(15px, 1.2vw, 19px);
  letter-spacing: .06em;
  text-align: center;
}
.aw-site:hover span { color: #F1B81F; }
@media (max-width: 720px) { .aw-sites { grid-template-columns: 1fr; } }

/* --- Pilotage des pages (BO) -------------------------------------------- */
/* Une entrée de menu marquée data-off (page désactivée) disparaît.
   Sélecteur volontairement plus spécifique que « .jr-head .menu-drop a
   { display: block !important } » (plus bas) pour gagner malgré son !important. */
.jr-head .menu-drop a[data-off],
.menu-drop a[data-off] { display: none !important; }
/* Mention « Bientôt » : cachée par défaut, visible seulement en mode attente. */
.stage-soon {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 7vh, 68px);
  transform: translateX(-50%);
  z-index: 6;
  font-family: var(--serif);
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #f4efe3;
  opacity: 0;
  pointer-events: none;
}
/* Mode attente : on verrouille sur la home — menu masqué, mention visible. */
.lg-attente .jr-head,
.lg-attente .scroll-runway { display: none !important; }
.lg-attente .stage-soon { opacity: .85; }
/* Verrou dur : aucun scroll possible vers l'Index (qui reste dans le DOM). */
.lg-attente, .lg-attente body { overflow: hidden !important; height: 100%; }

/* About — phrase seule « We tell stories in any medium » (façon Saint Heron) */
.aw-line-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Hauteur = l'espace SOUS le logo, pour que la phrase tienne toujours à l'écran
     et reste sous le logo (les sites arrivent vite au scroll). */
  height: calc(100vh - (100vw / 3.89 + 48px));
  /* La phrase se FIGE : au scroll, la section des sites (opaque, au-dessus)
     remonte glisser PAR-DESSUS elle — même principe que la home avec l'Index. */
  position: sticky;
  top: calc(100vw / 3.89 + 48px); /* se fige SOUS le logo (même offset que le contenu About) */
  z-index: 1;
  margin-top: 0;
  padding: 0 clamp(24px, 9vw, 190px); /* marges latérales seulement : l'offset top place déjà la phrase sous le logo */
  background: var(--bg);
}
/* la section des sites glisse par-dessus la phrase figée (au-dessus, opaque),
   et plus courte pour que le passage arrive plus vite. */
.aw-line-slide + .aw2-slide,
.aw-line-slide + .about-white {
  margin-top: 0;
  position: relative;
  z-index: 2;
  height: auto;
  min-height: 66vh;
  padding-top: clamp(48px, 9vh, 120px);
  padding-bottom: clamp(48px, 9vh, 120px);
}
.aw-line-title {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .025em;
  line-height: 1.02;
  font-size: clamp(28px, 4.6vw, 88px);
  color: #f7f2e7;
}
@media (max-width: 720px) {
  .aw-line-title { font-size: clamp(30px, 11vw, 60px); letter-spacing: .03em; }
}
.awc-slide.is-on { opacity: 1; pointer-events: auto; }
.awc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.35); }
.awc-txt {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  max-width: 620px;
  margin-left: clamp(24px, 12vw, 180px);
  padding: 0 24px;
  font-family: var(--serif);
  gap: 18px;
}
.awc-txt h3 { font-weight: 400; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: .02em; }
.awc-txt p { font-size: clamp(15px, 1.35vw, 20px) !important; line-height: 1.6 !important; text-align: left; color: rgba(244,239,227,.92); }
.awc-txt a { font-size: clamp(13px, 1.1vw, 16px); letter-spacing: .08em; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.awc-txt a:hover { color: #F1B81F; }
.awc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 30px;
  line-height: 1;
  color: rgba(244,239,227,.7);
  padding: 16px;
  cursor: pointer;
}
.awc-nav:hover { color: #F1B81F; }
.awc-prev { left: 8px; }
.awc-next { right: 8px; }
/* Miniature du site, cadrée à droite */
.awc-thumb {
  position: absolute;
  right: clamp(24px, 8vw, 130px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 24vw, 420px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  z-index: 1;
  border: 1px solid rgba(244,239,227,.35);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
@media (max-width: 900px) { .awc-thumb { display: none; } }
.about-slide p { text-align: left; font-size: clamp(16px, 1.4vw, 24px); line-height: 1.55; }
.about-white { background: transparent; color: #f4efe3; }
.about-white a { color: #f4efe3; text-decoration: none; }
.about-white a:hover { color: #F1B81F; }
.about-white p { color: #f4efe3; }


/* Page projet — hero plein écran + déroulé éditorial */
.project-panel { display: block; padding: 0; overflow-y: auto; }
/* Page projet — choré scroll REVEAL en 3 blocs empilés.
   Chaque bloc se fige (pause), puis glisse vers le haut pour révéler le bloc
   DESSOUS (z-index décroissant). Chaque bloc fait 200vh = 100vh de pause + 100vh
   de glisse, et remonte de -100vh pour se placer derrière le précédent.
   A) image + titre   B) description (noir)   C) vidéo.  Logo fixe en bas. */
.pj-hold { position: relative; }
.pj-hold--a { z-index: 3; }                          /* image+titre : 200vh (hero + nom) */
.pj-hold--b { z-index: 2; height: 200vh; margin-top: -100vh; }
.pj-hold--c { z-index: 1; height: 200vh; margin-top: -100vh; }
.pj-hold--c[hidden] { display: none; }

/* A — la photo se fige pendant que le titre passe par-dessus (transparent). */
.pj-hero { position: sticky; top: 0; height: 100vh; }
.pj-hero img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.15) brightness(.62); }
.pj-name {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(24px, 6vw, 120px);
  background: transparent;
  pointer-events: none;
}
.pj-name h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 140px);
  line-height: .95;
  color: #f4efe3;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .5);
}
/* B — description (section noire), figée pendant la pause puis glisse. */
.pj-desc {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 10vh, 140px) clamp(24px, 8vw, 160px);
  background: var(--bg);
}
.pj-desc .pj-intro {
  margin: 0;
  max-width: 26ch;
  color: #f4efe3;
  font-size: clamp(22px, 2.6vw, 40px);
  line-height: 1.3;
  text-wrap: balance;
}
/* C — la vidéo, figée pendant la pause. */
.pj-video {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.pj-video-el { width: 100%; height: 100vh; object-fit: cover; display: block; }
/* Corps (galerie, note) — opaque (z4), arrive après la vidéo. */
.pj-body { position: relative; z-index: 4; background: var(--bg); }
.pj-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 110px) clamp(20px, 3vw, 48px) 140px;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vh, 110px);
}
.pj-intro, .pj-note {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.4;
  max-width: 30ch;
  text-wrap: pretty;
}
.pj-note { margin-left: auto; }
.pj-img { margin: 0; }
.pj-img img { width: 100%; display: block; }
.pj-wide { margin-left: calc(-1 * clamp(20px, 3vw, 48px)); margin-right: calc(-1 * clamp(20px, 3vw, 48px)); }
.pj-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); }
.pj-next {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: .04em;
  align-self: center;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.pj-next:hover { color: #F1B81F; }
@media (max-width: 720px) { .pj-pair { grid-template-columns: 1fr; } }
.about-panel p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 42px);
  line-height: 1.3;
  width: 100%;
  max-width: 1400px; /* même largeur que la rangée des 3 sites */
  text-wrap: pretty;
}
.about-close {
  position: absolute;
  top: calc(100vw / 3.89 + 16px);
  right: 24px;
  width: 40px; height: 40px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #f4efe3;
  border: 1px solid rgba(244,239,227,.25);
  transition: background .2s, color .2s;
}
.about-close:hover { background: #f4efe3; color: #000; }
.about-close svg { width: 16px; height: 16px; }

/* Shop — panneau produits */
.shop-panel {
  align-items: flex-start;
  overflow-y: auto;
  padding-top: calc(100vw / 3.89 + 64px); /* les produits commencent sous le logo + menu */
}
.shop-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(72px, 9vh, 130px) clamp(40px, 6vw, 110px);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 120px;
}
.sp-product { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sp-product img { max-height: 340px; width: auto; max-width: min(70%, 380px); box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.sp-product h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.8vw, 26px); letter-spacing: .04em; margin: 40px 0 14px; }
.sp-product a { font-family: var(--serif); font-size: clamp(15px, 1.3vw, 19px); letter-spacing: .08em; color: rgba(244,239,227,.9); }
.sp-product a:hover { color: #F1B81F; }
@media (max-width: 980px) { .shop-panel-grid { grid-template-columns: 1fr; } }
/* Le texte voyage avec la section (pas de fondu différé) */
.jr-list, .jr-foot { opacity: 1; transform: none; }
.jr-list { margin: 0; position: relative; }
/* Fond extrait — plein écran, derrière le texte de l'index */
.jr-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.jr-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  display: none; /* peintes uniquement quand actives (perf) */
  transition: opacity .5s ease;
  pointer-events: none;
}
.jr-bg img.on { opacity: 1; display: block; }
.jr-row { position: relative; z-index: 1; }
/* Hover d'un projet : la ligne survolée reste visible, le reste s'efface */
.jr-head, .jr-foot, .jr-row, .jr-giant { transition: opacity .45s ease; }
.journal.previewing .jr-head,
.journal.previewing .jr-foot,
.journal.previewing .jr-giant,
.journal.previewing .jr-row { opacity: 0; }
.journal.previewing .jr-row:hover { opacity: 1; }
.jr-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 860px;
  width: 100%;
  padding: 0;
}
.jr-row dt { display: none; }
.jr-row dt {
  font-size: 15px;
  color: rgba(244,239,227,.38);
  letter-spacing: .02em;
}
.jr-row dd {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.18;
  white-space: nowrap;
  cursor: pointer;
  width: max-content; /* le hover ne se déclenche que sur le texte */
  max-width: 100%;
  /* remplissage jaune de gauche à droite, comme une barre de chargement */
  background: linear-gradient(to right, #F1B81F, #F1B81F) no-repeat 0 0 / 0% 100%, linear-gradient(#f4efe3, #f4efe3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-size .25s ease; /* sortie : le jaune s'en va direct */
}
.jr-row dd:hover { background-size: 100% 100%, auto; transition: background-size 3s linear; }

/* Miniature qui suit le curseur au hover d'un projet */
.jr-thumb {
  position: fixed;
  top: 0; left: 0;
  width: 280px;
  aspect-ratio: 16 / 9;
  z-index: 140;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity .3s ease;
  box-shadow: 0 18px 50px rgba(0,0,0,.5);
}
.jr-thumb.on { opacity: 1; }
.jr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jr-row dd s { color: rgba(244,239,227,.5); }
.jr-foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding: 48px 0 0;
  font-size: 12px;
  color: rgba(244,239,227,.55);
}
/* Footer géant LES GRIOTS, coupé en bas comme Saint Heron */
.jr-giant {
  position: relative;
  overflow: hidden;
  height: clamp(90px, 11vw, 180px);
  margin: 0 calc(-1 * clamp(20px, 2vw, 40px)) calc(-1 * 40px);
  flex-shrink: 0;
}
.jr-giant span {
  position: absolute;
  left: 50%;
  bottom: -0.28em;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(110px, 15vw, 300px);
  line-height: 1;
  white-space: nowrap;
  color: #f4efe3;
}
@media (max-width: 640px) {
  .jr-row { grid-template-columns: 1fr; gap: 0; } /* les dates sont masquees : le nom prend toute la largeur */
  .journal { padding-top: calc(100vw / 3.89 + 140px); } /* projets plus bas sur mobile */
  .jr-head { top: calc(100vw / 3.89 + 60px); }
}
.ency-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(20px, 3vw, 56px);
  padding-top: 10px;
  align-items: start;
}
.ency-feature { margin: 0; max-width: 420px; margin-left: auto; margin-right: auto; }
.ency-feature img { width: 100%; max-height: 20vh; object-fit: cover; display: block; }
.ency-feature figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255,255,255,.92);
}
.ency-feature .num { font-size: 12px; padding-top: 2px; }
.ency-feature p { max-width: 52ch; }
.ency-index {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-content: start;
}
.ency-index span { display: none; }
.ency-index a { display: block; }
.ency-index img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  filter: brightness(.22) saturate(.6);
  transition: filter 1.1s ease, transform .4s ease;
}
.ency-index a.lit img,
.ency-index a:hover img {
  filter: brightness(1) saturate(1);
}
.ency-index span { transition: color 1.1s ease; }
.ency-index a.lit span,
.ency-index a:hover span { color: #fff; }
.ency-index a:hover img { transform: scale(1.05); }
@media (max-width: 980px) {
  .ency-grid { grid-template-columns: 1fr; }
  .ency-index { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   STAGE — sticky, stays on screen while the runway scrolls
   ========================================================= */
.stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  cursor: pointer;
  z-index: 2;
  scroll-snap-align: start;
}
body.entered .stage { cursor: default; }

/* Video element uses object-fit too */
.stage-video {
  background: var(--bg);
}

/* Home video — couche d'accueil dédiée, au-dessus des projets, sous le vignettage */
.stage-home {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;                 /* au-dessus des projets (.stage-images z0), sous le vignettage */
  background: var(--bg);
}
/* Index en overlay : monte par-dessus le hero (qui reste derrière), sous le
   logo (z 250) et le menu. Piloté en JS (translateY). */
.journal.as-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  height: 100vh;
  margin: 0;
  will-change: transform;
}
/* La vidéo home reste visible : c'est la section Index qui vient la recouvrir
   au scroll — on ne révèle jamais l'image Florale posée dessous. */
body.entered .stage-home { pointer-events: none; }

/* =========================================================
   ARCHIVE GRID — sits below the stage, scrolls up over it
   ========================================================= */
.archive {
  position: relative;
  z-index: 4;
  background: var(--bg);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2px;
  padding: 0;
  flex: 1;
  min-height: 100vh;
}
.archive .tile {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: block;
}
.archive .tile .yr {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
  color: rgba(255,255,255,.92);
  letter-spacing: .04em;
  pointer-events: none;
  text-shadow: 0 1px 18px rgba(0,0,0,.5);
  z-index: 2;
}
.archive-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.86); /* même teinte que --bg (#0a0a0a), pas de noir pur */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2;
}
.archive-head .ah-l { justify-self: start; }
.archive-head .ah-c { justify-self: center; }
.archive-head .ah-r { justify-self: end; }

.archive .tile.t-wide { grid-column: span 2; }
.archive .tile.t-tall { grid-row: span 2; }
.archive .tile.t-big  { grid-column: span 2; grid-row: span 2; }
.archive .gap { grid-column: span 1; grid-row: span 1; }
.archive .tile {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: block;
  grid-column: span 1;
  grid-row: span 1;
}
.archive .tile.t-wide { grid-column: span 2; }
.archive .tile.t-tall { grid-row: span 2; }
.archive .tile.t-big  { grid-column: span 2; grid-row: span 2; }
.archive .gap { grid-column: span 1; grid-row: span 1; }
.archive .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.02) brightness(.78);
  transition: transform .9s ease, filter .35s ease;
}
.archive .tile:hover img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.05) brightness(.9);
}
.archive .tile .yr {
  position: absolute;
  top: 12px; left: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.92);
}
.archive .tile .ttl {
  position: absolute;
  left: 14px; right: 14px;
  bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 1px 16px rgba(0,0,0,.4);
}

@media (max-width: 980px) {
  .archive-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   PLAYER — Colors-style full-bleed overlay
   ========================================================= */
.player {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.player.is-open {
  opacity: 1;
  pointer-events: auto;
}
.player-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 80% at 50% 50%, #5c1224 0%, #2a0712 55%, #0a0405 100%);
}
.player-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  mix-blend-mode: luminosity;
  filter: contrast(1.05) saturate(.92);
}

/* Branded square : COL/ORS-style sticker bottom-left */
.player-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: #ffffff;
  color: #0a0a0a;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.05;
  letter-spacing: .02em;
  padding: 14px 16px 12px;
  width: 110px;
  z-index: 3;
}
.player-badge span {
  display: block;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 6px;
  color: #777;
}

/* Title bottom-right */
.player-meta {
  position: absolute;
  bottom: 32px;
  right: 36px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color: #fff;
  font-family: var(--sans);
}
.player-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.01em;
}
.player-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* Close button top-right */
.player-close {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  transition: background .2s, color .2s;
}
.player-close:hover { background: #fff; color: #0a0a0a; }
.player-close svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
  .player-badge { width: 88px; font-size: 12px; padding: 12px 14px 10px; bottom: 18px; left: 18px; }
  .player-meta { right: 20px; bottom: 22px; }
}
.definition {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--bg);
  color: #f4efe3;
  min-height: 100vh;
  padding: 24px clamp(28px, 4vw, 64px) 110px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
}
.def-body {
  max-width: 880px;
  margin: 0 auto;
  padding-top: clamp(60px, 14vh, 180px);
  width: 100%;
}
.def-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244,239,227,.85);
}
.def-head .dh-l { justify-self: start; }
.def-head .dh-c { justify-self: center; }
.def-head .dh-r { justify-self: end; }
.def-head .dh-r a { border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.def-body {
  max-width: 880px;
  margin: 0 auto;
  padding-top: clamp(60px, 14vh, 180px);
  width: 100%;
}
.def-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.def-pron { font-style: italic; color: rgba(244,239,227,.6); font-size: .9em; }
.def-pos {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(244,239,227,.6);
  margin-bottom: 28px;
}
.def-etym {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  max-width: 68ch;
  color: rgba(244,239,227,.85);
}
.def-rule {
  height: 1px;
  background: rgba(244,239,227,.35);
  margin: 28px 0;
}
.def-tags {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(244,239,227,.9);
}
.def-text {
  font-family: var(--serif);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  margin-top: 28px;
  max-width: 64ch;
  color: rgba(244,239,227,.78);
}
.def-foot {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .02em;
  color: #f4efe3;
}

/* Manifeste typography */
.manifeste-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244,239,227,.55);
  margin-bottom: clamp(20px, 3vw, 36px);
}
.manifeste-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.manifeste-h em {
  font-style: italic;
  color: var(--accent, #F1B81F);
}
.manifeste-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 30px);
  line-height: 1.35;
  color: #f4efe3;
  margin-bottom: clamp(40px, 6vw, 80px);
  max-width: 28ch;
}
.manifeste-p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.5;
  color: rgba(244,239,227,.85);
  max-width: 60ch;
  margin-bottom: clamp(22px, 2.4vw, 34px);
}
.manifeste-p em { color: var(--accent, #F1B81F); font-style: italic; }
.manifeste-signoff {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244,239,227,.6);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(40px, 6vw, 80px);
}
.manifeste-signoff .bullet {
  width: 4px; height: 4px; border-radius: 999px;
  background: rgba(244,239,227,.4);
}

/* Image stack — simple cross-fade between projects */
.stage-images { position: absolute; inset: 0; z-index: 0; }
.stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.stage-img.is-visible {
  opacity: 1;
}

/* Subtle vignettes top + bottom for chrome legibility */
.stage-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0) 18%, rgba(0,0,0,0) 70%, rgba(0,0,0,.6)),
    radial-gradient(120% 80% at 10% 95%, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
}

/* Film grain removed */

.stage-img {
  transition: transform 1.1s cubic-bezier(.7,0,.2,1), opacity .35s ease;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-14px, 6px); }
  20%  { transform: translate(10px, -10px); }
  30%  { transform: translate(-6px, 14px); }
  40%  { transform: translate(12px, 4px); }
  50%  { transform: translate(-10px, -6px); }
  60%  { transform: translate(4px, 12px); }
  70%  { transform: translate(-12px, -10px); }
  80%  { transform: translate(8px, 6px); }
  90%  { transform: translate(-4px, -14px); }
  100% { transform: translate(0, 0); }
}

/* =========================================================
   BRAND MARK — vertical logo, big on landing, small after scroll
   ========================================================= */
.brand-mark {
  position: fixed;
  bottom: 0;
  top: auto;
  left: 0;
  width: 100%;
  height: calc(100vw / 3.89);
  z-index: 250; /* toujours au-dessus des panneaux et de la copie d'Index */
  pointer-events: none;
  overflow: visible;
  display: block;
  will-change: transform;
}
body.entered .brand-mark { pointer-events: auto; cursor: pointer; }
.brand-mark .brand-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
  transform: translate(-50%, -50%);
}
/* Crossing layer disabled — the logo stays yellow */
.brand-mark .brand-white {
  display: none;
  /* clip-path applies in the wrapper's local box (post-transform of the image),
     so we apply the inset on the wrapper instead — see below */
}
.brand-mark {
  /* Hide top portion of the wrapper for the white layer only via mask */
  --cut: 100%;
}
/* Stack ordering : black must be ABOVE yellow */
.brand-mark .brand-white { z-index: 2; }
.brand-mark .brand-yellow { z-index: 1; }
/* Black layer : mask top-to-bottom (logo is horizontal) */
.brand-mark .brand-white {
  -webkit-mask: linear-gradient(to bottom, transparent 0, transparent var(--cut, 100%), #000 var(--cut, 100%), #000 100%);
  mask: linear-gradient(to bottom, transparent 0, transparent var(--cut, 100%), #000 var(--cut, 100%), #000 100%);
}

/* =========================================================
   TOP NAV — revealed after click
   ========================================================= */
.stage-nav {
  position: absolute;
  top: 28px;
  right: clamp(20px, 3vw, 44px);
  z-index: 9;
  display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .6s ease .3s, transform .6s ease .3s;
}
body.entered .stage-nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
.stage-nav a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  transition: color .2s;
}
.stage-nav a:hover, .stage-nav a.active { color: #fff; }
.stage-nav .burger {
  display: inline-flex; flex-direction: column; gap: 4px;
  margin-left: 10px;
  width: 22px; height: 18px; align-items: stretch;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.stage-nav .burger span {
  height: 1.5px;
  background: #fff;
  display: block;
}

/* =========================================================
   CENTER CAPTION
   ========================================================= */
.stage-caption {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 14px rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .8s ease .5s;
}
body.entered .stage-caption { opacity: 1; }
.stage-caption .bullet {
  width: 4px; height: 4px; border-radius: 999px;
  background: rgba(255,255,255,.55);
}

/* =========================================================
   LEFT NAMES LIST
   ========================================================= */
.stage-list {
  position: absolute;
  left: clamp(20px, 3vw, 48px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex; flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease .5s, transform .9s cubic-bezier(.7,0,.2,1);
}
body.entered .stage-list {
  opacity: 1;
  pointer-events: auto;
}
.stage-list .row {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 4px 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  transition: color .25s ease;
}
.stage-list .row:hover { color: rgba(255,255,255,.85); }
.stage-list .row.is-active {
  color: #fff;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 8px 0 10px;
}
.stage-list .row .name { display: inline-block; }
.stage-list .row .watch {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: #fff;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
.stage-list .row.is-active .watch {
  opacity: 1;
  transform: translateX(0);
  margin-left: 4px;
}

/* =========================================================
   MAIL — bottom right
   ========================================================= */
.stage-mail {
  position: absolute;
  right: clamp(20px, 3vw, 44px);
  bottom: clamp(28px, 4vh, 44px);
  z-index: 5;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease .6s;
}
body.entered .stage-mail {
  opacity: .72;
  pointer-events: auto;
}
.stage-mail:hover { opacity: 1 !important; }
.stage-mail svg { width: 22px; height: 22px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 720px) {
  .stage { height: 100svh; }
  .brand-mark { bottom: 0; top: auto; left: 0; width: 100%; height: calc(100vw / 3.89); }

  .stage-nav { top: 20px; right: 18px; gap: 14px; }
  .stage-nav a:not(.active) { display: none; }
  .stage-list { left: 18px; }
  .stage-list .row { font-size: 11px; }
}


/* =========================================================
   PROFONDEUR — quand un panneau est ouvert, la couche du
   dessous recule doucement (dim + micro-scale). Même courbe
   expo que les panneaux : le mouvement respire d'un bloc.
   ========================================================= */
.journal, .stage-home {
  transition: filter .5s cubic-bezier(.16, 1, .3, 1);
}
body.panel-open .journal { filter: brightness(.45) saturate(.9); }
body.panel-open .stage-home { filter: brightness(.45); }


/* =========================================================
   ABOUT — sections « à la Saint Heron » : un écran par pilier,
   visuel de fond assombri + bloc éditorial aligné à gauche qui
   se révèle à l'arrivée dans le viewport.
   ========================================================= */
.ah-section { position: relative; overflow: hidden; align-items: center; }
/* Visuel du site : rectangle plein bord droit, pleine hauteur (Saint Heron) */
.ah-visual {
  position: absolute; right: 0; top: 0; bottom: 0; z-index: 0;
  width: 38%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1) .3s, transform 1.2s cubic-bezier(.16, 1, .3, 1) .3s;
}
.ah-section.in-view .ah-visual { opacity: 1; transform: none; }
.ah-txt {
  position: relative; z-index: 1;
  max-width: min(52%, 720px);
  margin-right: auto;
  text-align: left;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}
.ah-section.in-view .ah-txt { opacity: 1; transform: none; }
.ah-txt h3 {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 400;
  letter-spacing: .02em;
  color: #f4efe3;
  margin-bottom: 18px;
}
.ah-txt p {
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 24px);
  line-height: 1.55;
  text-align: left;
  color: rgba(244, 239, 227, .92);
}
.ah-txt a {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, .75);
  text-decoration: none;
  transition: color .25s ease;
}
.ah-txt a:hover { color: #F1B81F; }


/* ---- About mobile : le texte respire (marges latérales + corps adapté) ---- */
@media (max-width: 720px) {
  .about-slide { padding-left: 8vw; padding-right: 8vw; }
  .about-slide p, .ah-txt p { font-size: 18px; line-height: 1.62; }
  .ah-txt h3 { font-size: 19px; margin-bottom: 14px; }
  .ah-txt a { margin-top: 28px; }
}


/* =========================================================
   ABOUT — pacing « award » :
   · mobile : snap écran par écran (un flick = une section, jamais plus),
     et chorégraphie en deux temps — le TEXTE monte d'abord, l'IMAGE
     arrive ensuite en superposition (fondu + micro-zoom).
   · le défilement molette est amorti en JS (voir script).
   ========================================================= */
@media (max-width: 720px) {
  #about-panel { scroll-snap-type: y proximity; }
  #about-panel .about-slide { scroll-snap-align: start; scroll-snap-stop: always; }
  /* l'écran du texte est plus long que le viewport : il se défile librement */
  #about-panel .about-slide p {
  font-size: clamp(15px, 1.3vw, 21px);
  line-height: 1.7;
  max-width: 780px;
}
#about-panel .about-scroll > .about-slide:first-child { scroll-snap-align: start; scroll-snap-stop: normal; }
  /* Mobile : texte d'abord, puis le RECTANGLE apparaît dessous */
  .ah-section { flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; }
  .ah-txt { max-width: 100%; margin-right: 0; }
  .ah-visual {
    position: static; width: 100%; height: auto; aspect-ratio: 16 / 10;
    transform: translateY(24px) scale(1.02);
    transition-delay: .45s, .45s;
  }
}


/* =========================================================
   ABOUT — écran des sites « rangée de rectangles » (réf. Moos) :
   fond clair, visuels en rectangles nets, nom en serif centré
   dessous, cascade à l'arrivée.
   ========================================================= */
.aw2-slide {
  background: var(--bg); /* opaque : on VOIT l'écran passer par-dessus (la zone chevauchée est du vide, jamais du texte) */
  align-items: center;
  justify-content: center;
  /* Raccord resserré : l'écran des sites recouvre le vide sous la
     phrase (comme l'ancien écran blanc) — il arrive 58vh plus tôt. */
  position: relative;
  z-index: 2;
  margin-top: -42vh; /* l'écran des sites PASSE PAR-DESSUS la fin de l'écran du texte */
}
.aw2-row {
  display: flex;
  gap: clamp(36px, 6vw, 110px);
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}
.aw2-item {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}
.aw2-item:nth-child(2) { transition-delay: .1s; }
.aw2-item:nth-child(3) { transition-delay: .2s; }
.ah-section.in-view .aw2-item { opacity: 1; transform: none; }
.aw2-frame {
  display: block;
  width: clamp(200px, 24vw, 420px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}
.aw2-frame img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.aw2-item:hover .aw2-frame img { transform: scale(1.03); }
.aw2-label {
  font-family: var(--serif);
  font-size: clamp(15px, 1.3vw, 19px);
  letter-spacing: .01em;
  color: #f4efe3;
  text-align: center;
}
.aw2-item:hover .aw2-label { color: #F1B81F; }
@media (max-width: 720px) {
  .aw2-row { flex-direction: column; gap: 34px; }
  .aw2-frame { width: min(84vw, 420px); }
.aw2-slide { margin-top: 0; } /* mobile : snap net, pas de chevauchement */
}


/* La phrase du manifeste part de plus bas : l'œil doit descendre la chercher,
   ce qui incite à scroller vers la suite. */
#about-panel .about-slide p {
  font-size: clamp(15px, 1.3vw, 21px);
  line-height: 1.7;
  max-width: 780px;
}
#about-panel .about-scroll > .about-slide:first-child {
  /* Le texte part de plus bas ET son écran s'étire à sa longueur : on le
     défile en entier avant que les sections n'arrivent. */
  /* Entre-deux : le texte part bas (~72vh) sans coller au bord.
     Le padding-bas ÉGALE le chevauchement de l'écran des sites : la zone
     recouverte ne contient jamais de texte — l'écran du dessous reste
     lisible jusqu'à être recouvert par celui du dessus. */
  padding-top: max(calc(100vw / 3.89 + 48px), 72vh);
  height: auto;
  min-height: 100vh;
  padding-bottom: 50vh;
}


/* =========================================================
   MENU-MÉCANIQUE — le label affiche la section courante ;
   clic -> le menu se déploie dessous, en cascade.
   ========================================================= */
.jr-head { justify-content: space-between; } /* gauche : section active · droite : Menu */
.section-name { color: #f4efe3; }
.menu-label {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  background: none; border: 0; padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: #f4efe3;
  cursor: pointer;
}
.menu-label:hover { color: #F1B81F; }
.menu-caret {
  font-style: normal;
  font-size: 10px;
  opacity: .5;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}
.jr-head.menu-open .menu-caret { transform: rotate(180deg); }
.menu-drop {
  position: absolute;
  top: calc(100% + 16px);
  right: -20px;
  left: auto;
  text-align: right;
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 4px; /* serre, comme l index Saint Heronica */
  pointer-events: none;
  /* fond : le menu doit rester lisible par-dessus l'Index */
  background: rgba(10, 10, 10, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 16px 20px;
  opacity: 0;
  transition: opacity .25s cubic-bezier(.16, 1, .3, 1);
}
.jr-head.menu-open .menu-drop { opacity: 1; }
.menu-drop a {
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  transition: opacity .3s cubic-bezier(.16, 1, .3, 1), transform .3s cubic-bezier(.16, 1, .3, 1), color .2s;
}
.menu-drop a:nth-child(2) { transition-delay: .05s; }
.menu-drop a:nth-child(3) { transition-delay: .1s; }
.jr-head.menu-open .menu-drop { pointer-events: auto; }
.jr-head.menu-open .menu-drop a { opacity: 1; transform: none; }


/* FR/EN dans le menu déroulant : plus un chip flottant, une ligne du menu */
.menu-drop .lang-toggle {
  position: static;
  align-self: flex-end;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 0; /* MEME espacement que les autres entrees (gap du menu) */
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f4efe3;
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  transition: opacity .3s cubic-bezier(.16, 1, .3, 1) .15s, transform .3s cubic-bezier(.16, 1, .3, 1) .15s;
}
.jr-head.menu-open .menu-drop .lang-toggle { opacity: 1; transform: none; }
.menu-drop .lang-toggle span { color: inherit; }
.menu-drop .lang-toggle:hover { color: #F1B81F; }



/* Verrou post-entrée : plus aucun scroll de page (la vidéo d'accueil est
   derrière nous). Les couches fixes (Index, panneaux) gardent leur propre
   défilement interne. */
html.locked, html.locked body {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}


/* Page projet : le titre est désormais superposé, centré au milieu du hero
   (cf. .pj-hero-txt), on ne le masque plus. */
.project-panel .pj-hero h2 { display: block; }

/* =========================================================
   MENU « INDEX » — parité avec la page d'attente.
   Plein écran, MONTE comme une section (shop/archive), sur
   MOBILE ET DESKTOP. Entrées à la même taille qu'INDEX (13px).
   Le petit menu-boîte du desktop est remplacé.
   ========================================================= */
.jr-head.menu-open { transform: none !important; }  /* reste sous le logo (z240 < 250), comme l attente */
.jr-head.menu-open .section-name { opacity: 0; pointer-events: none; }
.jr-head .menu-caret { display: none; }
/* INDEX ne grossit pas : reste 13px, cliquable au-dessus de l'overlay */
.jr-head.menu-open .menu-label { position: relative; z-index: 10; font-size: 13px; letter-spacing: .16em; }
/* Toutes les sections visibles, ARCHIVE en dernier */
.jr-head .menu-drop a { display: block !important; }
.jr-head .menu-drop #menu-index { order: 1; }
.jr-head .menu-drop #menu-ig { order: 1; }  /* Instagram après Archive */
/* Panneau plein écran qui MONTE (translateY 100%->0, 300ms ease-out expo) */
.jr-head .menu-drop {
  position: fixed;
  inset: 0;
  left: 0; right: 0; top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: calc(100vw / 3.89 + 96px) clamp(20px, 2vw, 40px) 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: right;
  gap: 4px; /* serre, comme l index Saint Heronica */
  transform: translateY(100%);
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.jr-head.menu-open .menu-drop { transform: translateY(0); pointer-events: auto; }
/* Entrées à la MÊME taille qu'INDEX (13px / .16em) */
.jr-head .menu-drop a {
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .16em;
  opacity: 1;
  transform: none;
}
.jr-head .menu-drop .lang-toggle {
  align-self: flex-end;
  order: 2;
  margin-top: 0; /* MEME espacement que les autres entrees du menu */
  position: static;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: #f4efe3;
}

/* =========================================================
   ABOUT — mise en page « magazine » :
   · colonne décentrée (calée à gauche), fer à gauche, jamais justifié
   · mesure de lecture ~60 caractères (max 620px)
   · chapô (1er ¶) un cran plus grand, letter-spacing resserré
   · chute (dernier ¶) italique, centrée dans la colonne, isolée
   ========================================================= */
#about-panel .about-scroll > .about-slide:first-child {
  justify-content: flex-start;
  text-align: left;
  padding-left: clamp(24px, 13vw, 240px);
}
#about-panel .about-slide p { max-width: none; }
#about-panel .about-copy { max-width: min(620px, 88vw); }
#about-panel .about-copy p + p { margin-top: 1.55em; }
#about-panel .about-copy .about-chapo {
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.55;
  letter-spacing: -0.01em;
}
#about-panel .about-copy .about-chute {
  font-style: italic;
  text-align: center;
  font-size: clamp(17px, 1.55vw, 24px);
  margin-top: 3em;
}
@media (max-width: 720px) {
  #about-panel .about-scroll > .about-slide:first-child { padding-left: 8vw; padding-right: 8vw; }
  #about-panel .about-copy .about-chapo { font-size: 21px; }
  #about-panel .about-copy .about-chute { font-size: 19px; }
}


/* =========================================================
   Prolongement de la grammaire existante (.in-view, expo .9s) :
   · Shop : les produits montent comme les cases de l'archive
   · Archive : le visuel se pose dans son cadre (leger scale)
   · Selection de texte aux couleurs de la maison
   ========================================================= */
.sp-product {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
}
.sp-product.in-view { opacity: 1; transform: translateY(0); }
.ar-grid a img {
  transform: scale(1.08);
  transition: transform 1.1s cubic-bezier(.22,1,.36,1), opacity .3s;
}
.ar-grid a.in-view img { transform: scale(1); }
::selection { background: #F1B81F; color: #111; }


/* =========================================================
   PAGES PROJET — lisibilité + rythme (grammaire existante) :
   · rangée du journal cliquable partout (curseur)
   · hero moins éteint (le titre reste lisible, l'image existe)
   · intro en colonne magazine, comme le chapô About
   · galerie en reveal .in-view (même ease que l'archive)
   · projets sans contenu : pauses resserrées (.pj-lean)
   ========================================================= */
.jr-row[data-key] { cursor: pointer; }
.pj-hero img { filter: grayscale(.1) brightness(.75); }
.pj-desc { justify-content: flex-start; text-align: left; padding-left: clamp(24px, 13vw, 240px); }
.pj-desc .pj-intro {
  max-width: min(620px, 88vw);
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.pj-img {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
}
.pj-img.in-view { opacity: 1; transform: translateY(0); }
.pj-lean .pj-hold--b { height: 150vh; }
.pj-lean .pj-body { padding-top: 0; }
@media (max-width: 720px) { .pj-desc { padding-left: 8vw; padding-right: 8vw; } }


/* =========================================================
   TEMPLATES PROJET — photo / vidéo / hybride :
   · photo : la galerie respire (grands blancs entre les blocs)
   · vidéo : stills serrés, le film reste la pièce maîtresse
   · paire : le second visuel arrive un souffle après le premier
   ========================================================= */
.pj-pair .pj-img:nth-child(2) { transition-delay: .08s; }
.pj-t-photo .pj-body { gap: clamp(56px, 10vh, 130px); }
.pj-t-video .pj-body { gap: clamp(28px, 5vh, 64px); }


/* =========================================================
   GALERIE HORIZONTALE des pages projet — s'il y a des photos,
   elles défilent latéralement : bande épinglée plein écran,
   le scroll vertical la traverse. Hauteurs par template.
   ========================================================= */
.pj-hgal { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
.pj-hgal-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.pj-hgal-track {
  display: flex; align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding-left: clamp(24px, 13vw, 240px);
  padding-right: clamp(24px, 8vw, 140px);
  will-change: transform;
}
.pj-himg { margin: 0; flex: 0 0 auto; opacity: 0; transform: translateY(60px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.pj-himg.in-view { opacity: 1; transform: translateY(0); }
.pj-himg img, .pj-himg video { height: 62vh; width: auto; display: block; }
.pj-t-photo .pj-himg img, .pj-t-photo .pj-himg video { height: 70vh; }
.pj-t-video .pj-himg img, .pj-t-video .pj-himg video { height: 48vh; }
@media (max-width: 720px) {
  .pj-hgal-track { padding-left: 8vw; padding-right: 8vw; gap: 16px; }
  .pj-himg img, .pj-himg video, .pj-t-photo .pj-himg img, .pj-t-photo .pj-himg video { height: 46vh; }
  .pj-t-video .pj-himg img, .pj-t-video .pj-himg video { height: 38vh; }
}

/* Le gros titre qui passait par-dessus le hero est retire : le nom du
   projet vit deja en haut a gauche (menu-mecanique). Le temps de scroll
   sur l image est conserve. */
.pj-name h2 { display: none; }


/* ( Regarder ) — le film passe de l'aperçu muet au vrai player */
.pj-video { position: sticky; }
.pj-watch {
  position: absolute;
  left: 50%; bottom: clamp(28px, 6vh, 64px);
  transform: translateX(-50%);
  z-index: 2;
  background: none; border: 0; cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: .06em;
  color: #f4efe3;
  padding: 6px 4px;
  text-shadow: 0 1px 18px rgba(0,0,0,.6);
  transition: color .25s ease;
}
.pj-watch:hover { color: #F1B81F; }
.pj-video.is-watching .pj-watch { display: none; }


/* Fond video de l'index : le film du projet survole s'anime derriere les
   lignes — assombri pour garder la typo lisible, fondu comme les images. */
.jr-bg .jr-bgvid {
  position: absolute;
  left: 0;
  top: -3%;
  width: 100%;
  height: 106%; /* marge : l overshoot du snap ne decouvre jamais de bande noire */
  object-fit: cover;
  pointer-events: none;
  filter: brightness(.55);
  transform: translate3d(0, 100%, 0) scale(1.06);
  /* montee + SNAP : sur-zoom qui se resserre, leger depassement, pose seche */
  transition: transform .6s cubic-bezier(.5, 0, .18, 1.1), filter .6s ease;
  will-change: transform;
}
.jr-bg .jr-bgvid.rise-on { transform: translate3d(0, 0, 0) scale(1); }
/* l'ancienne s'enfonce et s'eteint pendant que la nouvelle la recouvre */
.jr-bg .jr-bgvid.rise-off { transform: translate3d(0, -6%, 0) scale(1); filter: brightness(.28); }


/* =========================================================
   GÉNÉRIQUE DE FIN — la note crédits se met en scène :
   rôles en petites capitales espacées, noms en serif, centré.
   La page projet se termine comme un film.
   ========================================================= */
.pj-body .pj-note {
  margin: 0 auto;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: clamp(24px, 6vh, 64px) 0;
}
.pj-body .pj-note .pj-credit-role {
  font-family: var(--sans, "Archivo", sans-serif);
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, .55);
  margin-top: 16px;
}
.pj-body .pj-note .pj-credit-role:first-child { margin-top: 0; }
.pj-body .pj-note .pj-credit-name {
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 22px);
  letter-spacing: .04em;
  line-height: 1.4;
}


/* =========================================================
   PITCH — « Une histoire à raconter ? » (fin de l'About) :
   titre serif + ( Nous écrire ) à gauche, texte magazine à droite.
   ========================================================= */
.pitch-slide {
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 18vh clamp(24px, 8vw, 140px);
  position: relative;
  z-index: 3;
  background: var(--bg, #0d0d0d);
}
.pitch-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 6vw, 110px);
  align-items: start;
  max-width: 1180px;
  width: 100%;
}
.pitch-left h2 {
  margin: 0 0 30px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #f4efe3;
}
.pitch-cta {
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: .06em;
  color: #f4efe3;
  text-decoration: none;
  transition: color .25s ease;
}
.pitch-cta:hover { color: #F1B81F; }
.pitch-right p {
  margin: 0 0 1.4em;
  font-size: clamp(15px, 1.3vw, 21px);
  line-height: 1.7;
  max-width: 620px;
  color: #f4efe3;
}
@media (max-width: 720px) {
  .pitch-slide { padding: 14vh 8vw; }
  .pitch-wrap { grid-template-columns: 1fr; gap: 30px; }
}


/* Fin de page projet : les credits montent AU-DESSUS du logo — l espace du
   bas est reserve au logo qui se pose, le generique reste lisible au-dessus.
   (credits au-dessus du logo) */
.project-panel .pj-body { padding-bottom: calc(100vw / 3.89 + 240px); }
@media (max-width: 720px) {
  .project-panel .pj-body { padding-bottom: calc(100vw / 3.89 + 64px); }
}


/* =========================================================
   SÉLECTEUR DE PROJET — clic sur le nom (haut gauche) :
   miroir gauche du menu Index, même cascade, même fond.
   ========================================================= */
.jr-head .section-name { position: relative; }
.project-panel.open ~ * .section-name { cursor: pointer; }
body.panel-open .section-name { cursor: pointer; }
.name-drop {
  position: absolute;
  top: calc(100% + 16px);
  left: -20px;
  right: auto;
  text-align: left;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 13px;
  pointer-events: none;
  background: rgba(10, 10, 10, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 16px 20px;
  opacity: 0;
  transition: opacity .25s cubic-bezier(.16, 1, .3, 1);
}
.jr-head.name-open .name-drop { opacity: 1; pointer-events: auto; }
.name-drop a {
  color: #f4efe3;
  text-decoration: none;
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  transition: opacity .3s cubic-bezier(.16, 1, .3, 1), transform .3s cubic-bezier(.16, 1, .3, 1), color .2s;
}
.name-drop a:nth-child(2) { transition-delay: .05s; }
.name-drop a:nth-child(3) { transition-delay: .1s; }
.name-drop a:nth-child(4) { transition-delay: .15s; }
.jr-head.name-open .name-drop a { opacity: 1; transform: none; }
.name-drop a:hover { color: #F1B81F; }


/* =========================================================
   SÉLECTEUR DE PROJET — clic sur le nom : un fond noir REMONTE
   (même montée que les sections) avec la liste des autres
   projets. Hover = extrait vidéo en fond, clic = ouverture.
   ========================================================= */
.pj-picker {
  position: fixed;
  inset: 0;
  z-index: 260;
  background: #0d0d0d;
  transform: translate3d(0, 100%, 0);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  overflow: hidden;
}
.pj-picker.on { transform: translate3d(0, 0, 0); }
.pj-picker-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s ease;
  filter: brightness(.55);
  pointer-events: none;
}
.pj-picker-vid.on { opacity: 1; }
.pj-picker-list {
  position: absolute;
  left: clamp(24px, 13vw, 240px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1.8vh, 18px);
}
.pj-picker-list a {
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.1;
  color: #f4efe3;
  text-decoration: none;
  transition: color .25s ease;
}
.pj-picker-list a:hover { color: #F1B81F; }
@media (max-width: 720px) { .pj-picker-list { left: 8vw; } }


/* =========================================================
   OUVERTURE — noir, puis la vidéo apparaît en fondu et le
   logo monte se poser. La mécanique du site comme générique.
   ========================================================= */
body.booting .brand-mark { transform: translate3d(0, 108%, 0) !important; }
body.booting .stage, body.boot-video .stage { opacity: 0; }
.stage { transition: opacity .6s ease; }
body.booting .hint { opacity: 0 !important; }


/* =========================================================
   INDEX MOBILE — la liste reste affichée (mise en forme
   d'origine) : le scroll déplace la sélection, le projet
   sélectionné passe en JAUNE et son extrait joue en fond.
   Tap = ouvrir.
   ========================================================= */
.jr-deck { display: none !important; }
.jr-row dd { transition: color .3s ease; }
.jr-row.sel dd { color: #F1B81F; }


/* =========================================================
   POINTS DE PAGINATION de l'index (réf. Division) — un point
   par projet, à droite, le sélectionné en jaune. Cliquables.
   ========================================================= */
.jr-dots {
  position: fixed;
  right: clamp(14px, 2vw, 34px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
body.entered .jr-dots { opacity: 1; pointer-events: auto; }
body.panel-open .jr-dots { opacity: 0; pointer-events: none; }
.jr-dots button {
  width: 4px;
  height: 4px;
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: 26%;
  background: rgba(244, 239, 227, .32);
  transition: background .3s ease, transform .3s ease;
}
.jr-dots button.on { background: #f4efe3; transform: scale(1.3); } /* blanc, comme Division */


/* =========================================================
   MODE DIVISION — l'index n'affiche plus la liste : UN nom de
   projet, grand, qui change au fil du scroll (l'ancien sort
   par le haut, le nouveau monte). Points à droite. Clic = entrer.
   ========================================================= */
.journal .jr-row { display: none; } /* seules les lignes disparaissent — le fond video reste */
.jr-current {
  position: absolute;
  left: clamp(20px, 2vw, 40px); /* fer a gauche, aligne sur ARCHIVE */
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  min-width: 60vw;
  height: 1.15em;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 52px);
  line-height: 1.05;
  color: #f4efe3;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
body.entered .jr-current { opacity: 1; pointer-events: auto; }
body.panel-open .jr-current { opacity: 0; pointer-events: none; }
.jr-current span {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 60%, 0);
  transition: transform .6s cubic-bezier(.5, 0, .18, 1.06), opacity .4s ease;
  text-shadow: 0 2px 26px rgba(0, 0, 0, .45);
}
.jr-current span.on { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: .06s; }
.jr-current span.leave { opacity: 0; transform: translate3d(0, -60%, 0); }
.jr-current:hover span.on { color: #F1B81F; }


/* ===== GALERIE = DIAPOSITIVES : un media par ecran, sans crop ============ */
.pj-hgal-track { gap: 0; padding-left: 0; padding-right: 0; height: 100%; width: 100%; }
.pj-hgal-track .pj-himg {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  margin: 0;
}
.pj-hgal-track .pj-himg img,
.pj-hgal-track .pj-himg video {
  width: auto; height: auto;
  max-width: 92%;
  max-height: 78vh;
  object-fit: contain;
}
@media (max-width: 720px) {
  .pj-hgal-track { padding-left: 0; padding-right: 0; gap: 0; }
  .pj-hgal-track .pj-himg img,
  .pj-hgal-track .pj-himg video { max-width: 94%; max-height: 64vh; }
}


/* ===== LIGHTBOX galerie : le media s'ouvre plein ecran ================== */
.pj-lb {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(8, 8, 8, .96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
  cursor: zoom-out;
}
.pj-lb.on { opacity: 1; pointer-events: auto; }
.pj-lb img, .pj-lb video {
  max-width: 94vw; max-height: 88vh;
  width: auto; height: auto; object-fit: contain;
  box-shadow: 0 12px 80px rgba(0, 0, 0, .6);
}
.pj-hgal-track .pj-himg { cursor: zoom-in; }


/* ===== GALERIE : le media suivant depasse a droite (invite au geste) ===== */
.pj-hgal-track { padding-left: 4vw; }
.pj-hgal-track .pj-himg { flex: 0 0 86%; justify-content: flex-start; }
.pj-hgal-track .pj-himg img,
.pj-hgal-track .pj-himg video { max-width: 96%; }
@media (max-width: 720px) {
  .pj-hgal-track { padding-left: 5vw; }
  .pj-hgal-track .pj-himg { flex: 0 0 84%; }
}


/* ===== ARRIVEE PROJET a la i-D : image bord a bord, titre dessous ======= */
.pj-hero { position: relative; height: 62vh; }
.pj-hero img { filter: grayscale(.08) brightness(.92); }
.pj-name {
  height: auto;
  align-items: flex-start; justify-content: flex-start; text-align: left;
  padding: clamp(24px, 3.5vw, 52px) clamp(20px, 2vw, 40px) clamp(8px, 1.5vw, 24px);
}
.pj-name h2 {
  display: block;
  font-size: clamp(42px, 6vw, 108px);
  line-height: 1.02;
  text-shadow: none;
}
@media (max-width: 720px) {
  .pj-hero { height: 56vh; }
  .pj-name h2 { font-size: clamp(34px, 10vw, 48px); }
}


/* ===== FLUX i-D : les sections se suivent, aucune ne recouvre l'autre ==== */
.pj-hold--b { height: auto; margin-top: 0; }
.pj-hold--c { height: 100vh; margin-top: 0; }
.pj-lean .pj-hold--b { height: auto; }
.pj-desc { position: relative; height: auto; min-height: 46vh; }


/* ===== RECOUVREMENT retabli, avec l'arrivee i-D ========================== */
/* Le bloc image+titre (un ecran) se fige, puis glisse vers le haut. */
.pj-hold--a { height: 200vh; }
.pj-arrive {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg);
}
.pj-arrive .pj-hero { flex: 0 0 auto; }
.pj-arrive .pj-name { flex: 1 1 auto; }
/* Le texte puis le film glissent l'un sur l'autre comme avant. */
.pj-hold--b { height: 200vh; margin-top: -100vh; }
.pj-hold--c { height: 200vh; margin-top: -100vh; }
.pj-lean .pj-hold--b { height: 150vh; }
.pj-desc { position: sticky; top: 0; height: 100vh; }


/* ===== La description VIENT PAR-DESSUS l'image+titre figes =============== */
.pj-hold--b { z-index: 4; }   /* le texte recouvre l'arrivee */
.pj-hold--c { z-index: 5; }   /* le film recouvre le texte */


/* ===== Arrivee : l'image plus haute ===================================== */
.pj-hero { height: 74vh; }
.pj-name { padding-top: clamp(18px, 2.5vw, 36px); }
@media (max-width: 720px) {
  .pj-hero { height: 66vh; }
}
