@font-face {
    font-family: "TT Norms Pro";
    src: url("./home-hero/fonts/TTNormsPro-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "TT Norms Pro";
    src: url("./home-hero/fonts/TTNormsPro-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "TT Norms Pro";
    src: url("./home-hero/fonts/TTNormsPro-DemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "TT Norms Pro";
    src: url("./home-hero/fonts/TTNormsPro-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

.gnc-video-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    background: #031c42;
    font-family: "TT Norms Pro", Arial, sans-serif;
}

.gnc-video-hero-media,
.gnc-video-hero-shade {
    position: absolute;
    inset: 0;
}

.gnc-video-hero-media {
    z-index: 0;
    background: #031c42 url('./home-hero/gncpower-showreel-poster.jpg') center / cover no-repeat;
}

.gnc-video-hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gnc-video-hero-shade {
    z-index: 1;
    background: linear-gradient(90deg, rgba(3, 19, 45, .82) 0%, rgba(3, 28, 66, .59) 52%, rgba(3, 28, 66, .46) 100%);
    pointer-events: none;
}

.gnc-video-hero > .container,
.gnc-video-hero > .container > .row {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100svh;
}

.gnc-video-hero > .container > .row {
    align-items: center;
}

.gnc-video-hero .rs-banner-content {
    padding-top: clamp(120px, 15vh, 170px);
    padding-bottom: clamp(115px, 15vh, 160px);
}

.gnc-video-hero .rs-banner-subtitle,
.gnc-video-hero .gnc-hero-title,
.gnc-video-hero .gnc-hero-description,
.gnc-video-hero .rs-btn-text,
.gnc-scroll-cue {
    font-family: "TT Norms Pro", Arial, sans-serif;
}

.gnc-video-hero .rs-banner-subtitle {
    margin-inline-start: 0;
    margin-bottom: 1.6rem;
    font-size: clamp(1.8rem, 1.7vw, 2.2rem);
    line-height: 1.3;
    text-transform: none;
}

.gnc-hero-copy-rotator {
    display: grid;
    max-width: 100%;
}

.gnc-hero-copy-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s cubic-bezier(.25, 1, .5, 1), visibility 0s linear .4s;
}

.gnc-hero-copy-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s cubic-bezier(.25, 1, .5, 1);
}

.gnc-video-hero .gnc-hero-title {
    max-width: 96rem;
    margin: 0;
    color: #fff;
    font-size: clamp(5.2rem, 5.4vw, 7.2rem);
    font-weight: 700;
    line-height: 1.09;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.gnc-hero-title span {
    display: block;
    white-space: nowrap;
}

.gnc-video-hero .gnc-hero-description {
    max-width: 62ch;
    margin: 2rem 0 0;
    color: rgba(255, 255, 255, .96);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.6;
}

.gnc-video-hero .rs-banner-info-btn {
    margin-top: 1.8rem;
}

.gnc-hero-progress {
    position: absolute;
    z-index: 4;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    pointer-events: none;
}

.gnc-hero-progress-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: #eb651b;
    transform: scaleX(0);
    transform-origin: left center;
}

.gnc-hero-progress-fill.is-playing {
    animation: gnc-hero-fill 11s linear forwards;
}

.gnc-hero-progress-fill.is-paused {
    animation-play-state: paused;
}

@keyframes gnc-hero-fill {
    to { transform: scaleX(1); }
}

.gnc-scroll-cue {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: clamp(24px, 5vh, 54px);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.gnc-scroll-cue:hover,
.gnc-scroll-cue:focus-visible {
    color: #fff;
}

.gnc-scroll-cue:focus-visible {
    outline: 2px solid #eb651b;
    outline-offset: 8px;
}

.gnc-scroll-cue-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .12em;
}

.gnc-scroll-cue-icon {
    display: grid;
    place-items: center;
    width: 29px;
    height: 43px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 16px;
    background: rgba(3, 28, 66, .3);
}

.gnc-scroll-cue-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #eb651b;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: gnc-scroll-cue-bob 1.8s ease-in-out infinite;
}

@keyframes gnc-scroll-cue-bob {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(3px); }
}

@media (max-width: 767px) {
    .gnc-video-hero .rs-banner-content {
        padding-top: 125px;
        padding-bottom: 135px;
    }

    .gnc-video-hero .gnc-hero-title {
        font-size: clamp(2.4rem, 6.3vw, 4.2rem);
        line-height: 1.12;
    }

    .gnc-video-hero .rs-banner-subtitle {
        font-size: clamp(1.6rem, 3.2vw, 1.8rem);
    }

    .gnc-video-hero .gnc-hero-description {
        max-width: 62ch;
        font-size: 1.6rem;
        line-height: 1.6;
    }

    .gnc-scroll-cue {
        bottom: 22px;
        gap: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gnc-video-hero-video {
        display: none;
    }

    .gnc-scroll-cue-icon svg {
        animation: none;
    }

    .gnc-hero-copy-slide,
    .gnc-hero-copy-slide.is-active {
        transition: none;
    }

    .gnc-hero-progress {
        display: none;
    }
}
