/* The Call Answering & Follow-Up page's own CSS: where each picture is cropped and where each scene sits, clear of the
   faces. Tokens of design\system.css only. */

/* the header: the technician at the unit, his face in the upper middle; the call card at the lower right, over his back */
.page-calls .hero--bleed .hero__text { max-width: 560px; }
.page-calls .hero--bleed .hero__line { max-width: 470px; }
.page-calls .hero__slide video { object-position: 0% 40%; }
.page-calls .hero__art { width: 320px; margin-right: clamp(12px, 1.6vw, 30px); margin-bottom: clamp(28px, 3vw, 44px); }
.page-calls .hero__art .hero__scene { height: 340px; }
@media (max-width: 899px) { .page-calls .hero__slide video { object-position: 60% 30%; } }

/* before and after: the cards at the lower right, clear of both faces */
.page-calls .ba__side--before { --pos: 50%; }
.page-calls .ba__side--after { --pos: 60%; }

/* what is included: the caller's photo beside the call written up (on the ink); the reply over the typing hands */
.page-calls .feature__media--voice > img { width: 44%; object-position: 50% 28%; }
.page-calls .feature__media--voice > .feature__scene--side { width: 56%; }
.page-calls .feature__media--reply { --pos: 40%; }
.page-calls .feature__media--reply > .feature__scene--side { display: grid; align-content: center; padding: 24px; box-sizing: border-box; }
@media (max-width: 759px) {
  .page-calls .feature__media--voice { --media-h-m: 980px; }
  .page-calls .feature__media--voice > img { width: 100%; height: 320px; bottom: auto; object-position: 50% 26%; }
  .page-calls .feature__media--voice > .feature__scene--side { width: 100%; height: 660px; }
  .page-calls .feature__media--reply { --media-h-m: 560px; --scene-h-m: 380px; --pos-m: 45%; }
  .page-calls .feature__media--reply > .feature__scene--side { padding: 12px; }
}

/* see it beside: the owner at his bench, every lead in one inbox beside him */
.page-calls .media-frame--side { --pos: 30%; --pos-m: 36%; }

/* the close: the technician and the homeowner at the photo's two sides, their faces in its top third; the words
   centered under them, on a shade that rises from the band's foot; the card in the doorway between them */
.close--low { padding-top: clamp(330px, 32vw, 430px); }
.close--low .band__bg img { object-position: 50% 0%; }
.close--low .band__bg::after { background: linear-gradient(0deg, color-mix(in srgb, var(--c-ink) 96%, transparent) 0%, color-mix(in srgb, var(--c-ink) 90%, transparent) 46%, color-mix(in srgb, var(--c-ink) 40%, transparent) 64%, transparent 80%); }
.close--low .wrap { display: flex; justify-content: center; }
.close--low .close__text { max-width: 640px; text-align: center; }
.close--low .close__text .picker { margin-inline: auto; text-align: left; }
.page-calls .close { --chip-x: 38.5%; --chip-y: 72%; }
.page-calls .close__chip { width: min(300px, 25%); }
@media (max-width: 899px) {
  .close--low { padding-top: 0; }
  .close--low .band__bg::after { background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--c-ink) 55%, transparent)); }
  .page-calls .close { --pos-m: 50%; }
  .page-calls .close__chip { width: min(300px, calc(100% - 70px)); }
}
