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

  /* ── Scroll Reveal ── */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(32px);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ── Hero Animations ── */
  .hero-eyebrow {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  }
  .hero-title-line {
    animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .hero-title-line:nth-child(1) { animation-delay: 0.3s; }
  .hero-title-line:nth-child(2) { animation-delay: 0.45s; }
  .hero-title-line:nth-child(3) { animation-delay: 0.6s; }

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

  /* ── Navbar ── */
  #site-header {
    background: transparent;
  }
  #site-header.scrolled {
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
  }

  /* ── Mobile Menu ── */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }
  #mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
  }
  .mobile-link {
    animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .mobile-link:nth-child(1) { animation-delay: 0.05s; }
  .mobile-link:nth-child(2) { animation-delay: 0.1s; }
  .mobile-link:nth-child(3) { animation-delay: 0.15s; }
  .mobile-link:nth-child(4) { animation-delay: 0.2s; }
  .mobile-link:nth-child(5) { animation-delay: 0.25s; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── Hamburger ── */
  #menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  #menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  #menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* ── Selection ── */
  ::selection {
    background: rgba(201, 162, 39, 0.3);
    color: #f0f3f9;
  }

  /* ── Scrollbar ── */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #0d1b2a; }
  ::-webkit-scrollbar-thumb { background: #1e3a72; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #2d5191; }

  /* ── Focus visible ── */
  :focus-visible {
    outline: 2px solid #c9a227;
    outline-offset: 2px;
  }

  /* ── Image aspect ratios fallback ── */
  img {
    max-width: 100%;
    height: auto;
  }
