/* Interactive AI Websites (/aiwebiste-landing/): the page's own sizes for its scenes; every look is in components.css
   (the inner pages' shared forms). */

/* the header: the words narrower and the website wider, so adv-site is drawn at its real size from a 1024 px screen;
   its stop icon in the stage's own top room, above the window */
.page-web .ahero__in { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.page-web .ahero__copy h1 { font-size: clamp(2.1rem, 1.1rem + 2vw, 3rem); }
.page-web .ahero__copy .lead { text-wrap: balance; }
.ahero__stage.web__site { padding-top: 48px; }
.web__site > .ahero__stop { top: 0; }
.ahero__stage.web__site .scene { aspect-ratio: auto; height: 560px; }
@container (width < 500px) { .ahero__stage.web__site .scene { aspect-ratio: auto; height: 560px; } }
@media (max-width: 900px) { .page-web .ahero__in { grid-template-columns: 1fr; } }

/* the signature: the ring and the chat side by side at the stage's height; one above the other, as tall as they are */
.sig__stage.web__chat .scene { height: 560px; }
@container (width < 760px) { .sig__stage.web__chat .scene { height: auto; } }

/* channels-merge in glass on the photo's calm left (his face is at about 62 % across, in its upper third) */
.web__inbox { container-type: inline-size; align-self: center; }
.web__inbox .scene { width: 100%; aspect-ratio: 900 / 520; }
@container (width < 640px) { .web__inbox .scene { aspect-ratio: auto; height: 560px; max-width: 420px; } }
/* on the phone more than half of the inbox stands on the photo, under his face */
@media (max-width: 900px) { .page-web #requests { --chapter-media-h: 140vw; --chapter-overlap: 300px; } }
@media (min-width: 901px) {
  .page-web #requests .chapter__in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .page-web #requests .chapter__copy { align-self: end; padding-bottom: clamp(8px, 3vw, 40px); }
}

/* the close on the phone: her face sits at 40 % down the photo, so the photo stands above the words, never under them */
@media (max-width: 760px) {
  .page-web #start { padding-top: calc(100vw + 8px); }
  .page-web #start .close__media { bottom: auto; height: 108vw; overflow: clip; }
  .page-web #start .close__media::after { background: linear-gradient(to bottom, transparent 40%, var(--c-ink) 92%); }
  /* the ring closes around her on the photo, the words under it */
  .page-web #start .close__scene { bottom: auto; height: 108vw; }
}
