/* ============================================================
   CINEMATIC SITE STARTER — structural + motion CSS
   ------------------------------------------------------------
   The :root block below is your BRAND CHARTER. These are the only
   values you (or Claude) should change to reskin the whole site —
   colours, fonts, spacing, accent. They start NEUTRAL on purpose.
   Everything under "STRUCTURAL CSS" drives the scrub engine,
   sections, and motion. You normally never touch it.
   ============================================================ */

:root {
  /* ---- Backgrounds — AiSHOT Media (near-black, cinematic) ---- */
  --bg:          #0a0a0b;   /* page base, deepest brand dark */
  --bg-2:        #111113;   /* +1 step lighter (alternating bands) */
  --bg-3:        #18181a;   /* +2 steps */
  --ink:         #060607;   /* darkest (clients / footer) */

  /* ---- Text ---- */
  --fg:          #f4f4f5;   /* primary text (cool off-white, not pure #fff) */
  --fg-soft:     #c7c7cc;   /* secondary text */
  --muted:       #828289;   /* labels, legal, captions */

  /* ---- Accent + lines ---- */
  --accent:      #b51e24;   /* brand red (logo sampled #aa1b1e, lifted for on-dark legibility) */
  --line:        rgba(244, 244, 245, 0.12); /* hairline dividers */

  /* ---- Layout ---- */
  --maxw:        1240px;
  --pad:         clamp(22px, 5vw, 80px);

  /* ---- Motion + type ---- */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --serif:       "Fraunces", Georgia, "Times New Roman", serif;       /* display / headings */
  --sans:        "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; /* body / UI */
}

/* ============================================================
   STRUCTURAL CSS — drives the engine. Rarely needs editing.
   ============================================================ */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.01em; }
em { font-style: italic; }

/* ---- Shared bits ---------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
.eyebrow--light { color: var(--fg-soft); }
.eyebrow--center { text-align: center; }

.lede   { font-size: clamp(16px, 1.4vw, 19px); color: var(--fg-soft); max-width: 46ch; margin: 26px 0 0; line-height: 1.75; }
.meta   { font-size: 14px; color: var(--muted); letter-spacing: 0.02em; margin: 20px 0 0; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--light { color: var(--fg); border: 1px solid rgba(245,244,242,0.45); }
.btn--light:hover { background: var(--fg); color: var(--ink); transform: translateY(-2px); }
.btn--solid { color: var(--ink); background: var(--fg); margin-top: 8px; }
.btn--solid:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }

/* ---- Scroll progress ------------------------------------------------ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--accent); z-index: 200; transition: width .1s linear;
}

/* ---- Nav ------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 150;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .5s var(--ease), padding .5s var(--ease), backdrop-filter .5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  padding-top: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  font-family: var(--sans); font-weight: 500;
  font-size: 16px; letter-spacing: 0.42em; padding-left: 0.42em;
  color: var(--fg);
}
.nav__links { display: flex; gap: 38px; }
.nav__links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-soft); position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width .4s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg); border: 1px solid rgba(245,244,242,0.4);
  padding: 11px 22px; border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.nav__cta:hover { background: var(--fg); color: var(--ink); transform: translateY(-1px); }

/* ============================================================
   SCRUB HERO
   The .scrub height controls fly-through speed. Rule of thumb:
   height_vh  ≈  frames × 4.6   (a STARTING point, then judge by eye —
   too fast → raise toward ×6, too slow → lower toward ×3).

   DEFAULT = 160vh, on purpose: out of the box the starter ships with a
   SINGLE demo frame (assets/frames/frame-001.jpg, data-frames="1"), so a
   tall hero would be 5+ screens of one static gradient = confusing. Once
   you drop your real frames and bump data-frames to N, raise this to
   ~N × 4.6vh (e.g. 121 frames → 560vh) and tune by eye.
   ============================================================ */
.scrub { position: relative; height: 670vh; background: var(--bg); }
.scrub__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.scrub__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scrub__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8,8,10,0.78) 0%, rgba(8,8,10,0.12) 42%, rgba(8,8,10,0) 65%),
    linear-gradient(to bottom, rgba(8,8,10,0.5) 0%, rgba(8,8,10,0) 28%);
}

/* Loader */
.loader {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: var(--bg); transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__brand { font-family: var(--sans); font-size: 14px; letter-spacing: 0.5em; padding-left: 0.5em; color: var(--fg); }
.loader__track { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s var(--ease); }
.loader__pct { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }

/* Caption beats — fade in/out over the moving footage (bottom-left) */
.scrub__beat {
  position: absolute; left: var(--pad); bottom: clamp(64px, 13vh, 140px); z-index: 10;
  max-width: 720px; opacity: 0; will-change: opacity, transform;
}
.scrub__eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
.scrub__title {
  font-size: clamp(30px, 6.6vw, 92px); line-height: 0.98; color: var(--fg);
  text-shadow: 0 2px 50px rgba(0,0,0,0.45);
}
.scrub__title em, .scrub__beat-title em { color: var(--fg); }
.scrub__tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.2vw, 28px);
  color: var(--fg-soft); margin: 22px 0 0; max-width: 30ch;
}
.scrub__beat-title {
  font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em;
  font-size: clamp(40px, 6.4vw, 92px); color: var(--fg); text-shadow: 0 2px 50px rgba(0,0,0,0.45);
}
.scrub__beat-copy {
  font-size: clamp(16px, 1.45vw, 20px); color: var(--fg-soft);
  margin: 22px 0 0; max-width: 42ch; line-height: 1.7; text-shadow: 0 1px 20px rgba(0,0,0,0.4);
}
.scrub__beat .btn { margin-top: 30px; }

.scrub__cue {
  position: absolute; right: var(--pad); bottom: clamp(48px, 10vh, 96px); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-soft);
}
.scrub__cue-line { width: 1px; height: 54px; background: linear-gradient(var(--fg-soft), transparent); animation: cuePulse 2.4s var(--ease) infinite; }
@keyframes cuePulse { 0%,100% { opacity: .35; transform: scaleY(.7); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   EDITORIAL (image + text)
   ============================================================ */
.editorial { padding: clamp(90px, 13vh, 180px) var(--pad); background: var(--bg); }
.editorial--reverse { background: var(--bg-2); }
.editorial__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 6vw, 90px); align-items: center;
}
.editorial--reverse .editorial__media { order: 2; }
.editorial--reverse .editorial__text { order: 1; }
.editorial__text { max-width: 480px; }
.editorial__title { font-size: clamp(38px, 5.2vw, 76px); }
.editorial__title em { color: var(--accent); }

/* .frame ships with a visual fallback so an un-replaced placeholder never reads as a
   bare black rectangle. Replace the editorial images at GUIDE step 4 bis. */
.frame {
  margin: 0; overflow: hidden; border-radius: 4px; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7);
  position: relative; aspect-ratio: 16 / 9; background: var(--bg-3);
  background-image: repeating-linear-gradient(45deg, rgba(245,244,242,0.018) 0 14px, transparent 14px 28px);
}
.frame::after {
  content: "Image à venir"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); opacity: 0.5; pointer-events: none;
}
.frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.editorial__media:hover .frame img { transform: scale(1.04); }

/* ============================================================
   FULL-BLEED IMAGE SECTIONS
   ============================================================ */
.bleed { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.bleed--tall { min-height: 100vh; }
.bleed__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,10,0.88) 0%, rgba(8,8,10,0.32) 38%, rgba(8,8,10,0) 60%),
    linear-gradient(to right, rgba(8,8,10,0.55) 0%, rgba(8,8,10,0.12) 50%, rgba(8,8,10,0) 80%);
}
.bleed__content { position: relative; z-index: 2; max-width: 640px; padding: 0 var(--pad); }
.bleed__content--low { align-self: flex-end; padding-bottom: clamp(60px, 12vh, 120px); }
.bleed__title { font-size: clamp(40px, 6vw, 92px); color: var(--fg); text-shadow: 0 2px 40px rgba(0,0,0,0.5); }
.bleed__title em { color: var(--fg); }
.bleed__copy { font-size: clamp(16px, 1.4vw, 19px); color: var(--fg); max-width: 46ch; margin: 24px 0 36px; line-height: 1.75; text-shadow: 0 1px 24px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.6); }
.bleed__specs { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.bleed__specs li { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid rgba(245,244,242,0.22); min-width: 150px; }
.bleed__spec-k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.bleed__spec-v { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 22px); color: var(--fg); }

/* ============================================================
   AMENITIES / FEATURE LIST
   ============================================================ */
.amenities { background: var(--bg-2); padding: clamp(90px, 14vh, 180px) var(--pad); }
.amenities__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start;
}
.amenities__head { position: sticky; top: 120px; }
.amenities__title { font-size: clamp(34px, 4.4vw, 64px); color: var(--fg); }
.amenities__title em { color: var(--accent); }
.amenities__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 56px);
}
.amenity {
  display: flex; gap: 20px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.amenity__index { font-family: var(--serif); font-size: 15px; color: var(--accent); letter-spacing: 0.04em; flex: 0 0 auto; min-width: 26px; }
.amenity__text { font-size: clamp(15px, 1.15vw, 17px); color: var(--fg-soft); line-height: 1.5; }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--ink); padding: clamp(70px, 11vh, 130px) var(--pad); }
.stats__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 60px);
}
.stat { text-align: left; border-left: 1px solid var(--line); padding-left: 26px; }
.stat__num { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 5.5vw, 76px); line-height: 1; color: var(--fg); }
.stat__unit { font-size: 0.42em; color: var(--accent); letter-spacing: 0.02em; }
.stat__label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { background: var(--bg); padding: clamp(110px, 18vh, 220px) var(--pad); }
.manifesto__inner { max-width: 940px; margin: 0 auto; text-align: center; }
.manifesto__title { font-size: clamp(40px, 6.5vw, 104px); color: var(--fg); }
.manifesto__title em { color: var(--accent); }
.manifesto__copy { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.2vw, 30px); color: var(--fg-soft); margin: 34px auto 0; max-width: 56ch; line-height: 1.5; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-2); padding: clamp(90px, 14vh, 180px) var(--pad); }
.contact__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center;
}
.contact__title { font-size: clamp(34px, 4.6vw, 64px); color: var(--fg); margin-top: 8px; }
.contact__copy { color: var(--fg-soft); max-width: 42ch; margin: 26px 0 0; }
.contact__details { display: flex; flex-direction: column; gap: 4px; }
.contact__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .35s var(--ease);
}
.contact__row:not(.contact__row--static):hover { padding-left: 10px; }
.contact__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact__value { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 24px); color: var(--fg); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); padding: clamp(60px, 9vh, 110px) var(--pad) 40px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; text-align: center; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer__brand { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); color: var(--fg); }
.footer__tagline { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); margin: 14px 0 0; }
.footer__base { max-width: var(--maxw); margin: 32px auto 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__legal { font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   MOTION LAYER (subtle, premium micro-interactions)
   All disabled under prefers-reduced-motion (media query at end).
   ============================================================ */

/* Masked line-by-line reveal for section titles (built in JS) */
.ml-reveal .ml-line {
  overflow: hidden;
  padding-bottom: 0.04em;
  margin-bottom: -0.04em;
}
.ml-reveal .ml-line__inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
  transition-delay: var(--ml-delay, 0s);
  will-change: transform;
}
.ml-reveal.is-shown .ml-line__inner { transform: translateY(0); }

/* Eyebrows above masked titles: gentle clip-up + fade */
.ml-eyebrow {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition: clip-path 0.7s var(--ease), opacity 0.7s var(--ease);
}
.ml-eyebrow.is-shown { clip-path: inset(0 0 0 0); opacity: 1; }

/* Animated counters (stats) */
.stat__num.is-counting { font-variant-numeric: tabular-nums; }

/* Parallax media (full-bleed images). JS sets --py (px). */
.bleed__img {
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.12);
}

/* CTA / button press feedback */
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.12s; }
.nav__cta:active { transform: translateY(0) scale(0.98); transition-duration: 0.12s; }
.btn--light:active { transform: scale(0.98); }

/* Intro load reveal (nav) */
body.intro-ready .nav { opacity: 0; transform: translateY(-12px); }
body.intro-ready.is-loaded .nav {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .editorial__inner, .contact__inner { grid-template-columns: 1fr; gap: 32px; }
  .editorial__media { order: 2; }   /* photo below */
  .editorial__text { order: 1; }    /* title above the photo on mobile */
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .amenities__inner { grid-template-columns: 1fr; gap: 44px; }
  .amenities__head { position: static; }
  .amenities__list { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}
/* 🔴 820px = le breakpoint JS isSmall : sous cette largeur le scrub passe en
   STATIQUE (1 frame fixe, voir script.js). On DOIT y ramener le hero à 100vh,
   sinon la section garde sa hauteur N×4.6vh et le viewer scrolle plusieurs
   écrans de vide sur une image figée. La coupure CSS suit le breakpoint JS. */
@media (max-width: 820px) {
  .scrub { height: 100vh; }
}
@media (max-width: 560px) {
  .stats__inner { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; text-align: center; align-items: center; gap: 14px; }
  .nav__cta { padding: 9px 15px; font-size: 10px; letter-spacing: 0.12em; }
  .nav { padding: 16px var(--pad); }
  .scrub { height: 100vh; }
  .bleed__specs { gap: 22px; }
  .scrub__beat { max-width: 100%; bottom: 18vh; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ml-reveal .ml-line { overflow: visible; padding-bottom: 0; margin-bottom: 0; }
  .ml-reveal .ml-line__inner { transform: none !important; transition: none !important; }
  .ml-eyebrow { clip-path: none !important; opacity: 1 !important; transition: none !important; }
  .bleed__img { transform: none !important; will-change: auto; }
  .btn:active, .nav__cta:active, .btn--light:active { transform: none !important; }
  body.intro-ready .nav { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   BRAND CUSTOM — AiSHOT Media
   Nav logo + Clients strip + Footer logo. Additive, no engine impact.
   ============================================================ */

/* Nav uses the logo image instead of a wordmark */
.nav__brand--logo { display: inline-flex; align-items: center; letter-spacing: 0; padding-left: 0; }
.nav__brand--logo img { height: 46px; width: auto; display: block; transition: height .5s var(--ease); }
.nav.is-scrolled .nav__brand--logo img { height: 38px; }

/* Top scrim behind the nav so logo + links + CTA stay legible over bright hero frames */
.nav::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 160%;
  background: linear-gradient(to bottom, rgba(6, 6, 7, 0.55), rgba(6, 6, 7, 0));
  pointer-events: none; z-index: -1;
  transition: opacity .5s var(--ease);
}
.nav.is-scrolled::before { opacity: 0; }

/* Hamburger toggle — hidden on desktop, shown < 980px (see responsive block) */
.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; background: none; border: none; cursor: pointer; z-index: 160;
}
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--fg); margin: 0 auto; transition: transform .35s var(--ease), opacity .2s var(--ease); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Fullscreen mobile menu overlay (sits below the fixed nav bar so the X stays on top) */
.navmenu {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(6, 6, 7, 0.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 30px; padding: 0 var(--pad);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.navmenu.is-open { opacity: 1; visibility: visible; transform: none; }
.navmenu__links { display: flex; flex-direction: column; gap: 4px; }
.navmenu__links a { font-family: var(--serif); font-size: clamp(34px, 11vw, 54px); line-height: 1.1; color: var(--fg); padding: 8px 0; transition: color .3s var(--ease); }
.navmenu__links a:active, .navmenu__links a:hover { color: var(--accent); }
.navmenu__cta { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); background: var(--fg); padding: 16px 32px; border-radius: 999px; }
@media (min-width: 981px) { .navmenu { display: none; } }
@media (max-width: 980px) { .nav__toggle { display: flex; } .nav__cta { display: none; } }

/* ============================================================
   WORK — portfolio (showreel + grid) + lightbox
   ============================================================ */
.work { background: var(--bg); padding: clamp(90px, 13vh, 180px) var(--pad); }
.work__inner { max-width: var(--maxw); margin: 0 auto; }
.work__head { max-width: 620px; margin: 0 0 clamp(38px, 6vh, 68px); }
.work__title { font-size: clamp(38px, 5.2vw, 76px); color: var(--fg); }
.work__title em { color: var(--accent); }
.work__sectors { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.work__sectors li {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; color: var(--fg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.work__sectors li:hover { color: var(--fg); border-color: rgba(244,244,245,0.3); }

.work__reel, .work__tile {
  position: relative; display: block; width: 100%; overflow: hidden; cursor: pointer;
  border: none; padding: 0; background: var(--bg-3); border-radius: 5px;
  box-shadow: 0 40px 90px -46px rgba(0, 0, 0, 0.75);
}
.work__reel { aspect-ratio: 21 / 9; margin-bottom: clamp(16px, 2.4vw, 28px); }
.work__tile { aspect-ratio: 16 / 9; }
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.work__media-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work__reel:hover .work__media-img, .work__tile:hover .work__media-img { transform: scale(1.05); }
.work__scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(6,6,7,0.6), rgba(6,6,7,0.05) 55%, rgba(6,6,7,0.18)); }
.work__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; color: var(--fg);
  transition: background .35s var(--ease), border-color .35s var(--ease); pointer-events: none;
}
.work__reel:hover .work__play, .work__tile:hover .work__play { background: var(--accent); border-color: var(--accent); }
.work__play svg { width: 30px; height: 30px; margin-left: 4px; }
.work__play--sm { width: 54px; height: 54px; }
.work__play--sm svg { width: 21px; height: 21px; }
.work__reel-label, .work__cap {
  position: absolute; left: clamp(16px, 2.4vw, 30px); bottom: clamp(14px, 2.2vw, 24px);
  font-family: var(--sans); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg); pointer-events: none; text-shadow: 0 1px 14px rgba(0,0,0,0.6);
}
.work__reel-label { font-size: 12px; }
.work__cap { font-size: 11px; letter-spacing: 0.14em; }
@media (max-width: 720px) { .work__grid { grid-template-columns: 1fr; } .work__reel { aspect-ratio: 16 / 9; } }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: var(--pad); background: rgba(6,6,7,0.93);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { width: min(100%, 1100px); }
.lightbox__stage video { width: 100%; max-height: 82vh; display: block; border-radius: 6px; background: #000; }
.lightbox__close {
  position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(0,0,0,0.35); color: var(--fg); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .3s var(--ease), color .3s var(--ease);
}
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__close:hover { background: var(--fg); color: var(--ink); }

/* Thank-you page (form success) */
.merci { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--pad); background: var(--bg); }
.merci__logo { height: 60px; width: auto; margin-bottom: 26px; }
.merci .eyebrow { margin: 0 0 14px; }
.merci__title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 84px); line-height: 1.02; color: var(--fg); margin: 0; }
.merci__title em { color: var(--accent); font-style: italic; }
.merci__copy { color: var(--fg-soft); max-width: 44ch; margin: 22px 0 34px; line-height: 1.7; }

/* English label for the editorial image fallback (overrides starter FR text) */
.frame::after { content: "Visual coming"; }

/* Clients / "trusted by" strip */
.clients { background: var(--ink); padding: clamp(56px, 9vh, 104px) var(--pad); }
.clients__inner { max-width: var(--maxw); margin: 0 auto; }
.clients__eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted);
  text-align: center; margin: 0 0 42px;
}
/* Marquee — logos scroll right-to-left in a seamless infinite loop.
   Spacing lives in each item's padding (NOT flex gap) so the duplicated
   half is identical and translateX(-50%) loops with no jump. */
.clients__marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients__track {
  display: flex; align-items: center; width: max-content;
  animation: clients-scroll 42s linear infinite;
}
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.clients__logo { flex: 0 0 auto; display: flex; align-items: center; padding: 0 clamp(24px, 3.4vw, 54px); }
.clients__logo img {
  height: 30px; width: auto; display: block;
  opacity: 0.9;
  transition: opacity .4s var(--ease);
}
.clients__logo img:hover { opacity: 1; }
.clients__logo img.is-white { filter: brightness(0) invert(1); } /* black logos (BustOut, Fendi) → visible white */
.clients__logo img.is-md    { height: 46px; } /* Fendi wordmark — bumped up */
.clients__logo img.is-mark  { height: 64px; } /* square emblems (Point de Vue, TCC) need more presence */
.clients__logo img.is-wide  { height: 22px; } /* very wide wordmarks (Opty Line, China Daily) tamed */
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Footer logo */
.footer__logo { height: 88px; width: auto; margin: 0 auto; display: block; }

@media (max-width: 820px) {
  .clients__track { animation-duration: 30s; }
  .clients__logo img { height: 24px; }
  .clients__logo img.is-md { height: 34px; }
  .clients__logo img.is-mark { height: 52px; }
  .clients__logo img.is-wide { height: 18px; }
  .clients__logo { padding: 0 22px; }
  .nav__brand--logo img { height: 34px; }
}

/* Reduced motion: stop the scroll (handled by the global rule) and lay the
   logos out as a static, centered, wrapped row so none stay clipped. */
@media (prefers-reduced-motion: reduce) {
  .clients__track { width: auto; flex-wrap: wrap; justify-content: center; transform: none !important; }
}

/* Approach/Team slideshow — two editorial slides stacked in one grid cell, cross-fading */
.eswitch { display: grid; max-width: var(--maxw); margin: 0 auto; }
.eslide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s var(--ease); }
.eslide.is-active { opacity: 1; visibility: visible; }

/* Services subtitle — smaller line under the big "Services" title */
.amenities__sub { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 30px); color: var(--fg-soft); margin: 16px 0 0; line-height: 1.1; }
.amenities__sub em { color: var(--accent); font-style: italic; }

/* Contact form */
.cform { display: flex; flex-direction: column; gap: 18px; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform__field { display: flex; flex-direction: column; gap: 8px; }
.cform__label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.cform input, .cform textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--fg);
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 10px 2px; transition: border-color .35s var(--ease);
}
.cform textarea { resize: vertical; min-height: 84px; line-height: 1.6; }
.cform input:focus, .cform textarea:focus { outline: none; border-bottom-color: var(--accent); }
.cform .btn--solid { align-self: flex-start; margin-top: 6px; border: none; cursor: pointer; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot — hidden from humans */
.cform__captcha { margin: 4px 0 2px; }
@media (max-width: 980px) { .cform__grid { grid-template-columns: 1fr; } }

/* Footer contact details */
.footer__contact { display: flex; gap: 6px 26px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.footer__contact a, .footer__contact span { font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.footer__contact a:hover { color: var(--fg-soft); }
@media (max-width: 560px) { .footer__contact { justify-content: center; } }

/* Footer social icons */
.footer__social { display: flex; justify-content: center; gap: 16px; margin: 26px 0 0; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--fg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.footer__social a:hover { color: var(--ink); background: var(--fg); border-color: var(--fg); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; display: block; }
