  /* ========== BASE ========== */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { margin: 0; }
  img { display: block; max-width: 100%; }

  /* ========== SCROLL REVEAL ========== */
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ========== MOBILE MENU ANIMATION ========== */
  #menuBtn[aria-expanded="true"] #bar1 {
    transform: translateY(6px) rotate(45deg);
  }
  #menuBtn[aria-expanded="true"] #bar2 {
    opacity: 0;
  }
  #menuBtn[aria-expanded="true"] #bar3 {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* ========== NAV HOVER UNDERLINE ========== */
  nav a:not(.no-underline) {
    position: relative;
  }
  nav a:not(.no-underline)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.2s ease;
  }
  nav a:not(.no-underline):hover::after {
    width: 100%;
  }

  /* ========== CUSTOM SELECTION ========== */
  ::selection {
    background: #d4a843;
    color: #0f2b4c;
  }

  /* ========== FOCUS VISIBLE ========== */
  :focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
  }
