:root {
    --paper: #ECE8E0;
    --sheet: #F3F0EA;
    --ink: #141414;
    --muted: #6D6A63;
    --cobalt: #1F3FB0;
    --rule: rgba(20, 20, 20, 0.9);
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --H: min(47vh, 33vw);
    --cy: 41%;
    --font-sans: "Inter Tight", system-ui, sans-serif;
    --font-serif: "Newsreader", Georgia, serif;
}

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

html,
body {
    width: 100%;
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    user-select: none;
    -webkit-user-select: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Probe used by JS to read --H in px */
.height-probe {
    position: fixed;
    top: -9999px;
    left: -9999px;
    width: 0;
    height: var(--H);
    pointer-events: none;
    visibility: hidden;
}

/* Typography & Box Utilities */
.lbl {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 10.5px;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
}

.box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 21px;
    padding: 0 8px;
    border: 1px solid var(--rule);
    background: transparent;
}

/* Fixed Full-Screen Paper Grain Overlay */
.paper-grain {
    position: fixed;
    inset: 0;
    z-index: 40;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.6;
}