/* ==========================================================================
   EvaluTrend — website styles
   Shape language is taken directly from the brand mark: a cyan dot, orange
   ascending bars, an orange quarter-arc and a cyan quarter-disc, arranged on
   a 2x2 grid. Every decorative element on the site is one of those four.
   ========================================================================== */

/* --------------------------------------------------------------- 1. FONTS */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* -------------------------------------------------------------- 2. TOKENS */

:root {
  --color-brand-navy: #0f405f;
  --color-brand-cyan: #28aeea;
  --color-brand-orange: #f5822a;
  --color-orange-hover: #e0741f;
  --color-midnight: #071e2d;
  --color-canvas: #f7f9f9;
  --color-surface: #eaf1f4;

  /* Soft brand tints — the joy comes from these carrying whole sections
     rather than from extra ornament. */
  --color-cyan-soft: #e7f3fb;
  --color-orange-soft: #fdf1e6;

  --color-text: #243746;
  --color-text-muted: #5c6c79;   /* darkened from #647583 for AA — see README */
  --color-border: #d7e0e6;
  --color-link: #0a6e9d;         /* darkened from #0876a8 for AA */
  --color-focus: #1c86b6;
  /* Brand orange is only 2.6:1 on white — too light for small text. These
     are the text-safe variants used for link hover and status labels. */
  --color-orange-text: #a7581d;   /* 4.5:1+ on every light surface */
  --color-cyan-on-dark: #5bc4f2;  /* 5.5:1 on navy, 8.6:1 on midnight */
  --color-error: #b42318;
  --color-success: #27704a;

  --color-on-dark: #eef4f7;
  --color-on-dark-muted: #aec3d0;
  --color-on-dark-border: rgb(255 255 255 / 0.16);

  --font-primary: "IBM Plex Sans", "IBM Plex Sans Arabic", Arial, sans-serif;

  --fs-display: clamp(2.625rem, 2rem + 2.667vw, 4rem);
  --fs-page-title: clamp(2.375rem, 1.978rem + 1.697vw, 3.25rem);
  --fs-section-title: clamp(1.875rem, 1.705rem + 0.727vw, 2.25rem);
  --fs-subheading: clamp(1.375rem, 1.318rem + 0.242vw, 1.5rem);
  --fs-lead: clamp(1.1875rem, 1.131rem + 0.242vw, 1.3125rem);
  --fs-body: clamp(1rem, 0.972rem + 0.121vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  --lh-display: 1.05;
  --lh-section: 1.18;
  --lh-sub: 1.3;
  --lh-lead: 1.55;
  --lh-body: 1.65;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-28: 7rem;

  --radius-small: 0.375rem;
  --radius-medium: 0.625rem;
  --radius-large: 1rem;

  --duration-fast: 200ms;
  --duration-medium: 320ms;
  --duration-slow: 600ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 75rem;
  --container-wide: 90rem;

  --pad-x: 1.25rem;
  --section-y: clamp(3.25rem, 2rem + 6vw, 7rem);
  --header-h: 4.25rem;
}

@media (min-width: 48em) { :root { --pad-x: 2.5rem; } }
@media (min-width: 64em) { :root { --pad-x: 4rem; --header-h: 5rem; } }
@media (min-width: 90em) { :root { --pad-x: 5rem; } }

/* --------------------------------------------------------- 3. RESET/BASE */

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

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

body {
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.011em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--color-link); }
address { font-style: normal; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-small);
}

.section--dark :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.proof :focus-visible,
.contact-band :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible,
.site-header--overlay:not(.is-scrolled) :focus-visible {
  outline-color: var(--color-brand-cyan);
}

::selection { background: var(--color-brand-cyan); color: var(--color-midnight); }

/* ---------------------------------------------- 4. BRAND SHAPE PRIMITIVES */
/* The four marks, drawn in CSS so they scale and tint freely. */

.mk { display: block; flex: none; }

/* Cyan dot — the mark's top-left quadrant. */
.mk--dot {
  width: 0.5em; height: 0.5em;
  border-radius: 50%;
  background: var(--color-brand-cyan);
}

/* Solid quarter-disc — bottom-right quadrant. Rounded on one corner only. */
.mk--quarter {
  width: 1em; height: 1em;
  background: var(--color-brand-cyan);
  border-radius: 0 0 100% 0;
}

/* Open quarter-arc — bottom-left quadrant. Two borders of a circle. */
.mk--arc {
  width: 1em; height: 1em;
  border: 0.28em solid transparent;
  border-left-color: var(--color-brand-orange);
  border-bottom-color: var(--color-brand-orange);
  border-radius: 50%;
}

/* Ascending bars — top-right quadrant. */
.mk--bars {
  display: flex;
  align-items: flex-end;
  gap: 0.14em;
  width: 1em; height: 1em;
}
.mk--bars i { flex: 1; background: var(--color-brand-orange); border-radius: 0.06em 0.06em 0 0; }
.mk--bars i:nth-child(1) { height: 100%; }
.mk--bars i:nth-child(2) { height: 74%; }
.mk--bars i:nth-child(3) { height: 46%; }

/* The whole mark reassembled. Sized by the font-size of whatever holds it.
   Each quadrant gets its own font-size so that the `em` metrics inside the
   parts (bar gaps, arc thickness) resolve against the quadrant, not against
   the whole motif — otherwise the gaps grow to swallow the bars. */
.brand-motif {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.07em;
  width: 1em; height: 1em;
}
.brand-motif > * { width: 100%; height: 100%; font-size: 0.465em; }
.brand-motif .mk--dot { width: 0.52em; height: 0.52em; place-self: center; }

/* ------------------------------------------------------------ UTILITIES */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mb-12 { margin-bottom: var(--space-12); }

/* ---------------------------------------------------------- 5. PRIMITIVES */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); position: relative; }
.section--surface { background: var(--color-surface); }
.section--cyan { background: var(--color-cyan-soft); }
.section--sand { background: var(--color-orange-soft); }

.section--dark {
  background: var(--color-midnight);
  color: var(--color-on-dark);
  overflow: hidden;
}
.section--navy {
  background: var(--color-brand-navy);
  color: var(--color-on-dark);
  overflow: hidden;
}
.section--dark h2, .section--dark h3, .section--dark .section-title,
.section--navy h2, .section--navy h3, .section--navy .section-title { color: var(--color-on-dark); }
.section--dark .lead, .section--navy .lead { color: var(--color-on-dark-muted); }

/* Section eyebrows are gone. What replaces them is a pure brand accent — a
   short cyan-to-orange bar — so sections keep their rhythm without a label. */
.accent-bar,
.section-title::before,
.hero__title::before,
.page-hero__title::before {
  content: "";
  display: block;
  width: 3.25rem;
  height: 4px;
  border-radius: 999px;
  margin-bottom: var(--space-6);
  background: linear-gradient(90deg, var(--color-brand-cyan), var(--color-brand-orange));
}

/* `.label` survives only where the label is the sole name for its content
   (Mission, Vision, Working languages). Deliberately not the old uppercase
   eyebrow treatment. */
.label {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-small);
  line-height: 1.4;
  font-weight: 600;
  color: var(--color-brand-navy);
}
.section--dark .label,
.section--navy .label { color: var(--color-brand-cyan); }

.section-title {
  font-size: var(--fs-section-title);
  line-height: var(--lh-section);
  color: var(--color-brand-navy);
}

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  max-width: 62ch;
}

.section-head { margin-bottom: var(--space-12); max-width: 48rem; }
.section-head .section-title { margin-bottom: var(--space-4); }
.section-head__lead { color: var(--color-text-muted); }
.section--dark .section-head__lead,
.section--navy .section-head__lead { color: var(--color-on-dark-muted); }

.prose p + p { margin-top: var(--space-4); }
.prose { max-width: 66ch; }

/* Links ------------------------------------------------------------------ */

/* Standalone call-to-action links. No underline — the arrow, the weight and
   the colour shift carry the affordance. Links sitting inside prose keep
   their underline further down, since colour alone is not enough there. */
.link {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  color: var(--color-link);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
.link:hover { color: var(--color-orange-text); }
.link--strong { font-weight: 600; }
.link--on-dark { color: var(--color-on-dark); }
.link--on-dark:hover { color: var(--color-cyan-on-dark); }
.link__arrow { transition: transform var(--duration-fast) var(--ease-out); }
.link:hover .link__arrow { transform: translateX(4px); }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 3.25rem;
  padding: 0.75rem 1.625rem;
  border: 1px solid transparent;
  border-radius: 999px;          /* circular ends echo the mark's geometry */
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}
.btn__arrow { transition: transform var(--duration-fast) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { background: var(--color-brand-orange); color: var(--color-midnight); }
.btn--primary:hover { background: var(--color-orange-hover); transform: translateY(-2px); }

.btn--secondary {
  background: transparent;
  border-color: var(--color-brand-navy);
  color: var(--color-brand-navy);
}
.btn--secondary:hover { background: var(--color-brand-navy); color: var(--color-on-dark); transform: translateY(-2px); }

.btn--on-dark { background: transparent; border-color: var(--color-on-dark-border); color: var(--color-on-dark); }
.btn--on-dark:hover { background: var(--color-on-dark); color: var(--color-midnight); transform: translateY(-2px); }

.btn--block { width: 100%; }

/* Skip link -------------------------------------------------------------- */

.skip-link {
  position: absolute;
  top: var(--space-2); left: var(--space-2);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--color-brand-navy);
  color: var(--color-on-dark);
  border-radius: var(--radius-medium);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform var(--duration-fast) var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ------------------------------------------------------------- 6. HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-canvas);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--duration-medium) var(--ease-out),
              border-color var(--duration-medium) var(--ease-out);
}

/* Over a photographic hero the bar is transparent; the wordmark is cyan and
   orange with no dark ink, so it holds up on the image unaided. */
.site-header--overlay {
  position: fixed;
  inset-inline: 0;
  background: transparent;
  border-bottom-color: transparent;
}
.site-header--overlay.is-scrolled {
  background: var(--color-canvas);
  border-bottom-color: var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  height: var(--header-h);
  transition: height var(--duration-medium) var(--ease-out);
}
.site-header.is-scrolled .site-header__inner { height: calc(var(--header-h) - 0.5rem); }

.site-header__brand { display: block; flex: none; line-height: 0; }
.site-header__brand img {
  width: 9.375rem;
  height: auto;
  transform-origin: left center;
  transition: transform var(--duration-medium) var(--ease-out);
}

.site-nav { display: none; margin-inline-start: auto; }
.site-nav__list { display: flex; align-items: center; gap: var(--space-6); }

.site-nav__list a {
  position: relative;
  display: block;
  padding-block: var(--space-2);
  color: var(--color-text);
  font-size: var(--fs-small);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--color-brand-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-fast) var(--ease-out);
}
.site-nav__list a:hover { color: var(--color-brand-navy); }
.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after { transform: scaleX(1); }

.site-nav__list a[aria-current="page"] { color: var(--color-brand-navy); font-weight: 500; }
.site-nav__list a[aria-current="page"]::after { width: 1.5rem; transform: scaleX(1); }

/* Overlay state inverts the nav colours until the bar becomes solid. */
.site-header--overlay:not(.is-scrolled) .site-nav__list a { color: var(--color-on-dark); }
.site-header--overlay:not(.is-scrolled) .site-nav__list a:hover,
.site-header--overlay:not(.is-scrolled) .site-nav__list a[aria-current="page"] { color: #fff; }
.site-header--overlay:not(.is-scrolled) .menu-toggle {
  color: var(--color-on-dark);
  border-color: var(--color-on-dark-border);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-inline-start: auto;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-brand-navy);
  transition: color var(--duration-medium) var(--ease-out),
              border-color var(--duration-medium) var(--ease-out);
}
.menu-toggle__icon { display: grid; gap: 3px; width: 1rem; }
.menu-toggle__icon span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; }

@media (min-width: 64em) {
  .site-nav { display: block; }
  .menu-toggle { display: none; }
  .site-header__brand img { width: 11.875rem; }
  .site-header.is-scrolled .site-header__brand img { transform: scale(0.93); }
}

/* -------------------------------------------------------- 7. MOBILE MENU */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--pad-x) var(--space-8);
  background: var(--color-brand-navy);
  color: var(--color-on-dark);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(var(--header-h) - 1rem);
  margin-bottom: var(--space-8);
}
.mobile-menu__title { font-size: var(--fs-body); font-weight: 600; color: var(--color-on-dark); }

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding-inline: var(--space-4);
  border: 1px solid var(--color-on-dark-border);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-on-dark);
}

.mobile-menu__list li + li { border-top: 1px solid var(--color-on-dark-border); }
.mobile-menu__list a {
  display: block;
  padding-block: var(--space-4);
  min-height: 2.75rem;
  font-size: var(--fs-subheading);
  line-height: var(--lh-sub);
  font-weight: 500;
  color: var(--color-on-dark);
  text-decoration: none;
}
.mobile-menu__list a:hover,
.mobile-menu__list a[aria-current="page"] { color: var(--color-cyan-on-dark); }

.mobile-menu__foot { margin-top: auto; padding-top: var(--space-8); }
.mobile-menu__meta { margin-top: var(--space-4); font-size: var(--fs-small); color: var(--color-on-dark-muted); }
.mobile-menu__meta a { color: var(--color-on-dark); }

body.is-menu-open { overflow: hidden; }

/* ------------------------------------------------- 8. HERO (full screen) */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  isolation: isolate;
  background: var(--color-midnight);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Scrim: dark at the top so the transparent header reads, dark at the base
   so the headline sits on a reliable field rather than on the photo. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* Horizontal pass guarantees a dark field under the text column, so the
       headline never has to compete with the city lights behind it. */
    linear-gradient(90deg,
      rgb(7 30 45 / 0.86) 0%,
      rgb(7 30 45 / 0.72) 34%,
      rgb(7 30 45 / 0.20) 68%,
      rgb(7 30 45 / 0) 88%),
    linear-gradient(180deg,
      rgb(7 30 45 / 0.72) 0%,
      rgb(7 30 45 / 0.30) 28%,
      rgb(7 30 45 / 0.52) 66%,
      rgb(7 30 45 / 0.86) 100%);
}

.hero__content {
  padding-block: calc(var(--header-h) + var(--space-16)) var(--space-16);
  color: var(--color-on-dark);
}


.hero__title {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--space-6);
  max-width: 18ch;
}

.hero__lead {
  color: var(--color-on-dark);
  margin-bottom: var(--space-8);
  max-width: 52ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }


/* A single quarter-disc anchored to the hero's lower right, echoing the
   mark's bottom-right quadrant. */
.hero__shape {
  position: absolute;
  right: 0; bottom: 0;
  width: clamp(4.5rem, 10vw, 9.5rem);
  aspect-ratio: 1;
  background: var(--color-brand-orange);
  border-radius: 100% 0 0 0;
  z-index: -1;
}

@media (max-width: 26.25em) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

@media (min-width: 60em) {
  .hero__content { padding-block: calc(var(--header-h) + var(--space-20)) var(--space-20); }
  .hero__title { max-width: 16ch; }
}

/* ------------------------------------------------- 9. PAGE HERO (inner) */

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 30rem;
  isolation: isolate;
  background: var(--color-midnight);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgb(7 30 45 / 0.76) 0%,
      rgb(7 30 45 / 0.42) 34%,
      rgb(7 30 45 / 0.78) 74%,
      rgb(7 30 45 / 0.93) 100%);
}
.page-hero__content {
  padding-block: calc(var(--header-h) + var(--space-16)) var(--space-16);
  color: var(--color-on-dark);
}
.page-hero__title {
  font-size: var(--fs-page-title);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: #fff;
  margin-bottom: var(--space-6);
  max-width: 20ch;
}
.page-hero__lead { color: var(--color-on-dark); max-width: 58ch; }
.page-hero__shape {
  position: absolute;
  right: 0; bottom: 0;
  width: clamp(5rem, 12vw, 10rem);
  aspect-ratio: 1;
  background: var(--color-brand-cyan);
  border-radius: 100% 0 0 0;
  z-index: -1;
}

@media (min-width: 60em) {
  .page-hero { min-height: 34rem; }
  .page-hero__content { padding-block: calc(var(--header-h) + var(--space-20)) var(--space-16); }
}

/* Shape-led variant, used where a photograph would have to be repeated a
   third time. The mark itself carries the page instead. */
.page-hero--shapes { background: var(--color-brand-navy); min-height: 26rem; }
.page-hero--shapes .page-hero__shape { display: none; }
/* Shown whole rather than cropped — a clipped mark reads as stray shapes. */
.page-hero__icon {
  position: absolute;
  right: clamp(1.25rem, 7vw, 7rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(6rem, 16vw, 13rem);
  z-index: -1;
  pointer-events: none;
}

/* On phones the mark sits behind the copy, so it drops right back. */
@media (max-width: 59.999em) {
  .page-hero__icon {
    top: auto;
    bottom: -1.5rem;
    right: -1.5rem;
    transform: none;
    opacity: 0.18;
  }
}

@media (min-width: 60em) { .page-hero--shapes { min-height: 30rem; } }

/* -------------------------------------------------------- 10. PROOF STRIP */

.proof { background: var(--color-brand-navy); color: var(--color-on-dark); }
.proof__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-8);
  padding-block: var(--space-6);
  font-size: var(--fs-small);
}
.proof__list li { display: flex; align-items: center; gap: var(--space-3); }
.proof__list li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-brand-cyan);
}
@media (min-width: 64em) { .proof__list { gap: var(--space-12); } }

/* ------------------------------------------------------------ 11. PILLARS */

.intro__grid { display: grid; gap: var(--space-12); }
.intro__head .section-title { margin-bottom: var(--space-4); }

/* auto-fit means one rule serves both placements: four-up across a full
   container, two-up inside the home page's 8-column well. */
.pillars {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.pillar {
  position: relative;
  padding: var(--space-6);
  background: #fff;
  border-radius: var(--radius-large);
  overflow: hidden;
  transition: transform var(--duration-medium) var(--ease-out),
              box-shadow var(--duration-medium) var(--ease-out);
}
/* Corner shape moved to ::before so ::after is free for the gradient ring. */
.pillar::before {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 2.5rem; height: 2.5rem;
  background: var(--color-cyan-soft);
  border-radius: 100% 0 0 0;
  transform-origin: bottom right;
  transition: transform var(--duration-medium) var(--ease-out),
              background-color var(--duration-medium) var(--ease-out);
}
.pillar:nth-child(even)::before { background: var(--color-orange-soft); }
.pillar:hover::before { transform: scale(1.35); }

/* Standalone marks sit in a square box so a dot, a bar cluster and an arc
   all occupy the same footprint and align down a list. */
.pillar__icon,
.value__mark,
.contact-item__mark,
.cluster__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 1em;
  height: 1em;
}

.pillar__icon { margin-bottom: var(--space-4); font-size: 1.75rem; }
.pillar__title { font-size: var(--fs-subheading); line-height: var(--lh-sub); color: var(--color-brand-navy); margin-bottom: var(--space-2); }
.pillar__text { color: var(--color-text-muted); position: relative; z-index: 1; }

@media (min-width: 60em) {
  /* 4/8 rather than 5/7: at two-up the pillar cards need the extra width
     more than the heading does. */
  .intro__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-12); align-items: start; }
}

/* ----------------------------------------------------------- 12. SERVICES */

.svc-list { display: grid; gap: var(--space-3); }

.svc__link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "num title arrow" ".  desc  .";
  align-items: center;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-5, 1.25rem) var(--space-6);
  background: #fff;
  border-radius: var(--radius-large);
  color: inherit;
  text-decoration: none;
  transition: transform var(--duration-medium) var(--ease-out),
              box-shadow var(--duration-medium) var(--ease-out),
              background-color var(--duration-medium) var(--ease-out);
}
.svc__link:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgb(15 64 95 / 0.1); }

/* On the Services page the rows are the content, not links to it. */
div.svc__link { cursor: default; align-items: start; }
div.svc__link:hover { transform: none; box-shadow: none; }
div.svc__link:hover .svc__num { background: var(--color-cyan-soft); color: var(--color-brand-navy); }

/* Number sits in a cyan disc — the mark's dot, made functional. */
.svc__num {
  grid-area: num;
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--color-cyan-soft);
  color: var(--color-brand-navy);
  font-size: var(--fs-small);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--duration-medium) var(--ease-out),
              color var(--duration-medium) var(--ease-out);
}
.svc__link:hover .svc__num { background: var(--color-brand-cyan); color: #fff; }

.svc__title { grid-area: title; font-size: var(--fs-subheading); line-height: var(--lh-sub); font-weight: 600; color: var(--color-brand-navy); }
.svc__desc { grid-area: desc; color: var(--color-text-muted); max-width: 62ch; }
.svc__arrow { grid-area: arrow; color: var(--color-brand-orange); transition: transform var(--duration-medium) var(--ease-out); }
.svc__link:hover .svc__arrow { transform: translateX(4px); }

.services__foot { margin-top: var(--space-8); }

@media (min-width: 60em) {
  .svc__link {
    grid-template-columns: auto minmax(0, 5fr) minmax(0, 6fr) auto;
    grid-template-areas: "num title desc arrow";
    gap: var(--space-6);
    padding-block: var(--space-6);
  }
  .svc__desc { font-size: var(--fs-small); line-height: 1.6; }
}

/* Service clusters (Services page) --------------------------------------- */

.cluster + .cluster { margin-top: var(--space-16); }
.cluster__head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-6); }
.cluster__mark { font-size: 1.5rem; }
.cluster__title { font-size: var(--fs-subheading); color: var(--color-brand-navy); }
.cluster__note { color: var(--color-text-muted); font-size: var(--fs-small); }

/* Deliverables ----------------------------------------------------------- */

.deliverables { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.deliverables li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.deliverables li::before {
  content: "";
  flex: none;
  margin-top: 0.5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-brand-orange);
}

/* ----------------------------------------------------- 13. REGIONAL REACH */

.region__grid { display: grid; gap: var(--space-12); align-items: center; }
.region__media { border-radius: var(--radius-large); overflow: hidden; }
.region__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.region__content .section-title { margin-bottom: var(--space-4); }
.region__content .lead { margin-bottom: var(--space-8); }

.region__countries { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.region__countries li {
  padding: 0.375rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--color-on-dark-border);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-on-dark);
}

.region__langs { margin-bottom: var(--space-6); color: var(--color-on-dark); }
.region__langs-label { margin-bottom: var(--space-1); }

@media (min-width: 60em) {
  .region__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-16); }
}

/* --------------------------------------------------------- 14. PROCESS */

.process { display: grid; gap: var(--space-8); counter-reset: step; position: relative; }

.process__step { position: relative; padding-top: var(--space-8); }

/* Connecting rule with a filled node, drawn from the mark's dot. */
.process__step::before {
  content: "";
  position: absolute;
  top: 0.6rem; left: 0; right: 0;
  height: 2px;
  background: var(--color-border);
}
.process__step::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--color-brand-cyan);
  box-shadow: 0 0 0 5px var(--color-cyan-soft);
}
.section--dark .process__step::before,
.section--navy .process__step::before { background: var(--color-on-dark-border); }
.section--dark .process__step::after,
.section--navy .process__step::after { box-shadow: 0 0 0 5px rgb(40 174 234 / 0.18); }

.process__num {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--fs-small);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--color-brand-orange);
}
.process__title { font-size: var(--fs-body); line-height: 1.35; font-weight: 600; color: var(--color-brand-navy); margin-bottom: var(--space-2); }
.section--dark .process__title, .section--navy .process__title { color: var(--color-on-dark); }
.process__text { font-size: var(--fs-small); line-height: 1.6; color: var(--color-text-muted); }
.section--dark .process__text, .section--navy .process__text { color: var(--color-on-dark-muted); }

.approach__foot { margin-top: var(--space-12); }

@media (min-width: 48em) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 60em) { .process { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-6); } }

/* ------------------------------------------------------- 15. EXPERIENCE */

.cases { display: grid; gap: var(--space-6); }

.case {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: #fff;
  border-radius: var(--radius-large);
  overflow: hidden;
  transition: transform var(--duration-medium) var(--ease-out),
              box-shadow var(--duration-medium) var(--ease-out);
}
/* Quarter-disc in the top-right, matching the mark's upper-right quadrant.
   Kept whole and flush rather than clipped, so it reads as a shape. */
.case::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 2.5rem; height: 2.5rem;
  background: var(--color-brand-orange);
  border-radius: 0 0 0 100%;
}
.case:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgb(15 64 95 / 0.1); }

.case__meta { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--fs-small); color: var(--color-text-muted); }
.case__client { font-weight: 600; color: var(--color-brand-navy); }
.case__title { font-size: var(--fs-subheading); line-height: var(--lh-sub); color: var(--color-brand-navy); }
.case__text { font-size: var(--fs-small); line-height: 1.6; color: var(--color-text-muted); }
.case__output { font-size: var(--fs-small); color: var(--color-text); }
.case__output strong { color: var(--color-brand-navy); font-weight: 600; }

.case--featured { gap: var(--space-4); }
.case--featured .case__title { font-size: var(--fs-section-title); line-height: var(--lh-section); }
.case--featured .case__text { font-size: var(--fs-body); }

.experience__foot { margin-top: var(--space-8); }

@media (min-width: 48em) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60em) {
  .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
  .cases--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case--featured { grid-column: 1 / -1; padding: var(--space-12); }
}

/* -------------------------------------------------------- 16. STAT/VALUES */

.values { display: grid; gap: var(--space-4); }
.value {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  background: #fff;
  border-radius: 999px;
  font-weight: 500;
  color: var(--color-brand-navy);
}
.value__mark { margin-top: 0.15em; font-size: 1.125rem; }

@media (min-width: 48em) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60em) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Statement blocks (mission / vision) ------------------------------------ */

.statements { display: grid; gap: var(--space-8); }
.statement {
  position: relative;
  padding: var(--space-8);
  background: var(--color-cyan-soft);
  border-radius: var(--radius-large);
  overflow: hidden;
}
.statement--sand { background: var(--color-orange-soft); }
.statement__label { margin-bottom: var(--space-4); }
.statement__text { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--color-brand-navy); }
.statement__shape {
  position: absolute;
  right: -1.5rem; top: -1.5rem;
  width: 7rem; height: 7rem;
  border-radius: 0 0 0 100%;
  background: rgb(255 255 255 / 0.5);
}
@media (min-width: 48em) { .statements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------- 17. COUNTRY LIST */

.countries { display: grid; gap: var(--space-4); }
.country {
  position: relative;
  padding: var(--space-6);
  background: #fff;
  border-radius: var(--radius-large);
  transition: transform var(--duration-medium) var(--ease-out),
              box-shadow var(--duration-medium) var(--ease-out);
}
.country:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgb(15 64 95 / 0.1); }
.country__name {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-subheading);
  line-height: var(--lh-sub);
  color: var(--color-brand-navy);
  margin-bottom: var(--space-2);
}
.country__text { color: var(--color-text-muted); font-size: var(--fs-small); line-height: 1.6; }

/* Where a country card title is itself a link (the 404 page), the card's own
   lift and gradient ring carry the affordance — no underline needed. */
.country__name a { color: inherit; text-decoration: none; }
.country:hover .country__name a { color: var(--color-link); }

@media (min-width: 48em) { .countries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60em) { .countries { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } }

.country__type {
  margin-top: var(--space-3);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-link);
}
.country__type--deploy { color: var(--color-orange-text); }

/* Coverage diagram ------------------------------------------------------- */
/* Replaces the flat infographic. Every label here is real text. */

.reach-grid { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 60em) {
  .reach-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-16); }
}

.reach { margin: 0; }
.reach__svg { width: 100%; height: auto; max-width: 30rem; margin-inline: auto; }

.reach__ring { fill: none; stroke: var(--color-brand-cyan); stroke-width: 2; opacity: 0.45; }
.reach__ring--dashed { stroke: var(--color-brand-orange); stroke-dasharray: 7 9; opacity: 0.7; }
.reach__spoke { stroke: var(--color-brand-cyan); stroke-width: 2; opacity: 0.3; }

.reach__hub { fill: var(--color-brand-navy); }
.reach__hub-label { fill: #fff; font-size: 16px; font-weight: 600; }
.reach__hub-sub { fill: var(--color-on-dark-muted); font-size: 11px; font-weight: 500; }
.reach__ring-label { fill: var(--color-brand-navy); font-size: 13px; font-weight: 600; }

.reach__svg text { text-anchor: middle; dominant-baseline: central; }

.reach__node {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform var(--duration-medium) var(--ease-out);
}
.reach__node circle { fill: var(--color-brand-cyan); transition: fill var(--duration-medium) var(--ease-out); }
/* Midnight, not white: white on brand cyan is only 2.5:1. */
.reach__node text { fill: var(--color-midnight); font-size: 13px; font-weight: 600; pointer-events: none; }
.reach__node:hover { transform: scale(1.12); }
.reach__node:hover circle { fill: var(--color-brand-orange); }

.reach__caption {
  margin-top: var(--space-6);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
}

.reach__subtitle {
  margin: var(--space-12) 0 var(--space-4);
  font-size: var(--fs-subheading);
  line-height: var(--lh-sub);
  color: var(--color-brand-navy);
}

/* Legend ----------------------------------------------------------------- */

.legend { display: grid; gap: var(--space-6); }
.legend__item { display: flex; gap: var(--space-4); align-items: flex-start; }
.legend__item strong { display: block; color: var(--color-brand-navy); margin-bottom: var(--space-1); }
.legend__item span:last-child { font-size: var(--fs-small); line-height: 1.6; color: var(--color-text-muted); }

.legend__swatch { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.2em; border-radius: 50%; }
.legend__swatch--country { background: var(--color-brand-cyan); }
.legend__swatch--deploy { border: 2px dashed var(--color-brand-orange); }

/* Thematic experience chips ---------------------------------------------- */

.themes { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.theme {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: #fff;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-brand-navy);
  transition: transform var(--duration-medium) var(--ease-out),
              box-shadow var(--duration-medium) var(--ease-out);
}
.theme .mk { flex: none; font-size: 0.875rem; }
.theme:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgb(15 64 95 / 0.13), 0 0 18px rgb(40 174 234 / 0.22);
}

/* Two-column plain lists ------------------------------------------------- */

.list-cols { display: grid; gap: var(--space-2); }
.list-cols li {
  display: flex;
  gap: var(--space-3);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}
.list-cols li::before {
  content: "";
  flex: none;
  margin-top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-brand-cyan);
}
.section--dark .list-cols li,
.section--navy .list-cols li { border-bottom-color: var(--color-on-dark-border); }
@media (min-width: 48em) { .list-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-12); } }

/* Already inside a two-column split — subdividing again gives four cramped
   columns, so keep these single-file. */
.split .list-cols { grid-template-columns: minmax(0, 1fr); }

/* --------------------------------------------------------- 18. STANDARDS */

.standards { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.section--dark .standards, .section--navy .standards { border-top-color: var(--color-on-dark-border); }
.standards__label { margin-bottom: var(--space-4); }
.standards__list { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.standards__list li {
  padding: 0.4375rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-brand-navy);
}
.section--dark .standards__list li,
.section--navy .standards__list li {
  background: rgb(255 255 255 / 0.07);
  border-color: var(--color-on-dark-border);
  color: var(--color-on-dark);
}

/* ------------------------------------------------------------- 19. FORMS */

/* minmax(0,…) everywhere: grid tracks default to a min-content floor, and the
   longest <option> ("Data collection, management & analysis") is wide enough
   to push the whole column past a 320px viewport. */
.form { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
.form__row { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48em) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: var(--space-2); min-width: 0; }
.field__label { font-size: var(--fs-small); font-weight: 600; color: var(--color-brand-navy); }
.field__hint { font-size: var(--fs-small); color: var(--color-text-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 3.375rem;
  padding: var(--space-3) var(--space-4);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  color: var(--color-text);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.field textarea { min-height: 9.375rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-brand-cyan);
  box-shadow: 0 0 0 3px rgb(40 174 234 / 0.28);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; }

.form__note { font-size: var(--fs-small); color: var(--color-text-muted); }
.form__required { color: var(--color-error); }

/* Contact details -------------------------------------------------------- */

.contact-details { display: grid; gap: var(--space-4); }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item__mark { margin-top: 0.3em; font-size: 1.125rem; }
/* Field labels, not eyebrows: sentence case, no tracking. */
.contact-item__label { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--color-text-muted); margin-bottom: var(--space-1); }
.contact-item__value { color: var(--color-brand-navy); font-weight: 500; }
.contact-item__value a { color: var(--color-link); }

.contact__grid { display: grid; gap: var(--space-12); grid-template-columns: minmax(0, 1fr); }
.contact-item__value { overflow-wrap: anywhere; }
@media (min-width: 60em) {
  .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-16); align-items: start; }
}

/* Split editorial block -------------------------------------------------- */

/* Text-only splits align at the top so their headings sit on one line;
   splits carrying an image still centre against it. */
.split { display: grid; gap: var(--space-12); align-items: start; }
.split:has(.split__media) { align-items: center; }
.split__media { border-radius: var(--radius-large); overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 60em) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-16); }
  .split--reverse .split__media { order: 2; }
}

/* ----------------------------------------------------- 20. CONTACT BAND */

.contact-band {
  position: relative;
  padding-block: var(--section-y);
  background: var(--color-brand-navy);
  color: var(--color-on-dark);
  overflow: hidden;
}
.contact-band__grid { display: grid; gap: var(--space-8); align-items: center; position: relative; z-index: 1; }
.contact-band__title { font-size: var(--fs-section-title); line-height: var(--lh-section); color: #fff; margin-bottom: var(--space-4); max-width: 20ch; }
.contact-band__text { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--color-on-dark-muted); max-width: 58ch; }
@media (min-width: 60em) {
  .contact-band__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-16); }
  .contact-band__action { justify-self: end; }
}

/* ------------------------------------------------------------ 21. FOOTER */

.site-footer {
  padding-block: var(--space-16) var(--space-8);
  background: var(--color-midnight);
  color: var(--color-on-dark-muted);
  font-size: var(--fs-small);
}
.site-footer__grid { display: grid; gap: var(--space-12); }
.site-footer__logo { width: 11.25rem; height: auto; margin-bottom: var(--space-6); }
.site-footer__statement { font-size: var(--fs-body); font-weight: 500; color: var(--color-on-dark); margin-bottom: var(--space-3); max-width: 26ch; }
.site-footer__about { max-width: 42ch; line-height: 1.6; }
.site-footer__heading { font-size: var(--fs-body); font-weight: 600; color: var(--color-on-dark); margin-bottom: var(--space-4); }
.site-footer__nav li + li { margin-top: var(--space-2); }
.site-footer a { color: var(--color-on-dark-muted); text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
.site-footer a:hover { color: var(--color-cyan-on-dark); }
.site-footer__contact p + p { margin-top: var(--space-2); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-8);
  justify-content: space-between;
  margin-top: var(--space-16);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-on-dark-border);
}
.site-footer__legal { display: flex; gap: var(--space-6); }
@media (min-width: 48em) {
  .site-footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--space-8); }
}

/* -------------------------------------------------- 21b. HOVER / GLOW SET */

/* One gradient hairline ring, masked so only the border shows, shared by every
   card surface. Each host keeps ::before for its corner shape. */
.pillar::after,
.case::after,
.country::after,
.svc__link::after,
.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg,
    var(--color-brand-cyan) 0%,
    var(--color-brand-cyan) 30%,
    var(--color-brand-orange) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-medium) var(--ease-out);
}
.pillar:hover::after,
.case:hover::after,
.country:hover::after,
.svc__link:hover::after,
.statement:hover::after { opacity: 1; }

/* Lift plus a cyan bloom. The second shadow is the glow. */
.pillar:hover,
.case:hover,
.country:hover,
.svc__link:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgb(15 64 95 / 0.14),
    0 0 26px rgb(40 174 234 / 0.22);
}

/* Case corner shape grows into the lift. */
.case::before {
  transform-origin: top right;
  transition: transform var(--duration-medium) var(--ease-out);
}
.case:hover::before { transform: scale(1.28); }

/* Number disc fills with the brand gradient. */
.svc__link:hover .svc__num {
  background: linear-gradient(135deg, var(--color-brand-cyan), var(--color-brand-orange));
  color: #fff;
  transform: scale(1.08);
}
.svc__num { transition: transform var(--duration-medium) var(--ease-out),
                        background-color var(--duration-medium) var(--ease-out),
                        color var(--duration-medium) var(--ease-out); }


.country__name .mk,
.pillar__icon .mk,
.pillar__icon { transition: transform var(--duration-medium) var(--ease-out); }
.pillar:hover .pillar__icon,
.country:hover .country__name .mk { transform: scale(1.18) rotate(-6deg); }

/* Buttons: gradient sweep plus a matching bloom. */
.btn--primary {
  background-image: linear-gradient(110deg,
    var(--color-brand-orange) 0%,
    #ff9f52 42%,
    var(--color-brand-orange) 100%);
  background-size: 220% 100%;
  background-position: 0 0;
  transition: background-position 480ms var(--ease-out),
              box-shadow var(--duration-medium) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}
.btn--primary:hover {
  background-position: 100% 0;
  box-shadow: 0 12px 28px rgb(245 130 42 / 0.40), 0 0 22px rgb(245 130 42 / 0.28);
}

.btn--secondary:hover { box-shadow: 0 12px 28px rgb(15 64 95 / 0.24); }
.btn--on-dark:hover { box-shadow: 0 0 24px rgb(40 174 234 / 0.35); }

/* Map and image frames pick up the same ring on hover. */
.map, .region__media, .split__media { position: relative; }
.map::after, .region__media::after, .split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--color-brand-cyan), var(--color-brand-orange));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-medium) var(--ease-out);
}
.map:hover::after, .region__media:hover::after, .split__media:hover::after { opacity: 1; }

/* Value pills */
.value {
  transition: transform var(--duration-medium) var(--ease-out),
              box-shadow var(--duration-medium) var(--ease-out);
}
.value:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgb(15 64 95 / 0.12), 0 0 20px rgb(40 174 234 / 0.20);
}

/* Standards chips */
.standards__list li {
  transition: transform var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}
.standards__list li:hover { transform: translateY(-2px); border-color: var(--color-brand-cyan); }

/* ------------------------------------------------------------- 22. MOTION */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero entrance: the headline block arrives in sequence on load. `both` keeps
   the end state, so a frozen or disabled animation still shows the content. */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.js .hero__title,
.js .hero__lead,
.js .hero__actions,
.js .page-hero__title,
.js .page-hero__lead {
  animation: rise-in 720ms var(--ease-out) both;
}
.js .hero__title,   .js .page-hero__title { animation-delay: 80ms; }
.js .hero__lead,    .js .page-hero__lead  { animation-delay: 220ms; }
.js .hero__actions { animation-delay: 350ms; }

/* The accent bar draws itself out from the left. */
@keyframes bar-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .hero__title::before,
.js .page-hero__title::before {
  transform-origin: left;
  animation: bar-draw 620ms var(--ease-out) both;
  animation-delay: 40ms;
}
.js .reveal.is-visible .section-title::before {
  transform-origin: left;
  animation: bar-draw 620ms var(--ease-out) both;
}

/* Process line grows and its node pops as each step enters. */
@keyframes line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes node-pop {
  0%   { transform: scale(0.2); opacity: 0; }
  60%  { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.js .process__step.is-visible::before {
  transform-origin: left;
  animation: line-grow 640ms var(--ease-out) both;
}
.js .process__step.is-visible::after {
  animation: node-pop 560ms var(--ease-out) both;
  animation-delay: 160ms;
}

@media (hover: hover) and (min-width: 60em) {
  .region__media img, .split__media img { transition: transform var(--duration-slow) var(--ease-out); }
  .region__media:hover img, .split__media:hover img { transform: scale(1.03); }
}

/* ------------------------------------------------------ 23. REDUCED MOTION */

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

  /* Every lift, scale and rotate collapses; the gradient rings and colour
     changes stay, since they are state, not motion. */
  .btn:hover,
  .case:hover, .pillar:hover, .country:hover, .svc__link:hover, .value:hover,
  .standards__list li:hover,
  .case:hover::before, .pillar:hover::before,
  .svc__link:hover .svc__num,
  .pillar:hover .pillar__icon,
  .country:hover .country__name .mk,
  .region__media:hover img, .split__media:hover img {
    transform: none;
  }
}
