/**
 * Budgeted design tokens — editorial paper surfaces, contrast roles, shared primitives.
 */
:root {
    --bg: #f2eee6;
    --surface: #fffdf8;
    --surface-2: #e8e1d4;
    --border: rgba(40, 32, 22, 0.12);
    --text: #1c1712;
    --text-soft: #3f382f;
    --text-muted: #6b6256;
    --text-faint: #93887a;
    --placeholder: #6b6256;
    --placeholder-focus: #3f382f;
    --primary: #0f5c54;
    --primary-hover: #0a433d;
    --primary-soft: rgba(15, 92, 84, 0.12);
    --input-bg: #fffdf8;
    --input-bg-focus: #ffffff;
    --header-bg: rgba(242, 238, 230, 0.94);
    --header-height: 60px;
    --logo-gold: #e1b655;
    --logo-teal: #0e4137;
    --ink: #1c1712;
    --on-ink: #f8f4ec;
    --on-ink-muted: #d4cbbd;
    --cta: #d4a84a;
    --cta-hover: #c4962e;
    --on-cta: #1c1712;
    --paper: #f2eee6;
    --shadow: 0 1px 2px rgba(28, 23, 18, 0.05), 0 12px 32px rgba(28, 23, 18, 0.07);
    --radius: 10px;
    --radius-lg: 16px;
    --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
    --font-display: "Fraunces", "Georgia", serif;
    --primary-green: var(--primary);
    --secondary-black: var(--text);
    --accent-gold: var(--cta);
    --light-gray: var(--surface-2);
    --dark-gray: var(--text-soft);
    --white: var(--surface);
    --shadow-light: var(--shadow);
    --shadow-medium: var(--shadow);
    --shadow-heavy: 0 18px 40px rgba(15, 23, 42, 0.12);
    --border-radius: var(--radius);
    --border-radius-lg: var(--radius-lg);
    --transition: 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

a {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

.visually-hidden,
.nl-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 2000;
    background: var(--primary);
    color: #fff;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.65rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 650;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--cta);
    color: var(--on-cta);
    border-color: var(--cta);
}

a.btn-primary {
    color: var(--on-cta);
}

.btn-primary:hover {
    background: var(--cta-hover);
    color: var(--on-cta);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--surface-2);
    color: var(--text);
}

.btn-ghost {
    background: transparent;
    color: var(--text-soft);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--surface-2);
    color: var(--text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

input[type="search"] {
    appearance: none;
    -webkit-appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
    -webkit-appearance: none;
}

input::placeholder {
    color: var(--placeholder);
}

input:focus::placeholder {
    color: var(--placeholder-focus);
}

@media (min-width: 768px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --header-height: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
