/* Keep the family photograph lively while giving the live copy a quiet reading area. */
body[data-page="home"] .hero.section-shell.container::before {
  display: block;
  background: linear-gradient(90deg,
    rgba(255, 253, 248, .62) 0%,
    rgba(255, 253, 248, .48) 18%,
    rgba(255, 253, 248, .12) 31%,
    transparent 43%);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 18%, transparent 43%);
  mask-image: linear-gradient(90deg, #000 0%, #000 18%, transparent 43%);
}

body[data-page="home"] .hero.section-shell.container::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 48% 55% at 34% 0%,
    rgba(255, 219, 159, .2), transparent 78%);
}

body[data-page="home"] .hero .hero-visual img,
body[data-page="home"] .hero .hero-visual:hover img {
  filter: brightness(1.035) saturate(1.025) sepia(.025);
}

@media (max-width: 600px) {
  body[data-page="home"] .hero.section-shell.container::before {
    display: none;
  }

  body[data-page="home"] .hero.section-shell.container::after {
    background: linear-gradient(to top, rgba(255, 248, 239, .48), transparent 13%);
  }

  body[data-page="home"] .hero.section-shell.container {
    background: #f5eae1;
  }

  body[data-page="home"] .hero .hero-visual img,
  body[data-page="home"] .hero .hero-visual:hover img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    -webkit-mask-image: none;
    mask-image: none;
    filter: brightness(1.08) saturate(1.015);
  }
}
