  /* ===== BASE & UTILITIES ===== */
  *, *::before, *::after {
    box-sizing: border-box;
  }

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

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(13, 148, 136, 0.3);
    color: #f1f5f9;
  }

  /* ===== SCROLL REVEAL ===== */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

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

  .scroll-reveal.revealed:nth-child(2) { transition-delay: 0.08s; }
  .scroll-reveal.revealed:nth-child(3) { transition-delay: 0.16s; }
  .scroll-reveal.revealed:nth-child(4) { transition-delay: 0.24s; }
  .scroll-reveal.revealed:nth-child(5) { transition-delay: 0.32s; }
  .scroll-reveal.revealed:nth-child(6) { transition-delay: 0.40s; }

  /* ===== HERO ANIMATIONS ===== */
  .hero-anim {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .hero-anim:nth-child(1) { animation-delay: 0.2s; }
  .hero-anim:nth-child(2) { animation-delay: 0.4s; }
  .hero-anim:nth-child(3) { animation-delay: 0.6s; }
  .hero-anim:nth-child(4) { animation-delay: 0.8s; }
  .hero-anim:nth-child(5) { animation-delay: 1.0s; }

  @keyframes heroFadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ===== NAV SCROLLED STATE ===== */
  #nav.scrolled {
    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 45, 69, 0.6);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
  }

  #nav.scrolled .bg-gradient-to-b {
    opacity: 0;
  }

  /* ===== MOBILE MENU ===== */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  /* ===== CUSTOM SELECT ===== */
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
  }

  /* ===== FOCUS VISIBLE ===== */
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    border-radius: 8px;
  }

  /* ===== RESPONSIVE ADJUSTMENTS ===== */
  @media (max-width: 640px) {
    .font-serif {
      font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
  }

  @media (min-width: 1024px) {
    .lg\:text-8xl {
      font-size: clamp(3.5rem, 6vw, 5rem);
    }
  }
