.home-page-section-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  /* margin-bottom: 40px; */
  max-width: 1200px;
  margin: 0 auto;
}

.home-page-section-intro-image {
  display: block;
  width: 100%;
  margin: 100px auto 30px;
}

.home-page-section-intro-image-cats {
  display: block;
  max-width: 50%;
  margin: 100px auto 0;
}

.home-page-section-intro-image-roi-image {
  margin-top: 60px;
  max-width: 40%;
  display: block;
}

.home-page-section-tagline-main {
  font-family: "Rubik Dirt", system-ui, sans-serif;
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: 0.025em;
  color: #141414;
  font-weight: 400;
  margin: 10px 0 30px;
  text-shadow:
    0.8px 0.8px 0 rgba(0, 0, 0, 0.2),
    -0.5px -0.5px 0 rgba(0, 0, 0, 0.15);

  display: inline-block;

  -webkit-mask-image: url("/images/mask.jpeg");
  -webkit-mask-repeat: repeat;
  -webkit-mask-size: 100px 100px;
  -webkit-mask-position: center;
  -webkit-mask-mode: luminance;

  mask-image: url("/images/mask.jpeg");
  mask-repeat: repeat;
  mask-size: 100px 100px;
  mask-position: center;
  mask-mode: luminance;
}

.home-page-section-tagline-sub {
  display: block;
  font-size: 40px;
  margin-top: 8px;
  margin-bottom: 0;
  font-weight: 400;
  opacity: 0.8;
}

.website-overview {
  max-width: 1200px;
  margin: 0 auto 30px;
  font-size: 22px;
  line-height: 1.6;
}

.services-overview {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 22px;
  line-height: 1.6;
}

/* ---- Lightning bolt ---- */
#section-integrations {
  width: 100%;
  display: contents;
}

@keyframes lightningFlash {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes boltFade {
  0%   { opacity: 1; }
  18%  { opacity: 0.3; }
  28%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ---- Paint splat ---- */
.paint-splat {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  animation: splatFade 1.4s ease-out forwards;
}

.paint-splat-main {
  position: absolute;
  transform: translate(-50%, -50%);
}

.paint-splat-drop {
  position: absolute;
  border-radius: 50% 30% 60% 40% / 40% 60% 30% 50%;
}

@keyframes splatFade {
  0%   { opacity: 0;   transform: scale(0.15); }
  12%  { opacity: 1;   transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.08); }
}

/* ---- Scroll reveal ---- */
.scroll-reveal {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.home-page-section-intro.scroll-reveal,
.services-overview.scroll-reveal,
.website-overview.scroll-reveal {
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Cards keep opacity reveal but preserve fast hover transitions */
.service-description.scroll-reveal {
  transition: opacity 0.5s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .home-page-section-intro-image {
    margin-top: 50px;
    max-width: none; /* allow width: 90% to control it */
  }

  .home-page-section-tagline-main {
    font-size: 9vw;
  }

  .home-page-section-tagline-sub {
    font-size: 5vw;
  }

  .services-overview {
    padding: 0 20px;
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .service-descriptions-container {
    display: none;
  }

  .home-page-section-intro {
    max-width: 95%;
  }

  .home-page-section-intro,
  .gray-background,
  .service-descriptions-container {
    text-align: center;
  }

  .home-page-section-intro,
  .service-descriptions-container,
  .services-overview {
    margin-left: auto;
    margin-right: auto;
  }

  .portfolio-view-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .service-description {
    text-align: center;
  }

  .home-page-section-intro-image-roi-image {
  max-width: 60%;
  margin-bottom: -20px
}
 .website-overview {
    font-size: 16px;
 }
}

