/* ============================================================================
   Antipodes Capital — design system stylesheet
   ----------------------------------------------------------------------------
   Palette and typography follow the Antipodes Capital brand guidelines.
Palette:
   Encre         #0B2231
   Bleu profond  #153449
   Ardoise       #3E5B6B
   Brume         #D3DDE2
   Papier        #F5F4F1
   Turquoise     #0097B6

   Type:
   Archivo — headings, body and UI
   ========================================================================== */

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

img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
ul { list-style: none; }

/* ── tokens ────────────────────────────────────────────────────────────── */
:root {
  /* Florian palette */
 --ink: #0B2231;          /* Encre */
  --navy: #153449;         /* Bleu profond */
  --navy-deep: #0B2231;    /* Encre */
  --charcoal: #3E5B6B;     /* Ardoise */
  --grey: #3E5B6B;         /* Ardoise */
  --offwhite: #F5F4F1;     /* Papier */
  --white: #FFFFFF;
  --beige: #F5F4F1;        /* Papier */
  --turquoise: #0097B6;    /* Turquoise */

  /* Functional colours */
  --turquoise-ink: #00697F;
  /* Page 18: links on a light ground use #0B6E85. Turquoise itself is never
     used for text — page 16: "Le mouvement. Le tiret, l'état actif. Jamais en
     texte" — it is reserved for the dash, the active rail dot and accents. */
  --link: #0B6E85;
  --hairline: #D3DDE2;     /* Brume */
  --hairline-strong: #D3DDE2;
  --hairline-dark: rgba(211, 221, 226, 0.20);
  --grey-on-dark: #D3DDE2;

  --font-display: "Archivo", Arial, sans-serif;
  --font-body: "Archivo", Arial, sans-serif;

  --wrap: 1280px;
  --pad: 40px;
  --gap: 32px;
  --section-y: 112px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 640ms;

  /* Entrance easing for the homepage arrival. Symmetric-ish acceleration and
     deceleration, so the hero content eases in and settles rather than
     snapping — deliberately NOT the front-loaded --ease used for interface
     transitions. Scoped to the entrance only; chapter scrolling and every
     other transition keep using --ease. */
  --ease-entrance: cubic-bezier(0.4, 0, 0.2, 1);

  /* Archivo weight tokens — page 20 of the brand book:
       300 Light     grands chiffres (large figures only)
       400 Regular   texte courant
       500 Medium    libellés, surtitres
       600 Semibold  titres
     Plus the system fallback mandated there (Arial). */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  /* ── Page 21 · Échelle typographique — the eight levels, no more ──────
     Desktop (écran) values exactly as specified. Line heights and tracking
     are unitless / em so they hold at every responsive size below desktop. */
  --fs-display: 72px;   --lh-display: 1.02;  --tr-display: -0.02em;   /* -2%  */
  --fs-h1:      48px;   --lh-h1:      1.1;   --tr-h1:      -0.015em;  /* -1,5% */
  --fs-h2:      34px;   --lh-h2:      1.15;  --tr-h2:      -0.01em;   /* -1%  */
  --fs-h3:      26px;   --lh-h3:      1.25;  --tr-h3:      0;         /* 0   */
  --fs-lede:    21px;   --lh-lede:    1.5;   --tr-lede:    0;
  --fs-body:    17px;   --lh-body:    1.6;   --tr-body:    0;
  --fs-caption: 13px;   --lh-caption: 1.45;  --tr-caption: 0;
  --fs-eyebrow: 12px;   --lh-eyebrow: 1.2;   --tr-eyebrow: 0.28em;    /* +28% */

  /* Page 22: 66 characters maximum per line of text. */
  --measure: 66ch;

  /* Fixed-header geometry. The header is compact once it is stuck, and its
     height is the logo plus that padding. Deriving --header-h from those two
     values (rather than guessing a number) keeps the chapter heights, the
     anchor offset and the rail offset exactly in step with the header — which
     is what stops a sliver of the previous chapter showing beneath it. */
  --logo-h: 36px;
  --header-h: calc(var(--logo-h) + 1.8rem);   /* = 36px + 2 x 0.9rem = 64.8px */

  --rail-w: 2.6rem;
}
/* ── base ──────────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-body);
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(0, 151, 182, 0.18); }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  width: 100%;
}
.wrap--narrow { max-width: 920px; }

/* ── typography ─ pages 20–22 of the brand book ──────────────────────────
   Archivo is the only typeface. Headings are Semibold 600 at the specified
   desktop sizes, line heights and tracking; there is no extra level beyond
   the eight defined on page 21.

   "Font-size: X" is the desktop value and doubles as the ceiling for the
   clamp(), so the specified size is hit exactly at desktop widths and only
   reduces on narrower viewports — the hierarchy and its proportions hold.
   ──────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--navy);
}

/* The eight levels, set literally at desktop and scaled proportionally below
   1025px so the hierarchy and its proportions survive on smaller screens.
   Note: these are the LAST word on heading size — component rules must not
   cap them, or the hierarchy breaks. */

/* Display — 72 / 1.02 / −2% */
.display, .h-display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
}

/* H1 — 48 / 1.1 / −1,5% */
h1, .h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--tr-h1);
}

/* H2 — 34 / 1.15 / −1% */
h2, .h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--tr-h2);
}

/* H3 — 26 / 1.25 / 0 */
h3, .h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--tr-h3);
}

/* H4 is not a brand-book level; it is held at H3's rhythm and slightly smaller
   so the page still reads as the eight specified levels. */
h4, .h4 {
  font-size: 22px;
  line-height: var(--lh-h3);
  letter-spacing: var(--tr-h3);
}

/* Proportional step-down below desktop, preserving the hierarchy ratios.
   This is what lets the touch chapters become one viewport: without it the
   Display statements stayed at their fixed desktop size and each chapter grew
   far taller than a phone or tablet screen. */
@media (max-width: 1024px) {
  :root {
    --fs-display: clamp(2.2rem, 7.5vw, 56px);
    --fs-h1: clamp(1.95rem, 6vw, 40px);
    --fs-h2: clamp(1.5rem, 4.4vw, 29px);
    --fs-h3: clamp(1.25rem, 3.4vw, 23px);
    --fs-lede: clamp(1.0625rem, 2.6vw, 19px);
  }
  .display, .h-display { font-size: var(--fs-display); }
  h1, .h1 { font-size: var(--fs-h1); }
  h2, .h2 { font-size: var(--fs-h2); }
  h3, .h3 { font-size: var(--fs-h3); }
  h4, .h4 { font-size: clamp(1.15rem, 3vw, 20px); }
  .lede { font-size: var(--fs-lede); }
}
@media (max-width: 560px) {
  :root {
    --fs-display: clamp(1.9rem, 8.4vw, 2.5rem);
    --fs-h1: clamp(1.75rem, 7.2vw, 2.05rem);
    --fs-h2: clamp(1.4rem, 5.4vw, 1.65rem);
    --fs-h3: clamp(1.2rem, 4.4vw, 1.35rem);
  }
}

/* Body measure — page 22 mandates 66 characters maximum per line. */
p {
  max-width: var(--measure);
}

/* Chapô / lede — 21 / 1.5. This level stays available for a genuine editorial
   chapô; it is intentionally not repurposed. */
.lede {
  font-size: var(--fs-lede);
  line-height: var(--lh-lede);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-lede);
  color: var(--grey);
}

/* ── website prose components held at the BODY level ─────────────────────
   These three components are introductory prose, not editorial chapôs: the
   homepage hero body, the interior page-hero intro, and the closing CTA
   paragraph. At the 21px Lede level they competed with the headings and
   navigation, so they are Body 17 / 1.6 / 400 like the rest of the site's
   prose. Scoped to these components rather than to `.lede` itself, so the
   21px Chapô token and class remain intact for a real chapô later.
   The homepage Investors intro is in this group too: it was already Body on
   desktop, but below 1025px the responsive `.lede` step-down pulled it back
   to 19px, which was inconsistent. */
.hero .lede,
.page-hero .lede,
.block__cta .lede,
.is-homepage #investors .lede {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-body);
}

/* eyebrow / small caps label — page 21 SURTITRE: 12px / 1.2 / +28%, Medium
   500, capitals spaced. Page 22 renders it in Ardoise grey, and page 16 states
   turquoise is never used for text. */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium);
  line-height: var(--lh-eyebrow);
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--grey);
  display: inline-block;
}
.eyebrow--muted { color: var(--grey); }

/* section shell */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * 0.72); }
.section__head { margin-bottom: clamp(2.6rem, 5vw, 4.5rem); }
.section__head .eyebrow { margin-bottom: 1.4rem; }
.section__head p { margin-top: 1.6rem; }

/* background layers (no obvious alternating bands) */
.bg-offwhite { background: var(--offwhite); }
.bg-white    { background: var(--white); }
.bg-beige    { background: var(--beige); }
.bg-navy     { background: var(--navy); color: #fff; }
.bg-photo    { background: var(--navy-deep); }

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy .lede { color: rgba(255, 255, 255, 0.78); }
.bg-navy .eyebrow { color: var(--grey-on-dark); }
.bg-navy .eyebrow--muted { color: var(--grey-on-dark); }

/* ── buttons ───────────────────────────────────────────────────────────── */
/* Buttons are small-caps UI labels, so they take the Surtitre level
   (12 / 1.2 / Medium). The size token comes from the defined level rather than
   the previous 0.78rem literal (12.48px), which was an off-scale value. The
   tracking stays slightly tighter than a heading surtitre's because a control
   label is not a heading label. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-eyebrow);
  line-height: var(--lh-eyebrow);
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.72em 1.35em;
  border: 1px solid transparent;
  border-radius: 1px;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform 200ms var(--ease);
  min-height: 40px;
}
.btn:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { border-color: var(--hairline-strong); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(21, 52, 73, 0.04); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--offwhite); }
.btn--ghost-light { border-color: var(--hairline-dark); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn--text {
  padding: 0.4em 0; min-height: 0; border: 0;
  color: var(--link); letter-spacing: 0.04em;
}
.btn--text .arrow { transition: transform 260ms var(--ease); }
.btn--text:hover .arrow { transform: translateX(4px); }
.bg-navy .btn--text { color: var(--grey-on-dark); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }

/* Standalone link. Page 18 gives the link colour (#0B6E85) and page 22 rules
   out underlining as a decorative treatment, so the affordance is the colour
   plus position rather than a rule under the words. */
.link-underline {
  color: var(--link);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
.link-underline:hover { color: var(--navy); }

/* anchor scrolling: keep section tops clear of the fixed header */
[data-rail-section], #top { scroll-margin-top: var(--header-h); }

/* ── header ────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  padding-block: 1.35rem;
  background: transparent;
  transition: background 420ms var(--ease), box-shadow 420ms var(--ease),
              padding 420ms var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-header .brand {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1;
}
.site-header .brand__logo {
  display: block;
  width: auto;
  height: var(--logo-h);
}

.site-header .brand__logo--color {
  display: none;
}

.site-header.is-stuck .brand__logo--white {
  display: none;
}

.site-header.is-stuck .brand__logo--color {
  display: block;
}
.site-header.is-stuck {
  background: var(--offwhite);
  box-shadow: 0 1px 0 rgba(21, 52, 73, 0.09), 0 12px 30px -24px rgba(21, 52, 73, 0.4);
  padding-block: 0.9rem;
}
.site-header.is-stuck .brand { color: var(--navy); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 2rem; }
/* Navigation — Medium 500, set at the caption size rather than an arbitrary
   value, so it stays inside the eight-level system. */
.nav__list a {
  position: relative;
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  letter-spacing: 0.05em;
  line-height: var(--lh-caption);
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  padding-block: 0.4rem;
  transition: color 240ms var(--ease);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: var(--turquoise);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }
.site-header.is-stuck .nav__list a { color: var(--grey); }
.site-header.is-stuck .nav__list a:hover,
.site-header.is-stuck .nav__list a.is-active { color: var(--navy); }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.1em;
  font-weight: var(--fw-medium);
}
.lang a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  letter-spacing: inherit;
  font-weight: inherit;
  font-size: inherit;
  transition: color 200ms var(--ease);
}
.lang a:hover { color: #fff; }
/* Active language. Turquoise is reserved for "l'état actif" as a mark (the rail
   dot) but is explicitly never applied to text (page 16), so the active state
   is expressed with full-strength white (or the link colour on a light ground)
   against the dimmed inactive buttons. */
.lang a[aria-current="true"] { color: #fff; }
.site-header.is-stuck .lang a { color: var(--grey); }.site-header.is-stuck .lang a:hover { color: var(--navy); }
.site-header.is-stuck .lang a[aria-current="true"] { color: var(--link); }
.lang span { color: rgba(255, 255, 255, 0.5); }
.site-header.is-stuck .lang span { color: var(--hairline-strong); }

.nav-toggle { display: none; }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: 8rem 6rem;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
background:
  linear-gradient(180deg, rgba(11, 34, 49, 0.42) 0%, rgba(11, 34, 49, 0.18) 42%, rgba(11, 34, 49, 0.68) 100%),
  linear-gradient(90deg, rgba(11, 34, 49, 0.62) 0%, rgba(11, 34, 49, 0.32) 52%, rgba(11, 34, 49, 0.08) 100%);
}
.hero__inner { position: relative; width: 100%; }
.hero__eyebrow { color: rgba(255, 255, 255, 0.82); margin-bottom: 1.8rem; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 1.8rem; }
.hero .lede { color: rgba(255, 255, 255, 0.86); max-width: 52ch; margin-bottom: 2.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero .btn--ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}
.hero .btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.14); }

/* ── philosophy ────────────────────────────────────────────────────────── */
.philosophy__lead { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
/* The statement is a heading, so it takes the H2 level (600 / 34 / 1.15 /
   −1%). It previously used the Display level; H2 is the defined level for this
   semantic role, so no intermediate size is invented to preserve the old look.
   The complete type spec moves together — size, line-height and tracking — so
   H2 size is never paired with a Display rhythm. */
.philosophy__statement {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--tr-h2);
  color: var(--navy);
  max-width: 34ch;
}
.philosophy__statement span { display: block; }
.philosophy__statement span + span { padding-left: clamp(1.2rem, 4vw, 3.4rem); }
.philosophy__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.philosophy__figure { position: relative; }
.philosophy__figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.philosophy__body > p { color: var(--grey); font-size: var(--fs-body); line-height: var(--lh-body); }
.philosophy__body > p + p { margin-top: 1.3rem; }
.principle {
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--hairline-strong);
}
/* All of the following are spaced-capital labels, so they are the SURTITRE
   level (brand book page 21: 12 / 1.2 / +28%, Medium 500) and use its tokens
   rather than the near-level literals they previously carried (0.7rem/0.68rem
   with hand-written tracking). */
.principle__label {
  font-size: var(--fs-eyebrow); font-weight: var(--fw-medium);
  line-height: var(--lh-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--grey); display: block; margin-bottom: 0.9rem;
}
.principle__text {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--tr-h3);
  color: var(--navy);
  max-width: 24ch;
}
/* ── desktop homepage: viewport chapters ────────────────────────────────
   Every major homepage chapter is a single composed screen. Each one is
   exactly `--chapter-h` tall (= one viewport minus the fixed header) and
   centres its content inside that box, so a chapter reads top to bottom
   before the next one begins.

   This replaces the earlier one-off "Philosophy — desktop viewport
   composition" overrides (a #philosophy height + padding + figure max-height
   patch). Those rules are consolidated here into one strategy that covers
   every chapter, and are not layered on top of anything.
   ─────────────────────────────────────────────────────────────────────── */

/* Fallback for browsers without svh: plain vh, still correct for a fixed header. */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  :root { --chapter-h: calc(100vh - var(--header-h)); }
}
@supports (height: 100svh) {
  @media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
    :root { --chapter-h: calc(100svh - var(--header-h)); }
  }
}

/* Gated on desktop-class input (a pointer that hovers), not width alone: a
   large tablet in landscape is wider than 1025px but must keep natural
   scrolling, so it deliberately does not get the chapter treatment. */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  /* The homepage scroller. Snap + the header offset live here so anchors,
     rail dots and snapped chapters all agree on one number. */
  .is-homepage {
    scroll-padding-top: var(--header-h);
  }

  /* Chapter settling is armed only on viewports tall enough for a chapter to
     be a real screen. On very short windows snapping fights the user, so it
     stays off and the page scrolls normally. */
  @media (min-height: 620px) {
    /* Decisive settling, not loose proximity: with every chapter exactly one
       viewport tall, `mandatory` locks the chapter into place once a gesture
       is under way, and `scroll-snap-stop: always` means one gesture moves
       one chapter rather than skimming past two. This is the no-JS baseline;
       the controller below takes over the timing when it is available. */
    .is-homepage { scroll-snap-type: y mandatory; }
    .is-homepage [data-rail-section] {
      scroll-snap-align: start;
      scroll-snap-stop: always;
    }
  }

  /* When the chapter controller is running (assets/js/antipodes.js) it owns
     the transition timing itself, so the native snap steps aside and the two
     never compete for the same gesture. */
  .is-homepage.chapters-js { scroll-snap-type: none; }

  /* ── the chapter box ─────────────────────────────────────────────────
     Height is driven by the viewport, not by generic section padding.

     On an unusually short viewport a chapter may genuinely not fit its
     content (the brand-book Display level is a large piece of type). The
     chapter is therefore allowed to GROW: height is a minimum rather than a
     fixed value, so the section runs a little longer than the screen instead
     of spilling into — and colliding with — the next chapter. That is the
     documented escape hatch; at any normal desktop height every chapter is
     exactly one screen.
     ──────────────────────────────────────────────────────────────────── */
  .is-homepage .hero,
  .is-homepage #philosophy,
  .is-homepage #about,
  .is-homepage #solutions,
  .is-homepage #who,
  .is-homepage #investors,
  .is-homepage #contact {
    min-height: 460px;
    box-sizing: border-box;
    overflow: visible;
  }

  /* The hero is one full viewport (it sits behind the transparent header);
     every chapter after it fills the available area below the fixed header.
     `min-height` rather than `height`: at normal desktop heights this is
     exactly the chapter height, and on an unusually short viewport the
     section grows (see the note above) instead of overlapping its neighbour. */
  .is-homepage #philosophy,
  .is-homepage #about,
  .is-homepage #solutions,
  .is-homepage #who,
  .is-homepage #investors,
  .is-homepage #contact {
    min-height: var(--chapter-h);
  }

  /* Sections that are not flex chapters get a flex column with centred
     content so the composition sits inside its box. */
  .is-homepage #philosophy,
  .is-homepage #about,
  .is-homepage #solutions,
  .is-homepage #investors,
  .is-homepage #contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* Chapters whose photograph should read as a full-height plane fill their
     chapter box, so the paper column and the image are sized from the chapter
     rather than from the copy's own height. Without this the Philosophy figure
     (which spans all three of its grid rows) was only as tall as the copy beside
     it, which made it visibly smaller than the About photograph even once the
     two columns were equal. */
  .is-homepage #philosophy > .wrap,
  .is-homepage #about > .wrap {
    width: 100%;
    flex: 1 1 auto;
  }
  /* About's grid is a single row, so it needs its own stretch to reach the
     filled height of its wrap. */
  .is-homepage #about > .wrap {
    display: flex;
    flex-direction: column;
  }
  .is-homepage #about .about__grid { flex: 1 1 auto; }
  /* Solutions shares the split-chapter photographic scale. */
  .is-homepage #solutions > .wrap { flex: 1 1 auto; }
  .is-homepage #investors > .wrap,
  .is-homepage #contact > .wrap {
    width: 100%;
  }

  /* Chapter padding is a height-responsive rhythm rather than the global
     --section-y value. Generous around the composition, tighter inside it. */
  .is-homepage #philosophy,
  .is-homepage #about,
  .is-homepage #solutions,
  .is-homepage #investors,
  .is-homepage #contact {
    padding-block: clamp(20px, 3.2vh, 44px);
  }

  /* Hero: one clean viewport, existing composition preserved.
     It stays a full viewport (100svh) because it sits behind the transparent
     header — so at scroll 0 the photograph fills the screen edge to edge.
     Later chapters are (100svh - header) so they fill the visible area below
     the solid header; the header covers the small overlap at each boundary,
     which is what keeps every chapter flush top and bottom. */
  .is-homepage .hero {
    height: 100vh;
    min-height: 460px;
    padding-block: clamp(5rem, 12vh, 8rem) clamp(2.5rem, 7vh, 6rem);
  }
  @supports (height: 100svh) {
    .is-homepage .hero { height: 100svh; }
  }
  /* NOTE ON THIS BLOCK: it now adjusts SPACING ONLY. Type sizes come from the
     brand-book scale (pages 20–21) and are not overridden here — capping a
     heading below its specified level to make a chapter fit would break the
     hierarchy, which is exactly what the brand book forbids. Where a chapter
     needed more room, the spacing below was tightened instead. */

  .is-homepage .hero__eyebrow { margin-bottom: clamp(0.9rem, 1.8vh, 1.8rem); }
  .is-homepage .hero h1 { margin-bottom: clamp(0.9rem, 1.8vh, 1.8rem); }
  .is-homepage .hero .lede { margin-bottom: clamp(1.2rem, 2.6vh, 2.6rem); }

  /* ── 02 Philosophy ─────────────────────────────────────────────────── */
  .is-homepage #philosophy .section__head { margin-bottom: clamp(0.4rem, 0.8vh, 0.9rem); }
  /* The former Display line-height override is removed: the statement now takes
     the complete H2 spec from its base rule, so pairing H2 size with a Display
     rhythm is no longer possible. */
  .is-homepage .philosophy__grid {
    margin-top: clamp(1rem, 2.2vh, 2rem);
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(1.6rem, 3vw, 3.4rem);
  }
  .is-homepage .philosophy__figure { max-width: none; }
  .is-homepage .philosophy__figure img {
    aspect-ratio: auto;
    width: 100%;
    height: clamp(200px, 34vh, 380px);
    object-fit: cover;
  }
  .is-homepage .philosophy__body > p + p { margin-top: clamp(0.6rem, 1.1vh, 1.1rem); }
  .is-homepage .principle {
    margin-top: clamp(0.9rem, 1.6vh, 1.6rem);
    padding-top: clamp(0.8rem, 1.4vh, 1.4rem);
  }
  .is-homepage .principle__label { margin-bottom: clamp(0.35rem, 0.7vh, 0.7rem); }

  /* ── 03 About — 50/50, figure sized to the available height ────────── */
  .is-homepage .about__grid {
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
  }
  .is-homepage .about__figure img {
    aspect-ratio: auto;
    width: 100%;
    height: clamp(260px, 52vh, 560px);
    object-fit: cover;
  }
  .is-homepage .about__body h2 {
    margin-bottom: clamp(0.7rem, 1.3vh, 1.3rem);
  }
  .is-homepage .about__body p + p { margin-top: clamp(0.5rem, 1vh, 1rem); }
  .is-homepage .about__principles {
    margin-top: clamp(1rem, 1.9vh, 1.9rem);
    gap: clamp(0.7rem, 1.3vh, 1.3rem) clamp(1.4rem, 2vw, 2.2rem);
  }
  .is-homepage .about__principles li { padding-top: clamp(0.5rem, 0.95vh, 0.95rem); }
  .is-homepage .about__principles .k { margin-bottom: 0.2rem; }

  /* ── 04 Solutions — list and sticky visual co-sized ────────────────── */
  .is-homepage #solutions .section__head { margin-bottom: clamp(1rem, 2vh, 2rem); }
  /* Section H2s take the level directly from the base h2 rule. The former
     viewport-dependent clamps (whose middle terms were 2.2vw / 2.3vw / 2.4vw /
     3.1vw) made each heading render at a different size — 28.16px to 46.87px
     across the tested desktop widths — instead of the specified 34px. Removed. */
  .is-homepage .solutions__grid { gap: clamp(1.6rem, 3vw, 3.2rem); }
  .is-homepage .solution { padding: clamp(0.85rem, 1.7vh, 1.7rem) 0; }
  .is-homepage .solution__panel-inner { padding-top: clamp(0.6rem, 1.1vh, 1.1rem); }
  .is-homepage .solutions__visual { position: static; top: auto; }
  .is-homepage .solutions__frame {
    aspect-ratio: auto;
    height: clamp(240px, 44vh, 470px);
  }
  /* The note under the list is sentence-case body copy, so it takes the Body
     level (17 / 1.6) from the base `p` rule. Its former 0.95rem inline literal
     in the template was removed so no override is needed here; only the spacing
     is tightened so the chapter closes cleanly. */
  .is-homepage .solutions__list > p { margin-top: clamp(0.8rem, 1.4vh, 1.4rem) !important; }

  /* ── 05 Who we work with — media band + three columns in one screen ──
     The band takes whatever height the chapter has left after the columns.

     `flex: 0 1 auto` with a definite height, rather than `flex: 1 1 auto`
     with `height:auto`: an auto-height flex item re-measures against its own
     transformed child (the .media-settle reveal scales the image to 1.06),
     so the band grew once that transform released — 735px at scroll 0 but
     956px further down the page. That made every section BELOW this one
     shift position depending on scroll, which broke anchor landing. A
     definite height breaks the feedback loop and keeps the chapter stable. */
  .is-homepage #who {
    /* A flex column so the media band can absorb the leftover height. */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-block: 0;
  }
  .is-homepage .who__media {
    /* The band's height must NOT depend on the lazy-loaded image.
       The photograph is loading="lazy", so at first paint it has height 0 and
       the flex item collapsed; once decoded, its intrinsic ratio drove the
       band to a different height. That made #who — and therefore every
       section below it — change height depending on scroll position, which
       silently broke anchor landing. An explicit height removes the image
       from the sizing chain entirely. */
    flex: 0 1 auto;
    height: clamp(240px, 46vh, 560px);
  }
  .is-homepage #who > .wrap.section {
    flex: 0 0 auto;
    padding-block: clamp(1rem, 3.2vh, 2.6rem) clamp(1rem, 3vh, 2.4rem);
  }
  .is-homepage .who__audiences li { padding-top: clamp(0.6rem, 1.2vh, 1.2rem); }
  .is-homepage .who__audiences .k { margin-bottom: 0.35rem; }

  /* ── 06 Investors & partners — statement and figure share the height ── */
  .is-homepage .investors__grid { gap: clamp(2rem, 4vw, 4.5rem); }
  .is-homepage .investors__statement {
    margin-bottom: clamp(0.7rem, 1.3vh, 1.3rem);
  }
  /* The Investors explanatory paragraph is ordinary prose, not a chapô, so it
     takes the Body level (17 / 1.6 / Regular) — the type itself now comes from
     the shared Body-level prose group above, so this rule carries only the
     chapter's own spacing. */
  .is-homepage #investors .lede {
    margin-bottom: clamp(0.7rem, 1.4vh, 1.4rem);
  }
  .is-homepage .investors__audiences {
    margin-top: clamp(0.9rem, 1.9vh, 1.9rem);
    gap: clamp(0.45rem, 0.9vh, 0.9rem) 2rem;
  }
  .is-homepage .investors__figure img {
    aspect-ratio: auto;
    width: 100%;
    height: clamp(280px, 54vh, 600px);
    min-height: 0;
    object-fit: cover;
  }
  /* The CTA block carries its own inline spacing in the template. */
  .is-homepage .investors__audiences + div { margin-top: clamp(1rem, 2.1vh, 2.1rem) !important; }

  /* ── 07 Get in touch — form and intro resolve inside the chapter ───── */
  .is-homepage #contact .contact__grid { gap: clamp(2rem, 4vw, 4.5rem); }
  .is-homepage .contact__intro h2 {
    margin-bottom: clamp(0.6rem, 1.1vh, 1.1rem);
  }
  .is-homepage .contact__details {
    padding-top: clamp(0.8rem, 2vh, 2.4rem);
    gap: clamp(0.7rem, 1.2vh, 1.2rem);
  }
  .is-homepage .form { gap: clamp(0.55rem, 1.1vh, 1.1rem); }
  .is-homepage .form__row { gap: clamp(1rem, 1.6vw, 1.4rem); }
  .is-homepage .field { gap: clamp(0.2rem, 0.45vh, 0.45rem); }
  .is-homepage .field input,
  .is-homepage .field select { padding: clamp(0.32rem, 0.7vh, 0.7rem) 0; }
  .is-homepage .field textarea {
    min-height: clamp(60px, 10vh, 110px);
    padding: clamp(0.32rem, 0.7vh, 0.7rem) 0;
  }
  .is-homepage .form__submit { margin-top: clamp(0.2rem, 0.5vh, 0.6rem); }

  /* ── editorial full-bleed photography ────────────────────────────────
     Photography as page architecture rather than a picture in a column.

     Rhythm is deliberate: the hero and the Clients band were already
     full-bleed, so only the two most photo-tolerant chapters are promoted
     here — About and Philosophy. Both are given a two-panel composition:
     the photograph runs to the viewport edge (About also to the bottom
     edge); for Philosophy the Paper panel runs to the edge. The remaining
     chapters stay restrained and text-led, so the page alternates between
     architectural and editorial rather than becoming uniformly full-bleed.

     Inset is clamped against the viewport width so the image can never
     spill sideways on narrow desktop windows — important because the
     photograph itself must not create horizontal overflow.
     ──────────────────────────────────────────────────────────────────────── */

  /* 03 About — asymmetric 50/50 split: photograph to the right and bottom
     edge, white copy panel to the left edge. The .wrap max-width and padding
     are both released so the photograph can actually reach the viewport edge
     rather than stopping at the 1280px content column.

     The grid fills the section's CONTENT box, not the border box: the section
     is border-box with height:--chapter-h and its own padding-block, so using
     min-height:--chapter-h here would overflow by 2 x padding. */
  .is-homepage #about {
    padding-inline: 0;
  }
  .is-homepage #about > .wrap {
    max-width: none;
    padding-inline: 0;
  }
  .is-homepage #about .about__grid {
    gap: 0;
    align-items: stretch;
    /* copy panel| photograph */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100%;
  }
  .is-homepage #about .about__body {
    order: 1;
    align-self: center;
    max-width: 44rem;
    margin-inline: auto;
    /* the text keeps an editorial margin and line length inside the panel */
    padding-inline: clamp(24px, 5vw, 84px);
  }
  .is-homepage #about .about__figure {
    order: 2;
    align-self: stretch;
    position: relative;
    overflow: hidden;
  }
  /* Absolute fill rather than height:100%.
     These photographs are portrait, so with a percentage height the image's
     own intrinsic height (width / 0.8) feeds back into the grid row and the
     row grows past the chapter. Taking the image out of flow keeps the row at
     the chapter height and lets object-fit do the cropping. Same technique as
     .who__media img and .solutions__frame img. */
  .is-homepage #about .about__figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* the subject (the walking figure) sits low, so bias the crop downward */
    object-position: 50% 62%;
  }

  /* 02 Philosophy — the mirror image: Paper copy panel to the right edge,
     the photograph to the left edge of the viewport. */
  .is-homepage #philosophy {
    padding-inline: 0;
  }
  .is-homepage #philosophy > .wrap {
    max-width: none;
    padding-inline: 0;
    display: grid;
    /* Paper copy panel | photograph, at equal weight. The split was previously
       40/60 because the statement sat at the Display level (72px) and needed the
       wider column to hold its lines. Now that the statement is H2 (34px) the
       copy needs far less width, and an equal split gives the photograph the same
       visual dimensions as the About chapter beside it. */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    /* eyebrow | statement | body, stacked beside the photograph */
    grid-template-rows: auto auto 1fr;
    align-items: start;
    column-gap: 0;
    /* Fills the section's content box (see the About note above). */
    min-height: 100%;
  }
  /* The photograph occupies the left column across all three rows. The figure
     is authored after the statement, so a row/column assignment is enough to
     move it up beside the eyebrow without touching the markup. */
  .is-homepage #philosophy .philosophy__figure {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: stretch;
    position: relative;
    overflow: hidden;
  }
  /* Absolute fill for the same reason as About above. */
  .is-homepage #philosophy .philosophy__figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }
  /* Content column: a Paper panel flush to the right viewport edge. */
  .is-homepage #philosophy .section__head,
  .is-homepage #philosophy .philosophy__lead,
  .is-homepage #philosophy .philosophy__body {
    grid-column: 2;
    padding-inline: clamp(24px, 3.4vw, 72px);
    width: 100%;
  }
  .is-homepage #philosophy .section__head { grid-row: 1; align-self: end; }
  .is-homepage #philosophy .philosophy__lead { grid-row: 2; align-self: start; }
  .is-homepage #philosophy .philosophy__body {
    grid-row: 3;
    align-self: start;
    margin-top: clamp(0.8rem, 1.6vh, 1.6rem);
    padding-bottom: clamp(20px, 3vh, 44px);
  }
  .is-homepage #philosophy .philosophy__grid {
    display: contents;
  }
}

/* ── tablet + mobile: the same chapter model, native snapping ───────────
   Phones and tablets get one viewport-sized chapter per section too, but
   with NATIVE CSS scroll snapping rather than the desktop controller: a
   touch swipe is already the platform's own gesture, so letting the browser
   own the snapping keeps the feel native and costs no JavaScript.

   This supersedes the earlier behaviour, where touch devices were left with
   natural scrolling and natural section heights.

   The desktop controller is unaffected and cannot compete with this: it is
   gated to desktop-class input (see the block above), so it never activates
   on a touch device, and the native snap is therefore never switched off
   here.
   ─────────────────────────────────────────────────────────────────────── */

/* Fallback for browsers without svh — plain vh, still correct for a fixed header. */
@media (hover: none), (pointer: coarse) {
  :root { --chapter-h: calc(100vh - var(--header-h)); }
}
@supports (height: 100svh) {
  @media (hover: none), (pointer: coarse) {
    :root { --chapter-h: calc(100svh - var(--header-h)); }
  }
}

/* Gated on TOUCH INPUT, not on width. A tablet in landscape can be wider than
   1024px (an iPad Pro is 1366px) and must still get the chapter treatment, so
   width alone would wrongly exclude it. Small non-touch windows are covered
   by the width clause. */
@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .is-homepage {
    scroll-padding-top: var(--header-h);
    scroll-snap-type: y mandatory;
  }
  .is-homepage [data-rail-section] {
    /* The header offset is already applied by `scroll-padding-top` on the
       scrolling element above, so it must NOT be applied a second time here.
       The global rule at "anchor scrolling: keep section tops clear of the
       fixed header" sets `scroll-margin-top: var(--header-h)` on the same
       elements; scroll-padding (container) and scroll-margin (child) do not
       cancel, they add, which pushed every snap point one header-height too
       high and left a strip of the previous chapter visible under the header.
       Neutralised for the touch chapter gate only. The global rule is kept,
       because it is what makes ordinary anchor links land correctly on
       interior pages. */
    scroll-margin-top: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* The footer must be a snap position in its own right.
     Under `scroll-snap-type: y mandatory` every resting position has to resolve
     to a snap point, and the only snap points are the seven [data-rail-section]
     chapters. The footer sits after the last chapter (<main> closes, then
     <footer> follows) and carried no scroll-snap-align at all, so the ~630px of
     scroll range it occupies had no snap point inside it. Dragging up revealed
     the footer, but on release the container resolved to the nearest snap point
     — #contact — and pulled the viewport back, making the footer unreachable.

     `align: end` makes the END of the content a snap position, which is the
     structurally correct anchor for a closing footer: it is the last thing on
     the page, and unlike `align: start` it stays correct if the footer ever
     grows taller than the viewport (start would then anchor the footer top and
     strand its lower content). The footer does NOT get data-rail-section: it
     stays outside the rail and outside the desktop controller, so desktop
     navigation is unaffected. */
  .is-homepage .site-footer {
    scroll-snap-align: end;
  }

  /* ── the chapter box ─────────────────────────────────────────────────
     One viewport per chapter, with the hero a full viewport because it sits
     behind the transparent header.

     `min-height`, not `height`: a section whose content genuinely cannot
     compress any further grows a little rather than being clipped or
     overlapped by its neighbour — the same escape hatch as desktop. Where
     that happens the content is still reachable, because the section simply
     runs longer than the screen.
     ──────────────────────────────────────────────────────────────────── */
  .is-homepage .hero {
    min-height: 100vh;
  }
  @supports (height: 100svh) {
    .is-homepage .hero { min-height: 100svh; }
  }

  .is-homepage #philosophy,
  .is-homepage #about,
  .is-homepage #solutions,
  .is-homepage #investors,
  .is-homepage #contact {
    min-height: var(--chapter-h);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .is-homepage #philosophy > .wrap,
  .is-homepage #about > .wrap,
  .is-homepage #solutions > .wrap,
  .is-homepage #investors > .wrap,
  .is-homepage #contact > .wrap {
    width: 100%;
  }

  /* #who is a media band above its columns, so it is laid out from the top
     rather than centred — centring would leave the band floating away from
     the chapter's top edge. */
  .is-homepage #who {
    min-height: var(--chapter-h);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-block: 0;
  }
  /* ── touch recomposition ────────────────────────────────────────────
     On touch viewports every chapter's grid collapses to a single column, so
     the stacked content is inherently taller than on desktop. To bring each
     chapter inside one screen the heavy section padding and the height
     photography may occupy are reduced, and the internal rhythm tightened.

     Typography is NOT reduced here — it follows the brand-book scale-down
     defined further up — because shrinking type to win space would break the
     hierarchy.

     Note: these declarations must outrank the plain max-width blocks further
     down the file, which set --section-y for narrow windows. `padding-block`
     is therefore set directly on the sections rather than via the variable. */
  .is-homepage .section,
  .is-homepage #philosophy,
  .is-homepage #about,
  .is-homepage #solutions,
  .is-homepage #investors,
  .is-homepage #contact {
    padding-block: clamp(20px, 4vh, 44px);
  }

  /* Photography is capped against the viewport so a tall stacked column
     cannot push the chapter past one screen. */
  .is-homepage #philosophy .philosophy__figure img,
  .is-homepage #about .about__figure img,
  .is-homepage #investors .investors__figure img {
    height: clamp(150px, 26vh, 300px);
  }
  /* Solutions carries the most copy of any chapter (three accordion rows whose
     prose is now Body-sized), so its visual takes a slightly tighter cap than
     the single-image chapters. The photographs elsewhere keep their scale. */
  .is-homepage #solutions .solutions__frame {
    height: clamp(130px, 22vh, 270px);
  }

  /* Tighter internal rhythm — the relationships stay, the air reduces. */
  .is-homepage .section__head { margin-bottom: clamp(0.7rem, 1.8vh, 1.6rem); }
  .is-homepage .philosophy__grid,
  .is-homepage .about__grid,
  .is-homepage .solutions__grid,
  .is-homepage .investors__grid,
  .is-homepage .contact__grid {
    gap: clamp(0.7rem, 1.8vh, 1.6rem);
    margin-top: 0;
  }
  .is-homepage .philosophy__statement { margin-bottom: 0; }
  .is-homepage .about__principles {
    margin-top: clamp(0.6rem, 1.4vh, 1.2rem);
    gap: clamp(0.4rem, 1vh, 0.8rem) clamp(1rem, 2vw, 1.6rem);
  }
  .is-homepage .about__principles li { padding-top: clamp(0.4rem, 0.9vh, 0.8rem); }
  .is-homepage .about__body h2 { margin-bottom: clamp(0.5rem, 1.2vh, 1rem); }
  .is-homepage .about__body p + p { margin-top: clamp(0.4rem, 0.9vh, 0.8rem); }
  .is-homepage .principle { margin-top: clamp(0.5rem, 1.2vh, 1.1rem); padding-top: clamp(0.5rem, 1vh, 1rem); }
  .is-homepage .solution { padding: clamp(0.3rem, 0.8vh, 0.75rem) 0; }
  /* The Solutions chapter is the tightest: three accordion rows, a note and a
     visual. Its prose is now Body-sized, so the height it needs is recovered from
     the accordion's own rhythm and the visual's height — never from the type. */
  /* Accordion descriptions are explanatory prose, so they take the Body level
     (17 / 1.6) rather than the 13px caption size. */
  .is-homepage .solution__panel p { font-size: var(--fs-body); line-height: var(--lh-body); }
  .is-homepage .solution__panel-inner { padding-top: clamp(0.3rem, 0.7vh, 0.7rem); }
  /* Note: no font-size here. The note is ordinary body copy and takes the Body
     level (17 / 1.6). The previous round set it to the 12px surtitre size, which
     made the same hierarchy read 12px here and 17px elsewhere. */
  .is-homepage .solutions__list > p { margin-top: clamp(0.4rem, 1vh, 0.9rem) !important; }
  .is-homepage #solutions .section__head h2 { margin-bottom: 0; }
  .is-homepage .investors__audiences {
    margin-top: clamp(0.5rem, 1.2vh, 1.1rem);
    gap: clamp(0.3rem, 0.7vh, 0.7rem) clamp(1rem, 2vw, 1.6rem);
  }
  .is-homepage .contact__intro h2 { margin-bottom: clamp(0.4rem, 1vh, 0.9rem); }
  .is-homepage .form { gap: clamp(0.35rem, 0.8vh, 0.8rem); }
  .is-homepage .form__row { gap: clamp(0.35rem, 0.8vh, 0.8rem); }
  .is-homepage .field { gap: clamp(0.15rem, 0.35vh, 0.35rem); }
  .is-homepage .field input,
  .is-homepage .field select { padding: clamp(0.3rem, 0.6vh, 0.6rem) 0; }
  .is-homepage .field textarea { min-height: clamp(46px, 7vh, 84px); padding: clamp(0.3rem, 0.6vh, 0.6rem) 0; }
  .is-homepage .form__submit { margin-top: clamp(0.15rem, 0.4vh, 0.5rem); }

  /* ── phones: the column is tall and narrow, so the stacked content needs
     the remaining slack taken out of the largest blocks. Type still follows
     the brand-book scale-down; only space and image height give way. ────── */
  @media (max-width: 560px) {
    .is-homepage #philosophy,
    .is-homepage #about,
    .is-homepage #solutions,
    .is-homepage #investors,
    .is-homepage #contact {
      padding-block: clamp(14px, 3vh, 30px);
    }
    /* Photography yields further: a 26vh image on a short phone screen is
       more than a quarter of the chapter. */
    .is-homepage #philosophy .philosophy__figure img,
    .is-homepage #about .about__figure img,
    .is-homepage #investors .investors__figure img {
      height: clamp(120px, 18vh, 200px);
    }
    /* Solutions yields a little further still (see the touch block above). */
    .is-homepage #solutions .solutions__frame {
      height: clamp(104px, 15vh, 180px);
    }
    .is-homepage .who__media { height: clamp(150px, 24vh, 260px); }
    /* The Investors figure carries `min-height: 420px` in the base rule below,
       which would otherwise win over the height set above and hold the
       chapter open. Neutralise the floor for the chapter treatment. */
    .is-homepage #investors .investors__figure img {
      height: clamp(120px, 18vh, 200px);
      min-height: 0;
      aspect-ratio: auto;
    }
    /* The About principle list is the tallest block in that chapter on a
       phone (four rows + rules), so its rows tighten here. The type does NOT
       shrink: the title and its description both stay at the Body level so the
       card reads the same on a phone as on a desktop. */
    .is-homepage .about__principles .k { margin-bottom: 0.1rem; }
    .is-homepage .about__body h2 { margin-bottom: clamp(0.35rem, 0.9vh, 0.7rem); }
    /* Two remaining phone chapters need a little more room. The About body is
       eyebrow + heading + two paragraphs + four principle rows; the Contact
       form is six fields. Both tighten their rhythm rather than their type
       beyond the brand-book scale-down. */
    /* Prose stays at the Body level; the chapter recovers its height from
       spacing and imagery, never by shrinking the text. */
    .is-homepage .about__body p { font-size: var(--fs-body); line-height: var(--lh-body); }
    .is-homepage .about__body p + p { margin-top: clamp(0.3rem, 0.65vh, 0.55rem); }
    .is-homepage .about__principles { gap: clamp(0.25rem, 0.6vh, 0.5rem); }
    .is-homepage .about__principles li { padding-top: clamp(0.3rem, 0.65vh, 0.6rem); }
    /* No font-size here: the principle title and its description both take the
       Body level from the base rules, so they cannot drift off-scale. */
    /* Prose stays at the Body level (see the About note above). */
    .is-homepage .contact__intro p { font-size: var(--fs-body); line-height: var(--lh-body); }
    .is-homepage .form { gap: clamp(0.2rem, 0.5vh, 0.6rem); }
    .is-homepage .form__row { gap: clamp(0.2rem, 0.5vh, 0.6rem); }
    /* The note under the button is genuine supporting information, so it takes the
       CAPTION level (13 / 1.45) — the level the desktop rule already uses. This
       override previously demoted it to the 12px surtitre size, which made the
       same content read 13px on desktop and 12px on a phone. */
    .is-homepage .form__note {
      font-size: var(--fs-caption);
      line-height: var(--lh-caption);
    }
    /* The submit row previously wrapped: the button sat on its own line and the
       note fell beneath it, which cost roughly a line of height for no gain.
       Side by side, the row is governed by the taller of the two.
       `flex: 0 0 auto` on the button is essential: without it the flex item
       shrinks, which squeezed the two-word label onto three lines and made the
       control look broken. The button keeps its own width and its own 40px
       minimum; the note takes the remaining space. */
    .is-homepage .form__submit {
      flex-wrap: nowrap;
      align-items: flex-start;
      gap: clamp(0.7rem, 1.6vw, 0.9rem);
      margin-top: clamp(0.2rem, 0.6vh, 0.6rem);
    }
    .is-homepage .form__submit .btn { flex: 0 0 auto; }
    .is-homepage .form__note { max-width: none; flex: 1 1 auto; }
    .is-homepage .field label { font-size: var(--fs-eyebrow); }
    /* The Contact chapter carries the most content of any chapter (intro, six
       fields, button and note). Everything below comes out of SPACING and
       control chrome only — the prose stays at Body 17, the field text stays at
       Body 17, and the button keeps its own 40px minimum. */
    .is-homepage .contact__details { padding-top: clamp(0.3rem, 0.8vh, 0.8rem); gap: clamp(0.3rem, 0.6vh, 0.6rem); }
    .is-homepage .contact__intro h2 { margin-top: 0.5rem; margin-bottom: clamp(0.25rem, 0.7vh, 0.7rem); }
    .is-homepage .field { gap: clamp(0.08rem, 0.25vh, 0.3rem); }
    .is-homepage .field label { line-height: 1.05; }
    .is-homepage .field input,
    .is-homepage .field select { padding: clamp(0.1rem, 0.35vh, 0.4rem) 0; }
    .is-homepage .field textarea { min-height: clamp(2.4rem, 5vh, 64px); padding: clamp(0.1rem, 0.35vh, 0.4rem) 0; }
    .is-homepage .form__submit { margin-top: 0; }
    .is-homepage .contact__grid { gap: clamp(0.2rem, 0.6vh, 1rem); }
    /* The About principle grid is already one column here; tighten its rows.
       Row rhythm only — the title and description keep the Body level. */
    .is-homepage .about__principles {
      margin-top: clamp(0.5rem, 1.1vh, 0.9rem);
      gap: clamp(0.3rem, 0.8vh, 0.6rem);
    }
    .is-homepage .about__body p + p { margin-top: clamp(0.3rem, 0.7vh, 0.6rem); }
    .is-homepage .principle { margin-top: clamp(0.4rem, 1vh, 0.9rem); padding-top: clamp(0.4rem, 0.8vh, 0.8rem); }
    .is-homepage .section__head { margin-bottom: clamp(0.5rem, 1.4vh, 1.2rem); }
    .is-homepage .philosophy__grid,
    .is-homepage .about__grid,
    .is-homepage .solutions__grid,
    .is-homepage .investors__grid,
    .is-homepage .contact__grid { gap: clamp(0.5rem, 1.4vh, 1.2rem); }
    .is-homepage .investors__audiences { margin-top: clamp(0.4rem, 1vh, 0.9rem); }
    .is-homepage .contact__details { padding-top: clamp(0.4rem, 1vh, 1rem); }
    .is-homepage .form { gap: clamp(0.3rem, 0.7vh, 0.7rem); }
    .is-homepage .field textarea { min-height: clamp(40px, 6vh, 72px); }
  }

  /* The Clients band keeps its photographic presence but yields height. */
  .is-homepage .who__media {
    height: clamp(180px, 30vh, 340px);
  }
  .is-homepage #who > .wrap.section {
    padding-block: clamp(0.8rem, 2.4vh, 2rem) clamp(0.8rem, 2.2vh, 1.8rem);
  }
}

/* Respect the reduced-motion preference: no snapping on any device. */
@media (prefers-reduced-motion: reduce) {
  .is-homepage { scroll-snap-type: none; }
}

/* ── about (50/50) ─────────────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__body h2 { margin-bottom: 1.6rem; max-width: 18ch; }
.about__body p { color: var(--grey); font-size: var(--fs-body); line-height: var(--lh-body); }
.about__body p + p { margin-top: 1.2rem; }
.about__principles {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 2.4rem;
}
.about__principles li { border-top: 1px solid var(--hairline-strong); padding-top: 1rem; }
/* ── repeated information-item titles — one shared treatment ──────────────
   About principle titles and Who column titles are the same semantic element:
   the title of one item in a repeating N-up set. They are therefore set at the
   BODY level, semibold, so that hierarchy inside the card comes from weight,
   spacing and rules rather than from a further font size. The description beside
   each title is the same size in Regular. They previously carried different
   per-section literals (1.25rem = 20px and 1.35rem = 21.6px), then H3 26. */
.about__principles .k {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  color: var(--navy);
  display: block;
  margin-bottom: 0.35rem;
}
.about__principles .v { color: var(--grey); font-size: var(--fs-body); line-height: var(--lh-body); }

/* ── solutions (numbered, interactive) ─────────────────────────────────── */
.solutions__grid {
  display: grid;
  /* Equal split, consistent with the About and Philosophy chapters: the
     photograph and the list carry the same visual weight. Previously
     1.15fr / 0.85fr, which left the visual smaller than the other
     split-layout chapters. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.solutions__list { border-top: 1px solid var(--hairline-strong); }
.solution {
  border-bottom: 1px solid var(--hairline-strong);
  padding: 2rem 0;
  cursor: pointer;
  transition: padding 420ms var(--ease);
}
.solution__row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: baseline; }
/* Numerals in a numbered list are small tabular figures, not spaced-capital
   labels, so they stay Medium but drop the wide label tracking (page 22:
   "chiffres tabulaires dans les tableaux"). */
.solution__num {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium);
  line-height: var(--lh-eyebrow);
  /* The numeral is a label, so it takes the surtitre level — but it is a
     FIGURE, and the brand book specifies tabular figures with even spacing
     rather than the wide +28% letter-spacing used for spaced capitals. The
     tracking is therefore deliberately not the surtitre's; see the report. */
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--grey);
  transition: color 300ms var(--ease);
  padding-top: 0.5rem;
}
/* Brand-book H3 level: 26 / 1.25 / 0. Sizes are clamps so the desktop value
   is hit exactly at desktop and the hierarchy holds on smaller screens. */
.solution__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  /* H3 level directly. The former clamp(1.3rem, 1.9vw, var(--fs-h3)) had a
     1.9vw middle term that dragged the title off-level below ~1420px
     (26 -> 20.8px across the tested desktop widths) instead of holding 26px. */
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--tr-h3);
  color: var(--navy);
  transition: color 300ms var(--ease);
}
.solution__toggle {
  width: 34px; height: 34px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  position: relative;
  align-self: center;
  transition: border-color 300ms var(--ease), background 300ms var(--ease);
}
.solution__toggle::before,
.solution__toggle::after {
  content: ""; position: absolute; inset: 50% 30%; height: 1px;
  background: var(--grey); transform: translateY(-50%);
  transition: transform 320ms var(--ease), background 300ms var(--ease);
}
.solution__toggle::after { transform: translateY(-50%) rotate(90deg); }
.solution__panel { overflow: hidden; height: 0; transition: height 460ms var(--ease); }
.solution__panel-inner { padding-top: 1.3rem; max-width: 58ch; }
.solution__panel p { color: var(--grey); font-size: var(--fs-body); line-height: var(--lh-body); }
.solution.is-open .solution__num { color: var(--grey); }
.solution.is-open .solution__title { color: var(--navy); }
.solution.is-open .solution__toggle { border-color: var(--turquoise); background: var(--turquoise); }
.solution.is-open .solution__toggle::before { background: #fff; }
.solution.is-open .solution__toggle::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.solution:hover .solution__toggle { border-color: var(--navy); }

.solutions__visual { position: sticky; top: 7rem; }
.solutions__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-deep); }
.solutions__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 620ms var(--ease), transform 1.4s var(--ease);
  transform: scale(1.04);
}
.solutions__frame img.is-active { opacity: 1; transform: scale(1); }

/* ── who we work with ──────────────────────────────────────────────────── */
.who { padding-block: 0; }
.who__media { position: relative; height: min(66vh, 620px); overflow: hidden; }
.who__media img { width: 100%; height: 100%; object-fit: cover; }
.who__media::after {
content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
  90deg,
  rgba(11, 34, 49, 0.72) 0%,
  rgba(11, 34, 49, 0.42) 45%,
  rgba(11, 34, 49, 0.14) 100%
);
}
.who__overlay {
   position: absolute;
  inset: 0;
  z-index: 2; display: flex; align-items: center;
}
.who__overlay .wrap { width: 100%; }
.who__overlay h2 { color: #fff; max-width: 22ch; }
.who__overlay .eyebrow { color: rgba(255, 255, 255, 0.95); margin-bottom: 1.4rem; }
.who__audiences {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}
.who__audiences li { border-top: 1px solid var(--hairline-strong); padding-top: 1.6rem; }
/* Repeated-item title — see the note above `.about__principles .k`. */
.who__audiences .k {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  color: var(--navy);
  display: block; margin-bottom: 0.7rem;
}
/* The descriptor is readable content, not a caption, so it takes the Body level. */
.who__audiences .v { color: var(--grey); font-size: var(--fs-body); line-height: var(--lh-body); }

/* ── investors ─────────────────────────────────────────────────────────── */
.investors__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: stretch;
}
/* Display level on the navy chapter: 600 / 1.02 / −2%, stepping down with the
   scale below desktop (was a fixed Display size at every width). */
.investors__statement {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  /* Heading semantics, so H2 — moved off the Display level. */
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--tr-h2);
  color: #fff;
  max-width: 14ch; margin-bottom: 1.8rem;
}
.investors__audiences {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 2rem; margin-top: 2.4rem;
}
.investors__audiences li {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  padding-left: 1.1rem; position: relative;
}
.investors__audiences li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 1px; background: var(--turquoise);
}
.investors__figure img { width: 100%; height: 100%; min-height: 420px; aspect-ratio: 4 / 5; object-fit: cover; }
.investors .lede { color: rgba(255, 255, 255, 0.76); }

/* ── contact ───────────────────────────────────────────────────────────── */
.contact__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5.5rem); align-items: start;
}
.contact__intro { display: flex; flex-direction: column; }
.contact__intro h2 { margin-bottom: 1.4rem; }
.contact__intro p { color: var(--grey); }
.contact__details { margin-top: auto; padding-top: 3rem; display: grid; gap: 1.4rem; }
.contact__details .k {
  font-size: var(--fs-eyebrow); font-weight: var(--fw-medium);
  line-height: var(--lh-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--grey);
  display: block; margin-bottom: 0.35rem;
}
.contact__details .v { color: var(--navy); font-size: var(--fs-body); line-height: var(--lh-body); }

.form { display: grid; gap: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: var(--fs-eyebrow); font-weight: var(--fw-medium);
  line-height: var(--lh-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--grey);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--hairline-strong);
  padding: 0.7rem 0;
  /* Form controls carry the reader's own text, so they take the Body level
     (17 / 1.6) rather than the previous 1rem literal (16px). */
  font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink);
  border-radius: 0;
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field select {
  appearance: none; cursor: pointer;
  padding-right: 1.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23555' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.15rem center;
  background-size: 13px 8px;
}
.field input::placeholder, .field textarea::placeholder { color: #8d8d86; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--turquoise);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field__error {
  font-size: 0.78rem; color: #B3261E; min-height: 0; display: none;
}
.field.has-error .field__error { display: block; }
.form__submit { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 0.6rem; }
.form__note { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--grey); max-width: 34ch; }
.form__status {
  font-size: 0.9rem; padding: 0.9rem 1.1rem; border-left: 2px solid var(--turquoise);
  background: rgba(0, 151, 182, 0.06); color: var(--navy); display: none;
}
.form__status.is-visible { display: block; }
.form__status.is-error { border-left-color: #B3261E; background: rgba(179, 38, 30, 0.06); }
.form[aria-busy="true"] .form__submit .btn { opacity: 0.6; pointer-events: none; }

/* ── footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--charcoal); color: #fff; padding-block: 4.5rem 2.4rem; }
.site-footer__top {
  display: grid; grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: 3rem;
}
/* guard: long menu labels must never blow the grid columns out */
.site-footer__top > * { min-width: 0; }
.site-footer__top ul { overflow-wrap: anywhere; }
.site-footer .brand {
  color: #fff; text-decoration: none; display: inline-flex; align-items: center;
}
/* The footer brand is the same white landscape logo asset as the header, so it
   is sized by the same logo token rather than as text. Slightly smaller than the
   header mark so it sits calmly in the footer's type rhythm. */
.site-footer .brand__logo {
  display: block;
  width: auto;
  height: calc(var(--logo-h) * 0.82);
}
.site-footer p { color: var(--grey-on-dark); font-size: var(--fs-caption); line-height: var(--lh-caption); max-width: 38ch; margin-top: 1.2rem; }
.site-footer h4 {
  font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: var(--fw-medium);
  line-height: var(--lh-eyebrow); letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase; color: var(--grey-on-dark); margin-bottom: 1.2rem;
}
.site-footer nav ul { display: grid; gap: 0.7rem; }
.site-footer nav a,
.site-footer ul a {
  color: rgba(255, 255, 255, 0.88); text-decoration: none; font-size: 0.92rem;
  transition: color 200ms var(--ease);
}
/* Footer link hover. Turquoise is never applied to text (page 16), so hover on
   the dark footer lightens to full white instead. */
.site-footer nav a:hover,
.site-footer ul a:hover { color: #fff; }
.site-footer__bottom {
  border-top: 1px solid var(--hairline-dark); padding-top: 1.8rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--grey-on-dark);
}
.site-footer__bottom .lang a { color: var(--grey-on-dark); }
.site-footer__bottom .lang a[aria-current="true"] { color: #fff; }
.site-footer__bottom .lang span { color: rgba(255, 255, 255, 0.28); }
.site-footer__legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-footer__legal a { color: var(--grey-on-dark); text-decoration: none; }
.site-footer__legal a:hover { color: #fff; }

/* ── page progress rail (desktop only) ─────────────────────────────────── */
/* Small isolated dots floating in a vertical column — no connecting track.
   Understated and editorial: the rail should almost disappear until the
   active turquoise point draws the eye. Spacing, chapter mapping, labels and
   the click / active-state / light-dark behaviour are all unchanged. */
.rail {
  position: fixed; top: 50%; right: 26px; transform: translateY(-50%);
  z-index: 60; display: flex; flex-direction: column; align-items: center;
}
.rail__dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(62, 91, 107, 0.30);   /* very subtle neutral grey */
  /* 13px + 6px + 13px preserves the original 32px dot-to-dot rhythm */
  margin-block: 13px;
  padding: 0;
  transition: background 300ms var(--ease), transform 300ms var(--ease);
}
.rail__dot::after {
  content: attr(data-label);
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  /* A spaced-capital label, so the surtitre level (tracking inherited). */
  font-size: var(--fs-eyebrow); font-weight: var(--fw-medium);
  letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--navy); white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.rail__dot:hover::after, .rail__dot:focus-visible::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.rail__dot:hover { background: var(--navy); }
.rail__dot.is-active { background: var(--turquoise); transform: scale(1.2); }
.rail__dot:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; }
.rail.is-inverted .rail__dot { background: rgba(255, 255, 255, 0.38); }
.rail.is-inverted .rail__dot::after { color: #fff; }
.rail.is-inverted .rail__dot:hover { background: #fff; }
.rail.is-inverted .rail__dot.is-active { background: var(--turquoise); }

/* ── legal dialogs ─────────────────────────────────────────────────────── */
dialog.legal {
  border: 0; padding: clamp(1.8rem, 4vw, 3rem);
  max-width: 640px; width: calc(100vw - 2.5rem);
  background: var(--white); color: var(--ink);
  box-shadow: 0 40px 90px -50px rgba(11, 34, 49, 0.6);
}
dialog.legal::backdrop { background: rgba(11, 34, 49, 0.55); backdrop-filter: blur(2px); }
dialog.legal h3 { color: var(--navy); }
dialog.legal p { color: var(--grey); font-size: var(--fs-body); line-height: var(--lh-body); }
dialog.legal p + p { margin-top: 0.9rem; }
dialog.legal .dialog__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; margin-bottom: 1.2rem;
}
dialog.legal .dialog__close {
  flex: 0 0 auto; width: 38px; height: 38px;
  border: 1px solid var(--hairline-strong); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
dialog.legal .dialog__close:hover { border-color: var(--navy); }
dialog.legal .dialog__note {
  margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--hairline);
  font-size: 0.82rem; color: var(--grey);
}

/* ── motion (only armed when JS is present, so no-JS still shows content) ─ */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 90ms; }
.js .reveal[data-delay="2"] { transition-delay: 180ms; }
.js .reveal[data-delay="3"] { transition-delay: 270ms; }
.js .media-settle img { transition: transform 1.4s var(--ease); transform: scale(1.06); }
.js .media-settle.is-in img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .media-settle img { transform: none !important; transition: none !important; }
  .solutions__frame img { transition: none; }
}

/* ── interior pages: hero band + editorial blocks ───────────────────────── */
.page-hero {
  position: relative;
  padding-block: 9rem 4.5rem;
  background: var(--offwhite);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.page-hero__grid:not(:has(.page-hero__figure)) { grid-template-columns: 1fr; }
.page-hero__copy { max-width: 48ch; min-width: 0; }
.page-hero h1 { margin-top: 1.3rem; max-width: 20ch; }
.page-hero .lede { margin-top: 1.6rem; max-width: 46ch; }
.page-hero__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.page-hero--light { background: var(--white); }

.page-hero--navy { background: var(--navy); color: #fff; }
.page-hero--navy h1 { color: #fff; }
.page-hero--navy .lede { color: rgba(255, 255, 255, 0.78); }
.page-hero--navy .eyebrow { color: var(--grey-on-dark); }

.page-hero--photo { background: var(--navy-deep); color: #fff; padding-block: 11rem 6rem; }
.page-hero--photo h1 { color: #fff; }
.page-hero--photo .lede { color: rgba(255, 255, 255, 0.82); }
.page-hero--photo .eyebrow { color: rgba(255, 255, 255, 0.95); }
.page-hero--photo .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero--photo .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(11, 34, 49, 0.61),
      rgba(11, 34, 49, 0.35) 38%,
      rgba(11, 34, 49, 0.63)
    ),
    linear-gradient(
      90deg,
      rgba(11, 34, 49, 0.79) 0%,
      rgba(11, 34, 49, 0.47) 52%,
      rgba(11, 34, 49, 0.19) 100%
    );
}

/* blocks */
.block { padding-block: clamp(4rem, 8vw, 7rem); }
.block__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.block__head { max-width: 36ch; }
.block__head h2 { margin-top: 1.2rem; }
.block__head--wide { max-width: 50ch; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.block__body p { color: var(--grey); }
.block__body p + p { margin-top: 1.2rem; }

.editorial-list { display: grid; gap: 2.2rem 3rem; grid-template-columns: 1fr; }
.editorial-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editorial-list li { border-top: 1px solid var(--hairline-strong); padding-top: 1.3rem; }
/* Item titles are repeated-information-item titles, not subsections: each names
   one item in an N-up set beside its own description. They therefore take the
   BODY level, semibold, so hierarchy inside the item comes from weight, spacing
   and rules rather than from a further font size. (Previously H3 26, and before
   that a 1.4rem literal.) A true subsection heading is `.numbered__content h3`. */
.editorial-list .k {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  color: var(--navy);
  display: block; margin-bottom: 0.5rem;
}
/* Item bodies are prose, not captions, so they take the Body level. */
.editorial-list .v { color: var(--grey); font-size: var(--fs-body); line-height: var(--lh-body); display: block; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__figure { order: 2; }
.split__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__body h2 { margin: 1.2rem 0 1.4rem; }
.split__body p { color: var(--grey); }
.split__body p + p { margin-top: 1.1rem; }

.numbered { border-top: 1px solid var(--hairline-strong); }
.numbered__item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: clamp(1rem, 3vw, 3rem);
  border-bottom: 1px solid var(--hairline-strong);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.numbered__num { font-size: var(--fs-eyebrow); font-weight: var(--fw-medium); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; color: var(--grey); padding-top: 0.6rem; }
.numbered__content h3 { margin-bottom: 1rem; }
.numbered__content p { color: var(--grey); }
.numbered__content p + p { margin-top: 1rem; }

.col-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.col-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col-grid__item { border-top: 1px solid var(--hairline-strong); padding-top: 1.5rem; }
/* Column titles are repeated-information-item titles, not subsections — see the
   note above `.editorial-list .k`. BODY level, semibold. (Previously H3 26, and
   before that a 1.6rem literal.) */
.col-grid__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  color: var(--navy);
  margin-bottom: 0.9rem;
}
.col-grid__item p { color: var(--grey); font-size: var(--fs-body); line-height: var(--lh-body); }
.col-grid__item p + p { margin-top: 0.9rem; }

.block--cta { padding-block: clamp(4.5rem, 9vw, 8rem); }
.block__cta { max-width: 52ch; }
.block__cta h2 { margin-bottom: 1.3rem; }
.block__cta .lede { margin-bottom: 2.2rem; }
/* ── responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
  .rail {
    display: flex;
    right: 10px;
    z-index: 60;
  }

  .rail__dot {
    width: 5px;
    height: 5px;
    /* 8.5px + 5px + 8.5px preserves the original 22px dot-to-dot rhythm */
    margin-block: 8.5px;
  }

  .rail__dot.is-active {
    transform: scale(1.25);
  }

  .rail__dot::after {
    display: none;
  }
}

/* ── tablet ────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  :root {
    --pad: 32px;
    --section-y: 92px;
  }
	.page-hero {
  padding-block: 8rem 3.5rem;
}

  /* Homepage grids */
  .philosophy__grid,
  .about__grid,
  .solutions__grid,
  .investors__grid,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .solutions__visual {
    position: static;
    order: -1;
  }

  .solutions__frame {
    aspect-ratio: 16 / 9;
  }

  .investors__figure {
    order: -1;
  }

  .investors__figure img,
  .about__figure img,
  .philosophy__figure img {
    aspect-ratio: 16 / 10;
  }

  .who__audiences {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }

  /* Interior-page grids */
  .page-hero__grid,
  .block__grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .page-hero__figure {
    order: -1;
  }

  .page-hero__figure img,
  .split__figure img {
    aspect-ratio: 16 / 10;
  }

  .split--reverse .split__figure {
    order: 0;
  }

  .col-grid--3,
  .col-grid--2,
  .editorial-list--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Let grid children shrink inside their columns */
  .philosophy__grid > *,
  .about__grid > *,
  .solutions__grid > *,
  .investors__grid > *,
  .contact__grid > *,
  .page-hero__grid > *,
  .block__grid > *,
  .split > * {
    min-width: 0;
    max-width: 100%;
  }
}


/* ── navigation / smaller tablet ───────────────────────────────────────── */

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: #fff;
    transition:
      transform 300ms var(--ease),
      opacity 200ms var(--ease);
  }

  .site-header.is-stuck .nav-toggle span {
    background: var(--navy);
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .site-header.nav-open {
    background: var(--navy);
  }

  .site-header.nav-open .brand {
    color: #fff;
  }

  .site-header.nav-open .nav-toggle span {
    background: #fff;
  }

  .nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 5rem var(--pad) 3rem;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 300ms var(--ease),
      visibility 300ms;
  }

  .site-header.nav-open .nav {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    display: grid;
    gap: 1.1rem;
  }

  .nav__list a {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 400;
    letter-spacing: 0;
  }

  .site-header.is-stuck .nav__list a,
  .site-header.nav-open .nav__list a {
    color: #fff;
  }

  .nav .lang {
    font-size: 0.85rem;
  }

  .nav .lang a {
    color: rgba(255, 255, 255, 0.75);
  }

  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .about__principles,
  .investors__audiences {
    grid-template-columns: minmax(0, 1fr);
  }

  .numbered__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }

  .numbered__num {
    padding-top: 0;
  }
}


/* ── mobile ────────────────────────────────────────────────────────────── */

@media (max-width: 560px) {
  :root {
    --pad: 28px;
    --section-y: 56px;
  }

  /* ── homepage contact: lighter on mobile ───────────────────────────────
     The email and office details are already on the Contact page, so the
     homepage chapter keeps only the form on a phone. */
  .is-homepage #contact {
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + 2rem);
  }

  .is-homepage #contact .contact__details {
    display: none;
  }

  .is-homepage #contact .form__submit {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .is-homepage #contact .form__note {
    max-width: 100%;
  }

  /* ── footer: tighten the mobile rhythm ─────────────────────────────────
     The footer does not need to fit one viewport, but its mobile spacing was
     generous (72px top padding, 48px under the link groups, 28.8px above the
     legal row, 11.2px between links). None of that was doing compositional
     work on a narrow screen. Desktop is untouched: this sits in the phone
     block. */
  .site-footer { padding-block: 2.75rem 1.75rem; }
  .site-footer__top { gap: 1.5rem; padding-bottom: 1.75rem; }
  .site-footer nav ul { gap: 0.45rem; }
  .site-footer p { margin-top: 0.85rem; }
  .site-footer h4 { margin-bottom: 0.85rem; }
  .site-footer__bottom { padding-top: 1.25rem; gap: 1.1rem; }

  /* ── interior-page blocks: a modest reduction on mobile ────────────────
     Interior blocks were using 64px top and bottom padding each, which on a
     phone spent 128px of every block's height on air. The blocks are a
     sequence (intro, list, split, cta), so trimming the shared value tightens
     the whole page rather than one block at a time. */
  .block { padding-block: 2.75rem; }
  .block--cta { padding-block: 3rem; }
  .page-hero { padding-block: 5rem 2.75rem; }

  /* ── homepage chapters: give short phones more usable room ─────────────
     A chapter is `100svh - header`, so on a 640px-tall phone the box is only
     575px while the content is authored for a desktop rhythm. The padding and
     the mobile image floors are therefore expressed against the viewport, so a
     short screen yields space instead of overflowing, and a tall phone stays
     close to the previous composition.
     This touches SPACING and image HEIGHT only — the type scale is untouched. */
  .is-homepage #philosophy,
  .is-homepage #about,
  .is-homepage #solutions,
  .is-homepage #investors,
  .is-homepage #contact {
    padding-block: clamp(0.75rem, 2.2vh, 1.6rem);
  }

  /* The photographic planes yield further on a short screen. They keep the
     mobile minimums but with lower floors, so the image is never crushed to a
     sliver while a 640px class viewport no longer overflows. */
  .is-homepage #philosophy .philosophy__figure img,
  .is-homepage #about .about__figure img,
  .is-homepage #investors .investors__figure img {
    height: clamp(104px, 15vh, 190px);
  }
  .is-homepage #solutions .solutions__frame {
    height: clamp(92px, 13vh, 165px);
  }
  /* One rule for the Who band (a single declaration, so no cascade ambiguity). */
  .is-homepage .who__media {
    height: clamp(120px, 18vh, 220px);
  }

  /* The Who band is a heading plus three audience cards; it has no section
     padding of its own, so its rhythm comes from these gaps. The three rows
     also kept the BASE rule's `padding-top: 1.6rem` on mobile — the desktop
     gate tightens it but the touch gate never did — so each row still opened
     with 25.6px of air (77px across three rows). This is the mobile half of
     that same rule. */
  .is-homepage #who > .wrap.section {
    padding-block: clamp(0.5rem, 1.5vh, 1.2rem) clamp(0.4rem, 1.2vh, 1rem);
  }
  .is-homepage .who__audiences { gap: clamp(0.35rem, 1vh, 0.9rem); }
  .is-homepage .who__audiences li { padding-top: clamp(0.5rem, 1.3vh, 1.1rem); }

  /* Investors carries a statement + intro + a four-item list + CTA; the
     heading margins were the largest single block of air in that chapter. */
  .is-homepage #investors .investors__statement {
    margin-top: 0.7rem;
    margin-bottom: clamp(0.4rem, 1.1vh, 0.8rem);
  }

  body {
    font-size: 16px;
  }
  /* Homepage hero.
     The hero is bottom-aligned (align-items: flex-end), so its content sits on
     the bottom padding edge. With the French copy the headline and body run
     longer, and a fixed 8rem/4rem padding plus generous inter-block margins
     pushed the second CTA below the fold on shorter phones. The padding and the
     margins are therefore expressed as vh-aware clamps, which yields space on
     short viewports while leaving tall phones close to the previous rhythm.
     Only space changes: type and button metrics are untouched. */
  .hero {
    min-height: 100svh;
    padding-block: clamp(4.5rem, 11vh, 8rem) clamp(1.5rem, 3.5vh, 4rem);
  }

  .hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.25rem);
    max-width: 11ch;
  }

  /* Tightened just enough that both CTAs clear the bottom edge on short
     viewports; the eyebrow, headline and body keep their type sizes. */
  .hero__eyebrow { margin-bottom: clamp(0.5rem, 1.4vh, 1.8rem); }
  .hero h1 { margin-bottom: clamp(0.5rem, 1.4vh, 1.8rem); }
  .hero .lede { margin-bottom: clamp(0.6rem, 1.6vh, 2.6rem); }

  .hero__actions {
    margin-top: clamp(0.6rem, 1.6vh, 2rem);
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(0.5rem, 1.2vh, 0.8rem);
  }

  .hero__actions .btn {
    width: auto;
  }
	.section__head {
  margin-bottom: 2.25rem;
}

.section__head .eyebrow {
  margin-bottom: 0;
}

  .philosophy__statement {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .philosophy__statement span {
    display: block;
    max-width: 100%;
  }

  .philosophy__statement span + span {
    padding-left: 0;
  }
  /* Investors image */
  .investors__figure img {
    width: 100%;
    max-width: 100%;
    min-height: 320px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  /* Interior-page hero */
  .page-hero {
    padding-block: 7.5rem 3.5rem;
  }

  .page-hero--photo {
    padding-block: 8.5rem 4rem;
  }
}
/* ── homepage entry / brand intro ────────────────────────────────────────
   The arrival, in layers. A full-screen navy brand screen clears first, then
   the page assembles beneath it:

     1. the navy screen dissolves away;
     2. the hero content block rises into place (one composed block);
     3. the header fades in independently.

   The hero PHOTOGRAPH never moves — it is already in its final position, and
   the media layer is explicitly excluded from the transform below. Only the
   content block and the header animate.

   Hidden by default. The inline script in <head> adds `.intro-pending` before
   first paint, so the brand screen never flashes in on repeat loads or when
   JS is unavailable. Reduced-motion visitors bypass the whole sequence.
   ─────────────────────────────────────────────────────────────────────── */
.intro { display: none; }

.intro-pending .intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-deep);
  opacity: 1;
  visibility: visible;
  /* Held on screen by the JS timeline; this duration is the dissolve that
     plays once `.is-leaving` is applied. Longer and calmer than an interface
     transition. */
  transition: opacity 900ms var(--ease-entrance) 0ms,
              transform 1100ms var(--ease-entrance) 0ms,
              visibility 0s linear 1100ms;
}

/* Wordmark: the final standalone ANTIPODES asset. */
.intro__mark {
  width: clamp(200px, 26vw, 400px);
  height: auto;
  opacity: 0;
  transform: translateY(10px);
  animation: intro-mark-in 900ms var(--ease-entrance) 80ms forwards;
}
/* Typeset fallback, used until the final asset is dropped in. */
.intro__word {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  animation: intro-mark-in 900ms var(--ease-entrance) 80ms forwards;
}

@keyframes intro-mark-in {
  to { opacity: 1; transform: none; }
}

/* Leaving state: the brand screen dissolves away. */
.intro.is-leaving {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
}

/* ── the arrival, layer by layer ─────────────────────────────────────────
   While the intro is up the page is held in its opening state: the hero
   content block sits below its resting position, and the header is simply
   absent. Nothing is hidden from assistive tech — this is presentational
   only, and the whole system is skipped under reduced motion.
   ──────────────────────────────────────────────────────────────────────── */

/* Layer 2 — hero content. One composed block: eyebrow, headline, body and
   CTAs move together, so nothing staggers against anything else. */
.intro-pending .hero__inner {
  opacity: 0;
  transform: translateY(28px);
}
.is-homepage .hero__inner {
  transition: opacity 950ms var(--ease-entrance) 260ms,
              transform 1150ms var(--ease-entrance) 260ms;
}

/* The hero photograph takes part in no entrance animation at all: it is
   already in its final position and must not zoom, pan, parallax or fade in.
   Overrides the shared .media-settle scale reveal and the .reveal fade for
   this one layer. Scoped to the homepage hero so interior-page imagery keeps
   its existing behaviour. */
.is-homepage .hero__media,
.is-homepage .hero__media img {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Layer 3 — header. Fades in independently of the hero content, on its own
   longer, later curve. */
.intro-pending .site-header {
  opacity: 0;
  transform: none;
}
.is-homepage .site-header {
  transition: opacity 1100ms var(--ease-entrance) 340ms;
}

/* The rail is chrome, not content: it arrives with the header, gently. */
.intro-pending .rail {
  opacity: 0;
}
.is-homepage .rail {
  transition: opacity 1100ms var(--ease-entrance) 420ms;
}

.intro-revealed .hero__inner,
.intro-revealed .site-header,
.intro-revealed .rail {
  opacity: 1;
  transform: none;
}

/* Reduced motion: the finished homepage, immediately — no entrance at all. */
@media (prefers-reduced-motion: reduce) {
  .intro-pending .intro { transition: opacity 150ms linear; }
  .intro__mark,
  .intro__word { opacity: 1; transform: none; animation: none; }
  .intro.is-leaving { transform: none; }
  .intro-pending .hero__inner,
  .intro-pending .site-header,
  .intro-pending .rail { opacity: 1; }
  .intro-pending .hero__inner { transform: none; }
  .is-homepage .hero__inner,
  .is-homepage .site-header,
  .is-homepage .rail { transition: none; }
}

/* ── print ─────────────────────────────────────────────────────────────── */
@media print {
  .site-header, .rail, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1 !important; transform: none !important; }
}