@import url("../arsenal/motif-window.css");
/* Who We Help (plan.md): header F (the motif window: three home services at work seen through the goal ring, the H1
   and the form), the trades and one week on the designed ground, four trades at work each with a booked ticket, three
   kinds of buyer on the designed ground, the plan building itself over the calendar clip, and the close. */

/* ---------- top: the motif window, its form in the action box ---------- */
.page-who .motif-window__act .formbox { max-width: 460px; margin-top: var(--space-4); }

/* ---------- every: the trades drifting past one week, on the designed ground ---------- */
.every .ground__rings { right: -20%; top: 10%; }
.every .head { margin-bottom: var(--space-4); }
.every__stage { position: relative; max-width: 1440px; margin: 0 auto; }
.every__scene { position: relative; width: 100%; height: 460px; }
/* the stop icon over the first row's faded end, clear of the week card */
.every__stage > .stop { top: 10px; right: 8px; }

/* ---------- kinds: four trades at work, a job booked on each ---------- */
.kinds__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.kinds__tile { margin: 0; aspect-ratio: 4 / 3; }
.kinds__tile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, color-mix(in srgb, var(--c-night-2) 82%, transparent) 0%, color-mix(in srgb, var(--c-night-2) 30%, transparent) 30%, transparent 46%); }
.kinds__scene { right: 16px; top: 16px; width: min(260px, calc(100% - 32px)); height: 90px; }
.kinds__tile > .stop { top: auto; bottom: 16px; right: 16px; }
.kinds__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: grid; gap: 4px; padding: 20px 64px 20px 22px; color: var(--c-on-night); }
.kinds__cap b { font: 800 clamp(22px, 2vw, 28px)/1.1 var(--font-display); }
.kinds__cap span { font-size: var(--fs-body, 16px); line-height: 1.4; color: color-mix(in srgb, var(--c-on-night) 88%, transparent); }
@media (max-width: 899px) {
  .kinds__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .kinds__scene { width: min(240px, calc(100% - 24px)); right: 12px; top: 12px; }
}

/* ---------- buyers: three ways customers hire, on the designed ground ---------- */
.buyers .ground__rings { left: -26%; top: 14%; }
.buyers__stage { position: relative; max-width: 1100px; margin: 0 auto; }
.buyers__scene { position: relative; width: 100%; height: 460px; }
.buyers__stage > .stop { top: 8px; right: 8px; }
/* under 760 px the piece lays its buyers out in the flow: the stage takes their height, with no empty panel under them */
@media (max-width: 759px) { .buyers__scene { height: auto; min-height: 0; } }

/* ---------- plan: the plan building itself, over the calendar clip ---------- */
.plan__in { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr); gap: var(--space-6); align-items: center; }
.plan__copy h2 { font-size: var(--fs-h2); max-width: 13ch; }
.plan__copy .head__line { margin-top: var(--space-3); max-width: 34ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-ink-soft); }
.plan__shot { height: 640px; --focus: 50% 50%; }
.plan__shot::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: color-mix(in srgb, var(--c-night-2) 34%, transparent); }
.plan__scene { inset: 24px 24px 24px 24px; }
@media (max-width: 999px) {
  .plan__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
}
@media (max-width: 649px) {
  .plan__shot { height: 760px; }
  .plan__scene { inset: auto 50% 14px auto; translate: 50% 0; width: min(360px, calc(100% - 20px)); height: 700px; }
  .plan__shot > .stop { top: 12px; right: 12px; }
}

/* ---------- close ---------- */
.page-who .close-band { --focus: 45% 30%; }
