/* Keep the green band compact while the larger cutout crosses its soft edge. */
.family-band { padding-top: 20px; padding-bottom: 12px; z-index: 5; isolation: isolate; }
.family-band::before,
.family-band::after { z-index: 0; }
.family-band::before { top: 0; height: 40px; }
.family-band::after {
  background:
    radial-gradient(ellipse 58% 36px at 50% calc(100% + 16px), var(--paper) 98%, transparent 100%),
    radial-gradient(ellipse at -9% 90%, #a1ccba66 0 23%, transparent 23.5%),
    radial-gradient(ellipse at 115% 100%, #a8cdb95c 0 27%, transparent 27.5%);
}
.family-band + .gallery-teaser::before { top: -20px; height: 36px; }
.family-band .family-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: 44px;
  z-index: 1;
  isolation: auto;
}
.family-band .family-photo {
  position: relative;
  z-index: 6;
  display: block;
  align-self: center;
  width: 100%;
  height: 460px;
  max-width: none;
  aspect-ratio: auto;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.family-band .family-photo::before,
.family-band .family-photo::after { content: none; display: none; }
.family-band .family-photo::before {
  content: none;
  display: none;
}
.family-band .family-photo img {
  position: relative;
  top: -48px;
  display: block;
  width: calc(100% + 56px);
  max-width: none;
  height: calc(100% + 80px);
  margin-left: -28px;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  filter: drop-shadow(4px 9px 9px #183c322b) brightness(1);
  transition: filter 350ms ease;
}
.family-band .family-copy { position: relative; z-index: 2; min-width: 0; padding-block: 20px; }
.family-band .family-heading-with-guide { display: block; }
.family-band .family-copy h2 { max-width: 100%; }
.family-band .family-copy p { max-width: 330px; line-height: 1.16; }
.family-band .family-copy .button { margin-top: 24px; }
@media (max-width: 1050px) {
  .family-band .family-photo img { top: -44px; height: calc(100% + 64px); }
}
@media (max-width: 900px) {
  .family-band .family-inner { gap: 30px; }
  .family-band .family-photo { height: 400px; }
}
@media (max-width: 700px) {
  .family-band .family-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .family-band .family-photo { height: clamp(340px, 100vw, 460px); max-width: 460px; margin-inline: auto; }
  .family-band .family-photo img { top: -48px; width: calc(100% + 32px); height: calc(100% + 60px); margin-left: -16px; }
  .family-band .family-copy { width: 100%; max-width: 410px; margin-inline: auto; padding-block: 0 12px; text-align: center; }
  .family-band .family-copy h2,
  .family-band .family-copy p { margin-inline: auto; }
  .family-band .family-copy .little-rule { margin: 18px auto 15px; }
}

/* Larger, quiet pawprints stay outside the reading columns. */
.hero .paw-one,
.hero .paw-two,
.hero .paw-three { width: 100px; height: 100px; opacity: .2; }
.hero .paw-one { left: 2.5%; top: 27%; }
.hero .paw-two { right: 2.4%; top: 31%; }
.hero .paw-three { right: 6.7%; top: 19%; }
.family-band .paw-family { width: 132px; height: 132px; right: 2.5%; top: 14%; opacity: .18; }
.gallery-teaser .paw-gallery { width: 124px; height: 124px; left: 3.2%; opacity: .18; }

/* A single soft gleam follows interaction; it never loops in the background. */
.website .hero .cat-arch::after,
.website .gallery-teaser .gallery-photo::after {
  background-image: linear-gradient(112deg, transparent 38%, #fffdf20a 43%, #fffdf25c 50%, #fffdf20a 57%, transparent 62%);
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-position: 150% 0;
  pointer-events: none;
}
@keyframes porphyr-photo-gleam {
  0%, 15% { background-position: 150% 0; }
  70%, 100% { background-position: -50% 0; }
}
.website .hero .cat-arch::after,
.website .gallery-teaser .gallery-photo::after { animation: porphyr-photo-gleam 10s ease-in-out infinite; }
.website .hero .arch-center::after { animation-delay: -3s; }
.website .hero .arch-right::after { animation-delay: -6s; }
.website .gallery-teaser .gallery-photo::after { animation-delay: -4s; }
.family-band .family-photo img { animation: porphyr-portrait-light 10s ease-in-out infinite; }
@keyframes porphyr-portrait-light { 0%, 100% { filter: drop-shadow(4px 9px 9px #183c322b) brightness(1); } 42% { filter: drop-shadow(4px 9px 9px #183c322b) brightness(1.055) saturate(1.015); } }
@media (hover: hover) and (pointer: fine) {
  .family-band .family-photo:is(:hover, :focus-visible) img { filter: drop-shadow(4px 9px 9px #183c322b) brightness(1.055) saturate(1.015); }
}
@media (max-width: 700px) {
  .hero .paw-one,
  .hero .paw-two,
  .hero .paw-three { width: 96px; height: 96px; opacity: .17; }
  .hero .paw-one { left: .5%; top: 40%; }
  .hero .paw-two { right: .3%; top: 43%; }
  .hero .paw-three { right: 2.5%; top: 25%; }
  .family-band .paw-family { width: 128px; height: 128px; top: 54%; right: 4%; }
  .gallery-teaser .paw-gallery { width: 120px; height: 120px; left: 2%; top: 54%; }
}
@media (prefers-reduced-motion: reduce) {
  .website .hero .cat-arch::after,
  .website .gallery-teaser .gallery-photo::after { animation: none; background-image: none; }
  .hero .cat-arch img,
  .gallery-teaser .gallery-photo img,
  .family-band .family-photo img { animation: none; transition: none; transform: none !important; }
}

/* A quiet closing scene with Merle, clear of the contact button at every size. */
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 260px);
  gap: 26px;
  align-items: end;
  padding: 38px 6% 20px;
}
.contact-band .contact-copy { min-width: 0; margin: 0 !important; }
.contact-band .sleeping-cat {
  display: block !important;
  position: static;
  right: auto;
  bottom: auto;
  width: 100%;
  height: auto;
  max-height: 145px;
  object-fit: contain;
  object-position: center bottom;
  justify-self: center;
}
@media (max-width: 600px) {
  .contact-band { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px 6% 18px; }
  .contact-band .sleeping-cat { width: min(270px, 76vw); max-height: 135px; }
}
