/* About page — scoped under .abt-page per mvc-ui-ux-design.md §3 */

.abt-page {
    /* Ink scale */
    --ink:       #0b1b34;
    --ink-soft:  #2d3a52;
    --muted:     #6b7487;

    /* Paper scale */
    --hair:      #e5e7ef;
    --paper:     #fbfbfd;
    --wash:      #f3f5fb;

    /* Brand — tenant-driven, never literal */
    --brand:      var(--zf-primary,   #1870d1);
    --brand-deep: var(--zf-secondary, #0f4ea3);
    --teal:       #07c3d6;

    /* Semantic states */
    --current:    #0f8b5a;  --current-bg: #e6f4ed;
    --past:       #64748b;  --past-bg:    #eef0f6;

    color: var(--ink);
    font-family: "Montserrat", sans-serif;
    line-height: 1.5;
}

html[data-theme="dark"] .abt-page {
    --ink:        #e8ecf5;
    --ink-soft:   #c6cbd8;
    --muted:      #8d95a8;
    --hair:       #2a3142;
    --paper:      #161a25;
    --wash:       #1c2231;
    --past:       #a4adc0;
    --past-bg:    #232a3a;
    --current-bg: rgba(15, 139, 90, 0.18);
}

html[data-theme="dark"] .abt-card,
html[data-theme="dark"] .abt-stats-strip,
html[data-theme="dark"] .abt-mission,
html[data-theme="dark"] .abt-cta-banner {
    background: #161a25;
}

/* Page wrapper — no own bg. Each section paints its own background.
   This way the bg-3 image ends EXACTLY at the hero's bottom edge, and the
   stats card uses negative margin-top to straddle that edge (top half on bg,
   bottom half on plain white). */
.abt-page { position: relative; }
.abt-page > section { padding: clamp(3rem, 6vw, 5rem) 0; }

/* Hero — owns the bg-3 image; bottom edge of this section IS the bg/white
   boundary. Padding-bottom is intentionally generous so the stats card can
   pull up into it without colliding with the subtitle text. */
.abt-hero {
    position: relative;
    text-align: center;
    padding: clamp(6rem, 10vw, 9rem) 1.5rem clamp(4.5rem, 9vw, 7rem);
    background: url("../../../images/about-hero-bg.webp") no-repeat top center;
    background-size: cover;
}
html[data-theme="dark"] .abt-hero {
    background:
        linear-gradient(180deg, rgba(11, 27, 52, 0.7) 0%, rgba(22, 26, 37, 0.96) 100%),
        url("../../../images/about-hero-bg.webp") no-repeat top center;
    background-size: cover, cover;
}
.abt-hero__icon-tile {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--zf-tenant-gradient, linear-gradient(135deg, var(--brand), var(--brand-deep)));
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 26px;
    margin-bottom: 1.25rem;
    box-shadow: 0 12px 28px -14px rgba(11, 27, 52, 0.4);
}
/* Pill-style eyebrow (matches the reference "live badge" — white chip, hairline border) */
.abt-hero__eyebrow {
    display: inline-block;
    padding: 6px 18px;
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px; font-weight: 700;
    color: var(--brand-deep);
    margin-bottom: 1rem;
}
html[data-theme="dark"] .abt-hero__eyebrow {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--ink);
}
.abt-hero__title {
    font-size: clamp(1.9rem, 2.8vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.018em;
    color: var(--ink);
    margin-bottom: 0.75rem;
    line-height: 1.15;
}
.abt-hero__title em { color: var(--brand); font-style: normal; font-weight: 700; display: block; }
.abt-hero__title > span { display: block; color: var(--ink); }
.abt-hero__subtitle {
    color: var(--muted);
    max-width: 55ch;
    margin: 0 auto 1.5rem;
}
.abt-hero__cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    background: var(--brand);
    /* !important guards against the global `a { color: var(--zf-link) }` rule in
       app.css bleeding blue into this button-style link (it renders unreadable on
       the brand fill otherwise — the text must always stay white). */
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}
.abt-hero__cta:hover { background: var(--brand-deep); color: #fff !important; }

/* Stats — straddles the hero's bottom edge: top half sits on the bg-3 image
   (inside the hero), bottom half on plain white below. Achieved with a negative
   margin-top of ~half the card height pulling it up into the hero's
   padding-bottom (which is intentionally generous). */
.abt-stats {
    position: relative;
    z-index: 2;
    margin-top: clamp(-4rem, -6vw, -3rem);
    padding-top: 0;
    padding-bottom: clamp(3rem, 6vw, 5rem);
}
.abt-stats-strip {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--hair);                     /* gap fill — thin grey separator */
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 30px 60px -28px rgba(11, 27, 52, 0.18);
    margin: 0 auto;
    max-width: 1080px;
}
.abt-stat {
    background: #fff;
    padding: clamp(1.4rem, 2.6vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
    text-align: center;
}
.abt-stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 4vw, 52px);
    height: clamp(40px, 4vw, 52px);
    border-radius: 14px;
    margin: 0 auto 0.85rem;
    background: color-mix(in srgb, var(--brand) 12%, #fff);
    color: var(--brand);
    font-size: clamp(20px, 2vw, 24px);
}
html[data-theme="dark"] .abt-stat__icon {
    background: color-mix(in srgb, var(--brand) 22%, #161a25);
    color: #cfe0ff;
}
.abt-stat__value {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.018em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.abt-stat__suffix { color: var(--brand); }       /* +, %, '25 etc. accent in brand blue */
.abt-stat__label {
    font-size: 13px; font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.5;
    margin-top: 0.5rem;
    text-transform: none;
    letter-spacing: 0;
}
html[data-theme="dark"] .abt-stats-strip { background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .abt-stat { background: #161a25; }

@media (max-width: 720px) {
    .abt-stats-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Trust logos — wide rounded "pill" container holding the row, with a subtle
   inner gradient and hairline border. Logos render in full colour by default
   (so the brands read at-a-glance) and dim to muted-grayscale on hover. */
.abt-logos-section {
    padding: clamp(2rem, 4vw, 3rem) 0;
    position: relative;
}
.abt-logos__title {
    text-align: center;
    text-transform: uppercase; letter-spacing: 0.22em;
    font-size: 12px; font-weight: 700;
    color: var(--ink-soft);
    margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
}
.abt-logos__title::before,
.abt-logos__title::after {
    content: "";
    display: inline-block;
    width: 40px; height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--hair) 50%, transparent);
    vertical-align: middle;
    margin: 0 0.9rem;
}
.abt-logos {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(2rem, 4vw, 3rem);
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(245, 247, 255, 0.85) 0%, #ffffff 100%);
    border: 1px solid var(--hair);
    box-shadow: 0 18px 42px -28px rgba(11, 27, 52, 0.18);
    overflow: hidden;
    isolation: isolate;
}
/* Soft brand-coloured edge glow inside the container — purely decorative */
.abt-logos::before,
.abt-logos::after {
    content: "";
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}
.abt-logos::before {
    top: -110px; left: -110px;
    background: radial-gradient(circle, rgba(7, 195, 214, 0.45) 0%, transparent 70%);
}
.abt-logos::after {
    bottom: -110px; right: -110px;
    background: radial-gradient(circle, rgba(24, 112, 209, 0.4) 0%, transparent 70%);
}
.abt-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
}
/* Hairline divider between logos (shown on every logo except the first) */
.abt-logo::before {
    content: "";
    position: absolute;
    left: calc(clamp(2rem, 4vw, 3rem) * -0.5);
    top: 22%; bottom: 22%;
    width: 1px;
    background: var(--hair);
    opacity: 0.7;
}
.abt-logo:first-child::before { display: none; }
.abt-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.25, 1);
}
.abt-logo a:hover { transform: translateY(-3px); }
.abt-logo img {
    max-height: 96px;
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}
.abt-logo:hover img {
    filter: grayscale(1);
    opacity: 0.55;
}

html[data-theme="dark"] .abt-logos {
    background: linear-gradient(180deg, rgba(28, 34, 49, 0.85), rgba(22, 26, 37, 1));
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .abt-logos__title { color: var(--muted); }
html[data-theme="dark"] .abt-logo::before { background: rgba(255, 255, 255, 0.08); }

@media (max-width: 720px) {
    .abt-logos {
        gap: 1.25rem;
        padding: 1.25rem 1rem;
    }
    .abt-logo { padding: 0.35rem 0.5rem; }
    .abt-logo::before { display: none; }   /* dividers don't read in 2-up wrap */
    .abt-logo img { max-height: 72px; max-width: 180px; }
}

/* Mission — editorial split with framed image card and gradient halo */
.abt-mission { padding: clamp(4rem, 8vw, 6rem) 0; }
.abt-mission__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.abt-mission__eyebrow {
    display: inline-block;
    padding: 5px 14px;
    background: var(--wash);
    border: 1px solid var(--hair);
    border-radius: 999px;
    text-transform: uppercase; letter-spacing: 0.2em;
    font-size: 11px; font-weight: 700; color: var(--brand-deep);
    margin-bottom: 1rem;
}
.abt-mission__title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.abt-mission__title em { color: var(--brand); font-style: normal; }
.abt-mission__body { color: var(--ink-soft); line-height: 1.7; font-size: 15px; }
.abt-mission__body p { margin-bottom: 1rem; }
.abt-mission__body p:first-of-type { color: var(--ink); font-weight: 500; font-size: 16px; }

/* Optional CTA — pill button in the brand voice, distinct from the plain
   inline .zf-link it's built on (see _Link.cshtml / LinkViewModel). */
.abt-mission__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    /* !important guards against the global `a { color: var(--zf-link) }` rule in
       app.css bleeding blue into this button-style link — without it the label
       renders in link-blue and is unreadable on the brand gradient. */
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 10px 24px -12px rgba(24, 112, 209, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.abt-mission__cta::after {
    content: "\2192";
    transition: transform 0.2s ease;
}
.abt-mission__cta:hover {
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -12px rgba(24, 112, 209, 0.6);
}
.abt-mission__cta:hover::after { transform: translateX(3px); }

/* 3D-style image card — clean white frame, perspective-driven shadow stack,
   no gradient halo (the page bg already provides plenty of colour). Hover lifts
   the card off the page on the Y-axis and softens the tilt. */
.abt-mission__image {
    position: relative;
    isolation: isolate;
    padding: clamp(0.5rem, 1vw, 1rem);
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: 20px;
    transform-origin: center center;
    transform: perspective(1200px) rotateX(2deg) rotateY(-3deg) rotate(-0.6deg);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        -10px 18px 0 -8px rgba(11, 27, 52, 0.04),       /* offset paper layer behind */
        0 18px 38px -22px rgba(11, 27, 52, 0.18),       /* soft long shadow */
        0 6px 14px -10px rgba(11, 27, 52, 0.10);        /* close-contact shadow */
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.2, 0.7, 0.25, 1);
}
.abt-mission__image:hover {
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) rotate(0deg) translateY(-6px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 28px 50px -18px rgba(11, 27, 52, 0.22),
        0 10px 18px -10px rgba(11, 27, 52, 0.12);
}
/* Tiny brand-coloured corner accent — provides a hint of brand without flooding */
.abt-mission__image::after {
    content: "";
    position: absolute;
    top: -8px; right: -8px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    box-shadow: 0 4px 12px -4px rgba(24, 112, 209, 0.5);
    z-index: 1;
}
.abt-mission__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

html[data-theme="dark"] .abt-mission__image {
    background: #1c2231;
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .abt-mission__eyebrow {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--ink);
}

@media (max-width: 1080px) {
    .abt-mission__grid { grid-template-columns: 1fr; }
    .abt-mission__image {
        transform: perspective(1200px) rotateX(1deg) rotate(-0.4deg);
        max-width: 540px;
        margin: 0 auto;
    }
}

/* Values — section header gets the same eyebrow+title treatment as Mission */
.abt-values { padding: clamp(4rem, 8vw, 6rem) 0; }
.abt-values__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}

/* Card — clean white tile, layered 3D shadow on hover, brand accent bar that
   slides in across the top, and a subtle diagonal sheen wash that fades in. */
.abt-value-card {
    position: relative;
    isolation: isolate;
    padding: 2rem 1.6rem 1.65rem;
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.25, 1),
                box-shadow 0.3s cubic-bezier(0.2, 0.7, 0.25, 1),
                border-color 0.3s ease;
}
/* Brand→teal accent bar across the top — scales in from the left on hover */
.abt-value-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--teal) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.25, 1);
    z-index: 2;
}
/* Soft diagonal sheen wash — fades in on hover, gives the card a 'lit' feel */
.abt-value-card::after {
    content: "";
    position: absolute;
    top: -40%; right: -30%;
    width: 70%; height: 130%;
    background: radial-gradient(closest-side, rgba(24, 112, 209, 0.10), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}
.abt-value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(24, 112, 209, 0.28);
    box-shadow:
        0 22px 40px -22px rgba(11, 27, 52, 0.25),
        0 10px 18px -12px rgba(11, 27, 52, 0.10);
}
.abt-value-card:hover::before { transform: scaleX(1); }
.abt-value-card:hover::after { opacity: 1; }
.abt-value-card:hover .abt-value-card__icon {
    transform: scale(1.06) rotate(-4deg);
    box-shadow:
        0 14px 28px -10px rgba(24, 112, 209, 0.55),
        0 6px 12px -6px rgba(24, 112, 209, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Icon tile — gradient with double shadow + inner highlight for a 3D feel.
   Now sits at the top of the card (no number chip above it). */
.abt-value-card__icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 26px;
    margin: 0 auto 1.25rem;
    box-shadow:
        0 10px 22px -8px rgba(24, 112, 209, 0.45),
        0 4px 8px -4px rgba(24, 112, 209, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.25, 1),
                box-shadow 0.35s cubic-bezier(0.2, 0.7, 0.25, 1);
}

.abt-value-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0 0 0.55rem;
    line-height: 1.3;
}
.abt-value-card__title em { color: var(--brand); font-style: normal; font-weight: 700; }
.abt-value-card__desc {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

html[data-theme="dark"] .abt-value-card { background: #1c2231; border-color: rgba(255, 255, 255, 0.08); }

@media (max-width: 1080px) {
    .abt-values__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .abt-values__grid { grid-template-columns: 1fr; }
}

/* Team — leadership cards with photo (ring + glow), role chip, hover lift,
   and a soft top→bottom gradient sheen behind the photo for depth. */
.abt-team { padding: clamp(4rem, 8vw, 6rem) 0; }
.abt-team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.abt-team-card {
    position: relative;
    isolation: isolate;
    padding: 2.25rem 1.75rem 1.75rem;
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: 22px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.25, 1),
                box-shadow 0.35s cubic-bezier(0.2, 0.7, 0.25, 1),
                border-color 0.35s ease;
}
/* Soft top wash behind the photo — gives the card a 'spotlight' feel */
.abt-team-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(24, 112, 209, 0.06) 0%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}
.abt-team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(24, 112, 209, 0.28);
    box-shadow:
        0 22px 42px -22px rgba(11, 27, 52, 0.25),
        0 10px 18px -12px rgba(11, 27, 52, 0.10);
}
.abt-team-card:hover .abt-team-card__photo {
    transform: scale(1.03);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 1),
        0 0 0 6px var(--brand),
        0 18px 32px -10px rgba(24, 112, 209, 0.45);
}

/* Photo — circular, brand-ring frame, gradient bg fallback when no image */
.abt-team-card__photo {
    width: 110px; height: 110px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 1),
        0 0 0 5px var(--hair),
        0 12px 24px -10px rgba(11, 27, 52, 0.18);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.25, 1),
                box-shadow 0.35s cubic-bezier(0.2, 0.7, 0.25, 1);
}
.abt-team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.abt-team-card__photo i { font-size: 42px; color: #fff; }

.abt-team-card__name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.012em;
    margin: 0;
}
/* Role rendered as a soft pill chip below the name */
.abt-team-card__role {
    display: inline-block;
    margin: 0.5rem 0 1rem;
    padding: 4px 12px;
    background: var(--wash);
    border-radius: 999px;
    text-transform: uppercase; letter-spacing: 0.16em;
    font-size: 10.5px; font-weight: 800;
    color: var(--brand-deep);
}
.abt-team-card__bio {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

/* Dark theme */
html[data-theme="dark"] .abt-team-card {
    background: #1c2231;
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .abt-team-card::before {
    background: linear-gradient(180deg, rgba(24, 112, 209, 0.12) 0%, transparent 100%);
}
html[data-theme="dark"] .abt-team-card__photo {
    box-shadow:
        0 0 0 4px #161a25,
        0 0 0 5px rgba(255, 255, 255, 0.10),
        0 12px 24px -10px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .abt-team-card:hover .abt-team-card__photo {
    box-shadow:
        0 0 0 4px #161a25,
        0 0 0 6px var(--brand),
        0 18px 32px -10px rgba(24, 112, 209, 0.45);
}
html[data-theme="dark"] .abt-team-card__role {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink);
}
html[data-theme="dark"] .abt-team-card__name { color: var(--ink); }

@media (max-width: 1080px) { .abt-team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .abt-team__grid { grid-template-columns: 1fr; } }

/* Timeline — vertical center rail with alternating left/right cards. Each card
   has a triangle pointing at the rail; the numbered pin straddles the rail. */
.abt-timeline { padding: clamp(4rem, 8vw, 6rem) 0; }

.abt-timeline__list {
    list-style: none;
    padding: 0;
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    position: relative;
}
/* Center rail — gradient brand → brand-deep, fading at top and bottom */
.abt-timeline__list::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
        transparent 0%,
        var(--brand) 6%,
        var(--brand-deep) 94%,
        transparent 100%);
    border-radius: 999px;
}

/* Each item — half-width column, alternating sides */
.abt-timeline-item {
    position: relative;
    width: 50%;
    margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
    padding: 0 clamp(2rem, 4vw, 3.5rem) 0 0;
    box-sizing: border-box;
    list-style: none;
}
.abt-timeline-item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 0 clamp(2rem, 4vw, 3.5rem);
}

/* Numbered pin — sits on the rail */
.abt-timeline-item__pin {
    position: absolute;
    top: 14px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px;
    font-variant-numeric: tabular-nums;
    box-shadow:
        0 0 0 5px #fff,
        0 0 0 6px rgba(24, 112, 209, 0.18),
        0 10px 24px -8px rgba(24, 112, 209, 0.5);
    z-index: 2;
}
.abt-timeline-item:nth-child(odd) .abt-timeline-item__pin { right: -23px; }
.abt-timeline-item:nth-child(even) .abt-timeline-item__pin { left: -23px; }

/* Card — white tile with hairline border, soft shadow, triangle arrow */
.abt-timeline-item__card {
    position: relative;
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    box-shadow:
        0 12px 28px -22px rgba(11, 27, 52, 0.22),
        0 4px 10px -8px rgba(11, 27, 52, 0.08);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.25, 1),
                box-shadow 0.3s cubic-bezier(0.2, 0.7, 0.25, 1),
                border-color 0.3s ease;
}
.abt-timeline-item__card:hover {
    transform: translateY(-3px);
    border-color: rgba(24, 112, 209, 0.28);
    box-shadow:
        0 20px 36px -18px rgba(11, 27, 52, 0.28),
        0 6px 14px -8px rgba(11, 27, 52, 0.12);
}
/* Speech-bubble triangle pointing at the rail */
.abt-timeline-item__card::before,
.abt-timeline-item__card::after {
    content: "";
    position: absolute;
    top: 22px;
    width: 0; height: 0;
    border-style: solid;
}
.abt-timeline-item:nth-child(odd) .abt-timeline-item__card::before {
    right: -10px;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent var(--hair);
}
.abt-timeline-item:nth-child(odd) .abt-timeline-item__card::after {
    right: -8px;
    border-width: 7px 0 7px 9px;
    border-color: transparent transparent transparent #fff;
}
.abt-timeline-item:nth-child(even) .abt-timeline-item__card::before {
    left: -10px;
    border-width: 8px 10px 8px 0;
    border-color: transparent var(--hair) transparent transparent;
}
.abt-timeline-item:nth-child(even) .abt-timeline-item__card::after {
    left: -8px;
    border-width: 7px 9px 7px 0;
    border-color: transparent #fff transparent transparent;
}

/* Period — pill chip */
.abt-timeline-item__period {
    display: inline-block;
    padding: 5px 12px;
    background: var(--wash);
    border-radius: 999px;
    font-size: 11px; font-weight: 800;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--brand-deep);
    margin: 0 0 0.6rem;
}
.abt-timeline-item__title {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 0.4rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.abt-timeline-item__desc {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Current/last item — green pin + pulsing halo */
.abt-timeline-item--current .abt-timeline-item__pin {
    background: linear-gradient(135deg, #0f8b5a 0%, #15a86d 100%);
    animation: abt-pin-pulse 2.4s ease-in-out infinite;
}
@keyframes abt-pin-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 5px #fff,
            0 0 0 6px rgba(15, 139, 90, 0.25),
            0 10px 24px -8px rgba(15, 139, 90, 0.5);
    }
    50% {
        box-shadow:
            0 0 0 5px #fff,
            0 0 0 14px rgba(15, 139, 90, 0.10),
            0 14px 32px -8px rgba(15, 139, 90, 0.6);
    }
}

html[data-theme="dark"] .abt-timeline-item__card { background: #1c2231; border-color: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .abt-timeline-item:nth-child(odd) .abt-timeline-item__card::after { border-left-color: #1c2231; }
html[data-theme="dark"] .abt-timeline-item:nth-child(even) .abt-timeline-item__card::after { border-right-color: #1c2231; }
html[data-theme="dark"] .abt-timeline-item__pin {
    box-shadow: 0 0 0 5px #161a25, 0 0 0 6px rgba(24, 112, 209, 0.22), 0 10px 24px -8px rgba(24, 112, 209, 0.5);
}

/* Mobile: collapse to a single left-rail layout */
@media (max-width: 820px) {
    .abt-timeline__list::before { left: 22px; transform: none; }
    .abt-timeline-item,
    .abt-timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 0 60px;
    }
    .abt-timeline-item:nth-child(odd) .abt-timeline-item__pin,
    .abt-timeline-item:nth-child(even) .abt-timeline-item__pin {
        left: -1px; right: auto;
    }
    .abt-timeline-item:nth-child(odd) .abt-timeline-item__card::before {
        right: auto; left: -10px;
        border-width: 8px 10px 8px 0;
        border-color: transparent var(--hair) transparent transparent;
    }
    .abt-timeline-item:nth-child(odd) .abt-timeline-item__card::after {
        right: auto; left: -8px;
        border-width: 7px 9px 7px 0;
        border-color: transparent #fff transparent transparent;
    }
    html[data-theme="dark"] .abt-timeline-item:nth-child(odd) .abt-timeline-item__card::after {
        border-right-color: #1c2231; border-left-color: transparent;
    }
}

/* CTA banner — light lavender card with text-left / illustration-right split,
   matching the reference design at itinfosystem.com/aditya/zn (Get Started block). */
.abt-cta-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.abt-cta-banner {
    position: relative;
    isolation: isolate;
    border-radius: 28px;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
    background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 50%, #f3f0ff 100%);
    color: var(--ink);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    text-align: left;
}
.abt-cta-banner__copy { position: relative; z-index: 2; }

/* Eyebrow with em-dash flanks ("— GET STARTED —") */
.abt-cta-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
}
.abt-cta-banner__eyebrow::before,
.abt-cta-banner__eyebrow::after {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

.abt-cta-banner__heading {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.022em;
    margin: 0 0 1rem;
    line-height: 1.18;
}
.abt-cta-banner__subtitle {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.65;
    max-width: 50ch;
    margin: 0 0 1.85rem;
}

.abt-cta-banner__actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* Primary CTA — solid blue pill */
.abt-cta-banner__primary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 8px 18px -8px rgba(24, 112, 209, 0.5);
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.abt-cta-banner__primary:hover {
    background: var(--brand-deep);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px -8px rgba(15, 78, 163, 0.55);
}
.abt-cta-banner__primary i { font-size: 14px; }

/* Secondary CTA — white pill with hairline border + chip-style icon */
.abt-cta-banner__secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.78rem 1.55rem;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    border: 1.5px solid #d4d8e6;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.abt-cta-banner__secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}
.abt-cta-banner__secondary i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    border-radius: 6px;
    background: rgba(24, 112, 209, 0.12);
    color: var(--brand);
    font-size: 11px;
    transition: background 0.22s ease;
}
.abt-cta-banner__secondary:hover i { background: rgba(24, 112, 209, 0.22); }

/* Right column — illustration */
.abt-cta-banner__media {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.abt-cta-banner__media img {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 24px 42px rgba(124, 58, 237, 0.18));
}

/* Decorative scattered dots (purple / red / lilac), CSS-only via box-shadow */
.abt-cta-banner::before {
    content: "";
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ef4f6b;
    top: 8%; right: 38%;
    box-shadow:
        18vw -2vw 0 -1px #c4b5fd,
        24vw 14vw 0 -2px #ddd6fe,
        32vw -8vw 0 -3px rgba(124, 58, 237, 0.45),
        38vw 10vw 0 -1px rgba(196, 181, 253, 0.6);
    z-index: 0;
    pointer-events: none;
}
.abt-cta-banner::after {
    content: "";
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.55);
    filter: blur(6px);
    top: 6%; right: 22%;
    box-shadow:
        -8vw 14vw 0 -4px rgba(124, 58, 237, 0.5),
        4vw 22vw 0 -6px rgba(124, 58, 237, 0.4);
    z-index: 0;
    pointer-events: none;
}

/* Dark theme */
html[data-theme="dark"] .abt-cta-banner {
    background: linear-gradient(135deg, #1c2231 0%, #2a2438 100%);
}
html[data-theme="dark"] .abt-cta-banner__heading,
html[data-theme="dark"] .abt-cta-banner__subtitle { color: var(--ink); }
html[data-theme="dark"] .abt-cta-banner__secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--ink);
}

/* Responsive — stack to a single column with image on top */
@media (max-width: 1080px) {
    .abt-cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .abt-cta-banner__eyebrow { justify-content: center; }
    .abt-cta-banner__subtitle { max-width: none; margin-left: auto; margin-right: auto; }
    .abt-cta-banner__actions { justify-content: center; }
    .abt-cta-banner__media { order: -1; }
    .abt-cta-banner__media img { max-height: 240px; }
}

/* Entrance animation — used by every section's items */
.abt-rise {
    opacity: 0;
    transform: translateY(8px);
    animation: abt-rise 0.5s cubic-bezier(0.2, 0.7, 0.25, 1) forwards;
}
.abt-rise:nth-child(1) { animation-delay: 0.05s; }
.abt-rise:nth-child(2) { animation-delay: 0.12s; }
.abt-rise:nth-child(3) { animation-delay: 0.19s; }
.abt-rise:nth-child(4) { animation-delay: 0.26s; }
.abt-rise:nth-child(5) { animation-delay: 0.33s; }
.abt-rise:nth-child(6) { animation-delay: 0.40s; }
@keyframes abt-rise { to { opacity: 1; transform: translateY(0); } }
