/* ============================================================
   CHICKEN SKIN STUDIO — main.css
   Dark, minimal, editorial. Self-contained (no Tailwind dependency
   for critical layout). Tailwind utilities are available but optional.
   ============================================================ */

/* ---------- Fonts (self-hosted woff2) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/InterTight-ExtraLight.woff2") format("woff2");
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/InterTight-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/InterTight-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/InterTight-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0f0f0f;
  --bg-soft: #151515;
  --fg: #f9f9f9;
  --muted: rgba(249, 249, 249, 0.62);
  --faint: rgba(249, 249, 249, 0.40);
  --line: rgba(249, 249, 249, 0.14);
  --line-soft: rgba(249, 249, 249, 0.08);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1320px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --nav-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 200;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--fg); color: var(--bg); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.04; letter-spacing: 0.01em; }
p { margin: 0 0 1.1em; }

.serif { font-family: var(--serif); }
.sans  { font-family: var(--sans); }

/* shared layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 10vw, 9rem); }
.eyebrow {
  font-family: var(--sans); font-weight: 500; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.30em; color: var(--faint);
}
.lead { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.18rem); max-width: 54ch; }

/* ---------- Focus ---------- */
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }

/* ---------- Skip link (keyboard / screen-reader) ---------- */
.skip-link {
  position: fixed; left: 1rem; top: -120px; z-index: 100;
  background: var(--fg); color: var(--bg);
  font-family: var(--sans); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.75rem 1.15rem; transition: top .3s var(--ease);
}
.skip-link:focus { top: 1rem; outline: none; }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(15, 15, 15, 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand {
  font-family: var(--serif); font-weight: 600; font-size: 1.06rem;
  letter-spacing: 0.13em; text-transform: uppercase; white-space: nowrap;
}
.nav__menu { display: flex; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.6rem); }
.nav__link {
  font-family: var(--sans); font-weight: 400; font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted);
  position: relative; padding-block: 0.4rem; transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--fg); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--fg); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* language switcher */
.lang { display: flex; align-items: center; gap: 0.5rem; padding-left: 0.4rem; }
.lang__btn {
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint); padding: 0.2rem 0.1rem; transition: color 0.3s var(--ease);
}
.lang__btn[aria-pressed="true"] { color: var(--fg); }
.lang__sep { color: var(--line); font-size: 0.6rem; }

/* hamburger */
.nav__toggle { display: none; width: 30px; height: 30px; position: relative; }
.nav__toggle span { position: absolute; left: 3px; right: 3px; height: 1px; background: var(--fg); transition: transform .4s var(--ease), opacity .3s var(--ease); }
.nav__toggle span:nth-child(1){ top: 10px; }
.nav__toggle span:nth-child(2){ bottom: 10px; }
body.menu-open .nav__toggle span:nth-child(1){ top: 14px; transform: rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2){ bottom: 15px; transform: rotate(-45deg); }

/* mobile overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.4rem;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--serif); font-size: clamp(2rem, 9vw, 3.4rem); color: var(--fg); }
.mobile-menu .lang { margin-top: 2rem; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 0.85rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--fg);
  padding: 1.05rem 1.9rem; border: 1px solid var(--line);
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .4s var(--ease);
}
/* fill sweeps up from the bottom on hover; label + arrow invert with it */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.btn:hover { color: var(--bg); border-color: var(--fg); }
.btn:hover::before { transform: scaleY(1); }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--ghost { border-color: var(--line); }

.link-underline { position: relative; }
.link-underline::after { content:""; position:absolute; left:0; bottom:-3px; height:1px; width:100%; background: currentColor; transform: scaleX(0); transform-origin:right; transition: transform .45s var(--ease);}
.link-underline:hover::after { transform: scaleX(1); transform-origin:left; }

/* =========================================================
   HERO (home)
   ========================================================= */
.hero { position: relative; height: 100svh; min-height: 600px; width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content:""; position:absolute; inset:0; background:
  radial-gradient(120% 90% at 50% 35%, rgba(15,15,15,0.25) 0%, rgba(15,15,15,0.55) 55%, rgba(15,15,15,0.85) 100%); }
.hero__inner { position: relative; z-index: 2; padding-inline: var(--gutter); }
.hero__title {
  font-family: var(--serif); font-weight: 400; color: var(--fg);
  font-size: clamp(2.6rem, 9vw, 8.5rem); line-height: 0.98; letter-spacing: 0.06em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.28), 0 6px 28px rgba(0,0,0,0.30);
}
.hero__sub {
  margin-top: 1.4rem; font-family: var(--sans); font-weight: 400;
  font-size: clamp(0.68rem, 1.4vw, 0.92rem); text-transform: uppercase;
  letter-spacing: 0.42em; color: var(--muted);
  text-shadow: 0 1px 2px rgba(0,0,0,0.30), 0 4px 18px rgba(0,0,0,0.32);
}
.hero__sub span { white-space: nowrap; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }
.reveal[data-delay="4"]{ transition-delay: .32s; }

/* ---- Hero slideshow + sticky scroll (home) ---- */
.hero-scroll { position: relative; height: 150vh; }
.hero-sticky {
  position: sticky; top: 0; height: 100svh; min-height: 600px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-slideshow { position: absolute; inset: 0; z-index: 0; background: var(--bg); }
.hs { position: absolute; inset: 0; }
.hs__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hs__slide.is-active { opacity: 1; }
.hs__slide img { width: 100%; height: 100%; object-fit: cover; }
@media (orientation: portrait)  { .hs--pc     { display: none; } }
@media (orientation: landscape) { .hs--mobile { display: none; } }

.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 38%, rgba(15,15,15,0.22) 0%, rgba(15,15,15,0.48) 55%, rgba(15,15,15,0.82) 100%); }

.hero-sticky .hero__inner { position: relative; z-index: 2; padding-inline: var(--gutter); will-change: opacity, transform; }
.hero__inner.intro { opacity: 0; transform: translateY(22px); }
.hero__inner.intro.is-in { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .hero-scroll { height: 100svh; }
  .hero-sticky { position: relative; }
  .hs__slide { transition: none; }
  .hero__inner.intro, .hero__inner.intro.is-in { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__title, .hero__sub { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* =========================================================
   PAGE HEADER (interior pages)
   ========================================================= */
.page-head { padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)); }
.page-title { font-size: clamp(3rem, 8vw, 6.5rem); letter-spacing: 0.01em; }
.page-intro { margin-top: 1.4rem; }

/* =========================================================
   HOME — disciplines + featured
   ========================================================= */
.disciplines { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.discipline {
  position: relative; display: block; padding: clamp(2.2rem, 4vw, 3.4rem) clamp(1.4rem, 3vw, 2.4rem);
  border-right: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.discipline:last-child { border-right: none; }
.discipline__bg { position:absolute; inset:0; z-index:-1; opacity:0; transform: scale(1.08); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.discipline__bg img { width:100%; height:100%; object-fit:cover; filter: grayscale(0.2) brightness(0.5); }
.discipline:nth-child(1) .discipline__bg img { object-position: center 19%; }
.discipline:hover .discipline__bg { opacity: 1; transform: scale(1); }
.discipline__num { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--faint); }
.discipline__name { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.9rem); margin-top: 0.8rem; }
.discipline__desc { color: var(--muted); margin-top: 0.7rem; font-size: 0.95rem; max-width: 30ch; }
.discipline__cta { margin-top: 1.6rem; display: inline-flex; align-items:center; gap:.6rem; font-size:.72rem; text-transform:uppercase; letter-spacing:.2em; color: var(--faint); transition: color .4s var(--ease); }
.discipline:hover .discipline__cta { color: var(--fg); }

/* featured marquee strip */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.2vw, 1rem); }
.featured-grid .frame { aspect-ratio: 3/4; }

/* =========================================================
   WORK — photography category index
   ========================================================= */
.work { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cat-list { border-top: 1px solid var(--line); }
.cat-row {
  display: flex; align-items: baseline; gap: 1.4rem; padding: clamp(1.3rem, 2.2vw, 1.9rem) 0;
  border-bottom: 1px solid var(--line); transition: padding-left .5s var(--ease), color .4s var(--ease);
  color: var(--fg);
}
.cat-row:hover { padding-left: 0.9rem; }
.cat-row__num { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; color: var(--faint); width: 2.2rem; flex: none; }
.cat-row__body { flex: 1; }
.cat-row__name { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.2rem); transition: opacity .4s var(--ease); }
.cat-row__desc { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 0.25rem; max-width: 46ch; }
.cat-row__arrow { align-self: center; color: var(--faint); transform: translateX(-6px); opacity: 0; transition: transform .5s var(--ease), opacity .4s var(--ease), color .4s var(--ease); }
.cat-row:hover .cat-row__arrow { transform: translateX(0); opacity: 1; color: var(--fg); }

/* scroll-driven active category (desktop, where the preview is visible) */
@media (min-width: 1025px) {
  .cat-row__name { color: var(--muted); transition: color .45s var(--ease); }
  .cat-row.is-active .cat-row__name,
  .cat-row:hover .cat-row__name { color: var(--fg); }
  .cat-row.is-active { padding-left: 0.9rem; }
  .cat-row.is-active .cat-row__arrow { transform: translateX(0); opacity: 1; color: var(--fg); }
}

.work__preview { position: sticky; top: calc(var(--nav-h) + 2rem); }
.work__preview .frame { aspect-ratio: 4/5; }
.work__preview img { position: absolute; inset: 0; width:100%; height:100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.work__preview img.active { opacity: 1; }
/* Aperçu Familles : caler vers le bas pour inclure tout le corps (le pied) */
.work__preview img[data-slug="families"] { object-position: center 92%; }
/* Aperçu Artistes & Acteurs : descendre un peu la photo de couverture */
.work__preview img[data-slug="artists-actors"] { object-position: center 28%; }

/* =========================================================
   IMAGE FRAME + GRID + GALLERIES
   ========================================================= */
.frame { position: relative; overflow: hidden; background: var(--bg-soft); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 1.1s var(--ease); will-change: transform; }
.frame--hover:hover img { transform: scale(1.05); }

.grid-square { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.5rem, 1.2vw, 1rem); }
.grid-square .cell { aspect-ratio: 1 / 1; }
.grid-square .cell img { object-position: center top; }
/* Cadrage remonté des vignettes Portraits (sujet plus bas dans l'image) */
body[data-cat="portraits"] .grid-square .cell:nth-child(2) img  { object-position: center 18%; }
body[data-cat="portraits"] .grid-square .cell:nth-child(3) img  { object-position: center 15%; }
body[data-cat="portraits"] .grid-square .cell:nth-child(5) img  { object-position: center 28%; }
body[data-cat="portraits"] .grid-square .cell:nth-child(6) img  { object-position: center 48%; }
body[data-cat="portraits"] .grid-square .cell:nth-child(8) img  { object-position: center 50%; }
body[data-cat="portraits"] .grid-square .cell:nth-child(11) img { object-position: center 45%; }
body[data-cat="portraits"] .grid-square .cell:nth-child(7) img  { object-position: center 25%; }
body[data-cat="portraits"] .grid-square .cell:nth-child(12) img { object-position: center 22%; }
body[data-cat="portraits"] .grid-square .cell:nth-child(13) img { object-position: center 25%; }
body[data-cat="portraits"] .grid-square .cell:nth-child(19) img { object-position: center 28%; }
body[data-cat="portraits"] .grid-square .cell:nth-child(20) img { object-position: center 32%; }
/* Cadrage homogène LinkedIn & Corporate : yeux alignés ~38-40% (vignette type LinkedIn) */
body[data-cat="linkedin-corporate"] .grid-square .cell:nth-child(1) img  { object-position: center 10%; }
body[data-cat="linkedin-corporate"] .grid-square .cell:nth-child(2) img  { object-position: center 5%; }
body[data-cat="linkedin-corporate"] .grid-square .cell:nth-child(3) img  { object-position: center 22%; }
body[data-cat="linkedin-corporate"] .grid-square .cell:nth-child(4) img  { object-position: center 10%; }
body[data-cat="linkedin-corporate"] .grid-square .cell:nth-child(5) img  { object-position: center 34%; }
body[data-cat="linkedin-corporate"] .grid-square .cell:nth-child(6) img  { object-position: center 10%; }
body[data-cat="linkedin-corporate"] .grid-square .cell:nth-child(7) img  { object-position: center 32%; }
body[data-cat="linkedin-corporate"] .grid-square .cell:nth-child(8) img  { object-position: center 32%; }
body[data-cat="linkedin-corporate"] .grid-square .cell:nth-child(9) img  { object-position: center 18%; }
body[data-cat="linkedin-corporate"] .grid-square .cell:nth-child(10) img { object-position: center 18%; }
body[data-cat="linkedin-corporate"] .grid-square .cell:nth-child(11) img { object-position: center 24%; }
body[data-cat="linkedin-corporate"] .grid-square .cell:nth-child(12) img { object-position: center 36%; }
/* Artistes & Acteurs : portraits serrés = yeux tiers haut ; plein pied = remonté (silhouette, peu de vide) */
body[data-cat="artists-actors"] .grid-square .cell:nth-child(1) img  { object-position: center 12%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(2) img  { object-position: center 15%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(3) img  { object-position: center 5%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(4) img  { object-position: center 38%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(5) img  { object-position: center 45%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(6) img  { object-position: center 18%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(7) img  { object-position: center 25%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(8) img  { object-position: center 40%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(9) img  { object-position: center 12%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(10) img { object-position: center 25%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(11) img { object-position: center 25%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(12) img { object-position: center 38%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(13) img { object-position: center 5%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(14) img { object-position: center 35%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(15) img { object-position: center 45%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(16) img { object-position: center 18%; }
body[data-cat="artists-actors"] .grid-square .cell:nth-child(17) img { object-position: center 45%; }
/* Familles : portraits serrés = yeux tiers haut ; plein pied/scènes = remonté (peu de vide) */
body[data-cat="families"] .grid-square .cell:nth-child(1) img  { object-position: center 50%; }
body[data-cat="families"] .grid-square .cell:nth-child(2) img  { object-position: center 25%; }
body[data-cat="families"] .grid-square .cell:nth-child(4) img  { object-position: center 35%; }
body[data-cat="families"] .grid-square .cell:nth-child(5) img  { object-position: center 18%; }
body[data-cat="families"] .grid-square .cell:nth-child(6) img  { object-position: center 40%; }
body[data-cat="families"] .grid-square .cell:nth-child(7) img  { object-position: center 35%; }
body[data-cat="families"] .grid-square .cell:nth-child(8) img  { object-position: center 30%; }
body[data-cat="families"] .grid-square .cell:nth-child(9) img  { object-position: center 52%; }
body[data-cat="families"] .grid-square .cell:nth-child(10) img { object-position: center 50%; }
body[data-cat="families"] .grid-square .cell:nth-child(11) img { object-position: center 45%; }
body[data-cat="families"] .grid-square .cell:nth-child(12) img { object-position: center 48%; }
body[data-cat="families"] .grid-square .cell:nth-child(13) img { object-position: center 20%; }
/* Couples & Maternité : remonter pour mieux voir les visages (positions après réordonnancement) */
body[data-cat="couples-maternity"] .grid-square .cell:nth-child(1) img  { object-position: center 28%; } /* img03 */
body[data-cat="couples-maternity"] .grid-square .cell:nth-child(3) img  { object-position: center 30%; } /* img01 */
body[data-cat="couples-maternity"] .grid-square .cell:nth-child(6) img  { object-position: center 30%; } /* img05 */
body[data-cat="couples-maternity"] .grid-square .cell:nth-child(7) img  { object-position: center 30%; } /* img06 */
body[data-cat="couples-maternity"] .grid-square .cell:nth-child(8) img  { object-position: center 30%; } /* img07 */
body[data-cat="couples-maternity"] .grid-square .cell:nth-child(9) img  { object-position: center 35%; } /* img08 */
body[data-cat="couples-maternity"] .grid-square .cell:nth-child(11) img { object-position: center 55%; } /* img10 */
.cell { position: relative; overflow: hidden; cursor: pointer; background: var(--bg-soft); }
.cell img { width:100%; height:100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .9s var(--ease); }
.cell:hover img { transform: scale(1.05); }
.cell::after { content:""; position:absolute; inset:0; background: rgba(15,15,15,0); transition: background .5s var(--ease); }
.cell:hover::after { background: rgba(15,15,15,0.12); }

/* illustration grid — denser */
.grid-ill { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.5rem, 1vw, .85rem); }
.grid-ill .cell { aspect-ratio: 1 / 1; }

/* cross-links to the other disciplines */
.also { display: flex; align-items: center; gap: clamp(1.4rem, 2.5vw, 2.4rem); flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.also__link { font-size: 1.4rem; }

/* category intro block */
.cat-intro { display: flex; flex-direction: column; gap: 1.6rem; align-items: flex-start; max-width: 70ch; }
.cat-cta-line { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--fg); line-height: 1.18; }

/* =========================================================
   ANIMATION — showreel
   ========================================================= */
.reel { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.reel video { width:100%; height:100%; object-fit: cover; }
.reel__poster { position:absolute; inset:0; cursor: pointer; }
.reel__poster img { width:100%; height:100%; object-fit: cover; filter: brightness(0.78); transition: filter .6s var(--ease), transform 1.2s var(--ease); }
.reel__poster:hover img { filter: brightness(0.62); transform: scale(1.03); }
.reel__play { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.reel__play .disc { width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); border: 1px solid rgba(249,249,249,.7); border-radius: 50%; display:flex; align-items:center; justify-content:center; transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); backdrop-filter: blur(2px); }
.reel__poster:hover .disc { background: var(--fg); border-color: var(--fg); transform: scale(1.06); }
.reel__poster:hover .disc svg { stroke: var(--bg); fill: var(--bg); }
.reel__play svg { stroke: var(--fg); fill: var(--fg); margin-left: 4px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.about__body { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.12rem); max-width: 60ch; }
.about__body p { margin-bottom: 1.3em; }
.about__body strong { color: var(--fg); font-weight: 400; }
.about__media .frame { aspect-ratio: 4/5; position: sticky; top: calc(var(--nav-h) + 2rem); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 1.6rem; }
.contact__list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; color: var(--muted); }
.contact__list svg { width: 18px; height: 18px; stroke: var(--faint); flex: none; }
.contact__list a:hover { color: var(--fg); }

.form { display: grid; gap: 1.35rem; }
.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field label {
  font-family: var(--sans); font-weight: 500; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted);
}
.field input, .field textarea {
  font-family: var(--sans); font-weight: 300; font-size: 1rem; color: var(--fg);
  background: rgba(249, 249, 249, 0.035);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.9rem 1.05rem;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(249, 249, 249, 0.30); }
.field input:hover, .field textarea:hover { border-color: rgba(249, 249, 249, 0.28); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--fg);
  background: rgba(249, 249, 249, 0.06);
  box-shadow: 0 0 0 3px rgba(249, 249, 249, 0.10);
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }

/* inline validation */
.field.is-invalid input, .field.is-invalid textarea { border-color: #d98b8a; }
.field.is-invalid input:focus, .field.is-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(217, 139, 138, 0.18); }
.field__error {
  font-family: var(--sans); font-size: 0.78rem; color: #d98b8a;
  min-height: 0; max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-3px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), max-height .3s var(--ease);
}
.field.is-invalid .field__error { opacity: 1; transform: none; max-height: 2.5em; }

/* submit button + loading spinner */
.form .btn { margin-top: 0.3rem; }
.btn.is-loading { color: transparent; pointer-events: none; position: relative; }
.btn.is-loading .arrow { opacity: 0; }
.btn.is-loading::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid rgba(249, 249, 249, 0.35); border-top-color: var(--fg);
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-loading::after { animation-duration: 1.6s; } }

.form__status { font-size: 0.88rem; color: var(--muted); min-height: 1.2em; }
.form__status.ok { color: #9fd9a7; }
.form__status.err { color: #d98b8a; }

/* RGPD consent checkbox */
.field--consent .consent { display: flex; align-items: flex-start; gap: 0.65rem; cursor: pointer;
  color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.field--consent input[type="checkbox"] { margin-top: 0.18rem; width: 16px; height: 16px; flex: none; accent-color: var(--fg); cursor: pointer; }
.field--consent .consent a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.field--consent.is-invalid .consent { color: #d98b8a; }

/* =========================================================
   LEGAL PAGES (mentions légales, confidentialité)
   ========================================================= */
.legal { max-width: 74ch; }
.legal h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); margin-top: 2.6rem; margin-bottom: 0.7rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin-bottom: 1.1em; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1.2em; display: flex; flex-direction: column; gap: 0.4rem; }
.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { opacity: 0.7; }
.legal strong { color: var(--fg); font-weight: 400; }
.legal .updated { font-size: 0.85rem; color: var(--faint); margin-top: 2.6rem; }

.footer__legal a { color: var(--faint); transition: color .3s var(--ease); }
.footer__legal a:hover { color: var(--fg); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer__brand { display: inline-block; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: 0.12em; text-transform: uppercase; transition: opacity .3s var(--ease); }
.footer__brand:hover { opacity: 0.66; }
.footer__tag { color: var(--faint); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.6rem; }
.footer__tag a { color: var(--faint); transition: color .3s var(--ease); }
.footer__tag a:hover { color: var(--fg); }
.footer__nav { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.footer__nav a { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.footer__nav a:hover { color: var(--fg); }
.footer__ig { display: inline-flex; align-items: center; }
.footer__ig svg { width: 20px; height: 20px; stroke: var(--muted); transition: stroke .3s var(--ease); }
.footer__ig:hover svg { stroke: var(--fg); }

/* footer columns: blur + fade-in on reveal */
.foot-reveal { opacity: 0; transform: translateY(-8px); filter: blur(4px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.foot-reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
.foot-reveal[data-delay="1"] { transition-delay: .12s; }
.foot-reveal[data-delay="2"] { transition-delay: .24s; }

/* sticky reveal: content slides up, footer is uncovered underneath */
.has-reveal-footer .page-shell { position: relative; z-index: 1; background: var(--bg); min-height: 100vh; }
.has-reveal-footer .footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 0; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .foot-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: clamp(2.5rem, 5vw, 4rem); color: var(--faint); font-size: 0.74rem; letter-spacing: 0.08em; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8,8,8,0.96); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 90vw; max-height: 86vh; object-fit: contain; transform: scale(0.98); transition: transform .4s var(--ease); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; display:flex; align-items:center; justify-content:center; color: var(--muted); transition: color .3s var(--ease); }
.lightbox__btn::before { content:""; position:absolute; inset:6px; border:1px solid var(--line); border-radius:50%; transform: scale(.78); opacity:0; transition: transform .45s var(--ease), opacity .4s var(--ease); }
.lightbox__btn:hover { color: var(--fg); }
.lightbox__btn:hover::before { transform: scale(1); opacity:1; }
.lightbox__prev { left: 1rem; } .lightbox__next { right: 1rem; }
.lightbox__close { top: 1.4rem; right: 1.4rem; transform: none; }
.lightbox__count { position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center; color: var(--faint); font-size: .78rem; letter-spacing: .2em; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .work { grid-template-columns: 1fr; }
  .work__preview { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__media .frame { position: relative; max-width: 460px; }
  .contact { grid-template-columns: 1fr; }
  .grid-ill { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__menu { display: none; }
  .nav__toggle { display: block; }
  .disciplines { grid-template-columns: 1fr; }
  .discipline { border-right: none; border-bottom: 1px solid var(--line); }
  .discipline:nth-child(1) .discipline__bg img { object-position: center 18%; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-square { grid-template-columns: repeat(2, 1fr); }
  .grid-ill { grid-template-columns: repeat(2, 1fr); }
  .footer__top { flex-direction: column; }
  .about__media { margin-bottom: clamp(2.5rem, 9vw, 4rem); }
}
@media (max-width: 420px) {
  .hero__sub { letter-spacing: 0.28em; }
}
