/* Who we help (plan.md, "Who we help"): white and lime green (body.page-lime).
   Grounds: hero night with three footage panels, breadth white, kinds night, buyers lime tint, plan night raised,
   anyway white, close footage. Tokens only. */

.page-lime .fcard__icon { background: var(--grad-lime-button); color: var(--c-white); }
.page-lime .faq__icon { background: var(--c-lime-ink); }

/* ---------- hero: the words, then three panels cut apart by two lime bolts ---------- */
.whh { padding-block: clamp(40px, 5vw, 72px) 0; overflow: hidden; }
.whh__copy { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding-bottom: clamp(32px, 4vw, 56px); }
.whh__title { margin: 0; font-size: var(--fs-h1); line-height: var(--lh-tight); max-width: 16ch; }
.whh__lede { margin: 0; font-size: var(--fs-lede); line-height: 1.5; color: var(--c-on-night); }
.whh__side .cta-row { margin-top: var(--space-4); }
.whh__panels { position: relative; height: clamp(420px, 54vh, 580px); }
.whh__panel { position: absolute; top: 0; bottom: 0; width: 36%; overflow: hidden; background: var(--c-night-raised); }
.whh__panel--1 { left: 0; clip-path: polygon(0 0, 97.22% 0, 90.56% 16%, 98.33% 30%, 90% 47%, 97.78% 62%, 91.11% 78%, 98.89% 92%, 94.44% 100%, 0 100%); }
.whh__panel--2 { left: 32%; clip-path: polygon(8.33% 0, 97.22% 0, 90.56% 16%, 98.33% 30%, 90% 47%, 97.78% 62%, 91.11% 78%, 98.89% 92%, 94.44% 100%, 5.56% 100%, 10% 92%, 2.22% 78%, 8.89% 62%, 1.11% 47%, 9.44% 30%, 1.67% 16%); }
.whh__panel--3 { left: 64%; clip-path: polygon(8.33% 0, 100% 0, 100% 100%, 5.56% 100%, 10% 92%, 2.22% 78%, 8.89% 62%, 1.11% 47%, 9.44% 30%, 1.67% 16%); }
.whh__media { position: absolute; inset: -14px; filter: saturate(0.55) brightness(0.72); transition: filter 900ms var(--ease-out); }
.whh__panel:has([data-kit-on]) .whh__media { filter: saturate(1) brightness(1); }
.whh__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.whh__panel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(10 12 16 / 0.6), transparent 42%); }
.whh__item { position: absolute; z-index: 2; bottom: 7%; width: min(300px, 74%); opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 14px)); }
.whh__panel--1 .whh__item { left: 6%; }
.whh__panel--2 .whh__item, .whh__panel--3 .whh__item { left: 15%; }
.whh__item .p2-strike__card { box-shadow: var(--shadow-l); }
.whh__seams { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.whh__seams polyline { fill: none; stroke: var(--c-lime); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgb(37 211 102 / 0.8)); }
.whh__stop { top: 14px; right: 14px; z-index: 6; }
@media (max-width: 900px) { .whh__copy { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .whh__panels { height: auto; display: grid; }
  .whh__panel { position: relative; left: auto; width: auto; height: 220px; clip-path: none; }
  .whh__panel + .whh__panel { border-top: 3px solid var(--c-lime); box-shadow: 0 -4px 14px -4px rgb(37 211 102 / 0.7); }
  .whh__seams { display: none; }
  .whh__panel .whh__item { left: 12px; bottom: 12px; width: min(290px, calc(100% - 24px)); }
  .whh__item .fcard { padding: 8px 12px 8px 8px; gap: 10px; }
  .whh__item .fcard__icon { width: 32px; height: 32px; }
  .whh__item .fcard__title { font-size: var(--fs-small); }
  .whh__item .fcard__sub { font-size: var(--fs-label); }
}

/* ---------- breadth: the wall of trades, full width on white ---------- */
.wh-breadth .sec__head { margin-bottom: clamp(24px, 3vw, 40px); }
.wh-breadth__stage { position: relative; }
.scene.wh-wall { height: 440px; }
.wh-breadth__stop { top: auto; bottom: 10px; right: var(--gutter); }
@media (max-width: 760px) { .scene.wh-wall { height: 420px; } }

/* ---------- kinds: six tall cards, each opening the chat ---------- */
.wh-kinds__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.wh-kind { position: relative; display: block; height: 440px; border-radius: var(--radius-m); overflow: hidden; color: var(--c-white); text-decoration: none; background: var(--c-night-raised); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08); }
.wh-kind__media { position: absolute; inset: -10px; }
.wh-kind__img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.wh-kind::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 12 16 / 0.94) 0%, rgb(10 12 16 / 0.7) 38%, transparent 66%); pointer-events: none; }
.wh-kind__body { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 16px; display: grid; gap: 6px; }
.wh-kind__name { font: var(--w-head) 1.15rem/1.15 var(--font-display); font-stretch: var(--stretch-display); }
.wh-kind__fields { font-size: var(--fs-small); line-height: 1.35; color: var(--c-lime); }
.wh-kind__line { font-size: var(--fs-small); line-height: 1.4; color: var(--c-on-night); }
.wh-kind:hover .wh-kind__media, .wh-kind:focus-visible .wh-kind__media { --react-scale: 1.1; transition: transform var(--dur-med) var(--ease-out); }
.wh-more { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 14px; padding: 18px 22px; border-radius: var(--radius-m); color: var(--c-on-night); text-decoration: none; background: var(--c-night-raised); box-shadow: inset 0 0 0 2px var(--c-lime); }
.wh-more__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-lime-ink); color: var(--c-white); }
.wh-more__text { font-size: var(--fs-body); line-height: 1.45; }
.wh-more__go { padding: 10px 16px; border-radius: var(--radius-s); background: var(--grad-lime-button); color: var(--c-white); font: 600 var(--fs-ui)/1 var(--font-ui); white-space: nowrap; text-shadow: var(--btn-shade-lime); } /* member fix (29 Nov): no white glow; (29 Nov, second): her green again (--grad-lime-button) with the white words' deep green shade, as 26 Nov, third, still no white glow */
@media (max-width: 1100px) { .wh-kinds__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wh-kind { height: 380px; } }
@media (max-width: 760px) {
  .wh-kinds__row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none; }
  .wh-kinds__row::-webkit-scrollbar { display: none; }
  .wh-kind { flex: 0 0 72%; scroll-snap-align: start; height: 420px; }
  .wh-more { grid-template-columns: auto minmax(0, 1fr); }
  .wh-more__go { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- buyers: three ways customers buy ---------- */
.wh-buyers__stage { position: relative; }
.scene.wh-three { height: 510px; }
.wh-buyers__stop { top: -8px; right: 0; }
@media (max-width: 760px) { .scene.wh-three { height: auto; min-height: 880px; } } /* its tallest state (the second card open: 819 px at 390 px wide, more at 360), so nothing under it moves */

/* ---------- plan: the owner, and her plan in three cards ---------- */
.wh-plan__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.wh-plan__copy .sec__lede { color: var(--c-on-night); }
.wh-plan__pic { position: relative; margin: var(--space-5) 0 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-l), 0 0 0 1px rgb(37 211 102 / 0.25); }
.wh-plan__media { position: absolute; inset: -10px; }
.wh-plan__img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.wh-plan__pic figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgb(10 12 16 / 0.8); color: var(--c-white); font: 600 var(--fs-small)/1.2 var(--font-ui); }
.wh-plan__stage { position: relative; }
.wh-plan__stop { top: -8px; right: 0; }
@media (max-width: 900px) { .wh-plan__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- anyway: the chat in a phone over the detailer's work ---------- */
.wh-anyway__frame { position: relative; height: 560px; border-radius: var(--radius-l); overflow: hidden; background: var(--c-night); box-shadow: var(--shadow-l); }
.wh-anyway__media { position: absolute; inset: -12px; }
.wh-anyway__img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 50%; }
.wh-phone { position: absolute; left: 6%; top: 50%; width: 300px; height: 460px; margin-top: -230px; display: grid; grid-template-rows: auto minmax(0, 1fr); border-radius: var(--radius-phone); overflow: hidden;
  background: rgb(10 12 16 / 0.72); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--shadow-l); color: var(--c-on-night); }
.wh-phone__head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; border-bottom: 1px solid var(--glass-edge); }
.wh-phone__head b { display: block; font: 700 var(--fs-small)/1.2 var(--font-ui); }
.wh-phone__head small { display: block; font-size: var(--fs-label); color: var(--c-on-night-soft); }
.wh-phone__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-lime-ink); color: var(--c-white); }
.wh-chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; overflow: hidden; opacity: calc(1 - var(--kit-out, 0)); }
.wh-msg, .wh-chips { margin: 0; opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.wh-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: var(--fs-small); line-height: 1.35; }
.wh-msg--bot { align-self: flex-start; background: rgb(255 255 255 / 0.12); border-bottom-left-radius: 4px; }
.wh-msg--me { align-self: flex-end; background: var(--c-lime-ink); color: var(--c-white); border-bottom-right-radius: 4px; }
.wh-msg--done { display: flex; align-items: center; gap: 8px; background: var(--c-white); color: var(--c-on-day); }
.wh-msg--done svg { flex: none; color: var(--c-lime-ink); }
.wh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wh-chips span { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--glass-edge); font: 600 var(--fs-small)/1 var(--font-ui); }
.wh-chips [data-kit-pick][data-kit-on] { background: var(--c-lime); border-color: var(--c-lime); color: var(--c-on-day); }
.wh-typing { display: flex; gap: 4px; }
.wh-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-on-night-soft); animation: wh-dot 1s var(--ease-in-out) infinite; }
.wh-typing i:nth-child(2) { animation-delay: 0.15s; } .wh-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes wh-dot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-4px); opacity: 1; } }
.wh-bar { display: block; height: 4px; margin-top: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--c-lime) calc(var(--kit-fill, 0) * 100%), rgb(255 255 255 / 0.14) 0); }
.wh-anyway__stop { top: 14px; right: 14px; }
@media (max-width: 760px) {
  .wh-anyway__frame { height: 620px; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .wh-anyway__img { object-position: 75% 50%; }
  .wh-phone { left: 50%; top: auto; bottom: 16px; margin: 0 0 0 -145px; width: 290px; height: 420px; }
}
@media (prefers-reduced-motion: reduce) { .wh-typing i { animation: none; } }

/* ---------- close: a street of small shops at dusk ---------- */
.wh-close { min-height: min(86vh, 760px); display: grid; align-items: center; padding-block: calc(var(--edge-h) + 96px) clamp(80px, 9vw, 128px); background-color: var(--c-mono-black); }
.wh-close__media { inset: var(--edge-h) 0 0; overflow: hidden; }
.wh-close__drift { position: absolute; inset: -48px 0; }
.wh-close__shade { position: absolute; inset: 0; background: radial-gradient(ellipse 62% 70% at 50% 50%, rgb(10 12 16 / 0.72), rgb(10 12 16 / 0.3) 75%), linear-gradient(0deg, rgb(10 12 16 / 0.7), transparent 30%); }
.wh-close__in { position: relative; display: grid; justify-items: center; text-align: center; }
.wh-close .band__title { max-width: 18ch; }
.wh-close .band__lede { margin-inline: auto; }
.wh-close__box { margin-top: var(--space-5); }
.wh-close .bolt { left: 50%; z-index: -1; }
.wh-close__card { display: grid; justify-items: center; gap: 10px; padding: 18px 24px; border-radius: var(--radius-l); background: var(--glass-strong); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.wh-close__card .cta-note { margin: 0; color: var(--c-on-night); }
/* Member fix (25 Nov, fourth), Paula: "on the Who we help, on the bottom picture of the woman walking up the street, to make
   a little lighter behind". The closing band (#close.wh-close--lift, who-we-help.mjs), on a computer and a phone: a lighter
   shade (centre 0.38, edges 0.06, bottom 0.45; was 0.72, 0.3, 0.7) and the clip a little brighter (--lift), the words with a
   soft shade of their own and the header's text shadow, as the home page's closing band (components.css, .band--lift).
   Band's mean light at 1440 0.047 -> 0.105; headline 8.3:1 or more, lede 9.1:1 or more (checks/fix-member-2026-11-25d). */
.wh-close__copy { position: relative; display: grid; justify-items: center; }
.wh-close--lift .wh-close__shade { background: radial-gradient(ellipse 62% 70% at 50% 50%, rgb(10 12 16 / 0.38), rgb(10 12 16 / 0.06) 75%), linear-gradient(0deg, rgb(10 12 16 / 0.45), transparent 30%); }
.wh-close--lift .band__video { filter: brightness(var(--lift, 1)) contrast(1.04) saturate(1.05); }
.wh-close--lift .wh-close__copy::before { content: ''; position: absolute; z-index: -1; inset: -40px -64px -36px -72px; background: var(--shade-words); border-radius: 56px; filter: blur(44px); pointer-events: none; }
.wh-close--lift .band__title, .wh-close--lift .band__lede { text-shadow: 0 2px 22px rgb(10 12 16 / 0.6); }
.wh-close--lift .band__title em { text-shadow: none; } /* a shadow under a word painted by background-clip would darken its gradient */
@media (max-width: 760px) { .wh-close--lift .wh-close__copy::before { background: var(--shade-words-phone); inset: -28px -40px -24px -40px; filter: blur(32px); } }
/* member fix (30 Nov, fifth): her email of 30 Nov, 23:22 (UTC+8), "Bring back the Not on the list button from filigree back
   to the brighter green": the silver filigree rule of 30 Nov, fourth, is taken out, so the "Not on the list?" section's Get
   my free plan button is her green again (--grad-lime-button #00D632, from .page-lime in components.css), like the hero's,
   the close's and "And many more". nav-filigree.webp went with it (in before-fix-2026-11-30e\assets\img\). */
