/* ===========================================================
   STUDIO BOO DESIGN — page styles (home / galerie / studio /
   partenaires / contact) — public site
   =========================================================== */

/* ---------------- HOME ---------------- */
.home-topscrim {
  position: fixed; inset: 0 0 auto 0; height: 150px; z-index: 70;
  background: linear-gradient(to bottom, rgba(20,16,12,.34), transparent);
  pointer-events: none;
}

/* Full-viewport project panel: one horizontal carousel of full-width slides;
   scroll down (or use the arrows) for the next project. */
.proj {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
}
/* gentle vertical snap so each project settles into the viewport (home only) */
html:has(body.is-home) { scroll-snap-type: y proximity; }
body.is-home .proj { scroll-snap-align: start; }

.proj-carousel {
  --gap: 6px;
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* one slide = one full-screen composition; cells flex by their image width (--w) */
.slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  gap: var(--gap);
  background: var(--ink);
}
.slide .cell {
  position: relative;
  flex: var(--w, 1) 1 0;       /* width weight set inline per cell */
  height: 100%;
  overflow: hidden;
  background: var(--paper-2);
}
.slide .cell img.cover, .slide .cell .img-empty { width: 100%; height: 100%; object-fit: cover; display: block; }
/* stack cell — two images stacked vertically within one composition cell */
.slide .cell.is-stack { display: flex; flex-direction: column; gap: var(--gap); background: transparent; }
.slide .cell.is-stack .cell-sub { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; background: var(--paper-2); }
.slide .cell.is-stack .cell-sub img.cover, .slide .cell.is-stack .cell-sub .img-empty { width: 100%; height: 100%; object-fit: cover; display: block; }

.frame-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  padding: 26px 18px 14px;
  background: linear-gradient(to top, rgba(20,16,12,.55), transparent);
  color: #f5f1ea;
  font-family: var(--sans); font-size: 12px; letter-spacing: .04em;
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.cell:hover .frame-cap { opacity: 1; }

/* identity overlay — rides on the hero slide, scrolls away with it */
.proj-veil {
  position: absolute; inset: 0; z-index: 6;
  pointer-events: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(86px, 11vh, 130px) clamp(20px,4vw,54px) clamp(34px,6vh,64px);
  background:
    linear-gradient(to top, rgba(20,16,12,.62) 0%, rgba(20,16,12,.10) 34%, transparent 60%),
    linear-gradient(105deg, rgba(20,16,12,.34) 0%, transparent 42%);
}
.proj-veil .eyebrow { color: rgba(245,241,234,.92); }
.proj-veil .id-block { max-width: min(92vw, 1000px); }
.proj-veil .id-block .eyebrow {
  display: block; color: rgba(245,241,234,.92);
  margin: 0 0 18px; letter-spacing: .36em;
}
.proj-veil h1, .proj-veil .as-h1 {
  margin: 0; max-width: 14ch;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6.6vw, 104px); line-height: .96;
  color: #f8f4ed; letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(20,16,12,.32);
}
.proj-veil .meta {
  margin: 22px 0 0; max-width: 46ch;
  font-family: var(--sans); font-size: 13.5px; line-height: 1.62;
  letter-spacing: .01em;
  color: rgba(245,241,234,.82);
}

/* carousel controls — arrows + dots */
.car-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 8;
  width: 48px; height: 48px; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(245,241,234,.86); color: var(--ink);
  font-size: 26px; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 4px 18px rgba(20,16,12,.22);
  transition: background .25s, transform .15s, opacity .25s;
}
.car-nav:hover { background: #fff; }
.car-nav:active { transform: translateY(-50%) scale(.94); }
.car-nav.prev { left: clamp(12px, 2.4vw, 30px); }
.car-nav.next { right: clamp(12px, 2.4vw, 30px); }
.car-nav[hidden] { display: none; }

.proj-dots {
  position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vh, 30px); z-index: 8;
  display: flex; justify-content: center; gap: 9px;
}
.proj-dots .dot {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(245,241,234,.75); background: transparent;
  transition: background .25s, transform .25s, border-color .25s;
}
.proj-dots .dot:hover { border-color: #fff; }
.proj-dots .dot.is-on { background: var(--frame); border-color: var(--frame); transform: scale(1.18); }

/* ---------------- GALERIE ---------------- */
.gal-head { padding: clamp(120px,16vh,160px) clamp(20px,4vw,54px) clamp(36px,5vh,52px); max-width: 900px; }
.gal-head .eyebrow { margin-bottom: 20px; display: block; }
.gal-head h1 { font-size: clamp(40px,6vw,80px); margin: 0 0 22px; }
.gal-head p { font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 460px; letter-spacing: .01em; }

/* Instagram-style feed: rows of 3, generous white gutters */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1vw, 16px);
  padding: 0 clamp(20px,4vw,54px) clamp(80px,12vh,120px);
}
.gal-cell {
  position: relative; display: block; padding: 0; margin: 0; border: none;
  aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2);
  cursor: zoom-in;
}
.gal-cell img.cover, .gal-cell .img-empty { position: absolute; inset: 0; height: 100%; }
/* hover zoom (deuxième retour): the photo grows under the cursor,
   with the small per-project caption fading in */
.gal-cell img.cover { transition: transform .65s cubic-bezier(.2,.6,.25,1); will-change: transform; }
.gal-cell:hover img.cover { transform: scale(1.07); }
.gal-cell .gal-veil {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(to top, rgba(20,16,12,0), transparent 40%);
  transition: background .4s ease;
}
.gal-cell:hover .gal-veil { background: linear-gradient(to top, rgba(20,16,12,.55), transparent 45%); }
.gal-cell .gal-cap {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 4;
  pointer-events: none;
  color: #f5f1ea; font-family: var(--sans); font-size: 12px; letter-spacing: .05em;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}
.gal-cell:hover .gal-cap { opacity: 1; transform: translateY(0); }

/* lightbox (DOM injected by site.js) */
.lb {
  position: fixed; inset: 0; z-index: 120;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: rgba(22,18,14,.93);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: lb-in .3s ease;
  padding: clamp(16px,4vw,60px);
}
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-stage {
  grid-column: 2; margin: 0; display: flex; flex-direction: column; align-items: center;
  max-width: min(86vw, 1100px); max-height: 88vh;
}
.lb-stage img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  animation: lb-pop .35s cubic-bezier(.2,.7,.3,1);
}
@keyframes lb-pop { from { transform: scale(.97); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.lb-stage figcaption {
  margin-top: 20px; color: rgba(245,241,234,.9);
  font-family: var(--serif); font-weight: 400; font-size: clamp(17px,2vw,23px);
  letter-spacing: .01em; text-align: center;
}
.lb-close {
  position: fixed; top: clamp(14px,2.4vw,28px); right: clamp(14px,2.4vw,28px); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: none; border: 1px solid rgba(245,241,234,.3); color: #f5f1ea;
  font-size: 24px; line-height: 1; display: grid; place-items: center;
  transition: background .25s, border-color .25s;
}
.lb-close:hover { background: rgba(245,241,234,.12); border-color: rgba(245,241,234,.6); }
.lb-nav {
  background: none; border: none; color: rgba(245,241,234,.7);
  font-size: clamp(40px,5vw,64px); line-height: 1; font-family: var(--serif);
  padding: 0 clamp(6px,2vw,28px); transition: color .25s; align-self: center;
}
.lb-nav.prev { grid-column: 1; justify-self: start; }
.lb-nav.next { grid-column: 3; justify-self: end; }
.lb-nav:hover { color: #f5f1ea; }
.lb-count {
  position: fixed; bottom: clamp(16px,3vh,30px); left: 50%; transform: translateX(-50%);
  font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245,241,234,.6);
}

/* ---------------- STUDIO BOO ---------------- */
.studio { --pad: clamp(20px,4vw,54px); }

/* PART 1 — founder, two columns */
.founder {
  display: grid; grid-template-columns: minmax(300px, 0.82fr) 1fr;
  gap: clamp(32px, 5vw, 84px); align-items: center;
  padding: clamp(110px,14vh,150px) var(--pad) clamp(48px,7vh,72px);
  max-width: var(--maxw); margin: 0 auto;
}
.founder-portrait { width: 100%; aspect-ratio: 3/4; background: var(--paper-2); }

.founder-text .eyebrow { display: block; margin-bottom: 22px; }
.founder-name {
  font-size: clamp(46px, 6vw, 92px); line-height: .9; margin: 0;
  letter-spacing: -.02em; text-transform: uppercase;
}
.founder-role {
  font-family: var(--serif); font-size: clamp(24px,2.6vw,34px);
  margin: 14px 0 0; letter-spacing: .005em; color: var(--ink);
}
.founder-disc {
  font-family: var(--sans); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-soft);
  margin: 16px 0 30px; line-height: 1.9;
}
.founder-lead {
  font-family: var(--serif); font-size: clamp(19px,1.9vw,23px);
  line-height: 1.5; color: var(--ink); margin: 0 0 18px; max-width: 46ch;
}
.founder-body {
  font-family: var(--sans); font-size: 15px; line-height: 1.74;
  color: var(--ink-soft); margin: 0 0 30px; max-width: 52ch;
}
.founder-quote {
  margin: 0 0 36px; padding-left: 22px; border-left: 1px solid var(--clay);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px,1.9vw,22px); line-height: 1.45; color: var(--ink);
}
.founder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }

/* shared line buttons */
.line-btn {
  background: none; border: none; padding: 14px 0; cursor: pointer;
  font-family: var(--sans); font-size: 11.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--ink); transition: gap .3s, color .3s;
  display: inline-flex; align-items: center; gap: 12px;
}
.line-btn .ar { transition: transform .3s; }
.line-btn:hover .ar { transform: translateX(6px); }
.link-toggle {
  background: none; border: none; cursor: pointer; padding: 4px 0;
  font-family: var(--sans); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 9px; transition: color .3s;
}
.link-toggle:hover { color: var(--ink); }

/* full parcours */
.parcours {
  padding: clamp(40px,6vh,64px) var(--pad) clamp(56px,8vh,88px);
  max-width: var(--maxw); margin: 0 auto;
  border-top: 1px solid var(--line);
}
.parcours > .eyebrow { display: block; margin-bottom: 40px; }
.parcours-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px,4vw,64px) clamp(40px,5vw,90px);
}
.parcours-item h3 {
  font-family: var(--sans); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--clay);
  margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.parcours-item p {
  font-family: var(--sans); font-size: 14.5px; line-height: 1.74;
  color: var(--ink-soft); margin: 0 0 14px; max-width: 56ch;
}

/* PART 2 — four pillars */
.pillars {
  padding: clamp(56px,8vh,96px) var(--pad) clamp(80px,12vh,120px);
  border-top: 1px solid var(--line);
  max-width: var(--maxw); margin: 0 auto;
}
.pillar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px,3vw,48px);
}
.pillar {
  display: flex; flex-direction: column;
  padding: 4px 4px 24px; position: relative; background: none;
  border: none; text-align: left;
}
.pillar .pn {
  font-family: var(--sans); font-size: 12px; letter-spacing: .3em;
  color: var(--clay); margin-bottom: 26px;
}
.pillar h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(22px,2vw,28px);
  line-height: 1.12; margin: 0 0 18px; letter-spacing: -.005em;
}
.pillar p {
  font-family: var(--sans); font-size: 14px; line-height: 1.72;
  color: var(--ink-soft); margin: 0; max-width: 32ch;
}
.pillar-cta {
  margin-top: 22px; font-family: var(--sans); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 9px;
}
.pillar-cta .ar { transition: transform .3s; }
.pillar.is-link {
  cursor: pointer; padding: 24px 22px 26px; margin: -20px -18px;
  border: 1px solid transparent; transition: border-color .35s, background .35s, transform .35s;
}
.pillar.is-link:hover {
  border-color: var(--line); background: var(--frame);
  transform: translateY(-3px);
}
.pillar.is-link:hover .pillar-cta .ar { transform: translateX(6px); }
.pillar.is-link:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* ---------------- MES PARTENAIRES ---------------- */
.partners-page { --pad: clamp(20px,4vw,54px); padding-bottom: clamp(70px,10vh,110px); }
.pp-head {
  padding: clamp(120px,16vh,170px) var(--pad) clamp(40px,6vh,60px);
  max-width: 820px; margin: 0 auto; text-align: center;
}
.pp-head .eyebrow { display: block; margin-bottom: 22px; }
.pp-head h1 {
  font-size: clamp(44px,7vw,96px); margin: 0 0 26px;
  letter-spacing: -.02em; text-transform: uppercase;
}
.pp-sub {
  font-family: var(--sans); font-size: 15px; line-height: 1.66;
  color: var(--ink-soft); margin: 0 auto; max-width: 52ch; letter-spacing: .01em;
}
.pp-group { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.pp-group + .pp-group { margin-top: clamp(48px,7vh,80px); }
.pp-glabel {
  display: flex; align-items: center; gap: 22px; margin: 0 0 32px;
  font-family: var(--sans); font-weight: 400; font-size: 11px;
  letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft);
}
.pp-glabel::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.pp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px,2vw,30px);
}
.pcard { display: flex; flex-direction: column; }
.pcard-tile {
  position: relative; width: 100%; aspect-ratio: 1/1;
  background: var(--paper-2); overflow: hidden;
}
.pcard-tile img.cover { position: absolute; inset: 0; height: 100%; }
.pcard-mono {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 400; font-size: clamp(30px,3.4vw,46px);
  letter-spacing: .06em; color: color-mix(in srgb, var(--clay) 62%, var(--ink-soft));
}
.pcard-meta { padding: 18px 2px 0; }
.pcard-meta h3 {
  font-family: var(--sans); font-weight: 600; font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  margin: 0 0 7px; line-height: 1.35;
}
.pcard-meta .prole {
  font-family: var(--serif); font-style: italic; font-size: 15px;
  color: var(--ink-soft); line-height: 1.4;
}
.pp-foot {
  max-width: var(--maxw); margin: clamp(56px,8vh,90px) auto 0;
  padding: clamp(36px,5vh,52px) var(--pad) 0; border-top: 1px solid var(--line);
  display: flex; justify-content: center;
}

/* ---------------- CONTACT ---------------- */
.contact-wrap {
  min-height: 100vh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
}
.contact-media {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px;
  padding: 0; background: var(--paper-2); min-height: 100vh;
}
.contact-media .cm-tall { position: relative; }
.contact-media .cm-tall .slot-wrap { position: absolute; inset: 0; }
.contact-media .cm-tall .slot-wrap img.cover, .contact-media .cm-tall .slot-wrap .img-empty { height: 100%; }
.contact-media .cm-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; }
.contact-media .cm-stack .slot-wrap { position: relative; overflow: hidden; }
.contact-media .cm-stack .slot-wrap img.cover, .contact-media .cm-stack .slot-wrap .img-empty { position: absolute; inset: 0; height: 100%; }

.contact-invite {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(110px,14vh,150px) clamp(28px,5vw,80px) clamp(48px,8vh,80px);
}
.contact-invite .eyebrow { margin-bottom: 22px; }
.contact-invite h1 {
  font-family: var(--serif); font-size: clamp(46px,6.4vw,92px);
  line-height: .92; margin: 0 0 28px; letter-spacing: -.02em;
}
.contact-invite .contact-lead {
  font-family: var(--sans); font-size: 16px; line-height: 1.66;
  color: var(--ink-soft); max-width: 42ch; margin: 0 0 38px; letter-spacing: .01em;
}
.contact-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.cbtn {
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 26px; min-width: 220px;
  border: 1px solid var(--ink); border-radius: 2px;
  transition: background .3s ease, color .3s ease, transform .25s ease;
  cursor: pointer; text-align: left; font: inherit;
}
.cbtn span { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.cbtn small { font-family: var(--sans); font-size: 12px; letter-spacing: .02em; opacity: .7; }
.cbtn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cbtn.primary:hover { transform: translateY(-2px); background: #1d1812; }
.cbtn.ghost { background: transparent; color: var(--ink); }
.cbtn.ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.contact-details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px;
  border-top: 1px solid var(--line); padding-top: 30px; max-width: 520px;
}
.contact-details .citem h2 { font-family: var(--sans); font-weight: 400; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 9px; }
.contact-details .citem a,
.contact-details .citem p { font-family: var(--serif); font-size: 19px; margin: 0; line-height: 1.32; display: block; }
.contact-details .citem a { border-bottom: 1px solid var(--line); width: fit-content; transition: border-color .3s; }
.contact-details .citem a:hover { border-color: var(--clay); }
.contact-details .citem small { display: block; font-family: var(--sans); font-style: italic; font-size: 12px; color: var(--ink-soft); margin-top: 5px; }

.contact-social {
  display: flex; flex-wrap: wrap; gap: 10px 34px;
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line);
}
.contact-social a { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); transition: color .3s; }
.contact-social a:hover { color: var(--ink); }
.contact-social a b { color: var(--clay); font-weight: 400; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; margin-right: 10px; }

/* ---- Project form (Déposer un projet) ---- */
.contact-invite.is-form { justify-content: flex-start; padding-top: clamp(96px,12vh,134px); }
.project-form { display: flex; flex-direction: column; gap: 26px; max-width: 580px; width: 100%; }
.pf-head .eyebrow { display: block; margin-bottom: 18px; }
.pf-title { font-size: clamp(34px,4.4vw,56px); line-height: .94; margin: 0 0 16px; letter-spacing: -.01em; text-transform: uppercase; }
.pf-intro { font-family: var(--serif); font-style: italic; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); margin: 0; max-width: 46ch; }
.pf-error { font-family: var(--sans); font-size: 13px; color: #b3392f; margin: 14px 0 0; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pf-field { display: flex; flex-direction: column; gap: 11px; border: none; padding: 0; margin: 0; min-width: 0; }
.pf-field > span, .pf-field > legend { font-family: var(--sans); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); padding: 0; line-height: 1; }
/* <legend> ignores flex gap — make it a normal block and space it */
.pf-field > legend { display: block; width: 100%; margin-bottom: 16px; }
.pf-field input[type=text], .pf-field input[type=tel], .pf-field input[type=email], .pf-field textarea {
  background: none; border: none; border-bottom: 1px solid var(--line);
  padding: 9px 0; font-family: var(--sans); font-size: 15px; color: var(--ink); width: 100%;
  transition: border-color .3s;
}
.pf-field input::placeholder, .pf-field textarea::placeholder { color: color-mix(in srgb, var(--ink-soft) 64%, transparent); font-style: italic; }
.pf-field input:focus, .pf-field textarea:focus { outline: none; border-color: var(--clay); }
.pf-field textarea { resize: vertical; min-height: 64px; line-height: 1.55; }
.pf-radios { display: flex; flex-wrap: wrap; gap: 13px 24px; }
.pf-radio { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-family: var(--sans); font-size: 13.5px; color: var(--ink); }
.pf-radio input {
  appearance: none; -webkit-appearance: none; margin: 0;
  width: 15px; height: 15px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; transition: border-color .2s; flex: none;
}
.pf-radio input::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); transform: scale(0); transition: transform .2s; }
.pf-radio input:checked { border-color: var(--clay); }
.pf-radio input:checked::after { transform: scale(1); }
.pf-divider { height: 1px; background: var(--line); border: none; margin: 4px 0; }
.pf-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 4px; }
.pf-submit {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 15px 32px; border: 1px solid var(--ink); background: none; color: var(--ink);
  font-family: var(--sans); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.pf-submit:hover { background: var(--ink); color: var(--paper); }
.pf-submit .ar { transition: transform .3s; }
.pf-submit:hover .ar { transform: translateX(5px); }
.pf-done { max-width: 480px; }
.pf-done .eyebrow { display: block; margin-bottom: 18px; }
.pf-done h1 { font-size: clamp(36px,4.6vw,60px); line-height: .96; margin: 0 0 22px; letter-spacing: -.015em; }
.pf-done p { font-family: var(--sans); font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 30px; }
.pf-done p a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* ---------------- BOO ÉDITION / 404 ---------------- */
.soon-wrap { min-height: 100vh; display:flex; flex-direction:column; justify-content:center; padding: 120px clamp(20px,4vw,54px) 80px; }
.soon-wrap .eyebrow { margin-bottom: 20px; }
.soon-wrap h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px,8vw,120px); line-height:.92; margin: 0 0 16px; }
.soon-wrap .tag { font-family: var(--sans); font-size: 12px; letter-spacing:.24em; text-transform:uppercase; color: var(--clay); margin-bottom: 40px; }
.soon-cats { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 30px; max-width: 920px; }
.soon-cat { border-top: 1px solid var(--ink); padding-top: 16px; }
.soon-cat .n { font-family: var(--sans); font-size: 11px; letter-spacing:.2em; color: var(--ink-soft); }
.soon-cat h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 8px 0 8px; }
.soon-cat p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* responsive */
@media (max-width: 1024px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); row-gap: clamp(36px,5vw,56px); }
  .pp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  /* compositions rotate to a vertical stack — each cell full-width, sharing the screen */
  .slide { flex-direction: column; }
  .slide .cell { flex: 1 1 0; width: 100%; }
  .car-nav { width: 38px; height: 38px; font-size: 20px; }
  .founder { grid-template-columns: 1fr; gap: 36px; }
  .founder-portrait { aspect-ratio: 4/5; max-width: 460px; }
  .parcours-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-media { min-height: 56vh; }
  .contact-invite { padding-top: clamp(40px,8vh,70px); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .lb { grid-template-columns: 1fr; }
  .lb-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 2; }
  .lb-nav.prev { left: 6px; }
  .lb-nav.next { right: 6px; }
}
@media (max-width: 560px) {
  .gal-grid { gap: 5px; }
  .boo-nav { gap: 16px; }
  .boo-nav a { font-size: 10.5px; letter-spacing: .14em; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar.is-link { margin: 0; }
  .pp-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-row { grid-template-columns: 1fr; gap: 26px; }
  .contact-details { grid-template-columns: 1fr; }
  .cbtn { min-width: 100%; }
}
