/* The Websites page (plan.md, "Websites"). #hero: Lakeview Dental's new website on a laptop, on the designed ground,
   its phone in front with the site's chat (the kit's chat). #changes: the kit's compare, the same late-night visit
   without and with a website that answers. #signature: visit-booking in its panel on the designed ground. #included:
   the kit's tour of five, each a framed photo with its glass cards. #faq. #close: the clip, its two cards, the panel at
   its right. Tokens only. */

/* ---------- #hero: the laptop and the phone ---------- */
.wph { padding-block: 0; }
.wph__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(1.5rem, 3.5vw, 3.5rem); min-height: clamp(640px, calc(100svh - 84px), 820px); padding-block: clamp(2.5rem, 5vw, 4rem); }
.wph__words { max-width: 31rem; }
.wph__title { margin: 0 0 1rem; font-size: clamp(2.4rem, 1.4rem + 2.5vw, 3.6rem); line-height: 1.06; }
.wph__line { margin: 0 0 1.75rem; }
.wph__cta { display: grid; justify-items: start; }
/* the laptop at the left of the picture, the phone in front of its right side: it covers part of the site's photo,
   never its words */
.wph__art { position: relative; height: 540px; }
.wph__laptop { position: absolute; top: 24px; left: 0; width: calc(100% - 130px); filter: drop-shadow(0 34px 44px color-mix(in srgb, var(--c-ink) 20%, transparent)); }
.wph__screen { padding: 11px 11px 13px; border-radius: 22px 22px 8px 8px; background: var(--c-ink); }
.wph__glass { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 9px; background: var(--c-paper); container-type: inline-size; }
.wph__base { position: relative; height: 16px; margin: 0 -6.5%; border-radius: 3px 3px 16px 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--c-ink) 24%, var(--c-paper)) 0 3px, color-mix(in srgb, var(--c-ink) 7%, var(--c-paper)) 3px, color-mix(in srgb, var(--c-ink) 26%, var(--c-paper))); }
.wph__base::before { content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 6px; translate: -50% 0; border-radius: 0 0 8px 8px; background: color-mix(in srgb, var(--c-ink) 32%, var(--c-paper)); }

/* Lakeview Dental's site, drawn in the laptop's glass: every size follows the glass (container units), the small words
   never under 13 px; as the glass narrows, its smaller pieces leave. */
.wsite { position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); font-family: var(--font-ui); color: var(--c-ink); }
.wbar { display: flex; align-items: center; gap: 2cqw; }
.wsite__bar { padding: 1.8cqw 3cqw; border-bottom: 1px solid var(--c-line); }
.wbar__logo { display: flex; align-items: center; gap: .5em; font: 600 max(13px, 2.05cqw)/1 var(--font-display); white-space: nowrap; }
.wbar__logo i { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--c-brand-dark); color: var(--c-paper); font: 800 .78em/1 var(--font-ui); font-style: normal; }
.wbar__links { display: flex; gap: 2.2cqw; margin-left: auto; color: var(--c-ink-soft); font-size: max(13px, 1.6cqw); font-weight: 600; white-space: nowrap; }
.wbar__book { flex: none; padding: .55em 1.1em; border-radius: 999px; background: var(--c-action); color: var(--c-on-action); font-size: max(13px, 1.6cqw); font-weight: 700; white-space: nowrap; }
.wsite__hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 3cqw; min-height: 0; padding: 3cqw; }
.wsite__words { display: grid; align-content: center; justify-items: start; gap: 1.5cqw; }
.wsite__kicker { color: var(--c-brand-text); font-size: max(13px, 1.6cqw); font-weight: 700; }
.wsite__h { font: 600 4.4cqw/1.06 var(--font-display); }
.wsite__p { color: var(--c-ink-soft); font-size: max(13px, 1.75cqw); line-height: 1.45; }
.wsite__btns { display: flex; flex-wrap: wrap; gap: 1.2cqw; margin-top: .4cqw; }
.wsite__btn { padding: .7em 1.3em; border-radius: 999px; background: var(--c-action); color: var(--c-on-action); font-size: max(13px, 1.6cqw); font-weight: 700; white-space: nowrap; }
.wsite__btn--alt { background: none; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c-ink) 22%, transparent); color: var(--c-ink); }
.wsite__pic { position: relative; min-height: 0; overflow: hidden; border-radius: 2cqw; }
.wsite__pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 30% 40%; }
@container (max-width: 640px) { .wsite .wbar__links { display: none; } .wsite .wbar__book { margin-left: auto; } }
@container (max-width: 520px) { .wsite__p, .wsite__btn--alt { display: none; } }

/* The phone in front: the site's chat, one live detail */
.wph__phone { position: absolute; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-rows: auto minmax(0, 1fr); width: 232px; height: 440px; overflow: hidden; border: 8px solid var(--c-ink); border-radius: 38px; background: var(--c-paper); box-shadow: 0 44px 70px -34px color-mix(in srgb, var(--c-ink) 70%, transparent), -18px 0 40px -24px color-mix(in srgb, var(--c-ink) 45%, transparent); }
.wph__phead { display: flex; align-items: center; gap: .6rem; margin: 0; padding: 1.3rem .85rem .7rem; border-bottom: 1px solid var(--c-line); font-family: var(--font-ui); line-height: 1.25; }
.wph__plogo { flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--c-brand-dark); color: var(--c-paper); font-size: .875rem; font-weight: 800; }
.wph__phead b { display: block; font-size: .9375rem; }
.wph__phead small { display: block; color: var(--c-ink-soft); font-size: .8125rem; }
.wph__pbody { display: flex; flex-direction: column; gap: .5rem; min-height: 0; padding: .7rem .6rem .9rem; overflow: hidden; }
.wph__pbody > * { flex: none; }
.wph__intro { display: grid; justify-items: center; gap: .1rem; margin: 0 0 .3rem; padding: .3rem .5rem .5rem; color: var(--c-ink); font-family: var(--font-ui); text-align: center; }
.wph__intro b { font: 600 1.05rem/1.25 var(--font-display); }
.wph__intro small { color: var(--c-ink-soft); font-size: .8125rem; }
.wmsg { max-width: 86%; margin: 0; padding: .55rem .8rem; border-radius: 16px; font-family: var(--font-ui); font-size: .9375rem; line-height: 1.38; opacity: calc(var(--kit-in, 1) * (1 - var(--kit-out, 0))); translate: 0 calc((1 - var(--kit-in, 1)) * 10px); }
@media (scripting: enabled) { .wph__pbody [data-kit-msg] ~ [data-kit-msg] { opacity: calc(var(--kit-in, 0) * (1 - var(--kit-out, 0))); translate: 0 calc((1 - var(--kit-in, 0)) * 10px); } }
.wmsg--me { align-self: flex-end; border-bottom-right-radius: 5px; background: var(--c-brand-dark); color: var(--c-paper); }
.wmsg--ai { align-self: flex-start; border-bottom-left-radius: 5px; background: color-mix(in srgb, var(--c-ink) 6%, var(--c-paper)); color: var(--c-ink); }
.wmsg--typing { align-self: flex-start; display: flex; gap: 5px; padding: .75rem .9rem; background: color-mix(in srgb, var(--c-ink) 6%, var(--c-paper)); }
.wmsg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-ink-soft); animation: wph-dot 1s infinite ease-in-out; }
.wmsg--typing i:nth-child(2) { animation-delay: .15s; }
.wmsg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wph-dot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -4px; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wmsg--typing i { animation: none; } }
.wmsg--booked { align-self: stretch; max-width: none; display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border: 1px solid var(--c-line); background: var(--c-paper); box-shadow: var(--shadow-s); }
.wmsg__tile { flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--c-brand-dark); color: var(--c-paper); }
.wmsg--booked b { display: block; color: var(--c-brand-text); font-size: .9375rem; line-height: 1.3; }
.wmsg--booked small { display: block; color: var(--c-ink-soft); font-size: .8125rem; line-height: 1.3; }
.wph__stop { top: 50px; right: 0; }

@media (max-width: 1199px) {
  .wph__in { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2.5rem; min-height: 0; padding-block: 2.5rem 3.5rem; text-align: center; }
  .wph__words { max-width: 40rem; }
  .wph__cta { justify-items: center; }
  .wph__art { width: min(720px, 100%); }
}
/* on the phone: the laptop on top, the phone in front of its foot */
@media (max-width: 759px) {
  .wph__in { justify-items: stretch; gap: 2rem; padding-block: 1.75rem 2.5rem; text-align: left; }
  .wph__cta { justify-items: start; }
  .wph__title { font-size: clamp(2.15rem, 1.5rem + 3vw, 2.6rem); }
  .wph__art { display: grid; justify-items: center; width: 100%; height: auto; }
  .wph__laptop { position: relative; top: auto; width: 100%; }
  .wph__phone { position: relative; right: auto; bottom: auto; width: 240px; height: 440px; margin-top: -58px; }
  .wph__stop { top: auto; bottom: 392px; right: 0; }
}

/* ---------- #changes: the kit's compare, as the home page draws it ---------- */
.wpc__head { max-width: 46rem; margin: 0 auto var(--space-4); text-align: center; }
.wpc__head .lede { margin-inline: auto; }
.cmp { --kit-v: .5; position: relative; height: clamp(520px, 44vw, 600px); overflow: hidden; border-radius: var(--radius-l); box-shadow: var(--shadow-l); user-select: none; }
.cmp__side { position: absolute; inset: 0; }
.cmp__pic { position: absolute; inset: -1px; overflow: hidden; }
.cmp__pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.before .cmp__pic img { filter: grayscale(.85) contrast(.95); object-position: 50% 32%; }
.before .cmp__pic::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--c-ink) 22%, transparent); }
.after { clip-path: inset(0 0 0 calc(var(--kit-v) * 100%)); }
.after .cmp__pic img { scale: -1 1; object-position: 50% 40%; }   /* mirrored, so his face sits in the after side */
.after .cmp__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, color-mix(in srgb, var(--c-ink) 45%, transparent), transparent 50%); }
.cmp__tag { position: absolute; top: 1.25rem; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; margin: 0; padding: .45rem .85rem; border-radius: 999px; background: color-mix(in srgb, var(--c-ink) 70%, transparent); color: var(--c-paper); font-family: var(--font-ui); font-size: .9rem; font-weight: 700; backdrop-filter: blur(8px); }
.before .cmp__tag { left: 1.25rem; }
.cmp__tag--us { right: 1.25rem; background: var(--c-paper); color: var(--c-ink); }
.cmp__mark { width: 1.1rem; height: 1.1rem; }
.cmp__cards { position: absolute; bottom: 1.25rem; z-index: 2; display: grid; gap: .6rem; width: min(17.5rem, 40%); margin: 0; padding: 0; list-style: none; }
.before .cmp__cards { left: 1.25rem; }
.after .cmp__cards { right: 1.25rem; }
.cmp__card { display: grid; gap: .15rem; padding: .75rem .9rem; border-radius: 16px; background: color-mix(in srgb, var(--c-paper) 94%, transparent); color: var(--c-ink); box-shadow: var(--shadow-m); }
.cmp__card b { font-family: var(--font-ui); font-size: .95rem; }
.cmp__card span { color: var(--c-ink-soft); font-size: .8125rem; }
.before .cmp__card { background: color-mix(in srgb, var(--c-paper) 86%, var(--c-ink)); }
.cmp__card--bad { box-shadow: var(--shadow-m), inset 3px 0 0 var(--c-accent); }
.cmp__card--good b { color: var(--c-brand-text); }
[data-kit-whole] { transition: opacity .2s, visibility 0s; }
[data-kit-under] { opacity: 0; transition: opacity .2s, visibility 0s .2s; }
.cmp input[type="range"] { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.handle { position: absolute; top: 0; bottom: 0; left: calc(var(--kit-v) * 100%); z-index: 4; width: 3px; margin-left: -1.5px; background: var(--c-paper); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c-ink) 15%, transparent); pointer-events: none; opacity: clamp(0, calc((min(var(--kit-v), 1 - var(--kit-v)) - 0.03) * 14), 1); }
.cmp input:focus-visible + .handle { opacity: 1; }
.handle__knob { position: absolute; top: 40%; left: 50%; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; translate: -50% -50%; border-radius: 50%; background: var(--c-action); color: var(--c-on-action); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--c-ink) 60%, transparent); font-size: 1.2rem; }
.handle__knob::before { content: ""; position: absolute; inset: -6px; border: 2px solid var(--c-paper); border-radius: 50%; }
.handle__knob .icon { stroke-width: 2.2; }
.handle__hint { position: absolute; top: calc(40% + 2.4rem); left: 50%; translate: -50% 0; padding: .25rem .7rem; border-radius: 999px; background: var(--c-paper); color: var(--c-ink); font-family: var(--font-ui); font-size: .8125rem; font-weight: 700; }
.cmp[data-kit-touched] .handle__hint { opacity: 0; transition: opacity .3s; }
.cmp input:focus-visible ~ .handle .handle__knob { outline: 3px solid var(--c-brand); outline-offset: 4px; }
@media (max-width: 699px) {
  .cmp { height: 600px; }
  .before .cmp__pic img { object-position: 43% 40%; }
  .after .cmp__pic img { object-position: 43% 40%; }
  .cmp__cards { bottom: 1rem; gap: .45rem; max-width: 11rem; }
  .before .cmp__cards { left: .75rem; width: calc(50% - 1.5rem); }
  .after .cmp__cards { right: .75rem; width: calc(50% - 1.5rem); }
  .cmp__card { padding: .6rem .65rem; }
  .cmp__card b { font-size: .875rem; }
  /* each tag stays on its own side of the line where it rests (50%), in two lines if it must */
  .cmp__tag { top: .75rem; box-sizing: border-box; max-width: calc(50% - 1.75rem); gap: .3rem; padding: .35rem .6rem; border-radius: 12px; font-size: .8125rem; line-height: 1.25; }
  .before .cmp__tag { left: .75rem; }
  .cmp__tag--us { right: .75rem; }
  .cmp__mark { width: .95rem; height: .95rem; }
  .handle__knob { top: 34%; }
  .handle__hint { top: calc(34% + 2.4rem); }
}

/* ---------- #signature: the scene in its panel on the designed ground ---------- */
.wps__panel { height: 540px; }
.scene.wps__scene { position: absolute; inset: 0; border-radius: inherit; }
.wps__stop { top: 1rem; right: 1rem; }
@media (max-width: 1023px) { .wps__panel { height: 640px; } }

/* ---------- #included: the kit's tour, five framed photos with their glass cards ---------- */
.wpt__head { max-width: 44rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.wpt__stage { display: grid; grid-template-columns: 19rem minmax(0, 1fr); align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.wpt__tabs { display: grid; gap: .6rem; }
.wpt__tabs [role="tab"] { position: relative; display: grid; gap: .2rem; padding: 1rem 1.15rem 1.1rem; overflow: hidden; border: 0; border-radius: 18px; background: color-mix(in srgb, var(--c-ink) 4%, var(--c-paper)); color: var(--c-ink); text-align: left; cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), translate var(--dur-fast) var(--ease-out), scale var(--dur-fast) var(--ease-out); }
.wpt__tabs [role="tab"] b { font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 700; }
.wpt__tabs [role="tab"] span { color: var(--c-ink-soft); font-size: .9375rem; }
.wpt__tabs [role="tab"][aria-selected="true"] { background: var(--c-paper); box-shadow: var(--shadow-m), inset 4px 0 0 var(--c-accent); }
.wpt__tabs [role="tab"]:hover { background: var(--c-paper); }
.wpt__tabs [role="tab"]:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; }
.tab__time { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c-brand); transform-origin: 0 50%; scale: var(--kit-fill, 0) 1; }
.wpt__panels { position: relative; display: grid; }
.wpt__panel { grid-area: 1 / 1; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-l); background: var(--c-ink); box-shadow: var(--shadow-l); }
.wpt__panel:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 4px; }
.wpt__panel > img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
.wpt__stop { top: 1rem; right: 1rem; }
[data-kit-tabs-stop] .stop__play { display: none; }
[data-kit-tabs-stop][aria-pressed="true"] .stop__play { display: inline; }
[data-kit-tabs-stop][aria-pressed="true"] .stop__pause { display: none; }
/* 1: the realtor's own top bar over the bright floor of the home she shows, clear of the three faces */
.wpt__panel--design { --pos: 50% 62%; }
.wpt__seq--design { right: 4%; bottom: 7%; width: min(30rem, 68%); }
.wpt__site { padding: .8rem 1rem; border-radius: var(--radius-s); background: var(--c-paper); box-shadow: var(--shadow-m); }
.wpt__site .wbar { gap: 1rem; }
.wpt__site .wbar__logo { font-size: 1rem; }
.wpt__site .wbar__links { gap: .9rem; font-size: .8125rem; }
.wpt__site .wbar__links span:nth-child(2) { display: none; }
.wpt__site .wbar__book { font-size: .8125rem; }
/* 2: the search and its own page, over the room behind the hands */
.wpt__panel--pages { --pos: 50% 50%; }
.wpt__seq--pages { top: 6%; left: 17%; width: min(21rem, 48%); }
/* 3: the chat over the laptop's screen at dusk */
.wpt__panel--chat { --pos: 30% 50%; }
.gchat.wpt__chat { top: 37%; left: 21%; width: 41%; gap: .5rem; padding: .7rem .75rem .8rem; }
.wpt__chat .gchat__msg { padding: .45rem .7rem; font-size: .875rem; }
/* 4: the booking made on her phone, over her pink hoodie */
.wpt__panel--phone { --pos: 50% 50%; }
.wpt__seq--phone { right: 5%; bottom: 7%; width: min(21rem, 42%); }
.wpt__btn { flex: none; margin-left: auto; padding: .4rem .75rem; border-radius: 999px; background: var(--c-action); color: var(--c-on-action); font-family: var(--font-ui); font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.wpt__seq--phone:has(> :nth-child(2)[data-kit-on]) .wpt__btn { scale: .93; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-action) 28%, transparent); }
/* 5: the accessibility toolbar over the wall beside her, its "Larger text" turned on */
.wpt__panel--easy { --pos: 50% 40%; }
.wpt__seq--easy { top: 10%; left: 4%; width: min(17rem, 36%); }
.wpt__a11y { display: grid; gap: .5rem; padding: .85rem .95rem; border-radius: var(--radius-s); background: var(--c-paper); box-shadow: var(--shadow-m); font-family: var(--font-ui); }
.wpt__a11y b { font-size: .9375rem; }
.wpt__row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: var(--c-ink); font-size: .875rem; font-weight: 600; }
.wpt__row i { flex: none; position: relative; width: 2.1rem; height: 1.2rem; border-radius: 999px; background: color-mix(in srgb, var(--c-ink) 16%, var(--c-paper)); }
.wpt__row i::after { content: ""; position: absolute; top: .15rem; left: .15rem; width: .9rem; height: .9rem; border-radius: 50%; background: var(--c-paper); box-shadow: var(--shadow-s); }
.wpt__seq--easy:has(> :nth-child(2)[data-kit-on]) .wpt__row--text { font-size: 1.0625rem; }
.wpt__seq--easy:has(> :nth-child(2)[data-kit-on]) .wpt__row--text i { background: var(--c-brand); }
.wpt__seq--easy:has(> :nth-child(2)[data-kit-on]) .wpt__row--text i::after { translate: .9rem 0; }

@media (max-width: 1023px) {
  .wpt__stage { grid-template-columns: minmax(0, 1fr); }
  .wpt__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .wpt__tabs [role="tab"] { padding: .75rem .8rem .9rem; border-radius: 14px; }
  .wpt__tabs [role="tab"] b { font-size: .95rem; line-height: 1.25; }
  .wpt__tabs [role="tab"] span { display: none; }
}
@media (max-width: 759px) {
  .wpt__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wpt__tabs [role="tab"]:last-child { grid-column: 1 / -1; }
  .wpt__panels { margin-inline: calc(8px - var(--gutter)); }
  .wpt__panel { aspect-ratio: 3 / 4; }
  .wpt__stop { top: .75rem; right: .75rem; }
  .wpt__seq--design, .wpt__seq--pages, .wpt__seq--phone { top: .75rem; bottom: auto; left: .75rem; right: 3.75rem; width: auto; }
  .wpt__seq--design { top: auto; bottom: .75rem; right: .75rem; }
  .wpt__panel--design { --pos: 10% 50%; }
  .wpt__site .wbar__links { display: none; }
  .wpt__site .wbar__book { margin-left: auto; }
  .wpt__panel--chat { --pos: 34% 50%; }
  .gchat.wpt__chat { top: 34%; left: 5%; width: 90%; }
  .wpt__panel--phone { --pos: 42% 50%; }
  .wpt__tap .gcard__icon { display: none; }   /* the business's name and its button on one line */
  .wpt__tap { padding-left: 1rem; }
  .wpt__panel--easy { --pos: 64% 40%; }
  .wpt__seq--easy { top: auto; bottom: .75rem; left: .75rem; right: .75rem; width: auto; }
}

/* ---------- #close: the clip with the people at its left, so the panel stands at its right ---------- */
.wpclose { --close-pos: 50% 40%; --close-pos-m: 12% 30%; justify-items: end; }
.wpclose::after { background: linear-gradient(270deg, color-mix(in srgb, var(--c-ink) 40%, transparent), transparent 46%); }
.wpclose__seq { left: clamp(1.25rem, 3vw, 2.5rem); bottom: clamp(1.25rem, 3vw, 2.5rem); grid-auto-flow: column; grid-auto-columns: 16.5rem; width: auto; }
@media (max-width: 1199px) {
  .wpclose { min-height: 0; align-items: end; justify-items: center; padding: 22rem 1.5rem 1.5rem; }
  .wpclose::after { background: linear-gradient(0deg, color-mix(in srgb, var(--c-ink) 50%, transparent), transparent 60%); }
  .wpclose .close__media :is(video, img) { object-position: 16% 30%; }
  .wpclose__seq { top: 4rem; right: 1rem; bottom: auto; left: auto; grid-auto-flow: row; grid-auto-columns: auto; width: min(16rem, 40%); }
}
@media (max-width: 759px) {
  .wpclose { padding: 17.5rem .75rem .75rem; justify-items: stretch; }
  /* the photo in a band above the panel, as the Maps close has it, so both faces stay clear of the panel */
  .wpclose .close__media { inset: 0 0 auto 0; height: 22rem; }
  .wpclose .close__media :is(video, img) { object-position: var(--close-pos-m); }
  .wpclose__seq { display: none; }
}
