body {
    background: #0B0908;
    color: #F2EAD9;
    -webkit-font-smoothing: antialiased;
    font-family: 'Geist', sans-serif;
    min-height: 100vh;
}

.grain::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.vignette::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}

.display {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.9;
}

.italic-em {
    font-style: italic;
    color: #C8954B;
}

.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7A7163;
}

::selection {
    background: #C8954B;
    color: #0B0908;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #C8954B;
    color: #0B0908;
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.3s, gap 0.3s;
}

.btn-primary:hover {
    background: #F2EAD9;
    gap: 1.25rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #F2EAD9;
    border-bottom: 1px solid #C8954B;
    padding: 0.25rem 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.btn-ghost:hover {
    color: #C8954B;
}

/* Glitch number — the only "playful" moment, restrained */
@keyframes flicker {

    0%,
    100% {
        opacity: 1;
    }

    47% {
        opacity: 1;
    }

    48% {
        opacity: 0.4;
    }

    49% {
        opacity: 1;
    }

    72% {
        opacity: 1;
    }

    73% {
        opacity: 0.6;
    }

    74% {
        opacity: 1;
    }
}

.flicker {
    animation: flicker 4s infinite;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rise>* {
    opacity: 0;
    animation: rise 1s cubic-bezier(.2, .8, .2, 1) forwards;
}

.rise>*:nth-child(1) {
    animation-delay: 0.1s;
}

.rise>*:nth-child(2) {
    animation-delay: 0.3s;
}

.rise>*:nth-child(3) {
    animation-delay: 0.5s;
}

.rise>*:nth-child(4) {
    animation-delay: 0.7s;
}

.rise>*:nth-child(5) {
    animation-delay: 0.9s;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: #C8954B;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(.7, 0, .3, 1);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}