/* ===== Variables ===== */
:root {
    --color-bg: #121510;
    --color-bg-soft: #1a1e17;
    --color-gold: #d9c08a;
    --color-gold-light: #ead7ad;
    --color-cream: #ede4d3;
    --color-muted: #8a93a6;
    --color-nav: #d6dbe5;
    --color-text: #ede4d3;
    --color-dark: #121510;
    --font-base: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --container-width: 1280px;
    --ticker-height: 36px;
    --header-height: 76px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; } /* reveal-left/right offsets never widen the page */
body { font-family: var(--font-base); color: var(--color-text); background: var(--color-bg); line-height: 1.6; } /* no overflow here: it would turn body into a scroller and break position: sticky */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 1000;
    background: var(--color-gold); color: var(--color-dark); padding: 8px 16px; border-radius: 4px; font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* Hidden visually, still read by screen readers and search engines */
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===== Buttons ===== */
.btn-reserve {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    padding: 9px 22px;
    background: var(--color-gold); color: var(--color-dark);
    border-radius: 50px;
    font-size: 0.95rem; font-weight: 700; white-space: nowrap;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background 0.3s ease;
}
.btn-reserve:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 192, 138, 0.35);
}

.btn-outline {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    padding: 9px 22px;
    border: 1px solid var(--color-gold); color: var(--color-cream);
    border-radius: 50px;
    font-size: 0.95rem; font-weight: 600; white-space: nowrap;
    transition: transform 0.3s var(--ease-out), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.btn-outline:hover {
    background: var(--color-gold); color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 192, 138, 0.25);
}

/* ===== Scroll reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    will-change: opacity, transform;
}
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-zoom  { transform: scale(0.92); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Section headings ===== */
.section-eyebrow {
    margin-bottom: 14px;
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--color-gold);
}
.section-title {
    font-family: var(--font-base);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
    color: var(--color-cream);
    text-wrap: balance;
}

/* ===== Main ===== */
main { min-height: 70vh; }
/* Sections reached by #links land just below the sticky header */
section[id] { scroll-margin-top: var(--header-height); }

/* ===== Shared keyframes ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ===== Responsive ===== */
@media (max-width: 575px) {
    .container { padding: 0 16px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
    .reveal { opacity: 1; transform: none; }
}
