/* Sector pages (sector.html): shared type, scroll reveals and the hero. The hero is the
   careers and about blue band, with the sector's icon large and faint on the right.
   The sections below the hero: sector-page.css. */
.sector {
    --sc-ink: var(--kd-ink);
    --sc-body: var(--kd-body);
    --sc-brand: var(--kd-brand);
    --sc-ease: cubic-bezier(0.22, 1, 0.36, 1);
    background: #FFFFFF;
    color: var(--sc-body);
}

@media (prefers-reduced-motion: no-preference) {
    html:has(.sector) {
        scroll-behavior: smooth;
    }
}

.sc-inner {
    max-width: 76rem;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.sc-section {
    padding: 5rem 0;
}

@media (min-width: 900px) {
    .sc-section {
        padding: 7rem 0;
    }
}

.sc-section--tint {
    background: #F9FAFB;
}

.sc-kicker {
    margin: 0 0 1rem;
    color: var(--sc-brand);
    font-size: 0.95rem;
    font-weight: 600;
}

.sc-title {
    margin: 0;
    color: var(--sc-ink);
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

/* sector.js adds .is-js, then .is-in to each part as it scrolls into view; --d staggers
   siblings. Without the script everything simply shows. */
.sector.is-js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}

.sector.is-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s var(--sc-ease), transform 0.8s var(--sc-ease);
    transition-delay: calc(var(--d, 0) * 90ms);
}

/* ---------- Hero ---------- */
.sc-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) {
    .sc-hero {
        padding: 9.5rem 0 7.5rem;
    }
}

.sc-hero__icon {
    position: absolute;
    top: 50%;
    right: -5rem;
    width: min(30rem, 80vw);
    opacity: 0.07;
    transform: translateY(-45%);
    pointer-events: none;
}

.sc-hero__icon svg {
    display: block;
    width: 100%;
    height: auto;
    stroke-width: 1.2;
}

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

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

/* "Industries / Government": the way back, and the sector's name. */
.sc-hero__crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1.1rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.sc-hero__crumbs a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sc-hero__crumbs a:hover {
    color: #FFFFFF;
}

.sc-hero__crumbs span[aria-hidden] {
    color: rgba(255, 255, 255, 0.35);
}

.sc-hero__crumbs span[aria-current] {
    color: var(--kd-mint-soft);
}

.sc-hero__title {
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -0.035em;
}

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

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

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

@media (max-width: 639px) {
    .sc-hero__btn {
        flex: 1 1 100%;
    }
}

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

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

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

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

.sc-hero__btn:focus-visible,
.sc-hero__crumbs a:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}

.sc-hero__copy > * {
    animation: sc-rise 0.8s var(--sc-ease) both;
    animation-delay: calc(var(--i, 0) * 70ms);
}

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

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

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