@import url("../arsenal/motif-window.css");

/* Who we help: plan.md "who-we-help". The breadth: three trades through the site's node, every kind of local business
   wired to the hub, what one new client is worth to each, how each kind of customer chooses, the plan in words any
   business reads as its own, and a way in for every other business. */

/* ---------- shared ---------- */
.wwh-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
.wwh-cta .btn-line { margin: 0; }

/* ---------- hero: three trades take turns inside the node, which grows with the scroll ---------- */
/* the section starts under the page's glass header, so its stage fills the first screen and the headline and its button
   at the stage's foot (on the phone) stay on it */
.wwh-hero { --wwh-head: 100px; margin-top: calc(-1 * var(--wwh-head)); }
/* the headline at the size of every other page's (Klaus, 12 Nov: the motif window's own size was too big), on a soft
   shade of its own wherever it stands over a picture */
.wwh-hero .motif-window__h { max-width: 15ch; font-size: var(--fs-h1); font-weight: 600; letter-spacing: -0.025em; line-height: 1.07; }
/* the soft shade: a glow of the navy behind the headline and its line, drawn with the words over the pictures (inside
   the window, under the light copy; and under the words themselves when the motion rests), so they read over any
   picture at any point of the scroll; on the navy ground it cannot be seen */
.wwh-hero .motif-window__view .motif-window__copy::before,
.wwh-hero:not([data-ready]) .motif-window__stage > .motif-window__copy::before {
  content: ""; position: absolute; z-index: -1; inset: 14% -38% 14% -24%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c-ground) 72%, transparent), color-mix(in srgb, var(--c-ground) 46%, transparent) 58%, transparent);
}
/* at rest (reduced motion, or no script) the words are the stage's own copy: above the picture's shade (z-index 2), so
   the shade never greys them */
.wwh-hero:not([data-ready]) .motif-window__stage > .motif-window__copy { z-index: 3; }
@container motif-window (width < 760px) {
  .wwh-hero .motif-window__view .motif-window__copy::before,
  .wwh-hero:not([data-ready]) .motif-window__stage > .motif-window__copy::before { inset: -34% -12% -22% -12%; }
}
/* on a phone the call bar (about 70 px) rises at the screen's foot while the header is pinned: the words sit above it */
@media (max-width: 899px) {
  @container motif-window (width < 760px) {
    .wwh-hero .motif-window__copy { bottom: calc(clamp(36px, 9cqi, 64px) + 70px); }
  }
}
/* each picture framed on its faces: the shape opens on them, and they end on the right, the calm side under the words */
.wwh-hero__media--1 { --mw-focus: 72% 36%; --mw-focus-narrow: 75% 38%; }
.wwh-hero__media--2 { --mw-focus: 77% 32%; --mw-focus-narrow: 76% 30%; }
.wwh-hero__media--3 { --mw-focus: 68% 32%; --mw-focus-narrow: 62% 30%; }
/* the stop icon in the stage's top corner, below the page's sticky header */
.wwh-hero__stop { top: calc(var(--wwh-head) + 16px); right: max(var(--gutter), calc((100% - var(--max-w)) / 2)); }

/* ---------- all: every kind of local business wired to the hub, on the designed ground ---------- */
.wwh-all {
  padding-block: var(--section-y) clamp(3.5rem, 2rem + 4vw, 6rem);
  background: radial-gradient(64% 52% at 50% 64%, color-mix(in srgb, var(--c-brand) 9%, transparent), transparent 72%), var(--c-ground);
  border-top: 1px solid var(--c-hair-soft);
  overflow: clip;
}
.wwh-all__head { display: grid; gap: var(--space-3); max-width: 48rem; text-align: center; }
.wwh-all__head .section-head__title, .wwh-all__head .section-head__line { margin: 0 auto; }
.wwh-all__stage { position: relative; margin-top: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); }
/* the four rows with the hub's card between the second and the third, and room above and below for the chips */
.wwh-all__stage .wwh-all__scene { position: relative; height: clamp(480px, 380px + 15vw, 610px); }
.wwh-all__stop { top: -54px; right: max(var(--gutter), calc((100% - var(--max-w)) / 2)); }

/* ---------- kinds: the tour, seven tabs in a column beside one framed photo ---------- */
.wwh-kinds { padding-block: var(--section-y); }
.wwh-kinds__head { display: grid; gap: var(--space-3); max-width: 42rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.wwh-kinds__tour { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(var(--space-4), 3vw, var(--space-5)); align-items: center; }
.wwh-kinds__tabs { display: grid; gap: 4px; }
.wwh-tab {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 16px 12px 20px;
  border: 0; border-radius: var(--radius-s); background: transparent; color: var(--c-on-ink-soft);
  font: 600 var(--fs-ui)/1.3 var(--font-ui); text-align: left; cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.wwh-tab:hover { color: var(--c-on-ink); background: color-mix(in srgb, var(--c-raised) 60%, transparent); }
.wwh-tab:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 2px; }
.wwh-tab[aria-selected="true"] { color: var(--c-on-ink); background: var(--c-raised); box-shadow: 0 0 0 1px var(--c-hair); }
/* each kind's node, lit on the kind shown */
.wwh-tab::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--c-brand) 60%, transparent); transition: background-color var(--dur-fast), box-shadow var(--dur-fast); }
.wwh-tab[aria-selected="true"]::before { background: var(--c-brand); border-color: var(--c-brand); box-shadow: 0 0 10px var(--c-glow); }
.wwh-tab__label { flex: 1; }
/* the kind's time, filling down its edge while the tour turns */
.wwh-tab__fill { position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; overflow: hidden; opacity: 0; background: color-mix(in srgb, var(--c-brand) 20%, transparent); }
.wwh-tab[aria-selected="true"] .wwh-tab__fill { opacity: 1; }
.wwh-tab__fill::after { content: ""; position: absolute; inset: 0; background: var(--c-brand); transform-origin: 50% 0; }
.wwh-kinds__tabs[data-kit-on] .wwh-tab[aria-selected="true"] .wwh-tab__fill::after { transform: scaleY(var(--kit-fill, 0)); }
.wwh-kinds__panels { position: relative; display: grid; }
.wwh-panel { grid-area: 1 / 1; border-radius: var(--radius-l); }
.wwh-panel:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 4px; }
.wwh-panel__frame {
  position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: var(--radius-l); overflow: hidden; background: var(--c-raised);
  box-shadow: 0 0 0 1px var(--c-hair), var(--shadow-l);
}
.wwh-panel__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wwh-panel__photo--outdoor, .wwh-panel__photo--finance { object-position: 70% 50%; }
.wwh-panel__frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(20deg, color-mix(in srgb, var(--c-ground) 46%, transparent) 0%, transparent 42%); }
.wwh-panel__frame--right::after { background: linear-gradient(-20deg, color-mix(in srgb, var(--c-ground) 46%, transparent) 0%, transparent 42%); }
.wwh-card {
  position: absolute; z-index: 2; left: 4%; bottom: 5%; display: grid; gap: 2px; width: min(330px, 44%); margin: 0; padding: 16px 18px 14px;
  border-radius: var(--radius-m); background: color-mix(in srgb, var(--c-ground) 80%, transparent); border: 1px solid var(--c-hair);
  box-shadow: var(--shadow-l); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.wwh-panel__frame--right .wwh-card { left: auto; right: 4%; }
.wwh-card p { margin: 0; }
.wwh-card__label { font: 600 var(--fs-small)/1.3 var(--font-ui); color: var(--c-accent-on-ink); }
.wwh-card__value { font: 600 var(--fs-h3)/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--c-on-ink); }
.wwh-card p.wwh-card__fields { margin-top: 6px; font: 400 var(--fs-small)/1.45 var(--font-ui); color: var(--c-on-ink-soft); }
.wwh-card__link { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 32px; margin-top: 6px; font: 600 var(--fs-small)/1.3 var(--font-ui); color: var(--c-brand-on-ink); text-decoration: none; }
.wwh-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.wwh-card__link .btn__arrow { width: 16px; height: 16px; }
.wwh-kinds__stop { top: 14px; right: 14px; }

/* ---------- buyers: three kinds of customer, framed on the network ---------- */
.wwh-buyers {
  padding-block: var(--section-y);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='900' viewBox='0 0 1440 900' fill='none'%3E%3Cg stroke='%2396E1F9' stroke-opacity='.12'%3E%3Cpath d='M30 120 L180 60 L330 170 L150 300 L50 430 M180 60 L150 300 M330 170 L110 600 L50 430 M110 600 L240 760 L60 860'/%3E%3Cpath d='M1410 100 L1260 50 L1100 150 L1280 290 L1400 410 M1260 50 L1280 290 M1100 150 L1340 580 L1400 410 M1340 580 L1200 750 L1390 860'/%3E%3C/g%3E%3Cg fill='%2396E1F9' fill-opacity='.38'%3E%3Ccircle cx='30' cy='120' r='3'/%3E%3Ccircle cx='180' cy='60' r='3.5'/%3E%3Ccircle cx='330' cy='170' r='3'/%3E%3Ccircle cx='150' cy='300' r='3.5'/%3E%3Ccircle cx='50' cy='430' r='3'/%3E%3Ccircle cx='110' cy='600' r='3.5'/%3E%3Ccircle cx='240' cy='760' r='3'/%3E%3Ccircle cx='60' cy='860' r='3'/%3E%3Ccircle cx='1410' cy='100' r='3'/%3E%3Ccircle cx='1260' cy='50' r='3.5'/%3E%3Ccircle cx='1100' cy='150' r='3'/%3E%3Ccircle cx='1280' cy='290' r='3.5'/%3E%3Ccircle cx='1400' cy='410' r='3'/%3E%3Ccircle cx='1340' cy='580' r='3.5'/%3E%3Ccircle cx='1200' cy='750' r='3'/%3E%3Ccircle cx='1390' cy='860' r='3'/%3E%3C/g%3E%3C/svg%3E") 50% 50% / max(1440px, 100%) auto no-repeat,
    linear-gradient(180deg, var(--c-ground), color-mix(in srgb, var(--c-raised) 44%, var(--c-ground)) 50%, var(--c-ground));
  border-block: 1px solid var(--c-hair-soft);
}
.wwh-buyers__head { display: grid; gap: var(--space-3); max-width: 46rem; margin: 0 auto clamp(2.5rem, 1.5rem + 3vw, 3.5rem); text-align: center; }
.wwh-buyers__head .section-head__title, .wwh-buyers__head .section-head__line { margin: 0 auto; }
/* the scene draws its own framed panel on the ink */
.wwh-buyers__stage { position: relative; max-width: 1100px; margin-inline: auto; }
.wwh-buyers__stage .wwh-buyers__scene { position: relative; height: 460px; }
.wwh-buyers__stop { top: -54px; right: 0; }

/* ---------- plan: plan-builder in glass over the handshake's bare left half ---------- */
.wwh-plan { padding-block: var(--section-y); }
.wwh-plan__head { display: grid; gap: var(--space-3); max-width: 40rem; }
.wwh-plan__frame {
  position: relative; margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 0; aspect-ratio: 16 / 10; border-radius: var(--radius-l); overflow: hidden; background: var(--c-raised);
  box-shadow: 0 0 0 1px var(--c-hair), var(--shadow-l);
}
.wwh-plan__clip { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 70% 50%; }
.wwh-plan__frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--c-ground) 44%, transparent) 0%, transparent 54%); }
.wwh-plan__frame .wwh-plan__scene { position: absolute; z-index: 3; left: 32px; top: 50%; width: 600px; height: 560px; transform: translateY(-50%); }
.wwh-plan__stop { top: calc(50% - 280px - 52px); left: 32px; }

/* ---------- anyway: the chat in glass beside the flooring fitter (a trade not on the list), over the bright room ---------- */
.wwh-anyway { padding-block: var(--section-y); }
.wwh-anyway__grid { display: grid; justify-items: center; gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
.wwh-anyway__head { display: grid; gap: var(--space-3); justify-items: center; max-width: 44rem; text-align: center; }
.wwh-anyway__head .section-head__title, .wwh-anyway__head .section-head__line { margin: 0 auto; }
.wwh-anyway__head .wwh-cta { justify-content: center; margin-top: var(--space-2); }
.wwh-anyway__frame {
  position: relative; width: 100%; max-width: 980px; margin: 0; aspect-ratio: 3 / 2; border-radius: var(--radius-l); overflow: hidden; background: var(--c-raised);
  box-shadow: 0 0 0 1px var(--c-hair), var(--shadow-l);
}
.wwh-anyway__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.wwh-anyway__frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--c-ground) 36%, transparent) 0%, transparent 48%); }
/* the chat as tall as its whole story, standing on the counter's side */
.wwh-anyway__frame .wwh-chat { position: absolute; z-index: 3; left: 4%; bottom: 6%; width: min(400px, 42%); height: min(372px, 80%); }
.wwh-anyway__stop { bottom: calc(6% + min(372px, 80%) + 12px); left: 4%; }
.wwh-chat {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  background: color-mix(in srgb, var(--c-ground) 76%, transparent); border: 1px solid var(--c-hair);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--c-paper) 14%, transparent), var(--shadow-l);
  backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25);
}
.wwh-chat [hidden] { display: none !important; }
.wwh-chat__head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; font: 600 var(--fs-small)/1.2 var(--font-ui); color: var(--c-on-ink); border-bottom: 1px solid var(--c-hair-soft); }
.wwh-chat__head img { width: 30px; height: auto; }
.wwh-chat__log { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 0; padding: 12px 14px 14px; overflow: hidden; opacity: calc(1 - var(--kit-out, 0)); }
.wwh-chat [data-kit-msg] { flex: none; margin: 0; opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.wwh-chat__msg { align-self: flex-start; max-width: 88%; padding: 9px 13px; border-radius: 16px 16px 16px 6px; font: 400 var(--fs-small)/1.4 var(--font-ui); color: var(--c-on-ink); background: var(--c-raised-hi); }
.wwh-chat__msg--me { align-self: flex-end; border-radius: 16px 16px 6px 16px; font-weight: 600; color: var(--c-on-brand); background: var(--c-brand); }
.wwh-chat__link { display: inline-flex; align-items: center; gap: 8px; }
.wwh-chat__msg--typing { display: inline-flex; gap: 5px; padding: 13px 14px; }
.wwh-chat__msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-on-ink-soft); animation: wwh-dot 1s ease-in-out infinite; }
.wwh-chat__msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.wwh-chat__msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes wwh-dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.55; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wwh-chat__msg--typing i { animation: none; } }
/* reading the website: a bar fills under the words */
.wwh-chat__bar { position: relative; display: block; width: 150px; height: 4px; margin-top: 8px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--c-on-ink) 14%, transparent); }
.wwh-chat__bar::after { content: ""; position: absolute; inset: 0; background: var(--c-brand); transform-origin: 0 50%; transform: scaleX(var(--kit-fill, 0)); }
.wwh-chat__done { display: flex; align-items: center; gap: 8px; font: 600 var(--fs-small)/1.3 var(--font-ui); color: var(--c-accent-on-ink); }
.wwh-chat__tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--c-on-brand); background: var(--c-brand); }

/* ---------- close: the phone lights with a new booking, its card beside it ---------- */
.wwh-close { min-height: clamp(600px, 78vh, 780px); }
.wwh-close .close__clip { object-position: 50% 50%; }
/* the studio's white turned to the site's pale blue, so the phone lies on a ground of the site's own */
.wwh-close .close__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--c-brand-light); mix-blend-mode: multiply; opacity: 0.5; }
/* the clip's left half is a plain white ground: a deep grade from the left carries the words */
/* (F3: its deep part reaches 40%, so the line beside the button reads over the white ground at AA) */
.wwh-close::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--c-ground) 97%, transparent) 0%, color-mix(in srgb, var(--c-ground) 92%, transparent) 40%, color-mix(in srgb, var(--c-ground) 46%, transparent) 52%, transparent 62%); }
.wwh-close__inner { grid-template-columns: minmax(0, 34rem) minmax(0, 1fr); align-items: center; column-gap: var(--space-5); }
.wwh-close__words { display: grid; gap: var(--space-4); justify-items: start; }
.wwh-cta--close { margin-top: var(--space-2); }
.wwh-close__card { position: relative; z-index: 3; justify-self: end; align-self: end; display: grid; gap: 6px; width: min(300px, 100%); padding: 14px 16px; border-radius: var(--radius-m); background: color-mix(in srgb, var(--c-ground) 86%, transparent); border: 1px solid var(--c-hair); box-shadow: var(--shadow-l); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.wwh-close__card [data-kit-at] { margin: 0; opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.wwh-close__head { display: flex; align-items: center; gap: 10px; font: 600 var(--fs-small)/1.2 var(--font-ui); color: var(--c-on-ink-soft); }
.wwh-close__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--c-brand-light); background: color-mix(in srgb, var(--c-brand) 22%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c-brand) 45%, transparent); }
.wwh-close__main { display: grid; gap: 2px; padding-left: 42px; }
.wwh-close__main b { font: 600 var(--fs-ui)/1.25 var(--font-ui); }
.wwh-close__main span { font: 400 var(--fs-small)/1.3 var(--font-ui); color: var(--c-on-ink-soft); }
.wwh-close__src { display: flex; align-items: center; gap: 8px; padding-left: 42px; font: 600 var(--fs-small)/1.2 var(--font-ui); color: var(--c-accent-on-ink); }
.wwh-close__tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--c-on-brand); background: var(--c-brand); box-shadow: 0 0 12px var(--c-glow); }
.wwh-close__wire { position: absolute; top: 30px; left: 100%; width: max(var(--gutter), calc(50vw - var(--max-w) / 2)); height: 1px; pointer-events: none; background: linear-gradient(90deg, var(--c-brand), transparent); }
.wwh-close__wire::before { content: ""; position: absolute; left: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-brand); box-shadow: 0 0 10px var(--c-glow); }
.wwh-close__stop { bottom: 16px; right: 16px; }

/* ---------- under 1240 px: the plan stacks, the clip above the card and behind most of it ---------- */
@media (max-width: 1240px) {
  .wwh-plan__frame { aspect-ratio: auto; display: grid; padding: min(44vw, 400px) 16px 16px; }
  /* the clip drawn up a little, so the hands meet above the card, which it still lies behind for the most part */
  .wwh-plan__clip { inset: -120px -1px auto; height: calc(min(44vw, 400px) + 460px); object-position: 76% 50%; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 300px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 300px), transparent); }
  .wwh-plan__frame::after { display: none; }
  .wwh-plan__frame .wwh-plan__scene { position: relative; left: auto; top: auto; width: min(720px, 100%); height: 560px; margin-inline: auto; transform: none; }
  .wwh-plan__stop { top: calc(min(44vw, 400px) - 52px); left: auto; right: 16px; }
}

/* ---------- under 960 px: the page's header is 84 px tall ---------- */
@media (max-width: 960px) { .wwh-hero { --wwh-head: 84px; } }

/* ---------- under 900 px: one column ---------- */
@media (max-width: 900px) {
  .wwh-kinds__tour { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  /* the tabs become a row that scrolls sideways above the photo */
  .wwh-kinds__tabs { position: relative; display: flex; gap: 8px; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .wwh-kinds__tabs::-webkit-scrollbar { display: none; }
  .wwh-tab { flex: none; width: auto; min-height: 44px; padding: 10px 16px 12px 14px; border-radius: 999px; box-shadow: 0 0 0 1px var(--c-hair-soft); white-space: nowrap; }
  .wwh-tab[aria-selected="true"] { box-shadow: 0 0 0 1px var(--c-hair); }
  .wwh-tab__fill { left: 18px; right: 18px; top: auto; bottom: 5px; width: auto; height: 2px; }
  .wwh-tab__fill::after { transform-origin: 0 50%; }
  .wwh-kinds__tabs[data-kit-on] .wwh-tab[aria-selected="true"] .wwh-tab__fill::after { transform: scaleX(var(--kit-fill, 0)); }
  .wwh-close__inner { grid-template-columns: minmax(0, 1fr); }
  .wwh-close__card { justify-self: start; align-self: auto; }
}

/* ---------- the phone ---------- */
@media (max-width: 760px) {
  .wwh-all__stage { margin-top: 4.5rem; }
  .wwh-all__stop { top: -56px; right: var(--gutter); }
  /* each photo drawn taller, its faces in the clear band above the card, fading into the ground behind most of it */
  .wwh-panel__frame { aspect-ratio: auto; height: 580px; background: var(--c-ground); }
  .wwh-panel__photo { inset: 0 0 auto; height: 540px; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 210px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 210px), transparent); }
  .wwh-panel__photo--home { object-position: 62% 50%; }
  .wwh-panel__photo--outdoor { object-position: 80% 50%; }
  .wwh-panel__photo--law { object-position: 32% 50%; }
  .wwh-panel__photo--health { object-position: 65% 50%; }
  .wwh-panel__photo--finance { object-position: 79% 50%; }
  .wwh-panel__photo--events { object-position: 50% 50%; }
  .wwh-panel__photo--more { object-position: 22% 50%; }
  .wwh-panel__frame::after, .wwh-panel__frame--right::after { display: none; }
  .wwh-card, .wwh-panel__frame--right .wwh-card { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .wwh-kinds__stop { top: 12px; right: 12px; }
  .wwh-buyers__stage .wwh-buyers__scene { height: auto; min-height: 810px; }
  .wwh-buyers__stop { top: -52px; right: 0; }
  .wwh-plan__frame { padding: 300px 12px 12px; }
  .wwh-plan__clip { top: -200px; height: 900px; object-position: 80% 50%; }
  .wwh-plan__stop { top: 248px; right: 12px; }
  .wwh-plan__frame .wwh-plan__scene { height: 700px; }
  .wwh-anyway__frame { aspect-ratio: auto; height: 740px; background: var(--c-ground); }
  .wwh-anyway__photo { inset: 0 0 auto; height: 600px; object-position: 84% 50%; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 140px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 140px), transparent); }
  .wwh-anyway__frame::after { display: none; }
  .wwh-anyway__frame .wwh-chat { left: 50%; top: 420px; bottom: 16px; width: min(420px, calc(100% - 32px)); height: auto; transform: translateX(-50%); }
  .wwh-anyway__stop { top: 368px; left: 16px; }
  .wwh-close { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .wwh-close .close__media { position: relative; inset: auto; height: 78vw; }
  .wwh-close .close__clip { object-position: 75% 50%; }
  .wwh-close::before { inset: 0 0 auto; height: 78vw; background: linear-gradient(180deg, transparent 50%, var(--c-ground) 100%); }
  /* the card first, over the clip's foot; the words under it */
  .wwh-close__card { order: -1; margin-top: -150px; margin-bottom: var(--space-2); }
  .wwh-close__wire { display: none; }
  .wwh-close__stop { top: 12px; right: 12px; bottom: auto; }
}

/* ---------- under 420 px: the page's header is 76 px tall ---------- */
@media (max-width: 420px) { .wwh-hero { --wwh-head: 76px; } }
