/* Contact (plan.md "Contact"): the full form large on the left in its glowing box; beside it the desk phone, drawn
   large around its screen, where the call to SBOWiz connects (scene ctcall), the quicker ways under it; then the three
   steps after the form over the owner at his van (scene ctnext). */

/* #top: the form column and the phone column. The photo is drawn 1060 px wide around the phone (1050 on the phone),
   so its screen is about 220 px wide at every width and the call's words stay 13 px or more. */
.ct-top { position: relative; scroll-margin-top: var(--header-h); padding-block: clamp(26px, 4.2svh, 52px) clamp(44px, 6svh, 80px); background: radial-gradient(900px 560px at 80% 30%, rgba(36, 91, 128, .32), transparent 70%), var(--c-ink); }
.ct-top__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(32px, 4.4vw, 72px); align-items: start; }
.ct-top__main { min-width: 0; max-width: 680px; scroll-margin-top: calc(var(--header-h) + 16px); }
.ct-top__title { margin: 0; font-size: clamp(2.3rem, 1.1rem + 2.7vw, 3.7rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.ct-top__lead { max-width: 560px; margin: clamp(10px, 1.6svh, 16px) 0 0; font-size: var(--fs-lead); line-height: 1.5; color: rgba(246, 251, 253, .9); text-wrap: pretty; }
.ct-top__lead a { color: var(--c-brand); font-weight: 700; }
.ct-top__form { margin-top: clamp(20px, 3svh, 30px); }
.ct-top__side { min-width: 0; }
.ct-top__pic { position: relative; height: 640px; overflow: clip; border-radius: var(--radius-l); background: var(--c-ink-soft); box-shadow: var(--glow-soft), var(--shadow-l); }
.ct-top__zoom { position: absolute; width: 1060px; aspect-ratio: 3999 / 2619; left: calc(50% - 478px); top: calc(50% - 345px); }
.ct-top__zoom .ct-top__photo { width: 100%; height: 100%; }
.ct-top__zoom .screen { border-radius: 26px; background: linear-gradient(180deg, var(--c-navy-2) 0%, var(--c-navy) 44%, var(--c-ink-soft) 100%); } /* the call's own ground under the scene, so its loop's fade never shows the lock screen */
.ct-top__photo .screen > [data-scene] { position: absolute; inset: 0; }
.ct-top__stop { position: absolute; z-index: 3; top: 14px; right: 14px; }

/* The quicker ways, under the phone. */
.ct-ways { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.ct-way { display: flex; align-items: center; gap: 14px; margin: 0; padding: 12px 16px; border-radius: var(--radius-m); background: var(--glass); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: var(--c-on-ink); text-decoration: none; transition: box-shadow var(--dur-fast); }
a.ct-way:hover, a.ct-way:focus-visible { box-shadow: inset 0 0 0 1px rgba(2, 228, 255, .55); }
.ct-way__ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(2, 228, 255, .12); color: var(--c-brand); }
.ct-way__ic svg { width: 20px; height: 20px; }
.ct-way b { display: block; font: 700 1.02rem/1.25 var(--font-display); }
.ct-way em { display: block; margin-top: 2px; font-style: normal; font-size: var(--fs-small); color: var(--c-quiet); }

/* #next: the owner at his van, his face on the right; the three steps' cards over the van's plain side. */
.ct-next__stage { height: clamp(600px, 46vw, 660px); }
.ct-next .stage__media img { object-position: 62% 30%; }
.ct-next__scene { position: absolute; inset: 0; z-index: 2; }
.ct-next__stop { position: absolute; z-index: 3; top: 14px; right: 14px; }

@media (min-width: 1001px) and (max-width: 1279px) {
  .ct-top__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
  .ct-top__pic { height: 620px; }
}
@media (max-width: 1000px) {
  .ct-top__grid { grid-template-columns: minmax(0, 1fr); }
  .ct-top__main { max-width: none; }
  .ct-top__side { width: min(100%, 560px); justify-self: center; }
}
/* On the phone the cards stay on the photo, as on the computer, as a deck at the stage's foot: the photo is drawn larger
   from its foot (his face spans 24 to 52% of its height), so his face rises to the stage's top and the deck lies over
   his jacket and the van below his chin. Keyed to the scene's own deck (under 560 px of host), so the two never part. */
.ct-next__stage:has(.cn--deck) { height: 760px; }
.ct-next__stage:has(.cn--deck) .stage__media img { object-position: 88% 50%; transform: scale(1.28); transform-origin: 50% 100%; }
@media (max-width: 600px) {
  .ct-top__pic { height: 600px; }
  .ct-top__zoom { width: 1050px; left: calc(50% - 474px); top: calc(50% - 342px); }
}
