  /* ============================================
     CELESTE'S CONSTRUCTION SERVICE — STYLES
     ============================================ */

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

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  body {
    margin: 0;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  ::selection {
    background: #d4a84b;
    color: #0f261e;
  }

  /* --- Scrollbar --- */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f5f0e8;
  }
  ::-webkit-scrollbar-thumb {
    background: #3a6348;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #2d4e39;
  }

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

  #navbar.scrolled {
    background: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(26, 60, 52, 0.08);
  }

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

  .service-card:hover {
    transform: translateY(-6px);
    border-color: #b8d1c4;
  }

  /* --- Work Gallery --- */
  .work-gallery-item {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .work-gallery-item:hover {
    transform: scale(1.02);
  }

  /* --- Testimonial Cards --- */
  .testimonial-card {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
  }

  .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(26, 60, 52, 0.1) !important;
  }

  /* --- Scroll Reveal (progressive enhancement) --- */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
  }

  /* --- Floating Cards Animation --- */
  @media (prefers-reduced-motion: no-preference) {
    .float-card-1 {
      animation: float1 6s ease-in-out infinite;
    }
    .float-card-2 {
      animation: float2 7s ease-in-out infinite;
    }
    .float-card-3 {
      animation: float3 5s ease-in-out infinite;
    }
  }

  @keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
  }

  @keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
  }

  @keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
  }

  /* --- Mobile Menu --- */
  #mobileMenu {
    animation: slideDown 0.3s ease forwards;
  }

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

  /* --- Gold accent underline for serif headings --- */
  h2 .italic {
    position: relative;
  }

  /* --- Focus styles --- */
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #d4a84b;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* --- Responsive adjustments --- */
  @media (max-width: 767px) {
    .font-serif {
      font-size: clamp(2rem, 8vw, 3rem);
    }
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    .work-gallery-item {
      aspect-ratio: 4/3;
    }
  }

  /* --- Print styles --- */
  @media print {
    #navbar, #mobileMenu, footer { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
  }
