/* =======================================================================
   ABOUT PAGE — rebuilt layout (matches the approved full-page mockup).
   Global chrome (header, menu, footer) + .hd/.eyebrow/.btn come from
   assets/css/style.css. Everything below is scoped to this page.
   ======================================================================= */
main {
    --c-blue: #2b5088;
    --c-accent: #3b6fd4;
    --c-accent-2: #6ea8fe;
    --c-ink: #141a22;
    --c-muted: #5f6b7a;
    --c-line: #e7ebf2;
    --c-paper: #f5f7fb;
    --c-grad: var(--blue);
}

            /* =======================================================================
   PAGE BANNER — single source of truth for #ab-hero.
   Compact, centred banner carrying just the page title and the
   breadcrumb.

   Colour comes from the home page: navy #0B1D3F, brand blue #1E56C8,
   bright blue #3B7BFF, sky #E5EDFB and chip text #E3EBFA — the .ipv /
   #hero palette in assets/css/style.css. The previous near-black
   scrim drained the photograph and read grey; these gradients keep a
   blue cast, so the banner looks like the same brand as index.html.

   Behind the type: the still photograph under a blue duotone scrim, a
   fine dot grid, two brand-blue glows and corner ring arcs that draw
   themselves in — the same ring motif the home page uses.
   ======================================================================= */
#ab-hero {
    /* home-page palette, scoped to the banner */
    --bn-navy: #0B1D3F;
    --bn-blue: #1E56C8;
    --bn-blue-2: #3B7BFF;
    --bn-sky: #E5EDFB;
    --bn-chip: #E3EBFA;
    /* the sky tint the home page hero uses on its <em> words */
    --bn-accent: #fff;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
    min-height: 360px;
    height: min(520px, 60svh);
    /* bottom padding must stay taller than .ab-hero-wave's height,
       or the title sits on top of the crests */
    padding: 126px var(--pad) clamp(132px, 14vw, 206px);
    background: var(--bn-navy);
    color: #fff;
}

/* --- background photograph --- */
#ab-hero .ab-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -4;
}

#ab-hero .ab-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
    transform: scale(1.06);
    /* a touch more contrast and colour, because the scrim over it is
       lighter than it used to be */
    filter: saturate(1.05) contrast(1.04);
    animation: ab-hero-drift 30s ease-in-out infinite alternate;
}

@keyframes ab-hero-drift {
    to {
        transform: scale(1.12) translate3d(-1%, -1.4%, 0);
    }
}

#ab-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background: #2b5088;
}

#ab-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

#ab-hero .ab-hero-glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

#ab-hero .ab-hero-glow.g1 {
    width: 560px;
    height: 560px;
    top: -240px;
    right: -120px;
    opacity: .85;
    background: radial-gradient(circle, rgba(59, 123, 255, .55), transparent 70%);
}

#ab-hero .ab-hero-glow.g2 {
    width: 520px;
    height: 520px;
    bottom: -250px;
    left: -150px;
    opacity: .8;
    background: radial-gradient(circle, rgba(30, 86, 200, .7), transparent 70%);
}

#ab-hero .ab-hero-net {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .6;
    background-image: radial-gradient(rgba(229, 237, 251, .2) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000 0%, transparent 72%);
    mask-image: radial-gradient(80% 70% at 50% 50%, #000 0%, transparent 72%);
    pointer-events: none;
}

#ab-hero .ab-hero-arcs {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    stroke: rgba(229, 237, 251, .26);
    stroke-width: 1;
    pointer-events: none;
}

#ab-hero .ab-hero-arcs circle:not([stroke-dasharray]) {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: ab-arc-loop 7s cubic-bezier(.45, 0, .25, 1) .2s infinite;
}

#ab-hero .ab-hero-arcs circle:nth-of-type(2) {
    animation-delay: .34s;
}

#ab-hero .ab-hero-arcs circle:nth-of-type(4) {
    animation-delay: .48s;
}

#ab-hero .ab-hero-arcs circle[stroke-dasharray] {
    opacity: 0;
    animation: ab-arc-fade 1.1s ease .95s forwards,
        ab-arc-march 5s linear infinite;
}

#ab-hero .ab-hero-arcs circle:nth-of-type(5) {
    animation-direction: normal, reverse;
}

@keyframes ab-arc-loop {
    0% {
        stroke-dashoffset: 1;
    }

    40% {
        stroke-dashoffset: 0;
    }

    60% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -1;
    }
}

@keyframes ab-arc-march {
    to {
        stroke-dashoffset: -90;
    }
}

@keyframes ab-arc-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes ab-arc-fade {
    to {
        opacity: 1;
    }
}

#ab-hero .ab-hero-in {
    position: relative;
    z-index: 2;
    width: 100%;
    width: 500px;
    border-radius: 50%;
}

#ab-hero .ab-kick {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 clamp(18px, 2.2vw, 26px);
    padding: 7px 16px 7px 13px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--bn-chip);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    line-height: 1;
}

#ab-hero .ab-kick::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bn-blue-2);
    box-shadow: 0 0 0 4px rgba(59, 123, 255, .25);
}

#ab-hero h1 {
    color: #fff;
    letter-spacing: -.025em;
    font-family: "Red Hat Display", sans-serif;
    font-size: clamp(26px, 3.4vw, 52px);
    line-height: 1;
    font-weight: 400;
    padding: 0 0 20px;
}

#ab-hero h1 .w:last-of-type .i {
    color: var(--bn-accent);
}

#ab-hero .ab-crumb {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 0px;
    padding: 6px 6px 6px 8px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -24px rgba(4, 12, 30, .9), inset 0 1px 0 rgba(255, 255, 255, .22);
    backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

#ab-hero .ab-crumb a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 999px;
    color: var(--bn-chip);
    transition: color .3s var(--ease), background .3s var(--ease);
}

#ab-hero .ab-crumb a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

#ab-hero .ab-crumb .ab-crumb-ico {
    width: 18px;
    height: 18px;
    opacity: .85;
    transition: transform .35s var(--ease), opacity .3s var(--ease);
}

#ab-hero .ab-crumb a:hover .ab-crumb-ico {
    opacity: 1;
    transform: translateY(-1px) scale(1.06);
}

/* the label gets a slide-in underline on hover, drawn from the left */
#ab-hero .ab-crumb a span {
    position: relative;
}

#ab-hero .ab-crumb a span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

#ab-hero .ab-crumb a:hover span::after {
    transform: scaleX(1);
}

#ab-hero .ab-crumb .ab-crumb-sep {
    width: 12px;
    height: 12px;
    opacity: .45;
    flex: none;
}

#ab-hero .ab-crumb [aria-current] {
    position: relative;
    overflow: hidden;
    padding: 6px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    font-weight: 600;
    /* box-shadow: 0 8px 18px -8px #3b7bffb0, inset 0 1px 0 rgba(255, 255, 255, .3); */
}

/* a slow sheen that sweeps across the current-page chip */
#ab-hero .ab-crumb [aria-current]::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-18deg);
    animation: ab-crumb-sheen 4.5s var(--ease) 3s infinite;
}

@keyframes ab-crumb-sheen {
    0% {
        left: -60%;
    }

    55%,
    100% {
        left: 130%;
    }
}

/* The eyebrow and breadcrumb rise in around the title, which the
   loader timeline in assets/js/script.js drives (its panes clear at
   ~1.55s and the title words start at ~1.9s). Plain CSS delays are
   enough here because the banner is hidden behind the panes until
   then. animation-fill-mode: both leaves both elements visible when
   the animation finishes, and the html.js guard means a JS-less
   page renders them in place with no animation at all. */
html.js #ab-hero .ab-kick,
html.js #ab-hero .ab-crumb {
    opacity: 0;
    transform: translateY(14px);
    animation: ab-rise .9s var(--ease) both;
}

html.js #ab-hero .ab-kick {
    animation-delay: 1.85s;
}

html.js #ab-hero .ab-crumb {
    animation-delay: 2.35s;
}

@keyframes ab-rise {
    to {
        opacity: 1;
        transform: none;
    }
}

/* --- wave that hands the banner over to the page below ---
   Three crests: two tinted ones for depth and a solid one in the
   page's own background colour, so the curve reads as the page
   rising into the banner rather than a shape sitting on top. The
   tints are brand blue and sky rather than plain white — white over
   navy turned the whole foot of the banner grey. The crests drift
   sideways at different speeds, which gives the edge a slow swell
   without moving the type above it.

   The height matters as much as the path data: preserveAspectRatio
   is "none", so the 1440x120 viewBox is squashed into this box and
   a short box flattens the crests into near-straight lines no
   matter how much amplitude the paths carry. At this height the
   crests rise roughly a sixth of their own half-period, which is
   what makes them read as curves. If you shrink the height, raise
   #ab-hero's bottom padding budget with it. */
#ab-hero .ab-hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 1;
    width: 100%;
    height: clamp(80px, 11vw, 168px);
    display: block;
    pointer-events: none;
}

#ab-hero .ab-hero-wave path {
    transform-origin: center bottom;
}

/* fine dot field laid over the wave's white crest, matching the
   #nw-story backdrop below (same colour + 26px grid). It sits above
   the wave but below the hero content, and fades out toward the top
   so it only reads over the white part of the hand-off, never over
   the blue crests. This removes the flat white gap between the wave
   and where the section's own dots begin. */
#ab-hero .ab-hero-floor {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 1;
    height: clamp(86px, 11vw, 172px);
    pointer-events: none;
    background-image: radial-gradient(rgba(59, 111, 212, .20) 1px, transparent 1.2px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 34%, transparent 86%);
    mask-image: linear-gradient(0deg, #000 0%, #000 34%, transparent 86%);
}

#ab-hero .ab-hero-wave .w1 {
    fill: rgba(59, 123, 255, .3);
    animation: ab-wave-a 15s ease-in-out infinite alternate;
}

#ab-hero .ab-hero-wave .w2 {
    fill: rgba(229, 237, 251, .45);
    animation: ab-wave-b 11s ease-in-out infinite alternate;
}

#ab-hero .ab-hero-wave .w3 {
    fill: #fff;
    animation: ab-wave-a 9s ease-in-out infinite alternate-reverse;
}

@keyframes ab-wave-a {
    from {
        transform: translate3d(-2.5%, 0, 0) scaleY(1);
    }

    to {
        transform: translate3d(2.5%, 0, 0) scaleY(1.06);
    }
}

@keyframes ab-wave-b {
    from {
        transform: translate3d(2%, 0, 0) scaleY(1.04);
    }

    to {
        transform: translate3d(-2%, 0, 0) scaleY(.97);
    }
}

@media (max-width: 760px) {
    #ab-hero {
        min-height: 330px;
        height: auto;
        padding: 116px var(--pad) 82px;
    }

    #ab-hero .ab-hero-bg img {
        object-position: 50% 45%;
    }

    #ab-hero .ab-hero-net {
        background-size: 20px 20px;
    }

    #ab-hero h1 {
        font-size: clamp(36px, 10.5vw, 60px);
    }
}

@media (max-width: 430px) {
    #ab-hero {
        padding-top: 104px;
        /* still has to clear the wave, which bottoms out at 80px */
        padding-bottom: 108px;
    }

    #ab-hero .ab-kick {
        font-size: 10.5px;
        letter-spacing: .13em;
    }

    #ab-hero .ab-crumb {
        gap: 4px;
        padding: 5px 5px 5px 6px;
        font-size: 12px;
    }

    #ab-hero .ab-crumb a {
        padding: 4px 10px;
        gap: 6px;
    }

    #ab-hero .ab-crumb .ab-crumb-ico {
        width: 14px;
        height: 14px;
    }

    #ab-hero .ab-crumb [aria-current] {
        padding: 5px 13px;
    }
}

@media (prefers-reduced-motion: reduce) {

    #ab-hero .ab-hero-bg img {
        animation: none;
    }

    #ab-hero .ab-hero-arcs circle {
        animation: none !important;
        stroke-dashoffset: 0;
        opacity: 1;
    }

    #ab-hero .ab-hero-wave path {
        animation: none !important;
    }

    html.js #ab-hero .ab-kick,
    html.js #ab-hero .ab-crumb {
        animation: none !important;
        opacity: 1;
        transform: none;
    }

    #ab-hero .ab-crumb [aria-current]::after {
        animation: none !important;
        display: none;
    }
}

#ab-hero {
    place-content: center start;
    justify-items: start;
    text-align: left;
    padding-left: max(var(--pad), calc((100vw - 1400px) / 2));
    padding-right: var(--pad);
}

#ab-hero .ab-hero-in {
    width: 100%;
    max-width: 560px;
    border-radius: 0;
}

#ab-hero h1 {
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: 1.04;
    padding: 0 0 24px;
    white-space: nowrap;
}

#ab-hero .ab-crumb {
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* the photo starts at 30% and fades in over a long ramp, so it grows
   out of the navy instead of starting at a hard 50% edge */
#ab-hero .ab-hero-bg,
#ab-hero::before {
    left: 0%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .25) 14%, rgba(0, 0, 0, .65) 32%, #000 55%);
    mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .25) 14%, rgba(0, 0, 0, .65) 46%, #000 72%);
}

#ab-hero .ab-hero-bg img {
    object-position: 68% 50%;
}

/* breadcrumb: pinned bottom-left, just above the wave */
#ab-hero .ab-hero-in {
    position: static;
}

#ab-hero .ab-crumb {
    position: absolute;
    z-index: 3;
    left: max(var(--pad), calc((100vw - 1240px) / 2));
    bottom: calc(clamp(80px, 11vw, 168px) * .62 + 18px);
    max-width: calc(100% - 2 * var(--pad));
}

/* wave: left and right positions swapped */
#ab-hero .ab-hero-wave {
    transform: scaleX(-1);
}

@media (max-width: 760px) {
    #ab-hero {
        padding-left: var(--pad);
    }

    #ab-hero .ab-hero-in {
        max-width: 100%;
    }

    #ab-hero .ab-crumb {
        flex-wrap: wrap;
    }

    #ab-hero .ab-crumb {
        left: var(--pad);
        bottom: 96px;
    }

    /* no room for two columns: the photo sits behind the text, dimmed */
    #ab-hero .ab-hero-bg {
        left: 0;
        opacity: .45;
        -webkit-mask-image: none;
        mask-image: none;
    }

    #ab-hero::before {
        left: 0;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* no wave: the banner ends in a clean edge, breadcrumb sits at the bottom */
#ab-hero .ab-hero-wave,
#ab-hero .ab-hero-floor {
    display: none;
}

#ab-hero {
    height: min(460px, 60svh);
    padding-top: 110px;
    padding-bottom: 90px;
    border-radius: 0px 0px 30px 0px;
    /* margin: 10px; */
}

#ab-hero .ab-crumb {
    bottom: 30px;
}

@media (max-width: 760px) {
    #ab-hero {
        padding-top: 104px;
        padding-bottom: 96px;
    }

    #ab-hero .ab-crumb {
        bottom: 26px;
    }
}

#ab-hero .ab-crumb {
    left: 0;
    bottom: 0;
    max-width: none;
    gap: 4px;
    padding: 16px 30px 14px max(var(--pad), calc((100vw - 1400px) / 2));
    border: 0;
    border-radius: 0 30px 0 0;
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    color: #000;
}

#ab-hero .ab-crumb::before {
    content: "";
    position: absolute;
    left: 0%;
    top: -30px;
    width: 30px;
    height: 30px;
    pointer-events: none;
    background: radial-gradient(circle at 100% 0, transparent 29.5px, #fff 30px);
}

#ab-hero .ab-crumb::after {
    content: "";
    position: absolute;
    left: 100%;
    bottom: 0;
    width: 30px;
    height: 30px;
    pointer-events: none;
    background: radial-gradient(circle at 100% 0, transparent 29.5px, #fff 30px);
}

#ab-hero .ab-crumb a {
    color: #000;
}

#ab-hero .ab-crumb a:hover {
    background: rgba(43, 80, 136, .1);
    color: #2b5088;
}

#ab-hero .ab-crumb .ab-crumb-sep {
    color: #000;
    opacity: .45;
}

#ab-hero .ab-crumb [aria-current] {
    background: #2b5088;
    color: #fff;
}

@media (max-width: 760px) {
    #ab-hero .ab-crumb {
        left: 0;
        bottom: 0;
        padding: 14px 22px 12px var(--pad);
    }
}

/* --- banner heading + entrance animation (plays after the loader clears) ---
   Timeline (the loader panes start clearing at ~1.55s):
   1.80s photo wipes in from the right  ->  1.90s title words rise (script.js)
   2.60s accent bar draws under the title  ->  2.40s breadcrumb tab slides up,
   its items follow one by one. */
#ab-hero h1 {
    position: relative;
    font-size: clamp(40px, 5.2vw, 76px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.035em;
    padding: 0 0 20px;
}

#ab-hero h1::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: 0;
    width: 76px;
    height: 2px;
    border-radius: 4px;
    background: linear-gradient(90deg, #2f528a, #fff);
    transform-origin: left center;
}

html.js #ab-hero h1::after {
    transform: scaleX(0);
    animation: ab-bar-in .9s cubic-bezier(.2, .85, .25, 1) 2.6s both;
}

@keyframes ab-bar-in {
    to {
        transform: scaleX(1);
    }
}

html.js #ab-hero .ab-hero-bg,
html.js #ab-hero::before {
    animation: ab-photo-in 1.7s cubic-bezier(.2, .8, .2, 1) 1.8s both;
}

@keyframes ab-photo-in {
    from {
        clip-path: inset(0 0 0 100%);
        transform: translateX(5%) scale(1.08);
    }

    to {
        clip-path: inset(0 0 0 0);
        transform: none;
    }
}

html.js #ab-hero .ab-crumb {
    opacity: 1;
    transform: translateY(101%);
    animation: ab-notch-up .9s cubic-bezier(.2, .85, .25, 1) 2.4s both;
}

@keyframes ab-notch-up {
    to {
        transform: translateY(0);
    }
}

html.js #ab-hero .ab-crumb>* {
    opacity: 0;
    transform: translateY(8px);
    animation: ab-rise .6s var(--ease) both;
}

html.js #ab-hero .ab-crumb> :nth-child(1) {
    animation-delay: 3.05s;
}

html.js #ab-hero .ab-crumb> :nth-child(2) {
    animation-delay: 3.13s;
}

html.js #ab-hero .ab-crumb> :nth-child(3) {
    animation-delay: 3.21s;
}

html.js #ab-hero .ab-crumb> :nth-child(4) {
    animation-delay: 3.29s;
}

html.js #ab-hero .ab-crumb> :nth-child(5) {
    animation-delay: 3.37s;
}

@media (prefers-reduced-motion: reduce) {

    html.js #ab-hero h1::after,
    html.js #ab-hero .ab-hero-bg,
    html.js #ab-hero::before,
    html.js #ab-hero .ab-crumb,
    html.js #ab-hero .ab-crumb>* {
        animation: none !important;
        opacity: 1;
        transform: none;
        clip-path: none;
    }
}

/* breadcrumb tab: round the top-left corner too, so both top corners curve */
#ab-hero .ab-crumb {
    border-radius: 0 30px 0 0;
}

#cr-body {
    background: #fff;
    color: #141a22;
    overflow: hidden;
    padding: 0;
}

.cr-wrap {
    max-width: 1600px;
    margin: 0 auto;
}

.cr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #2b5088
}

.cr-eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor
}

.cr-h2 {
    margin: 18px 0 0;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.06;
    font-size: clamp(32px, 4vw, 56px);
    color: #141a22;
    text-transform: capitalize;
}

.cr-h2 span.hl {
    color: #2b5088
}

.cr-lead {
    max-width: 62ch;
    margin: 22px 0 0;
    color: #000;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500
}

.cr-w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .12em;
    margin-bottom: -.12em
}

.cr-w>span {
    display: inline-block;
    will-change: transform
}

/* 1. CARE: text + overlapping photo collage */
#cr-care {
    padding: clamp(56px, 8vw, 112px) var(--pad)
}

#cr-care .cr-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}

.cr-collage {
    position: relative;
    padding-bottom: 18%
}

.cr-collage figure {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 36px 60px -34px rgba(20, 32, 60, .55)
}

.cr-collage img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.cr-collage .a {
    width: 82%;
    margin-left: 18%;
    aspect-ratio: 4/3
}

.cr-collage .b {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52%;
    aspect-ratio: 1/1;
    border: 8px solid #fff
}

.cr-ring {
    position: absolute;
    right: -6%;
    top: -8%;
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px dashed rgba(43, 80, 136, .4);
    pointer-events: none;
    z-index: 0
}

.cr-collage .a {
    position: relative;
    z-index: 1
}

/* 2. CULTURE: dark band with tabs + sliding gallery */
#cr-culture {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 112px) 0;
    color: #fff;
    background: radial-gradient(900px 420px at 90% -10%, rgba(255, 255, 255, .14), transparent 62%), radial-gradient(700px 380px at -5% 110%, rgba(255, 255, 255, .09), transparent 62%), #2b5088
}

#cr-culture::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.2px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    pointer-events: none
}

#cr-culture>* {
    position: relative
}

#cr-culture .cr-in {
    padding: 0 0;
    width: 100%;
}

#cr-culture .cr-eyebrow {
    color: #cfe0ff
}

#cr-culture .cr-h2 {
    color: #fff
}

.cr-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: clamp(24px, 3vw, 36px)
}

.cr-tab {
    padding: 13px 24px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 99px;
    background: transparent;
    color: #fff;
    font: 600 14px "Red Hat Display", sans-serif;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s
}

.cr-tab:hover {
    border-color: #fff
}

.cr-tab[aria-selected=true] {
    background: #fff;
    color: #2b5088;
    border-color: #fff
}

.cr-tab:focus-visible,
.cr-nav button:focus-visible,
.cr-btn:focus-visible {
    outline: 3px solid #cfe0ff;
    outline-offset: 2px
}

.cr-panel[hidden] {
    display: none
}

.cr-rail {
    --edge: calc(max(0px, (93% - 1600px) / 2) + var(--pad));
    display: flex;
    gap: 20px;
    margin-top: clamp(28px, 3.5vw, 44px);
    padding: 8px var(--edge) 22px;
    scroll-padding-left: var(--edge);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    counter-reset: ph;
}

.cr-rail.drag {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto
}

.cr-rail.drag img {
    pointer-events: none
}

.cr-rail::-webkit-scrollbar {
    display: none
}

.cr-rail figure {
    position: relative;
    flex: 0 0 clamp(250px, 27vw, 390px);
    margin: 0;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 20px;
    background: #1f3c66;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .65);
    counter-increment: ph;
    transition: transform .45s cubic-bezier(.2, .9, .2, 1), box-shadow .45s
}

.cr-rail figure:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 60px -28px rgba(0, 0, 0, .75)
}

.cr-rail figure::after {
    content: counter(ph, decimal-leading-zero);
    position: absolute;
    left: 16px;
    top: 14px;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(11, 29, 63, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font: 600 12px "Red Hat Display", sans-serif;
    letter-spacing: .12em;
    color: #fff
}

.cr-rail figure::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 60%, rgba(8, 16, 30, .45));
    pointer-events: none
}

.cr-rail img {
    display: block;
    width: 100%;
    height: clamp(300px, 32vw, 430px);
    object-fit: cover;
    transition: transform .8s ease;
    -webkit-user-drag: none;
    user-select: none
}

.cr-rail figure:hover img {
    transform: scale(1.07)
}

.cr-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
    margin-top: 10px
}

.cr-count {
    min-width: 92px;
    font: 500 14px "Red Hat Display", sans-serif;
    letter-spacing: .14em;
    color: #cfe0ff
}

.cr-count b {
    font-size: 22px;
    color: #fff;
    font-weight: 600
}

.cr-prog {
    position: relative;
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .22);
    overflow: hidden
}

.cr-prog i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    transform-origin: left;
    transform: scaleX(.2)
}

.cr-nav .cr-btns {
    display: flex;
    gap: 10px
}

.cr-nav button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .25s, color .25s
}

.cr-nav button:hover:not(:disabled) {
    background: #fff;
    color: #2b5088
}

.cr-nav button:disabled {
    opacity: .35;
    cursor: default
}

.cr-nav svg {
    width: 18px;
    height: 18px
}

/* 3. OPEN POSITIONS + APPLY */
#cr-open {
    padding: clamp(56px, 8vw, 112px) var(--pad);
    background: #f1f1f1
}

#cr-open .cr-head {
    max-width: 760px;
    margin: 0 auto;
    text-align: center
}

#cr-open .cr-eyebrow {
    justify-content: center
}

#cr-open .cr-lead {
    margin-left: auto;
    margin-right: auto
}

.cr-jobs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: clamp(32px, 5vw, 56px)
}

.cr-job {
    position: relative;
    padding: 34px 28px 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e0e4ea;
    box-shadow: 0 14px 30px -22px rgba(20, 32, 60, .4);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s
}

.cr-job:hover {
    transform: translateY(-6px);
    border-color: #2b5088;
    box-shadow: 0 26px 44px -26px rgba(43, 80, 136, .5)
}

.cr-job::before {
    content: attr(data-n);
    position: absolute;
    right: 20px;
    top: 8px;
    font: 700 64px/1 "Red Hat Display", sans-serif;
    color: #e8ecf3
}

.cr-job h3 {
    position: relative;
    margin: 0 0 14px;
    font: 600 21px/1.2 "Red Hat Display", sans-serif;
    color: #2b5088
}

.cr-job ul {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none
}

.cr-job li {
    position: relative;
    padding: 0 0 10px 20px;
    color: #3b4654;
    line-height: 1.5
}

.cr-job li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2b5088
}

.cr-apply {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    margin-top: clamp(28px, 4vw, 48px);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 40px 70px -44px rgba(20, 32, 60, .55)
}

.cr-apply-l {
    padding: clamp(28px, 4vw, 52px);
    background: #2b5088;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px
}

.cr-apply-l h3 {
    margin: 0;
    font: 500 clamp(28px, 3vw, 40px)/1.1 "Red Hat Display", sans-serif;
    letter-spacing: -.02em
}

.cr-apply-l p {
    margin: 14px 0 0;
    color: #dbe6fb;
    line-height: 1.55
}

.cr-apply-l ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    font-size: 14.5px;
    color: #fff
}

.cr-apply-l li {
    padding-left: 26px;
    position: relative
}

.cr-apply-l li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: 14px;
    height: 8px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg)
}

.cr-form {
    padding: clamp(24px, 4vw, 52px)
}

.cr-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px
}

.cr-f {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px
}

.cr-f.full {
    grid-column: 1/-1
}

.cr-f label {
    font-size: 13px;
    font-weight: 600;
    color: #141a22
}

.cr-f input,
.cr-f textarea {
    width: 100%;
    padding: 14px 4px;
    border: 0;
    border-bottom: 1.5px solid #cfd6e0;
    border-radius: 0;
    font: inherit;
    font-size: 15px;
    color: #141a22;
    background: transparent;
    transition: border-color .2s
}

.cr-f input:focus,
.cr-f textarea:focus {
    outline: 0;
    border-color: #2b5088
}

.cr-f .bad {
    border-color: #c0392b
}

.cr-f small {
    color: #5f6b7a;
    font-size: 12.5px
}

.cr-f input[type=file] {
    padding: 12px 0
}

.cr-f input[type=file]::file-selector-button {
    margin-right: 12px;
    padding: 9px 18px;
    border: 0;
    border-radius: 99px;
    background: #2b5088;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer
}

.cr-btn {
    display: inline-block;
    padding: 15px 38px;
    border: 0;
    border-radius: 99px;
    background: #2b5088;
    color: #fff;
    font: 600 15px "Red Hat Display", sans-serif;
    letter-spacing: .08em;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s
}

.cr-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -14px rgba(43, 80, 136, .7)
}

.cr-btn[disabled] {
    opacity: .6;
    cursor: wait
}

.cr-status {
    margin: 14px 0 0;
    font-size: 14.5px;
    min-height: 1.4em;
    color: #2b5088
}

.cr-status.err {
    color: #c0392b
}

@media (max-width:900px) {

    #cr-care .cr-wrap,
    .cr-apply {
        grid-template-columns: 1fr
    }

    .cr-jobs {
        grid-template-columns: 1fr
    }
}

@media (max-width:560px) {
    .cr-row {
        grid-template-columns: 1fr
    }

    .cr-nav button {
        width: 42px;
        height: 42px
    }
}

/* =========================================================
   ENHANCEMENTS (visual layer only; content + JS hooks unchanged)
   ========================================================= */
.cr-eyebrow {
    padding: 8px 16px 8px 14px;
    border-radius: 99px;
    background: rgba(43, 80, 136, .08);
    border: 1px solid rgba(43, 80, 136, .16);
}

.cr-eyebrow::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(43, 80, 136, .16);
}

#cr-culture .cr-eyebrow {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .28);
}

#cr-culture .cr-eyebrow::before {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .2);
}

#cr-care .cr-h2 span.hl,
#cr-open .cr-h2 span.hl {
    background: linear-gradient(100deg, #2b5088, #3b7bff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 1. care */
#cr-care {
    position: relative;
    background: radial-gradient(720px 420px at 100% 0%, rgba(59, 123, 255, .09), transparent 70%),
        radial-gradient(560px 360px at 0% 100%, rgba(43, 80, 136, .07), transparent 70%), #fff;
}

#cr-care .cr-lead {
    padding-left: 22px;
    border-left: 3px solid #2b5088;
    font-size: 17px;
    line-height: 1.65;
    color: #1d2733;
}

.cr-collage::before {
    content: "";
    position: absolute;
    right: -4%;
    bottom: 4%;
    width: 56%;
    height: 64%;
    border-radius: 26px;
    background-image: radial-gradient(rgba(43, 80, 136, .35) 1.4px, transparent 1.6px);
    background-size: 18px 18px;
    z-index: 0;
}

.cr-collage figure {
    border-radius: 26px;
}

.cr-collage .a {
    box-shadow: 0 44px 70px -36px rgba(20, 32, 60, .65);
}

.cr-collage .b {
    border-width: 10px;
    z-index: 2;
}

.cr-badge {
    position: absolute;
    right: 6%;
    bottom: 20%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    color: #fff;
    background: #2b5088;
    box-shadow: 0 20px 36px -14px rgba(43, 80, 136, .8), 0 0 0 8px #fff;
}

.cr-badge svg {
    width: 32px;
    height: 32px;
}

.cr-badge::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(59, 123, 255, .5);
    animation: cr-pulse 2.6s ease-out infinite;
}

@keyframes cr-pulse {
    0% {
        transform: scale(1);
        opacity: .8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* 2. culture */
.cr-tabs {
    display: inline-flex;
    max-width: 100%;
    padding: 6px;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 99px;
    background: rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cr-tab {
    border: 0;
    padding: 12px 24px;
}

.cr-tab:hover:not([aria-selected=true]) {
    background: rgba(255, 255, 255, .14);
}

.cr-tab[aria-selected=true] {
    box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .5);
}

.cr-rail figure {
    border-radius: 28px;
    border-color: rgba(255, 255, 255, .22);
}

.cr-rail figure::before {
    background: linear-gradient(180deg, rgba(8, 16, 30, .25), transparent 30%, transparent 62%, rgba(8, 16, 30, .55));
}

.cr-prog {
    height: 3px;
}

/* 3. open positions */
#cr-open {
    background: radial-gradient(rgba(43, 80, 136, .13) 1.2px, transparent 1.4px) 0 0 / 26px 26px, #f4f6fa;
}

.cr-jobs {
    gap: 24px;
}

.cr-job {
    display: flex;
    flex-direction: column;
    padding: 34px 30px 28px;
    border-radius: 24px;
    border: 1px solid #e3e8f0;
}

.cr-job::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, #2b5088, #3b7bff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s cubic-bezier(.2, .9, .2, 1);
}

.cr-job:hover::after {
    transform: scaleX(1);
}

.cr-job-i {
    position: relative;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 18px;
    color: #fff;
    background: #2b5088;
    box-shadow: 0 16px 26px -14px rgba(43, 80, 136, .8);
    transition: transform .45s cubic-bezier(.2, .9, .2, 1);
}

.cr-job:hover .cr-job-i {
    transform: rotate(-6deg) scale(1.06);
}

.cr-job-i svg {
    width: 26px;
    height: 26px;
}

.cr-job h3 {
    font-size: 22px;
    color: #141a22;
}

.cr-job ul {
    flex: 1;
}

.cr-job li {
    padding-bottom: 12px;
}

.cr-job-a {
    position: relative;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 18px;
    border-radius: 99px;
    border: 1px solid rgba(43, 80, 136, .3);
    color: #2b5088;
    font: 600 14px "Red Hat Display", sans-serif;
    text-decoration: none;
    transition: background .25s, color .25s, border-color .25s, gap .25s;
}

.cr-job-a svg {
    width: 15px;
    height: 15px;
}

.cr-job-a:hover,
.cr-job-a:focus-visible {
    gap: 12px;
    background: #2b5088;
    border-color: #2b5088;
    color: #fff;
}

.cr-job-a:focus-visible {
    outline: 3px solid #cfe0ff;
    outline-offset: 2px;
}

/* apply panel */
.cr-apply {
    scroll-margin-top: 100px;
    border: 1px solid #e3e8f0;
    border-radius: 30px;
}

.cr-apply-l {
    position: relative;
    overflow: hidden;
    background: radial-gradient(500px 300px at 100% 0%, rgba(59, 123, 255, .5), transparent 70%), linear-gradient(160deg, #2b5088, #17305a);
}

.cr-apply-l::before,
.cr-apply-l::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    pointer-events: none;
}

.cr-apply-l::before {
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: -120px;
    box-shadow: 0 0 0 44px rgba(255, 255, 255, .04), 0 0 0 88px rgba(255, 255, 255, .03);
}

.cr-apply-l::after {
    width: 120px;
    height: 120px;
    left: -50px;
    top: -50px;
}

.cr-apply-l>* {
    position: relative;
    z-index: 1;
}

.cr-apply-l li {
    padding-left: 34px;
}

.cr-apply-l li::before {
    top: -.05em;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    transform: none;
    background: rgba(255, 255, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-6.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.cr-f label {
    font-size: 12.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #44505f;
}

.cr-f input,
.cr-f textarea {
    padding: 14px 16px;
    border: 1.5px solid transparent;
    border-radius: 14px;
    background: #f1f4f9;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.cr-f input:hover,
.cr-f textarea:hover {
    background: #eaeff7;
}

.cr-f input:focus,
.cr-f textarea:focus {
    background: #fff;
    border-color: #2b5088;
    box-shadow: 0 0 0 4px rgba(43, 80, 136, .14);
}

.cr-f .bad {
    border-color: #c0392b;
    background: #fdf3f2;
}

.cr-f input[type=file] {
    padding: 12px 14px;
    border: 1.5px dashed #b7c3d6;
    background: #f8fafd;
}

.cr-f textarea {
    resize: vertical;
}

.cr-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background: #2b5088;
}

.cr-btn::after {
    content: "\2192";
    margin-left: 12px;
    font-size: 18px;
    line-height: 1;
    transition: transform .25s;
}

.cr-btn:hover::after {
    transform: translateX(5px);
}

@media (max-width: 900px) {
    #cr-care .cr-lead {
        font-size: 16px;
    }

    .cr-badge {
        width: 62px;
        height: 62px;
    }

    .cr-badge svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 640px) {
    .cr-tabs {
        display: flex;
        border-radius: 26px;
    }

    .cr-tab {
        flex: 1 1 auto;
        padding: 11px 16px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cr-badge::after {
        animation: none;
    }
}

/* apply panel image */
.cr-apply-img {
    margin: 0;
    flex: 1 1 auto;
    min-height: 200px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 255, 255, .07);
}
.cr-apply-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 48, 90, 0) 55%, rgba(23, 48, 90, .55));
    pointer-events: none;
}
.cr-apply-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.cr-apply:hover .cr-apply-img img {
    transform: scale(1.05);
}
@media (max-width: 860px) {
    .cr-apply-img {
        flex: none;
        height: 220px;
        min-height: 0;
    }
}
