/* Hero art is shown at its own aspect ratio at every width (no stretch, no crop).
   --sky / --sand are the edge pixels of the illustration; the picture box and the
   section carry them past the art so the flat sky and the pavement line run on.
   Art is bottom-aligned; the copy reserves the dogs' height + 32px under itself,
   so on narrow screens the section grows (sky band on top) instead of squashing. */
.rain-hero { --sky: #d6e2d0; --sand: #e9d9c4; display: grid; grid-template-areas: "hero"; align-items: start; background: var(--sky); text-align: center; }
.rain-hero > * { grid-area: hero; min-width: 0; }
.rain-hero-art { display: block; align-self: end; background: linear-gradient(to bottom, var(--sky) 0, var(--sky) 81.25%, var(--sand) 82.03%, var(--sand) 100%); }
main .rain-hero-art img:not(.detail-gallery-image) { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 704; margin-inline: auto; object-fit: contain; border-radius: 0; }
.rain-hero-copy { position: relative; align-self: start; padding: 47px 20px calc(min(100%, 1840px) * .24514 + 32px); }
.rain-hero h1 { margin: 0 auto; font-size: 84px; line-height: .99; letter-spacing: 0; }
.rain-hero p { max-width: 500px; margin: 17px auto 22px; font-size: 18px; }
.rain-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rain-hero-actions .button { min-height: 50px; padding-inline: 28px; font-size: 16px; font-weight: 600; }
.walk-edit { padding-top: 20px; }
.walk-top { margin-bottom: 15px; padding-bottom: 10px; }
.walk-products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 34px; }
.walk-products a { display: grid; gap: 9px; font-weight: 600; }
.walk-products .walk-rainwear { display: block; }
.walk-products img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.walk-products a:hover span, .rain-hero-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
body[data-page="home"] a:not(:hover) { text-decoration: none; }

@media (max-width: 1199px) {
  .rain-hero-copy { padding-top: 31px; }
  .rain-hero h1 { font-size: 68px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .rain-hero-copy { padding-top: 20px; }
  .rain-hero h1 { font-size: 60px; }
  .rain-hero p { margin-block: 12px 15px; }
}

@media (max-width: 760px) {
  .rain-hero { --sky: #d8e4d2; --sand: #e8d8c1; }
  .rain-hero-art { background: linear-gradient(to bottom, var(--sky) 0, var(--sky) 90.2%, var(--sand) 90.83%, var(--sand) 100%); }
  main .rain-hero-art img:not(.detail-gallery-image) { max-width: none; aspect-ratio: 768 / 960; }
  .rain-hero-copy { width: min(100%,430px); margin-inline: auto; padding: 22px 16px calc(100% * .359375 + 32px); }
  .rain-hero h1 { font-size: 42px; line-height: 1.02; text-wrap: balance; }
  .rain-hero p { margin: 10px auto 14px; font-size: 16px; }
  .rain-hero-actions { display: grid; grid-template-columns: minmax(0,1fr); gap: 7px; }
  .rain-hero-actions .button { min-height: 48px; height: 48px; padding-inline: 6px; white-space: nowrap; }
  .walk-products { gap: 8px; margin-bottom: 20px; }
  .walk-products img { aspect-ratio: 1; }
}

