/* About page, part 1: the shared section type and the hero (about.html). The hero uses the
   careers hero's blue band, layout and faint emblem. The other parts: about-values.css,
   about-model.css, about-founder.css and about-cta.css. */
.about {
    --ab-ink: var(--kd-ink);
    --ab-body: var(--kd-body);
    --ab-brand: var(--kd-brand);
    --ab-ease: cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--ab-body);
}

/* ---------- Shared section type ---------- */
.ab-kicker {
    margin: 0 0 1rem;
    color: var(--ab-brand);
    font-size: 0.95rem;
    font-weight: 600;
}

.ab-title {
    margin: 0;
    color: var(--ab-ink);
    font-size: clamp(2.1rem, 4.4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -0.03em;
}

/* Scroll reveals: about.js adds .is-js, then .is-in as each part comes into view. */
.about.is-js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ab-ease), transform 0.9s var(--ab-ease);
}

.about.is-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ---------- Hero ---------- */
.ab-hero {
    position: relative;
    overflow: hidden;
    padding: 7.5rem 0 4.5rem;
    background:
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px) 0 0 / 32px 32px,
        radial-gradient(40% 45% at 80% 45%, rgba(52, 211, 153, 0.1), transparent 70%),
        linear-gradient(180deg, var(--kd-brand) 0%, #354F8A 30%, var(--kd-brand-deep) 100%);
    color: #FFFFFF;
}

@media (min-width: 900px) {
    .ab-hero {
        padding: 9.5rem 0 7.5rem;
    }
}

.ab-hero__mark {
    position: absolute;
    top: 50%;
    right: -6rem;
    width: min(34rem, 90vw);
    height: auto;
    opacity: 0.06;
    transform: translateY(-46%);
    pointer-events: none;
}

@media (min-width: 900px) {
    .ab-hero__mark {
        right: max(-4rem, calc((100vw - 76rem) / 2 - 2rem));
    }
}

.ab-hero__inner {
    max-width: 76rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .ab-hero__inner {
        padding: 0 1.5rem;
    }
}

.ab-hero__copy {
    position: relative;
    max-width: 46rem;
}

.ab-hero__kicker {
    margin: 0 0 1.1rem;
    color: var(--kd-mint-soft);
    font-size: 0.95rem;
    font-weight: 600;
}

.ab-hero__title {
    margin: 0;
    font-size: clamp(2.4rem, 5.2vw, 4.25rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.ab-hero__line {
    display: block;
}

.ab-hero__accent {
    color: var(--kd-mint-light);
}

.ab-hero__lede {
    max-width: 34rem;
    margin: 1.4rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.65;
}

.ab-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 2rem;
}

.ab-hero__btn {
    padding: 0.9rem 1.4rem;
    border-radius: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.ab-hero__btn--primary {
    background: var(--kd-mint-bright);
    color: #0B1B3F;
    box-shadow: 0 10px 30px -10px rgba(52, 211, 153, 0.6);
}

.ab-hero__btn--primary:hover {
    background: var(--kd-mint-light);
    transform: translateY(-2px);
}

.ab-hero__btn--ghost {
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
}

.ab-hero__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ab-hero__btn:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}

/* The copy rises in line by line on load, as on the home hero. */
.ab-hero__copy > *,
.ab-hero__line {
    animation: ab-rise 0.8s var(--ab-ease) both;
    animation-delay: calc(var(--i, 0) * 70ms);
}

.ab-hero__title {
    animation: none;
}

@keyframes ab-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ab-hero__copy > *,
    .ab-hero__line {
        animation: none;
    }

    .about.is-js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
