/* ============================================
   FONTS
   ============================================ */

@font-face {
    font-family: 'NHaasGroteskDSPro';
    src: url('fonts/NHaasGroteskDSPro-35XLt.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NHaasGroteskDSPro';
    src: url('fonts/NHaasGroteskDSPro-45Lt.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NHaasGroteskDSPro';
    src: url('fonts/NHaasGroteskDSPro-55Rg.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NHaasGroteskDSPro';
    src: url('fonts/NHaasGroteskDSPro-65Md.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NHaasGroteskDSPro';
    src: url('fonts/NHaasGroteskDSPro-75Bd.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OrpheusPro';
    src: url('fonts/OrpheusPro-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}


/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'NHaasGroteskDSPro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #000;
    color: #fff;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}


/* ============================================
   UTILITIES
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ============================================
   BACKGROUND VIDEO
   ============================================ */

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}


/* ============================================
   PAGE LAYOUT (Flexbox)
   ============================================ */

.page {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    padding: 48px 64px;
}


/* ============================================
   HEADER / LOGO
   ============================================ */

.header {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    animation: fadeIn 0.8s ease-out both;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.logo svg {
    height: 20px;
    width: auto;
}


/* ============================================
   DESKTOP HERO (three columns)
   ============================================ */

.hero-desktop {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn 1s ease-out 0.15s both;
}

.hero-left {
    font-size: 24px;
    font-weight: 300;
    line-height: 25px;
    max-width: 260px;
    flex-shrink: 0;
}

.hero-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-icon svg {
    width: 150px;
    height: auto;
}

.hero-right {
    font-size: 24px;
    line-height: 1.4;
    text-align: right;
    flex-shrink: 0;
}


/* ============================================
   MOBILE HERO (hidden on desktop)
   ============================================ */

.hero-mobile {
    display: none;
}

.hero-heading {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.25;
    max-width: 340px;
}

.hero-heading strong {
    font-weight: 700;
}

.inline-icon {
    display: inline-block;
    width: 26px;
    height: 22px;
    vertical-align: baseline;
    position: relative;
    top: 1px;
}


/* ============================================
   BOTTOM SECTION
   ============================================ */

.bottom {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    margin-top: auto;
    animation: fadeIn 1s ease-out 0.3s both;
}

.bottom-inner {
    max-width: 552px;
    text-align: justify;
}

.description {
    font-size: 24px;
    font-weight: 300;
    line-height: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
    display: inline-block;
    margin-left: 12px;
    padding: 7px 22px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    color: #fff;
    background-color: transparent;
    text-decoration: none;
    font-family: 'NHaasGroteskDSPro', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.cta-btn:hover {
    background-color: #fff;
    border-color: #fff;
    color: #000;
}


/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   RESPONSIVE: Tablet (<=1024px)
   ============================================ */

@media (max-width: 1024px) {
    .page {
        padding: 40px 48px;
    }

    .hero-left {
        font-size: 20px;
    }

    .hero-right {
        font-size: 20px;
    }

    .hero-icon svg {
        width: 110px;
    }

    .description {
        font-size: 20px;
        line-height: 22px;
    }

    .bottom-inner {
        max-width: 460px;
    }
}


/* ============================================
   RESPONSIVE: Mobile (<=768px)
   ============================================ */

@media (max-width: 768px) {
    .page {
        padding: 24px;
    }

    /* Header: left-aligned on mobile */
    .header {
        justify-content: flex-start;
    }

    .logo svg {
        height: 14px;
    }

    /* Hide desktop hero, show mobile hero */
    .hero-desktop {
        display: none;
    }

    .hero-icon {
        display: none;
    }

    .hero-mobile {
        display: flex;
        align-items: flex-start;
        padding-top: 24px;
    }

    .hero-heading {
        font-size: 36px;
        line-height: 37px;
        max-width: 320px;
    }

    .inline-icon {
        width: 29px;
        height: 25px;
    }

    /* Bottom: left-aligned on mobile */
    .bottom {
        justify-content: flex-start;
    }

    .bottom-inner {
        text-align: justify;
        max-width: 100%;
    }

    .description {
        font-size: 20px;
        font-weight: 300;
        line-height: 20px;
        max-width: 320px;
    }

    /* CTA becomes block element below text on mobile */
    .cta-btn {
        display: block;
        margin-left: 0;
        margin-top: 100px;
        width: fit-content;
        padding: 10px 22px;
        font-size: 11px;
        top: 0;
    }

}


/* ============================================
   PREFERS REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .video-bg video {
        display: none;
    }
}
