@font-face {
    font-family: "Balt Futura Light";
    src: url("../fonts/futura-light-subset.otf") format("opentype");
    font-style: normal;
    font-weight: 300;
    font-display: block;
}

@font-face {
    font-family: "Balt Futura Medium";
    src: url("../fonts/futura-medium-subset.otf") format("opentype");
    font-style: normal;
    font-weight: 500;
    font-display: block;
}

:root {
    --green: #298a54;
    --dark-green: #014d41;
    --soft-grey: #e6e6e6;
    --layout-scale-x: 1;
    --layout-scale-y: 1;
    --content-scale-x: 1;
    --content-scale-y: 1;
    --footer-scale-x: 1;
    --footer-scale-y: 1;
    --stage-height: 100svh;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--green);
    color: var(--dark-green);
    font-family: "Century Gothic", Futura, Arial, sans-serif;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

.stage {
    position: relative;
    width: 100%;
    height: 100vh;
    height: var(--stage-height);
    overflow: hidden;
    background: var(--green);
}

.design {
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    background: var(--green);
    transform: scale(var(--layout-scale-x), var(--layout-scale-y));
    transform-origin: 0 0;
}

.background-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mobile-white-art {
    display: none;
}

.mobile-hero-panel {
    position: static;
}

.hero-copy {
    position: absolute;
    inset: 0;
}

.exact-light,
.exact-medium {
    white-space: pre;
}

.exact-light {
    font-family: "Balt Futura Light", "Century Gothic", Futura, sans-serif;
    font-weight: 300;
}

.exact-medium {
    font-family: "Balt Futura Medium", "Century Gothic", Futura, sans-serif;
    font-weight: 500;
}

.eyebrow {
    position: absolute;
    top: 104px;
    left: 96.96px;
    margin: 0;
    color: var(--dark-green);
    font-size: 44px;
    line-height: 1;
    transform: scale(var(--content-scale-x), var(--content-scale-y)) scaleX(.9747);
    transform-origin: 0 0;
}

.headline {
    position: absolute;
    top: 171px;
    left: 92px;
    display: flex;
    flex-direction: column;
    margin: 0;
    color: var(--green);
    font-size: 112px;
    font-weight: 300;
    line-height: .929;
    letter-spacing: 0;
    transform: scale(var(--content-scale-x), var(--content-scale-y)) scaleX(.966);
    transform-origin: 0 0;
}

.headline span {
    display: block;
}

.video-card {
    position: absolute;
    top: 459px;
    left: 100px;
    width: 544.401px;
    height: 308.286px;
    overflow: hidden;
    border-radius: 17.82px;
    background: var(--soft-grey);
    transform: scale(var(--content-scale-x), var(--content-scale-y));
    transform-origin: 0 0;
}

.company-video {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.video-card.is-placeholder .company-video {
    visibility: hidden;
}

.video-toggle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 112px;
    height: 112px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--dark-green);
    background: transparent;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.video-toggle:disabled {
    cursor: default;
    opacity: 1;
}

.video-toggle svg {
    display: block;
    width: 100%;
    height: 100%;
}

.video-card:not(.is-playing) .pause-icon,
.video-card.is-playing .play-icon {
    display: none;
}

.video-card.is-playing .video-toggle {
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.video-controls {
    position: absolute;
    right: 20px;
    bottom: 16px;
    left: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgb(1 77 65 / 82%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.video-card.has-started.controls-visible .video-controls {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
    .video-card.has-started:hover .video-controls,
    .video-card.has-started:focus-within .video-controls {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

.video-card.is-placeholder .video-controls {
    display: none;
}

.video-progress {
    --progress: 0%;
    width: 100%;
    height: 5px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    outline: none;
    background: linear-gradient(
        to right,
        #fff 0,
        #fff var(--progress),
        rgb(255 255 255 / 38%) var(--progress),
        rgb(255 255 255 / 38%) 100%
    );
    cursor: pointer;
    appearance: none;
}

.video-progress::-webkit-slider-runnable-track {
    height: 5px;
    border-radius: 999px;
    background: transparent;
}

.video-progress::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    margin-top: -5.5px;
    border: 2px solid var(--dark-green);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgb(0 0 0 / 28%);
    appearance: none;
}

.video-progress::-moz-range-track {
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: transparent;
}

.video-progress::-moz-range-progress {
    height: 5px;
    border-radius: 999px;
    background: #fff;
}

.video-progress::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 2px solid var(--dark-green);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgb(0 0 0 / 28%);
}

.video-progress:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}

.footer {
    color: #fff;
}

.socials {
    position: absolute;
    top: 1002px;
    left: 98px;
    display: flex;
    align-items: center;
    height: 35px;
    transform: scale(var(--footer-scale-x), var(--footer-scale-y));
    transform-origin: 0 0;
}

.social-label {
    margin-right: 19.65px;
    font-size: 22px;
    line-height: 1;
    transform: scaleX(.9884);
    transform-origin: 0 0;
}

.social-link {
    display: block;
    width: 34px;
    height: 34px;
    color: #fff;
}

.social-link + .social-link {
    margin-left: 22px;
}

.social-link svg {
    display: block;
    width: 100%;
    height: 100%;
}

.more-info {
    position: absolute;
    top: 996px;
    left: 540px;
    transform: scale(var(--footer-scale-x), var(--footer-scale-y));
    transform-origin: 0 0;
}

.more-title,
.website-link {
    display: block;
    margin: 0;
    font-size: 22px;
    line-height: 1;
}

.more-title {
    transform: scaleX(.9924);
    transform-origin: 0 0;
}

.website-link {
    margin-top: 4px;
    transform: scaleX(.98);
    transform-origin: 0 0;
}

.legal {
    position: absolute;
    top: 1018px;
    left: 1252px;
    display: flex;
    align-items: center;
    gap: 31.23px;
    font-size: 15px;
    line-height: 1;
    transform: scale(var(--footer-scale-x), var(--footer-scale-y)) scaleX(.9886);
    transform-origin: 0 0;
}

.logo-bubble {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    width: 390px;
    height: 295px;
    transform: scale(var(--content-scale-x), var(--content-scale-y));
    transform-origin: 100% 100%;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 5px;
}

@media (min-width: 901px) and (max-width: 1360px) and (min-aspect-ratio: 751 / 1000) {
    .background-art {
        transform: translateY(-120px);
    }

    .footer {
        position: absolute;
        bottom: 40px;
        left: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        transform: scale(var(--footer-scale-x), var(--footer-scale-y));
        transform-origin: 0 100%;
    }

    .more-info,
    .socials {
        position: static;
        top: auto;
        left: auto;
        transform: none;
    }

    .legal {
        position: static;
        top: auto;
        left: auto;
        transform: scaleX(.9886);
    }
}

@media (min-width: 1361px) and (max-height: 930px) {
    .more-info {
        top: 950px;
    }

    .socials {
        top: 956px;
    }

    .legal {
        top: 972px;
    }
}

@media (max-width: 900px), (max-aspect-ratio: 3 / 4) {
    body {
        overflow: auto;
    }

    .stage {
        height: auto;
        min-height: 100vh;
        min-height: 100svh;
        overflow: hidden;
    }

    .design {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        min-height: 100vh;
        min-height: 100svh;
        transform: none;
        transform-origin: initial;
    }

    .background-art {
        display: none;
    }

    .mobile-hero-panel {
        position: relative;
        padding-bottom: 20px;
        background: #fff;
    }

    .mobile-white-art {
        position: absolute;
        top: auto;
        bottom: -36px;
        left: -30%;
        z-index: 0;
        display: block;
        width: 160%;
        height: 72px;
        border-radius: 0 0 50% 50% / 0 0 100% 100%;
        background: #fff;
    }

    .hero-copy {
        position: relative;
        inset: auto;
        z-index: 1;
        padding: 38px 24px 0;
    }

    .eyebrow {
        position: static;
        font-size: 25px;
        transform: none;
    }

    .headline {
        position: static;
        width: 100%;
        margin-top: 26px;
        font-size: clamp(39px, 11.5vw, 60px);
        line-height: .98;
        white-space: normal;
        transform: none;
    }

    .headline span {
        white-space: normal;
    }

    .headline span + span {
        margin-top: 9px;
    }

    .video-card {
        position: relative;
        top: auto;
        left: auto;
        z-index: 1;
        width: min(calc(100% - 48px), 620px);
        height: calc((100vw - 48px) * .5625);
        max-height: 348.75px;
        margin: 60px 0 0 24px;
        aspect-ratio: 16 / 9;
        border-radius: 13px;
        transform: none;
    }

    .footer {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        margin-top: clamp(72px, 18vw, 104px);
        padding: 0 24px 30px;
        padding-bottom: max(30px, env(safe-area-inset-bottom));
    }

    .logo-bubble {
        right: 0;
        bottom: 0;
        z-index: 2;
        display: block;
        width: clamp(105px, 30vw, 124px);
        height: auto;
        transform: none;
    }

    .video-toggle {
        width: 74px;
        height: 74px;
    }

    .socials {
        position: static;
        top: auto;
        bottom: auto;
        left: auto;
        transform: none;
    }

    .social-label,
    .more-title,
    .website-link {
        font-size: 17px;
    }

    .social-label {
        margin-right: 15px;
        transform: none;
    }

    .social-link {
        width: 30px;
        height: 30px;
    }

    .social-link + .social-link {
        margin-left: 15px;
    }

    .more-info {
        position: static;
        top: auto;
        bottom: auto;
        left: auto;
        transform: none;
    }

    .more-title,
    .website-link,
    .legal {
        transform: none;
    }

    .legal {
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        gap: 18px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
