:root {
    --who-teal: #087f7c;
    --who-teal-dark: #075b59;
    --who-ink: #123b43;
    --who-muted: #5b7378;
    --who-line: #dce8e8;
    --who-soft: #f3f8f7;
    --who-accent: #7bd7d2;
}

.who-page {
    color: var(--who-ink);
    background: #fff;
    overflow: hidden;
}

.who-page *, .who-page *::before, .who-page *::after { box-sizing: border-box; }
.who-page h1, .who-page h2, .who-page h3, .who-page p { margin-top: 0; }
.who-page p { color: var(--who-muted); line-height: 1.75; }

.who-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    background: var(--who-teal-dark);
}

.who-hero__image, .who-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.who-hero__image { object-fit: cover; object-position: center 35%; }
.who-hero__shade { background: linear-gradient(90deg, rgba(5, 49, 50, .92) 0%, rgba(5, 49, 50, .72) 42%, rgba(5, 49, 50, .18) 74%, rgba(5, 49, 50, .08) 100%); }
.who-hero__inner { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 76px; }
.who-hero__content { max-width: 690px; }

.who-eyebrow, .who-label {
    display: block;
    color: var(--who-teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.who-hero .who-eyebrow, .who-cta .who-eyebrow { color: #a9e7e3; }
.who-hero h1 { color: #fff; font-size: clamp(44px, 5.2vw, 76px); line-height: 1.05; font-weight: 800; max-width: 680px; margin-bottom: 24px; letter-spacing: 0; }
.who-hero p { color: rgba(255,255,255,.86); font-size: 19px; max-width: 650px; margin-bottom: 32px; }
.who-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.who-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none !important;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.who-button:hover { transform: translateY(-2px); }
.who-button--primary { color: var(--who-teal-dark) !important; background: #fff; border-color: #fff; }
.who-button--primary:hover { background: #e4f6f4; border-color: #e4f6f4; }
.who-button--light { color: #fff !important; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.who-button--light:hover { background: #fff; color: var(--who-teal-dark) !important; }
.who-button--outline { color: #fff !important; border-color: rgba(255,255,255,.55); }
.who-button--outline:hover { background: #fff; color: var(--who-teal-dark) !important; }

.who-scope { background: var(--who-teal); }
.who-scope__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.who-scope article { min-height: 132px; display: flex; align-items: center; gap: 18px; padding: 26px 30px; border-right: 1px solid rgba(255,255,255,.18); }
.who-scope article:first-child { padding-left: 0; }
.who-scope article:last-child { border-right: 0; padding-right: 0; }
.who-scope i { width: 44px; flex: 0 0 44px; color: #fff; font-size: 25px; text-align: center; }
.who-scope strong, .who-scope span { display: block; color: #fff; }
.who-scope strong { font-size: 17px; margin-bottom: 5px; }
.who-scope span { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.5; }

.who-section { padding: 96px 0; }
.who-story__grid, .who-model__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 76px; align-items: center; }
.who-story__media { position: relative; padding-bottom: 34px; }
.who-story__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.who-story__caption { position: absolute; left: 28px; right: -28px; bottom: 0; display: flex; align-items: center; gap: 15px; background: #fff; border-left: 4px solid var(--who-teal); box-shadow: 0 16px 40px rgba(17, 59, 67, .14); padding: 19px 22px; }
.who-story__caption i { color: var(--who-teal); font-size: 24px; }
.who-story__caption span { color: var(--who-ink); font-weight: 700; line-height: 1.5; }
.who-copy h2, .who-heading h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.13; font-weight: 800; letter-spacing: 0; color: var(--who-ink); margin-bottom: 22px; }
.who-copy > p { font-size: 17px; margin-bottom: 17px; }
.who-quote { margin-top: 28px; padding: 20px 0 0 23px; border-left: 3px solid var(--who-teal); }
.who-quote strong { color: var(--who-teal); text-transform: uppercase; font-size: 12px; }
.who-quote p { color: var(--who-ink); font-size: 18px; font-weight: 700; margin: 7px 0 0; }

.who-purpose { background: var(--who-soft); border-top: 1px solid var(--who-line); border-bottom: 1px solid var(--who-line); }
.who-heading { max-width: 760px; margin-bottom: 46px; }
.who-heading h2 { margin-bottom: 0; }
.who-purpose__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #cbdcda; border-left: 1px solid #cbdcda; }
.who-purpose__grid article { position: relative; min-height: 320px; padding: 42px; background: #fff; border-right: 1px solid #cbdcda; border-bottom: 1px solid #cbdcda; }
.who-purpose__number { position: absolute; right: 30px; top: 25px; color: #d4e4e2; font-size: 54px; font-weight: 800; }
.who-purpose__icon { width: 52px; height: 52px; display: grid; place-items: center; background: #e7f3f1; color: var(--who-teal); border-radius: 5px; font-size: 22px; margin-bottom: 31px; }
.who-purpose h3, .who-values h3, .who-engage h3 { color: var(--who-ink); font-size: 22px; font-weight: 800; margin-bottom: 13px; }
.who-purpose p { font-size: 16px; margin-bottom: 0; }

.who-heading--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 70px; }
.who-heading--split p { margin: 0 0 7px; font-size: 17px; }
.who-values__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--who-line); }
.who-values__grid article { padding: 34px 28px 10px 0; margin-right: 28px; border-right: 1px solid var(--who-line); }
.who-values__grid article:last-child { border-right: 0; margin-right: 0; }
.who-values__grid i { color: var(--who-teal); font-size: 25px; margin-bottom: 26px; }
.who-values__grid p { margin-bottom: 0; }

.who-model { background: var(--who-teal-dark); }
.who-model .who-label { color: #83d5d0; }
.who-model .who-copy h2 { color: #fff; }
.who-model .who-copy > p { color: rgba(255,255,255,.7); }
.who-text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--who-accent) !important; font-weight: 800; text-decoration: none !important; margin-top: 8px; }
.who-steps { list-style: none; padding: 0; margin: 0; }
.who-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.who-steps li:first-child { padding-top: 0; }
.who-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.who-steps li > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--who-teal-dark); background: var(--who-accent); border-radius: 50%; font-weight: 900; }
.who-steps strong { display: block; color: #fff; font-size: 18px; margin-bottom: 4px; }
.who-steps p { color: rgba(255,255,255,.7); margin: 0; line-height: 1.55; }

.who-engage { background: #fff; }
.who-engage__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.who-engage__grid article { min-height: 280px; display: flex; flex-direction: column; align-items: flex-start; padding: 31px; border: 1px solid var(--who-line); border-top: 4px solid var(--who-teal); border-radius: 5px; }
.who-engage__grid > article > i { color: var(--who-teal); font-size: 26px; margin-bottom: 29px; }
.who-engage__grid p { flex: 1; }
.who-engage__grid a { color: var(--who-teal-dark); font-weight: 800; text-decoration: none; }
.who-engage__grid a i { margin-left: 7px; font-size: 12px; }

.who-cta { padding: 0 0 96px; background: #fff; }
.who-cta__inner { min-height: 260px; display: flex; justify-content: space-between; align-items: center; gap: 50px; padding: 48px 54px; background: var(--who-ink); border-left: 6px solid var(--who-teal); }
.who-cta__inner > div:first-child { max-width: 700px; }
.who-cta h2 { color: #fff; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.15; font-weight: 800; letter-spacing: 0; margin: 0; }
.who-cta .who-actions { flex: 0 0 auto; }

@media (max-width: 991px) {
    .who-hero { min-height: 570px; }
    .who-hero__shade { background: linear-gradient(90deg, rgba(5,49,50,.91), rgba(5,49,50,.55)); }
    .who-scope__grid { grid-template-columns: 1fr; }
    .who-scope article, .who-scope article:first-child, .who-scope article:last-child { min-height: auto; padding: 21px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
    .who-scope article:last-child { border-bottom: 0; }
    .who-story__grid, .who-model__grid { grid-template-columns: 1fr; gap: 54px; }
    .who-heading--split { grid-template-columns: 1fr; gap: 0; }
    .who-values__grid { grid-template-columns: repeat(2, 1fr); }
    .who-values__grid article:nth-child(2) { border-right: 0; margin-right: 0; }
    .who-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767px) {
    .who-hero { min-height: 650px; }
    .who-hero__image { object-position: 62% center; }
    .who-hero__shade { background: linear-gradient(180deg, rgba(5,49,50,.35) 0%, rgba(5,49,50,.94) 67%, rgba(5,49,50,.98) 100%); }
    .who-hero__inner { padding-top: 185px; padding-bottom: 44px; }
    .who-hero h1 { font-size: 42px; }
    .who-hero p { font-size: 16px; line-height: 1.65; }
    .who-actions { align-items: stretch; flex-direction: column; }
    .who-button { width: 100%; }
    .who-section { padding: 70px 0; }
    .who-story__grid { gap: 45px; }
    .who-story__caption { left: 16px; right: 16px; padding: 16px; }
    .who-copy h2, .who-heading h2 { font-size: 34px; }
    .who-purpose__grid, .who-values__grid, .who-engage__grid { grid-template-columns: 1fr; }
    .who-purpose__grid article { min-height: 270px; padding: 32px 26px; }
    .who-values__grid article, .who-values__grid article:nth-child(2) { margin: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--who-line); }
    .who-values__grid article:last-child { border-bottom: 0; }
    .who-engage__grid article { min-height: 250px; }
    .who-cta { padding-bottom: 70px; }
    .who-cta__inner { min-height: 0; padding: 40px 25px; }
}

@media (prefers-reduced-motion: reduce) {
    .who-button { transition: none; }
}

/* Dark theme -------------------------------------------------------------
   Shared organisation styles still contain selectors for an older version
   of this page, so the theme selector also protects the current layout. */
html[data-theme="dark"] .who-page {
    --who-teal: #66d5cf;
    --who-teal-dark: #073f42;
    --who-ink: #eef8f9;
    --who-muted: #b8cdd1;
    --who-line: rgba(143, 208, 205, .18);
    --who-soft: #101d23;
    --who-accent: #8be2dd;
    color: var(--who-ink);
    background:
        radial-gradient(circle at 8% 0%, rgba(89, 200, 195, .09), transparent 28%),
        linear-gradient(180deg, #0b1519 0%, #0f1c21 48%, #0b1519 100%) !important;
}

html[data-theme="dark"] .who-page p { color: var(--who-muted); }

html[data-theme="dark"] .who-hero {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] .who-hero__shade {
    background: linear-gradient(90deg, rgba(3, 31, 34, .96) 0%, rgba(4, 40, 43, .84) 44%, rgba(4, 35, 38, .34) 76%, rgba(4, 31, 34, .18) 100%);
}

html[data-theme="dark"] .who-hero p { color: rgba(255, 255, 255, .9); }
html[data-theme="dark"] .who-scope { background: #0b6968; }
html[data-theme="dark"] .who-scope span { color: rgba(255, 255, 255, .86); }
html[data-theme="dark"] .who-section { margin-top: 0 !important; }

html[data-theme="dark"] .who-label,
html[data-theme="dark"] .who-quote strong { color: #83e1dc; }

html[data-theme="dark"] .who-copy h2,
html[data-theme="dark"] .who-heading h2,
html[data-theme="dark"] .who-purpose h3,
html[data-theme="dark"] .who-values h3,
html[data-theme="dark"] .who-engage h3 { color: var(--who-ink) !important; }

html[data-theme="dark"] .who-heading { margin-bottom: 46px !important; }

html[data-theme="dark"] .who-story__caption,
html[data-theme="dark"] .who-purpose__grid article,
html[data-theme="dark"] .who-engage__grid article {
    background: linear-gradient(180deg, #16262d 0%, #122128 100%) !important;
    border-color: var(--who-line) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] .who-story__caption { border-left-color: var(--who-teal) !important; }

html[data-theme="dark"] .who-story__caption span,
html[data-theme="dark"] .who-quote p { color: var(--who-ink); }

html[data-theme="dark"] .who-purpose {
    background: #101d23;
    border-color: var(--who-line);
}

html[data-theme="dark"] .who-purpose__grid { border-color: var(--who-line); }
html[data-theme="dark"] .who-purpose__number { color: rgba(139, 226, 221, .18); }

html[data-theme="dark"] .who-purpose__icon {
    color: #8be2dd;
    background: rgba(102, 213, 207, .13);
}

html[data-theme="dark"] .who-values__grid,
html[data-theme="dark"] .who-values__grid article { border-color: var(--who-line); }

html[data-theme="dark"] .who-values__grid i,
html[data-theme="dark"] .who-engage__grid > article > i { color: #83e1dc; }

html[data-theme="dark"] .who-model {
    background: linear-gradient(135deg, #0a3438 0%, #09292e 100%);
}

html[data-theme="dark"] .who-model .who-copy > p,
html[data-theme="dark"] .who-steps p { color: rgba(235, 248, 249, .78); }

html[data-theme="dark"] .who-engage,
html[data-theme="dark"] .who-cta { background: transparent; }

html[data-theme="dark"] .who-engage__grid article { border-top-color: var(--who-teal) !important; }

html[data-theme="dark"] .who-engage__grid a,
html[data-theme="dark"] .who-text-link { color: #8be2dd !important; }

html[data-theme="dark"] .who-cta__inner {
    background: linear-gradient(110deg, #12333a 0%, #0d282e 100%);
    border-left-color: #66d5cf;
    box-shadow: 0 22px 52px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] .who-button:focus-visible,
html[data-theme="dark"] .who-text-link:focus-visible,
html[data-theme="dark"] .who-engage__grid a:focus-visible {
    outline: 3px solid #8be2dd;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    html[data-theme="dark"] .who-hero__shade {
        background: linear-gradient(180deg, rgba(3, 31, 34, .34) 0%, rgba(3, 31, 34, .94) 64%, rgba(3, 31, 34, .99) 100%);
    }
}

/* The global dark-theme CTA inheritance rule is intentionally broad; keep
   the white primary buttons' labels dark on this page. */
html[data-theme="dark"] .who-page .who-button--primary {
    color: #073f42 !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
}

html[data-theme="dark"] .who-page .who-button--primary:hover {
    color: #052f32 !important;
    background: #dff6f3 !important;
    border-color: #dff6f3 !important;
}

/* Dark hero refinement: keep the bright window from splitting the hero into
   separate-looking panels and make the visual stacking deterministic. */
html[data-theme="dark"] .who-hero {
    isolation: isolate;
    background: #071d21 !important;
}

html[data-theme="dark"] .who-hero__image {
    z-index: 0;
    filter: brightness(.76) saturate(.78) contrast(1.06);
}

html[data-theme="dark"] .who-hero__shade {
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(2, 18, 21, .08) 0%, rgba(2, 18, 21, .22) 100%),
        linear-gradient(90deg, rgba(2, 28, 31, .95) 0%, rgba(3, 33, 36, .84) 42%, rgba(3, 30, 34, .62) 72%, rgba(3, 27, 31, .48) 100%);
}

html[data-theme="dark"] .who-hero__inner { z-index: 2; }
html[data-theme="dark"] .who-hero::after { z-index: 3; }

html[data-theme="dark"] .who-hero h1 {
    color: #f4fbfc !important;
    text-shadow: 0 3px 24px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .who-hero p {
    color: rgba(242, 250, 251, .9) !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .22);
}

@media (max-width: 767px) {
    html[data-theme="dark"] .who-hero__image {
        filter: brightness(.7) saturate(.76) contrast(1.06);
    }

    html[data-theme="dark"] .who-hero__shade {
        background:
            linear-gradient(180deg, rgba(2, 20, 23, .42) 0%, rgba(2, 24, 27, .78) 52%, rgba(2, 24, 27, .98) 100%),
            linear-gradient(90deg, rgba(2, 24, 27, .22), rgba(2, 24, 27, .46));
    }
}
