:root {
    --paper: #e9e6df;
    --ink: #292825;
    --muted: #77746e;
    --edge: #d1cec6;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: .22;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, .018) 3px);
}

/* Fixed embossed-squares backdrop (parallaxed via JS) */
.squares-stage {
    position: fixed;
    inset: -12vh 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.squares-stage .sq {
    position: absolute;
    will-change: transform;
    transform: translate3d(0, var(--par, 0px), 0) rotate(var(--rot, 0deg));
    border: 1px solid rgba(255, 255, 255, .38);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.card {
    width: min(1100px, 92vw);
    min-height: 570px;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, .16),
            transparent 34%,
            rgba(0, 0, 0, .025) 35%,
            transparent 68%),
        var(--paper);

    box-shadow:
        0 40px 90px rgba(40, 38, 32, .28),
        0 10px 28px rgba(40, 38, 32, .16),
        inset 1px 1px 1px rgba(255, 255, 255, .42),
        inset -1px -1px 1px rgba(0, 0, 0, .08);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .42;
    background:
        linear-gradient(135deg,
            transparent 0 24%,
            rgba(255, 255, 255, .18) 24.1% 24.35%,
            transparent 24.45% 49%,
            rgba(0, 0, 0, .035) 49.1% 49.35%,
            transparent 49.45% 74%,
            rgba(255, 255, 255, .14) 74.1% 74.35%,
            transparent 74.45%),
        linear-gradient(45deg,
            transparent 0 24%,
            rgba(0, 0, 0, .025) 24.1% 24.35%,
            transparent 24.45% 49%,
            rgba(255, 255, 255, .13) 49.1% 49.35%,
            transparent 49.45% 74%,
            rgba(0, 0, 0, .025) 74.1% 74.35%,
            transparent 74.45%);
    background-size: 180px 180px;
    mix-blend-mode: multiply;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .28;
    background:
        repeating-linear-gradient(135deg,
            transparent 0 88px,
            rgba(255, 255, 255, .22) 89px,
            transparent 91px 178px),
        repeating-linear-gradient(45deg,
            transparent 0 88px,
            rgba(0, 0, 0, .035) 89px,
            transparent 91px 178px);
}

.identity,
.scroll-mark {
    position: relative;
    z-index: 1;
}

.identity {
    text-align: center;
}

h1 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(76px, 11vw, 150px);
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.065em;
    line-height: .8;

    color: var(--ink);
    text-shadow:
        1px 1px 0 rgba(255, 255, 255, .65),
        -1px -1px 0 rgba(0, 0, 0, .12);
}

.details {
    margin-top: 42px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 26px;

    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
}

.divider {
    width: 3px;
    height: 3px;
    background: var(--muted);
    transform: rotate(45deg);
    opacity: .55;
}

.details a {
    color: inherit;
    text-decoration: none;
    position: relative;
}

.details a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 1px;
    background: currentColor;

    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s ease;
}

.details a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.scroll-mark {
    position: absolute;
    bottom: 27px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: .55;
}

.bio {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    position: relative;
    z-index: 2;
}

.bio-inner {
    margin-top: 50px;
    width: min(650px, 90vw);
    border-left: 1px solid var(--edge);
    padding-left: 28px;
}

.bio-label {
    margin-top: 50px;
    margin-bottom: 24px;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
}

.bio p {
    margin: 0;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.25;
    letter-spacing: -.015em;
}

@media (max-width: 650px) {
    .hero {
        padding: 16px;
        min-height: 100vh;
        min-height: 100svh;
    }

    .card {
        min-height: 0;
        padding: 48px 24px 60px;
    }

    h1 {
        font-size: clamp(46px, 14.5vw, 76px);
    }

    .details {
        margin-top: 28px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .divider {
        display: none;
    }

    .scroll-mark {
        bottom: 20px;
    }

    .bio {
        padding: 80px 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .details a::after {
        transition: none;
    }
}