/**
 * Homepage About — premium editorial composition.
 * Deliberately scoped to the first About intro/story/statistics block.
 */

body.home #about.about-merged-section {
    isolation: isolate;
    overflow: clip;
    padding-top: clamp(104px, 9vw, 150px);
}

body.home #about.about-merged-section > .glow-orb,
body.home #about.about-merged-section > .bg-grid {
    display: none;
}

body.home #about .about-premium-art {
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: min(940px, 100vh);
    overflow: hidden;
    color: var(--accent);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

body.home #about .about-premium-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 46% 58% at 18% 37%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 72%),
        radial-gradient(ellipse 42% 48% at 86% 20%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 74%);
    opacity: .8;
}

body.home #about .about-premium-globe {
    position: absolute;
    top: 64px;
    left: max(-252px, calc(50% - 960px));
    width: min(650px, 46vw);
    height: auto;
    opacity: .82;
}

body.home #about .about-premium-orbits {
    position: absolute;
    top: -22px;
    right: -130px;
    width: min(760px, 53vw);
    height: 520px;
    opacity: .7;
}

body.home #about > .container {
    position: relative;
    z-index: 1;
}

body.home #about > .container > .section-head {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

body.home #about > .container > .section-head .eyebrow {
    margin-inline: auto;
}

body.home #about > .container > .section-head .section-title {
    max-width: 900px;
    margin: 22px auto 0;
    text-align: center;
    text-wrap: balance;
}

body.home #about > .container > .section-head .section-title .gradient-text {
    display: inline;
}

body.home #about > .container > .section-head .section-sub {
    max-width: 850px;
    margin: 24px auto 0;
    text-align: center;
    text-wrap: pretty;
}

body.home #about .about-story {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(480px, .94fr);
    align-items: center;
    gap: clamp(52px, 7vw, 104px);
    margin-top: clamp(72px, 8vw, 112px);
}

body.home #about .about-story-content {
    position: relative;
    max-width: 650px;
    padding-top: 30px;
}

body.home #about .about-story-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: var(--accent);
}

body.home #about .about-story-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

body.home #about .about-story-content p + p {
    margin-top: 24px;
}

body.home #about .about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    transform: none;
}

body.home #about .about-stat-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 164px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    padding: 28px 24px 23px;
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    box-shadow: 0 18px 52px color-mix(in srgb, var(--text) 5%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Keep the card hover understated: the shared card style adds a thick
   accent strip at the top, which is not part of the About composition. */
body.home #about .about-stat-card::before {
    display: none;
}

body.home #about .about-stat-card::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -42px;
    width: 110px;
    height: 110px;
    border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
    border-radius: 50%;
    opacity: .46;
}

body.home #about .about-stat-icon {
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent) 11%, var(--surface));
}

body.home #about .about-stat-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.home #about .about-stat-value {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    color: var(--accent);
    line-height: 1;
}

body.home #about .about-stat-value .stat-number,
body.home #about .about-stat-value .stat-suffix {
    color: inherit;
}

body.home #about .about-stat-card .stat-label {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    margin-top: 12px;
}

body.home #about-details.about-details-section .about-subsection:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

@media (hover: hover) {
    body.home #about .about-stat-card {
        transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
    }

    body.home #about .about-stat-card:hover {
        border-color: color-mix(in srgb, var(--accent) 36%, var(--border));
        transform: translateY(-3px);
        box-shadow: 0 22px 58px color-mix(in srgb, var(--text) 8%, transparent);
    }
}

@media (max-width: 1080px) {
    body.home #about .about-story {
        grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
        gap: 44px;
    }

    body.home #about .about-premium-globe {
        left: -260px;
        width: 590px;
    }
}

@media (max-width: 900px) {
    body.home #about.about-merged-section {
        padding-top: 92px;
    }

    body.home #about .about-premium-art {
        height: 860px;
    }

    body.home #about .about-premium-globe {
        top: 96px;
        left: -260px;
        width: 520px;
        opacity: .52;
    }

    body.home #about .about-premium-orbits {
        right: -240px;
        width: 650px;
        opacity: .5;
    }

    body.home #about .about-story {
        grid-template-columns: 1fr;
        gap: 42px;
        margin-top: 72px;
    }

    body.home #about .about-story-content {
        max-width: 680px;
    }

    body.home #about .about-stats-grid {
        max-width: 680px;
    }
}

@media (max-width: 600px) {
    body.home #about.about-merged-section {
        padding-top: 76px;
    }

    body.home #about .about-premium-art {
        height: 760px;
    }

    body.home #about .about-premium-globe {
        top: 102px;
        left: -242px;
        width: 430px;
        opacity: .4;
    }

    body.home #about .about-premium-orbits {
        top: 6px;
        right: -294px;
        width: 560px;
        height: 420px;
        opacity: .4;
    }

    body.home #about > .container > .section-head .section-title {
        margin-top: 18px;
    }

    body.home #about > .container > .section-head .section-sub {
        margin-top: 20px;
    }

    body.home #about .about-story {
        gap: 34px;
        margin-top: 56px;
    }

    body.home #about .about-story-content {
        padding-top: 24px;
    }

    body.home #about .about-story-content p + p {
        margin-top: 20px;
    }

    body.home #about .about-stats-grid {
        gap: 10px;
    }

    body.home #about .about-stat-card {
        min-height: 142px;
        padding: 47px 12px 18px;
        border-radius: 16px;
    }

    body.home #about .about-stat-icon {
        top: 12px;
        left: 12px;
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    body.home #about .about-stat-icon svg {
        width: 18px;
        height: 18px;
    }

    body.home #about .about-stat-card .stat-label {
        margin-top: 8px;
        font-size: .67rem;
        line-height: 1.35;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home #about .about-stat-card {
        transition: none;
    }
}
