@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
    --paper:#F6F5F1;
    --ink:#12181F;
    --navy:#0E2238;
    --line:rgba(246,245,241,.35);
    --line-soft:rgba(246,245,241,.2);
    --muted:#C7CCD3;
    --gold:#C7A252;
}

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

body{
    font-family:'IBM Plex Sans',Arial,sans-serif;
    background:var(--navy);
    color:var(--paper);
    min-height:100vh;
    position:relative;
}

.bg{
    position:fixed;
    inset:0;
    background-image:url('https://images.unsplash.com/photo-1523044883946-4b4ad5c9bf45?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size:cover;
    background-position:center;
    z-index:0;
}

.bg-overlay{
    position:fixed;
    inset:0;
    background:linear-gradient(180deg, rgba(9,15,23,.72) 0%, rgba(9,15,23,.6) 45%, rgba(9,15,23,.82) 100%);
    z-index:1;
}

.frame{
    position:relative;
    z-index:2;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    max-width:1280px;
    margin:0 auto;
    padding:0 40px;
}

/* ---- Masthead ---- */

.masthead{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:34px 0;
    border-bottom:1px solid var(--line);
}

.logo{
    font-family:'Source Serif 4',Georgia,serif;
    font-size:22px;
    font-weight:600;
    letter-spacing:.2px;
}

.masthead-right{
    font-family:'IBM Plex Mono',monospace;
    font-size:12px;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:var(--muted);
}

/* ---- Hero ---- */

.hero{
    flex:1;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,372px);
    align-items:center;
    gap:32px;
    padding:80px 0 90px;
}

.hero-copy{
    min-width:0;
}

.hero-visual{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:360px;
    position:relative;
    width:100%;
    max-width:372px;
    justify-self:center;
    margin-inline:auto;
}

.hero-video--source{
    position:fixed;
    left:-9999px;
    top:0;
    width:640px;
    height:auto;
    opacity:0;
    pointer-events:none;
}

.hero-video-canvas{
    display:block;
    width:100%;
    max-width:372px;
    height:auto;
    max-height:min(780px,82vh);
    margin-inline:auto;
    pointer-events:none;
}

.eyebrow{
    font-family:'IBM Plex Mono',monospace;
    font-size:12px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--gold);
    padding-bottom:10px;
    margin-bottom:26px;
    border-bottom:1px solid var(--line-soft);
    display:inline-block;
}

h1{
    font-family:'Source Serif 4',Georgia,serif;
    font-size:48px;
    line-height:1.18;
    font-weight:500;
    letter-spacing:-.2px;
    color:var(--paper);
    margin-bottom:26px;
}

p{
    max-width:520px;
    color:var(--muted);
    font-size:17px;
    line-height:1.75;
    margin-bottom:44px;
}

/* ---- Actions ---- */

.actions{
    display:flex;
    align-items:center;
    gap:22px;
    flex-wrap:wrap;
}

.button{
    display:inline-block;
    text-decoration:none;
    color:var(--navy);
    background:var(--paper);
    padding:14px 30px;
    border-radius:2px;
    font-size:14px;
    font-weight:500;
    letter-spacing:.02em;
    border:1px solid var(--paper);
    transition:background .15s ease, color .15s ease, border-color .15s ease;
}

.button:hover{
    background:transparent;
    color:var(--paper);
    border-color:var(--paper);
}

.button-note{
    font-family:'IBM Plex Mono',monospace;
    font-size:13px;
    color:var(--muted);
}

/* ---- Footer ---- */

.ledger-footer{
    padding-bottom:40px;
}

.ledger-line{
    height:1px;
    background:
        repeating-linear-gradient(
            to right,
            var(--line) 0,
            var(--line) 6px,
            transparent 6px,
            transparent 12px
        );
    margin-bottom:18px;
}

.footer-row{
    display:flex;
    justify-content:space-between;
    font-family:'IBM Plex Mono',monospace;
    font-size:12px;
    color:var(--muted);
    letter-spacing:.02em;
}

/* ---- Responsive ---- */

@media(max-width:900px){

    .hero{
        grid-template-columns:1fr;
        gap:40px;
    }

    .hero-visual{
        order:-1;
        min-height:260px;
        max-width:min(100%,288px);
    }

    .hero-video-canvas{
        max-width:min(100%,288px);
        max-height:min(420px,55vh);
    }

}

@media(max-width:640px){

    .frame{
        padding:0 22px;
    }

    h1{
        font-size:34px;
    }

    p{
        font-size:16px;
    }

    .masthead{
        padding:24px 0;
    }

    .masthead-right{
        display:none;
    }

    .footer-row{
        flex-direction:column;
        gap:6px;
    }

    .bg,
    .bg-overlay{
        position:absolute;
    }

}