:root {
  --purple-void: #0d0520;
  --purple-deep: #1a0a2e;
  --purple-mid: #2d1b4e;
  --purple-vibrant: #4a2d7a;
  --purple-bright: #6b3fa0;
  --purple-glow: #c49bff;

  --gold-dark: #8b6914;
  --gold: #d4a843;
  --gold-light: #e8c76a;
  --gold-bright: #ffd700;

  --green-deep: #1a3a2a;
  --green-forest: #2d5a3d;
  --green-fern: #4a7a5a;
  --green-sage: #8fbc8f;
  --green-mist: #b8d4b8;

  --cream: #f5f0e8;
  --text-muted: #b8a8cc;
  --text-dim: #a08cc0;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--purple-void);
  color: var(--cream);
  overflow-x: hidden;
}

/* ===== MOUSE-REACTIVE WARP BACKGROUND ===== */
#warp-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(13, 5, 32, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.08);
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

/* ===== GLOBAL LAYOUT ===== */
.page-content { position: relative; z-index: 1; }

section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.section-inner {
  max-width: 1200px;
  width: 100%;
  padding: 4rem 2rem;
}

/* ===== SCROLL FADE-IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LIVING GRADIENT DIVIDERS ===== */
.gradient-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--green-sage), var(--purple-glow), transparent);
  margin: 0;
  opacity: 0.4;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--purple-void);
  position: relative;
  z-index: 1;
}
footer .brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
footer p {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 300;
}

/* ===== MEDIA SLOTS ===== */
.media-slot {
  position: relative;
  overflow: hidden;
}
.media-slot video,
.media-slot > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-media video,
.hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.section-media video,
.section-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

@keyframes ambientShift {
  0%, 100% { background-position: 0% 50%; }
  33% { background-position: 100% 0%; }
  66% { background-position: 50% 100%; }
}

@keyframes ambientBreathe {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  margin: 5px 0;
  transition: transform 0.3s, opacity 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-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(13, 5, 32, 0.95);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--gold); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }

  section {
    min-height: auto;
    align-items: flex-start;
    overflow: visible;
  }

  .section-inner {
    padding: 5rem 1.25rem 2rem;
  }

  footer { padding: 2rem 1rem; }
}
