/* Crop the original strip from the film so the shared navigation can be used at every size. */
.homepage-video-hero { position: relative; background: #001526; color: #fff; }
.hero-video-composition, .hero-video-stage { position: relative; }
.hero-video-intro { position: absolute; inset: 0 0 auto; aspect-ratio: 16 / 9; z-index: 1; pointer-events: none; }
.hero-video-frame { position: relative; aspect-ratio: 1440 / 667; overflow: hidden; }
.hero-video-poster,
.hero-video-frame > video { position: absolute; inset: 0 0 auto; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.hero-video-robo-dog { position: absolute; left: 22.6%; bottom: 82.3%; transform: translateX(-50%); display: block; width: 23%; height: auto; pointer-events: none; isolation: isolate; }
.hero-video-robo-dog img { display: block; width: 100%; height: auto; }
.hero-video-robo-eyes {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 2px #8173ffb5);
}
.hero-video-transcript { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-video-links { position: absolute; inset: 0 0 auto; aspect-ratio: 16 / 9; pointer-events: none; }
.hero-video-links a { color: #fff; text-decoration: none; pointer-events: auto; }
.hero-video-links a:focus-visible { outline: 3px solid #ff9c10; outline-offset: 3px; }
.hero-video-card {
    position: absolute; display: flex; align-items: center; justify-content: center;
    gap: 0.85vw; box-sizing: border-box; border: 2px solid #76e9fb; border-radius: 9px;
    background: #041426; color: #fff; text-align: center;
    font: 700 clamp(9px, 1.05vw, 22px)/1.05 Arial, sans-serif;
    text-transform: uppercase; white-space: nowrap;
}
.hero-video-card-icon { flex: 0 0 auto; width: clamp(17px, 2.35vw, 53px); height: auto; color: #ff9c10; }
.video-link-erp-hris { left: 41.05%; top: 15.3%; width: 14.1%; height: 7.41%; gap: 0.55vw; }
.video-link-erp-hris a { display: grid; place-items: center; align-self: stretch; padding-inline: .25em; }
.video-link-campus { left: 77.2%; top: 16.3%; width: 11.4%; height: 7.53%; }
.video-link-campus span { max-width: 7ch; white-space: normal; }
.video-link-infrastructure { left: 40.35%; top: 64.82%; width: 16.11%; height: 7.41%; }
.video-link-security { left: 81.46%; top: 40.86%; width: 12.22%; height: 7.41%; }
.video-link-iot { left: 78.89%; top: 65.19%; width: 13.96%; height: 7.41%; }
.video-link-robotics { left: 59.85%; top: 6.25%; width: 12.3%; height: 6.8%; }
.video-link-robotics .hero-video-card-icon { width: clamp(18px, 2.9vw, 64px); }

@media (min-width: 1024px) {
    .homepage-video-hero {
        background: radial-gradient(ellipse at 76% 44%, #06203c 0%, #04152a 46%, #031225 78%);
    }

    .hero-video-composition {
        /* The stage shows the rightmost 61% of the 16:9 source, above its baked-in strip. */
        --hero-art-height: clamp(410px, calc(100svh - 10rem), 550px);
        display: grid;
        grid-template-columns: minmax(0, 1fr) min(58%, calc(var(--hero-art-height) * 1.318));
        align-items: center;
        min-height: 410px;
    }

    .hero-video-intro {
        position: static;
        aspect-ratio: auto;
        pointer-events: auto;
        padding: clamp(16px, 2.3svh, 28px) 16px clamp(20px, 2.7svh, 32px) clamp(40px, 6.4vw, 124px);
        font-family: Manrope, 'DM Sans', Arial, sans-serif;
    }

    .hero-video-lockup { display: flex; flex-direction: column; align-items: center; width: fit-content; max-width: 100%; }
    .hero-video-robo-dog {
        position: relative;
        inset: auto;
        transform: translateY(-19%);
        width: clamp(170px, min(16vw, 35svh), 260px);
        max-width: 100%;
        margin-block: -10px 2px;
    }
    .hero-video-transcript {
        position: static; width: auto; height: auto; padding: 0; margin: 0;
        overflow: visible; clip-path: none; white-space: normal;
    }

    .hero-video-tagline, .hero-video-signoff {
        display: flex; align-items: center; gap: 0.65em;
        text-transform: uppercase;
        font-size: clamp(10px, 0.95vw, 16px);
        line-height: 1.35;
    }
    .hero-video-tagline { color: #ff9c10; font-weight: 800; }
    .hero-video-tagline::before, .hero-video-signoff::before {
        content: ""; flex: 0 0 clamp(20px, 2.2vw, 35px); height: 3px; background: #ff9c10;
    }

    .hero-video-copy h1 {
        margin: 12px 0 14px;
        color: #fff;
        font-size: clamp(34px, min(4.05vw, 8.5svh), 74px);
        font-weight: 800;
        letter-spacing: -0.035em;
        line-height: 0.99;
    }
    .hero-video-copy h1 span { color: #ff9c10; }
    .hero-video-copy p {
        margin: 0;
        max-width: 45ch;
        color: #e6edf6;
        font-size: clamp(14px, 1.25vw, 20px);
        line-height: 1.45;
    }
    .hero-video-copy .hero-video-signoff {
        margin-top: clamp(10px, 2svh, 20px);
        font-size: clamp(10px, 0.9vw, 14px);
    }

    .hero-video-stage {
        width: 100%;
        aspect-ratio: 1.318;
        overflow: hidden;
    }
    /* Anchor the poster, video and clickable cards to the same virtual 16:9 frame. */
    .hero-video-frame, .hero-video-links {
        position: absolute;
        inset: 0 0 auto auto;
        width: calc(100% / 0.61);
        aspect-ratio: 16 / 9;
    }
    .hero-video-frame { mask-image: linear-gradient(to right, transparent 39%, #000 45%, #000 94%, transparent 100%); }
    .hero-video-links { container-type: inline-size; }
    .hero-video-card { font-size: clamp(9px, 1.05cqw, 22px); gap: 0.85cqw; }
    .hero-video-card-icon { width: clamp(17px, 2.35cqw, 53px); }
    .video-link-erp-hris { gap: 0.55cqw; }
    .video-link-robotics .hero-video-card-icon { width: clamp(18px, 2.9cqw, 64px); }

}

.hero-video-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 5px 24px;
    padding: 13px clamp(16px, 6.4vw, 124px);
    background: #ff9518;
    color: #071629;
    font-family: Manrope, 'DM Sans', Arial, sans-serif;
}
.hero-video-strip strong { font-size: clamp(13px, 1.25vw, 20px); font-weight: 800; }
.hero-video-strip ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px clamp(14px, 1.8vw, 32px);
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: clamp(12px, .91vw, 14px);
    font-weight: 800;
    text-transform: uppercase;
}
.hero-video-strip a {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    min-height: 24px;
    color: inherit;
    text-decoration: none;
}
.hero-video-strip a::before {
    content: "";
    width: .32em;
    height: .32em;
    border-radius: 50%;
    background: currentColor;
}
.hero-video-strip a:hover { text-decoration: underline; text-underline-offset: .2em; }
.hero-video-strip a:focus-visible { outline: 2px solid #071629; outline-offset: 3px; }

@media (max-width: 720px) {
    .hero-video-strip { padding: 10px 16px; }
    .hero-video-strip a { min-height: 36px; }
    /* Keep comfortably sized links beneath the film on narrow screens. */
    .hero-video-links { position: static; aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px 16px 20px; }
    .video-link-erp-hris { display: contents; }
    .hero-video-links a {
        position: static; display: grid; place-items: center; width: auto; height: auto; min-height: 44px;
        padding: 8px; border: 1px solid #42758e; background: #062a42; border-radius: 5px;
        color: #fff; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center;
        text-transform: none; white-space: normal;
    }
    .hero-video-card-icon, .video-link-erp-hris [aria-hidden="true"] { display: none; }
    .video-link-campus span { max-width: none; }
    .hero-video-links .video-link-robotics { grid-column: 1 / -1; }
}

.hero-carousel { --hero-slide-info-height: 76px; position: relative; }
.hero-carousel-slides { display: grid; isolation: isolate; }
.hero-carousel-slide { grid-area: 1 / 1; min-width: 0; }
.hero-carousel-slide[aria-hidden="true"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 380ms ease, visibility 0s 380ms;
}
.hero-carousel-slide:not([aria-hidden="true"]) { transition: opacity 380ms ease; }
.hero-carousel-slide[hidden], .hero-carousel-controls[hidden],
.hero-video-frame > video[hidden] { display: none; }
.hero-carousel-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.hero-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 1em;
    min-height: 44px;
    margin-top: clamp(14px, 2.3vw, 24px);
    padding: 10px 18px;
    border-radius: 8px;
    background: #ff9518;
    color: #071629;
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 800;
    text-decoration: none;
}
.hero-feature-link span { transition: transform 180ms ease; }
.hero-feature-link:hover span { transform: translateX(4px); }
.hero-feature-link:hover { background: #ffad49; color: #071629; }
.hero-feature-link:focus-visible,
.hero-carousel-controls button:focus-visible { outline: 2px solid #76e9fb; outline-offset: 2px; }

.hero-carousel-controls {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-inline: auto;
    padding: 2px 5px;
    border-radius: 10px;
    background: #08192cf0;
    color: #fff;
}
.hero-carousel-controls button {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding-inline: 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
}
.hero-carousel-controls button:hover { background: #18324b; }
.hero-carousel-controls button > span { font-size: 27px; line-height: 1; }
.hero-carousel-controls [data-hero-dot]::before {
    content: "";
    width: 9px;
    height: 9px;
    border: 1px solid #e6edf6;
    border-radius: 50%;
}
.hero-carousel-controls [aria-current="true"]::before { border-color: #ff9518; background: #ff9518; }

@media (min-width: 1024px) {
    .hero-carousel-controls { position: absolute; inset: auto 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel-slide[aria-hidden], .hero-carousel-slide:not([aria-hidden]) { transition: none; }
}

.hero-robotics-slide {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    background: #07192b;
    font-family: Manrope, 'DM Sans', Arial, sans-serif;
}
.hero-robotics-stage {
    position: relative;
    grid-area: 1 / 1;
    isolation: isolate;
    min-height: 330px;
    overflow: hidden;
    container-type: size;
    background: #091625;
}
.hero-robotics-stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -20px;
    background: url("/assets/hero-robotics-test-hall-d98397b27707.webp") center / cover;
    filter: blur(16px) brightness(.48);
}
.hero-robotics-photo {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(100%, calc((100cqh - 18px) * 2.5));
    height: calc(100% - 18px);
    max-width: none;
    object-fit: cover;
    object-position: 50% 54%;
    transform: translateX(-50%);
    mask-image: linear-gradient(to right, transparent, #000 11%, #000 89%, transparent),
        linear-gradient(to bottom, #000 93%, transparent);
    mask-composite: intersect;
}
.hero-robotics-heading {
    position: relative;
    padding: clamp(12px, 3.8cqh, 24px) 16px 0;
    text-align: center;
}
.hero-robotics-heading p {
    margin: 0;
    color: #ff9518;
    font-size: clamp(11px, 1.15vw, 17px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.hero-robotics-heading h2 {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin: 4px auto 0;
    color: #fff;
    font-size: clamp(32px, min(5.4vw, 13cqh), 76px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.04em;
}
.hero-robotics-title { display: block; }
.hero-robotics-title > span { color: #ff9518; }
.hero-robotics-size {
    grid-area: 1 / 1;
    align-self: end;
    justify-self: end;
    z-index: 1;
    margin: 0 clamp(22px, 5vw, 96px) clamp(62px, 9svh, 100px) 0;
    padding: 10px 14px;
    color: #edf6ff;
    background: #081b2ded;
    border: 1px solid #456479;
    border-radius: 8px;
}
.hero-robotics-size dt {
    color: #ff9518;
    font-size: clamp(10px, .85vw, 13px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.35;
}
.hero-robotics-size dd { margin: 2px 0 0; }
.hero-robotics-size strong {
    display: block;
    font-size: clamp(16px, 1.55vw, 26px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    line-height: 1.3;
}
.hero-robotics-size dd span { color: #d2e1ed; font-size: 12px; }
.hero-robotics-info {
    display: grid;
    grid-area: 2 / 1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) auto;
    align-items: center;
    gap: clamp(12px, 2vw, 36px);
    min-height: var(--hero-slide-info-height);
    padding: 10px clamp(24px, 6.4vw, 124px);
    border-top: 1px solid #24455d;
    background: #071d31;
    color: #e6edf6;
    font-size: clamp(13px, 1vw, 17px);
    line-height: 1.4;
}
.hero-robotics-info p { margin: 0; }
.hero-robotics-info ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px clamp(12px, 2vw, 32px);
    margin: 0;
    padding: 6px 0 6px clamp(12px, 1.7vw, 30px);
    list-style: none;
    border-inline-start: 1px solid #476579;
}
.hero-robotics-info .hero-feature-link { margin-top: 0; width: max-content; max-width: 100%; }

@media (min-width: 1024px) {
    [data-hero-active="robotics"] > .hero-carousel-controls,
    [data-hero-active="drones"] > .hero-carousel-controls {
        bottom: calc(var(--hero-slide-info-height) + 8px);
    }
}
@media (max-width: 1023px) {
    .hero-robotics-slide { grid-template-rows: minmax(0, 1fr) auto auto; }
    .hero-robotics-stage { min-height: clamp(215px, 46vw, 380px); }
    .hero-robotics-size {
        grid-area: 2 / 1;
        align-self: stretch;
        justify-self: stretch;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 12px;
        margin: 0;
        padding: 8px clamp(20px, 5vw, 48px);
        border: 0;
        border-radius: 0;
    }
    .hero-robotics-size dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; }
    .hero-robotics-info { grid-row: 3; padding-inline: clamp(20px, 5vw, 48px); }
}
@media (max-width: 600px) {
    .hero-robotics-stage { min-height: clamp(215px, 68vw, 330px); }
    .hero-robotics-photo { width: 100%; height: 100%; }
    .hero-robotics-heading { padding-top: 10px; }
    .hero-robotics-heading h2 { font-size: clamp(28px, 7vw, 42px); }
    .hero-robotics-info { grid-template-columns: minmax(0, 1fr); gap: 9px; padding-block: 12px 16px; }
    .hero-robotics-info ul { padding-block: 2px; }
}

@media (prefers-reduced-motion: no-preference) {
    [data-hero-active="robotics"][data-hero-motion="playing"] .hero-robotics-heading h2 {
        --robotics-scan-timing: 900ms cubic-bezier(.4, .03, .25, 1) both;
    }
    [data-hero-active="robotics"][data-hero-motion="playing"] .hero-robotics-title {
        animation: hero-robotics-scan var(--robotics-scan-timing);
    }
    [data-hero-active="robotics"][data-hero-motion="playing"] .hero-robotics-heading h2::after {
        content: "";
        position: absolute;
        inset-block: -.12em;
        left: 0;
        width: max(2px, .045em);
        transform: translateX(-50%);
        border-radius: 999px;
        background: linear-gradient(transparent, #baf7ff 20%, #fff 50%, #76e9fb 80%, transparent);
        box-shadow: 0 0 .15em #76e9fb, 0 0 .38em #38d9ff;
        pointer-events: none;
        animation: hero-robotics-beam var(--robotics-scan-timing);
    }
    [data-hero-active="robotics"][data-hero-motion="playing"] .hero-robotics-heading p,
    [data-hero-active="robotics"][data-hero-motion="playing"] .hero-robotics-size,
    [data-hero-active="robotics"][data-hero-motion="playing"] .hero-robotics-info > * {
        animation: hero-robotics-detail 430ms ease-out both;
    }
    [data-hero-active="robotics"][data-hero-motion="playing"] .hero-robotics-size { animation-delay: 180ms; }
    [data-hero-active="robotics"][data-hero-motion="playing"] .hero-robotics-info p { animation-delay: 240ms; }
    [data-hero-active="robotics"][data-hero-motion="playing"] .hero-robotics-info ul { animation-delay: 320ms; }
    [data-hero-active="robotics"][data-hero-motion="playing"] .hero-robotics-info a { animation-delay: 400ms; }

    @keyframes hero-robotics-scan {
        from { clip-path: inset(-.15em 100% -.15em -.15em); text-shadow: 0 0 .18em #76e9fb; }
        to { clip-path: inset(-.15em 0% -.15em -.15em); text-shadow: none; }
    }
    @keyframes hero-robotics-beam {
        0% { left: 0; opacity: 0; }
        12%, 78% { opacity: 1; }
        100% { left: 100%; opacity: 0; }
    }
    @keyframes hero-robotics-detail {
        from { opacity: 0; transform: translateY(5px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

.hero-drone-slide {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-width: 0;
    background: #0a2033;
    color: #0a2135;
    font-family: Manrope, 'DM Sans', Arial, sans-serif;
}
.hero-drone-stage {
    display: grid;
    grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
    align-items: center;
    container-type: size;
    min-height: 330px;
    overflow: hidden;
    background: linear-gradient(90deg, #f6f7f9b5, #eef0f230 40%, transparent 60%),
        url("/assets/hero-drone-studio-97430b105635.webp") center / cover #c4c7cd;
}
.hero-drone-intro {
    z-index: 1;
    padding: 20px 0 44px clamp(24px, 6.4vw, 124px);
}
.hero-drone-intro .hero-drone-category {
    display: flex;
    align-items: center;
    gap: .72em;
    margin: 0;
    font-size: clamp(11px, 1.04vw, 16px);
    font-weight: 800;
    text-transform: uppercase;
}
.hero-drone-category::before { content: ""; width: 2.2em; height: 2px; background: #d05b00; }
.hero-drone-intro h2 {
    margin: 12px 0 14px;
    color: #0a2135;
    font-size: clamp(34px, min(4.8vw, 15cqh), 75px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.035em;
}
.hero-drone-intro h2 span { color: #bf4a00; }
.hero-drone-description { max-width: 31ch; margin: 0; font-size: clamp(14px, 1.2vw, 19px); line-height: 1.45; }
.hero-drone-intro .hero-feature-link {
    max-width: 100%;
    border-radius: 999px;
    background: #0a2237;
    color: #fff;
}
.hero-drone-intro .hero-feature-link span { color: #ff9518; }
.hero-drone-intro .hero-feature-link:hover { background: #163b55; }
.hero-drone-intro .hero-feature-link:focus-visible { outline-color: #0a2237; }
.hero-drone-visual { display: block; width: min(100%, 212cqh); height: auto; justify-self: center; transform: translateY(-6px); }
.drone-studio-flight { transform-origin: 50% 52%; transform-box: view-box; }
.drone-studio-shadow { opacity: .36; transform-origin: center; transform-box: fill-box; }
.drone-studio-callout { --callout-start: .2s; }
.drone-studio-callout:nth-child(2) { --callout-start: .73s; }
.drone-studio-callout:nth-child(3) { --callout-start: 1.26s; }
.drone-studio-line {
    fill: none;
    stroke: #ff9518;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    filter: drop-shadow(0 0 1px #152f40);
}
.drone-studio-pin { fill: #ff9518; stroke: #0a2237; stroke-width: 1.6; }
.drone-studio-pulse { fill: none; stroke: #ff9518; stroke-width: 1.4; opacity: 0; transform-origin: center; transform-box: fill-box; }
.drone-studio-label rect { fill: #081d30; stroke: #ff9518; stroke-width: 1; }
.drone-studio-label circle { fill: #ff9518; }
.drone-studio-label text { fill: #fff; font-size: 16px; font-weight: 750; }
.hero-drone-info {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(12px, 2.4vw, 42px);
    min-height: var(--hero-slide-info-height);
    padding: 10px clamp(24px, 6.4vw, 124px);
    border-top: 1px solid #294458;
    background: #092135;
    color: #f0f6ff;
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.5;
}
.hero-drone-info p { margin: 0; color: #ff9518; font-weight: 800; text-transform: uppercase; }
.hero-drone-info ul { margin: 0; padding: 0; list-style: none; }
.hero-drone-payloads {
    display: flex;
    flex-wrap: wrap;
    column-gap: clamp(14px, 2.2vw, 36px);
    row-gap: 3px;
    font-weight: 750;
}
.hero-drone-payloads li + li { padding-inline-start: clamp(14px, 2.2vw, 36px); border-inline-start: 1px solid #597588; }
.hero-drone-info .hero-drone-support { padding-inline-start: clamp(14px, 2.3vw, 36px); border-inline-start: 1px solid #597588; }

@media (max-width: 959px) {
    .drone-studio-callouts { display: none; }
    .hero-drone-info { gap: 10px 16px; padding-inline: clamp(20px, 5vw, 48px); }
}
@media (max-width: 720px) {
    .hero-drone-stage { grid-template-columns: minmax(0, 1fr); container-type: inline-size; min-height: 0; }
    .hero-drone-intro { padding: 20px 20px 0; }
    .hero-drone-intro h2 { font-size: clamp(32px, 7vw, 48px); }
    .hero-drone-intro h2 br { display: none; }
    .hero-drone-intro .hero-feature-link { margin-top: 12px; }
    .hero-drone-visual { width: min(100%, 620px); transform: none; }
    .hero-drone-info { grid-template-columns: minmax(0, 1fr); gap: 5px; padding-block: 12px; }
    .hero-drone-info .hero-drone-support { border: 0; padding: 4px 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
    [data-hero-active="drones"][data-hero-motion="playing"] .drone-studio-flight { animation: drone-studio-hover 5s ease-in-out infinite; }
    [data-hero-active="drones"][data-hero-motion="playing"] .drone-studio-shadow { animation: drone-studio-shadow 5s ease-in-out infinite; }
    [data-hero-active="drones"][data-hero-motion="playing"] .hero-drone-rotor {
        transform-origin: center;
        transform-box: fill-box;
        animation: drone-studio-spin 160ms linear infinite;
    }
    [data-hero-active="drones"][data-hero-motion="playing"] .hero-drone-rotor-reverse { animation-direction: reverse; }
    [data-hero-active="drones"][data-hero-motion="playing"] .drone-studio-line { animation: drone-studio-draw 560ms ease-in-out var(--callout-start) both; }
    [data-hero-active="drones"][data-hero-motion="playing"] .drone-studio-pin { animation: drone-studio-show 140ms ease-out var(--callout-start) both; }
    [data-hero-active="drones"][data-hero-motion="playing"] .drone-studio-pulse { animation: drone-studio-signal 460ms ease-out var(--callout-start) both; }
    [data-hero-active="drones"][data-hero-motion="playing"] .drone-studio-label { animation: drone-studio-show 240ms ease-out calc(var(--callout-start) + .44s) both; }

    @keyframes drone-studio-hover { 50% { transform: translateY(-9px) rotate(.45deg); } }
    @keyframes drone-studio-shadow { 50% { transform: scaleX(.89); opacity: .25; } }
    @keyframes drone-studio-spin { to { transform: rotate(360deg); } }
    @keyframes drone-studio-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
    @keyframes drone-studio-show { from { opacity: 0; } to { opacity: 1; } }
    @keyframes drone-studio-signal { from { opacity: .88; transform: scale(.85); } to { opacity: 0; transform: scale(2.6); } }
}


.hero-erp-slide {
    display: grid;
    background: #061625;
    color: #f7fbff;
    font-family: Manrope, 'DM Sans', Arial, sans-serif;
}
.hero-erp-stage {
    position: relative;
    isolation: isolate;
    display: grid;
    align-content: center;
    gap: clamp(22px, 3.4vw, 50px);
    min-height: 410px;
    padding: clamp(30px, 4vw, 60px) clamp(20px, 6vw, 115px) 28px;
    --erp-accent: #ff9d27;
}
.hero-erp-scene {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
}
.hero-erp-scene img,
.hero-erp-scene::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-erp-scene img {
    object-fit: cover;
    object-position: right center;
    transform-origin: 65% 52%;
}
.hero-erp-scene::after {
    content: "";
    background:
        linear-gradient(90deg, #061625 0%, #061625ee 17%, #0616259c 34%, transparent 66%),
        linear-gradient(0deg, #061625e6 0%, #06162590 14%, transparent 41%);
}
.hero-erp-copy { max-width: min(45%, 520px); }
.hero-erp-category {
    margin: 0 0 .7em;
    color: var(--erp-accent);
    font-size: clamp(14px, 1.35vw, 19px);
    font-weight: 800;
    letter-spacing: .065em;
}
.hero-erp-copy h2 {
    margin: 0;
    color: #f7fbff;
    font-size: clamp(34px, 4.1vw, 69px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: .99;
}
.hero-erp-copy h2 span { display: block; color: var(--erp-accent); }
.hero-erp-description {
    margin: .95em 0 0;
    color: #f0f5fb;
    font-size: clamp(15px, 1.35vw, 20px);
    line-height: 1.45;
}
.hero-erp-copy .hero-feature-link { margin-top: clamp(14px, 1.8vw, 23px); }

.hero-erp-workflow {
    --erp-marker-size: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: center;
}
.hero-erp-workflow li {
    position: relative;
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 3px;
    padding-inline: 3px;
    color: #f7fbff;
}
.hero-erp-workflow li::before {
    content: "";
    box-sizing: border-box;
    width: var(--erp-marker-size);
    height: var(--erp-marker-size);
    margin-bottom: 4px;
    border: 1px solid #aabccf;
    border-radius: 50%;
    background: #081b2c;
}
.hero-erp-workflow li::after {
    content: "";
    position: absolute;
    top: calc(var(--erp-marker-size) / 2 - 1px);
    left: 50%;
    box-sizing: border-box;
    width: 9px;
    height: 5px;
    border: solid #081b2c;
    border-width: 0 0 2px 2px;
    transform: translate(-50%, -50%) rotate(-45deg);
    opacity: 0;
}
.hero-erp-workflow strong {
    font-size: clamp(11px, 1.15vw, 16px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .045em;
}
.hero-erp-workflow span { color: #f0f5fb; font-size: clamp(11px, 1.06vw, 15px); }

@media (min-width: 1024px) {
    .hero-erp-stage { padding-bottom: 68px; }
}
@media (max-width: 767px) {
    .hero-erp-stage { gap: 0; min-height: 0; padding: 27px 20px 20px; }
    .hero-erp-copy { max-width: 100%; }
    .hero-erp-copy h2 { max-width: 18ch; }
    .hero-erp-scene {
        position: relative;
        grid-row: 2;
        min-height: clamp(170px, 45vw, 300px);
        margin: -13px -20px 0;
    }
    .hero-erp-scene::after {
        background: linear-gradient(180deg, #061625 0%, transparent 30%, transparent 72%, #061625);
    }
    .hero-erp-workflow { margin-top: 6px; }
    .hero-erp-copy { z-index: 1; }
}

@media (prefers-reduced-motion: no-preference) {
    [data-hero-active="erp"][data-hero-motion="playing"] .hero-erp-scene img {
        animation: hero-erp-camera-push 4s ease-out both;
    }
    [data-hero-active="erp"][data-hero-motion="playing"] .hero-erp-workflow li::before {
        animation: hero-erp-marker .42s var(--erp-step-delay, .35s) ease-out both;
    }
    [data-hero-active="erp"][data-hero-motion="playing"] .hero-erp-workflow li::after {
        animation: hero-erp-check .42s var(--erp-step-delay, .35s) ease-out both;
    }
    .hero-erp-workflow li:nth-child(2) { --erp-step-delay: 1.45s; }
    .hero-erp-workflow li:nth-child(3) { --erp-step-delay: 2.55s; }

    @keyframes hero-erp-camera-push {
        from { transform: scale(1); }
        to { transform: scale(1.08); }
    }
    @keyframes hero-erp-marker {
        0% { transform: scale(1); }
        65% {
            border-color: var(--erp-accent);
            background: var(--erp-accent);
            transform: scale(1.15);
        }
        100% {
            border-color: var(--erp-accent);
            background: var(--erp-accent);
            transform: scale(1);
        }
    }
    @keyframes hero-erp-check {
        0%, 40% { opacity: 0; }
        100% { opacity: 1; }
    }
}

.hero-hris-slide {
    display: grid;
    background: #07182b;
    color: #f7fbff;
    font-family: Manrope, 'DM Sans', Arial, sans-serif;
}
.hero-hris-stage {
    --hris-accent: #ff9d27;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 24%);
    align-items: center;
    gap: clamp(24px, 4vw, 60px);
    min-height: 410px;
    padding: 34px clamp(20px, 6vw, 115px);
}
.hero-hris-scene {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 auto;
    width: min(100%, 1780px);
    overflow: hidden;
}
.hero-hris-scene img,
.hero-hris-scene svg,
.hero-hris-scene::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-hris-scene img { object-fit: cover; object-position: center; }
.hero-hris-scene::after {
    content: "";
    background: linear-gradient(90deg, #07182bf0, #07182b80 33%, transparent 59%);
}
.hero-hris-reader-light {
    opacity: 0;
    stroke: #fff3c8;
    stroke-width: 5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 12px #ff9d27);
}
.hero-hris-copy { max-width: min(100%, 610px); }
.hero-hris-category {
    margin: 0 0 .7em;
    color: var(--hris-accent);
    font-size: clamp(14px, 1.35vw, 19px);
    font-weight: 800;
    letter-spacing: .065em;
}
.hero-hris-copy h2 {
    margin: 0;
    color: #f7fbff;
    font-size: clamp(33px, 4.6vw, 74px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.01;
}
.hero-hris-copy h2 span { display: block; color: var(--hris-accent); }
.hero-hris-description {
    max-width: min(100%, 36ch);
    margin: .95em 0 0;
    color: #f0f5fb;
    font-size: clamp(15px, 1.35vw, 20px);
    line-height: 1.45;
}
.hero-hris-workflow {
    --hris-step-gap: clamp(10px, 1.15vw, 18px);
    --hris-marker: .64rem;
    justify-self: end;
    display: grid;
    gap: var(--hris-step-gap);
    width: min(100%, 335px);
    box-sizing: border-box;
    margin: 0;
    padding: clamp(15px, 1.7vw, 27px);
    border: 1px solid #8ba6bd;
    border-radius: 12px;
    background: #071a2de8;
    box-shadow: 0 16px 36px #04112054;
    list-style: none;
}
.hero-hris-workflow li {
    position: relative;
    display: grid;
    gap: 2px;
    padding-inline-start: calc(var(--hris-marker) + .75rem);
    color: #f7fbff;
    line-height: 1.35;
}
.hero-hris-workflow li::before,
.hero-hris-workflow li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: .7em;
    left: calc(var(--hris-marker) / 2);
    transform: translate(-50%, -50%);
}
.hero-hris-workflow li::before {
    z-index: 1;
    width: var(--hris-marker);
    aspect-ratio: 1;
    border-radius: 50%;
    background: currentColor;
}
.hero-hris-workflow li:not(:last-child)::after {
    width: 1px;
    height: calc(100% + var(--hris-step-gap));
    transform: translateX(-50%);
    background: #96aec9;
}
.hero-hris-workflow li:nth-child(2) { color: var(--hris-accent); }
.hero-hris-workflow strong { font-size: clamp(13px, 1.18vw, 18px); font-weight: 800; }
.hero-hris-workflow span { color: #dce6ef; font-size: clamp(12px, 1vw, 15px); }

@media (min-width: 1024px) {
    .hero-hris-stage { padding-bottom: 68px; }
}
@media (max-width: 767px) {
    .hero-hris-stage {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        min-height: 0;
        padding: 27px 20px 20px;
    }
    .hero-hris-scene {
        position: relative;
        grid-row: 2;
        width: auto;
        min-height: clamp(165px, 44vw, 290px);
        margin: -12px -20px 0;
    }
    .hero-hris-scene::after {
        background: linear-gradient(180deg, #07182b, transparent 24%, transparent 78%, #07182b);
    }
    .hero-hris-copy { z-index: 1; }
    .hero-hris-workflow {
        justify-self: stretch;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        width: 100%;
        padding: 12px 4px;
        text-align: center;
    }
    .hero-hris-workflow li { align-content: start; padding: 16px 3px 0; }
    .hero-hris-workflow li::before,
    .hero-hris-workflow li:not(:last-child)::after { top: 5px; left: 50%; }
    .hero-hris-workflow li:not(:last-child)::after { width: 100%; height: 1px; transform: none; }
    .hero-hris-workflow strong { font-size: clamp(11px, 2.8vw, 14px); }
    .hero-hris-workflow span { font-size: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
    [data-hero-active="hris"][data-hero-motion="playing"] .hero-hris-reader-light {
        animation: hero-hris-light .9s ease-out both;
    }
    [data-hero-active="hris"][data-hero-motion="playing"] .hero-hris-workflow li {
        animation: hero-hris-event 1.27s var(--hris-delay, .27s) ease-in-out both;
    }
    [data-hero-active="hris"][data-hero-motion="playing"] .hero-hris-workflow li:nth-child(2) { --hris-delay: 1.49s; }
    [data-hero-active="hris"][data-hero-motion="playing"] .hero-hris-workflow li:nth-child(3) { --hris-delay: 2.68s; }
    @keyframes hero-hris-light {
        0%, 100% { opacity: 0; }
        22%, 39% { opacity: 1; }
    }
    @keyframes hero-hris-event {
        0%, 100% { color: #f7fbff; }
        12%, 82% { color: var(--hris-accent); }
    }
}

@media (max-width: 420px) {
    .hero-carousel-controls [data-hero-dot] { min-width: clamp(26px, 9vw, 36px); }
}

.hero-dms-slide {
    display: grid;
    background: #07182b;
    color: #f7fbff;
    font-family: Manrope, 'DM Sans', Arial, sans-serif;
}
.hero-dms-stage {
    --dms-accent: #ff9d27;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(235px, 32%);
    gap: clamp(18px, 4vw, 65px);
    align-items: center;
    min-height: 410px;
    padding: clamp(26px, 3.1vw, 54px) clamp(20px, 5.5vw, 105px);
}
.hero-dms-scene {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 auto;
    width: min(100%, 1880px);
    overflow: hidden;
}
.hero-dms-scene img,
.hero-dms-scene svg,
.hero-dms-scene::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-dms-scene img { object-fit: cover; object-position: right center; }
.hero-dms-scene::after {
    content: "";
    background: linear-gradient(90deg, #07182b 0%, #07182bd1 23%, #07182b55 40%, transparent 65%);
}
.hero-dms-scanner-flash { opacity: 0; }
.hero-dms-copy { max-width: min(100%, 610px); }
.hero-dms-category {
    margin: 0 0 .7em;
    color: var(--dms-accent);
    font-size: clamp(13px, 1.12vw, 18px);
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.hero-dms-copy h2 {
    margin: 0;
    color: #f7fbff;
    font-size: clamp(33px, 4.45vw, 74px);
    font-weight: 800;
    letter-spacing: -.047em;
    line-height: 1.02;
}
.hero-dms-copy h2 span { display: block; color: var(--dms-accent); }
.hero-dms-description {
    max-width: 39ch;
    margin: .95em 0 0;
    color: #f0f5fb;
    font-size: clamp(15px, 1.35vw, 20px);
    line-height: 1.45;
}
.hero-dms-copy .hero-feature-link { gap: .7em; }

.hero-dms-panel {
    align-self: start;
    justify-self: end;
    box-sizing: border-box;
    width: min(100%, 440px);
    padding: clamp(12px, 1.45vw, 22px);
    border: 1px solid #7194b3;
    border-radius: 12px;
    background: #071c31f2;
    box-shadow: 0 14px 30px #04112066;
}
.hero-dms-search {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border: 1px solid #6d8aa4;
    border-radius: 7px;
    background: #1d364d;
    color: #f0f5fb;
    font-size: clamp(13px, 1.1vw, 17px);
    font-weight: 750;
}
.hero-dms-search svg { flex: 0 0 auto; width: 19px; height: 19px; color: #d2deeb; }
.hero-dms-result {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: clamp(8px, 1.1vw, 16px);
    margin-top: clamp(9px, 1.1vw, 15px);
    padding-top: clamp(9px, 1.1vw, 15px);
    border-top: 1px solid #53718d;
    font-size: clamp(12px, 1vw, 15px);
    line-height: 1.4;
}
.hero-dms-file-icon {
    display: grid;
    place-items: center;
    width: clamp(32px, 3.3vw, 48px);
    aspect-ratio: 1;
    border-radius: 7px;
    background: #1d364d;
}
.hero-dms-file-icon svg { width: 68%; height: auto; }
.hero-dms-result strong { font-size: clamp(13px, 1.2vw, 18px); font-weight: 800; }
.hero-dms-result p { margin: 4px 0; color: #e0e9f3; }
.hero-dms-result mark { padding-inline: .13em; border-radius: 3px; background: #ffe494; color: #1a1c20; }
.hero-dms-status { color: var(--dms-accent); font-weight: 800; }

@media (min-width: 1024px) {
    .hero-dms-stage { padding-bottom: 68px; }
}
@media (max-width: 767px) {
    .hero-dms-stage {
        grid-template-columns: minmax(0, 1fr);
        align-content: center;
        gap: 0;
        min-height: 0;
        padding: 27px 20px 20px;
    }
    .hero-dms-copy { z-index: 1; }
    .hero-dms-scene {
        position: relative;
        grid-row: 2;
        width: auto;
        min-height: clamp(140px, 43vw, 260px);
        margin: -10px -20px 0;
    }
    .hero-dms-scene::after {
        background: linear-gradient(180deg, #07182b, transparent 27%, transparent 78%, #07182b);
    }
    .hero-dms-panel { justify-self: start; width: min(100%, 440px); }
}

@media (prefers-reduced-motion: no-preference) {
    [data-hero-active="dms"][data-hero-motion="playing"] .hero-dms-scanner-flash {
        animation: hero-dms-scan .82s ease-in-out both;
    }
    [data-hero-active="dms"][data-hero-motion="playing"] .hero-dms-query {
        animation: hero-dms-type .65s steps(17, end) .55s both;
    }
    [data-hero-active="dms"][data-hero-motion="playing"] .hero-dms-result {
        animation: hero-dms-result-in .45s ease-out 1.25s both;
    }
    [data-hero-active="dms"][data-hero-motion="playing"] .hero-dms-result mark {
        animation: hero-dms-match .35s ease-out 1.72s both;
    }
    [data-hero-active="dms"][data-hero-motion="playing"] .hero-dms-status {
        display: inline-block;
        animation: hero-dms-result-in .32s ease-out 2.35s both;
    }
    @keyframes hero-dms-scan {
        0%, 100% { opacity: 0; }
        30% { opacity: .76; }
    }
    @keyframes hero-dms-type {
        from { clip-path: inset(0 100% 0 0); }
        to { clip-path: inset(0); }
    }
    @keyframes hero-dms-result-in {
        from { opacity: 0; transform: translateY(5px); }
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes hero-dms-match {
        from { color: #e0e9f3; background: transparent; }
        to { color: #1a1c20; background: #ffe494; }
    }
}

.hero-campus-slide {
    display: grid;
    background: #07182b;
    color: #f7fbff;
    font-family: Manrope, 'DM Sans', Arial, sans-serif;
}
.hero-campus-stage {
    --campus-accent: #ff9d27;
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    justify-items: start;
    min-height: 410px;
    padding: clamp(28px, 4vw, 60px) clamp(20px, 5.5vw, 105px);
}
.hero-campus-scene {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 auto;
    width: min(100%, 1500px);
    overflow: hidden;
    container-type: size;
}
.hero-campus-frame {
    /* Crop the photograph and its markers together. */
    position: absolute;
    top: 50%;
    right: 0;
    width: max(100cqw, calc(100cqh * 1672 / 941));
    aspect-ratio: 1672 / 941;
    transform: translateY(-50%);
}
.hero-campus-frame img,
.hero-campus-frame::after,
.hero-campus-markers {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-campus-frame::after {
    content: "";
    background: linear-gradient(90deg, #07182b 0%, #07182be8 19%, #07182b88 36%, transparent 62%);
}
.hero-campus-copy { max-width: min(46%, 630px); }
.hero-campus-category {
    margin: 0 0 .7em;
    color: var(--campus-accent);
    font-size: clamp(13px, 1.15vw, 18px);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.hero-campus-copy h2 {
    margin: 0;
    color: #f7fbff;
    font-size: clamp(33px, 4.15vw, 69px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.02;
}
.hero-campus-copy h2 span { display: block; color: var(--campus-accent); }
.hero-campus-description {
    max-width: 37ch;
    margin: .95em 0 0;
    color: #f0f5fb;
    font-size: clamp(15px, 1.35vw, 20px);
    line-height: 1.45;
}

.hero-campus-markers {
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hero-campus-marker {
    --campus-pin: clamp(8px, 1vw, 14px);
    position: absolute;
    display: flex;
    align-items: center;
    gap: 4px;
    transform: translate(calc(var(--campus-pin) / -2), -50%);
    white-space: nowrap;
}
.hero-campus-marker::before {
    content: "";
    box-sizing: border-box;
    width: var(--campus-pin);
    height: var(--campus-pin);
    border: 2px solid #07182b;
    border-radius: 50%;
    background: #fff;
}
.hero-campus-marker span {
    padding: .31em .66em;
    border: 1px solid #536a80;
    border-radius: 999px;
    background: #07182bf2;
    color: #fff;
    font-size: clamp(11px, 1.05vw, 16px);
    font-weight: 800;
    line-height: 1.15;
}
.hero-campus-admissions { top: 63.9%; left: 42.3%; }
.hero-campus-enrollment { top: 48.5%; left: 73.6%; }
.hero-campus-records { top: 28.4%; left: 84.2%; }

@media (min-width: 1024px) {
    .hero-campus-stage { padding-bottom: 68px; }
}
@media (max-width: 900px) {
    .hero-campus-stage {
        align-content: center;
        min-height: 0;
        padding: 27px 20px 20px;
    }
    .hero-campus-copy { max-width: min(100%, 600px); z-index: 1; }
    .hero-campus-scene {
        position: relative;
        grid-row: 2;
        width: auto;
        justify-self: stretch;
        min-height: clamp(184px, 60vw, 370px);
        margin: -9px -20px 0;
    }
    .hero-campus-frame::after {
        background: linear-gradient(180deg, #07182b, transparent 23%, transparent 86%, #07182b);
    }
    .hero-campus-enrollment,
    .hero-campus-records {
        flex-direction: row-reverse;
        transform: translate(calc(-100% + var(--campus-pin) / 2), -50%);
    }
}

@media (prefers-reduced-motion: no-preference) {
    [data-hero-active="campus"][data-hero-motion="playing"] .hero-campus-marker::before {
        animation: hero-campus-pin 1.1s var(--campus-delay, .18s) ease-in-out both;
    }
    [data-hero-active="campus"][data-hero-motion="playing"] .hero-campus-marker span {
        animation: hero-campus-label 1.1s var(--campus-delay, .18s) ease-in-out both;
    }
    .hero-campus-enrollment { --campus-delay: 1.41s; }
    .hero-campus-records { --campus-delay: 2.64s; }

    @keyframes hero-campus-pin {
        0%, 100% { background: #fff; box-shadow: none; }
        17%, 78% { background: var(--campus-accent); box-shadow: 0 0 0 5px #ff9d2750; }
    }
    @keyframes hero-campus-label {
        0%, 100% { background: #07182bf2; border-color: #536a80; color: #fff; }
        17%, 78% { background: var(--campus-accent); border-color: var(--campus-accent); color: #07182b; }
    }
}
