:root {
  /* -- Colors -- */
  --color-primary: #1e293b;       /* Slate 800 - Deep, professional */
  --color-primary-light: #334155; /* Slate 700 */
  --color-primary-dark: #0f172a;  /* Slate 900 */
  
  --color-accent: #C4A47C;        /* Warm Sand / Gold */
  --color-accent-hover: #b08d62;

  --color-bg: #FAFAF8;            /* Warm off-white */
  --color-bg-alt: #ffffff;
  
  --color-text: #334155;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;

  /* -- Typography -- */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* -- Layout -- */
  --max-width: 1280px;

  /* ── Standard Tokens (auto-injected) ── */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --radius-default: 4px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* -- Global Styles & Resets -- */
html { scroll-behavior: smooth; }
body { background-color: var(--color-bg); color: var(--color-text); }

/* -- Typography Classes -- */
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

/* -- Animations -- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 100ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 200ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 300ms; }
[data-reveal-stagger].is-visible > * { opacity: 1; transform: translateY(0); }

/* -- Navigation Structural CSS -- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: transparent;
  padding: 1.5rem 0;
}
.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  backdrop-filter: blur(10px);
}
.site-header.is-scrolled .nav-logo,
.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .nav-toggle {
  color: var(--color-primary);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}
.nav-desktop {
  display: none;
}
@media (min-width: 768px) {
  .nav-desktop { display: block; }
}
.nav-link {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] {
  color: var(--color-accent);
}
.nav-toggle {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

/* -- Mobile Menu -- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  margin: 1rem 0;
  transition: color 0.2s ease;
}
.mobile-nav-link:hover {
  color: var(--color-accent);
}

/* -- Icons -- */
.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.15em;
  flex-shrink: 0;
}
.icon.hidden { display: none; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 1.5em; height: 1.5em; }
.icon-xl { width: 2em; height: 2em; }

/* -- Focus -- */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* -- Reduced Motion -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}body { margin: 0; }

.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
  padding: 0.5rem;
  line-height: 1;
  z-index: 1;
}
