  /* ─── Base & Typography ─── */
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

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

  ::selection {
    background: #FFB8A0;
    color: #1A1A24;
  }

  /* ─── Scroll Reveal ─── */
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

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

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

  /* Staggered delays for grid items */
  .grid > .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
  .grid > .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
  .grid > .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
  .grid > .scroll-reveal:nth-child(4) { transition-delay: 0.2s; }
  .grid > .scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
  .grid > .scroll-reveal:nth-child(6) { transition-delay: 0.3s; }

  /* ─── Navbar ─── */
  #navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  }

  #navbar.scrolled {
    background: rgba(255, 251, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(26, 26, 36, 0.06);
  }

  #navbar.scrolled .nav-link {
    color: #525264;
  }

  #navbar.scrolled .font-display {
    color: #1A1A24;
  }

  /* ─── Mobile Menu ─── */
  #mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #EDEDF0;
    transition: color 0.2s ease;
  }

  .mobile-link:last-child {
    border-bottom: none;
  }

  .mobile-link:hover {
    color: #E85D4A;
  }

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

  /* ─── Custom Scrollbar ─── */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #FFFBF7;
  }

  ::-webkit-scrollbar-thumb {
    background: #D6D6DD;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #B0B0BD;
  }

  /* ─── Image Placeholder Fallback ─── */
  img {
    background: linear-gradient(135deg, #EDEDF0 0%, #D6D6DD 100%);
  }
