/* Who we help: plan.md, Who we help. Only placing and sizing, with the tokens of system.css. */

/* ---------- #hero: three businesses in turn, the headline centred, the faces above it ---------- */
.whead { position: relative; isolation: isolate; overflow: hidden; background: var(--c-purple-deep); color: var(--c-paper); }
.whead__stage { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.whead__stage video { object-position: 50% 20%; }
.whead__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, color-mix(in srgb, var(--c-purple-deep) 92%, transparent) 0, color-mix(in srgb, var(--c-purple-deep) 76%, transparent) 42%, transparent 72%); }
.whead__stop { top: 18px; right: 18px; }
.whead__in { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: min(calc(100vh - 120px), 740px); padding-block: var(--space-6) var(--space-4); text-align: center; }
.whead__title { color: var(--c-paper); }
.whead__word { color: var(--c-brand-light); display: inline-block; opacity: calc(1 - var(--kit-swap, 0)); transform: translateY(calc(var(--kit-swap, 0) * 8px)); }
.whead .lede { margin: 12px 0 0; }
@media (max-width: 899px) { .whead__in { min-height: 520px; } }

/* ---------- #kinds: the signature, type as the picture on the sphere-glow field ---------- */
.kindsp { position: relative; overflow: hidden; background: var(--c-paper-alt); }
.kindsp__glow i { position: absolute; border-radius: 50%; pointer-events: none; }
.kindsp__glow i:nth-child(1) { left: -6%; bottom: -30%; width: 640px; height: 640px; background: radial-gradient(circle, color-mix(in srgb, var(--c-brand) 24%, transparent), transparent 66%); }
.kindsp__glow i:nth-child(2) { right: -8%; top: -24%; width: 680px; height: 680px; background: radial-gradient(circle, color-mix(in srgb, var(--c-accent) 18%, transparent), transparent 66%); }
.kindsp .wrap { position: relative; }
.kindsp__stage { position: relative; }
.kindsp__title { margin-bottom: var(--space-3); }
.kindsp__stop { top: auto; bottom: 16px; right: 0; z-index: 2; background: var(--c-paper); }
@media (max-width: 899px) { .kindsp__title { padding-right: 52px; text-align: left; } }

/* ---------- #who: the six and many more ---------- */
.wtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.wtile { position: relative; display: block; overflow: hidden; min-height: 380px; border-radius: var(--radius-l); box-shadow: var(--shadow-m); background: var(--c-paper); color: var(--c-ink); }
/* cards, not links (Tim, 8 Nov): no lift on hover; the home page's tiles land on them by their ids, and the one landed on
   is ringed in the brand teal */
.wtile:target { box-shadow: 0 0 0 3px var(--c-brand), var(--shadow-m); }
.wtile__img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: 50% 28%; }
.wtile__body { display: grid; gap: 6px; padding: 16px 18px 18px; }
.wtile__title { font: 900 1.2rem / 1.2 var(--font-display); }
.wtile__fields { font: 600 var(--fs-small) / 1.35 var(--font-ui); color: var(--c-ink-soft); }
.wtile__line { font: 800 1rem / 1.3 var(--font-ui); color: var(--c-purple); }
.wtile--more { grid-column: 1 / -1; min-height: 0; background: var(--c-purple-deep); color: var(--c-paper); }
.wtile--more .wtile__body { grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 2px 16px; padding: 22px 26px; }
.wtile--more .sphere { --s: 44px; grid-row: 1 / 3; }
.wtile--more .wtile__line { color: var(--c-paper); }
@media (max-width: 899px) { .wtiles { grid-template-columns: minmax(0, 1fr); } .wtile { min-height: 0; } }

/* ---------- #buyers: three kinds of buyer on the designed ground ---------- */
.buyersp { position: relative; overflow: hidden; }
.buyersp__glow i { position: absolute; left: 30%; top: 8%; width: 760px; height: 760px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, color-mix(in srgb, var(--c-purple) 12%, transparent), transparent 66%); }
.buyersp .wrap { position: relative; }
.buyersp__stage { position: relative; min-height: 460px; }
.buyersp__stop { top: -48px; right: 0; background: var(--c-paper); }
/* one column: its cards differ in height as they open; the part keeps its tallest, its line at the foot, so nothing under it jumps */
@media (max-width: 799px) {
  .buyersp__stage .tb { display: flex; flex-direction: column; box-sizing: border-box; min-height: 800px; }
  .buyersp__stage .tb-foot { margin-top: auto; }
}
@media (max-width: 480px) { .buyersp__stage .tb { min-height: 880px; } }

/* ---------- #strategy-map: the words beside the plan building over a tablet on a counter ---------- */
.snapp__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-5); align-items: center; }
.snapp__words .h2, .snapp__words .lede { text-align: left; }
.snapp__frame { min-height: 620px; }
.snapp__bg { object-position: 50% 50%; }
.snapp__scene { position: absolute; inset: 24px auto 24px 24px; width: min(620px, calc(100% - 48px)); }
.snapp__scene > [data-scene] { width: 100%; height: 100%; }
@media (max-width: 899px) {
  .snapp__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .snapp__frame { min-height: 740px; }
  .snapp__scene { inset: 12px; width: auto; }
}

/* ---------- #anyway: the florist, her chat on the side clear of her face ---------- */
.anyway__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-5); align-items: center; }
.anyway__words .h2, .anyway__words .lede { text-align: left; }
.anyway__words .lede a { color: var(--c-purple); font-weight: 800; }
.anyway__frame { min-height: 560px; }
.anyway__bg { object-position: 60% 20%; }
.anyway__scene { position: absolute; left: 14px; bottom: 14px; width: 282px; }
@media (max-width: 899px) {
  .anyway__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .anyway__frame { min-height: 620px; }
  .anyway__bg { object-position: 60% 0; }
  .anyway__scene { left: 50%; width: min(300px, 88%); transform: translateX(-50%); }
}
