/* ===== Custom Design System ===== */
:root {
  --cream: #faf8f4;
  --navy-900: #102a43;
  --navy-800: #243b53;
  --gold-400: #d4a84b;
  --gold-500: #b8860b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--cream);
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--navy-900);
  -webkit-font-smoothing: antialiased;
}

/* ===== Navigation ===== */
.nav-scrolled {
  background: rgba(250, 248, 244, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(16, 42, 67, 0.08);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-400);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-nav-link {
  position: relative;
  padding-left: 0;
}

/* ===== Hero Blobs ===== */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.3), transparent);
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16, 42, 67, 0.15), transparent);
  bottom: 15%;
  left: -3%;
  animation-delay: -3s;
}

.hero-blob-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.2), transparent);
  top: 50%;
  left: 40%;
  animation-delay: -5s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-10px, 15px) scale(0.95); }
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-blob {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== Button Focus States ===== */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

/* ===== Selection ===== */
::selection {
  background: rgba(212, 168, 75, 0.3);
  color: var(--navy-900);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-200);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--navy-400);
}
