  /* Base */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { overflow-x: hidden; }

  /* Selection */
  ::selection { background: rgba(201, 169, 77, 0.3); color: #f0dca8; }

  /* Scrollbar */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #0a1628; }
  ::-webkit-scrollbar-thumb { background: #1a3a5c; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #2a5a7c; }

  /* Nav links */
  .nav-link { position: relative; }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a94d;
    transition: width 0.3s ease;
  }
  .nav-link:hover::after { width: 100%; }

  /* Mobile menu */
  .mobile-link { position: relative; }
  #mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }

  /* Bar animation */
  #mobile-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  #mobile-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
  #mobile-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 5px; }

  /* Scroll animations */
  .reveal-up, .reveal-left, .reveal-right {
    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);
  }
  .reveal-left { transform: translateX(-30px); }
  .reveal-right { transform: translateX(30px); }
  .reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
  }

  /* Scroll down animation */
  @keyframes scrollDown {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }
  .animate-scroll-down {
    animation: scrollDown 1.5s ease-in-out infinite;
  }

  /* Header scrolled state */
  #site-header.scrolled {
    box-shadow: 0 1px 0 rgba(255,255,255,0.04);
  }

  /* Menu hover underline */
  .menu-item { position: relative; }
  .menu-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: #c9a94d;
    transition: width 0.3s ease;
  }
  .menu-item:hover::after { width: 100%; }

  /* Focus visible */
  :focus-visible {
    outline: 2px solid rgba(201, 169, 77, 0.6);
    outline-offset: 2px;
  }

  /* Smooth image loading */
  img { image-rendering: auto; }
  img[loading="lazy"] { opacity: 0; transition: opacity 0.5s ease; }
  img[loading="lazy"].loaded { opacity: 1; }

  /* Subtle gold shimmer on gold text */
  @keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
  }
  .text-gold-shimmer {
    background: linear-gradient(90deg, #c9a94d 0%, #f0dca8 50%, #c9a94d 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
  }

  /* Responsive tweaks */
  @media (max-width: 767px) {
    html { scroll-padding-top: 72px; }
  }
