/* About page, part 6: the closing band (about.html), in the style of the home and services
   closings: copy on the left, the two ways in (careers and contact) as cards on the right. */
.ab-cta {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background: linear-gradient(140deg, var(--kd-brand), var(--kd-brand-darkest));
    color: #FFFFFF;
    isolation: isolate;
}

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

/* The emblem, large and faint, bleeding off the corner. */
.ab-cta__mark {
    position: absolute;
    right: -6rem;
    bottom: -5rem;
    z-index: -1;
    width: 30rem;
    height: auto;
    opacity: 0.05;
}

.ab-cta__inner {
    display: grid;
    gap: 2.75rem;
    align-items: center;
    max-width: 76rem;
    margin: 0 auto;
    padding: 0 1rem;
}

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

@media (min-width: 900px) {
    .ab-cta__inner {
        grid-template-columns: 1.15fr 1fr;
        gap: 5rem;
    }
}

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

.ab-cta__title {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

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

.ab-cta__text {
    max-width: 32rem;
    margin: 1.25rem 0 0;
    color: var(--kd-on-dark);
    font-size: 1.125rem;
    line-height: 1.65;
}

.ab-cta__paths {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Each card is one link, with an arrow that nudges on hover. */
.ab-path {
    position: relative;
    display: block;
    padding: 1.5rem 3.75rem 1.5rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    color: inherit;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.ab-path::after {
    content: "\2192";
    position: absolute;
    top: 50%;
    right: 1.5rem;
    color: var(--kd-mint-soft);
    font-size: 1.25rem;
    transform: translateY(-50%);
    transition: transform 0.25s ease;
}

.ab-path:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateX(4px);
}

.ab-path:hover::after {
    transform: translate(4px, -50%);
}

.ab-path:focus-visible {
    outline: 2px solid var(--kd-mint-soft);
    outline-offset: 3px;
}

.ab-path__title {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ab-path__text {
    display: block;
    margin-top: 0.3rem;
    color: var(--kd-on-dark);
    font-size: 0.975rem;
}

/* The cards slide in after the copy, one after the other. */
.about.is-js .ab-cta__paths[data-reveal] {
    opacity: 1;
    transform: none;
}

.about.is-js .ab-cta__paths li {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.7s var(--ab-ease), transform 0.7s var(--ab-ease);
    transition-delay: calc(0.3s + var(--i) * 0.15s);
}

.about.is-js .ab-cta__paths.is-in li {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .about.is-js .ab-cta__paths li {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
