/* ===================================================================
   THE GLOBAL NETWORK IMPACT HUB
   Light, airy interpretation of the BlueBiz / TechnoServe language:
   soft gradient heros (no more full-navy slab), fresh teal + warm gold
   accents, generous whitespace, rounded cards with soft teal-tinted
   shadows, pill buttons, Roboto Slab display + Public Sans body.
   Branding (navy / gold / teal, logo, content) stays GNIH.
   =================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Public Sans', Arial, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

:root {
  --paper:      #ffffff;
  --paper-2:    #F2F9F8;   /* soft airy alt-section ground */
  --paper-3:    #FBF6EC;   /* warm sand, used sparingly */
  --surface:    #ffffff;
  --ink:        #45555F;
  --ink-2:      #6C7A82;
  --navy:       #173A52;   /* headings — lifted, still deep */
  --navy-deep:  #122C40;   /* footer */
  --teal:       #159C93;   /* fresh primary accent */
  --teal-2:     #0E7C74;
  --teal-soft:  #E3F5F2;
  --gold:       #D89B36;
  --gold-2:     #BC8226;
  --gold-soft:  #FAF0DC;
  --green:      #4E8F52;
  --rule:       rgba(23, 58, 82, 0.09);
  --rule-2:     rgba(23, 58, 82, 0.16);
  --shadow:     0 16px 40px -16px rgba(21, 156, 147, 0.20);
  --shadow-lg:  0 30px 64px -24px rgba(23, 58, 82, 0.22);
  --radius:     22px;
  --radius-sm:  12px;
  --radius-pill: 999px;
  --maxw: 80rem;
}

/* ---------- type ---------- */
h1, h2 { font-family: 'Roboto Slab', Georgia, serif; letter-spacing: -0.02em; font-weight: 700; line-height: 1.12; color: var(--navy); margin: 0 0 .5em; }
h3, h4 { font-family: 'Public Sans', sans-serif; font-weight: 700; color: var(--navy); line-height: 1.25; margin: 0 0 .5em; letter-spacing: -0.005em; }
.display-1 { font-family: 'Roboto Slab', Georgia, serif; font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
.display-2 { font-family: 'Roboto Slab', Georgia, serif; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
.display-3 { font-family: 'Roboto Slab', Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 1.1rem; max-width: 68ch; }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.68; color: var(--ink); font-weight: 400; max-width: 44rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 1.3rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: linear-gradient(90deg, var(--navy), var(--teal) 55%, var(--gold)); border-radius: 2px; }
.muted { color: var(--ink-2); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 5vw, 2rem); }
.wrap--narrow { max-width: 48rem; }
.section { padding-block: clamp(3.75rem, 9vw, 7.5rem); scroll-margin-top: 6rem; position: relative; }
main > .section:first-child:not(.hero):not(.page-hero):not(.cta-band) { padding-top: clamp(8.5rem, 15vw, 11rem); }
.section--tint { background: var(--paper-2); }
.section--sand { background: var(--paper-3); }
/* legacy "navy" section → now a soft light band so old markup stays airy */
.section--navy { background: var(--teal-soft); }

.split { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .split { grid-template-columns: 4fr 8fr; align-items: start; } }

.grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cols-3 { grid-template-columns: 1fr; } .cols-2 { grid-template-columns: 1fr; } }

.mt-gap { margin-top: clamp(2rem, 5vw, 3.5rem); }
.center { text-align: center; }
.center .lede, .center p { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%); color: #fff; border: 2px solid transparent;
  padding: .85rem 1.9rem; font-size: .95rem; font-weight: 700; letter-spacing: .01em;
  border-radius: var(--radius-pill); transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn::after { content: "\2197"; font-weight: 400; }
.btn:hover { background: linear-gradient(135deg, var(--teal-2) 0%, var(--navy) 100%); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(21,156,147,.5); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--rule-2); }
.btn--ghost:hover { background: linear-gradient(135deg, var(--navy) 0%, var(--teal-2) 100%); border-color: transparent; color: #fff; box-shadow: 0 14px 30px -12px rgba(23,58,82,.4); }
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: .88rem; color: var(--teal);
  text-transform: uppercase; letter-spacing: .1em;
}
.link-arrow::after { content: "\2192"; transition: transform .15s ease; }
.link-arrow:hover { color: var(--teal-2); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header (always light, subtle) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-solid { background: rgba(255,255,255,.96); box-shadow: 0 10px 30px -12px rgba(23,58,82,.14); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 6.75rem; }
.site-header__logo img { height: 74px; width: auto; transition: transform .3s ease; }
.site-header__logo:hover img { transform: scale(1.04); }

.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav > a, .site-nav__group > a {
  font-size: .875rem; font-weight: 600; color: var(--navy);
  padding: .5rem .8rem; border-radius: var(--radius-pill); transition: color .2s, background .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); background: var(--teal-soft); }

.site-nav__group { position: relative; }
.site-nav__menu {
  position: absolute; top: calc(100% + .4rem); left: 0; min-width: 15rem;
  background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--teal);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: .4rem; display: none;
}
.site-nav__group:hover .site-nav__menu, .site-nav__group:focus-within .site-nav__menu { display: block; }
.site-nav__menu a { display: block; padding: .65rem .9rem; font-size: .85rem; font-weight: 500; color: var(--navy); border-radius: var(--radius-sm); }
.site-nav__menu a:hover { background: var(--teal-soft); color: var(--teal); }

.site-header__cta { display: inline-flex; }
.site-header__cta .btn { padding: .62rem 1.35rem; font-size: .8rem; }
.language-picker { display:inline-flex; align-items:center; margin-inline:.25rem; }
.language-picker select { appearance:none; border:1px solid var(--rule-2); background:var(--surface); color:var(--navy); border-radius:999px; padding:.48rem 1.7rem .48rem .7rem; font:700 .75rem/1 'Public Sans',sans-serif; background-image:linear-gradient(45deg,transparent 50%,var(--teal) 50%),linear-gradient(135deg,var(--teal) 50%,transparent 50%); background-position:calc(100% - 11px) 50%,calc(100% - 7px) 50%; background-size:4px 4px,4px 4px; background-repeat:no-repeat; }

.nav-toggle { display: none; background: none; border: 0; padding: .6rem; border-radius: var(--radius-sm); color: var(--navy); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; transition: .2s; }
.nav-scrim { display: none; }

@media (max-width: 1200px) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; width: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: .75rem 1.25rem 1.75rem;
    max-height: calc(100vh - 100%); overflow-y: auto; overscroll-behavior: contain;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-.75rem); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
    box-shadow: 0 24px 40px -20px rgba(23,58,82,.25);
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-scrim { position: fixed; inset: 0; z-index: 49; display: block; border: 0; padding: 0; background: rgba(18,44,64,.28); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
  .site-nav > a, .site-nav__group > a { padding: .9rem .25rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: transparent; }
  .site-nav__menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 .5rem .75rem; }
  .site-nav__menu a { padding: .55rem .25rem; }
  .site-header__cta { margin-top: 1.25rem; }
  .language-picker { margin-top:1rem; align-self:flex-start; }
  .site-header__cta .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: block; z-index: 60; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}

/* ---------- page-hero (breadcrumb banner) — light gradient ---------- */
.page-hero {
  /* direction: ltr works around a browser quirk: an absolutely-positioned
     replaced element (.page-hero__bg) with left+right+width all set
     resolves against the CONTAINING BLOCK's direction — under dir=rtl it
     drops "left" instead of "right" and the image (and visually the whole
     banner) gets shoved off-screen. Text alignment is restored separately
     on .wrap below, via text-align rather than direction (see that rule). */
  direction: ltr;
  position: relative; isolation: isolate; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(58rem 34rem at 10% -14%, var(--teal-soft) 0%, transparent 60%),
    radial-gradient(44rem 30rem at 106% -8%, var(--gold-soft) 0%, transparent 58%),
    linear-gradient(180deg, #F4FBFA 0%, var(--paper) 74%);
  padding-block: clamp(8.5rem, 18vw, 11.5rem) clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--rule);
}
.page-hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 30rem; height: 30rem; right: -11rem; top: -13rem;
  border: 54px solid rgba(21, 156, 147, 0.12); border-radius: 9999px;
}
.page-hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 16%; bottom: -12rem; width: 24rem; height: 24rem;
  background: radial-gradient(circle, rgba(216,155,54,.16), transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 2; }
/* text-align only — NOT the direction property. Setting direction: rtl here
   (even though .wrap only holds text, not the photo) triggers a Chromium
   layout bug where the sibling .page-hero__bg image (and everything after
   it) gets shoved thousands of pixels outside the viewport. */
html[dir='rtl'] .page-hero .wrap { text-align: right; }
.page-hero h1 { margin-bottom: 1.4rem; max-width: 18ch; color: var(--navy); }
.page-hero h1 .accent { color: var(--teal); }
.page-hero .lede { color: var(--ink); max-width: 44rem; }
.page-hero .crumbs { font-size: .82rem; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 1.3rem; }
.page-hero .crumbs a:hover { color: var(--teal); }

@media (max-width: 767px) {
  .page-hero::after { width: 18rem; height: 18rem; border-width: 34px; right: -7rem; top: -8rem; }
}

/* ---------- page-hero photo variant ---------- */
.page-hero--photo { color: #fff; background: var(--navy-deep); }
.page-hero--photo::after, .page-hero--photo::before { display: none; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(18,44,64,.94) 0%, rgba(18,44,64,.76) 38%, rgba(18,44,64,.38) 72%, rgba(18,44,64,.14) 100%),
    linear-gradient(0deg, rgba(10,26,38,.5) 0%, transparent 45%);
}
.page-hero--photo .crumbs { color: rgba(255,255,255,.78); }
.page-hero--photo .crumbs a { color: rgba(255,255,255,.94); }
.page-hero--photo .crumbs a:hover { color: var(--gold); }
.page-hero--photo h1 { color: #fff; }
.page-hero--photo h1 .accent { color: var(--gold); }
.page-hero--photo .lede { color: rgba(255,255,255,.92); }
.page-hero--photo .eyebrow { color: var(--gold); }
.page-hero--photo .eyebrow::before { background: #fff; }
.page-hero--photo .article-meta { color: rgba(255,255,255,.85); }

/* ---------- home hero — photo carousel ---------- */
.hero {
  /* direction: ltr — see .page-hero for why; text-align restored on .wrap below */
  direction: ltr;
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: var(--navy-deep);
  min-height: clamp(36rem, 94vh, 56rem);
  box-sizing: border-box;
  padding-block: clamp(16rem, 38vw, 24rem) clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--rule);
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; z-index: 0;
  transition: opacity 1.15s ease;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  transform: scale(1.09);
  transition: transform 7s linear;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(18,44,64,.94) 0%, rgba(18,44,64,.78) 34%, rgba(18,44,64,.42) 64%, rgba(18,44,64,.14) 100%),
    linear-gradient(0deg, rgba(10,26,38,.6) 0%, transparent 40%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
/* text-align only, not direction — see .page-hero .wrap for why */
html[dir='rtl'] .hero .wrap { text-align: right; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: #fff; }
.hero h1 { margin-bottom: 1.4rem; max-width: 20ch; color: #fff; }
.hero h1 .accent { color: var(--gold); }
.hero .lede { color: rgba(255,255,255,.9); max-width: 42rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero .stats { border-top-color: rgba(255,255,255,.25); }
.hero .stat__value { color: #fff; }
.hero .stat__value .accent, .hero .stat__value b { color: var(--gold); }
.hero .stat__label { color: rgba(255,255,255,.72); }

.hero__dots { display: flex; gap: .6rem; margin-top: 2.75rem; }
.hero__dot {
  width: 2.25rem; height: 4px; padding: 0; border: 0; border-radius: 2px;
  background: rgba(255,255,255,.35); cursor: pointer;
  transition: background .25s ease;
}
.hero__dot:hover { background: rgba(255,255,255,.6); }
.hero__dot.is-active { background: var(--gold); }
.hero__arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 3rem; height: 3rem; border-radius: 50%; padding: 0;
  border: 1px solid rgba(255,255,255,.45); background: rgba(18,44,64,.35);
  backdrop-filter: blur(6px); color: #fff; font-size: 1.35rem; line-height: 1;
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero__arrow:hover { background: rgba(18,44,64,.65); border-color: #fff; }
.hero__arrow--prev { left: clamp(.75rem, 3vw, 2.5rem); }
.hero__arrow--next { right: clamp(.75rem, 3vw, 2.5rem); }

@media (max-width: 900px) {
  .hero__arrow { display: none; }
}

@media (max-width: 640px) {
  .hero { min-height: 0; padding-block: 7.25rem 3rem; }
}

/* short viewports (landscape phones, small laptops) — the width-based top
   padding above is far too tall once the viewport itself is short, so drop
   back to just enough to clear the fixed header */
@media (max-height: 750px) {
  .hero { min-height: 0; padding-block: 7.75rem 2.5rem; }
}
@media (max-height: 500px) {
  .hero { padding-block: 8rem 1.75rem; }
  .hero .lede { display: none; }
  .hero .stats { margin-top: 1.5rem; padding-top: 1.25rem; }
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1.75rem 2rem; }
.hero .stats, .page-hero .stats, .section .stats { margin-top: 2.75rem; border-top: 1px solid var(--rule); padding-top: 2rem; }
.stat__value { font-family: 'Roboto Slab', serif; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; line-height: 1; color: var(--navy); }
.stat__value .accent, .stat__value b { color: var(--teal); font-weight: 700; }
.stat__label { font-size: .85rem; color: var(--ink-2); margin-top: .55rem; }

/* ---------- gap band (homepage) ---------- */
.gap-band { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 800px) { .gap-band { grid-template-columns: auto 1fr auto; } }
.gap-band__node { font-family: 'Roboto Slab', serif; font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.gap-band__line { height: 2px; background: linear-gradient(90deg, var(--navy), var(--teal) 50%, var(--gold)); position: relative; }
.gap-band__line span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: var(--paper-2); padding: 0 1rem; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-2); white-space: nowrap; font-weight: 700;
}

/* ---------- 360 stages ---------- */
.stages { border-top: 1px solid var(--rule); }
.stage {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.75rem;
  padding: 1.8rem 1.1rem; margin-inline: -1.1rem; border-bottom: 1px solid var(--rule);
  align-items: baseline; border-radius: var(--radius-sm); transition: background .2s ease;
}
@media (min-width: 760px) { .stage { grid-template-columns: 4.25rem 1fr auto; } }
.stage:hover { background: var(--teal-soft); }
.stage__num { font-family: 'Roboto Slab', serif; font-size: 1.85rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stage__body h3 { font-size: 1.28rem; margin-bottom: .35rem; }
.stage__body p { margin: 0; color: var(--ink-2); }
.stage:hover .stage__body h3 { color: var(--teal); }

/* ---------- cards ---------- */
.card {
  display: flex; flex-direction: column; padding: 1.9rem;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card__kicker { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: .8rem; }
.card__title { font-size: 1.28rem; margin-bottom: .55rem; }
.card__title a:hover { color: var(--teal); }
.card p { color: var(--ink-2); font-size: .97rem; }
.card__foot { margin-top: auto; padding-top: 1.15rem; font-size: .82rem; color: var(--ink-2); display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.card__media { margin: -1.9rem -1.9rem 1.4rem; }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- testimonials: evidence-led editorial cards ---------- */
.testimonials-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:1.5rem; }
.testimonial-card { grid-column:span 6; margin:0; padding:clamp(1.6rem,3vw,2.4rem); background:var(--surface); border:1px solid var(--rule); border-radius:var(--radius); box-shadow:var(--shadow); position:relative; overflow:hidden; }
.testimonial-card::before { content:'“'; position:absolute; inset-block-start:-.45rem; inset-inline-end:1.2rem; font:700 7rem/1 Georgia,serif; color:var(--teal-soft); }
.testimonial-card blockquote { position:relative; margin:0 0 2rem; color:var(--navy); font:500 clamp(1.15rem,2vw,1.45rem)/1.55 'Roboto Slab',Georgia,serif; }
.testimonial-card figcaption { display:flex; align-items:center; gap:.85rem; }
.testimonial-card figcaption img,.testimonial-card__avatar { width:3rem; height:3rem; border-radius:50%; object-fit:cover; flex:none; }
.testimonial-card__avatar { display:grid; place-items:center; color:#fff; background:linear-gradient(135deg, var(--teal), var(--navy)); font-weight:700; }
.testimonial-card figcaption strong,.testimonial-card figcaption small { display:block; }
.testimonial-card figcaption strong { color:var(--navy); font-size:.95rem; }
.testimonial-card figcaption small { color:var(--ink-2); font-size:.8rem; margin-top:.15rem; }
.testimonial-card:nth-child(3n) { background:var(--navy-deep); border-color:transparent; }
.testimonial-card:nth-child(3n) blockquote,.testimonial-card:nth-child(3n) figcaption strong { color:#fff; }
.testimonial-card:nth-child(3n) figcaption small { color:rgba(255,255,255,.7); }
@media (max-width:760px){ .testimonial-card { grid-column:1/-1; } }

/* Direction-aware typography and layout. */
html[dir='rtl'] body { font-family:'Noto Sans Arabic','Public Sans',sans-serif; }
html[dir='rtl'] h1,html[dir='rtl'] h2,html[dir='rtl'] .display-1,html[dir='rtl'] .display-2,html[dir='rtl'] .display-3 { font-family:'Noto Sans Arabic',sans-serif; letter-spacing:0; }
html[dir='rtl'] .eyebrow { letter-spacing:0; }
html[dir='rtl'] .site-nav__menu { left:auto; right:0; }
html[dir='rtl'] .link-arrow::after { content:'\2190'; }
html[dir='rtl'] .btn::after { content:'\2196'; }
html[dir='rtl'] .language-picker select { padding:.48rem .7rem .48rem 1.7rem; background-position:11px 50%,7px 50%; }

/* the old process-step cards on the (now light) "navy" band */
.section--navy .card .stage__num { color: var(--gold); }

/* ---------- values / list ---------- */
.values { list-style: none; margin: 0; padding: 0; }
.values li { padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.values h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.values p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ---------- partners strip ---------- */
.partners { display: flex; flex-wrap: wrap; gap: .9rem; }
.partners img { height: 80px; width: auto; border: 1px solid var(--rule); border-radius: var(--radius-sm); background: #fff; }

/* ---------- prose (CMS rich text) ---------- */
.prose { font-size: 1.06rem; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { margin-top: 2.2rem; font-family: 'Roboto Slab', Georgia, serif; letter-spacing: -0.02em; }
.prose h4.title, .prose .title-two { font-size: 1.25rem; }
.prose p { margin-bottom: 1.15rem; }
.prose ul, .prose .list-wrap { list-style: none; padding: 0; margin: 1.2rem 0; }
.prose ul li, .prose .list-wrap li { position: relative; padding-left: 1.6rem; margin-bottom: .7rem; }
.prose ul li::before, .prose .list-wrap li::before { content: ""; position: absolute; left: 0; top: .58em; width: .5rem; height: .5rem; background: var(--teal); border-radius: 50%; }
.prose i[class^="flaticon"], .prose i[class^="fa"] { display: none; }
.prose blockquote {
  margin: 2rem 0; padding: 1.4rem 1.7rem; border-left: 4px solid var(--gold); background: var(--gold-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: 'Roboto Slab', serif; font-size: 1.28rem; font-weight: 500; line-height: 1.5; color: var(--navy);
}
.prose blockquote p { margin: 0; }
.prose .last-info { font-style: italic; color: var(--ink-2); }
.prose a { color: var(--teal); border-bottom: 1px solid currentColor; }

/* ---------- article layout ---------- */
.article-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 940px) { .article-grid { grid-template-columns: 1fr 18rem; } }
.article-hero-img { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.sidebar h4 { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--rule); padding-bottom: .55rem; margin-bottom: 1rem; }
.sidebar ul { list-style: none; padding: 0; margin: 0 0 2.5rem; }
.sidebar li { border-bottom: 1px solid var(--rule); }
.sidebar li a { display: block; padding: .7rem 0; font-size: .88rem; }
.sidebar li a:hover { color: var(--teal); }
.sidebar li.is-active a { color: var(--teal); font-weight: 700; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-size: .85rem; color: var(--ink-2); margin-top: 1.25rem; }
.article-meta .tag { background: linear-gradient(135deg, var(--teal), var(--teal-2)); color: #fff; padding: .28rem .8rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; border-radius: var(--radius-pill); }

/* ---------- forms ---------- */
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .5rem; }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--rule-2); border-radius: var(--radius-sm); min-height: 3.25rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(21,156,147,.14); }
.field--check { display: flex; gap: .6rem; align-items: flex-start; }
.field--check input { width: auto; min-height: 0; margin-top: .25rem; }
.field--check label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .9rem; color: var(--ink-2); }
.field-error { color: #C0392B; font-size: .82rem; display: block; margin-top: .3rem; }
.form-cols { display: grid; gap: 0 1.4rem; }
@media (min-width: 700px) { .form-cols { grid-template-columns: repeat(3, 1fr); } }
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-response { margin-top: 1rem; font-weight: 600; }
.form-response.ok { color: var(--green); }
.form-response.err { color: #C0392B; }

/* ---------- CTA band — the one vivid moment ---------- */
.cta-band { background: linear-gradient(120deg, #DDF5F1 0%, #ECF9F6 55%, #FFF5E3 100%); color: var(--ink); text-align: center; position: relative; overflow: hidden; border-radius: 0; border-block: 1px solid var(--rule); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 9999px; background: rgba(255,255,255,.12); filter: blur(46px); }
.cta-band::before { width: 13rem; height: 13rem; top: -3.5rem; left: 3rem; }
.cta-band::after { width: 10rem; height: 10rem; bottom: -2.5rem; right: 4rem; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--navy); }
.cta-band .eyebrow { color: var(--teal-2); }
.cta-band .eyebrow::before { background: linear-gradient(90deg, var(--navy), var(--teal) 55%, var(--gold)); }
.cta-band .btn:hover { background: linear-gradient(135deg, var(--navy), var(--teal-2)); color: #fff; box-shadow: 0 16px 34px -12px rgba(23,58,82,.28); }

/* ---------- footer ---------- */
.site-footer {
  background: linear-gradient(160deg, #1E4A70 0%, var(--navy-deep) 55%, #0D2436 100%);
  color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer__strip { height: 4px; background: linear-gradient(90deg, var(--navy), var(--teal) 55%, var(--gold)); }
.site-footer__inner { padding-block: 3.25rem 2rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.4fr; } }
.site-footer h4 { color: var(--gold); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-family: 'Public Sans', sans-serif; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; font-size: .92rem; }
.site-footer__logo { display: inline-block; margin-bottom: 1rem; }
.site-footer__logo img { height: 68px; }
.site-footer__brandtext { font-size: .92rem; max-width: 34ch; color: rgba(255,255,255,.6); }
.site-footer .muted { color: rgba(255,255,255,.5); }
.newsletter { display: flex; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-pill); overflow: hidden; margin-top: .9rem; background: rgba(255,255,255,.06); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; padding: .75rem 1rem; color: #fff; font: inherit; min-height: 0; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: none; }
.newsletter button { background: linear-gradient(135deg, var(--teal), var(--teal-2)); color: #fff; border: 0; padding: 0 1.2rem; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; font-size: .82rem; color: rgba(255,255,255,.55); text-align: center; }
.footer-login { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .04em; }
.footer-login svg { opacity: .8; }
.footer-login:hover { color: var(--gold); }

/* ---------- misc ---------- */
/* Clipped rather than parked off-screen: an offset of -9999px becomes scrollable space on right-to-left pages. */
.skip-link { position: absolute; top: 1rem; inset-inline-start: 1rem; z-index: 100; }
.skip-link:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { background: var(--navy); color: #fff; padding: .7rem 1.2rem; border-radius: var(--radius-sm); }
hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---------- "Who we work with" cards ---------- */
.audiences { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); }
.audience-card {
  background: #fff; border: 1px solid var(--rule); border-top: 3px solid transparent;
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  padding: 1.8rem 1.7rem 1.7rem; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.audience-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-top-color: var(--teal); }
.audience-card__media { margin: -1.8rem -1.7rem 1.15rem; }
.audience-card__media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.audience-card:hover .audience-card__media img { transform: scale(1.05); }
.audience-card__title {
  font-family: 'Public Sans', sans-serif; font-size: 1.02rem; font-weight: 700;
  color: var(--navy); line-height: 1.3; letter-spacing: -0.005em; margin: 0 0 .4rem;
}
.audience-card__desc { margin: 0; font-size: .875rem; color: var(--ink-2); line-height: 1.55; }

/* ---------- responsive refinement ---------- */
/* overflow-x: hidden, not clip — clip has a Chromium bug that combines with
   dir="rtl" to badly miscompute the page's horizontal scroll position,
   shoving all content far outside the viewport (blank Arabic pages). */
html, body { max-width: 100%; overflow-x: hidden; }
main, section, .wrap, .split > *, .grid > * { min-width: 0; }
iframe { width: 100%; border-radius: var(--radius-sm); }

@media (min-width: 641px) and (max-width: 900px) {
  .cols-2, .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; line-height: 1.65; }
  .wrap { padding-inline: 1.1rem; }
  .section { padding-block: 3.5rem; }
  .site-header__inner { height: 5.5rem; }
  .site-header__logo img { height: 52px; max-width: min(70vw, 220px); }
  .display-1 { font-size: clamp(2.3rem, 12vw, 3.35rem); }
  .display-2 { font-size: clamp(1.85rem, 9vw, 2.55rem); }
  .page-hero { padding-block: 7.25rem 3.5rem; }
  .hero__actions { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-top: 1.8rem; }
  .hero__actions .btn, form > .btn { width: 100%; justify-content: center; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
  .stat__value { font-size: 2rem; }
  .gap-band { text-align: center; gap: .75rem; }
  .gap-band__line { width: min(15rem, 82vw); margin-inline: auto; }
  .stage { grid-template-columns: 2.5rem minmax(0, 1fr); gap: .8rem; padding: 1.3rem .65rem; margin-inline: -.65rem; }
  .stage .link-arrow { grid-column: 2; }
  .card { padding: 1.4rem; border-radius: 18px; }
  .card__media { margin: -1.4rem -1.4rem 1.2rem; }
  .audiences { grid-template-columns: minmax(0, 1fr); }
  .audience-card { padding: 1.4rem; }
  .audience-card__media { margin: -1.4rem -1.4rem 1.15rem; }
  .newsletter { border-radius: var(--radius-sm); flex-direction: column; }
  .newsletter input { min-height: 3.25rem; }
  .newsletter button { min-height: 3rem; }
  .site-footer__grid { gap: 2rem; }
  .footer-bottom { align-items: center; flex-direction: column; gap: .75rem; }
}

@media (hover: none) {
  .card:hover, .audience-card:hover, .btn:hover { transform: none; }
}

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

/* Keep translated and CMS content within the available viewport. */
body { overflow-wrap: anywhere; }
.article-grid > *, .site-footer__grid > *, .testimonials-grid > *, .stage > * { min-width: 0; }
.btn { max-width: 100%; text-align: center; }
.prose img, .prose video { max-width: 100%; height: auto; }
.prose iframe { max-width: 100%; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose pre { max-width: 100%; overflow-x: auto; }
.prose ul li { padding-left: 0; padding-inline-start: 1.6rem; }
.prose ul li::before { left: auto; inset-inline-start: 0; }
.prose blockquote { border-left: 0; border-inline-start: 4px solid var(--gold); }
@media (max-width: 1200px) {
  /* A filtered ancestor otherwise confines fixed descendants to the header. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .site-nav { z-index: 55; visibility: hidden; padding-bottom: max(1.75rem, env(safe-area-inset-bottom)); }
  .site-nav.is-open { visibility: visible; }
  .site-nav__group > a { display: block; }
  .site-nav__menu { min-width: 0; padding-inline: .75rem 0; }
  .nav-toggle { min-width: 44px; min-height: 44px; flex-shrink: 0; }
  .language-picker select { min-height: 44px; font-size: 16px; }
}

/* ---------- testimonials: evidence cards on the homepage ---------- */
.testimonial-card { display:flex; flex-direction:column; }
.testimonial-card figcaption { margin-top:auto; }
.testimonial-card__media { width:calc(100% + 2 * clamp(1.6rem,3vw,2.4rem)); max-width:none; margin:calc(-1 * clamp(1.6rem,3vw,2.4rem)) calc(-1 * clamp(1.6rem,3vw,2.4rem)) 1.4rem; aspect-ratio:16/8; object-fit:cover; }
.testimonial-card--evidence::before { display:none; }
.testimonial-card__kicker { margin:0 0 .5rem; font-size:.75rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--teal-2); }
.testimonial-card__headline { margin:0 0 .7rem; color:var(--navy); font:700 clamp(1.15rem,1.8vw,1.35rem)/1.35 'Roboto Slab',Georgia,serif; }
.testimonial-card__summary { margin:0 0 1.6rem; color:var(--ink); font-size:.98rem; }
.testimonial-card__more { margin-top:1.1rem; font-size:.9rem; font-weight:600; color:var(--teal-2); }
.testimonial-card:nth-child(3n) .testimonial-card__headline { color:#fff; }
.testimonial-card:nth-child(3n) .testimonial-card__summary { color:rgba(255,255,255,.86); }
.testimonial-card:nth-child(3n) .testimonial-card__kicker,.testimonial-card:nth-child(3n) .testimonial-card__more { color:var(--gold); }

/* ---------- testimonials page ---------- */
.tm-filter { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:2rem; }
.tm-filter button { padding:.5rem 1.05rem; border:1px solid var(--rule-2); border-radius:var(--radius-pill); background:var(--surface); color:var(--navy); font-size:.9rem; font-weight:600; }
.tm-filter button[aria-pressed="true"] { background:var(--navy); border-color:var(--navy); color:#fff; }
.tm-list { display:grid; gap:clamp(2rem,4vw,3rem); }
.tm { padding:clamp(1.5rem,3.5vw,2.75rem); background:var(--surface); border:1px solid var(--rule); border-radius:var(--radius); box-shadow:var(--shadow); }
.tm[hidden] { display:none; }
.tm__kicker { display:flex; flex-wrap:wrap; gap:.35rem .9rem; margin:0 0 .7rem; font-size:.82rem; color:var(--ink-2); }
.tm__type { font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--teal-2); }
.tm__title { font-size:clamp(1.5rem,3vw,2.1rem); margin-bottom:.35rem; }
.tm__event { margin:0; color:var(--ink-2); font-weight:600; }
.tm__body { margin-top:1.5rem; }
.tm__quote { position:relative; margin:0 0 1.4rem; padding-inline-start:1.3rem; border-inline-start:4px solid var(--gold); color:var(--navy); font:500 clamp(1.15rem,2vw,1.4rem)/1.55 'Roboto Slab',Georgia,serif; }
.tm__summary { max-width:72ch; }
.tm__results { margin:1.4rem 0; padding:1.2rem 1.4rem; border-radius:var(--radius-sm); background:var(--teal-soft); }
.tm__results h3,.tm__section h3 { font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; color:var(--teal-2); margin-bottom:.7rem; }
.tm__results ul { margin:0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(15rem,1fr)); gap:.55rem 1.6rem; }
.tm__results li { position:relative; padding-inline-start:1.3rem; color:var(--navy); font-weight:600; line-height:1.45; }
.tm__results li::before { content:''; position:absolute; inset-inline-start:0; top:.5em; width:.55rem; height:.55rem; border-radius:50%; background:var(--teal); }
.tm__by { display:flex; flex-wrap:wrap; align-items:center; gap:.85rem; margin-top:1.4rem; }
.tm__by img { width:3rem; height:3rem; border-radius:50%; object-fit:cover; }
.tm__by strong,.tm__by small { display:block; }
.tm__by strong { color:var(--navy); }
.tm__by small { color:var(--ink-2); font-size:.85rem; }
.tm__source { margin-inline-start:auto; font-weight:600; color:var(--teal-2); }
.tm__section { margin-top:2rem; padding-top:1.6rem; border-top:1px solid var(--rule); }
/* Gallery: uniform 4:3 tiles in a 4-column grid; the first photo leads at 2x2.
   Small sets get their own layouts so there are never orphaned tiles. */
.tm__count { color:var(--ink-2); font-weight:500; letter-spacing:0; }
.tm__gallery { display:grid; grid-template-columns:repeat(4,1fr); grid-auto-flow:dense; gap:.6rem; }
.tm__gallery a { position:relative; display:block; aspect-ratio:4/3; border-radius:var(--radius-sm); overflow:hidden; background:var(--paper-2); }
.tm__gallery a:first-child { grid-column:span 2; grid-row:span 2; aspect-ratio:auto; }
.tm__gallery img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.tm__gallery img.is-portrait { object-position:50% 15%; }
.tm__gallery a::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 60%, rgba(18,44,64,.28)); opacity:0; transition:opacity .25s ease; }
.tm__gallery a:hover img,.tm__gallery a:focus-visible img { transform:scale(1.04); }
.tm__gallery a:hover::after,.tm__gallery a:focus-visible::after { opacity:1; }
.tm__gallery--1 { grid-template-columns:1fr; max-width:48rem; }
.tm__gallery--1 a:first-child { grid-column:auto; grid-row:auto; aspect-ratio:16/10; }
.tm__gallery--2 { grid-template-columns:repeat(2,1fr); }
.tm__gallery--2 a:first-child { grid-column:auto; grid-row:auto; aspect-ratio:4/3; }
.tm__gallery--3 { grid-template-columns:2fr 1fr; }
.tm__gallery--3 a:first-child { grid-column:auto; }
@media (max-width:760px) {
  .tm__gallery,.tm__gallery--3 { grid-template-columns:repeat(2,1fr); }
  .tm__gallery a:first-child,.tm__gallery--3 a:first-child { grid-column:1 / -1; grid-row:auto; aspect-ratio:16/10; }
  .tm__gallery--1 a:first-child { aspect-ratio:4/3; }
}
.tm__media { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,22rem),1fr)); gap:1.2rem; align-items:start; }
.tm__embed { margin:0; }
.tm__embed figcaption { margin-top:.45rem; font-size:.88rem; }
.tm__embed figcaption a { color:var(--teal-2); font-weight:600; }
.tm__embed video,.tm__embed img { width:100%; border-radius:var(--radius-sm); background:#000; }
.tm__embed audio { width:100%; }
.embed-box { position:relative; width:100%; border-radius:var(--radius-sm); overflow:hidden; background:var(--paper-2); }
.embed-box iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.embed-box--wide { aspect-ratio:16/9; }
.embed-box--tall { aspect-ratio:9/16; max-width:22rem; }
.embed-box--post { height:34rem; }
.embed-box--audio { height:10rem; }
.embed-box--doc { height:min(80vh,46rem); }
.tm__linkcard { display:flex; flex-direction:column; gap:.3rem; height:100%; padding:1.1rem 1.2rem; border:1px solid var(--rule-2); border-radius:var(--radius-sm); color:var(--navy); font-weight:600; line-height:1.4; transition:border-color .2s ease, box-shadow .2s ease; }
.tm__linkcard:hover,.tm__linkcard:focus-visible { border-color:var(--teal); box-shadow:var(--shadow); }
.tm__linkhost { font-size:.75rem; letter-spacing:.06em; text-transform:uppercase; color:var(--teal-2); }
.tm__doc-actions { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; margin:1rem 0 0; }
.lightbox { max-width:min(96vw,80rem); width:auto; padding:0; border:0; border-radius:var(--radius-sm); background:#0b1620; color:#fff; }
.lightbox::backdrop { background:rgba(8,18,27,.86); }
.lightbox img { display:block; max-width:min(96vw,80rem); max-height:84vh; margin:0 auto; object-fit:contain; }
.lightbox__caption { margin:0; padding:.7rem 1rem; font-size:.9rem; max-width:none; }
.lightbox__close,.lightbox__nav { position:absolute; z-index:1; display:grid; place-items:center; width:2.75rem; height:2.75rem; border:0; border-radius:50%; background:rgba(0,0,0,.55); color:#fff; font-size:1.8rem; line-height:1; }
.lightbox__close { top:.6rem; inset-inline-end:.6rem; }
.lightbox__nav { top:calc(50% - 1.4rem); }
.lightbox__nav--prev { inset-inline-start:.6rem; }
.lightbox__nav--next { inset-inline-end:.6rem; }

/* ---------- CMS review preview bar (admin only) ---------- */
.review-bar { position:relative; z-index:2; padding:calc(var(--header-h, 6.5rem) + 1rem) 0 1.4rem; background:#FFF4D6; border-bottom:3px solid var(--gold); color:#4a3700; }
.review-bar p { max-width:none; margin:0 0 .6rem; }
.review-bar__alert { padding:.6rem .9rem; border-radius:var(--radius-sm); background:#fde4e1; color:#8f2418; font-weight:600; }
.review-bar__form { display:grid; gap:.6rem; max-width:44rem; margin-top:.8rem; }
.review-bar__form textarea { width:100%; padding:.7rem; border:1px solid #d9c27f; border-radius:var(--radius-sm); font:inherit; }
.review-bar__check { display:flex; gap:.5rem; align-items:flex-start; font-weight:600; }
.review-bar__actions { display:flex; flex-wrap:wrap; align-items:center; gap:.8rem; }
@media (max-width:640px){ .tm__source { margin-inline-start:0; } .embed-box--post { height:30rem; } }

/* ---------- testimonial listing cards ---------- */
.testimonial-tile .card__media { display:block; overflow:hidden; background:linear-gradient(135deg, var(--teal-soft), var(--paper-3)); }
.testimonial-tile .card__media img { transition:transform .35s ease; }
.testimonial-tile:hover .card__media img { transform:scale(1.04); }
.testimonial-tile__placeholder { display:grid; place-items:center; aspect-ratio:3 / 2; color:var(--teal-2); font:700 3.5rem/1 'Roboto Slab',Georgia,serif; }
.testimonial-tile .card__foot .link-arrow { font-size:.9rem; font-weight:600; color:var(--teal-2); }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* =================== testimonials: listing & detail design =================== */
.tm-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.75rem; margin-top:1.75rem; }
@media (max-width:1000px){ .tm-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .tm-grid { grid-template-columns:1fr; } }
.tm-card { display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--rule); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:transform .3s ease, box-shadow .3s ease; }
.tm-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.tm-card__media { position:relative; display:block; aspect-ratio:16/10; overflow:hidden; background:linear-gradient(135deg, var(--teal-soft), var(--paper-3)); }
.tm-card__media img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.tm-card:hover .tm-card__media img { transform:scale(1.05); }
.tm-card__placeholder { display:grid; place-items:center; height:100%; color:var(--teal-2); font:700 3.5rem/1 'Roboto Slab',Georgia,serif; }
.tm-card__type { position:absolute; inset-block-start:1rem; inset-inline-start:1rem; padding:.32rem .8rem; border-radius:var(--radius-pill); background:rgba(255,255,255,.94); color:var(--navy); font-size:.7rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; box-shadow:0 6px 18px -8px rgba(18,44,64,.45); }
.tm-card__body { display:flex; flex-direction:column; flex:1; padding:1.5rem 1.6rem 1.6rem; }
.tm-card__by { margin:0 0 .55rem; font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--teal-2); }
.tm-card__title { font-size:1.22rem; line-height:1.3; margin:0 0 .7rem; }
.tm-card__title a:hover { color:var(--teal); }
.tm-card__text { color:var(--ink-2); font-size:.96rem; line-height:1.65; margin:0 0 1.3rem; }
.tm-card__link { margin-top:auto; font-size:.9rem; font-weight:700; color:var(--teal-2); }
.tm-card--featured { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); }
.tm-card--featured .tm-card__media { aspect-ratio:auto; min-height:22rem; }
.tm-card--featured .tm-card__body { justify-content:center; padding:clamp(1.8rem,4vw,3.2rem); }
.tm-card--featured .tm-card__title { font-family:'Roboto Slab',Georgia,serif; font-size:clamp(1.5rem,2.6vw,2.1rem); letter-spacing:-.015em; }
.tm-card--featured .tm-card__text { font-size:1.04rem; }
.tm-card--featured .tm-card__link { margin-top:.4rem; }
@media (max-width:860px){ .tm-card--featured { grid-template-columns:1fr; } .tm-card--featured .tm-card__media { min-height:0; aspect-ratio:16/10; } }

.tm-hero { padding-bottom:clamp(3rem,7vw,5rem); }
.tm-hero h1 { max-width:22ch; margin:.9rem 0 0; }
.tm-hero__type { display:inline-block; padding:.32rem .85rem; border-radius:var(--radius-pill); background:var(--gold); color:#1f1606; font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.tm-hero__meta span + span::before { content:'·'; margin-inline-end:1rem; opacity:.7; }
.tm-hero__meta { gap:0 1rem; }

.tm-detail .article-grid { align-items:start; }
@media (min-width:940px){ .tm-detail .article-grid { grid-template-columns:minmax(0,1fr) 20rem; } }
.tm-detail__summary { margin-bottom:2rem; color:var(--navy); }
.tm-quote { margin:0 0 2.5rem; padding:1.8rem 2rem; border-inline-start:5px solid var(--gold); border-radius:var(--radius-sm); background:var(--paper-3); }
.tm-quote blockquote { margin:0 0 .9rem; color:var(--navy); font:500 clamp(1.2rem,2.2vw,1.5rem)/1.5 'Roboto Slab',Georgia,serif; }
.tm-quote figcaption { color:var(--ink-2); font-size:.92rem; }
.tm-block { margin-top:clamp(2.4rem,5vw,3.4rem); }
.tm-block:first-child { margin-top:0; }
.tm-block__title { font-family:'Public Sans',sans-serif; font-size:.8rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--teal-2); margin:0 0 1.1rem; display:flex; align-items:center; gap:.8rem; }
.tm-block__title::after { content:''; flex:1; height:1px; background:var(--rule); }
.tm-results { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(15rem,1fr)); gap:.9rem; }
.tm-results li { position:relative; padding:1.15rem 1.2rem 1.15rem 3rem; border:1px solid var(--rule); border-radius:var(--radius-sm); background:linear-gradient(180deg,#fff, var(--paper-2)); color:var(--navy); font-weight:600; line-height:1.45; }
.tm-results li::before { content:''; position:absolute; inset-inline-start:1.15rem; top:1.35rem; width:.95rem; height:.95rem; border-radius:50%; background:radial-gradient(circle at 50% 50%, #fff 0 28%, var(--teal) 30%); box-shadow:0 0 0 4px var(--teal-soft); }
html[dir='rtl'] .tm-results li { padding:1.15rem 3rem 1.15rem 1.2rem; }

.tm-aside { display:flex; flex-direction:column; gap:1.2rem; }
@media (min-width:940px){ .tm-aside { position:sticky; top:7.5rem; } }
.tm-aside__card { padding:1.6rem; border:1px solid var(--rule); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); }
.tm-aside__title { font-family:'Public Sans',sans-serif; font-size:.78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-2); margin:0 0 1rem; }
.tm-facts { margin:0 0 1.4rem; }
.tm-facts > div { padding:.75rem 0; border-bottom:1px solid var(--rule); }
.tm-facts > div:first-child { padding-top:0; }
.tm-facts dt { font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--teal-2); margin-bottom:.2rem; }
.tm-facts dd { margin:0; color:var(--navy); font-weight:600; line-height:1.4; }
.tm-facts dd small { display:block; margin-top:.15rem; color:var(--ink-2); font-weight:400; font-size:.85rem; }
.tm-aside__actions { display:flex; flex-direction:column; align-items:flex-start; gap:.8rem; }
.tm-aside__actions .btn { width:100%; justify-content:center; }
.tm-aside__actions .link-arrow,.tm-aside__back { font-size:.9rem; font-weight:600; color:var(--teal-2); }

.tm-sources__list { margin:0; padding-inline-start:1.4rem; display:grid; gap:.65rem; color:var(--ink); font-size:.95rem; }
.tm-sources__list li { padding-inline-start:.3rem; line-height:1.5; }
.tm-sources__list a { color:var(--navy); font-weight:600; text-decoration:underline; text-decoration-color:var(--teal-soft); text-underline-offset:3px; text-decoration-thickness:2px; }
.tm-sources__list a:hover { text-decoration-color:var(--teal); }
.tm-sources__host { display:inline-block; margin-inline-start:.6rem; color:var(--ink-2); font-size:.8rem; }
.cta-band .display-3 { color:var(--navy); max-width:28ch; margin-inline:auto; }
.tm-detail__main,.tm-aside { min-width:0; }
@media (max-width:939px){ .tm-aside { order:-1; } .tm-aside__back { display:none; } }

/* =================== track record, capabilities, funder framing, case studies =================== */
.track-record { border-bottom:1px solid var(--rule); background:var(--surface); }
.track-record .wrap { display:flex; flex-wrap:wrap; align-items:center; gap:1.5rem 3rem; padding-block:clamp(1.6rem,3vw,2.2rem); }
.track-record__stats { display:flex; flex-wrap:wrap; gap:1.2rem 2.6rem; margin:0; }
.track-record__stats > div { display:flex; flex-direction:column-reverse; }
.track-record__stats dd { margin:0; font:700 clamp(2rem,3.6vw,2.6rem)/1 'Roboto Slab',Georgia,serif; color:var(--navy); }
.track-record__stats dt { margin-top:.35rem; font-size:.78rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-2); }
.track-record__clients { flex:1 1 22rem; min-width:0; }
.track-record__label { display:block; margin-bottom:.6rem; font-size:.75rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--teal-2); }
.track-record__clients ul { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:.45rem; }
.track-record__clients li { padding:.35rem .85rem; border:1px solid var(--rule-2); border-radius:var(--radius-pill); background:var(--paper-2); color:var(--navy); font-size:.84rem; font-weight:600; }

.capability-tags { list-style:none; margin:0 0 1.2rem; padding:0; display:flex; flex-wrap:wrap; gap:.4rem; }
.capability-tags li a,.capability-tags li span { display:inline-block; padding:.3rem .75rem; border-radius:var(--radius-pill); background:var(--teal-soft); color:var(--teal-2); font-size:.78rem; font-weight:700; line-height:1.3; }
.capability-tags li a:hover { background:var(--teal); color:#fff; }
.tm-card .capability-tags { margin-top:-.3rem; }

.funder-box { padding:1.6rem 1.7rem; border:1px solid var(--rule); border-inline-start:5px solid var(--teal); border-radius:var(--radius-sm); background:linear-gradient(135deg, var(--teal-soft) 0%, #fff 70%); }
.funder-box .tm-block__title::after { display:none; }
.funder-box__text { max-width:none; margin:0 0 1.1rem; color:var(--navy); font-size:1.05rem; line-height:1.65; }
.funder-box__label { margin:0 0 .55rem; font-size:.75rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-2); }
.funder-box .capability-tags { margin-bottom:0; }

.metric-tiles { list-style:none; margin:0 0 2.5rem; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(11rem,1fr)); gap:1rem; }
.metric-tiles li { padding:1.3rem 1.3rem 1.2rem; border-radius:var(--radius-sm); background:var(--navy-deep); color:#fff; }
.metric-tiles strong { display:block; font:700 clamp(1.8rem,3vw,2.3rem)/1.05 'Roboto Slab',Georgia,serif; color:var(--gold); margin-bottom:.45rem; }
.metric-tiles span { display:block; color:rgba(255,255,255,.86); font-size:.92rem; line-height:1.4; }
.story-list { margin:0; padding-inline-start:1.4rem; display:grid; gap:.55rem; color:var(--navy); font-weight:600; }
.story-list li { padding-inline-start:.3rem; }

.project-card__cover { display:grid; place-items:center; height:100%; background:linear-gradient(135deg, var(--navy) 0%, var(--teal-2) 100%); }
.project-card__cover span { width:4.5rem; height:4.5rem; display:grid; place-items:center; border:2px solid rgba(255,255,255,.55); border-radius:50%; color:#fff; font:700 2.1rem/1 'Roboto Slab',Georgia,serif; }
.project-card[hidden],.tm-card[hidden] { display:none; }
.tm-filter { margin-bottom:1.75rem; }
.tm-grid--inline { grid-template-columns:repeat(2,1fr); margin-top:0; }
@media (max-width:640px){ .tm-grid--inline { grid-template-columns:1fr; } }
.tm-hero__status { display:inline-block; margin-inline-start:.5rem; padding:.3rem .8rem; border-radius:var(--radius-pill); border:1px solid rgba(255,255,255,.55); font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.page-hero:not(.page-hero--photo) .tm-hero__status { border-color:var(--rule-2); color:var(--navy); }
.tm-hero__result { max-width:46rem; margin:1rem 0 0; }
.tm-detail .prose > :first-child { margin-top:0; }

.partner-cta .eyebrow { justify-content:center; }
.partner-cta .lede { margin:1rem auto 0; max-width:40rem; }
.partner-cta__actions { display:flex; flex-wrap:wrap; justify-content:center; gap:.8rem; margin-top:1.8rem; }
.metric-tiles strong { font-size:clamp(1.45rem,2.3vw,1.85rem); overflow-wrap:anywhere; }

/* =================== About page: carousel, sliders, tabs, counters, reveal =================== */
.js-reveal .reveal { opacity:0; transform:translateY(22px); transition:opacity .7s ease var(--delay,0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--delay,0ms); }
.js-reveal .reveal.is-visible { opacity:1; transform:none; }

.carousel-btn { display:inline-grid; place-items:center; width:2.9rem; height:2.9rem; padding:0; border:1px solid rgba(255,255,255,.55); border-radius:50%; background:rgba(18,44,64,.35); color:#fff; font-size:1.7rem; line-height:1; backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); transition:background .2s ease, transform .2s ease; }
.carousel-btn:hover { background:var(--teal); }
.carousel-btn:disabled { opacity:.35; cursor:default; }
.carousel-btn--pause { font-size:.8rem; letter-spacing:-.05em; }
html[dir="rtl"] .carousel-btn[data-prev], html[dir="rtl"] .carousel-btn[data-next], html[dir="rtl"] .carousel-btn[data-slide-prev], html[dir="rtl"] .carousel-btn[data-slide-next] { transform:scaleX(-1); }

/* hero carousel */
.about-hero { position:relative; min-height:clamp(34rem,86vh,48rem); color:#fff; background:var(--navy-deep); overflow:hidden; }
.about-hero__slides { position:absolute; inset:0; }
.about-hero__slide { position:absolute; inset:0; display:flex; align-items:flex-end; opacity:0; visibility:hidden; transition:opacity 1.1s ease, visibility 1.1s; }
.about-hero__slide.is-active { opacity:1; visibility:visible; }
.about-hero__slide img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transform:scale(1.08); transition:transform 8s ease-out; }
.about-hero__slide.is-active img { transform:scale(1); }
.about-hero__scrim { position:absolute; inset:0; background:linear-gradient(90deg, rgba(12,30,44,.88) 0%, rgba(12,30,44,.6) 45%, rgba(12,30,44,.15) 100%), linear-gradient(0deg, rgba(12,30,44,.65) 0%, transparent 45%); }
html[dir="rtl"] .about-hero__scrim { background:linear-gradient(270deg, rgba(12,30,44,.88) 0%, rgba(12,30,44,.6) 45%, rgba(12,30,44,.15) 100%), linear-gradient(0deg, rgba(12,30,44,.65) 0%, transparent 45%); }
.about-hero__copy { position:relative; z-index:1; width:100%; padding-top:8rem; padding-bottom:clamp(7rem,14vh,9rem); }
.about-hero__copy .crumbs { color:rgba(255,255,255,.8); font-size:.85rem; margin-bottom:1.2rem; }
.about-hero__copy .crumbs a { color:#fff; }
.about-hero__copy .eyebrow { color:var(--gold); }
.about-hero__copy .eyebrow::before { background:#fff; }
.about-hero__copy .display-1 { color:#fff; max-width:15ch; font-size:clamp(2.4rem,5.6vw,4.4rem); margin:.6rem 0 1rem; }
.about-hero__copy .lede { color:rgba(255,255,255,.92); max-width:38rem; }
.about-hero__slide.is-active .about-hero__copy > * { animation:heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
.about-hero__slide.is-active .about-hero__copy > :nth-child(2) { animation-delay:.08s; }
.about-hero__slide.is-active .about-hero__copy > :nth-child(3) { animation-delay:.16s; }
.about-hero__slide.is-active .about-hero__copy > :nth-child(4) { animation-delay:.24s; }
@keyframes heroIn { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
.about-hero__controls { position:absolute; inset-inline:0; bottom:2.2rem; z-index:2; display:flex; align-items:center; gap:.7rem; }
.carousel-dots { display:flex; gap:.45rem; margin-inline:.4rem; }
.carousel-dots button { width:.7rem; height:.7rem; padding:0; border:0; border-radius:var(--radius-pill); background:rgba(255,255,255,.45); transition:width .3s ease, background .3s ease; }
.carousel-dots button[aria-current="true"] { width:2rem; background:var(--gold); }
.about-hero__progress { position:absolute; inset-inline:0; bottom:0; height:4px; background:rgba(255,255,255,.15); z-index:2; }
.about-hero__progress span { display:block; height:100%; width:0; background:var(--gold); }

/* who we are, vision and mission, values */
.about-point__num { display:block; font:700 1.9rem/1 "Roboto Slab",Georgia,serif; color:var(--teal-soft); margin-bottom:.6rem; -webkit-text-stroke:1px var(--teal); }
.vm-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; }
.vm-card { position:relative; padding:clamp(1.8rem,4vw,2.8rem); border-radius:var(--radius); background:var(--navy-deep); color:#fff; overflow:hidden; }
.vm-card:nth-child(2) { background:linear-gradient(135deg, var(--teal-2), var(--navy)); }
.vm-card::after { content:""; position:absolute; inset-inline-end:-4rem; top:-4rem; width:12rem; height:12rem; border:28px solid rgba(255,255,255,.06); border-radius:50%; }
.vm-card__icon { display:grid; place-items:center; width:3rem; height:3rem; margin-bottom:1.2rem; border-radius:50%; background:var(--gold); color:#1f1606; font-size:1.3rem; font-weight:700; }
.vm-card__title { color:#fff; font-size:clamp(1.4rem,2.4vw,1.8rem); margin-bottom:.8rem; }
.vm-card p { color:rgba(255,255,255,.9); font-size:1.08rem; max-width:none; margin:0; }
.values-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-top:1.4rem; }
.value-tile { padding:1.4rem; border-radius:var(--radius-sm); background:var(--surface); border:1px solid var(--rule); border-top:4px solid var(--teal); transition:transform .3s ease, box-shadow .3s ease; }
.value-tile:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.value-tile h3 { font-size:1.05rem; margin-bottom:.4rem; }
.value-tile p { margin:0; color:var(--ink-2); font-size:.94rem; }
@media (max-width:900px) { .vm-grid { grid-template-columns:1fr; } .values-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px) { .values-grid { grid-template-columns:1fr; } }

/* numbers band */
.numbers-band { padding-block:clamp(3rem,7vw,4.5rem); background:linear-gradient(120deg, var(--navy-deep), var(--teal-2)); color:#fff; }
.numbers-band__title { color:#fff; font-size:.8rem; letter-spacing:.16em; text-transform:uppercase; font-family:"Public Sans",sans-serif; margin-bottom:1.6rem; opacity:.85; }
.numbers-band__list { display:grid; grid-template-columns:repeat(auto-fit,minmax(10rem,1fr)); gap:1.5rem; margin:0; }
.numbers-band__list > div { display:flex; flex-direction:column-reverse; border-inline-start:2px solid rgba(255,255,255,.25); padding-inline-start:1.1rem; }
.numbers-band dd { margin:0; font:700 clamp(2.4rem,5vw,3.6rem)/1 "Roboto Slab",Georgia,serif; color:var(--gold); }
.numbers-band dt { margin-top:.5rem; color:rgba(255,255,255,.88); font-size:.92rem; line-height:1.4; }

/* stepper tabs */
.stepper__tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:.6rem; margin-bottom:1.4rem; }
.stepper__tabs button { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:.2rem; padding:1rem 1.2rem; border:1px solid var(--rule-2); border-radius:var(--radius-sm); background:var(--surface); color:var(--navy); text-align:start; transition:background .25s ease, color .25s ease, border-color .25s ease; }
.stepper__tabs button[aria-selected="true"] { background:var(--navy); border-color:var(--navy); color:#fff; }
.stepper__tabs button[aria-selected="true"]::after { content:""; position:absolute; inset-inline-start:1.4rem; bottom:-.55rem; width:1rem; height:1rem; background:var(--navy); transform:rotate(45deg); }
.stepper__num { font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; opacity:.75; }
.stepper__name { font:700 1.25rem/1.2 "Roboto Slab",Georgia,serif; }
.stepper__panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:clamp(1.5rem,4vw,3rem); align-items:center; padding:clamp(1.2rem,3vw,2rem); border-radius:var(--radius); background:var(--paper-2); animation:panelIn .5s ease both; }
.stepper__panel[hidden] { display:none; }
.stepper__panel img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius-sm); }
.stepper__panel h3 { font-size:clamp(1.4rem,2.4vw,1.8rem); }
.stepper__panel p { font-size:1.06rem; }
@keyframes panelIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@media (max-width:760px) { .stepper__panel { grid-template-columns:1fr; } .stepper__name { font-size:1.05rem; } .stepper__tabs button { padding:.8rem; } }

/* pillars and horizontal sliders */
.pillars__tabs { display:inline-flex; flex-wrap:wrap; gap:.4rem; padding:.35rem; margin-bottom:1.5rem; border-radius:var(--radius-pill); background:var(--surface); border:1px solid var(--rule); }
.pillars__tabs button { padding:.6rem 1.2rem; border:0; border-radius:var(--radius-pill); background:transparent; color:var(--navy); font-weight:700; font-size:.92rem; }
.pillars__tabs button[aria-selected="true"] { background:var(--teal); color:#fff; }
.slider__track { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(16.5rem,calc((100% - 2.5rem) / 3)); gap:1.25rem; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:.4rem .2rem 1.2rem; scrollbar-width:thin; overscroll-behavior-x:contain; }
.slider__track > * { scroll-snap-align:start; }
.slider__track:focus-visible { outline:3px solid var(--gold); outline-offset:4px; border-radius:var(--radius-sm); }
.slider__nav { display:flex; align-items:center; gap:.6rem; margin-top:.4rem; }
.slider__nav .carousel-btn { background:var(--surface); color:var(--navy); border-color:var(--rule-2); backdrop-filter:none; -webkit-backdrop-filter:none; }
.slider__nav .carousel-btn:hover:not(:disabled) { background:var(--navy); color:#fff; }
.slider__nav .link-arrow { margin-inline-start:auto; font-weight:700; color:var(--teal-2); }
.slider.is-static .slider__nav .carousel-btn { display:none; }
.slider__track .tm-card { height:100%; }
@media (max-width:900px) { .slider__track { grid-auto-columns:minmax(15rem,78%); } }
.stage-card { display:flex; flex-direction:column; gap:.6rem; min-height:100%; padding:1.6rem; border-radius:var(--radius); background:var(--surface); border:1px solid var(--rule); box-shadow:var(--shadow); color:inherit; transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.stage-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:var(--teal); }
.stage-card__num { font:700 2.4rem/1 "Roboto Slab",Georgia,serif; color:transparent; -webkit-text-stroke:1.5px var(--teal); }
.stage-card h3 { font-size:1.12rem; margin:0; }
.stage-card p { color:var(--ink-2); font-size:.95rem; margin:0; flex:1; }
.stage-card .link-arrow { font-size:.88rem; font-weight:700; color:var(--teal-2); }
.stage-card--comms .stage-card__num { -webkit-text-stroke-color:var(--gold); }

/* why the hub */
.why-list { display:grid; gap:1.1rem; }
.why-item { display:flex; gap:1rem; padding:1.3rem 1.4rem; border-radius:var(--radius-sm); background:var(--paper-2); }
.why-item__mark { flex:none; display:grid; place-items:center; width:2.2rem; height:2.2rem; border-radius:50%; background:var(--teal); color:#fff; font-weight:700; }
.why-item h3 { font-size:1.1rem; margin-bottom:.3rem; }
.why-item p { margin:0; color:var(--ink-2); }
.why-quote { margin:.6rem 0 0; padding-inline-start:1.2rem; border-inline-start:4px solid var(--gold); color:var(--navy); font:500 clamp(1.2rem,2.2vw,1.5rem)/1.5 "Roboto Slab",Georgia,serif; max-width:none; }

/* moments carousel */
.section--dark { background:var(--navy-deep); color:rgba(255,255,255,.9); }
.section--dark h2, .section--dark .display-3 { color:#fff; }
.section--dark .eyebrow { color:var(--gold); }
.moments__stage { position:relative; aspect-ratio:16/8; border-radius:var(--radius); overflow:hidden; background:#0b1620; }
.moments__slide { position:absolute; inset:0; margin:0; opacity:0; visibility:hidden; transition:opacity .9s ease, visibility .9s; }
.moments__slide.is-active { opacity:1; visibility:visible; }
.moments__slide > a { position:absolute; inset:0; display:block; }
.moments__slide img { width:100%; height:100%; object-fit:cover; transform:scale(1.05); transition:transform 7s ease-out; }
.moments__slide.is-active img { transform:scale(1); }
.moments__slide figcaption { position:absolute; inset-inline:0; bottom:0; display:flex; flex-wrap:wrap; align-items:baseline; gap:.3rem 1rem; padding:2.5rem clamp(1.2rem,3vw,2rem) 1.3rem; background:linear-gradient(0deg, rgba(8,18,27,.9), transparent); color:#fff; }
.moments__slide figcaption strong { font-size:1.1rem; }
.moments__slide figcaption span { color:rgba(255,255,255,.75); font-size:.9rem; }
.moments__slide figcaption .link-arrow { margin-inline-start:auto; color:var(--gold); font-weight:700; font-size:.9rem; }
.moments__prev, .moments__next { position:absolute; top:calc(50% - 1.45rem); z-index:2; }
.moments__prev { inset-inline-start:1rem; }
.moments__next { inset-inline-end:1rem; }
.moments__thumbs { display:flex; gap:.5rem; margin-top:.9rem; overflow-x:auto; padding-bottom:.4rem; scrollbar-width:thin; }
.moments__thumbs button { flex:none; width:6.5rem; height:4.2rem; padding:0; border:2px solid transparent; border-radius:.6rem; overflow:hidden; background:none; opacity:.55; transition:opacity .25s ease, border-color .25s ease; }
.moments__thumbs button img { width:100%; height:100%; object-fit:cover; }
.moments__thumbs button[aria-current="true"], .moments__thumbs button:hover { opacity:1; border-color:var(--gold); }
@media (max-width:640px) { .moments__stage { aspect-ratio:4/3; } .moments__slide figcaption .link-arrow { margin-inline-start:0; } }

@media (prefers-reduced-motion: reduce) {
  .about-hero__slide img, .moments__slide img { transition:none; transform:none; }
  .about-hero__slide.is-active .about-hero__copy > * { animation:none; }
}
html.a11y-pause-1 .about-hero__slide img, html.a11y-pause-1 .moments__slide img { transform:none !important; }

/* Nothing parked off-screen (off-canvas menus, skip links) may make the page scroll sideways, in either text direction. */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }

/* =================== team pages (testimonial style) =================== */
.team-card__media { aspect-ratio:4/5; background:linear-gradient(160deg, var(--teal-soft) 0%, var(--paper-3) 100%); }
.team-card__media img { object-position:50% 20%; }
.team-card__initials { display:grid; place-items:center; width:100%; height:100%; color:var(--teal-2); font:700 clamp(2.6rem,6vw,4rem)/1 "Roboto Slab",Georgia,serif; letter-spacing:.02em; }
.team-card .tm-card__type { max-width:calc(100% - 2rem); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.team-card__headline { margin:0 0 .8rem; color:var(--navy); font:600 1.08rem/1.5 "Roboto Slab",Georgia,serif; }
.team-card--featured { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); }
.team-card--featured .team-card__media { aspect-ratio:auto; min-height:26rem; }
@media (max-width:860px) { .team-card--featured { grid-template-columns:1fr; } .team-card--featured .team-card__media { min-height:0; aspect-ratio:4/5; max-height:34rem; } }

.skills-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; }
.skill-tile { position:relative; padding:1.6rem 1.6rem 1.5rem; border-radius:var(--radius); background:var(--surface); border:1px solid var(--rule); box-shadow:var(--shadow); transition:transform .3s ease, box-shadow .3s ease; overflow:hidden; }
.skill-tile:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.skill-tile::before { content:""; position:absolute; inset-inline-start:0; top:0; bottom:0; width:4px; background:linear-gradient(180deg, var(--teal), var(--gold)); }
.skill-tile__num { display:block; margin-bottom:.7rem; font:700 2rem/1 "Roboto Slab",Georgia,serif; color:transparent; -webkit-text-stroke:1.5px var(--teal); }
.skill-tile h3 { font-size:1.08rem; margin-bottom:.45rem; }
.skill-tile p { margin:0; color:var(--ink-2); font-size:.95rem; }
@media (max-width:900px) { .skills-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px) { .skills-grid { grid-template-columns:1fr; } }

.profile-hero { padding-bottom:clamp(2.5rem,6vw,4rem); }
.profile-hero__grid { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr); gap:clamp(2rem,5vw,4rem); align-items:end; }
.profile-hero__copy h1 { margin:.9rem 0 0; }
.profile-hero__headline { margin:1rem 0 0; max-width:40rem; color:var(--navy); }
.profile-hero__portrait { position:relative; margin:0; aspect-ratio:4/5; border-radius:var(--radius); overflow:hidden; background:linear-gradient(160deg, var(--teal-soft), var(--paper-3)); box-shadow:var(--shadow-lg); }
.profile-hero__portrait::after { content:""; position:absolute; inset:auto 0 0 0; height:6px; background:linear-gradient(90deg, var(--navy), var(--teal) 55%, var(--gold)); }
.profile-hero__portrait img { width:100%; height:100%; object-fit:cover; object-position:50% 20%; }
@media (max-width:760px) { .profile-hero__grid { grid-template-columns:1fr; } .profile-hero__portrait { max-width:20rem; order:-1; } }
.team-bio p { font-size:1.06rem; line-height:1.8; }
.team-bio--long p:first-child { font-size:1.18rem; color:var(--navy); }

/* Justify longer prose for an even, tidy column on wider screens; narrow
   phone columns stay ragged so words never stretch apart. */
@media (min-width:640px) {
  .prose-justify, .prose-justify p, .team-bio p,
  .tm-detail__summary, .tm-detail .prose p, .funder-box__text,
  .article-grid .prose p, .stepper__panel p, .vm-card p {
    text-align:justify;
    text-justify:inter-word;
    hyphens:auto;
    -webkit-hyphens:auto;
  }
}
