/* Show the first screen immediately; later section reveals keep their motion. */
.hero-copy, .hero-photo-scene { animation: none; }

/* Put the pet near the top on phones while keeping the original reading order. */
@media screen and (max-width: 700px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(7, auto);
    align-items: start;
    row-gap: 0;
    padding-top: 22px;
    padding-bottom: 30px;
    text-align: center;
  }

  .hero-copy {
    display: contents;
    animation: none;
  }

  .hero-copy > * { min-width: 0; grid-column: 1; }

  .hero .eyebrow {
    grid-row: 1;
    max-width: 100%;
    margin: 0 0 12px;
    font-size: 8px;
    line-height: 1.5;
    letter-spacing: 1.2px;
  }

  .hero h1 {
    grid-row: 2;
    width: 100%;
    max-width: 510px;
    margin: 0 auto;
    font-size: clamp(32px, 8.8vw, 40px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-wrap: balance;
  }

  .hero > .hero-photo-scene {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    max-width: 360px;
    min-height: 0;
    height: clamp(240px, 67vw, 280px);
    margin: 10px auto 8px;
    padding: 0;
    align-self: start;
    overflow: visible;
    animation: none;
  }

  .hero-pet-portrait {
    width: auto;
    max-width: 280px;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }

  .hero-photo-shape { inset: 32px 10% 5px; }
  .hero-photo-shape::after { inset: -9px; }
  .hero-photo-sun { top: 25px; right: 9%; width: 65px; }
  .hero-photo-sparkle { top: 34px; left: 8%; }
  .hero-photo-sparkle .icon { width: 27px; height: 27px; }
  .hero-photo-paw { right: 10%; bottom: 37px; }
  .hero-photo-paw .icon { width: 19px; height: 19px; }
  .hero-photo-label,
  .hero-photo-scene .hero-work-link { display: none; }

  .hero-accent {
    grid-row: 4;
    max-width: 430px;
    margin: 0 auto 10px;
    font-size: clamp(25px, 6.8vw, 31px);
    line-height: 1.15;
    letter-spacing: -.85px;
    text-wrap: balance;
  }

  .hero-description {
    grid-row: 5;
    max-width: 410px;
    margin: 0 auto 17px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    grid-row: 6;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px 20px;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  .hero-actions .button {
    min-height: 50px;
    max-width: 100%;
    padding: 14px 20px;
    font-size: 12px;
  }

  .hero-actions .call-link { min-height: 44px; font-size: 12px; }

  .hero-note {
    grid-row: 7;
    justify-content: center;
    margin: 11px 0 0;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .15px;
  }
}

@media screen and (max-width: 390px) {
  .hero { padding-top: 18px; }
  .hero .eyebrow { font-size: 7px; letter-spacing: 1.1px; }
  .hero h1 { font-size: clamp(30px, 8.7vw, 34px); letter-spacing: -1.3px; }
  .hero > .hero-photo-scene { height: 240px; margin-top: 8px; }
  .hero-photo-shape { inset-inline: 9%; }
  .hero-photo-sun { right: 7%; width: 57px; }
  .hero-photo-sparkle { left: 6%; }
  .hero-accent { font-size: 25px; }
  .hero-description { font-size: 13px; margin-bottom: 14px; }
  .hero-actions { gap: 5px 16px; }
  .hero-actions .button { font-size: 12px; }
  .hero-note { font-size: 9px; }
}
