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

:root {
    --bg: #f8f5f0;
    --ink: #1c1714;
    --muted: #c4b8aa;
    --accent: #e85400;
    --font-display: "Fraunces", Georgia, serif;
    --font-mono: "DM Mono", "Courier New", monospace;
}

html {
    background-color: var(--bg);
}

body {
    background-color: var(--bg);
    color: var(--ink);
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 6vw, 5rem);
}

/* ── Animations ── */

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(0.25em);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-reveal] {
    animation: appear 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Footer ── */

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    padding-top: clamp(2rem, 4vw, 3.5rem);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.copyright {
    font-family: var(--font-mono);
    font-size: clamp(0.65rem, 1vw, 0.875rem);
    color: var(--muted);
}
