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

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

  body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  ::selection {
    background: rgba(255, 122, 77, 0.3);
    color: #fff;
  }

  /* ─── Hero Fade-In Animations ─── */
  @keyframes fade-in {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in {
    animation: fade-in 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }

  /* ─── Scroll Reveal (below the fold only) ─── */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                  transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

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

  /* When JS is disabled, all content is visible by default */
  .no-js .reveal {
    opacity: 1;
    transform: none;
  }

  /* ─── Navbar ─── */
  #navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  #navbar.scrolled a {
    color: rgba(255, 255, 255, 0.8) !important;
  }

  /* ─── Menu Items ─── */
  #menu li:hover {
    background: rgba(255, 122, 77, 0.03);
    border-radius: 4px;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
    transition: all 0.25s ease;
  }

  /* ─── Input Focus ─── */
  input:focus, textarea:focus {
    border-bottom-color: #ff7a4d !important;
  }

  /* ─── Mobile Menu Transition ─── */
  #mobile-menu {
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 400px;
    }
  }

  /* ─── Image Hover ─── */
  .aspect-\[4\/5\] img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* ─── Button Ripple Effect ─── */
  button, a {
    cursor: pointer;
  }

  /* ─── Subtle Line Decoration ─── */
  .decorative-line {
    position: relative;
  }

  .decorative-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 48px;
    height: 1px;
    background: #ff7a4d;
  }

  /* ─── Focus Visible for Accessibility ─── */
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #ff7a4d;
    outline-offset: 4px;
  }

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