:root {
  --emerald: #2d6a4f;
  --emerald-light: #40916c;
  --burgundy: #355248;
  --plum: #163328;
  --gold: #2d6a4f;
  --gold-light: #5d9f83;
  --charcoal: #101815;
  --charcoal-mid: #16211d;
  --surface-0: #0c1311;
  --surface-1: #111b18;
  --surface-2: #1b2b26;
  --off-white: #f4f1ea;
  --text-muted: #96a59d;
  --wave-grid: rgba(45,106,79,0.07);
  --accent-ink: #f4f1ea;
  --line-soft: rgba(201,168,76,0.12);
  --line-strong: rgba(201,168,76,0.24);
}
[data-theme="light"] {
  --charcoal: #eff3ee;
  --charcoal-mid: #e4ebe5;
  --surface-0: #f7f8f5;
  --surface-1: #edf1eb;
  --surface-2: #d7e0d9;
  --off-white: #17211d;
  --text-muted: #55665e;
  --gold: #2d6a4f;
  --gold-light: #40916c;
  --wave-grid: rgba(45,106,79,0.08);
  --accent-ink: #f7f8f5;
  --line-soft: rgba(45,106,79,0.16);
  --line-strong: rgba(45,106,79,0.28);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--charcoal);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
  transition: background 0.4s, color 0.4s;
}
[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(154,122,32,0.16), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(107,26,42,0.08), transparent 20%),
    radial-gradient(circle at 72% 72%, rgba(26,92,58,0.08), transparent 22%),
    linear-gradient(180deg, #f8f2ea 0%, #f1e9de 56%, #ebe0d1 100%);
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4rem;
  transition: background 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(28,28,30,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
[data-theme="light"] nav.scrolled {
  background: rgba(250,246,241,0.86);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 16px 34px rgba(65,46,20,0.08);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-decoration: none;
  cursor: none;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
  cursor: none;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 101;
  background: rgba(28,28,30,0.97);
  backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
[data-theme="light"] .mobile-menu {
  background:
    radial-gradient(circle at top center, rgba(154,122,32,0.12), transparent 30%),
    linear-gradient(180deg, rgba(252,248,243,0.97), rgba(244,236,226,0.95));
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--gold);
  cursor: pointer;
}
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 4rem 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(107,26,42,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(26,92,58,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(61,26,74,0.3) 0%, transparent 60%);
}
[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 58% 78% at 78% 46%, rgba(107,26,42,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 42% 56% at 18% 84%, rgba(26,92,58,0.16) 0%, transparent 62%),
    radial-gradient(ellipse 46% 54% at 52% 4%, rgba(154,122,32,0.12) 0%, transparent 58%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(154,122,32,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154,122,32,0.07) 1px, transparent 1px);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.92;
  font-weight: 600;
  color: var(--off-white);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}
[data-theme="light"] .hero-title { text-shadow: 0 14px 34px rgba(154,122,32,0.06); }
.hero-title span { color: var(--gold); display: block; }
.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--text-muted);
  margin-top: 1.5rem;
  max-width: 500px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}
.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}
.btn-gold {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
}
.hero-number {
  position: absolute;
  right: 4rem;
  bottom: 2.5rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 7rem;
  color: rgba(201,168,76,0.05);
  pointer-events: none;
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}
[data-theme="light"] .hero-number { color: rgba(154,122,32,0.12); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (hover: none) { body { cursor: auto; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  body { cursor: auto; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #hero {
    padding: 0 1.25rem 5rem;
    min-height: 100svh;
    align-items: flex-end;
  }
  .hero-label { font-size: 0.65rem; margin-bottom: 1.2rem; }
  .hero-title { font-size: clamp(3.5rem, 16vw, 5rem); }
  .hero-sub { font-size: 1rem; margin-top: 1rem; }
  .hero-cta { flex-direction: column; gap: 0.75rem; }
  .btn-gold,
  .btn-outline {
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin-left: 0;
  }
  .hero-number { display: none; }
}
@media (max-width: 480px) {
  nav { padding: 0.9rem 1rem; }
  .nav-logo { font-size: 1.7rem; }
}
