/* ==========================================================================
   sections.css — Per-section styles
   --------------------------------------------------------------------------
   Loaded LAST (after tokens.css + base.css). Holds the styling for each
   named section from the Phase 0 inventory. No magic numbers — reference
   the custom properties in tokens.css only.

   Phase 1 establishes the file, the section scaffold/order, and the two
   foundational, always-present components: the site header (with the
   EN | FR toggle) and the top scroll-progress bar. Full section layouts are
   built section-by-section in Phase 2.

   SECTION MAP (build order — Phase 2):
     [ ] site-header            nav: logo · Our Mission · Reporting · PDF · EN|FR
     [ ] scroll-progress        top progress bar
     [ ] report-hero            hero photo + headline + CTAs (video modal)
     [ ] welcome-message        Welcome + President/DG signatories
     [ ] highlight-news-exchange ┐
     [ ] highlight-sport-subs    │ 4 dark full-screen "big number" features
     [ ] highlight-eurofans      │
     [ ] highlight-awards        ┘
     [ ] pillar-strategy        eyebrow+headline+intro+priority cards+highlights
     [ ] pillar-content         (same component family)
     [ ] pillar-advocacy        (same component family)
     [ ] pillar-finance         quote + staff stats
     [ ] members-alliance       113 members + parallax wordmark rows
     [ ] stats-band             DEFERRED (awaiting copy/intent)
     [ ] site-footer            nav columns + newsletter + legal
   ========================================================================== */

/* ==========================================================================
   SHARED COMPONENTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   Pill buttons (.btn)  — used in hero, header, cards, …
   Figma: uppercase Poppins SemiBold 14px, letter-spacing 0.7px, pill radius.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-2xl);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: transform var(--transition-fast) var(--ease-standard),
    background var(--transition-fast) var(--ease-standard),
    box-shadow var(--transition-fast) var(--ease-standard),
    filter var(--transition-fast) var(--ease-standard);
}
/* Buttons don't lift (cards do); filled buttons brighten, outlines tint */

/* Primary — cyan accent, dark text (Figma a.bg-blue) */
.btn--primary {
  background: var(--color-accent);
  color: var(--color-text-on-light);
}
.btn--primary:hover { filter: brightness(1.06); }

/* Watch / video — rose fill, light text, hairline border (Figma 3:751) */
.btn--watch {
  background: var(--brand-rose);
  color: var(--white);
}
.btn--watch:hover { filter: brightness(1.06); }

/* Ghost / glass — translucent pill (Figma Download PDF a.btn) */
.btn--ghost {
  background: var(--color-surface);
  color: var(--color-text);
  border: var(--border-thin) solid var(--white-a16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: var(--color-surface-strong); }

/* Inline arrow icon inside a button */
.btn__icon {
  width: 1.125rem;  /* 18px (Figma) */
  height: 1.125rem;
  flex: none;
}

/* ==========================================================================
   SITE HEADER  (#site-header)  — Figma nav 4:2491, height --header-height
   Fixed dark bar over the hero: brand, anchor nav, Download PDF, EN|FR toggle.
   ========================================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-header);
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  /* Solid bar with a faint rose glow centred on the bottom edge (Figma) */
  background:
    radial-gradient(80% 120% at 50% 100%,
      rgba(239, 83, 158, 0.08) 0%, rgba(239, 83, 158, 0) 70%),
    var(--color-bg);
  border-block-end: var(--border-thin) solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  width: 100%;
  min-height: var(--header-height);
  padding-block: var(--space-sm);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
}
.site-header__brand svg,
.site-header__brand img {
  height: 2.25rem; /* 36px logo (Figma) */
  width: auto;
}

/* Language-driven logo swap — EN shows the EBU mark, FR the UER mark.
   i18n sets <html lang>, so this needs no JS. */
.logo-fr { display: none; }
html[lang="fr"] .logo-en { display: none; }
html[lang="fr"] .logo-fr { display: block; }

.site-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.site-header__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl); /* Figma 30px ≈ --space-xl(32) */
}

.site-header__nav-link {
  font-size: var(--fs-base);
  color: var(--navy-250); /* Link Water #d9e8f7 (Figma) */
  transition: color var(--transition-fast) var(--ease-standard);
}
.site-header__nav-link:hover {
  color: var(--color-text);
}

/* Make the in-header Download PDF pill match Figma's compact glass button */
.site-header__pdf {
  padding-block: var(--space-xs);
  font-size: var(--fs-base);
}

/* Hide-on-scroll: slides away scrolling down, returns scrolling up (main.js) */
.site-header {
  transition: transform var(--transition-base) var(--ease-standard);
}
.site-header.is-hidden { transform: translateY(-100%); }

/* --------------------------------------------------------------------------
   HEADER — responsive + mobile menu
   ≤768px the anchor links collapse into a hamburger menu panel.
   -------------------------------------------------------------------------- */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  border: var(--border-thin) solid var(--color-border-strong);
  color: var(--color-text);
}
.menu-toggle svg { width: 1.375rem; height: 1.375rem; }
.menu-toggle .menu-toggle__close { display: none; }
.menu-toggle.is-open .menu-toggle__open { display: none; }
.menu-toggle.is-open .menu-toggle__close { display: block; }

.mobile-menu {
  position: absolute;
  inset-block-start: 100%;
  inset-inline: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-md) var(--gutter) var(--space-lg);
  background: var(--color-bg);
  border-block-end: var(--border-thin) solid var(--color-border);
  box-shadow: var(--shadow-card);
}
/* The `display: flex` above overrides the UA [hidden] rule, so restore it:
   the menu stays closed until JS removes the `hidden` attribute on tap. */
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding-block: var(--space-xs);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--navy-250);
  border-block-end: var(--border-thin) solid var(--color-border);
}
.mobile-menu a:last-child { border-block-end: 0; }

@media (max-width: 900px) {
  .site-header__nav { gap: var(--space-md); }
  .site-header__links { gap: var(--space-md); }
  /* Anchor links collapse into the hamburger menu */
  .site-header__nav-link { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
  .site-header__pdf { display: none; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* --------------------------------------------------------------------------
   LANGUAGE TOGGLE  (.lang-toggle)  — EN | FR, text-only switch
   -------------------------------------------------------------------------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
  padding: var(--space-3xs);
  border: var(--border-thin) solid var(--color-border-strong);
  border-radius: var(--radius-pill);
}

.lang-toggle__option {
  min-width: 2.5rem;
  padding: var(--space-3xs) var(--space-xs);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  border-radius: var(--radius-pill);
  transition: background var(--transition-fast) var(--ease-standard),
    color var(--transition-fast) var(--ease-standard);
}
.lang-toggle__option:hover {
  color: var(--color-text);
}
.lang-toggle__option.is-active {
  color: var(--color-text-on-light);
  background: var(--color-accent);
}

/* ==========================================================================
   SCROLL PROGRESS BAR  (#scroll-progress)
   Width driven by --scroll-progress (0–1), set from main.js. GPU-friendly
   scaleX transform. Respects reduced-motion via the base.css token override.
   ========================================================================== */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-scrollbar);
  height: var(--scrollbar-height);
  background: var(--color-accent);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  transition: transform var(--transition-fast) var(--ease-out);
}

/* Anchor offset for the fixed header is handled once, by html's
   scroll-padding-top (base.css). A scroll-margin-top here too would
   double the gap, so it is deliberately omitted. */

/* ==========================================================================
   REPORT HERO  (#report-hero)  — Figma section#hero (3:737)
   Full-bleed background photo (video-ready) behind a vertically-centred
   headline and two CTAs. The header overlays the top of this section.
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate; /* keep the media's z-index local */
}

/* Background media — covers the section, sits behind content + overlay */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media picture { display: contents; } /* let <img> size against .hero__media */
.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Legibility veil: subtle darkening so white text always meets contrast */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--black-a20) 0%,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: -1;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2xl); /* Figma ~40px between headline and CTAs */
}

.hero__title {
  max-width: var(--container-narrow); /* 1152px (Figma container)            */
  margin: 0;
  font-size: var(--fs-fluid-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-hero);
  letter-spacing: var(--ls-hero);
  color: var(--white);
  text-shadow: var(--shadow-hero-text);
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md); /* Figma 20px */
}

/* --------------------------------------------------------------------------
   HERO — responsive
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; } /* full-width stacked CTAs on mobile */
}

/* ==========================================================================
   SHARED SECTION SCAFFOLD
   The page alternates dark and light sections. `.section--light` flips the
   background to white and text to ink tokens; eyebrow/accent stay branded.
   ========================================================================== */
.section { position: relative; }
.section__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section--light {
  background: var(--color-bg-light);
  color: var(--color-ink);
}
.section--dark {
  background: var(--color-bg);
  color: var(--color-text);
}

/* Eyebrow with leading rule (used by pillars) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-accent);
}
.eyebrow::before {
  content: "";
  width: 2rem;             /* 32px rule (Figma) */
  height: var(--border-medium);
  background: currentColor;
}

/* Decorative cyan glow orbs shared by dark feature/pillar sections */
.glow-orb {
  position: absolute;
  border-radius: var(--radius-pill);
  background: rgba(55, 197, 238, 0.05); /* --brand-cyan, halved per cleanup */
  filter: blur(70px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

/* "Read more" text link with arrow (priority cards) */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  color: var(--color-accent);
}
.read-more svg { width: 1rem; height: 1rem; transition: transform var(--transition-fast) var(--ease-out); }
.read-more:hover svg { transform: translateX(4px); }

/* ==========================================================================
   WELCOME MESSAGE  (#welcome-message)  — light section, Figma 3:1370
   ========================================================================== */
.welcome { padding-block: var(--section-pad-y); }
.welcome__inner {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 380px);
  gap: var(--space-3xl);
  align-items: start;
  position: relative; /* anchor + stacking context for .welcome-avatar */
  z-index: 0;
}

/* "Light Yellow Avatar" — same ring graphic as Our Mission, recoloured to
   #febf2f, sitting behind the Welcome content (z-index:-1). */
.welcome-avatar {
  position: absolute;
  z-index: -1;
  top: clamp(-2.5rem, -3vw, -0.5rem);
  right: calc(var(--gutter) * -0.4);
  width: clamp(340px, 56vw, 1018px);
  height: auto;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 768px) {
  .welcome-avatar { width: 92%; right: -8%; top: -1rem; opacity: 0.6; }
}
.welcome__body { display: flex; flex-direction: column; gap: var(--space-2xl); }
.welcome__title {
  font-size: var(--fs-fluid-section);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-display);
  color: var(--color-ink);
  /* subtle coloured glow behind the title (cf. .content__giant) */
  filter: drop-shadow(8px 8px 44px color-mix(in srgb, var(--brand-gold) 50%, transparent));
}
.welcome__intro { display: flex; flex-direction: column; gap: var(--space-lg); max-width: var(--container-text); }
.welcome__intro p { color: var(--color-ink); line-height: var(--lh-loose); max-width: 60ch; }
.welcome__closing {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  color: var(--color-ink);
}
.welcome__signatories {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-block-start: auto;
}
.signatory { display: flex; align-items: center; gap: var(--space-md); }
.signatory__photo {
  flex: none;
  width: 7rem;            /* 112px */
  height: 7rem;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: var(--border-thin) solid var(--navy-450);
}
.signatory__photo img { width: 100%; height: 100%; object-fit: cover; }
.signatory__name { font-weight: var(--fw-semibold); font-size: var(--fs-lg); color: var(--color-text-on-light); }
.signatory__role { font-size: var(--fs-md); color: var(--navy-450); }

@media (max-width: 768px) {
  .welcome__inner { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .welcome__signatories { flex-direction: row; flex-wrap: wrap; gap: var(--space-xl); }
}
@media (max-width: 480px) {
  .signatory__photo { width: 5.5rem; height: 5.5rem; }
}

/* ==========================================================================
   FEATURE-STAT HIGHLIGHTS  (#highlight-*)  — 4 dark full-screen sections
   Big number/label on one side, tilted media card on the other (alternating).
   Per-instance theme via the `--theme` custom property on the section.
   ========================================================================== */

.feature-stat__eyebrow {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  color: var(--theme, var(--brand-cyan));
}
.feature-stat__number {
  font-size: var(--fs-fluid-stat);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--white);
  filter: drop-shadow(8px 8px 44px color-mix(in srgb, var(--theme, var(--brand-cyan)) 60%, transparent));
}
.feature-stat__headline {
  font-size: var(--fs-fluid-h1);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--white);
  filter: drop-shadow(8px 8px 44px color-mix(in srgb, var(--brand-rose) 60%, transparent));
}
/* Inline emphasis inside a statement headline takes the stat's theme accent. */
.feature-stat__headline strong { color: var(--theme, var(--brand-rose)); font-weight: inherit; }
.feature-stat__label {
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  color: var(--white-a95);
  max-width: var(--container-text);
}
.feature-stat__label--accent { color: var(--theme, var(--brand-cyan)); font-weight: var(--fw-semibold); }

.feature-stat__card {
  position: relative;
  width: min(636px, 42vw);
  aspect-ratio: 636 / 358;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-thick) solid var(--white-a20);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: rotate(var(--card-rotation, 9deg));
}
.feature-stat__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }



/* ==========================================================================
   PILLAR — shared scaffold
   ========================================================================== */
.pillar { position: relative; overflow: visible; padding-block: var(--section-pad-y); }
/* decorative glows are clipped inside .pillar__bg, never the section itself,
   so card shadows are free to render past the padding box */
.pillar__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.pillar__head { display: flex; flex-direction: column; gap: var(--space-2xl); max-width: var(--container-narrow); }
.pillar__title {
  font-size: var(--fs-fluid-section);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
}
.pillar__lead { font-size: var(--fs-lg); line-height: var(--lh-loose); max-width: 60ch; }

/* "Other Highlights" sub-heading (rule + accent title) */
.pillar__subhead { display: flex; align-items: center; gap: var(--space-sm); }
.pillar__subhead::before { content: ""; width: 2rem; height: var(--border-medium); background: var(--color-accent); }
.pillar__subtitle {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  color: var(--color-accent);
}

/* --- Light pillar (strategy, advocacy) ink colours --- */
.pillar--light .pillar__title { color: var(--color-ink); }
.pillar--light .pillar__lead  { color: var(--color-ink); }
/* Figma: light-section eyebrows are neutral ink, and strategy's accents use
   the deeper Shakespeare cyan */
.pillar--light .eyebrow { color: var(--color-ink); }
#pillar-strategy .pillar__subtitle,
#pillar-strategy .pillar__subhead::before,
#pillar-strategy .read-more { color: var(--brand-cyan); }
#pillar-strategy .pillar__subhead::before { background: currentColor; }
/* subtle blue glow behind the Strategy & Transformation title (cf. .content__giant) */
#pillar-strategy .pillar__title {
  filter: drop-shadow(8px 8px 44px color-mix(in srgb, var(--brand-cyan) 50%, transparent));
}
/* --- Dark pillar (content, finance) --- */
.pillar--dark .pillar__title { color: var(--color-text); }
.pillar--dark .pillar__lead  { color: var(--color-text-muted); }
/* Content "Our Priorities" / "Other Highlights" labels are white (incl. dash) */
#pillar-content .content__priorities-label { color: var(--white); }
#pillar-content .pillar__subtitle { color: var(--white); }
#pillar-content .pillar__subhead::before { background: var(--white); }

/* ==========================================================================
   IMG-CARD — large image card with caption overlay (strategy priorities)
   ========================================================================== */
.img-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.img-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 517 / 420;
  box-shadow: var(--elev-rest);
}
.img-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.82) 100%);
}
.img-card__body {
  position: absolute;
  inset-inline: var(--space-2xl) var(--space-sm);
  inset-block-end: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.img-card__title { font-size: var(--fs-fluid-card); font-weight: var(--fw-semibold); line-height: var(--lh-snug); color: var(--white); }

/* ==========================================================================
   MINI-CARD — small "Other Highlights" card (body + image)
   Default: white body, dark text (content). `.mini-card--dark`: navy body.
   ========================================================================== */
.mini-card { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--elev-rest); }
.mini-card__body { flex: 1; padding: var(--space-lg); background: var(--white); }
.mini-card__title { font-size: var(--fs-lg); font-weight: var(--fw-semibold); line-height: var(--lh-snug); margin-block-end: var(--space-md); color: var(--brand-rose); }
.mini-card__text { font-size: var(--fs-md); line-height: var(--lh-relaxed); color: var(--color-ink); }
.mini-card__media { height: 184px; }
.mini-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mini-card--dark .mini-card__body { background: var(--color-bg); }
.mini-card--dark .mini-card__title { color: var(--color-text); }
.mini-card--dark .mini-card__text { color: var(--color-text-subtle); }
.mini-card--dark { border: var(--border-thin) solid var(--color-border); }

/* ==========================================================================
   PILLAR — STRATEGY  (#pillar-strategy)  — light section
   ========================================================================== */
/* overflow visible so the pinned Other Highlights scroller can stick */
#pillar-strategy { overflow: visible; }

/* "Light Blue Avatar" — decorative cyan ring graphic behind the Our Mission
   heading (from Figma node 135:19). Sits in the top-right of the content
   column, bleeding past the right edge and rising slightly above the eyebrow;
   z-index:-1 keeps it behind the heading text and the priority cards. */
.mission-avatar {
  position: absolute;
  z-index: -1;
  top: clamp(-2.5rem, -3vw, -0.5rem);
  right: calc(var(--gutter) * -0.4);
  width: clamp(340px, 56vw, 1018px);
  height: auto;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 768px) {
  .mission-avatar { width: 92%; right: -8%; top: -1rem; opacity: 0.6; }
}

/* ==========================================================================
   PILLAR — CONTENT  (#pillar-content)  — dark violet section
   ========================================================================== */
/* overflow visible so the pinned (sticky) priorities scroller can stick to the
   viewport; decorative glow is clipped by .pillar__bg instead (a sibling of the
   sticky element's ancestor chain). */
.pillar--content { background: var(--color-bg); overflow: visible; }
.pillar__bg { position: absolute; inset: 0; overflow: clip; pointer-events: none; z-index: 0; }
.pillar--content .glow-orb--rose {
  width: 70%; height: 40%; left: 15%; bottom: -10%;
  background: rgba(239, 83, 158, 0.04);
}
.content__hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: start; }
.content__giant {
  font-size: var(--fs-fluid-section);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--white);
  filter: drop-shadow(8px 8px 44px color-mix(in srgb, var(--brand-rose) 50%, transparent));
}
.content__lede { font-size: var(--fs-lg); line-height: var(--lh-loose); color: var(--color-text-muted); max-width: 60ch; }
.content__priorities-label {
  font-size: clamp(var(--fs-xl), 1rem + 2.2vw, var(--fs-4xl)); /* fluid so it fits phones */
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--brand-rose);
}
/* Strategy uses this label above its 3-card grid. The section's flex gap would
   leave it floating mid-way; pull it down so it sits close to the cards (like
   the Content version) — net label→grid gap resolves to var(--space-3xl). */
#pillar-strategy .content__priorities-label {
  margin-block-end: calc(var(--space-3xl) - var(--section-gap));
}
/* Pin track: when animating, JS sets an explicit height (100vh + horizontal
   travel) and the inner .promo-pin sticks to the viewport while the cards
   slide. Without JS / reduced-motion / ≤1024 it is a normal block. */
[data-promo-pin] { position: relative; }
.promo-pin { display: flex; flex-direction: column; gap: var(--space-2xl); }
[data-promo-pin].is-pinned .promo-pin {
  position: sticky;
  inset-block-start: 0;
  min-height: 100vh;
  min-height: 100dvh;
  justify-content: center;
}

/* Mini-card variant of the track (Other Highlights row) */
.promo-track--mini { gap: var(--space-md); }
.promo-track--mini .mini-card { flex: 0 0 min(308px, 80vw); }

/* --------------------------------------------------------------------------
   PROMO SCROLLER — three equal cards in one row; the 3rd deliberately breaks
   the right boundary. On wide screens main.js translates the track left as the
   user scrolls (scroll-linked) to bring the final card into view, reversing on
   scroll up. Baseline (no-JS / reduced-motion) is a swipeable overflow so the
   cards stay reachable; ≤1024 the cards stack.
   -------------------------------------------------------------------------- */
.promo-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  /* let card 3 bleed past the container to the page edge */
  margin-inline-end: calc(-1 * max(var(--gutter), (100vw - var(--container-max)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.promo-scroller::-webkit-scrollbar { display: none; }
.promo-scroller.is-animated { overflow: hidden; }            /* JS drives transform */
.promo-scroller:not(.is-animated) { scroll-snap-type: x proximity; }
.promo-scroller:not(.is-animated) .promo-card,
.promo-scroller:not(.is-animated) .mini-card { scroll-snap-align: start; }

.promo-track {
  display: flex;
  gap: var(--space-2xl);
  align-items: stretch;
  width: max-content;
  will-change: transform;
  /* trailing space: at the end of the scroll the last card rests at the
     container's right content edge instead of flush with the window — and
     the extra travel softens the pin's pacing */
  padding-inline-end: max(var(--gutter), (100vw - var(--container-max)) / 2 + var(--gutter));
}

/* Scroller heading row: label/subhead on the left, prev/next arrows right.
   z-index keeps the arrows above the scroller, whose negative top margin
   (shadow-clip room) otherwise overlaps and steals their lower hit-area. */
.promo-pin__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
/* let the label shrink/wrap instead of forcing the viewport wider on phones */
.promo-pin__head > :first-child { min-width: 0; }
.promo-nav { flex: none; }
.promo-nav { display: flex; gap: var(--space-2xs); }
.promo-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  border: var(--border-thin) solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-text);
  transition: background var(--transition-fast) var(--ease-standard),
    color var(--transition-fast) var(--ease-standard),
    opacity var(--transition-fast) var(--ease-standard);
}
.promo-nav__btn svg { width: 1.25rem; height: 1.25rem; }
.promo-nav__btn:hover:not(:disabled) { background: var(--color-accent); color: var(--color-text-on-navy); border-color: transparent; }
.promo-nav__btn:disabled { opacity: 0.35; cursor: default; }
/* On light sections, ink-coloured controls */
.section--light .promo-nav__btn {
  border-color: rgba(51, 57, 79, 0.25);
  background: rgba(51, 57, 79, 0.04);
  color: var(--color-ink-strong);
}

.promo-card {
  position: relative;
  flex: 0 0 min(700px, 80vw);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: clamp(var(--space-2xl), 5vw, 8rem) clamp(var(--space-xl), 4vw, 6rem);
  color: var(--white);
  isolation: isolate;
}
.promo-card--violet,
.promo-card--mesh { background: radial-gradient(120% 140% at 0% 0%, var(--brand-violet) 0%, #501e77 50%, var(--brand-violet-deep) 100%); }
.promo-card--news  { background: linear-gradient(242deg, #ff2a4a 0%, #562f49 38%, #273149 70%); }
/* Card 1 colourful mesh-gradient overlay (Figma mesh-gradient-10, rotated) */
.promo-card--mesh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: rotate(180deg); z-index: -1; }
.promo-card__eyebrow { font-size: var(--fs-md); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--white-a70); }
.promo-card--news .promo-card__eyebrow { color: var(--brand-gold); }
.promo-card__title { font-size: clamp(var(--fs-2xl), 1rem + 2vw, var(--fs-4xl)); font-weight: var(--fw-semibold); line-height: var(--lh-snug); letter-spacing: var(--ls-tight); }
.promo-card__desc { font-size: var(--fs-lg); line-height: var(--lh-relaxed); color: var(--white-a90); }
.promo-card__desc a { text-decoration: underline; }
.promo-card__cta { align-self: flex-start; margin-block-start: var(--space-2xs); }

/* White pill button used on the promo cards */
.btn--white { background: var(--white); color: var(--color-text-on-navy); }
.btn--white:hover { background: var(--navy-100); }

/* The pinned horizontal scroll applies at ALL widths (the cards are sized to
   min(card, 80vw) so they fit small screens). Reduced-motion still falls back
   to a swipeable row via .promo-scroller:not(.is-animated). */

.content__highlights { position: relative; }

/* ==========================================================================
   PILLAR — ADVOCACY  (#pillar-advocacy)  — light section, 2-col
   ========================================================================== */
.advocacy__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-2xl), 6vw, 9.75rem); align-items: start; }
.advocacy__lead { display: flex; flex-direction: column; gap: var(--space-2xl); }
.advocacy__headline {
  font-size: var(--fs-fluid-section);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  /* ink blue to match the other section titles, with a subtle green glow */
  color: var(--color-ink);
  filter: drop-shadow(8px 8px 44px color-mix(in srgb, var(--brand-green) 50%, transparent));
}
.advocacy__intro { font-size: var(--fs-lg); line-height: var(--lh-relaxed); color: var(--color-ink); max-width: 60ch; }
.advocacy__priorities-label { font-size: var(--fs-md); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--brand-teal); margin-block-end: var(--space-xl); }
.media-list { display: flex; flex-direction: column; gap: var(--space-2xl); }
.media-card { display: flex; gap: var(--space-lg); align-items: flex-start; }
.media-card--reverse { flex-direction: row-reverse; }
.media-card__media { flex: 0 0 266px; aspect-ratio: 266 / 150; border-radius: var(--radius-xs); overflow: hidden; }
.media-card__media img { width: 100%; height: 100%; object-fit: cover; }
.media-card__title { font-size: var(--fs-xl); font-weight: var(--fw-semibold); line-height: var(--lh-snug); color: var(--color-ink); margin-block-end: var(--space-2xs); }
.media-card__text { font-size: var(--fs-base); line-height: var(--lh-relaxed); color: var(--color-ink); }
/* Advocacy read-more + hover use the section's teal accent */
#pillar-advocacy .read-more { color: var(--brand-teal); margin-block-start: var(--space-xs); }
@media (hover: hover) {
  .media-card.card-clickable:hover .media-card__title { color: var(--brand-teal); }
}

/* ==========================================================================
   PILLAR — FINANCE  (#pillar-finance)  — dark section, light cards
   ========================================================================== */
.pillar--finance .glow-orb--a { width: 700px; height: 700px; left: -5%; top: 20%; }
.finance__headline {
  font-size: var(--fs-fluid-h1);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-display);
  color: var(--brand-gold);
  filter: drop-shadow(8px 8px 44px color-mix(in srgb, var(--brand-gold) 50%, transparent)); /* gold glow */
}
.finance-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-2xl); align-items: start; }
.info-card {
  background: var(--color-card-light);
  color: var(--color-text-on-light);
  border-radius: var(--radius-surface);
  padding: clamp(var(--space-xl), 4vw, 4rem);
  box-shadow: var(--elev-rest);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}
.info-card--stats { margin-block-start: var(--space-4xl); }
.info-card .eyebrow { color: var(--color-ink-subtle); }
/* breathing room between the "Financial Reporting" tag and the quote */
.info-card--quote .eyebrow { margin-block-end: var(--space-lg); }
.finance-quote { font-size: var(--fs-fluid-quote); font-weight: var(--fw-semibold); line-height: var(--lh-snug); letter-spacing: var(--ls-tight); color: var(--color-ink-strong); }
.finance-stat { display: flex; flex-direction: column; gap: var(--space-xs); }
.finance-stat__num { font-size: var(--fs-fluid-h1); font-weight: var(--fw-semibold); line-height: 1; letter-spacing: var(--ls-display); color: var(--navy-650); }
.finance-stat__num .pct { color: inherit; } /* % matches the number */
.finance-stat__label { font-size: var(--fs-lg); line-height: var(--lh-relaxed); color: var(--color-ink-muted); }
.finance-card__rule { border: 0; border-top: var(--border-thin) solid var(--navy-150); }
.info-card__watermark { position: absolute; inset-block-start: var(--space-2xl); inset-inline-end: var(--space-2xl); width: 128px; opacity: 0.05; color: var(--color-text-on-light); }
.info-card__watermark svg { width: 100%; height: auto; }

/* Solid/outline pills for finance cards */
.btn--solid-dark { background: var(--navy-650); color: var(--white); align-self: flex-start; }
.btn--solid-dark:hover { filter: brightness(1.18); }
.btn--outline-dark { background: transparent; color: var(--navy-650); border: var(--border-medium) solid var(--navy-650); align-self: flex-start; }
.btn--outline-dark:hover { background: rgba(51, 57, 79, 0.06); }

/* ---- Pillar responsive ---- */
@media (max-width: 1024px) {
  .img-card-grid { grid-template-columns: repeat(2, 1fr); }
  .content__hero,
  .advocacy__inner,
  .finance-grid { grid-template-columns: 1fr; }
  .info-card--stats { margin-block-start: 0; }
}
@media (max-width: 768px) {
  .img-card-grid { grid-template-columns: 1fr; }
  .img-card { aspect-ratio: 16 / 10; }
  .stat-tiles { gap: var(--space-md); }
  .collage { flex-direction: column; }
  .media-card, .media-card--reverse { flex-direction: column; }
  .media-card__media { flex-basis: auto; width: 100%; aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .stat-tiles { flex-direction: column; }
  .img-card__body { inset-inline: var(--space-lg); inset-block-end: var(--space-lg); }
}

/* ==========================================================================
   MEMBERS / ALLIANCE  (#members-alliance)  — light section, marquee rows
   ========================================================================== */
.members { position: relative; overflow: hidden; padding-block: var(--section-pad-y); }
.members__inner { display: flex; flex-direction: column; gap: var(--space-4xl); }
.members__intro { display: flex; flex-direction: column; gap: var(--space-sm); align-items: center; text-align: center; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
.members__statement { font-size: var(--fs-fluid-quote); font-weight: var(--fw-semibold); line-height: var(--lh-snug); letter-spacing: var(--ls-tight); color: var(--brand-rose); max-width: 30ch; }
.members__subtext { font-size: var(--fs-lg); line-height: var(--lh-base); color: var(--color-ink); max-width: var(--container-text); }
.members__subtext strong { color: inherit; }
.members__marquee { display: flex; flex-direction: column; gap: var(--space-2xl); }
.members__row { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
/* Self-running marquee (independent of scroll). The track holds two identical
   groups; translating it by -50% lands group 2 exactly where group 1 began →
   seamless loop. Direction + per-row duration vary the motion. */
.members__track {
  display: flex;
  flex: none;
  width: max-content;
  will-change: transform;
  animation: members-marquee var(--marquee-duration, 60s) linear infinite;
}
.members__track[data-marquee-dir="right"] { animation-name: members-marquee-rev; }
.members__row:nth-child(1) .members__track { --marquee-duration: 64s; }
.members__row:nth-child(2) .members__track { --marquee-duration: 88s; }
.members__row:nth-child(3) .members__track { --marquee-duration: 52s; }
.members__group {
  display: flex;
  gap: var(--space-4xl);
  padding-inline-end: var(--space-4xl); /* trailing gap so the two groups tile */
  flex: none;
}
.members__row:hover .members__track,
.members__row:focus-within .members__track { animation-play-state: paused; }

@keyframes members-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes members-marquee-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .members__track { animation: none; }
}

.members__name { font-size: var(--fs-2xl); font-weight: var(--fw-semibold); letter-spacing: var(--ls-display); text-transform: uppercase; white-space: nowrap; color: var(--navy-520); }

/* ==========================================================================
   SITE FOOTER  (#site-footer)  — dark Mirage section
   ========================================================================== */
.site-footer {
  background: var(--color-footer-bg);
  border-block-start: var(--border-thin) solid var(--navy-700);
  padding-block: clamp(var(--space-3xl), 6vw, 6rem) var(--space-2xl);
  color: var(--color-footer-text);
}
.site-footer__inner { max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: var(--space-3xl); margin-block-end: var(--space-4xl); }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-xl); }
.footer-brand__logo svg, .footer-brand__logo img { width: clamp(180px, 20vw, 260px); height: auto; color: var(--white); }
.footer-brand__follow { font-size: var(--fs-md); line-height: var(--lh-relaxed); }
.footer-social { display: flex; gap: var(--space-sm); list-style: none; flex-wrap: wrap; }
.footer-social__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: var(--radius-pill);
  background: var(--color-chip); border: var(--border-thin) solid var(--navy-700);
  color: var(--white);
  transition: background var(--transition-fast) var(--ease-standard);
}
.footer-social__link:hover { background: var(--color-accent); color: var(--color-text-on-navy); }
.footer-social__link svg { width: 1.25rem; height: 1.25rem; }
.footer-nav__title { font-size: var(--fs-sm); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--color-accent); margin-block-end: var(--space-xl); }
.footer-nav__list { display: flex; flex-direction: column; gap: var(--space-sm); list-style: none; }
.footer-nav__list a { font-size: var(--fs-md); transition: color var(--transition-fast) var(--ease-standard); }
.footer-nav__list a:hover { color: var(--color-text); }
.footer-nav__note { font-size: var(--fs-md); line-height: var(--lh-snug); color: var(--color-footer-text); max-width: 26ch; }
.footer-nav__note a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.footer-nav__note a:hover { color: var(--color-text); }
.footer-newsletter { display: none; }
.footer-newsletter__title { font-size: var(--fs-lg); font-weight: var(--fw-semibold); letter-spacing: var(--ls-tight); color: var(--white); }
.footer-newsletter__text { font-size: var(--fs-md); line-height: var(--lh-relaxed); }
.footer-newsletter__form { position: relative; margin-block-start: var(--space-2xs); }
.footer-newsletter__input {
  width: 100%; padding: var(--space-sm) 3.75rem var(--space-sm) var(--space-lg);
  background: var(--navy-900); border: var(--border-thin) solid var(--navy-700);
  border-radius: var(--radius-pill); color: var(--color-text); font-size: var(--fs-md);
}
.footer-newsletter__input::placeholder { color: var(--color-footer-text); }
.footer-newsletter__submit {
  position: absolute; inset-inline-end: var(--space-2xs); inset-block: var(--space-2xs);
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-text-on-navy);
}
.footer-newsletter__submit svg { width: 1.125rem; height: 1.125rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding-block-start: var(--space-xl); border-block-start: var(--border-thin) solid var(--navy-700); }
.footer-bottom__copy { font-size: var(--fs-base); color: var(--color-text-muted); }
.footer-bottom__legal { display: flex; gap: var(--space-xl); list-style: none; }
.footer-bottom__legal a { font-size: var(--fs-2xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--navy-520); }
.footer-bottom__legal a:hover { color: var(--color-text); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .members__statement { font-size: var(--fs-fluid-h3); }
  .members__name { font-size: var(--fs-xl); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom__legal { flex-wrap: wrap; }
}

/* ==========================================================================
   MODAL  (#report-modal)  — accessible native <dialog> content module
   Light panel centred over the blurred + darkened page (::backdrop).
   Populated from content/<lang>.json by js/modals.js. Based on the modal
   design template; uses self-hosted Poppins + design tokens.
   ========================================================================== */

/* Lock background scroll while a modal is open (class set by modals.js) */
html.modal-open { overflow: hidden; }

.modal {
  width: 100%;
  max-width: var(--modal-max-width);
  max-height: 90vh;
  margin: auto;                 /* centre in the top layer */
  padding: 0;
  border: none;
  border-radius: var(--modal-radius);
  background: var(--modal-bg);
  color: var(--modal-text);
  box-shadow: var(--modal-shadow);
  overflow-y: auto;
  overflow-x: hidden;          /* contain the header glow; no sideways scroll */
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(51, 57, 79, 0.2) transparent;
}
/* Block (not flex) so header/body keep their full content height inside the
   scrollable, max-height-capped dialog — a flex column would shrink them. */
.modal[open] { display: block; }

/* Blur + darken the underlying page */
.modal::backdrop {
  background: var(--modal-backdrop);
  backdrop-filter: blur(var(--modal-backdrop-blur));
  -webkit-backdrop-filter: blur(var(--modal-backdrop-blur));
}

.modal::-webkit-scrollbar { width: 6px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background-color: rgba(51, 57, 79, 0.2); border-radius: 10px; }

/* Close button */
.modal__close {
  position: absolute;
  inset-block-start: var(--space-xl);
  inset-inline-end: var(--space-xl);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  color: var(--modal-text-muted);
  transition: background var(--transition-base) var(--ease-standard),
    color var(--transition-base) var(--ease-standard),
    transform var(--transition-base) var(--ease-standard);
}
.modal__close:hover { background: rgba(51, 57, 79, 0.1); color: var(--modal-text); transform: rotate(90deg); }
.modal__close svg { width: 1.5rem; height: 1.5rem; }

/* Header */
.modal__header {
  position: relative;
  overflow: hidden;            /* keep the radial glow inside the header */
  padding: clamp(var(--space-2xl), 5vw, 4rem) clamp(var(--space-xl), 5vw, 4rem) clamp(var(--space-xl), 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(51, 57, 79, 0.03) 0%, transparent 100%);
}
.modal__header::before {
  content: "";
  position: absolute;
  inset-block-start: -50%;
  inset-inline-end: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--modal-teal) 0%, transparent 60%);
  opacity: 0.15;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.modal__header-content { position: relative; z-index: 1; max-width: 700px; }

.modal__subtitle {
  display: inline-block;
  margin-block-end: var(--space-sm);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-accent);
}
.modal__title {
  font-size: var(--fs-fluid-h3);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  margin-block-end: var(--space-lg);
  color: var(--modal-text);
}
.modal__intro {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--modal-text-muted);
  max-width: none;
}

/* Optional CTA under the heading (e.g. "Full Financial Statement") */
.modal__cta { margin-block-start: var(--space-lg); }
.modal__cta[hidden] { display: none; }
.modal__cta-note {
  margin-block-start: var(--space-xs);
  font-size: var(--fs-sm);
  color: var(--modal-text-muted);
}

/* Body + content sections */
.modal__body { padding: 0 clamp(var(--space-xl), 5vw, 4rem); }

/* Footer with a secondary close button */
.modal__footer {
  display: flex;
  justify-content: center;
  padding: clamp(var(--space-xl), 4vw, var(--space-3xl)) clamp(var(--space-xl), 5vw, 4rem) clamp(var(--space-2xl), 5vw, 4rem);
}
.modal__footer .btn { min-width: 12rem; }

/* Charts inside modals (Chart.js) */
.modal__chart { display: flex; flex-direction: column; gap: var(--space-xs); }
.modal__chart-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-subtle);
}
.modal__chart-canvas { position: relative; width: 100%; height: 260px; }

/* "split" modal body: prose column + charts column (finance/staff modals).
   Each section stacks (text over chart) so it fits the narrower column. */
.modal__split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-xl), 4vw, var(--space-3xl)); }
.modal__split-col { display: flex; flex-direction: column; }
.modal__split .modal__section { grid-template-columns: 1fr; gap: var(--space-lg); padding-block: clamp(var(--space-lg), 3vw, var(--space-2xl)); }
.modal__split-col > .modal__section:first-child { border-block-start: 0; padding-block-start: 0; }
/* A section that breaks out of the two columns to span the full modal width. */
.modal__split > .modal__section--full { grid-column: 1 / -1; }
.modal__split > .modal__section--full .modal__chart-canvas { height: clamp(300px, 38vw, 420px); }
/* Keep a circular chart centred at a sensible size rather than lost in the full width. */
.modal__split > .modal__section--full .modal__chart--circular .modal__chart-canvas { max-width: 480px; margin-inline: auto; }
@media (max-width: 768px) {
  .modal__split { grid-template-columns: 1fr; gap: 0; }
}

.modal__section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  padding-block: clamp(var(--space-2xl), 4vw, 4rem);
  border-block-start: var(--border-thin) solid var(--modal-border);
}
.modal__section-text { display: flex; flex-direction: column; gap: var(--space-lg); }
/* Flow body copy across two columns (used for the full-width finance intro). */
.modal__section-text--multicol { display: block; columns: 2; column-gap: clamp(var(--space-xl), 4vw, var(--space-3xl)); }
.modal__section-text--multicol > * { break-inside: avoid; }
.modal__section-text--multicol > * + * { margin-block-start: var(--space-lg); }
@media (max-width: 768px) { .modal__section-text--multicol { columns: 1; } }
.modal__section-title { font-size: var(--fs-xl); font-weight: var(--fw-semibold); line-height: var(--lh-snug); color: var(--modal-text); }
.modal__section-body { font-size: var(--fs-base); line-height: var(--lh-loose); color: var(--modal-text-muted); }
/* Inline links inside modal copy — teal for AA contrast on the white modal */
.modal__intro a,
.modal__section-body a {
  color: var(--brand-teal);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: text-decoration-thickness var(--transition-fast) var(--ease-out);
}
.modal__intro a:hover,
.modal__section-body a:hover,
.modal__intro a:focus-visible,
.modal__section-body a:focus-visible { text-decoration-thickness: 3px; }
.modal__section-media { display: flex; flex-direction: column; gap: var(--space-sm); }
.modal__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: #f0f0f2;
}
.modal__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow) var(--ease-standard); }
.modal__section:hover .modal__image img { transform: scale(1.02); }
.modal__caption {
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  color: var(--modal-text-muted);
  padding-inline-start: var(--space-sm);
  border-inline-start: var(--border-medium) solid;
}

/* Accent cycle: rose → gold → cyan, repeating */
.modal__section:nth-child(3n+1) { border-block-start-color: color-mix(in srgb, var(--modal-accent-1) 30%, transparent); }
.modal__section:nth-child(3n+1) .modal__caption { border-inline-start-color: var(--modal-accent-1); }
.modal__section:nth-child(3n+2) { border-block-start-color: color-mix(in srgb, var(--modal-accent-2) 30%, transparent); }
.modal__section:nth-child(3n+2) .modal__caption { border-inline-start-color: var(--modal-accent-2); }
.modal__section:nth-child(3n)   { border-block-start-color: color-mix(in srgb, var(--modal-accent-3) 30%, transparent); }
.modal__section:nth-child(3n)   .modal__caption { border-inline-start-color: var(--modal-accent-3); }

/* Video modal variant (hero "Watch the highlights") */
.modal__video { width: 100%; aspect-ratio: 16 / 9; border-radius: 2px; overflow: hidden; background: #000; margin-block-start: var(--space-lg); }
.modal__video video, .modal__video iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 860px) {
  .modal__section { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* ==========================================================================
   CLICKABLE CARDS  (.card-clickable + .card-link)
   The whole card is a click target via a full-card ::after overlay on the
   card's primary link/button (.card-link). Inner links sit above the overlay.
   Each card opens its own modal (data-modal-open on the .card-link).
   ========================================================================== */
.card-clickable {
  cursor: pointer;
  transition: transform var(--transition-base) var(--ease-standard),
    box-shadow var(--transition-base) var(--ease-standard);
}

/* Title-as-link variant (mini cards): no underline, inherit colour */
.card-link--title { color: inherit; text-decoration: none; }

/* Whole-card clicks are delegated in modals.js; the inner .card-link stays the
   focusable control. Show the keyboard focus ring around the whole card. */
.card-link:focus-visible { outline: var(--border-medium) solid var(--color-focus); outline-offset: 3px; }
.card-clickable:has(.card-link:focus-visible) {
  outline: var(--border-medium) solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-md);
}
.card-clickable:has(.card-link:focus-visible) .card-link:focus-visible { outline: none; }

/* Hover affordance — lift + stronger shadow (only on hover-capable devices) */
@media (hover: hover) {
  /* Hover variety: text cards lift, image cards zoom their photo,
     gradient promo slabs brighten — not one uniform tic */
  .mini-card.card-clickable:hover,
  .info-card.card-clickable:hover { transform: translateY(-4px); box-shadow: var(--elev-hover); }
  .media-card.card-clickable:hover { transform: translateY(-4px); }
  .img-card.card-clickable img { transition: transform var(--transition-slow) var(--ease-standard); }
  .img-card.card-clickable:hover img { transform: scale(1.05); }
  .promo-card.card-clickable:hover { filter: brightness(1.05); }
  .mini-card.card-clickable:hover .mini-card__title { color: var(--color-accent); }
  .mini-card--dark.card-clickable:hover .mini-card__title { color: var(--brand-cyan); }
}
.card-clickable:active { transform: translateY(-1px); }

/* Give scroller cards a little vertical room so lift/shadow isn't clipped */
.promo-scroller {
  /* generous clip margins: card shadows (60px blur) + hover lift stay visible */
  padding-block: var(--space-3xl);
  margin-block: calc(-1 * var(--space-3xl));
  padding-inline-start: var(--space-2xl);
  margin-inline-start: calc(-1 * var(--space-2xl));
}

/* ==========================================================================
   DOUBLE FULL-SCREEN STATS  (.duo-stat ×5) — two stats per snapped screen
   (Figma "Double Full-screen Stats Sections" 3:795). Reuses the
   .feature-stat__* text/card styles at a two-per-screen scale.
   ========================================================================== */
.duo-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(var(--space-xl), 5vh, var(--space-3xl));
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--space-3xl) var(--gutter);
  overflow: hidden;
  isolation: isolate;
  background: var(--color-bg);
}
.duo-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(80% 70% at 50% 100%,
    color-mix(in srgb, var(--theme, var(--brand-cyan)) 5%, transparent) 0%,
    transparent 70%);
}
/* Each stat is a tight text+image pair; the pair hugs the left (A) or the
   right (B) so the two stats sit diagonally (Figma 3:795) rather than being
   flung to opposite edges of the screen. */
.duo-stat__half {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(var(--space-md), 2.4vw, var(--space-2xl));
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
}
.duo-stat__half--a { justify-content: flex-start; }
.duo-stat__half--b { justify-content: flex-end; }
.duo-stat__text { display: flex; flex-direction: column; gap: var(--space-xs); min-width: 0; max-width: 26rem; }
.duo-stat__text--end { align-items: flex-end; text-align: right; }
.duo-stat__media { flex: 0 0 auto; margin: 0; display: flex; } /* blockify the card span */

/* two stats per screen → smaller scale than the old single-stat screens */
.duo-stat .feature-stat__number { font-size: clamp(2.5rem, 1rem + 5.2vw, 7rem); }
.duo-stat .feature-stat__headline { font-size: clamp(1.75rem, 1rem + 2.6vw, 3.4rem); }
.duo-stat .feature-stat__eyebrow { font-size: clamp(1.1rem, 0.8rem + 1vw, 1.65rem); }
.duo-stat .feature-stat__label { font-size: clamp(1rem, 0.8rem + 0.9vw, 1.5rem); }
.duo-stat .feature-stat__card { width: min(440px, 38vw); }
.duo-stat__half--b .feature-stat__card { transform: rotate(calc(var(--card-rotation, 9deg) * -1)); }

/* Slide-in reveal from the sides (gated behind .has-reveal set by JS so
   no-JS users always see content; reduced-motion gets it instantly). */
.has-reveal .duo-stat__text,
.has-reveal .duo-stat__media {
  opacity: 0;
  transition: transform var(--transition-slow) var(--ease-out),
    opacity var(--transition-slow) var(--ease-out);
}
.has-reveal .duo-stat__half--a .duo-stat__text  { transform: translateX(-64px); }
.has-reveal .duo-stat__half--a .duo-stat__media { transform: translateX(64px); }
.has-reveal .duo-stat__half--b .duo-stat__text  { transform: translateX(64px); }
.has-reveal .duo-stat__half--b .duo-stat__media { transform: translateX(-64px); }
.has-reveal .duo-stat__half--b .duo-stat__text,
.has-reveal .duo-stat__half--b .duo-stat__media { transition-delay: 120ms; }
.has-reveal .duo-stat.is-in :is(.duo-stat__text, .duo-stat__media) {
  opacity: 1;
  transform: none;
}

/* Scroll-snap: desktop only; mobile keeps a natural scroll */
@media (min-width: 1025px) {
  html { scroll-snap-type: y proximity; }
  .duo-stat { scroll-snap-align: start; }
}
@media (max-width: 1024px) {
  .duo-stat { min-height: auto; }
  .duo-stat__half,
  .duo-stat__half--b { flex-direction: column; align-items: flex-start; }
  .duo-stat__half--b { align-items: flex-end; }
  /* full-width media wrapper gives the card a definite width to resolve
     against (otherwise 100% of an auto flex item collapses) */
  .duo-stat__media { width: 100%; }
  .duo-stat__half--b .duo-stat__media { justify-content: flex-end; }
  .duo-stat .feature-stat__card { width: min(480px, 100%); transform: rotate(3deg); }
  .duo-stat__half--b .feature-stat__card { transform: rotate(-3deg); }
}

/* ==========================================================================
   ENTRANCE ANIMATIONS — varied per element type, assigned by initReveals.
   One-shot; classes are removed after playing so hover transforms take over.
   Reduced-motion users never receive the classes (static page).
   ========================================================================== */
.has-reveal .anim {
  opacity: 0;
  transition: opacity var(--transition-reveal) var(--ease-reveal),
    transform var(--transition-reveal) var(--ease-reveal);
  transition-delay: calc(var(--anim-i, 0) * 70ms);
}
.has-reveal .anim--up    { transform: translateY(32px); }
.has-reveal .anim--down  { transform: translateY(-24px); }
.has-reveal .anim--left  { transform: translateX(-48px); }
.has-reveal .anim--right { transform: translateX(48px); }
.has-reveal .anim--zoom  { transform: scale(0.94) translateY(16px); }
.has-reveal .anim.is-in  { opacity: 1; transform: none; }
/* Narrow screens: lateral pre-shifts would poke past the viewport edge and
   stretch the mobile layout — sides become rises below 769px */
@media (max-width: 768px) {
  .has-reveal .anim--left,
  .has-reveal .anim--right { transform: translateY(32px); }
}
