/* ==========================================================================
   Ε.Σ.Υ. Βλέπεις Πράξεις — campaign homepage
   Global styles: fonts, design tokens, reset, shared utilities.
   ========================================================================== */

/* ---- Official campaign fonts ------------------------------------------ */
@font-face {
  font-family: "CF Asty Std";
  src: url("../fonts/CFAstyStd-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CF Asty Std";
  src: url("../fonts/CFAstyStd-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CF Asty Std";
  src: url("../fonts/CFAstyStd-Extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CF Asty Std";
  src: url("../fonts/CFAstyStd-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Meta Pro";
  src: url("../fonts/FFMetaProRegular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* Colors — from design.md color system */
  --color-navy: #15395f;
  --color-navy-dark: #0f2a46;
  --color-blue: #1687c7;
  --color-blue-dark: #0f6fa6;
  --color-green: #61b331;
  --color-green-dark: #458923;
  --color-sky: #eaf5fb;
  --color-mist: #f4f7f9;
  --color-white: #ffffff;
  --color-text: #1f2933;
  --color-muted: #627487;
  --color-border: #d8e3ea;
  /* Slightly deeper green than --color-green, used only behind white band
     text (category labels) so white-on-green clears WCAG AA 4.5:1 — the
     brighter --color-green stays reserved for accents/markers with no text. */
  --color-green-band: #3c6e1f;

  /* Fonts */
  --font-display: "CF Asty Std", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "CF Asty Std", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-small: "Meta Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale */
  --font-display-xl: clamp(4rem, 11vw, 10rem);
  --font-display-lg: clamp(3rem, 7vw, 7rem);
  --font-h1: clamp(3rem, 8vw, 7.5rem);
  --font-h2: clamp(2rem, 5vw, 4.5rem);
  --font-h3: clamp(1.35rem, 2.5vw, 2.25rem);
  --font-body-size: clamp(1rem, 1.2vw, 1.125rem);
  --font-small-size: 0.875rem;

  /* Layout */
  --content-max: 1320px;
  --section-pad-desktop: 96px 24px;
  --section-pad-tablet: 72px 24px;
  --section-pad-mobile: 56px 20px;
  --radius: 12px;
  --shadow-card: 0 1px 2px rgba(21, 57, 95, 0.06), 0 8px 24px rgba(21, 57, 95, 0.08);
  --shadow-card-hover: 0 2px 4px rgba(21, 57, 95, 0.08), 0 16px 36px rgba(21, 57, 95, 0.14);
  --focus-ring: 3px solid var(--color-blue);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Firefox */
  scrollbar-color: var(--color-blue) var(--color-sky);
  scrollbar-width: thin;
}

/* WebKit/Blink (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--color-sky);
}
::-webkit-scrollbar-thumb {
  background: var(--color-blue);
  border-radius: 999px;
  /* Inset the thumb so the track color frames it. */
  border: 3px solid var(--color-sky);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-blue-dark);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--font-body-size);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

/* ---- Accessibility -------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0.75rem;
  z-index: 1000;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Layout helpers -------------------------------------------------------- */
.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: var(--section-pad-desktop);
}

@media (max-width: 1024px) {
  .section {
    padding: var(--section-pad-tablet);
  }
}

@media (max-width: 640px) {
  .section {
    padding: var(--section-pad-mobile);
  }
  .container {
    padding-inline: 20px;
  }
}

.section--white {
  background: var(--color-white);
}

.section--mist {
  background: var(--color-mist);
}

.section--sky {
  background: var(--color-sky);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-navy);
  font-size: var(--font-h2);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Accent a keyword inside a heading with a palette color.
   green uses --color-green-dark (not --color-green) so large heading text
   still clears WCAG AA 3:1 on white. */
.heading-accent {
  color: var(--color-blue);
}
.heading-accent--green {
  color: var(--color-green-dark);
}

.section-intro {
  max-width: 68ch;
  color: var(--color-muted);
  font-size: var(--font-body-size);
  line-height: 1.7;
}

.gsap-word {
  display: inline-block;
  will-change: transform, opacity;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.btn--primary {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-navy-dark);
}

.btn--on-dark {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn--on-dark:hover {
  background: var(--color-sky);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  background: transparent;
  color: var(--color-muted);
  border-color: var(--color-border);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn[disabled]:hover,
.btn[aria-disabled="true"]:hover {
  background: transparent;
}

/* ---- Disabled nav pattern --------------------------------------------------- */
.nav-disabled {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-muted);
  cursor: not-allowed;
  opacity: 0.6;
  user-select: none;
}

/* ---- Portrait crop helper --------------------------------------------------- */
.portrait {
  position: relative;
  overflow: hidden;
  background: var(--color-mist);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--portrait-x, 50%) var(--portrait-y, 50%);
  transform: scale(var(--portrait-zoom, 1));
  transform-origin: var(--portrait-x, 50%) var(--portrait-y, 50%);
}

/* ---- Color bands ------------------------------------------------------------ */
.band-green {
  /* --color-green-band (not --color-green) — see token comment above. */
  background: var(--color-green-band);
  color: var(--color-white);
}

.band-blue {
  /* --color-blue-dark (not --color-blue) — white text needs the darker
     shade to clear WCAG AA 4.5:1 for small text. */
  background: var(--color-blue-dark);
  color: var(--color-white);
}

.band-navy {
  background: var(--color-navy);
  color: var(--color-white);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    backdrop-filter: blur(12px) saturate(1.4);
    border-bottom: 1px solid var(--color-border);
  }

  .site-header__bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 72px;
    padding-block: 0.75rem;
    transition: min-height 0.2s ease, padding-block 0.2s ease;
  }

  .site-header.is-scrolled .site-header__bar {
    min-height: 60px;
    padding-block: 0.5rem;
  }

  .site-header__gov {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-inline-end: auto;
  }

  .site-header__sep {
    width: 1px;
    height: 32px;
    background: currentColor;
    opacity: 0.2;
  }

  .site-header__logo {
    height: 46px;
    width: auto;
    transition: height 0.2s ease;
  }

  .site-header__logo--odipy {
    height: 34px;
    transition: height 0.2s ease;
  }

  .site-header.is-scrolled .site-header__logo {
    height: 38px;
  }

  .site-header.is-scrolled .site-header__logo--odipy {
    height: 28px;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__cta {
    background: var(--color-navy);
    color: var(--color-white) !important;
    border-radius: 999px;
    padding: 0.55rem 1.4rem;
    border-bottom: none !important;
  }

  .site-header__cta:hover {
    background: var(--color-navy-dark);
  }

  .site-header__nav-list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }

  .site-header__nav-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    font-weight: 700;
    color: var(--color-navy);
    transition: color 0.2s ease;
  }

  .site-header__nav-list a:not(.site-header__cta)::after {
    content: "";
    position: absolute;
    inset: auto 0 6px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .site-header__nav-list a:not(.site-header__cta):hover {
    color: var(--color-blue-dark);
  }

  .site-header__nav-list a:not(.site-header__cta):hover::after,
  .site-header__nav-list a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .site-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-inline-start: auto;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-navy);
    cursor: pointer;
  }

  @media (min-width: 900px) {
    .site-header__nav {
      display: block;
    }
    .site-header__toggle {
      display: none;
    }
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    background: var(--color-navy);
    overflow-y: auto;
  }

  .mobile-menu__close {
    position: absolute;
    top: 14px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius);
    color: var(--color-white);
    cursor: pointer;
  }

  .mobile-menu__list {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .mobile-menu__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .mobile-menu__list a,
  .mobile-menu__list .nav-disabled {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding-inline: 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-white);
  }

  @media (min-width: 900px) {
    .mobile-menu {
      display: none !important;
    }
  }

  /* Scroll progress: thin bar under the navbar, fill scaled by scroll % in JS. */
  .scroll-progress {
    height: 3px;
    background: transparent;
  }

  .scroll-progress__bar {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--color-green), var(--color-blue), var(--color-navy));
    will-change: transform;
  }

/* Back to top */
.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  cursor: pointer;
  box-shadow: var(--shadow-card-hover);
  /* Hidden until scrolled; JS toggles .is-visible. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-blue);
}

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-sky) 100%);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
  }

  /* Slides stack in the same grid cell; opacity crossfade. */
  .hero__viewport {
    display: grid;
  }

  .hero__slide {
    grid-area: 1 / 1;
    /* Fill the shared viewport height so shorter slides don't leave a bottom gap. */
    display: grid;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
  }

  .hero__slide.is-active {
    opacity: 1;
    visibility: visible;
  }

  .hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: end;
    padding-block: 2.5rem 0;
  }

  .hero__portrait {
    order: 2;
    align-self: end;
    margin-top: 1.5rem;
    height: 50vh;
    max-height: 440px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .hero__portrait img {
    /* Full height, natural width: whole figure, never clipped left/right. */
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
  }

  .hero__text {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
  }

  .hero__headline {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--color-navy);
    display: flex;
    flex-direction: column;
  }

  .hero__headline-accent {
    color: var(--color-blue);
  }

  .hero__subline {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.25rem, 2.2vw, 1.9rem);
    color: var(--color-blue);
    line-height: 1.2;
    margin: 1.25rem 0 1rem;
    max-width: 18ch;
  }

  .hero__subline strong {
    color: var(--color-navy);
  }

  .hero__body {
    max-width: 58ch;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 1.75rem;
  }

  .hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .btn--ghost {
    border-color: var(--color-navy);
    color: var(--color-navy);
    background: transparent;
  }

  .btn--ghost:hover {
    background: var(--color-sky);
  }

  /* Controls */
  .hero__controls {
    position: absolute;
    right: 0;
    bottom: 1.25rem;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    /* Split layout: arrows to the edges, progress dots centered between them. */
    justify-content: space-between;
    gap: 1.25rem;
  }

  .hero__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-navy);
    background: var(--color-white);
    color: var(--color-navy);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .hero__arrow:hover {
    background: var(--color-navy);
    color: var(--color-white);
  }

  .hero__dots {
    display: flex;
    gap: 0.6rem;
  }

  .hero__dot {
    position: relative;
    width: 42px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(21, 57, 95, 0.22);
    cursor: pointer;
  }

  .hero__dot::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: 999px;
    background: var(--color-navy);
  }

  /* Invisible padding restores the 44px touch target the 6px pill lost. */
  .hero__dot::after {
    content: "";
    position: absolute;
    inset: -19px -4px;
  }

  /* 7s matches the autoplay interval in js/main.js. */
  .hero__dot.is-active::before {
    animation: hero-progress 7s linear forwards;
  }

  /* Autoplay pauses on hover/focus (see main.js) — pause the fill with it. */
  .hero:hover .hero__dot.is-active::before,
  .hero:focus-within .hero__dot.is-active::before {
    animation-play-state: paused;
  }

  @keyframes hero-progress {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }

  /* Mobile: whole hero fits one screen. Portrait is full-bleed (as big as it
     gets); text overlays the top behind a scrim; CTAs pinned to the bottom. */
  @media (max-width: 899px) {
    .hero__slide {
      min-height: calc(100svh - 77px); /* 77px = sticky header */
    }

    .hero__grid {
      position: relative;
      display: block;
      height: calc(100svh - 77px);
      overflow: hidden;
      padding: 0;
    }

    .hero__portrait {
      position: absolute;
      inset: 0;
      z-index: 0;
      margin: 0;
      height: auto;
      max-height: none;
    }

    .hero__portrait img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      /* Drop the subject a bit; the top gap hides behind the scrim. */
      transform: translateY(7%);
    }

    /* Full-height overlay: headline/copy at top behind a scrim, CTAs pushed
       to the bottom via margin-top:auto. The gap between shows the portrait. */
    .hero__text {
      position: relative;
      z-index: 1;
      height: 100%;
      display: flex;
      flex-direction: column;
      padding: 1.5rem 20px 3.75rem; /* bottom pad clears arrows/dots */
      background: linear-gradient(
        180deg,
        rgba(240, 246, 251, 0.97) 0%,
        rgba(240, 246, 251, 0.9) 40%,
        rgba(240, 246, 251, 0) 62%
      );
    }

    .hero__body {
      margin-bottom: 0;
      font-size: 0.95rem;
      line-height: 1.55;
    }

    .hero__ctas {
      margin-top: auto; /* pin to the bottom of the overlay */
      margin-bottom: 1.5rem; /* lift off the arrows/dots row */
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: center;
      gap: 0.6rem;
    }

    /* Compact so both buttons fit one row on narrow phones. */
    .hero__ctas .btn {
      padding: 0.7rem 1rem;
      font-size: 0.8rem;
      white-space: nowrap;
    }

    /* Ghost button sits on the photo now — give it a legible backdrop. */
    .hero__ctas .btn--ghost {
      background: rgba(255, 255, 255, 0.92);
    }
  }

  @media (min-width: 900px) {
    /* Fixed left column (fits the widest figure at full height); text takes the rest. */
    .hero__grid {
      grid-template-columns: clamp(320px, 42vw, 600px) minmax(0, 1fr);
      gap: 3rem;
      min-height: min(720px, calc(100svh - 77px));
      padding-block: 0;
      align-items: stretch;
    }

    /* Definite height so width:auto resolves (no blowup); bottom-flush via align:end. */
    .hero__portrait {
      position: absolute;
      inset: 0 auto 0 24px;
      order: 1;
      width: clamp(320px, 42vw, 600px);
      height: 100%;
      max-height: none;
      margin: 0;
    }

    .hero__portrait img {
      max-width: none;
    }

    .hero__text {
      position: relative;
      z-index: 1;
      grid-column: 2;
      order: 2;
      align-self: stretch;
      min-height: 0;
      padding-block: clamp(4rem, 7vh, 6rem);
    }

    .hero__body {
      min-height: 10.2em;
    }

    /* Span the content width: arrows sit at the left/right edges (aligned to
       the container gutter), progress dots stay centered between them. */
    .hero__controls {
      bottom: 1.5rem;
    }
  }

/* IdentitySection */
.identity__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .identity__text {
    max-width: 62ch;
    color: var(--color-text);
    line-height: 1.75;
    margin-top: 1.25rem;
  }

  .identity__pillars {
    display: grid;
    gap: 1.75rem;
    align-content: center;
  }

  .identity__pillar {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .identity__pillar-mark {
    flex: none;
    width: 14px;
    height: 56px;
    border-radius: 2px;
    margin-top: 0.25rem;
  }

  .identity__pillar-title {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--color-navy);
    font-size: 1.3rem;
  }

  .identity__pillar-text {
    color: var(--color-muted);
    line-height: 1.65;
    margin-top: 0.35rem;
    max-width: 46ch;
  }

  @media (min-width: 1000px) {
    .identity__grid {
      grid-template-columns: 1.2fr 0.8fr;
      gap: 5rem;
    }
  }

/* InterventionsSection */
.interventions__intro {
    margin-top: 1.25rem;
    margin-bottom: 2rem;
  }

  .interventions__component {
    position: relative;
    display: grid;
    gap: clamp(1.25rem, 3vw, 3rem);
    min-width: 0;
    padding: clamp(1rem, 2.8vw, 2.5rem);
    overflow: hidden;
    background: var(--color-white);
    border-radius: calc(var(--radius) * 2);
    box-shadow: 0 26px 70px rgba(15, 42, 70, 0.09);
  }

  .interventions__nav {
    display: grid;
    align-content: center;
    min-width: 0;
    counter-reset: intervention;
  }

  .interventions__tab {
    counter-increment: intervention;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 0.9rem;
    align-items: start;
    width: 100%;
    min-height: 58px;
    padding: 0.78rem 0;
    border: 0;
    border-bottom: 1px solid rgba(21, 57, 95, 0.14);
    border-radius: 0;
    background: transparent;
    color: rgba(21, 57, 95, 0.55);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  .interventions__tab:hover {
    color: var(--color-navy);
  }

  .interventions__tab.is-active {
    color: var(--color-text);
    border-bottom-color: rgba(21, 57, 95, 0.72);
  }

  .interventions__tab-copy {
    display: grid;
    gap: 0.5rem;
    min-width: 0;
  }

  .interventions__tab-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.02rem, 1.35vw, 1.34rem);
    line-height: 1.14;
    overflow-wrap: anywhere;
  }

  .interventions__tab-title::before {
    content: counter(intervention, decimal-leading-zero);
    margin-right: 0.7rem;
    color: var(--color-blue);
    font-size: 0.72em;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  .interventions__tab-text {
    display: none;
    max-width: 58ch;
    color: var(--color-muted);
    font-family: var(--font-small);
    font-size: clamp(0.84rem, 0.9vw, 0.94rem);
    font-weight: 400;
    line-height: 1.5;
  }

  .interventions__tab.is-active .interventions__tab-text {
    display: block;
  }

  .interventions__tab-indicator {
    position: relative;
    width: 28px;
    height: 28px;
    margin-top: -0.1rem;
    color: currentColor;
  }

  .interventions__tab-indicator::before,
  .interventions__tab-indicator::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .interventions__tab-indicator::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  /* Active indicator collapses + into − (an × reads as "close"). */
  .interventions__tab.is-active .interventions__tab-indicator::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
  }

  .interventions__panels {
    min-width: 0;
    order: -1;
  }

  .intervention-step {
    position: relative;
    overflow: hidden;
    background: var(--color-mist);
    border-radius: var(--radius);
  }

  .intervention-step[hidden] {
    display: none;
  }

  .intervention-step__copy {
    display: none;
  }

  .intervention-step__copy::before {
    content: none;
  }

  .intervention-step__title {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--color-navy);
    font-size: clamp(1.5rem, 2.6vw, 2.35rem);
    line-height: 1.08;
    max-width: 100%;
  }

  .intervention-step__text {
    color: var(--color-muted);
    line-height: 1.7;
    max-width: 58ch;
  }

  .intervention-step__media {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    height: clamp(280px, 52vw, 540px);
    background: var(--color-mist);
  }

  .intervention-step__media::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.38);
    pointer-events: none;
  }

  .intervention-step__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  @media (min-width: 900px) {
    .interventions__component {
      grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
      align-items: center;
    }

    .intervention-step {
      min-height: 500px;
    }

    .intervention-step__media {
      height: 500px;
    }
  }

/* NewsSection */
.news__intro {
    margin-top: 1.25rem;
    margin-bottom: 3rem;
  }

  .news__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }

  .news__card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
  }

  .news__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
  }

  .news__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, #f6f8fa 0%, #e2ebf1 100%);
    overflow: hidden;
  }

  .news__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.28s ease;
  }

  .news__media:hover img {
    transform: scale(1.035);
  }

  .news__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
  }

  .news__meta {
    color: var(--color-blue-dark);
    font-family: var(--font-small);
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.35;
  }

  .news__title {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--color-navy);
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .news__excerpt {
    color: var(--color-muted);
    font-family: var(--font-small);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.55;
    flex: 1;
  }

  .news__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    color: var(--color-navy);
    font-family: var(--font-small);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    border-bottom: 1px solid rgba(21, 57, 95, 0.28);
    padding-bottom: 0.18rem;
    transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
  }

  .news__cta::after {
    content: "";
    width: 0.44rem;
    height: 0.44rem;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: 0.02rem;
  }

  .news__cta:hover {
    gap: 0.62rem;
    color: var(--color-blue-dark);
    border-bottom-color: currentColor;
  }

  .news__all {
    margin-top: 2.5rem;
    text-align: center;
  }

  @media (min-width: 800px) {
    .news__grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

/* MediaBankSection */
.media-bank__intro {
    margin-top: 1.25rem;
    margin-bottom: 3rem;
  }

  .media-bank__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }

  .media-bank__card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-sky);
    box-shadow: var(--shadow-card);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    --card-accent: var(--color-navy);
  }

  .media-bank__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
  }

  /* Per-card brand accent breaks the four-identical-cards monotony. */
  .media-bank__card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: var(--card-accent);
  }

  .media-bank__card:nth-child(2) {
    --card-accent: var(--color-blue-dark);
  }

  .media-bank__card:nth-child(3) {
    --card-accent: var(--color-green-band);
  }

  .media-bank__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--card-accent, var(--color-navy));
    color: var(--color-white);
  }

  .media-bank__title {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--color-navy);
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .media-bank__text {
    color: var(--color-muted);
    line-height: 1.65;
    flex: 1;
  }

  /* Quiet arrow link (mirrors .news__cta) — pages activate in a later phase,
     four identical navy pills read as noise. */
  .media-bank__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    padding: 0 0 0.18rem;
    border: 0;
    background: none;
    color: var(--color-navy);
    font-family: var(--font-small);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    border-bottom: 1px solid rgba(21, 57, 95, 0.28);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
  }

  .media-bank__cta::after {
    content: "";
    width: 0.44rem;
    height: 0.44rem;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: 0.02rem;
  }

  .media-bank__cta:hover {
    gap: 0.62rem;
    color: var(--color-blue-dark);
    border-bottom-color: currentColor;
  }

  @media (min-width: 640px) {
    .media-bank__grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1100px) {
    .media-bank__grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }

/* FaqSection */
.faq__container {
    max-width: 900px;
  }

  .faq__intro {
    margin-top: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .faq__list {
    display: grid;
    gap: 0.75rem;
  }

  .faq__item {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
  }

  .faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1.05rem;
    list-style: none;
    min-height: 44px;
  }

  .faq__question::-webkit-details-marker {
    display: none;
  }

  .faq__marker {
    flex: none;
    position: relative;
    width: 16px;
    height: 16px;
  }

  .faq__marker::before,
  .faq__marker::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    background: var(--color-blue-dark);
  }

  .faq__marker::before {
    width: 16px;
    height: 2.5px;
  }

  .faq__marker::after {
    width: 2.5px;
    height: 16px;
    transition: transform 0.2s ease;
  }

  .faq__item[open] .faq__marker::after {
    transform: rotate(90deg);
  }

  .faq__answer {
    padding: 0 1.5rem 1.35rem;
    color: var(--color-muted);
    line-height: 1.7;
    max-width: 70ch;
  }

  ul.faq__answer {
    padding-left: 3rem;
    list-style: disc;
  }

  ul.faq__answer li {
    margin-bottom: 0.35rem;
  }

/* ContactSection */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact__intro {
    margin-top: 1.25rem;
    margin-bottom: 2rem;
  }

  .contact__form {
    display: grid;
    gap: 1.25rem;
    max-width: 560px;
  }

  .contact__field {
    display: grid;
    gap: 0.4rem;
  }

  .contact__field label {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 0.95rem;
  }

  .required-mark {
    color: var(--color-blue);
  }

  .contact__field input,
  .contact__field textarea,
  .site-footer__newsletter-form input[type="email"] {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-text);
    width: 100%;
  }

  .contact__field textarea {
    resize: vertical;
  }

  .contact__form .btn {
    justify-self: start;
  }

  /* Figure bleeds to the section's bottom edge: the section drops its bottom
     padding and the text column carries it instead. */
  .contact {
    padding-bottom: 0;
  }

  .contact__col {
    padding-bottom: 96px;
  }

  @media (max-width: 1024px) {
    .contact__col {
      padding-bottom: 72px;
    }
  }

  @media (max-width: 640px) {
    .contact__col {
      padding-bottom: 56px;
    }
  }

  .contact__media {
    align-self: stretch;
    min-height: 360px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  @media (max-width: 768px) {
    .contact__media {
      display: none;
    }
  }

  .contact__media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
  }

  .form-consent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    max-width: 68ch;
    color: var(--color-muted);
    font-family: var(--font-small);
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .form-consent input {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.2rem;
    accent-color: var(--color-navy);
  }

  .form-consent--dark {
    color: rgba(255, 255, 255, 0.72);
  }

  .form-consent--dark input {
    accent-color: var(--color-white);
  }

  @media (min-width: 1000px) {
    .contact__grid {
      grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
      gap: 5rem;
      align-items: stretch;
    }
  }

/* Footer */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__inner {
  padding-block: clamp(48px, 7vw, 76px) 28px;
}

.site-footer__primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.5fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

.site-footer__identity {
  min-width: 0;
}

.site-footer__brand {
  max-width: 58ch;
}

.site-footer__institutions {
  min-width: 0;
}

.site-footer__campaign {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.6vw, 4.4rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.site-footer__desc {
  margin-top: 1.25rem;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.site-footer__logo-grid {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  flex-wrap: nowrap;
  min-width: 0;
}

.site-footer__logo-card {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 68px;
  min-width: 0;
}

.site-footer__logo-card img {
  display: block;
  width: auto;
  height: 56px;
  max-width: 260px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.site-footer__logo-card:nth-child(3) img {
  height: 62px;
}

.site-footer__secondary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 0.35rem 1.5rem;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--color-white);
  font-weight: 700;
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer__newsletter {
  max-width: 48ch;
}

.site-footer__newsletter-heading {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.site-footer__newsletter-text {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-small);
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-footer__newsletter-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.site-footer__newsletter-form input[type="email"] {
  border: none;
}

.site-footer__newsletter-form .btn {
  justify-self: start;
}

.site-footer__program {
  max-width: 40ch;
}

.site-footer__program-title {
  color: var(--color-white);
  font-weight: 800;
  line-height: 1.35;
}

.site-footer__program-text {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-small);
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-small);
  font-size: 0.82rem;
  line-height: 1.5;
}

.site-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.site-footer__legal span {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .site-footer__primary,
  .site-footer__secondary {
    grid-template-columns: 1fr;
  }

  .site-footer__logo-grid {
    justify-content: flex-start;
  }

  .site-footer__program {
    max-width: none;
  }

  .site-footer__newsletter {
    max-width: none;
  }
}

/* push test */

@media (max-width: 640px) {
  .site-footer__inner {
    padding-block: 44px 24px;
  }

  .site-footer__links ul {
    grid-template-columns: 1fr;
  }

  .site-footer__logo-grid {
    flex-wrap: wrap;
  }

  .site-footer__logo-card {
    min-height: 52px;
  }

  .site-footer__logo-card img {
    height: 42px;
    max-width: 220px;
  }

  .site-footer__logo-card:nth-child(3) img {
    height: 48px;
  }
}
