/* Base & Resets */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  overflow-x: hidden;
}

/* Selection */
::selection {
  background: #C8960C;
  color: #0F1C3F;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0F1C3F;
}
::-webkit-scrollbar-thumb {
  background: #C8960C;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ECC44A;
}

/* Hero animations */
.hero-title {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform: translateY(60px);
  opacity: 0;
}

.hero-eyebrow {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  transform: translateY(40px);
  opacity: 0;
}

.hero-subtitle {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  transform: translateY(40px);
  opacity: 0;
}

.hero-ctas {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  transform: translateY(40px);
  opacity: 0;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Scroll reveal base - content is VISIBLE by default */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-left {
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-right {
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-up.revealed,
  .reveal-left.revealed,
  .reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* Navbar */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(10, 20, 48, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(200, 150, 12, 0.1);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #C8960C;
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: #C8960C !important;
}

/* Mobile menu */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu.closed {
  opacity: 0;
  pointer-events: none;
}

.mobile-link {
  position: relative;
}

/* Menu section hover */
#menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
}

#menu li:last-child {
  border-bottom: none;
}

#menu li:hover .font-medium {
  color: #C8960C;
  transition: color 0.3s ease;
}

/* Button focus */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #C8960C;
  outline-offset: 2px;
}

/* Image aspect ratios */
img {
  display: block;
}

/* Print */
@media print {
  #navbar, #mobile-menu-btn { display: none; }
  body { background: white; color: black; }
}
