:root {
    --color-bg-main: #F6F3EB;
    --color-bg-card: #FFFFFF;
    --color-text-main: #333333;
    --color-text-muted: #888888;
    --color-accent-gold: #C5A059;
    --color-accent-red: #A31F24;
    --color-border: #E6E1D6;
    --color-ink: #443827;
    --color-secondary: #706451;
    --color-gold-dark: #88672F;
    --color-sand: #EDE2CE;
    --color-shadow: #4B361817;
    --color-overlay: #201C14B3;
    --font-body: 'Inter', Arial, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --page-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    background: radial-gradient(ellipse at 90% 40%, var(--color-sand), transparent 65%), var(--color-bg-main);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    padding-top: var(--header-height);
}

h1, h2, h3, p {
    margin: 0;
}

button, input, select {
    font: inherit;
}

button, a, input, select {
    -webkit-tap-highlight-color: transparent;
}

button, a {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--color-gold-dark);
    outline-offset: 5px;
}

[hidden], [x-cloak] {
    display: none !important;
}

.container {
    width: min(var(--page-width), calc(100% - 96px));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 16px;
    padding: 12px 24px;
    background: var(--color-bg-card);
    transform: translateY(-150%);
    z-index: 100;
}

.skip-link:focus {
    transform: translateY(0);
}

@media (max-width: 700px) {
    .container {
        width: calc(100% - 40px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}
