/* ==========================================================================
   HumanX — static site styles
   ========================================================================== */

/* --- Tokens -------------------------------------------------------------- */
:root {
  /* Brand colours, from HumanX_logo_Branding2.pdf page 3.
     Orange #F7941D (Pantone 2012 C) and blue #1B75BC (Pantone 526 C) are the
     only two colours the guidelines define. Everything else here is a tint or
     shade of those two, so the palette stays on-brand by construction. */
  --brand-orange: #f7941d;
  --brand-blue: #1b75bc;

  --navy-900: #0a3a61;   /* deepest blue, dark section grounds */
  --navy-800: #0e4c7e;
  --navy-700: #145f99;
  --navy-600: #1b75bc;   /* brand blue */
  --blue-500: #3e8fcc;
  --blue-600: #1b75bc;   /* brand blue */
  --blue-700: #145f99;
  --orange-500: #f7941d; /* brand orange */
  --orange-600: #de7f0c;
  --orange-400: #fbb255;

  --ink: #0e3a5c;
  --ink-soft: #4a6e8a;
  --paper: #ffffff;
  --paper-alt: #f4f9fd;
  --line: #dce8f2;

  --shadow-sm: 0 2px 10px rgba(16, 42, 99, 0.08);
  --shadow-md: 0 10px 30px rgba(16, 42, 99, 0.12);
  --shadow-lg: 0 22px 55px rgba(16, 42, 99, 0.16);

  --wrap: 1140px;
  --header-h: 74px;
  --radius: 10px;

  --font: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 2px;
  border-radius: 4px;
}

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

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy-800);
  color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.site-logo { display: inline-flex; align-items: center; }
.site-logo:hover { text-decoration: none; }
.site-logo img { width: 200px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy-800);
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; margin-inline: auto; fill: currentColor; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  display: inline-block;
  padding: 6px 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.site-nav a:hover { color: var(--blue-500); text-decoration: none; }
.site-nav a[aria-current] { color: var(--blue-500); font-weight: 600; }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav[data-open="true"] { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
  }
  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }
  .site-nav li:last-child a { border-bottom: 0; }
}

/* --- Sections ------------------------------------------------------------ */
.section { padding: 76px 0; }
.section--tight { padding: 56px 0; }

.section__eyebrow {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 4px;
}
.section__lead {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  margin-bottom: 34px;
  max-width: 62ch;
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: 56px 0;
  color: #fff;
  background:
    radial-gradient(120% 150% at 84% 38%, rgba(247, 148, 29, 0.60) 0%, rgba(247, 148, 29, 0) 46%),
    radial-gradient(90% 120% at 58% 80%, rgba(27, 117, 188, 0.80) 0%, rgba(27, 117, 188, 0) 58%),
    linear-gradient(100deg, #3e8fcc 0%, #1b75bc 34%, #0e4c7e 62%, #145f99 78%, #f7941d 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 30% 50%, rgba(6, 40, 68, 0.30) 0%, rgba(6, 40, 68, 0) 70%);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; }

.hero__card {
  max-width: 560px;
  padding: 44px 44px 48px;
  background: linear-gradient(120deg, rgba(8, 46, 78, 0.95) 0%, rgba(14, 76, 126, 0.90) 100%);
  border-radius: 0 var(--radius) var(--radius) 64px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(2px);
}

.hero__hello {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--orange-500);
  margin-bottom: 2px;
}
.hero__title {
  font-size: clamp(2rem, 5.4vw, 3.1rem);
  font-weight: 700;
  color: var(--orange-500);
  margin-bottom: 18px;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: #fff;
  margin: 0;
  max-width: 40ch;
}

/* --- Flip cards ---------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .card-grid { grid-template-columns: 1fr; } }

.flip {
  perspective: 1400px;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: center;
  cursor: pointer;
  display: block;
  width: 100%;
}

/* Both faces occupy the same grid cell, so the card sizes itself to the
   taller of the two instead of relying on a fixed height. */
.flip__inner {
  display: grid;
  grid-template-areas: "face";
  min-height: 250px;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  transform-style: preserve-3d;
}

.flip:hover .flip__inner,
.flip:focus-visible .flip__inner,
.flip[aria-pressed="true"] .flip__inner { transform: rotateY(180deg); }

.flip__face {
  grid-area: face;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 26px 18px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  position: relative;
}

.flip__face::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 9px;
  background: var(--bar, var(--orange-500));
}

.flip__face--back {
  transform: rotateY(180deg);
  justify-content: center;
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #fff;
}

.flip__icon { width: 46px; margin-bottom: 4px; }

.flip__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--blue-600);
  min-height: 2.6em;
  display: flex;
  align-items: center;
}

.flip__text {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.flip__face--back .flip__text { color: rgba(255, 255, 255, 0.94); font-size: 0.78rem; }

/* Cards flip on hover on pointer devices; on touch they expand instead. */
@media (hover: none) {
  .flip { cursor: default; }
  .flip__inner {
    display: block;
    min-height: 0;
    transform: none !important;
    transform-style: flat;
  }
  .flip__face {
    transform: none;
    backface-visibility: visible;
  }
  .flip__face--back {
    margin-top: -1px;
    border-radius: 0 0 4px 4px;
    padding: 18px;
  }
  .flip__face:not(.flip__face--back) { border-radius: 4px 4px 0 0; }
  .flip__face:not(.flip__face--back)::after { display: none; }
}

/* --- Why partner --------------------------------------------------------- */
.why {
  position: relative;
  color: #fff;
  padding: 78px 0 86px;
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 48%, var(--navy-600) 100%);
  border-radius: 0 0 130px 0;
  overflow: hidden;
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 88% 12%, rgba(62, 143, 204, 0.38) 0%, rgba(62, 143, 204, 0) 70%),
    radial-gradient(50% 70% at 8% 92%, rgba(247, 148, 29, 0.20) 0%, rgba(247, 148, 29, 0) 70%);
  pointer-events: none;
}

.parallax--why { inset: -10% -4% -18% 40%; }

.why > .wrap { position: relative; z-index: 1; max-width: 1000px; margin-inline: 0 auto; }

.why__title {
  font-size: clamp(1.6rem, 3.4vw, 2.15rem);
  font-weight: 700;
  margin-bottom: 34px;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 56px;
  max-width: 820px;
}
@media (max-width: 760px) { .why__grid { grid-template-columns: 1fr; gap: 26px; } }

.why__item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.why__item p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

/* --- Our story ----------------------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 40px; } }

.story__title {
  font-size: clamp(1.7rem, 3.6vw, 2.2rem);
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 12px;
}
.story__kicker {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy-700);
  margin-bottom: 20px;
}
.story__body p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.story__diagram { margin-top: 26px; max-width: 340px; }

.story__aside { text-align: center; }

.story__portrait {
  width: 210px;
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--orange-500);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.story__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.story__quote {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--navy-800);
  max-width: 34ch;
  margin: 0 auto;
}
.story__quote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  font-style: normal;
  color: var(--ink-soft);
}

/* --- Clients ------------------------------------------------------------- */
.clients { padding-bottom: 84px; }

.clients__title {
  font-size: clamp(1.3rem, 2.8vw, 1.6rem);
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 34px;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  align-items: center;
}
@media (max-width: 820px) { .clients__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

.clients__item {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 8px;
}
.clients__item img {
  max-height: 62px;
  width: auto;
  object-fit: contain;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* --- Contact ------------------------------------------------------------- */
.contact {
  position: relative;
  padding: 72px 0 80px;
  color: #fff;
  background: linear-gradient(140deg, #082e4e 0%, var(--navy-700) 55%, var(--brand-blue) 100%);
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 75% at 78% 18%, rgba(62, 143, 204, 0.34) 0%, rgba(62, 143, 204, 0) 70%);
  pointer-events: none;
}
.contact > .wrap { position: relative; z-index: 1; max-width: 800px; }

.contact__title {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.form-grid__full { grid-column: 1 / -1; }

/* Bordered so the field is legible on a light section too, not just on the
   dark contact band where it was first used. */
.field {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9ddee;
  border-radius: 4px;
}
/* These fields carry only visually-hidden labels, so the placeholder is the
   visible label and has to meet contrast on its own: 4.69:1 on white. */
.field::placeholder { color: #557891; }
.field:focus { outline: 3px solid var(--orange-500); outline-offset: 1px; }
textarea.field { min-height: 118px; resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 26px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: var(--blue-700);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--blue-600); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.875rem;
  min-height: 1.4em;
}
/* Readable on a light section by default... */
.form-status[data-state="error"] { color: #a4231a; }
.form-status[data-state="ok"] { color: #14663c; }
/* ...and on the dark contact band. */
.contact .form-status[data-state="error"] { color: #ffd0c4; }
.contact .form-status[data-state="ok"] { color: #c8f3d8; }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  padding: 34px 0 22px;
  background: #fff;
  color: var(--navy-800);
  font-size: 0.8125rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr auto 1fr;
  gap: 30px;
  align-items: center;
}
@media (max-width: 860px) {
  .site-footer__top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

.contact-list li { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.contact-list a { color: var(--navy-800); }
.contact-list svg { width: 13px; height: 13px; flex: none; fill: var(--navy-800); }
.contact-list strong { font-weight: 600; }

.socials { display: flex; gap: 8px; }
.socials a {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 6px;
  background: var(--brand-blue);
  color: #fff;
}
.socials a:hover { opacity: 0.88; text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: #fff; }

.site-footer__badge { justify-self: center; }
.site-footer__badge img { width: 150px; }

.site-footer__legal {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* --- WhatsApp button ----------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 40px;
  box-shadow: var(--shadow-md);
  font-size: 0.75rem;
  color: var(--ink);
}
.wa-float:hover { text-decoration: none; }
.wa-float__label { padding-left: 6px; }
.wa-float__label strong { font-weight: 600; }
.wa-float__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #25d366;
}
.wa-float__icon svg { width: 24px; height: 24px; fill: #fff; }

@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: 16px; padding: 6px; }
  .wa-float__label { display: none; }
}

/* --- Explore page -------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  background: linear-gradient(120deg, #0a3a61 0%, var(--navy-700) 45%, var(--brand-blue) 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 75% 20%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
}
/* A single diagonal cut where the decorative wave used to be. The wave came
   from the old Elementor page and is not part of the brand system; one angled
   edge does the same job of separating sections without inventing a motif. */
.page-hero {
  --slope: clamp(26px, 4vw, 70px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--slope)));
}

/* --- Parallax ----------------------------------------------------------- */
/* Decorative layers built from the logo's own lens shapes, drifting slower
   than the page scroll. Driven by JS; without it they simply sit still. */
.parallax {
  position: absolute;
  inset: -18% -8% -28%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.parallax__lens {
  position: absolute;
  width: var(--size, 220px);
  opacity: var(--alpha, 0.14);
  filter: brightness(0) invert(1);   /* render the mark in flat white */
}

@media (prefers-reduced-motion: reduce) {
  .parallax { transform: none !important; }
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  align-items: center;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse > *:first-child { order: 2; }
}

.split__title {
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 16px;
}
.split__body p { font-size: 0.9375rem; color: var(--ink-soft); }

.split__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--paper-alt);
  aspect-ratio: 3 / 2;
}
.split__figure img { width: 100%; height: 100%; object-fit: cover; }

.partner-logo {
  display: inline-block;
  vertical-align: middle;
  max-height: 26px;
  width: auto;
  margin: 0 4px;
}

/* --- Content hero (Outsourcing) ----------------------------------------- */
.page-hero--content {
  display: flex;
  align-items: center;
  min-height: 400px;
  padding: 72px 0 108px;
  color: #fff;
}
.page-hero--content > .wrap { position: relative; z-index: 1; }

.page-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 12px;
}
.page-hero__title {
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  font-weight: 700;
  max-width: 22ch;
  margin-bottom: 16px;
}
.page-hero__title em { font-style: normal; color: var(--orange-500); }

.page-hero__sub {
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
  margin-bottom: 26px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: #eaf3fa; }
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* --- Service cards ------------------------------------------------------ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--accent, var(--blue-600));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.svc__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--paper-alt);
  color: var(--accent, var(--blue-600));
  margin-bottom: 4px;
}
.svc__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.svc__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-800);
}
.svc__text {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin: 0;
}
.svc__list {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.svc__list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 3px;
}
.svc__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent, var(--blue-600));
}

/* --- Coverage / markets ------------------------------------------------- */
.coverage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}
@media (max-width: 760px) { .coverage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.coverage__item {
  padding: 20px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.coverage__region {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.coverage__note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; gap: 18px; } }

.stat__figure {
  font-size: clamp(1.7rem, 3.6vw, 2.2rem);
  font-weight: 700;
  /* The lighter tint, not brand orange: #F7941D on mid-blue measures ~3.0:1,
     which only just clears AA for large text. #FBB255 gives ~3.8:1. */
  color: var(--orange-400);
  line-height: 1.1;
}
.stat__label {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin: 4px 0 0;
}
.why .stat__label { color: rgba(255, 255, 255, 0.85); }

/* --- Motion ------------------------------------------------------------- */
/* Reveal-on-scroll is opt-in: the `js-anim` class is only set (by the inline
   script in <head>) when IntersectionObserver is available. Without it — no
   JS, an old browser, a script error — `.reveal` content is simply visible,
   so nothing can ever be hidden permanently. */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-anim .reveal.is-visible { opacity: 1; transform: none; }

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