/* Cora Services — About Page  */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap");

.ab {
    --accent:      #2F80ED;   /* blue: highlights, labels, numbers, buttons */
    --accent-deep: #2F80ED;
    --navy:        #0B1F4F;   /* dark section backgrounds only */
    --blue-soft:   #EAF2FE;
    --ink:         #0f172a;   /* crisp slate headings */
    --text:        #1e293b;   /* high-contrast body text */
    --muted:       #475569;   /* captions and small labels */
    --line:        #DCE6F5;
    --line-strong: #B9CBE6;
    --tint:        rgba(243, 247, 253, 0.82);
    --white:       #ffffff;
    --radius:      8px;
    --display:     "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ease:        cubic-bezier(.16, 1, .3, 1);
}

/*  Base  */
.ab {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: transparent;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.ab *, .ab *::before, .ab *::after { box-sizing: border-box; }
.ab img { display: block; max-width: 100%; height: auto; }
:where(.ab) a { color: inherit; text-decoration: none; }
:where(.ab) h1, :where(.ab) h2, :where(.ab) h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--display);
    letter-spacing: -0.03em;
    line-height: 1.15;
}
:where(.ab) p { margin: 0; color: var(--text); font-size: 16px; line-height: 1.75; }
:where(.ab) ol, :where(.ab) ul { margin: 0; padding: 0; list-style: none; }

.ab-wrap { width: min(1160px, 90%); margin-inline: auto; }
.ab-section { padding: clamp(56px, 6vw, 88px) 0; }
.ab-section--tint { background: var(--tint); }
.ab-center { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.ab-center__lead { margin-top: 18px; }

/* Type */
.ab-h2 {
    font-size: clamp(36px, 4.4vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    color: var(--ink);
    margin-bottom: 20px;
}
/* Blue highlight for a line or phrase inside a heading */
.ab-hl { color: var(--accent); }

/* Short blue bar that draws in under centred headings as they reveal */
.ab-center .ab-h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 18px auto 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
}
.ab-center .ab-h2.is-in::after {
    animation: barDraw .9s var(--ease) .45s both;
}

/* Heading above the reach row: more space above and below so it doesn't crowd the map */
.ab-subhead {
    font-family: var(--display);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--ink);
    text-align: center;
    margin: 56px 0 28px;
}
.ab-subhead--left { text-align: left; margin: 0 0 20px; }

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 26px;
    border-radius: var(--radius);
    font-family: var(--display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .01em;
    border: 1px solid transparent;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform .4s var(--ease), background-color .4s var(--ease),
                color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover {
    background: var(--accent);
    box-shadow: 0 14px 28px -16px rgba(47, 128, 237, .8);
}
/* Light sheen that sweeps across primary buttons on hover */
.btn--primary::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
.btn--primary:hover::after {
    animation: btnSheen .9s var(--ease);
}

.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--navy);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .6s var(--ease);
}
.btn--ghost:hover { color: #fff; border-color: var(--navy); }
.btn--ghost:hover::before { transform: scaleX(1); }

.btn:focus-visible, .ab :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/*Hero (dark background, light text) */
.ab-hero {
    position: relative;
    padding: 170px 0 120px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(60% 80% at 80% 0%, rgba(47, 128, 237, .4), transparent 60%),
        linear-gradient(180deg, rgba(11, 31, 79, .55) 0%, rgba(11, 31, 79, .92) 100%),
        var(--hero-img, none) center / cover no-repeat,
        var(--navy);
}
/* Two soft glow orbs that drift slowly behind the text */
.ab-hero::before,
.ab-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 128, 237, .35), transparent 65%);
    pointer-events: none;
}
.ab-hero::before {
    top: -120px;
    left: -100px;
    animation: orbDrift 16s ease-in-out infinite alternate;
}
.ab-hero::after {
    bottom: -140px;
    right: -80px;
    width: 420px;
    height: 420px;
    animation: orbDrift 20s ease-in-out infinite alternate-reverse;
}
.ab-hero__inner { position: relative; z-index: 1; max-width: 840px; }
.ab-hero__title {
    font-size: clamp(44px, 6.2vw, 74px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 28px;
}
/* Blue highlight with a slow shimmer */
.ab-hero__title .ab-hl {
    background: linear-gradient(90deg, #2F80ED 0%, #9cc9f8 50%, #2F80ED 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textShine 4.5s linear infinite;
}
.ab-hero__lead {
    max-width: 620px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.7;
    color: #cfe2fd;
}
.ab-hero__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ab-hero .btn--primary { background: #fff; color: var(--accent); }
.ab-hero .btn--primary:hover { background: var(--blue-soft); box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .5); }
.ab-hero .btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.ab-hero .btn--ghost::before { background: #fff; }
.ab-hero .btn--ghost:hover { color: var(--navy); border-color: #fff; }

/* Two-column intro */
.ab-two {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(32px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(220, 230, 245, 0.9);
    border-radius: 14px;
    box-shadow: 0 16px 40px -20px rgba(11, 31, 79, 0.08);
}
.ab-two p:first-child {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.ab-two p:last-child {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

/*  Showcase   */
/* Extra space below the photo so it doesn't touch the stats band */
.ab-showcase {
    margin: 0 0 clamp(48px, 5vw, 72px);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--line);
}
.ab-showcase img {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}
.rv--clip.is-in .ab-showcase img,
.ab-showcase.is-in img { animation: imgSettle 2s var(--ease) both; }

/*  Stats band (navy background, white numbers)  */
.ab-stats {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    padding: clamp(56px, 6vw, 80px) 0;
}
/* Soft light streak that moves slowly across the band */
.ab-stats::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 30%;
    z-index: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .07), transparent);
    animation: streak 7s linear infinite;
    pointer-events: none;
}
.ab-stats .ab-wrap { position: relative; z-index: 1; }
.ab-stats .ab-center { margin-bottom: 48px; }
.ab-stats .ab-h2 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); margin-bottom: 0; }
.ab-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}
.ab-stat {
    padding: 8px 16px;
    border-left: 1px solid rgba(255, 255, 255, .15);
}
.ab-stat:first-child { border-left: 0; }
.ab-stat strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(34px, 3.4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    color: #fff;
    margin-bottom: 10px;
    animation: numBob 4.5s ease-in-out infinite;
}
.ab-stat:nth-child(2) strong { animation-delay: .6s; }
.ab-stat:nth-child(3) strong { animation-delay: 1.2s; }
.ab-stat span {
    display: block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .02em;
    color: #9cc3f5;
}

/* Principles / split   */
.ab-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 7vw, 104px);
    align-items: center;
}
.ab-collage {
    position: relative;
    height: clamp(420px, 42vw, 540px);
}
.ab-collage figure {
    margin: 0;
    position: absolute;
    overflow: hidden;
    border-radius: 12px;
    background: var(--line);
    box-shadow: 0 20px 40px -20px rgba(11, 31, 79, 0.22);
}
.ab-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.ab-collage figure:hover img { transform: scale(1.03); }
/* Gentle floating motion on both collage photos */
.ab-collage__a img { animation: floatY 8s ease-in-out infinite; }
.ab-collage__b img { animation: floatY 9.5s ease-in-out -2s infinite; }
.ab-collage__a { left: 0; top: 0; width: 66%; height: 78%; }
.ab-collage__b {
    right: 0;
    bottom: 0;
    width: 50%;
    height: 56%;
    border: 6px solid var(--white);
    box-shadow: 0 24px 48px -20px rgba(11, 31, 79, 0.3);
}
.ab-split__content > p { margin: 18px 0 40px; }

.ab-principles { border-top: 1px solid var(--line); }
.ab-principles li {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left .5s var(--ease);
}
.ab-principles li:hover { padding-left: 8px; }
.ab-principles__no {
    flex-shrink: 0;
    width: 36px;
    padding-top: 4px;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    display: inline-block;
    transition: transform .5s var(--ease);
}
.ab-principles li:hover .ab-principles__no {
    transform: rotate(-8deg) scale(1.15);
}
.ab-principles h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}
.ab-principles p { font-size: 15px; color: var(--text); }

/* Who we are: editorial heading  */
.ab-who {
    position: relative;
    overflow: hidden;
    text-align: left;
    max-width: 760px;
    margin: 0 0 56px;
}
.ab-who__title {
    font-family: var(--display);
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--ink);
    margin-bottom: 12px;
}
.ab-who__tag {
    font-family: var(--display);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent);
    margin-bottom: 28px;
}
.ab-who__text {
    max-width: 520px;
    font-size: 17px;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 18px;
}

/* Who we are: 3D map of Guinea */
/* More space below the map so the reach heading doesn't crowd it */
.ab-map3d { margin: 0 0 16px; }
.ab-map3d__stage {
    position: relative;
    perspective: 1600px;
    padding: 16px 0 48px;
}
/* Soft floor glow beneath the tilted plane */
.ab-map3d__stage::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 8px;
    height: 44px;
    background: radial-gradient(closest-side, rgba(47, 128, 237, .3), transparent);
    filter: blur(10px);
    pointer-events: none;
}
.ab-map3d__plane {
    /* Map size: lower --map-max for a shorter map (height = width x 0.75) */
    --map-max: 760px;
    position: relative;
    width: 100%;
    max-width: var(--map-max);
    margin-inline: auto;
    aspect-ratio: 4 / 3;
    transform-style: preserve-3d;
    transform: rotateX(var(--rx, 22deg)) rotateY(var(--ry, 0deg));
    transition: transform .9s var(--ease);
    will-change: transform;
}
.ab-map3d__map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow:
        0 40px 60px -30px rgba(11, 31, 79, .35),
        0 12px 24px -12px rgba(11, 31, 79, .15);
}

/* Light sheen that sweeps across the map */
.ab-map3d__sheen {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .5) 50%, transparent 58%);
    background-size: 250% 100%;
    animation: mapSheen 7s ease-in-out infinite;
    transform: translateZ(1px);
}
@keyframes mapSheen {
    0%, 100% { background-position: 150% 0; }
    50%      { background-position: -50% 0; }
}

/* Flight arcs floating above the map */
.ab-map3d__arcs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    transform: translateZ(12px);
}
.ab-arc { fill: none; stroke-linecap: round; }
.ab-arc--base {
    stroke: rgba(47, 128, 237, .32);
    stroke-width: 3;
    stroke-dasharray: 4 6;
    animation: arcDash 6s linear infinite;
}
.ab-arc--flow {
    stroke: var(--accent);
    stroke-width: 5;
    stroke-dasharray: 9 100;
    stroke-dashoffset: 109;
    filter: drop-shadow(0 0 4px rgba(47, 128, 237, .8));
    animation: arcFlow 3.8s linear infinite;
    animation-delay: var(--delay, 0s);
}
@keyframes arcFlow {
    to { stroke-dashoffset: -100; }
}
@keyframes arcDash {
    to { stroke-dashoffset: -40; }
}

/* Pins: positioned on the plane, lifted in 3D, with a shadow on the map */
.ab-pin {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 0;
    height: 0;
    transform-style: preserve-3d;
}
.ab-pin__shadow {
    position: absolute;
    left: -10px;
    top: -4px;
    width: 20px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .4), transparent);
    animation: mapFade .8s ease var(--delay, 0s) both;
}
.ab-pin__lift {
    position: absolute;
    left: -7px;
    top: -7px;
    width: 14px;
    height: 14px;
    transform-style: preserve-3d;
    animation: mapPinIn .9s var(--ease) var(--delay, 0s) both;
}
.ab-pin__dot {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #9cc9f8, var(--accent) 70%);
    border: 2px solid #fff;
    box-shadow: 0 6px 14px -2px rgba(47, 128, 237, .6);
}
.ab-pin__ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid rgba(47, 128, 237, .8);
    opacity: 0;
    animation: mapRing 2.8s ease-out infinite;
    animation-delay: calc(var(--delay, 0s) + 1s);
}

/* City labels next to each pin */
.ab-pin__label {
    position: absolute;
    left: 12px;
    top: -11px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 10px -4px rgba(11, 31, 79, .35);
    font-family: var(--display);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    pointer-events: none;
    transform: translateZ(24px);
}
/* Head office (Conakry) is highlighted */
.ab-pin--hq .ab-pin__label {
    color: #fff;
    background: var(--accent);
    font-weight: 700;
}
.ab-pin--hq .ab-pin__dot {
    width: 100%;
    height: 100%;
}

@keyframes mapPinIn {
    from { opacity: 0; transform: translateZ(-30px) scale(.5); }
    to   { opacity: 1; transform: translateZ(20px) scale(1); }
}
@keyframes mapFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes mapRing {
    0%   { transform: scale(.5); opacity: .9; }
    100% { transform: scale(2.8); opacity: 0; }
}

/* Plane rises into place when the section scrolls in */
.ab-map3d.is-in .ab-map3d__plane {
    animation: mapPlaneIn 1.6s var(--ease) both;
}
@keyframes mapPlaneIn {
    from { opacity: 0; transform: rotateX(70deg) translateY(60px); }
    to   { opacity: 1; transform: rotateX(var(--rx, 22deg)) rotateY(var(--ry, 0deg)); }
}

/* Reach row under the map: more space above and inside each cell */
.ab-mini-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line-strong);
    margin-top: 8px;
}
.ab-mini {
    padding: 32px 12px 20px;
    text-align: center;
}
.ab-mini + .ab-mini { border-left: 1px solid var(--line); }
.ab-mini strong {
    display: block;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
    margin-bottom: 10px;
}
.ab-mini span {
    display: block;
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
}

/*  Safety */
.ab-health {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 7vw, 104px);
    align-items: center;
    padding: 0;
    border: 0;
}
.ab-health__text > p { margin: 18px 0 28px; }
.ab-checks {
    display: grid;
    margin-bottom: 40px;
    border-top: 1px solid var(--line);
}
.ab-checks li {
    position: relative;
    padding: 16px 0 16px 34px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}
.ab-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: tickPulse 2.6s ease-in-out infinite;
}
.ab-checks li:nth-child(2)::before { animation-delay: .4s; }
.ab-checks li:nth-child(3)::before { animation-delay: .8s; }
.ab-health__media {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--line);
}
/* Image moves slightly as you scroll past it (scroll-linked where supported) */
.ab-health__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
}
@supports (animation-timeline: view()) {
    .ab-health__media img {
        animation: scrollParallax linear both;
        animation-timeline: view();
        animation-range: entry 0% exit 100%;
    }
}

/*  CTA: solid blue box, white text, slowly shifting  */
.ab-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    max-width: 760px;
    padding: clamp(40px, 4.5vw, 56px) clamp(20px, 4vw, 48px);
    border-radius: 8px;
    background: linear-gradient(120deg, #2F80ED 0%, #2473d8 40%, #2F80ED 60%, #3b8cf0 100%);
    background-size: 220% 220%;
    animation: ctaShift 12s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
/* Soft circle that drifts inside the box */
.ab-cta::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    pointer-events: none;
    animation: orbDrift 14s ease-in-out infinite alternate;
}
.ab-cta > * { position: relative; z-index: 1; }
.ab-cta .ab-h2 {
    color: #fff;
    font-size: clamp(26px, 2.8vw, 34px);
    margin-bottom: 2px;
}
.ab-cta .ab-h2::after { background: #fff; }
.ab-cta p {
    font-size: 15px;
    color: #fff;
    max-width: 480px;
    margin-bottom: 6px;
}
.ab-cta .btn--primary { background: #fff; color: var(--accent); }
.ab-cta .btn--primary:hover { background: var(--blue-soft); box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .3); }
.ab-cta .btn { height: 42px; padding: 0 22px; font-size: 14px; }

/*  Scroll reveal   */
.js .rv { opacity: 0; }
.js .rv.is-in { animation: rvUp 1s var(--ease) var(--d, 0s) both; }
.js .rv--clip { opacity: 1; clip-path: inset(0 0 100% 0); }
.js .rv--clip.is-in { animation: rvClip 1.3s var(--ease) var(--d, 0s) both; }
.js .rv--clip.is-done { clip-path: none; }
.js .rv.is-done { opacity: 1; animation: none; }

/* Hero title: slightly longer, softer entrance */
.js .ab-hero__title.rv.is-in { animation: heroIn 1.2s var(--ease) var(--d, 0s) both; }

/* Collage: second image follows the first */
.js .ab-collage.is-in .ab-collage__b {
    animation: rvUp 1.1s var(--ease) .3s both;
}

/*  Keyframes  */
@keyframes rvUp {
    from { opacity: 0; transform: translate3d(0, 28px, 0); }
    to   { opacity: 1; transform: none; }
}
@keyframes rvClip {
    from { clip-path: inset(0 0 100% 0); }
    to   { clip-path: inset(0 0 0 0); }
}
@keyframes heroIn {
    from { opacity: 0; transform: translate3d(0, 24px, 0); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes imgSettle {
    from { transform: scale(1.12); }
    to   { transform: scale(1); }
}
@keyframes barDraw {
    to { transform: scaleX(1); }
}
@keyframes btnSheen {
    to { left: 130%; }
}
@keyframes textShine {
    to { background-position: 200% center; }
}
@keyframes orbDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(60px, 40px, 0) scale(1.1); }
}
@keyframes streak {
    from { left: -40%; }
    to   { left: 110%; }
}
@keyframes numBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}
@keyframes floatY {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50%      { transform: translate3d(0, -8px, 0); }
}
@keyframes tickPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.18); opacity: .7; }
}
@keyframes ctaShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
@keyframes scrollParallax {
    from { transform: scale(1.12) translate3d(0, -6%, 0); }
    to   { transform: scale(1.12) translate3d(0, 6%, 0); }
}

/* Responsive  */
@media (max-width: 860px) {
    .ab-hero { padding: 130px 0 88px; }
    .ab-two, .ab-split, .ab-health { grid-template-columns: 1fr; }
    .ab-collage { height: 380px; }
    .ab-showcase img { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
    .ab-section { padding: 56px 0; }
    .ab-center { margin-bottom: 28px; }
    .ab-who { margin-bottom: 40px; }
    .ab-who__text { font-size: 16px; }
    .ab-stats { padding: 48px 0; }
    .ab-stats .ab-center { margin-bottom: 28px; }
    .ab-stats__grid { grid-template-columns: 1fr; }
    .ab-stat {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .15);
        padding: 22px 16px;
    }
    .ab-stat:first-child { border-top: 0; }
    .ab-stat strong { font-size: 30px; }
    .ab-map3d__stage { perspective: 900px; padding: 12px 0 32px; }
    .ab-map3d__plane { --rx: 14deg; }
    .ab-subhead { margin: 40px 0 20px; }
    /* Hide small city labels on phones; keep the head office label */
    .ab-pin__label { display: none; }
    .ab-pin--hq .ab-pin__label { display: block; }
    .ab-mini-stats { grid-template-columns: 1fr 1fr; }
    .ab-mini { padding: 24px 8px 16px; }
    .ab-mini:nth-child(3) { border-left: 0; }
    .ab-mini:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .ab-mini strong { font-size: 24px; }
    .ab-collage { height: 320px; }
    .ab-hero__actions .btn { width: 100%; }
    .ab-cta { padding: 36px 20px; }
    .ab-cta .ab-h2 { font-size: 24px; }
    .ab-cta .btn { width: 100%; }
}

/*  Reduced motion  */
@media (prefers-reduced-motion: reduce) {
    .ab *, .ab *::before, .ab *::after {
        animation: none !important;
        transition: none !important;
    }
    .js .rv, .js .rv--clip { opacity: 1; clip-path: none; }
    .ab-map3d__plane { transform: rotateX(var(--rx, 22deg)); }
    .ab-pin__lift { transform: translateZ(20px); opacity: 1; }
    .ab-pin__shadow { opacity: 1; }
    .ab-arc--flow { stroke-dashoffset: -30; }
    .ab-health__media img { transform: scale(1.12); }
}