/* ============================================
   Tokens — Arquitectura del Silencio
   ============================================ */

@font-face {
    font-display: swap;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/playfair-display-v36-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v13-latin-regular.woff2') format('woff2');
}

:root {
    --accent: #4a7c59;
    --accent-hover: #3d6849;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    --graphite: #1a1a1a;
    --ink: #f5f5f5;
    --paper: #0a0a0a;
    --radius: 0.25rem;
    --sage: #8b9d83;
    --card-glow: 0 0.5rem 2rem rgba(0, 0, 0, 0.4);
    --space-xs: 0.5rem;
    --space-s: 1rem;
    --space-m: 1.5rem;
    --space-l: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    --transition: 280ms ease;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    margin: 0;
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw + 0.25rem, 1.75rem);
}

p {
    margin: 0 0 var(--space-s);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--sage);
}

a:focus-visible {
    outline: 0.125rem solid var(--accent);
    outline-offset: 0.125rem;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

ul, ol {
    margin: 0;
    padding: 0;
}

button {
    cursor: pointer;
    font-family: inherit;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 0.0625rem;
    margin: -0.0625rem;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 0.0625rem;
}

.container {
    margin-inline: auto;
    max-width: 75rem;
    padding-inline: var(--space-m);
}

@media (min-width: 48rem) {
    .container {
        padding-inline: var(--space-l);
    }
}

@media (min-width: 1600px) {
    /* large desktop */
}
