  /* ============================================
     Transitional Decisions Consulting — Custom Styles
     ============================================ */

  /* Base */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { overflow-x: hidden; }

  /* Selection */
  ::selection { background: rgba(15, 76, 92, 0.15); color: #0F4C5C; }

  /* Scrollbar */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #F7F8FA; }
  ::-webkit-scrollbar-thumb { background: #B8C1CE; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #8E9BB0; }

  /* ============================================
     Navigation
     ============================================ */
  #site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  }

  /* ============================================
     Hero
     ============================================ */
  .hero-badge {
    animation: fadeInDown 0.8s ease-out both;
  }
  .hero-title {
    animation: fadeInUp 0.8s ease-out 0.15s both;
  }
  .hero-text {
    animation: fadeInUp 0.8s ease-out 0.3s both;
  }
  .hero-cta {
    animation: fadeInUp 0.8s ease-out 0.45s both;
  }
  .hero-float {
    animation: float 4s ease-in-out infinite;
  }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
  }

  /* ============================================
     Service Cards
     ============================================ */
  .service-card {
    will-change: transform;
  }

  /* ============================================
     Gallery
     ============================================ */
  .gallery-item {
    cursor: pointer;
  }
  .gallery-item img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* ============================================
     Scroll Reveal (progressive enhancement)
     ============================================ */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }
    .reveal[data-reveal] {
      opacity: 0;
      transform: translateY(32px);
    }
    .reveal[data-reveal="left"] {
      transform: translateX(-32px);
    }
    .reveal[data-reveal="right"] {
      transform: translateX(32px);
    }
    .reveal.visible {
      opacity: 1;
      transform: none;
    }
  }

  /* ============================================
     Mobile Menu
     ============================================ */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
  }
  #mobile-menu.open {
    max-height: 400px;
    opacity: 1;
  }

  /* ============================================
     Form
     ============================================ */
  input:focus, select:focus, textarea:focus {
    outline: none;
  }

  /* ============================================
     Utility
     ============================================ */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
