/* =================================================================
   JCL COURTAGE — Design System  (v2 — premium typography pass)
   Brand: firebrick red #B22222 + warm grey (from logo)
   Display: Fraunces (variable optical serif) · Body: Inter Tight
   Direction: ultra-premium, editorial, reassuring wealth-management
   ================================================================= */

/* ------------------------------------------------------------------
   1. Design tokens
------------------------------------------------------------------ */
:root {
  /* ---- Brand --------------------------------------------------- */
  --red:        #B22222;   /* logo red — AA on all light surfaces  */
  --red-600:    #9C1D1D;
  --red-700:    #7E1717;   /* deep burgundy hover                  */
  --red-050:    #F7ECEC;   /* tint wash (surface only)            */

  /* ---- Neutrals (warm) — greys darkened for WCAG AA ----------- */
  --ink:        #1A1613;   /* 17:1 on cream — headings / body     */
  --ink-soft:   #2C2723;   /* 14:1 on cream — leads / nav         */
  --grey:       #5C5854;   /* secondary body text (AA everywhere) */
  --grey-400:   #726C64;   /* fine print, placeholders (AA)       */
  --grey-200:   #C9C2BA;   /* decorative borders only — not text  */

  /* ---- Surfaces ----------------------------------------------- */
  --cream:      #FCFAF6;   /* page background, warm ivory          */
  --sand:       #F4EEE5;   /* alt section                          */
  --sand-deep:  #EBE2D5;
  --white:      #FFFFFF;

  /* ---- Accent (champagne) ------------------------------------- */
  --gold:       #876732;   /* gold TEXT on light (AA)             */
  --gold-deco:  #B0894C;   /* hairlines / large decoration only  */
  --gold-soft:  #D8C49B;   /* accent on DARK sections (10.5:1)   */

  /* ---- Lines & elevation (softer, layered) ------------------- */
  --line:        rgba(26, 22, 19, 0.10);
  --line-strong: rgba(26, 22, 19, 0.16);
  --shadow-xs:  0 1px 2px rgba(26, 22, 19, 0.04);
  --shadow-sm:  0 2px 8px rgba(26, 22, 19, 0.06);
  --shadow-md:  0 8px 24px -8px rgba(26, 22, 19, 0.12), 0 2px 6px rgba(26, 22, 19, 0.05);
  --shadow-lg:  0 24px 60px -24px rgba(26, 22, 19, 0.18);
  --shadow-xl:  0 40px 90px -40px rgba(26, 22, 19, 0.26);
  --shadow-red: 0 12px 28px -12px rgba(178, 34, 34, 0.55);

  /* ---- Type families ----------------------------------------- */
  --font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fr-soft: 0;   /* Fraunces SOFT axis — 0 = crisp / serious      */
  --fr-wonk: 0;   /* Fraunces WONK axis — 0 = restrained / finance */

  /* ---- Fluid modular scale (≈1.20 mobile → 1.28 desktop) ----- */
  --step--1: clamp(0.875rem, 0.84rem + 0.16vw, 0.95rem);
  --step-0:  clamp(1.031rem, 0.99rem + 0.18vw, 1.0625rem);  /* body 16.5→17 */
  --step-1:  clamp(1.20rem, 1.13rem + 0.34vw, 1.40rem);     /* lead          */
  --step-2:  clamp(1.40rem, 1.27rem + 0.59vw, 1.80rem);     /* h4            */
  --step-3:  clamp(1.62rem, 1.40rem + 0.97vw, 2.30rem);     /* h3            */
  --step-4:  clamp(2.00rem, 1.62rem + 1.69vw, 3.25rem);     /* h2            */
  --step-5:  clamp(2.60rem, 1.85rem + 3.30vw, 4.90rem);     /* h1            */
  --step-6:  clamp(3.20rem, 2.10rem + 4.90vw, 6.50rem);     /* hero numerals */

  /* ---- Line-heights ------------------------------------------ */
  --lh-display: 1.04;
  --lh-heading: 1.10;
  --lh-snug:    1.32;
  --lh-body:    1.65;
  --lh-tight:   1.20;

  /* ---- Letter-spacing (optical compensation) ----------------- */
  --ls-display: -0.022em;
  --ls-h1:      -0.020em;
  --ls-h2:      -0.016em;
  --ls-h3:      -0.012em;
  --ls-body:    -0.003em;
  --ls-lead:    -0.006em;
  --ls-eyebrow:  0.18em;
  --ls-caps:     0.14em;

  /* ---- Reading measure --------------------------------------- */
  --measure:        65ch;
  --measure-narrow: 54ch;
  --measure-wide:   72ch;

  /* ---- Spacing scale (8px rhythm + 4px half-steps) ----------- */
  --s1: 0.5rem;  --s2: 0.75rem; --s3: 1rem;   --s4: 1.5rem;
  --s5: 2rem;    --s6: 3rem;    --s7: 4rem;    --s8: 6rem;

  /* ---- Metrics ----------------------------------------------- */
  --container: 1140px;
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------
   2. Reset & base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 110px;
  font-optical-sizing: auto;
  hanging-punctuation: first last;   /* Safari */
}
html:lang(fr) { quotes: "« " " »" "“" "”"; }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

::selection { background: var(--red); color: #fff; }

/* Skip link & screen-reader utility */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff;
  padding: 0.85rem 1.3rem; border-radius: 0 0 10px 0;
  font-weight: 600; font-size: 0.95rem;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------
   3. Typography
------------------------------------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" var(--fr-soft), "WONK" var(--fr-wonk);
  font-weight: 440;
  color: var(--ink);
}
h1 { font-size: var(--step-5); font-weight: 420; line-height: var(--lh-display); letter-spacing: var(--ls-h1); }
h2 { font-size: var(--step-4); line-height: var(--lh-heading); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--step-3); font-weight: 500; line-height: var(--lh-heading); letter-spacing: var(--ls-h3); }
h4 {
  font-family: var(--font-body);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-h3);
  color: var(--ink);
}

p { color: var(--grey); }
strong { color: var(--ink); font-weight: 600; }

.display-italic { font-style: italic; font-weight: 380; }

.lead {
  font-size: var(--step-1);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-lead);
  color: var(--ink-soft);
  max-width: var(--measure-narrow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--light { color: var(--gold-soft); }

/* Prose measure caps (scoped, premium reading length) */
.section-head p { max-width: 58ch; }
.section-head--center p { margin-inline: auto; }
.split__body > p { max-width: 60ch; }
.page-hero__lead { max-width: 56ch; }
.cta-band p { max-width: 52ch; }

/* ------------------------------------------------------------------
   3b. Micro-typography
------------------------------------------------------------------ */
h1, h2, h3, h4, .lead, .quote, .eyebrow, .acc-head, .section-head p {
  text-wrap: balance;
}
p, li, dd, .card p, .acc-body__inner, .form-note { text-wrap: pretty; }
.legal p, .legal li, .acc-body__inner { hyphens: auto; -webkit-hyphens: auto; }

/* Prose figures — oldstyle + proportional + ligatures (elegant) */
body, p, li, .lead, .card p, dd, blockquote {
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "onum" 1, "pnum" 1;
  font-variant-numeric: oldstyle-nums proportional-nums;
}
/* Numbers / stats / data — tabular lining figures (align column-to-column) */
.stat__num, .hero-years__num, .hero-years__txt, .nav-phone, .xcard__num,
.breadcrumb, table, td, th, time {
  font-feature-settings: "kern" 1, "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
}
/* Display headings — discretionary ligatures, lining figures */
h1, h2, h3, .quote {
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "calt" 1, "lnum" 1;
  font-variant-numeric: lining-nums;
}
/* All-caps labels — case-sensitive forms, even tracking */
.eyebrow, .footer-col h5, .tag, .field label, .btn, .brand__name {
  font-feature-settings: "kern" 1, "liga" 1, "case" 1;
  font-variant-numeric: lining-nums;
}
abbr[title] { font-variant-caps: all-small-caps; letter-spacing: 0.03em; text-decoration: none; cursor: help; }

/* ------------------------------------------------------------------
   4. Layout primitives
------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1320px; }

.section { padding-block: clamp(4.5rem, 3rem + 7vw, 8.5rem); }
.section--lg { padding-block: clamp(5rem, 4rem + 6vw, 9.5rem); }
.section--tight { padding-block: clamp(2.75rem, 2rem + 3.5vw, 4.5rem); }
.section--sand { background: var(--sand); }
.section--ink  { background: var(--ink); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255,255,255,0.74); }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 0.85rem; }
.section-head p { margin-top: 1.5rem; font-size: var(--step-1); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.divider { height: 1px; background: var(--line); border: 0; }

/* ------------------------------------------------------------------
   5. Focus-visible (accessible keyboard indicator)
------------------------------------------------------------------ */
:focus:not(:focus-visible) { outline: none; }
:where(a, button, .btn, .text-link, .nav-links a, .nav-item__toggle,
       .footer-col a, .footer-social a, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 6px rgba(178, 34, 34, 0.20);
}
.btn:focus-visible, .pill:focus-visible { border-radius: 100px; }
.nav-links a:focus-visible::after { transform: scaleX(1); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-050);
}
.form-consent input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
/* Dark surfaces → gold ring for contrast */
.section--ink :where(a, button, .btn):focus-visible,
.site-footer  :where(a, button, .btn):focus-visible,
.cta-band     :where(a, button, .btn):focus-visible,
.btn--light:focus-visible, .btn--ink:focus-visible {
  outline: 3px solid var(--gold-soft);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.22);
}

/* ------------------------------------------------------------------
   6. Buttons
------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.9rem 1.7rem;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, box-shadow 0.4s, border-color 0.3s;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-700); transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(178, 34, 34, 0.6); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-soft); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.4px var(--line-strong); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.4px var(--ink); transform: translateY(-2px); }

.btn--light { background: rgba(255,255,255,0.08); color: #fff; box-shadow: inset 0 0 0 1.4px rgba(255,255,255,0.25); }
.btn--light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

.btn--lg { min-height: 54px; padding: 1.05rem 2.1rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-block: 0.3rem;
  font-weight: 600;
  color: var(--red);
  transition: gap 0.3s var(--ease);
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.text-link:hover { gap: 0.7rem; }
.text-link:hover span, .text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------
   7. Header / Navigation
------------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background 0.4s var(--ease), box-shadow 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(252, 250, 246, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  padding-block: 0.7rem;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* Brand logotype */
.brand { display: inline-flex; align-items: baseline; gap: 0.42rem; line-height: 1; }
.brand__mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.62rem;
  letter-spacing: 0.01em;
  color: var(--red);
}
.brand__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--grey);
  transform: translateY(-1px);
}
.brand__name--light { color: rgba(255,255,255,0.66); }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  position: relative;
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0.4rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.42rem;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--red); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }

/* Dropdown (disclosure) */
.nav-item { position: relative; }
.nav-item__toggle {
  display: inline-flex; align-items: center; gap: 0.3rem;
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  border-radius: 8px; transition: color 0.25s;
}
.nav-item__toggle svg { width: 14px; height: 14px; transition: transform 0.3s; }
.nav-item:hover .nav-item__toggle,
.nav-item.is-open .nav-item__toggle,
.nav-item:focus-within .nav-item__toggle { color: var(--red); }
.nav-item:hover .nav-item__toggle svg,
.nav-item.is-open .nav-item__toggle svg { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 290px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav-item:hover .dropdown,
.nav-item.is-open .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.7rem 0.8rem; border-radius: 11px; transition: background 0.25s; }
.dropdown a:hover { background: var(--sand); }
.dropdown a::after { display: none; }
.dropdown .di { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 0.18rem; }
.dropdown .dt { font-weight: 600; font-size: 0.95rem; color: var(--ink); display: block; }
.dropdown .dd { font-size: 0.82rem; color: var(--grey); line-height: 1.45; }

.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-phone { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.nav-phone svg { width: 17px; height: 17px; color: var(--red); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--cream);
  padding: 6rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu a { padding: 1rem 0.5rem; font-family: var(--font-display); font-size: 1.5rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu a:active { color: var(--red); }
.mobile-menu .btn { margin-top: 1.8rem; }

/* ------------------------------------------------------------------
   8. Hero
------------------------------------------------------------------ */
.hero { position: relative; padding-top: clamp(8rem, 7rem + 6vw, 11rem); padding-bottom: clamp(4rem, 3rem + 5vw, 7rem); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(178,34,34,0.07), transparent 60%),
    radial-gradient(900px 600px at 6% 110%, rgba(176,137,76,0.08), transparent 55%),
    var(--cream);
}
.hero__grid { display: grid; grid-template-columns: 1.12fr 0.88fr; align-items: center; gap: clamp(2rem, 5vw, 5.5rem); }
.hero__content { max-width: 640px; }
.hero h1 { margin-top: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--red); font-weight: 380; }
.hero__sub { margin-top: 1.6rem; max-width: 52ch; }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__trust { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; align-items: center; }
.hero__trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; }
.hero__trust-item svg { width: 18px; height: 18px; color: var(--red); flex: none; }

.hero__visual { position: relative; }
.hero-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.4rem; box-shadow: var(--shadow-lg); }
.hero-years { display: flex; align-items: baseline; gap: 0.6rem; font-family: var(--font-display); }
.hero-years__num { font-size: var(--step-6); font-weight: 420; color: var(--red); line-height: 0.9; letter-spacing: -0.03em; }
.hero-years__txt { font-size: 1.15rem; color: var(--ink); line-height: 1.2; font-family: var(--font-body); font-weight: 600; }
.hero-card__rule { height: 1px; background: var(--line); margin: 1.6rem 0; }
.hero-card__list { display: grid; gap: 0.95rem; }
.hero-card__list li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.97rem; color: var(--ink-soft); font-weight: 500; }
.hero-card__list svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.hero-badge {
  position: absolute; bottom: -22px; right: -18px;
  background: var(--ink); color: #fff; border-radius: 16px;
  padding: 0.9rem 1.2rem; display: flex; align-items: center; gap: 0.7rem;
  box-shadow: var(--shadow-xl); font-size: 0.86rem; font-weight: 500; max-width: 230px;
}
.hero-badge svg { width: 26px; height: 26px; color: var(--gold-soft); flex: none; }

/* ------------------------------------------------------------------
   9. Partners marquee
------------------------------------------------------------------ */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--grey-400); transition: transform 0.4s; }
.marquee__item img { height: 100%; width: auto; max-width: 180px; object-fit: contain; opacity: 0.92; transition: opacity 0.4s, transform 0.4s; }
.marquee__item:hover img { opacity: 1; }
.marquee__item:hover { transform: scale(1.04); }
/* Fallback wordmark (shown only if the real logo file is missing) */
.marquee__item .partner-fallback { display: none; height: 38px; width: auto; opacity: 0.7; }
.marquee__item.is-fallback img { display: none; }
.marquee__item.is-fallback .partner-fallback { display: block; }
.marquee__item.is-fallback:hover .partner-fallback { opacity: 1; color: var(--ink); }
@media (max-width: 560px) { .marquee__item { height: 40px; } .marquee__item img { max-width: 140px; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------
   10. Cards & feature grids
------------------------------------------------------------------ */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width 0.5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { width: 100%; }
.card__icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--red-050); color: var(--red); margin-bottom: 1.4rem; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 0.7rem; }
.card p { font-size: 0.98rem; max-width: 42ch; }
.card__link { margin-top: 1.4rem; }

.xcard { display: flex; flex-direction: column; }
.xcard__num { font-family: var(--font-display); font-size: 0.95rem; color: var(--gold); letter-spacing: 0.1em; }
.xcard__tags { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; padding: 0.32rem 0.7rem; border-radius: 100px; background: var(--sand); color: var(--ink-soft); }

.why-list { display: grid; gap: 1.1rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-list .why-ic { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--white); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; color: var(--red); }
.why-list .why-ic svg { width: 21px; height: 21px; }
.why-list h4 { margin-bottom: 0.2rem; font-size: 1.12rem; }
.why-list p { font-size: 0.95rem; }

.checklist { display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--ink-soft); }
.checklist svg { width: 21px; height: 21px; color: var(--red); flex: none; margin-top: 0.15rem; }
.checklist--gold svg { color: var(--gold); }
.checklist--light li { color: rgba(255,255,255,0.84); }
.checklist--light svg { color: var(--gold-soft); }

/* ------------------------------------------------------------------
   11. Stats band
------------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2.6vw, 3.8rem); font-weight: 420; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.section--ink .stat__num { color: #fff; }
.stat__num span { color: var(--red); }
.section--ink .stat__num span { color: var(--gold-soft); }
.stat__label { margin-top: 0.7rem; font-size: 0.92rem; color: var(--grey); letter-spacing: 0.01em; }
.section--ink .stat__label { color: rgba(255,255,255,0.66); }

/* ------------------------------------------------------------------
   12. Process / steps
------------------------------------------------------------------ */
.steps { display: grid; gap: clamp(1.25rem, 2.5vw, 1.8rem); grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 2rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step__num { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 1.15rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem; }
.step:nth-child(4) .step__num { background: var(--red); }
.step h4 { margin-bottom: 0.5rem; font-size: 1.12rem; }
.step p { font-size: 0.93rem; }

/* ------------------------------------------------------------------
   13. Split feature
------------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: linear-gradient(150deg, var(--sand) 0%, var(--sand-deep) 100%); border: 1px solid var(--line); }
.split__body .eyebrow { margin-bottom: 1.1rem; }
.split__body h2 { margin-bottom: 1.2rem; }
.split__body > p { margin-bottom: 1.4rem; }
.split__body .checklist { margin-bottom: 1.8rem; }

.media-figure { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.media-glyph { width: 56%; height: auto; color: var(--red); opacity: 0.92; }

/* ------------------------------------------------------------------
   14. CTA band
------------------------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner { background: var(--ink); border-radius: var(--radius-lg); padding: clamp(2.6rem, 4vw, 4.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band__inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(178,34,34,0.30), transparent 60%), radial-gradient(500px 300px at 85% 110%, rgba(176,137,76,0.22), transparent 60%); }
.cta-band__inner > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 720px; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.76); margin: 1.2rem auto 2rem; font-size: var(--step-1); }
.cta-band__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------
   15. Page hero (interior)
------------------------------------------------------------------ */
.page-hero {
  position: relative;
  padding-top: clamp(8rem, 7rem + 5vw, 11rem);
  padding-bottom: clamp(2.5rem, 2rem + 3vw, 4rem);
  background: radial-gradient(900px 420px at 85% -20%, rgba(178,34,34,0.06), transparent 60%), var(--sand);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: var(--grey); margin-bottom: 1.3rem; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; }
.page-hero h1 { max-width: 16ch; }
.page-hero__lead { margin-top: 1.4rem; }
.page-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ------------------------------------------------------------------
   16. Accordion
------------------------------------------------------------------ */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0.2rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  color: var(--ink);
}
.acc-icon { position: relative; width: 22px; height: 22px; flex: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--red); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.acc-icon::before { width: 16px; height: 2px; }
.acc-icon::after  { width: 2px; height: 16px; transition: transform 0.4s var(--ease); }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.acc-body { overflow: hidden; max-height: 0; transition: max-height 0.5s var(--ease); }
.acc-body__inner { padding: 0 0.2rem 1.6rem; color: var(--grey); max-width: 68ch; }

/* ------------------------------------------------------------------
   17. Forms
------------------------------------------------------------------ */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 3rem); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  min-height: 48px;
  padding: 0.8rem 1rem;
  background: var(--cream);
  border: 1.4px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--grey-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: var(--white); box-shadow: 0 0 0 4px var(--red-050);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--red-600); background: #FDF6F6;
}
.field-error { display: flex; align-items: center; gap: 0.35rem; color: var(--red-600); font-size: var(--step--1); font-weight: 500; }
.field-error::before { content: "⚠"; font-size: 0.9em; }
.form-consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.86rem; color: var(--grey); }
.form-consent input { width: 20px; height: 20px; margin-top: 0.15rem; accent-color: var(--red); flex: none; }
.form-note { font-size: 0.82rem; color: var(--grey-400); margin-top: 0.4rem; }
.form-status { margin-top: 1rem; font-size: 0.9rem; font-weight: 600; color: var(--red-600); }

.contact-list { display: grid; gap: 1.6rem; }
.contact-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.contact-item__ic { width: 50px; height: 50px; flex: none; border-radius: 13px; background: var(--red-050); color: var(--red); display: flex; align-items: center; justify-content: center; }
.contact-item__ic svg { width: 23px; height: 23px; }
.contact-item h4 { margin-bottom: 0.2rem; font-size: 1.05rem; }
.contact-item p, .contact-item a { color: var(--grey); font-size: 0.98rem; }
.contact-item a:hover { color: var(--red); }

/* ------------------------------------------------------------------
   18. Footer
------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding-top: clamp(3.5rem, 5vw, 5.5rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand { margin-bottom: 1.3rem; }
.footer-brand p { font-size: 0.95rem; color: rgba(255,255,255,0.62); max-width: 32ch; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.footer-social a { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.72); transition: background 0.3s, color 0.3s, transform 0.3s; }
.footer-social a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.60); margin-bottom: 1.2rem; font-weight: 600; }
.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; font-size: 0.95rem; color: rgba(255,255,255,0.72); transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 0.7rem; font-size: 0.95rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-soft); flex: none; margin-top: 0.55rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255,255,255,0.60); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ------------------------------------------------------------------
   19. Misc / utilities
------------------------------------------------------------------ */
.pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.95rem; background: var(--white); border: 1px solid var(--line); border-radius: 100px; font-size: 0.83rem; font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.pill svg { width: 15px; height: 15px; color: var(--red); }
.pill--ink { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: #fff; box-shadow: none; }
.pill--ink svg { color: var(--gold-soft); }

.text-center { text-align: center; }
.muted { color: var(--grey); }
.mt-3 { margin-top: var(--s3); } .mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); }
.mt-6 { margin-top: var(--s6); } .mt-7 { margin-top: var(--s7); }

.quote { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 380; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); text-indent: -0.05em; }
.section--ink .quote { color: #fff; }
.quote em { color: var(--red); font-style: italic; }
.section--ink .quote em { color: var(--gold-soft); }
.quote-author { margin-top: 1.6rem; display: flex; align-items: center; gap: 0.9rem; }
.quote-author__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--red); color:#fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.2rem; overflow: hidden; }
.quote-author__meta strong { display: block; font-family: var(--font-body); }
.quote-author__meta span { font-size: 0.9rem; color: var(--grey); }

.profile-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.6rem); box-shadow: var(--shadow-md); }
.profile-card__avatar { width: 116px; height: 144px; border-radius: 16px; background: #DBDAD8; margin-bottom: 1.5rem; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }
.profile-card__avatar img, .quote-author__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-card__avatar img { object-position: center 16%; }
.quote-author__avatar img { object-position: center 56%; }
.profile-card h3 { margin-bottom: 0.3rem; }
.profile-card .role { color: var(--red); font-weight: 600; font-size: 0.95rem; margin-bottom: 1.2rem; }

/* ------------------------------------------------------------------
   20. Scroll reveal
------------------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); will-change: opacity, transform; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.06s; }
[data-reveal-delay="2"] { transition-delay: 0.12s; }
[data-reveal-delay="3"] { transition-delay: 0.18s; }
[data-reveal-delay="4"] { transition-delay: 0.24s; }
/* Above-the-fold hero content stays visible regardless of JS/observer timing */
.hero-cine [data-reveal], .page-hero [data-reveal] { opacity: 1; transform: none; }

/* ------------------------------------------------------------------
   21. Responsive
------------------------------------------------------------------ */
/* Contact layout + mobile-drawer phone (base) */
.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.mobile-menu .mm-phone {
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--red);
  display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 0.5rem;
}
.mobile-menu .mm-phone svg { width: 20px; height: 20px; }

/* ===== Laptop / tablet landscape (≤1024) ===== */
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.25rem 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Tablet portrait & below — nav collapses (≤900) ===== */
@media (max-width: 900px) {
  .nav-links, .nav-item, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { max-width: 460px; margin-inline: auto; }
  .hero-badge { right: 0; }
  .split { grid-template-columns: 1fr; gap: 2.4rem; }
  .split__media, .split--reverse .split__media { order: -1; min-height: 300px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-hero--image { min-height: 400px; }
  .page-hero--image::before { background: linear-gradient(180deg, rgba(20,16,13,0.48) 0%, rgba(20,16,13,0.42) 35%, rgba(20,16,13,0.82) 100%); }
}

/* ===== Large phone (≤720) ===== */
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 2.25rem; }
  .split__media { min-height: 280px; }
  .section-head p, .lead { font-size: 1.08rem; }
}

/* ===== Phone (≤560) ===== */
@media (max-width: 560px) {
  .container { padding-inline: 1.3rem; }
  .section { padding-block: clamp(3rem, 2.2rem + 6vw, 4.75rem); }
  .stats { grid-template-columns: 1fr; gap: 1.8rem; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .hero__actions .btn, .cta-band__actions .btn,
  .page-hero__actions .btn, .hero-cine__actions .btn { width: 100%; }
  .hero-card { padding: 1.6rem; }
  .cta-band__inner { padding: 2.4rem 1.5rem; }
  .acc-head { gap: 1rem; }
  .img-caption { left: 1rem; bottom: 0.9rem; font-size: 0.74rem; }
  .breadcrumb { font-size: 0.8rem; }
}

/* ===== Small phone (≤380) ===== */
@media (max-width: 380px) {
  .brand__mark { font-size: 1.45rem; }
  .brand__name { letter-spacing: 0.28em; }
  .container { padding-inline: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==================================================================
   22. EDITORIAL IMAGERY LAYER (v3 — "Maison de gestion de patrimoine")
   Cinematic hero, image-driven sections, film grain, refined motion
   ================================================================== */

/* ---- Film grain (filmic cohesion across the whole page) --------- */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-header, .mobile-menu { z-index: 100; }

/* ---- Cinematic full-bleed hero --------------------------------- */
.hero-cine {
  position: relative;
  min-height: clamp(640px, 94svh, 1000px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-cine__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-cine__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; will-change: transform; }
.hero-cine__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(20,16,13,0.90) 0%, rgba(20,16,13,0.64) 32%, rgba(20,16,13,0.20) 62%, rgba(20,16,13,0.05) 100%),
    linear-gradient(0deg, rgba(20,16,13,0.62) 0%, transparent 42%);
}
.hero-cine__inner { position: relative; padding-top: clamp(9rem, 8rem + 6vw, 13rem); padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); width: 100%; }
.hero-cine__content { max-width: 760px; }
.hero-cine .eyebrow { color: var(--gold-soft); }
.hero-cine h1 { color: #fff; margin-top: 1.4rem; text-shadow: 0 2px 40px rgba(0,0,0,0.25); }
.hero-cine h1 em { font-style: italic; color: var(--gold-soft); font-weight: 380; }
.hero-cine__sub { color: rgba(255,255,255,0.86); margin-top: 1.5rem; max-width: 50ch; }
.hero-cine__actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-cine__meta { margin-top: 2.6rem; display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem); flex-wrap: wrap; }
.hero-stat { display: flex; align-items: flex-end; gap: 0.6rem; }
.hero-stat__num { font-family: var(--font-display); font-size: clamp(2.8rem, 2rem + 3vw, 4rem); font-weight: 420; color: #fff; line-height: 0.85; letter-spacing: -0.02em; }
.hero-stat__txt { color: rgba(255,255,255,0.78); font-weight: 500; font-size: 0.98rem; max-width: 8ch; line-height: 1.15; }
.hero-vrule { width: 1px; align-self: stretch; min-height: 48px; background: rgba(255,255,255,0.25); }
.hero-points { display: grid; gap: 0.55rem; }
.hero-points li { display: flex; align-items: center; gap: 0.55rem; color: rgba(255,255,255,0.86); font-size: 0.94rem; font-weight: 500; }
.hero-points svg { width: 17px; height: 17px; color: var(--gold-soft); flex: none; }
.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.7); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero-scroll svg { width: 22px; height: 22px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---- Real images in split media -------------------------------- */
.split__media.has-img { background: var(--ink); }
.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.split__media[data-reveal].is-visible .media-img,
[data-reveal].is-visible .media-img { transform: scale(1); }
.split__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,13,0) 55%, rgba(20,16,13,0.45) 100%); pointer-events: none; }
.img-caption {
  position: absolute; left: 1.3rem; bottom: 1.1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.img-caption::before { content: ""; width: 22px; height: 1px; background: var(--gold-soft); }

/* Editorial frame accent for media */
.split__media.has-img { box-shadow: var(--shadow-lg); }

/* ---- Image-backed CTA ------------------------------------------ */
.cta-band--image .cta-band__inner { background: var(--ink); }
.cta-band--image .cta-band__inner > .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band--image .cta-band__inner > .cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.cta-band--image .cta-band__inner::before {
  background:
    linear-gradient(180deg, rgba(20,16,13,0.72) 0%, rgba(20,16,13,0.82) 100%),
    radial-gradient(700px 320px at 18% 0%, rgba(178,34,34,0.34), transparent 60%);
  z-index: 1;
}

/* ---- Founder quote on subtle marble ---------------------------- */
.quote-marble { position: relative; overflow: hidden; }
.quote-marble .quote-bg { position: absolute; inset: 0; z-index: 0; }
.quote-marble .quote-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.16; }
.quote-marble .container { position: relative; z-index: 1; }

/* ---- Image-backed interior page hero --------------------------- */
.page-hero--image { background: var(--ink); border-bottom: none; overflow: hidden; isolation: isolate; min-height: clamp(460px, 62vh, 640px); display: flex; align-items: center; }
.page-hero--image .container { width: 100%; }
.page-hero--image .ph-media { position: absolute; inset: 0; z-index: -2; }
.page-hero--image .ph-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero--image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(20,16,13,0.88) 0%, rgba(20,16,13,0.6) 45%, rgba(20,16,13,0.25) 100%), linear-gradient(0deg, rgba(20,16,13,0.55), transparent 50%);
}
.page-hero--image h1 { color: #fff; }
.page-hero--image .eyebrow { color: var(--gold-soft); }
.page-hero--image .page-hero__lead { color: rgba(255,255,255,0.84); }
.page-hero--image .breadcrumb { color: rgba(255,255,255,0.6); }
.page-hero--image .breadcrumb a:hover { color: #fff; }
.page-hero--image .breadcrumb svg { color: rgba(255,255,255,0.5); }

@media (max-width: 900px) {
  .hero-cine { min-height: 84svh; align-items: flex-end; }
  .hero-cine__media img { object-position: 62% center; }
  .hero-cine__scrim {
    background: linear-gradient(180deg, rgba(20,16,13,0.5) 0%, rgba(20,16,13,0.28) 28%, rgba(20,16,13,0.5) 64%, rgba(20,16,13,0.93) 100%);
  }
  .hero-cine__inner { padding-bottom: 3.25rem; }
  .hero-cine__sub { max-width: none; }
  .hero-cine__meta { gap: 1rem 1.6rem; }
  .hero-scroll { display: none; }
}
@media (max-width: 560px) {
  .hero-cine { min-height: 90svh; }
  .hero-cine__meta { flex-direction: column; align-items: flex-start; row-gap: 0.85rem; }
  .hero-vrule { display: none; }
  .hero-stat__num { font-size: 3.1rem; }
  .hero-stat__txt { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .media-img { transform: none !important; }
  .hero-scroll svg { animation: none; }
  body::after { display: none; }
}

/* ==================================================================
   23. Header over a DARK hero — light nav at the very top only,
   reverts to the (good) solid style as soon as you scroll (.is-scrolled)
   ================================================================== */
/* Soft top scrim so the nav stays legible full-width, even over the
   brighter (right) part of the photo. */
.site-header--transparent-light:not(.is-scrolled)::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 220%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,16,13,0.55) 0%, rgba(20,16,13,0.20) 55%, transparent 100%);
}
.site-header--transparent-light:not(.is-scrolled) .brand__mark { color: #fff; }
.site-header--transparent-light:not(.is-scrolled) .brand__name { color: rgba(255,255,255,0.74); }
.site-header--transparent-light:not(.is-scrolled) .nav-links a,
.site-header--transparent-light:not(.is-scrolled) .nav-item__toggle,
.site-header--transparent-light:not(.is-scrolled) .nav-phone {
  color: #fff;
  text-shadow: 0 1px 14px rgba(0,0,0,0.32);
}
.site-header--transparent-light:not(.is-scrolled) .nav-phone svg { color: var(--gold-soft); }
.site-header--transparent-light:not(.is-scrolled) .nav-links a:hover,
.site-header--transparent-light:not(.is-scrolled) .nav-links a.is-active,
.site-header--transparent-light:not(.is-scrolled) .nav-item:hover .nav-item__toggle,
.site-header--transparent-light:not(.is-scrolled) .nav-item.is-open .nav-item__toggle { color: var(--gold-soft); }
.site-header--transparent-light:not(.is-scrolled) .nav-links a::after { background: var(--gold-soft); }
.site-header--transparent-light:not(.is-scrolled) .nav-toggle span,
.site-header--transparent-light:not(.is-scrolled) .nav-toggle span::before,
.site-header--transparent-light:not(.is-scrolled) .nav-toggle span::after { background: #fff; }

/* Keep CTA copy crisply above the image scrim (fix stacking) */
.cta-band--image .cta-band__inner > :not(.cta-bg) { position: relative; z-index: 2; }
