body.home-page {
    display: flex;
    height: 100dvh;
    min-height: 100dvh;
    flex-direction: column;
    overflow: hidden;
    background: #0c2844;
}

body.home-page header {
    flex: 0 0 auto;
}

.home-main {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.home-carousel {
    --slide-duration: 4.8s;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: #0c2844;
    isolation: isolate;
}

.home-carousel::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(112deg, rgba(255,255,255,.1), transparent 37%, rgba(64,216,229,.07) 70%, transparent);
    transform: translateX(-120%);
    animation: carousel-glow 8s ease-in-out infinite;
}

.home-slide {
    position: absolute;
    z-index: 1;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
}

.home-slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

.home-slide::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 25, 49, .88) 0%, rgba(7, 34, 65, .68) 30%, rgba(7, 34, 65, .16) 62%, transparent 82%),
        linear-gradient(0deg, rgba(3, 21, 42, .28), transparent 46%);
}

.home-slide__content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: max(7vw, 4rem);
    width: min(590px, 47vw);
    color: #fff;
    opacity: 0;
    transform: translate3d(-28px, -44%, 0);
    text-shadow: 0 4px 24px rgba(3, 18, 38, .35);
}

.home-slide.is-active .home-slide__content {
    animation: home-caption-in .8s .18s cubic-bezier(.2, .8, .2, 1) both;
}

.home-slide__eyebrow {
    display: inline-flex;
    margin-bottom: 1.15rem;
    padding: .5rem .85rem;
    border: 1px solid rgba(151, 238, 247, .48);
    border-radius: 999px;
    background: rgba(16, 80, 111, .28);
    color: #a9f4f7;
    font-size: clamp(.72rem, .85vw, .92rem);
    font-weight: 900;
    letter-spacing: .11em;
    backdrop-filter: blur(10px);
}

.home-slide__content h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.65rem, 4.5vw, 5.15rem);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.home-slide__content p {
    max-width: 540px;
    margin-top: 1.35rem;
    color: rgba(238, 249, 255, .92);
    font-size: clamp(1rem, 1.3vw, 1.34rem);
    font-weight: 650;
    line-height: 1.8;
}

.home-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06) translate3d(0, 0, 0);
    will-change: transform;
}

.home-slide:nth-child(1).is-active img {animation: home-drift-a var(--slide-duration) ease-out both;}
.home-slide:nth-child(2).is-active img {animation: home-drift-b var(--slide-duration) ease-out both;}
.home-slide:nth-child(3).is-active img {animation: home-drift-c var(--slide-duration) ease-out both;}
.home-slide:nth-child(4).is-active img {animation: home-drift-d var(--slide-duration) ease-out both;}
.home-slide:nth-child(5).is-active img {animation: home-drift-e var(--slide-duration) ease-out both;}
.home-slide:nth-child(6).is-active img {animation: home-drift-f var(--slide-duration) ease-out both;}
.home-slide:nth-child(7).is-active img {animation: home-drift-g var(--slide-duration) ease-out both;}
.home-slide:nth-child(8).is-active img {animation: home-drift-h var(--slide-duration) ease-out both;}

@keyframes home-drift-a {
    from {transform: scale(1.07) translate3d(-1%, 0, 0);}
    to {transform: scale(1.15) translate3d(1%, -1%, 0);}
}

@keyframes home-drift-b {
    from {transform: scale(1.14) translate3d(1.2%, -1%, 0);}
    to {transform: scale(1.07) translate3d(-1.2%, 1%, 0);}
}

@keyframes home-drift-c {
    from {transform: scale(1.07) translate3d(0, 1.2%, 0);}
    to {transform: scale(1.16) translate3d(-1%, -1.3%, 0);}
}

@keyframes home-drift-d {
    from {transform: scale(1.13) translate3d(-1.2%, -1%, 0);}
    to {transform: scale(1.07) translate3d(1.2%, 1%, 0);}
}

@keyframes home-drift-e {
    from {transform: scale(1.08) translate3d(1%, .8%, 0);}
    to {transform: scale(1.16) translate3d(-1.2%, -.8%, 0);}
}

@keyframes home-drift-f {
    from {transform: scale(1.15) translate3d(0, -1.2%, 0);}
    to {transform: scale(1.07) translate3d(0, 1.2%, 0);}
}

@keyframes home-drift-g {
    from {transform: scale(1.08) translate3d(-.8%, .6%, 0);}
    to {transform: scale(1.15) translate3d(.9%, -.8%, 0);}
}

@keyframes home-drift-h {
    from {transform: scale(1.14) translate3d(.8%, -.5%, 0);}
    to {transform: scale(1.07) translate3d(-.8%, .7%, 0);}
}

@keyframes carousel-glow {
    0%, 25% {transform: translateX(-120%);}
    65%, 100% {transform: translateX(120%);}
}

@keyframes home-caption-in {
    from {opacity: 0;transform: translate3d(-28px, -44%, 0);}
    to {opacity: 1;transform: translate3d(0, -50%, 0);}
}

@media (max-width: 760px) {
    .home-slide img {object-position: center center;}
    .home-slide::before {
        background: linear-gradient(90deg, rgba(5, 25, 49, .88), rgba(7, 34, 65, .45) 76%, rgba(7, 34, 65, .2));
    }
    .home-slide__content {
        left: 1.5rem;
        width: calc(100% - 3rem);
    }
    .home-slide__content h1 {font-size: clamp(2.25rem, 11vw, 3.6rem);}
    .home-slide__content p {font-size: .98rem;line-height: 1.65;}
}

@media (prefers-reduced-motion: reduce) {
    .home-carousel::after,
    .home-slide.is-active img,
    .home-slide.is-active .home-slide__content {animation: none;}
    .home-slide {transition-duration: .25s;}
    .home-slide.is-active .home-slide__content {opacity: 1;transform: translate3d(0, -50%, 0);}
}
