﻿/* =========================================================
   ABOUT PAGE — redesign
   Every class here is prefixed "ab-" (and scoped under .ab)
   so the older about rules in style.css (.about-*, .company-node,
   .group-orbit-wrapper, .gallery-tile, .lightbox, .vision ...)
   no longer touch this page. Navbar and footer are untouched.
========================================================= */

.ab {
    --ab-ink: #0b344f;
    --ab-ink-2: #0d2944;
    --ab-blue: #1076bb;
    --ab-sky: #8fd0f5;
    --ab-red: #ef6269;
    --ab-muted: #5f6f7f;
    --ab-soft: #f4f8fb;
    --ab-line: #e3ebf2;
    color: var(--ab-ink);
    font-family: Inter, sans-serif;
}

/* ---------- Shared type ---------- */
.ab-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--ab-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
}

    .ab-kicker::before {
        content: "";
        width: 28px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }

.ab-kicker--light {
    color: var(--ab-sky);
}

.ab-display {
    font-family: Manrope, sans-serif;
    font-size: clamp(36px, 4.9vw, 62px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.035em;
    color: var(--ab-ink);
}

/* Each line stays whole: no more "Travel," / "connected." split */
.ab-display-line {
    display: block;
    white-space: nowrap;
}

.ab-display-sub {
    color: var(--ab-blue);
}

@media (max-width: 400px) {
    .ab-display-line {
        white-space: normal;
    }
}

.ab-h2 {
    font-family: Manrope, sans-serif;
    font-size: clamp(32px, 3.8vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--ab-ink);
}

.ab-section-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

    .ab-section-head p {
        max-width: 600px;
        margin: 16px auto 0;
        color: var(--ab-muted);
        font-size: 17px;
        line-height: 1.75;
    }

/* =========================================================
   HERO
========================================================= */
.ab-hero {
    position: relative;
    padding: 76px 0 40px;
    overflow: hidden;
    background: radial-gradient(900px 420px at 88% -10%, rgba(16, 118, 187, .09), transparent 60%), #fff;
}

.ab-hero-top {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 56px;
    align-items: end;
    padding-bottom: 48px;
}

.ab-lead {
    max-width: 440px;
    color: var(--ab-muted);
    font-size: 18px;
    line-height: 1.7;
}

.ab-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
    list-style: none;
    border-top: 1px solid var(--ab-line);
}

    .ab-stats li {
        padding: 18px 16px 0 0;
    }

        .ab-stats li + li {
            padding-left: 18px;
            border-left: 1px solid var(--ab-line);
        }

    .ab-stats strong {
        display: block;
        font-family: Manrope, sans-serif;
        font-size: 30px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -.02em;
        color: var(--ab-ink);
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

    .ab-stats span {
        display: block;
        margin-top: 8px;
        color: #7b8794;
        font-size: 13px;
        font-weight: 600;
    }

.ab-hero-media {
    position: relative;
    margin: 0;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border-radius: 28px;
    background: var(--ab-soft);
    box-shadow: 0 40px 80px -44px rgba(11, 52, 79, .55);
}

    .ab-hero-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 35%;
    }

    .ab-hero-media::after {
        content: "";
        position: absolute;
        inset: 55% 0 0 0;
        background: linear-gradient(transparent, rgba(6, 22, 36, .55));
        pointer-events: none;
    }

.ab-hero-cap {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ab-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--ab-ink);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

    .ab-hero-tag i {
        color: var(--ab-red);
    }

.ab-hero-note {
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    font-weight: 500;
}

/* =========================================================
   STORY + TIMELINE
========================================================= */
.ab-story {
    padding: 110px 0;
}

.ab-story-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 80px;
    align-items: start;
}

.ab-story-head {
    position: sticky;
    top: 110px;
}


.ab-story-photo {
    max-width: 480px;
    margin: 36px 0 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 24px;
    background: var(--ab-soft);
    box-shadow: 0 30px 60px -36px rgba(11, 52, 79, .45);
}

    .ab-story-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@media (max-width: 1000px) {
    .ab-story-photo {
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 640px) {
    .ab-story-photo {
        margin-top: 28px;
        aspect-ratio: 4 / 3;
        border-radius: 18px;
    }
}

.ab-story-body > p {
    color: var(--ab-muted);
    font-size: 17px;
    line-height: 1.85;
}

    .ab-story-body > p strong {
        color: var(--ab-ink);
    }

.ab-timeline {
    position: relative;
    margin-top: 44px;
    padding-left: 36px;
    list-style: none;
}

    /* dashed "route" line */
    .ab-timeline::before {
        content: "";
        position: absolute;
        left: 7px;
        top: 8px;
        bottom: 8px;
        border-left: 2px dashed rgba(16, 118, 187, .35);
    }

    .ab-timeline li {
        position: relative;
        padding-bottom: 32px;
    }

        .ab-timeline li:last-child {
            padding-bottom: 0;
        }

        .ab-timeline li::before {
            content: "";
            position: absolute;
            left: -36px;
            top: 3px;
            width: 16px;
            height: 16px;
            border: 3px solid var(--ab-blue);
            border-radius: 50%;
            background: #fff;
            box-sizing: border-box;
        }

        .ab-timeline li:last-child::before {
            border-color: var(--ab-red);
            background: var(--ab-red);
            box-shadow: 0 0 0 6px rgba(239, 98, 105, .16);
        }

.ab-tl-label {
    color: var(--ab-blue);
    font-size: 13px;
    font-weight: 700;
}

.ab-timeline li:last-child .ab-tl-label {
    color: var(--ab-red);
}

.ab-timeline h3 {
    margin: 4px 0 6px;
    font-family: Manrope, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--ab-ink);
}

.ab-timeline p {
    max-width: 560px;
    color: var(--ab-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
   VISION
========================================================= */
.ab-vision {
    padding: 0 0 110px;
}

.ab-vision-card {
    position: relative;
    overflow: hidden;
    padding: 80px clamp(28px, 6vw, 96px);
    border: 1px solid #d6e9f6;
    border-radius: 32px;
    color: var(--ab-ink);
    background: radial-gradient(520px 280px at 100% 0, rgba(239, 98, 105, .10), transparent 65%), radial-gradient(700px 360px at 0 100%, rgba(57, 169, 232, .16), transparent 65%), linear-gradient(135deg, #f3f9fd 0%, #e8f4fc 100%);
}

.ab-vision-mark {
    position: absolute;
    right: clamp(16px, 4vw, 56px);
    top: -10px;
    font-size: clamp(140px, 16vw, 220px);
    line-height: 1;
    color: rgba(16, 118, 187, .12);
    pointer-events: none;
}

.ab-vision .ab-kicker--light {
    color: var(--ab-blue);
}

.ab-vision blockquote {
    position: relative;
    max-width: 960px;
    margin: 0;
    font-family: Manrope, sans-serif;
    font-size: clamp(24px, 2.9vw, 40px);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.02em;
    color: var(--ab-ink);
}

.ab-vision-by {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: var(--ab-muted);
    font-size: 14px;
    font-weight: 600;
}

    .ab-vision-by::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--ab-red);
    }


/* =========================================================
   GROUP OF COMPANIES — one connected panel
========================================================= */
.ab-group {
    padding: 110px 0;
    background: var(--ab-soft);
}

.ab-ecosystem {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--ab-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 70px -40px rgba(11, 52, 79, .25);
}

    /* dashed route joining the three businesses */
    .ab-ecosystem::before {
        content: "";
        position: absolute;
        left: 44px;
        right: 44px;
        top: 47px;
        border-top: 2px dashed rgba(16, 118, 187, .3);
        pointer-events: none;
    }

.ab-company {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 88px 40px 44px;
}

    .ab-company + .ab-company {
        border-left: 1px solid var(--ab-line);
    }

.ab-company-dot {
    position: absolute;
    left: 40px;
    top: 40px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ab-blue);
    box-shadow: 0 0 0 5px #fff, 0 0 0 7px rgba(16, 118, 187, .18);
    transition: background .25s ease, box-shadow .25s ease;
}

.ab-company:hover .ab-company-dot {
    background: var(--ab-red);
    box-shadow: 0 0 0 5px #fff, 0 0 0 9px rgba(239, 98, 105, .22);
}

.ab-company-logo {
    display: flex;
    align-items: center;
    height: 48px;
    margin-bottom: 26px;
}

    .ab-company-logo img {
        width: auto;
        max-width: 150px;
        max-height: 44px;
        object-fit: contain;
    }

.ab-company-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ab-blue);
    font-size: 13px;
    font-weight: 700;
}

.ab-company h3 {
    margin: 8px 0 12px;
    font-family: Manrope, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ab-ink);
}

.ab-company p {
    color: var(--ab-muted);
    font-size: 15px;
    line-height: 1.75;
}

/* =========================================================
   GALLERY — gap-free mosaic
========================================================= */
.ab-gallery {
    padding: 110px 0;
    background: #fff;
}

.ab-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 200px;
    gap: 14px;
}

.ab-shot {
    position: relative;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #e8eef3;
    cursor: zoom-in;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(var(--i, 0) * 55ms);
}

.ab-bento.is-visible .ab-shot {
    opacity: 1;
    transform: none;
}

.ab-shot--xl {
    grid-column: span 2;
    grid-row: span 2;
}

.ab-shot--tall {
    grid-row: span 2;
}

.ab-shot--wide {
    grid-column: span 2;
}

.ab-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.ab-shot:hover img {
    transform: scale(1.05);
}

.ab-shot-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 16px 14px;
    background: linear-gradient(transparent, rgba(6, 20, 32, .75));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}

.ab-shot:hover .ab-shot-cap,
.ab-shot:focus-visible .ab-shot-cap {
    opacity: 1;
    transform: none;
}

.ab-shot:focus-visible {
    outline: 3px solid var(--ab-blue);
    outline-offset: 3px;
}

@media (hover: none) {
    .ab-shot-cap {
        display: none;
    }
}

/* =========================================================
   LIGHTBOX
========================================================= */
.ab-lb {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 64px 84px;
    background: rgba(5, 16, 27, .94);
}

    .ab-lb.is-open {
        display: flex;
        animation: abFade .22s ease;
    }

.ab-lb-figure {
    margin: 0;
    text-align: center;
}

    .ab-lb-figure img {
        max-width: min(1200px, 86vw);
        max-height: 78vh;
        margin: 0 auto;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
    }

    .ab-lb-figure figcaption {
        margin-top: 14px;
        color: #cbd5e1;
        font-size: 14px;
    }

.ab-lb-count {
    position: absolute;
    top: 24px;
    left: 28px;
    color: #94a3b8;
    font-size: 13px;
    letter-spacing: .06em;
}

.ab-lb-btn {
    position: absolute;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background .2s ease;
}

    .ab-lb-btn:hover {
        background: rgba(255, 255, 255, .2);
    }

    .ab-lb-btn:focus-visible {
        outline: 2px solid var(--ab-sky);
        outline-offset: 3px;
    }

.ab-lb-close {
    top: 16px;
    right: 20px;
}

.ab-lb-prev {
    left: 20px;
    top: 50%;
    margin-top: -24px;
}

.ab-lb-next {
    right: 20px;
    top: 50%;
    margin-top: -24px;
}

@keyframes abFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1000px) {
    .ab-hero-top {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 40px;
    }

    .ab-lead {
        max-width: 560px;
    }

    .ab-stats {
        max-width: 560px;
    }

    .ab-hero-media {
        aspect-ratio: 16 / 9;
    }

    .ab-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ab-story-head {
        position: static;
    }

    .ab-bento {
        grid-auto-rows: 160px;
    }
}

@media (max-width: 900px) {

    /* Companies stack; the route line runs down the left edge */
    .ab-ecosystem {
        grid-template-columns: 1fr;
    }

        .ab-ecosystem::before {
            left: 35px;
            right: auto;
            top: 44px;
            bottom: 44px;
            border-top: 0;
            border-left: 2px dashed rgba(16, 118, 187, .3);
        }

    .ab-company {
        padding: 36px 28px 36px 72px;
    }

        .ab-company + .ab-company {
            border-left: 0;
            border-top: 1px solid var(--ab-line);
        }

    .ab-company-dot {
        left: 28px;
        top: 40px;
    }

    .ab-company-logo {
        margin-bottom: 18px;
    }
}

@media (max-width: 640px) {
    .ab-hero {
        padding: 44px 0 24px;
    }

    .ab-lead {
        font-size: 16px;
    }

    .ab-stats li {
        padding-right: 10px;
    }

        .ab-stats li + li {
            padding-left: 12px;
        }

    .ab-stats strong {
        font-size: 24px;
    }

    .ab-stats span {
        font-size: 12px;
    }

    .ab-hero-media {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }

    .ab-hero-cap {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .ab-hero-note {
        display: none;
    }

    .ab-story,
    .ab-group,
    .ab-gallery {
        padding: 72px 0;
    }

    .ab-vision {
        padding-bottom: 72px;
    }

    .ab-story-body > p {
        font-size: 16px;
    }

    .ab-vision-card {
        padding: 52px 24px;
        border-radius: 24px;
    }

    .ab-section-head {
        margin-bottom: 36px;
    }

        .ab-section-head p {
            font-size: 16px;
        }

    .ab-ecosystem {
        border-radius: 22px;
    }

    .ab-company h3 {
        font-size: 22px;
    }

    /* Mosaic: 2 columns, dense packing keeps it gap-free */
    .ab-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 140px;
        grid-auto-flow: dense;
        gap: 10px;
    }

    .ab-shot {
        border-radius: 14px;
    }

    .ab-lb {
        padding: 60px 12px 90px;
    }

    .ab-lb-prev,
    .ab-lb-next {
        top: auto;
        bottom: 22px;
        margin-top: 0;
    }

    .ab-lb-prev {
        left: calc(50% - 60px);
    }

    .ab-lb-next {
        right: calc(50% - 60px);
    }
}

@media (max-width: 380px) {
    .ab-stats strong {
        font-size: 20px;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .ab .reveal,
    .ab-shot {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

        .ab-shot img,
        .ab-shot-cap,
        .ab-company-dot {
            transition: none;
        }

    .ab-lb.is-open {
        animation: none;
    }
}
