/* ============================================================
   KEVIN CHINELLI — Photographe · Suisse Romande
   High-fidelity styles
   ============================================================ */

/* ---------- TOKENS ---------- */
:root{
  /* palette (overridden at runtime by Tweaks: [bg, accent, cream]) */
  --bg:#141210;
  --accent:#b9926b;
  --cream:#f8f5ef;

  --font-display:"Cinzel", Georgia, serif;
  --font-body:"Jost", system-ui, -apple-system, sans-serif;

  /* derived tones */
  --bg-2: color-mix(in oklab, var(--bg), #ffffff 4%);
  --muted-d: color-mix(in oklab, var(--cream), var(--bg) 46%);
  --muted-l: color-mix(in oklab, var(--bg), var(--cream) 40%);
  --line-d: color-mix(in oklab, var(--cream), transparent 86%);
  --line-l: color-mix(in oklab, var(--bg), transparent 88%);
  --accent-soft: color-mix(in oklab, var(--accent), transparent 55%);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--cream);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.72;
  font-weight:300;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }

/* film grain overlay */
.grain{
  position:fixed; inset:0; z-index:9; pointer-events:none; opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- SECTION THEMING ---------- */
.s-dark{ background:var(--bg);   color:var(--cream); --fg:var(--cream); --muted:var(--muted-d); --hair:var(--line-d); }
.s-darker{ background:#000;       color:var(--cream); --fg:var(--cream); --muted:var(--muted-d); --hair:var(--line-d); }
.s-light{ background:var(--cream); color:var(--bg);   --fg:var(--bg);    --muted:var(--muted-l); --hair:var(--line-l); }

/* ---------- TYPE PRIMITIVES ---------- */
.overline{
  font-family:var(--font-body); font-weight:400;
  font-size:clamp(11px,.78vw,12.5px); letter-spacing:.28em; text-transform:uppercase;
  color:var(--muted);
}
.overline .tick{ display:inline-block; width:26px; height:1px; background:var(--accent); vertical-align:middle; margin-right:14px; opacity:.9; }
.display{ font-family:var(--font-display); font-weight:400; line-height:1.06; letter-spacing:.012em; margin:0; color:var(--fg); }
.lede{ font-weight:300; color:var(--muted); }
.serif-italic{ font-family:var(--font-display); font-style:italic; font-weight:400; }

.link-arrow{
  display:inline-flex; align-items:center; gap:12px;
  font-family:var(--font-body); font-weight:400; font-size:13px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--fg); position:relative; padding-bottom:5px;
}
.link-arrow .ar{ transition:transform .5s cubic-bezier(.2,.7,.2,1); color:var(--accent); }
.link-arrow::after{ content:""; position:absolute; left:0; bottom:0; height:1px; width:100%;
  background:currentColor; opacity:.28; transform:scaleX(1); transform-origin:left; transition:opacity .5s, background .3s; }
.link-arrow:hover .ar{ transform:translateX(7px); }
.link-arrow:hover::after{ background:var(--accent); opacity:.9; }
.link-arrow.vert .ar{ transition:transform .6s cubic-bezier(.2,.7,.2,1); }
.link-arrow.vert:hover .ar{ transform:translateY(6px); }

/* ---------- LAYOUT ---------- */
.wrap{ width:min(1280px, 92vw); margin-inline:auto; }
.wrap-narrow{ width:min(880px, 90vw); margin-inline:auto; }
.sec{ position:relative; }
.pad-y{ padding-block:clamp(90px,12vw,170px); }
.pad-y-lg{ padding-block:clamp(110px,15vw,210px); }
hr.hair{ border:0; height:1px; background:var(--hair); margin:0; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal{ opacity:0; transform:translateY(30px); transition:opacity 1.05s cubic-bezier(.2,.6,.15,1), transform 1.05s cubic-bezier(.2,.6,.15,1); will-change:opacity,transform; }
.reveal.in{ opacity:1; transform:none; }
.reveal.d1{ transition-delay:.1s; } .reveal.d2{ transition-delay:.2s; } .reveal.d3{ transition-delay:.32s; } .reveal.d4{ transition-delay:.44s; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; transition:none; } }
/* fallback: if the animation timeline is frozen (offscreen/throttled), show everything */
html.no-anim .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }

/* ---------- IMAGE SLOTS ---------- */
image-slot{ background:#1b1815; color:rgba(242,237,230,.5) !important; }
.s-light image-slot{ background:#ece8e0; color:rgba(20,18,16,.46) !important; }

/* Decorative overlays must not steal drops from the image-slot beneath them.
   Only genuine links/buttons keep pointer events. */
.hero .scrim{ pointer-events:none; }
.hero-carousel .hero-content{ pointer-events:none; }
.hero-carousel .hero-content a,
.hero-carousel .hero-content button{ pointer-events:auto; }
.svc-card .veil{ pointer-events:none; }
.svc-card .svc-body{ pointer-events:none; }
.svc-card .svc-body a{ pointer-events:auto; }

/* ---------- NAV ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:26px clamp(20px,4vw,56px);
  transition:background .5s ease, padding .5s ease, border-color .5s ease;
  border-bottom:1px solid transparent;
}
.nav.scrolled{ background:color-mix(in oklab, var(--bg), transparent 8%); backdrop-filter:blur(14px) saturate(140%); padding-block:16px; border-bottom-color:var(--line-d); }
.nav .wordmark{ display:inline-flex; align-items:flex-end; gap:9px; padding-left:.3em; }
.wm-main{ font-family:var(--font-display); font-weight:400; font-size:clamp(16px,1.5vw,20px); letter-spacing:.3em; color:var(--cream); line-height:1; }
.wm-by{ font-family:"Cormorant Garamond", Georgia, serif; font-style:italic; font-weight:500; font-size:clamp(11px,1.05vw,13.5px); letter-spacing:.02em; color:var(--accent); line-height:1; transform:translateY(-1px); white-space:nowrap; }
.nav-links{ display:flex; align-items:center; gap:clamp(15px,1.9vw,26px); }
.nav-links a{ font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:color-mix(in oklab, var(--cream), transparent 18%); transition:color .35s; position:relative; }
.nav-links a:hover{ color:var(--cream); }
.nav-item{ position:relative; }
.nav-item .caret{ display:inline-block; margin-left:4px; font-size:13px; opacity:.92; vertical-align:baseline; transition:transform .35s; }
.nav-item:hover .caret, .nav-item:focus-within .caret{ transform:rotate(180deg); }
/* invisible bridge across the gap so the dropdown doesn't close mid-hover */
.nav-item::after{ content:""; position:absolute; top:100%; left:50%; transform:translateX(-50%); width:248px; height:24px; }
.nav-drop{
  position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(8px);
  margin-top:14px; min-width:230px; padding:10px 0;
  background:color-mix(in oklab, var(--bg), #000 30%); border:1px solid var(--line-d);
  display:flex; flex-direction:column; opacity:0; visibility:hidden; transition:opacity .3s, transform .3s;
  z-index:5;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.nav-drop a{ padding:11px 26px; text-transform:none; letter-spacing:.04em; font-size:13.5px; color:color-mix(in oklab, var(--cream), transparent 22%); white-space:nowrap; }
.nav-drop a:hover{ color:var(--cream); background:color-mix(in oklab, var(--cream), transparent 92%); }
.nav-cta{ border:1px solid var(--line-d); padding:10px 20px !important; transition:border-color .35s, color .35s; }
.nav-cta:hover{ border-color:var(--accent); color:var(--accent) !important; }

/* ---------- MOBILE MENU ---------- */
.nav-burger{ display:none; }
.mobile-menu{ display:none; }
@media (max-width:880px){
  .nav-links{ display:none; }
  .nav-burger{
    display:flex; flex-direction:column; justify-content:center; align-items:flex-end; gap:6px;
    width:42px; height:42px; padding:0; border:0; background:transparent; cursor:pointer; z-index:60;
  }
  .nav-burger span{ display:block; width:26px; height:1.5px; background:var(--cream);
    transition:transform .45s cubic-bezier(.2,.7,.2,1), opacity .3s; }
  .nav.menu-open .nav-burger span:nth-child(1){ transform:translateY(3.75px) rotate(45deg); }
  .nav.menu-open .nav-burger span:nth-child(2){ transform:translateY(-3.75px) rotate(-45deg); }
  .mobile-menu{
    position:fixed; inset:0; z-index:55; display:flex; align-items:center; justify-content:center;
    background:color-mix(in oklab, var(--bg), #000 28%); backdrop-filter:blur(22px) saturate(130%);
    opacity:0; visibility:hidden; transition:opacity .45s ease, visibility .45s;
  }
  .nav.menu-open .mobile-menu{ opacity:1; visibility:visible; }
  .mm-inner{ display:flex; flex-direction:column; align-items:center; gap:34px; text-align:center; padding:40px;
    transform:translateY(14px); opacity:0; transition:transform .5s cubic-bezier(.2,.6,.15,1) .08s, opacity .5s .08s; }
  .nav.menu-open .mm-inner{ transform:none; opacity:1; }
  .mm-group{ display:flex; flex-direction:column; align-items:center; gap:18px; }
  .mm-label{ font-size:11px; letter-spacing:.28em; text-transform:uppercase; color:var(--accent); margin-bottom:4px; }
  .mm-group a{ font-family:var(--font-display); font-size:22px; color:color-mix(in oklab, var(--cream), transparent 14%); }
  .mm-top{ font-family:var(--font-display); font-size:28px; letter-spacing:.02em; color:var(--cream); }
  .mobile-menu a{ transition:color .3s; }
  .mobile-menu a:active, .mobile-menu a:hover{ color:var(--accent); }
}

/* ---------- HERO ---------- */
.hero{ position:relative; min-height:100svh; display:flex; overflow:hidden; }
.hero .bg{ position:absolute; inset:-8% 0 0 0; height:116%; z-index:0; }
.hero .bg image-slot{ width:100%; height:100%; }
.hero .scrim{ position:absolute; inset:0; z-index:1; background:
  radial-gradient(ellipse 118% 118% at center, rgba(0,0,0,.24) 0%, rgba(0,0,0,.30) 52%, rgba(0,0,0,.60) 100%),
  linear-gradient(to bottom, rgba(0,0,0,.46) 0%, rgba(0,0,0,.14) 38%, rgba(0,0,0,.32) 72%, rgba(0,0,0,.66) 100%); }

/* hero — plein écran (centered) */
.hero.plein{ align-items:center; justify-content:center; text-align:center; }
.hero.plein .hero-content{ position:relative; z-index:3; width:min(900px,90vw); display:flex; flex-direction:column; align-items:center; gap:30px; }
.hero.plein h1{ font-size:clamp(40px,7.4vw,104px); }

/* hero — split typographique */
.hero.split{ display:grid; grid-template-columns:1.05fr 1fr; }
.hero.split .bg{ position:relative; inset:auto; height:auto; grid-column:2; }
.hero.split .bg image-slot{ height:100%; min-height:100svh; }
.hero.split .scrim{ display:none; }
.hero.split .hero-content{ position:relative; z-index:3; grid-column:1; grid-row:1; align-self:center; justify-self:start;
  text-align:left; align-items:flex-start; display:flex; flex-direction:column; gap:30px; padding:0 clamp(30px,5vw,90px); width:100%; }
.hero.split h1{ font-size:clamp(38px,5.6vw,82px); }
.hero.split .hero-overline{ color:var(--muted-d); }
@media (max-width:860px){
  .hero.split{ grid-template-columns:1fr; }
  .hero.split .bg{ position:absolute; inset:0; height:100%; grid-column:1; }
  .hero.split .scrim{ display:block; }
  .hero.split .hero-content{ text-align:center; align-items:center; align-self:center; }
}
.hero h1{ color:#fff; max-width:15ch; text-shadow:0 2px 40px rgba(0,0,0,.4); }
.hero .hero-overline{ color:rgba(255,255,255,.82); }
.hero .scroll-cue{ position:absolute; left:50%; bottom:38px; transform:translateX(-50%); z-index:3; display:flex; flex-direction:column; align-items:center; gap:10px; color:rgba(255,255,255,.7); }
.hero .scroll-cue .line{ width:1px; height:46px; background:linear-gradient(var(--accent), transparent); animation:cue 2.4s ease-in-out infinite; }
@keyframes cue{ 0%,100%{ transform:scaleY(.5); opacity:.5; transform-origin:top; } 50%{ transform:scaleY(1); opacity:1; transform-origin:top; } }

/* ---------- HERO CAROUSEL — sliding variants ----------
   Three animation modes (set via .anim-* on the carousel root). In every
   mode each slide truly slides off-screen left/right; waiting slides sit
   fully off-screen so no two slides ever overlap on screen. Depth/rotation
   makes them arrive in perspective toward the viewer. */
.hero-carousel{ display:block; perspective:1500px; perspective-origin:50% 50%; }
.hslide{ position:absolute; inset:0; z-index:0; opacity:1; backface-visibility:hidden; transform-origin:50% 50%;
  transition:transform 1.05s cubic-bezier(.62,0,.2,1), opacity 1.05s ease; will-change:transform,opacity; }
.hslide .bg{ position:absolute; inset:0; height:100%; z-index:0; }
.hslide.active{ z-index:2; }
.hslide.leaving{ z-index:1; }

/* —— Fondu : fondu enchaîné net et élégant —— */
.anim-fondu .hslide{ opacity:0; transform:none; transition:opacity 1.1s ease; }
.anim-fondu .hslide.active{ opacity:1; z-index:2; }
.anim-fondu .hslide.leaving{ z-index:1; }

/* —— Glisse : translation latérale simple, sans 3D —— */
.anim-glisse .hslide{ transform:translateX(102%); opacity:1; transition:transform 1s cubic-bezier(.5,0,.18,1); }
.anim-glisse .hslide.active{ transform:translateX(0); z-index:2; }
.anim-glisse .hslide.parked.fwd{ transform:translateX(102%); }
.anim-glisse .hslide.leaving.fwd{ transform:translateX(-102%); z-index:1; }
.anim-glisse .hslide.parked.bwd{ transform:translateX(-102%); }
.anim-glisse .hslide.leaving.bwd{ transform:translateX(102%); z-index:1; }

/* —— Zoom doux : fondu + léger travelling avant (Ken Burns) —— */
.anim-zoom .hslide{ opacity:0; transform:none; transition:opacity 1.2s ease; }
.anim-zoom .hslide.active{ opacity:1; z-index:2; }
.anim-zoom .hslide.leaving{ z-index:1; }
.anim-zoom .hslide .bg{ transform:scale(1); }
.anim-zoom .hslide.active .bg,
.anim-zoom .hslide.leaving .bg{ transform:scale(1.07); transition:transform 6.5s ease-out; }
.hslide .bg image-slot{ width:100%; height:100%; }
.hero-carousel .hero-content{ position:absolute; inset:0; z-index:3; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; gap:28px; padding:0 clamp(20px,5vw,40px); }
.hero-carousel h1{ font-size:clamp(46px,8vw,108px); }
.hslide .hero-content > *{ opacity:1; transform:none; }
.hslide.active .hero-content{ animation:heroRise .9s cubic-bezier(.2,.6,.15,1); }
@keyframes heroRise{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:none; } }
.hero-cta{ display:inline-flex; align-items:center; gap:12px; border:1px solid rgba(255,255,255,.5); border-radius:999px;
  padding:15px 30px; color:#fff; font-family:var(--font-body); font-size:12px; letter-spacing:.18em; text-transform:uppercase;
  transition:border-color .4s, background .4s; }
.hero-cta .ar{ color:var(--accent); transition:transform .5s cubic-bezier(.2,.7,.2,1); }
.hero-cta:hover{ background:rgba(255,255,255,.08); border-color:#fff; }
.hero-cta:hover .ar{ transform:translateX(6px); }
.hero-arrow{ position:absolute; top:50%; transform:translateY(-50%); z-index:5; width:56px; height:56px; border:0;
  background:transparent; color:rgba(255,255,255,.78); font-size:40px; line-height:1; cursor:pointer;
  transition:color .3s, transform .3s; }
.hero-arrow.prev{ left:clamp(6px,2.5vw,32px); } .hero-arrow.next{ right:clamp(6px,2.5vw,32px); }
.hero-arrow:hover{ color:var(--accent); }
.hero-arrow.prev:hover{ transform:translateY(-50%) translateX(-3px); }
.hero-arrow.next:hover{ transform:translateY(-50%) translateX(3px); }
.hero-dots{ position:absolute; bottom:32px; left:50%; transform:translateX(-50%); z-index:5; display:flex; gap:12px; }
.hdot{ width:8px; height:8px; border-radius:50%; border:1px solid rgba(255,255,255,.6); background:transparent;
  padding:0; cursor:pointer; transition:background .3s, border-color .3s, transform .3s; }
.hdot.on{ background:var(--accent); border-color:var(--accent); transform:scale(1.15); }
.hero-pause{ width:auto; height:18px; min-width:18px; padding:0 6px; margin-right:4px; border:0; background:transparent;
  color:rgba(255,255,255,.7); font-size:10px; line-height:1; cursor:pointer; letter-spacing:1px;
  display:inline-flex; align-items:center; transition:color .3s; }
.hero-pause:hover{ color:var(--accent); }
/* visible keyboard focus across the site (accessibility) */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, .hdot:focus-visible, [tabindex]:focus-visible{
  outline:2px solid var(--accent); outline-offset:3px; border-radius:2px; }
.hero-arrow:focus-visible, .hdot:focus-visible, .hero-pause:focus-visible{ outline-offset:5px; }
@media (max-width:600px){ .hero-arrow{ width:44px; height:44px; font-size:32px; } }
html.no-anim .hslide.active .hero-content > *{ animation:none !important; opacity:1 !important; transform:none !important; }
html.no-anim .hslide{ transition:none !important; }
html.no-anim .hslide.active{ opacity:1 !important; visibility:visible !important; }

/* ---------- HOME HERO (3 variants) ---------- */
.hhero{ position:relative; overflow:hidden; }
.hh-over{ color:rgba(255,255,255,.72); }
.hh-title{ font-family:var(--font-display); font-weight:400; color:#fff; line-height:1; margin:0;
  font-size:clamp(54px,9vw,132px); letter-spacing:.05em; text-shadow:0 2px 50px rgba(0,0,0,.35); }
.hh-by{ font-family:"Cormorant Garamond", Georgia, serif; font-style:italic; color:var(--accent);
  font-size:clamp(17px,2vw,26px); letter-spacing:.02em; margin-top:8px; }
.hh-tag{ color:rgba(255,255,255,.86); font-weight:300; font-size:clamp(16px,1.55vw,21px);
  line-height:1.5; max-width:32ch; margin:22px 0 0; }
.hh-ctas{ display:flex; align-items:center; gap:26px; margin-top:clamp(28px,3.5vw,42px); flex-wrap:wrap; }
.hh-btn{ display:inline-flex; align-items:center; gap:12px; font-family:var(--font-body);
  font-size:12px; letter-spacing:.18em; text-transform:uppercase; font-weight:500;
  padding:15px 30px; border:1px solid var(--accent); background:var(--accent); color:var(--bg);
  transition:filter .35s, background .35s, border-color .35s, color .35s; }
.hh-btn:hover{ filter:brightness(1.07); }
.hh-btn.on-img{ background:transparent; color:#fff; border-color:rgba(255,255,255,.6); }
.hh-btn.on-img:hover{ background:rgba(255,255,255,.1); border-color:#fff; filter:none; }
.hh-btn .ar{ color:inherit; transition:transform .45s cubic-bezier(.2,.7,.2,1); }
.hh-btn:hover .ar{ transform:translateX(6px); }
.hh-link{ font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.82);
  border-bottom:1px solid var(--accent-soft); padding-bottom:4px; transition:color .35s, border-color .35s; }
.hh-link:hover{ color:#fff; border-color:var(--accent); }

/* A — full-bleed cinematic */
.hhero.va{ min-height:100svh; display:flex; align-items:center; }
.hhero.va .hh-bg{ position:absolute; inset:0; z-index:0; }
.hhero.va .hh-bg image-slot{ width:100%; height:100%; }
.hhero.va .scrim{ position:absolute; inset:0; z-index:1;
  background:radial-gradient(circle at center, rgba(0,0,0,.22) 0%, rgba(0,0,0,.4) 100%),
  linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.22) 42%, rgba(0,0,0,.58) 100%); }
.hhero.va .hh-inner{ position:relative; z-index:2; width:min(1180px,92vw); margin:0 auto;
  padding:0 clamp(20px,4vw,56px); text-align:center; display:flex; flex-direction:column; align-items:center; }
.hhero.va .hh-tag{ text-align:center; }
.hhero.va .hh-ctas{ justify-content:center; }
.hhero.va .hh-meta{ margin-top:clamp(22px,3vw,32px); font-size:12px; letter-spacing:.24em;
  text-transform:uppercase; color:rgba(255,255,255,.8); text-shadow:0 1px 18px rgba(0,0,0,.5); }
@media(max-width:560px){ .hhero.va .hh-meta{ font-size:10.5px; letter-spacing:.16em; } }
.hh-scroll{ position:absolute; bottom:28px; left:50%; transform:translateX(-50%); z-index:2;
  font-size:10px; letter-spacing:.34em; text-transform:uppercase; color:rgba(255,255,255,.6); }

/* B — split diptych */
.hhero.vb{ min-height:100svh; display:grid; grid-template-columns:1fr 1fr; background:var(--bg); }
.hhero.vb .hh-text{ display:flex; flex-direction:column; justify-content:center; padding:clamp(40px,7vw,112px); }
.hhero.vb .hh-over{ color:var(--accent); }
.hhero.vb .hh-title{ color:var(--cream); font-size:clamp(48px,6.4vw,108px); text-shadow:none; }
.hhero.vb .hh-tag{ color:color-mix(in oklab,var(--cream),transparent 16%); }
.hhero.vb .hh-meta{ display:flex; gap:18px; flex-wrap:wrap; margin-top:32px;
  font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--accent); }
.hhero.vb .hh-img{ position:relative; }
.hhero.vb .hh-img image-slot{ width:100%; height:100%; }
@media(max-width:860px){ .hhero.vb{ grid-template-columns:1fr; }
  .hhero.vb .hh-img{ min-height:48vh; order:-1; } }

/* C — typographic editorial */
.hhero.vc{ min-height:100svh; background:var(--bg); display:flex; flex-direction:column;
  justify-content:center; gap:clamp(40px,5vw,68px);
  padding:clamp(120px,14vw,168px) clamp(20px,4vw,56px) clamp(40px,5vw,72px); }
.hhero.vc .hh-inner{ text-align:center; max-width:1080px; margin:0 auto; }
.hhero.vc .hh-kicker{ font-family:var(--font-display); letter-spacing:.4em; color:var(--accent);
  font-size:clamp(12px,1.3vw,16px); }
.hhero.vc .hh-statement{ font-family:var(--font-display); font-weight:400; color:var(--cream);
  line-height:1.1; font-size:clamp(32px,5.6vw,80px); margin:clamp(20px,2.5vw,30px) 0 0; letter-spacing:.01em; }
.hhero.vc .hh-statement em{ font-family:"Cormorant Garamond", Georgia, serif; font-style:italic; color:var(--accent); }
.hhero.vc .hh-ctas{ justify-content:center; margin-top:clamp(30px,4vw,44px); }
.hhero.vc .hh-link{ color:color-mix(in oklab,var(--cream),transparent 22%); }
.hhero.vc .hh-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; width:min(1200px,92vw); margin:0 auto; }
.hhero.vc .hh-strip .cell{ aspect-ratio:3/4; overflow:hidden; }
.hhero.vc .hh-strip image-slot{ width:100%; height:100%; }
@media(max-width:700px){ .hhero.vc .hh-strip{ grid-template-columns:1fr; }
  .hhero.vc .hh-strip .cell{ aspect-ratio:16/10; } }

/* ---------- BOOT SPLASH (home, instant paint, single dismiss) ---------- */
.boot{ position:fixed; inset:0; z-index:1000; background:var(--bg); display:flex; align-items:center; justify-content:center;
  transition:opacity .9s cubic-bezier(.4,0,.2,1), transform .9s cubic-bezier(.4,0,.2,1); }
.boot--gone{ opacity:0; transform:scale(1.045); pointer-events:none; }
.boot-inner{ display:flex; flex-direction:column; align-items:center; text-align:center; padding:30px;
  animation:bootUp .9s cubic-bezier(.2,.6,.15,1) both; }
.boot-mark{ font-family:var(--font-display); font-weight:400; letter-spacing:.42em; font-size:clamp(20px,3.4vw,36px);
  color:var(--cream); padding-left:.42em; }
.boot-sub{ font-size:11px; letter-spacing:.32em; text-transform:uppercase; color:var(--accent); margin-top:18px; }
.boot-bar{ width:min(240px,56vw); height:1px; margin-top:32px; overflow:hidden;
  background:color-mix(in oklab,var(--cream),transparent 86%); }
.boot-bar span{ display:block; height:100%; width:100%; background:var(--accent); transform-origin:left;
  animation:bootBar 1.7s cubic-bezier(.4,.1,.2,1) both; }
@keyframes bootUp{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
@keyframes bootBar{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
html.no-anim .boot{ display:none !important; }
html.no-anim .hslide.active .hero-content{ animation:none !important; }
@media (prefers-reduced-motion:reduce){ .boot-inner{ animation:none; } .boot-bar span{ transform:scaleX(1); animation:none; } }

/* ---------- PAGE TRANSITIONS (JS fade, universal) ---------- */
body{ transition:opacity .32s ease; }
html.kc-anim-pages body{ animation:kcPageIn .5s ease both; }
body.is-leaving{ opacity:0; }
@keyframes kcPageIn{ from{ opacity:0; } to{ opacity:1; } }
@media (prefers-reduced-motion:reduce){ html.kc-anim-pages body{ animation:none; } body.is-leaving{ opacity:1; } }

/* ---------- INTRO / SIGNATURE STRIP ---------- */
.kicker-quote{ font-family:var(--font-display); font-weight:400; font-style:italic; line-height:1.5;
  font-size:clamp(22px,3vw,40px); color:var(--fg); max-width:24ch; }

/* ---------- ABOUT ---------- */
.about-name{ font-size:clamp(34px,4vw,58px); }
.signature{ font-family:var(--font-display); font-style:italic; font-size:20px; color:var(--accent); }
.ab-center{ text-align:center; }

/* — Éditorial : centré, conduit par le texte — */
.about-edi{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:clamp(26px,3vw,40px); }
.about-edi-lead{ max-width:22ch; margin:4px auto 0; text-align:center; font-size:clamp(28px,4.2vw,52px); line-height:1.34; }
.about-edi-body{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,60px); max-width:780px; text-align:left; }
.about-edi-body p{ margin:0; color:var(--muted); font-size:clamp(15px,1.1vw,17px); }
.about-edi-img{ width:100%; margin-top:clamp(18px,2.5vw,38px); aspect-ratio:16/6.6; }
.about-edi-img image-slot{ width:100%; height:100%; }
@media(max-width:680px){ .about-edi-body{ grid-template-columns:1fr; gap:18px; } .about-edi-img{ aspect-ratio:4/3; } }

/* — Décalé : portrait décalé + cadre cuivre — */
.about-dec{ display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.12fr); gap:clamp(44px,6vw,104px); align-items:center; }
.about-dec-fig{ position:relative; aspect-ratio:4/5; }
.about-dec-fig image-slot{ position:relative; z-index:1; width:100%; height:100%; }
.about-dec-fig .ab-frame{ position:absolute; z-index:0; left:-22px; bottom:-22px; width:62%; height:76%; border:1px solid var(--accent); opacity:.55; pointer-events:none; }
.about-dec-txt{ display:flex; flex-direction:column; gap:22px; }
.about-dec-txt p{ margin:0; color:var(--muted); max-width:46ch; font-size:clamp(15px,1.1vw,17px); }
@media(max-width:820px){ .about-dec{ grid-template-columns:1fr; gap:48px; justify-items:start; } .about-dec-fig{ width:100%; max-width:420px; } }

/* — Triptyque : intro centrée + trois cadres — */
.about-tri{ display:flex; flex-direction:column; align-items:center; }
.about-tri-head{ text-align:center; max-width:720px; }
.about-tri-body{ margin-top:22px; display:flex; flex-direction:column; gap:14px; }
.about-tri-body p{ margin:0; color:var(--muted); font-size:clamp(15px,1.1vw,17px); }
.tri-row{ width:100%; margin-top:clamp(42px,5vw,72px); display:grid; grid-template-columns:1fr 1.16fr 1fr; gap:16px; align-items:center; }
.tri-cell{ aspect-ratio:3/4; overflow:hidden; }
.tri-cell.tall{ aspect-ratio:3/4.5; }
.tri-cell image-slot{ width:100%; height:100%; }
.about-tri-quote{ text-align:center; max-width:26ch; margin:clamp(40px,5vw,70px) auto 18px; }
@media(max-width:780px){ .tri-row{ grid-template-columns:1fr; } .tri-cell,.tri-cell.tall{ aspect-ratio:4/3; } }

/* ---------- PRESTATIONS — bandes ---------- */
.band{ position:relative; display:grid; grid-template-columns:1fr 1fr; min-height:clamp(440px,52vw,640px); }
.band .band-img{ position:relative; }
.band .band-img image-slot{ width:100%; height:100%; min-height:clamp(360px,42vw,640px); }
.band .band-txt{ display:flex; flex-direction:column; justify-content:center; gap:22px; padding:clamp(44px,6vw,96px); }
.band .band-txt p{ margin:0; color:var(--muted); max-width:40ch; }
.band .num{ font-family:var(--font-display); font-size:14px; letter-spacing:.2em; color:var(--accent); }
.band h3{ font-family:var(--font-display); font-weight:400; font-size:clamp(30px,3.6vw,52px); margin:0; color:var(--fg); line-height:1.05; }
.band.flip .band-img{ order:2; }
.band.flip .band-txt{ order:1; }
@media (max-width:780px){
  .band{ grid-template-columns:1fr; }
  .band.flip .band-img{ order:0; }
  .band .band-img image-slot{ min-height:62vw; }
}

/* ---------- PRESTATIONS — grille ---------- */
.svc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.svc-card{ position:relative; aspect-ratio:4/3.1; overflow:hidden; }
.svc-card image-slot{ width:100%; height:100%; transition:transform 1.4s cubic-bezier(.2,.7,.2,1); }
.svc-card:hover image-slot{ transform:scale(1.05); }
.svc-card .veil{ position:absolute; inset:0; z-index:1; background:linear-gradient(to top, rgba(0,0,0,.66), rgba(0,0,0,.05) 55%, rgba(0,0,0,.18)); transition:background .5s; }
.svc-card:hover .veil{ background:linear-gradient(to top, rgba(0,0,0,.74), rgba(0,0,0,.12) 60%, rgba(0,0,0,.22)); }
.svc-card .svc-body{ position:absolute; z-index:2; inset:auto 0 0 0; padding:clamp(26px,3vw,44px); display:flex; flex-direction:column; gap:14px; color:#fff; }
.svc-card .svc-body .num{ color:var(--accent); font-family:var(--font-display); letter-spacing:.2em; font-size:13px; }
.svc-card h3{ font-family:var(--font-display); font-weight:400; font-size:clamp(26px,2.6vw,40px); margin:0; }
.svc-card .link-arrow{ color:#fff; opacity:.85; }
@media (max-width:780px){ .svc-grid{ grid-template-columns:1fr; } }

/* ---------- GALLERY ---------- */
.gal{ display:grid; grid-template-columns:1.9fr 1fr; gap:16px; height:clamp(480px,58vw,720px); }
.gal .stack{ display:grid; grid-template-rows:1fr 1fr; gap:16px; }
.gal image-slot{ width:100%; height:100%; }
.gal .cell{ overflow:hidden; }
@media (max-width:780px){ .gal{ grid-template-columns:1fr; height:auto; } .gal .cell{ height:70vw; } .gal .stack{ grid-template-rows:none; } .gal .stack .cell{ height:54vw; } }

/* ---------- TESTIMONIALS ---------- */
.tst-2{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px,6vw,90px); }
.tst blockquote{ margin:0; font-family:var(--font-display); font-style:italic; font-weight:400;
  font-size:clamp(20px,1.9vw,28px); line-height:1.55; color:var(--fg); }
.tst .who{ margin-top:24px; display:flex; align-items:center; gap:14px; font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.tst .who .dash{ width:24px; height:1px; background:var(--accent); }
@media (max-width:780px){ .tst-2{ grid-template-columns:1fr; } }

/* ---------- CONTACT ---------- */
.contact{ min-height:100svh; display:flex; align-items:center; }
.contact .grid{ display:grid; grid-template-columns:1fr; gap:clamp(40px,5vw,70px); width:100%; }
.form{ display:flex; flex-direction:column; gap:22px; width:min(620px,100%); margin-inline:auto; }
.field{ display:flex; flex-direction:column; gap:9px; }
.field label{ font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
.field .control{ background:transparent; border:0; border-bottom:1px solid var(--hair); color:var(--fg);
  font-family:var(--font-body); font-weight:300; font-size:16px; padding:12px 2px; outline:none; transition:border-color .4s; }
.field .control::placeholder{ color:color-mix(in oklab, var(--muted), transparent 30%); }
.field .control:focus{ border-bottom-color:var(--accent); }
select.control{ appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path fill='%23b9926b' d='M0 0h12L6 8z'/></svg>");
  background-repeat:no-repeat; background-position:right 2px center; }
select.control option{ background:#1a1714; color:#f2ede6; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.btn-submit{ align-self:flex-start; margin-top:8px; display:inline-flex; align-items:center; gap:14px;
  background:transparent; border:1px solid var(--hair); color:var(--fg); cursor:pointer;
  font-family:var(--font-body); font-size:13px; letter-spacing:.2em; text-transform:uppercase;
  padding:18px 38px; transition:border-color .4s, color .4s, background .4s; }
.btn-submit .ar{ color:var(--accent); transition:transform .5s cubic-bezier(.2,.7,.2,1); }
.btn-submit:hover{ border-color:var(--accent); }
.btn-submit:hover .ar{ transform:translateX(8px); }
.contact-direct{ display:flex; gap:36px; justify-content:center; flex-wrap:wrap; margin-top:6px; }
.contact-direct a{ font-size:13px; letter-spacing:.08em; color:var(--muted); transition:color .35s; }
.contact-direct a:hover{ color:var(--accent); }

/* form validation + success */
.field-err{ color:#d98b6a; font-size:11.5px; letter-spacing:.04em; margin-top:2px; }
.field.error .control{ border-bottom-color:#c0654a; }
.form-sent{ width:min(620px,100%); margin-inline:auto; display:flex; flex-direction:column; gap:18px; align-items:flex-start;
  border:1px solid var(--hair); padding:clamp(34px,4vw,52px); text-align:left; }
.form-sent .fs-mark{ width:46px; height:46px; border-radius:50%; border:1px solid var(--accent); color:var(--accent);
  display:flex; align-items:center; justify-content:center; font-size:20px; }
.form-sent h3{ font-family:var(--font-display); font-weight:400; font-size:clamp(22px,2.4vw,30px); margin:0; color:var(--fg); }
.form-sent p{ margin:0; color:var(--muted); max-width:48ch; font-size:15px; }
@media (max-width:620px){ .field-row{ grid-template-columns:1fr; } }

/* ---------- FOOTER ---------- */
.footer{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:40px clamp(20px,4vw,56px); flex-wrap:wrap; }
.footer .wordmark{ display:inline-flex; align-items:flex-end; gap:8px; }
.footer .wm-main{ font-family:var(--font-display); font-weight:400; letter-spacing:.28em; font-size:15px; }
.footer .wm-by{ font-size:12px; }
.footer .copy{ font-size:12px; letter-spacing:.1em; color:var(--muted); }
.footer .social{ display:flex; gap:18px; }
.footer .social a{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); transition:color .35s; }
.footer .social a:hover{ color:var(--accent); }

/* monogram mark */
.mono-mark{ font-family:var(--font-display); font-weight:400; letter-spacing:.05em; }

/* ---------- LIGHTBOX ---------- */
[data-lb-group] image-slot[data-filled]{ cursor:zoom-in; }
.kc-lb{ position:fixed; inset:0; z-index:200; display:none; align-items:center; justify-content:center;
  background:rgba(8,7,6,.95); backdrop-filter:blur(6px); opacity:0; transition:opacity .35s ease; }
.kc-lb.open{ display:flex; opacity:1; }
.kc-lb-stage{ position:relative; max-width:92vw; max-height:88vh; display:flex; align-items:center; justify-content:center; }
.kc-lb img{ max-width:92vw; max-height:88vh; object-fit:contain; box-shadow:0 40px 110px rgba(0,0,0,.6);
  opacity:0; transform:scale(.975); transition:opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.kc-lb img.in{ opacity:1; transform:none; }
.kc-lb-close{ position:absolute; top:22px; right:26px; width:48px; height:48px; border:0; background:transparent;
  color:rgba(242,237,230,.72); font-size:30px; line-height:1; cursor:pointer; transition:color .3s; z-index:2; }
.kc-lb-close:hover{ color:var(--accent); }
.kc-lb-nav{ position:absolute; top:50%; transform:translateY(-50%); width:62px; height:62px; border:0; background:transparent;
  color:rgba(242,237,230,.72); font-size:26px; cursor:pointer; transition:color .3s, transform .3s; z-index:2; }
.kc-lb-prev{ left:clamp(6px,3vw,42px); } .kc-lb-next{ right:clamp(6px,3vw,42px); }
.kc-lb-prev:hover{ color:var(--accent); transform:translateY(-50%) translateX(-3px); }
.kc-lb-next:hover{ color:var(--accent); transform:translateY(-50%) translateX(3px); }
.kc-lb-counter{ position:absolute; bottom:22px; left:50%; transform:translateX(-50%);
  font-size:11px; letter-spacing:.22em; color:rgba(242,237,230,.55); }
.kc-lb-cap{ position:absolute; bottom:-44px; left:50%; transform:translateX(-50%); max-width:90vw;
  text-align:center; font-family:var(--font-display,Georgia,serif); font-size:14px; letter-spacing:.02em;
  color:rgba(242,237,230,.82); padding:0 16px; }
@media (max-width:600px){ .kc-lb-nav{ width:46px; height:46px; font-size:22px; } .kc-lb-close{ top:12px; right:14px; } .kc-lb-cap{ bottom:-38px; font-size:12.5px; } }

/* ---------- ACCESSIBILITY ---------- */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:2px solid var(--accent,#b9926b); outline-offset:3px; border-radius:2px; }
.kc-lb-close:focus-visible, .kc-lb-nav:focus-visible{ outline:2px solid var(--accent,#b9926b); outline-offset:2px; color:var(--cream); }
.skip-link{ position:fixed; top:-60px; left:14px; z-index:1001; background:var(--accent,#b9926b); color:#141210;
  padding:10px 18px; font-size:13px; letter-spacing:.08em; border-radius:3px; transition:top .25s ease; }
.skip-link:focus{ top:14px; }
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- "VOIR" GALLERY CURSOR ---------- */
.kc-cursor{ position:fixed; top:0; left:0; z-index:300; pointer-events:none; width:2px; height:2px;
  display:grid; place-items:center; }
.kc-cursor span{ display:grid; place-items:center; width:74px; height:74px; border-radius:50%; margin:-37px 0 0 -37px;
  background:color-mix(in oklab,var(--accent,#b9926b),transparent 8%); color:#141210;
  font-family:var(--font-body,system-ui,sans-serif); font-size:11px; letter-spacing:.18em; text-transform:uppercase;
  opacity:0; transform:scale(.4); transition:opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.kc-cursor.on span{ opacity:1; transform:scale(1); }
[data-lb-group] image-slot[data-filled]{ cursor:none; }
@media (hover:none){ [data-lb-group] image-slot[data-filled]{ cursor:zoom-in; } }
