@import url("../arsenal/motif-window.css");
/* Who we help: each part placed and sized with the tokens of system.css; the components are in components.css. */

/* ---------- hero: the arsenal's motif-window as it stands, re-skinned: the window cut in the site's sparkle ---------- */
.wwh-hero { --mw-shade: var(--c-deep); margin-top: calc(-1 * var(--bar-h)); }
/* each clip reaches 1 px past its window on every side (kit.md, "Video"), under the window's own clip */
.wwh-hero .motif-window__media { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
.wwh-hero .motif-window__h { font-weight: 700; font-size: clamp(42px, calc(3.1cqi + 22px), 76px); letter-spacing: -.03em; }
.wwh-hero .motif-window__act { display: grid; justify-items: start; width: fit-content; padding: 20px 22px 14px; background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); color: var(--c-ink); border-radius: var(--radius-l); box-shadow: 0 26px 60px -24px rgba(1, 20, 55, .55); -webkit-mask: linear-gradient(225deg, transparent var(--cut), #000 calc(var(--cut) + .6px)); mask: linear-gradient(225deg, transparent var(--cut), #000 calc(var(--cut) + .6px)); }
.wwh-hero .motif-window__act::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--g-spectral); }
.wwh-hero .motif-window__act .cta-note { margin-top: 10px; color: var(--c-ink-soft); }
.wwh-hero__stop { top: calc(var(--bar-h) + 16px); right: 16px; }

/* ---------- every: the spotlight over the kinds of business, full bleed on the navy ---------- */
.wwh-every { padding-bottom: clamp(64px, 7vw, 104px); }
.wwh-every__stage { position: relative; margin-top: clamp(28px, 3vw, 44px); }
.scene.wwh-every__scene { height: 460px; }
.wwh-every__stop { right: var(--gutter); bottom: -50px; }
@media (max-width: 600px) { .scene.wwh-every__scene { height: 400px; } }

/* ---------- kinds: seven framed photos, a booking landing on each in turn; the last one opens the chat ---------- */
.wwh-kinds__head { max-width: 660px; }
.kinds { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) clamp(18px, 2vw, 28px); margin-top: clamp(40px, 5vw, 64px); }
.kind { display: grid; align-content: start; gap: 6px; }
.kind--low { margin-top: 56px; }
.kind__frame { aspect-ratio: 4 / 3.3; margin-bottom: 12px; }
.kind__frame .frame__media > img { object-position: var(--pos, 50% 50%); }
.kind h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
.kind__fields { font: 600 .9375rem/1.4 var(--font-ui); color: var(--c-brand-text, var(--c-brand)); }
.kind__means { color: var(--c-ink-soft); font-size: 1rem; line-height: 1.5; }
.kind__chip.book { left: 10px; bottom: 10px; max-width: calc(100% - 20px); opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.kind__chip.book b { font-size: .9375rem; }
.kind--more { grid-column: span 2; }
.kind--more .kind__frame { aspect-ratio: 8 / 3.3; }
.kind__cta { margin-top: 14px; }
.kinds__stop { right: 0; top: -56px; }
@media (max-width: 1000px) {
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kind--low { margin-top: 0; }
  .kind--more .kind__frame { aspect-ratio: 8 / 3.6; }
}
@media (max-width: 640px) {
  .kinds { grid-template-columns: minmax(0, 1fr); }
  .kind--more { grid-column: auto; }
  .kind__frame, .kind--more .kind__frame { aspect-ratio: 4 / 3.2; }
}

/* ---------- buyers: the three ways customers buy, on the pale blue ---------- */
.wwh-buyers__stage { position: relative; margin-top: clamp(32px, 4vw, 52px); }
.scene.wwh-buyers__scene { height: 460px; }
.wwh-buyers__stop { right: 0; bottom: -54px; }
@media (max-width: 760px) {
  /* one column: the cards' stories differ in height, so the box takes the height of its tallest (measured: 821 px at
     360 wide) and the line stands at its foot; nothing under it moves while the cards take turns */
  .scene.wwh-buyers__scene { height: 836px; min-height: 0; }
  .scene.wwh-buyers__scene .tb { align-self: stretch; grid-template-rows: auto 1fr; }
  .scene.wwh-buyers__scene .tb-foot { align-self: end; }
  .wwh-buyers__stop { top: -50px; bottom: auto; }
}
@media (min-width: 421px) and (max-width: 760px) { .scene.wwh-buyers__scene { height: 790px; } }

/* ---------- anyway: a grooming salon's own plan, written from its website ---------- */
.wwh-anyway__top { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.wwh-anyway__top .head { max-width: 640px; }
.wwh-anyway__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 3vw, 48px); align-items: start; margin-top: clamp(32px, 4vw, 52px); }
.wwh-anyway__pic { position: relative; }
.wwh-anyway__frame { height: 560px; }
.wwh-anyway__frame .frame__media > img { object-position: 50% 30%; }
.wwh-anyway__stage { position: relative; }
.scene.wwh-anyway__scene { height: 560px; }
.wwh-anyway__stop { right: 0; bottom: -54px; }
.site-chip { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: grid; width: min(330px, calc(100% - 28px)); padding: 12px; background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); color: var(--c-ink); border-radius: var(--radius-l); box-shadow: 0 22px 50px -20px rgba(1, 20, 55, .55); }
.site-chip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--g-spectral); border-radius: var(--radius-l) var(--radius-l) 0 0; }
.site-chip [data-kit-at] { opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 8px)); }
.site-chip__row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; }
.site-chip__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--c-deep); }
.site-chip__ico .spark { width: 16px; height: 16px; }
.site-chip__ico .spark path { fill: var(--c-cyan); }
.site-chip b { display: block; font: 600 .9375rem/1.25 var(--font-display); }
.site-chip small { display: block; margin-top: 2px; font: 500 .8125rem/1.3 var(--font-ui); color: var(--c-ink-soft); }
.site-chip__read { display: flex; align-items: center; gap: 8px; max-height: calc(var(--kit-in, 1) * 40px); margin-top: calc(var(--kit-in, 1) * 10px); overflow: hidden; font: 600 .875rem/1.3 var(--font-ui); color: var(--c-brand-text, var(--c-brand)); }
.site-chip__read i { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--c-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.2 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (max-width: 1000px) {
  .wwh-anyway__grid { grid-template-columns: minmax(0, 1fr); }
  .wwh-anyway__frame { height: clamp(380px, 70vw, 520px); }
}
@media (max-width: 600px) {
  .scene.wwh-anyway__scene { height: 700px; }
  .wwh-anyway__stop { top: 14px; right: 12px; bottom: auto; }
  .scene.wwh-anyway__scene .pb-title { padding-right: 46px; }
}

/* ---------- close: a new order on the phone ---------- */
.wwh-close .close__media > video { object-position: 50% 30%; }
@media (max-width: 760px) { .wwh-close .close__media > video { object-position: 54% 18%; } }
