/* The SPO page: only where its form, scenes and pictures sit (the patterns are in components.css). */

/* the header: the words and the form on the grade at the left; the search box in glass by her hands at the right */
.spo-top .phead__media img { object-position: 62% 50%; }
.spo-top .phead__line { margin-bottom: 22px; }
.spo-form { max-width: 520px; }
.phead__scene.spo-type { height: 520px; }

/* how it works: the wide design fitted to the stage; its column below 1090 px */
.ground__scene.spo-weeks { height: auto; aspect-ratio: 1040 / 470; }
.spo-how__stop { top: -52px; }
.spo-how .cta-row { margin-top: clamp(28px, 3.5vw, 44px); }

/* how you see it: the owner at the top of the frame, the month's new clients low over the shingles */
.spo-see .split__pic { height: clamp(600px, 50vw, 700px); }
.spo-see .stage__media img { object-position: 42% 12%; }
.spo-see__shade { background: linear-gradient(0deg, rgba(11, 17, 32, 0.55) 0%, rgba(11, 17, 32, 0.2) 45%, rgba(11, 17, 32, 0) 62%); }
.stage > .spo-flow { left: 18px; right: 18px; bottom: 18px; height: 390px; }
.spo-see .split__stop { left: auto; right: 16px; }

/* the close: the card at the right, clear of their faces */
.spo-close .pclose__media img { object-position: 30% 40%; }

@media (max-width: 1090px) {
  .ground__scene.spo-weeks { aspect-ratio: auto; height: 560px; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .phead__scene.spo-type { height: 470px; }
  /* the words and the form on the navy; her hands and the search box below them, on the photo */
  .spo-top .phead__media, .spo-top .phead__shade { top: auto; bottom: 0; height: 620px; }
  .spo-top .phead__shade { background: linear-gradient(180deg, var(--c-brand-dark) 0%, rgba(11, 17, 32, 0.25) 22%, rgba(11, 17, 32, 0.2) 100%); }
  /* the scene sits under the form: its stop just under it, in view with it */
  .spo-top .phead__in { padding-bottom: 60px; }
  .spo-top .phead__stop { top: auto; bottom: 12px; }
  .spo-see .split__pic { height: 700px; }
  .stage > .spo-flow { left: 10px; right: 10px; bottom: 10px; height: 440px; }
  .spo-close .pclose__media img { object-position: 64% 40%; } /* her face whole at the right, the roofer's shoulder at the left */
}
