/* Site-wide structure, interaction, and restrained motion. */
.rodent-exclusion,
.coverage-panel,
.community-proof,
.field-notes-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}

.rodent-exclusion img,
.community-proof img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: var(--cream);
}

.rodent-exclusion p,
.coverage-panel p,
.community-proof p,
.field-notes-heading > p {
  color: var(--muted);
}

.coverage-panel {
  background: var(--black);
  color: var(--paper);
}

.coverage-panel h2 {
  color: var(--paper);
}

.coverage-panel p {
  color: #d8d8d8;
}

.coverage-links {
  display: grid;
  gap: 12px;
}

.coverage-links a {
  display: grid;
  gap: 4px;
  padding: 22px 24px;
  background: var(--paper);
  color: var(--ink);
  border-left: 5px solid var(--red);
  transition: transform .24s ease, background-color .24s ease;
}

.coverage-links a:hover,
.coverage-links a:focus-visible {
  transform: translateX(7px);
  background: #f2f2f2;
}

.coverage-links span {
  color: var(--muted);
  font-size: 12px;
}

.field-notes {
  background: var(--cream);
}

.field-notes-heading {
  margin-bottom: 45px;
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 960px;
  margin: 0 auto;
}

.reel-card {
  min-width: 0;
  background: var(--paper);
  border-top: 4px solid var(--red);
  overflow: hidden;
}

.reel-poster {
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.reel-poster img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.reel-poster:hover img,
.reel-poster:focus-visible img {
  transform: scale(1.025);
}

.reel-poster > span {
  display: grid;
  gap: 5px;
  padding: 20px 22px 23px;
}

.reel-poster strong {
  font: 600 23px/1.1 'Space Grotesk', sans-serif;
}

.reel-poster small {
  color: var(--red);
  font-weight: 700;
}

.reel-card iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: var(--paper);
}

.community-proof {
  background: var(--paper);
}

.founder-photo {
  background-size: contain;
  background-repeat: no-repeat;
  background-color: var(--cream);
}

.community-proof img {
  max-height: 540px;
  object-fit: cover;
}

.button,
.text-link,
.arrow-link,
.contact-cards a,
.steps-grid article,
.content-grid article,
.review-card,
.location-grid span {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.steps-grid article:hover,
.content-grid article:hover,
.review-card:hover,
.contact-cards a:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(17,17,17,.08);
}

.location-grid span:hover {
  transform: translateY(-3px);
  border-left-color: var(--black);
}

.detail-hero > img,
.contact-hero > img,
.section-photo,
.new-chapter-photo,
.proof-photo,
.founder-photo,
.community-proof img,
.rodent-exclusion img {
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.detail-hero > img:hover,
.contact-hero > img:hover,
.section-photo:hover,
.new-chapter-photo:hover,
.proof-photo:hover,
.community-proof img:hover,
.rodent-exclusion img:hover {
  transform: scale(1.012);
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .motion-ready [data-reveal="left"] {
    transform: translateX(-24px);
  }

  .motion-ready [data-reveal="right"] {
    transform: translateX(24px);
  }

  .motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translate(0, 0);
  }

  .hero-photo img {
    animation: hero-settle .9s cubic-bezier(.2,.7,.2,1) both;
  }

  @keyframes hero-settle {
    from { opacity: 0; transform: scale(1.025); }
    to { opacity: 1; transform: scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 760px) {
  .rodent-exclusion,
  .coverage-panel,
  .community-proof,
  .field-notes-heading,
  .reel-grid {
    grid-template-columns: 1fr;
  }

  .field-notes-heading {
    gap: 18px;
  }

  .reel-poster img {
    height: 460px;
  }

  .reel-card iframe {
    height: 650px;
  }

  @media (prefers-reduced-motion: no-preference) {
    .motion-ready [data-reveal="left"],
    .motion-ready [data-reveal="right"] {
      transform: translateY(18px);
    }

    .motion-ready [data-reveal].is-visible {
      transform: translateY(0);
    }
  }
}

@media (max-width: 480px) {
  .reel-poster img {
    height: 390px;
  }

  .reel-card iframe {
    height: 585px;
  }
}
