  /* ── Base & Typography ───────────────────────────────────── */
  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: #0d9488;
    color: #fff;
  }

  /* ── Scroll Reveal (progressive enhancement) ─────────────── */
  @media (prefers-reduced-motion: no-preference) {
    .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);
    }

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

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

    /* Hero entrance */
    .hero-eyebrow {
      animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
    }
    .hero-headline {
      animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
    }
    .hero-sub {
      animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
    }
    .hero-ctas {
      animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
    }
  }

  /* Default state — visible even without JS */
  .reveal {
    opacity: 1;
    transform: none;
  }

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

  /* ── Navigation ──────────────────────────────────────────── */
  #site-header {
    background: transparent;
  }

  #site-header.scrolled {
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  #site-header.scrolled .nav-link,
  #site-header.scrolled #nav-logo {
    color: #fff;
  }

  /* ── Section Shared ──────────────────────────────────────── */
  .section-eyebrow {
    letter-spacing: 0.25em;
  }

  .section-title {
    letter-spacing: -0.02em;
  }

  /* ── Service Cards ───────────────────────────────────────── */
  .service-card {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
  }

  .service-card:hover {
    transform: translateY(-4px);
  }

  .service-card svg {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .service-card:hover svg {
    transform: scale(1.1);
  }

  /* ── Gallery ─────────────────────────────────────────────── */
  .gallery-item {
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
  }

  .gallery-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  }

  /* ── Testimonial Cards ───────────────────────────────────── */
  .testimonial-card {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease;
  }

  .testimonial-card:hover {
    transform: translateY(-4px);
  }

  /* ── Scroll Indicator ────────────────────────────────────── */
  .scroll-indicator {
    animation: bounce 2s infinite;
  }

  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-8px) translateX(-50%); }
    60% { transform: translateY(-4px) translateX(-50%); }
  }

  /* ── Mobile Menu ─────────────────────────────────────────── */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  /* ── Utility ─────────────────────────────────────────────── */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    html {
      scroll-behavior: auto;
    }
  }
