.case-next>a{position:relative}
/* a larger picture in the full-width band */
@media(min-width:801px){html body.case-page:not(#hx) .case-next>a{grid-template-columns:minmax(0,4fr) minmax(0,8fr)!important}}
/* while hovering, the picture grows into the exact place of the next page's top video.
   One clock (owner: "proportional to the timing"): picture, ring and text start together, share one curve and finish together as the page opens. */
:root{--hx-dwell:2.4s;--hx-dwell-ease:cubic-bezier(.45,.05,.25,1)}
html body.case-page:not(#hx) .case-next.hx-dwelling .case-next-thumb{animation:none!important;transition:transform var(--hx-dwell) var(--hx-dwell-ease)!important;transform:translate(var(--hx-dx,0px),var(--hx-dy,0px)) scale(var(--hx-s,1.18))!important}
html body.case-page:not(#hx) .case-next.hx-grown{overflow:visible!important;z-index:6}
/* the band's faint clip stays inside the band while the picture is allowed out */
html body.case-page:not(#hx) .case-next.hx-grown>.hx-nbg{clip-path:inset(9.68% 6.9%)}
html body.case-page:not(#hx) .case-next .case-next-text{transition:opacity .6s ease}
html body.case-page:not(#hx) .case-next.hx-dwelling .case-next-text{opacity:0;transition:opacity var(--hx-dwell) var(--hx-dwell-ease)}
@keyframes hx-dwell-ring{to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.hx-next-progress{display:none}.case-next .case-next-thumb{transition:none!important}}

.hx-cursor .hx-load{display:none!important}
.hx-cursor.hx-next .hx-next-icon{width:20px;height:20px}
.hx-cursor.hx-next .hx-load{display:block!important;position:absolute;inset:0;width:100%;height:100%;opacity:1;transform:rotate(-90deg);fill:none;stroke:#fff;stroke-width:1.5;pointer-events:none}
.hx-load circle{stroke-dasharray:138.23;stroke-dashoffset:138.23}
.hx-cursor.hx-countdown .hx-load circle{animation:hx-cursor-load var(--hx-dwell) var(--hx-dwell-ease) forwards}
@keyframes hx-cursor-load{to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.hx-cursor .hx-load{display:none!important}}

/* the old page fades off on the same clock as the picture */
.hx-next-veil{position:fixed;inset:0;z-index:5;pointer-events:none;opacity:0;visibility:hidden;background:var(--hx-page,transparent);transition:opacity .45s ease,visibility 0s linear .45s}
.hx-next-veil::before,.hx-next-veil::after{content:"";position:absolute;inset:0}
.hx-next-veil::before{background:var(--hx-pic,none) center/cover no-repeat;opacity:.45}
.hx-next-veil::after{background:linear-gradient(90deg,color-mix(in srgb,var(--hx-page) 28%,transparent),color-mix(in srgb,var(--hx-page) 65%,transparent) 80%),linear-gradient(0deg,var(--hx-page),transparent 85%)}
html.hx-leaving-next .hx-next-veil{opacity:1;visibility:visible;transition:opacity var(--hx-dwell) var(--hx-dwell-ease),visibility 0s}
/* the band lets go of its own background, lines and faint clip, leaving only the picture */
html body.case-page:not(#hx) .case-next,html body.case-page:not(#hx) .case-next>.hx-nbg{transition:background-color .45s ease,border-color .45s ease,opacity .45s ease}
html.hx-leaving-next body.case-page:not(#hx) .case-next.hx-dwelling{background:transparent!important;border-color:transparent!important;transition:background-color var(--hx-dwell) var(--hx-dwell-ease),border-color var(--hx-dwell) var(--hx-dwell-ease)}
html.hx-leaving-next body.case-page:not(#hx) .case-next.hx-dwelling>.hx-nbg{opacity:0!important;transition:opacity var(--hx-dwell) var(--hx-dwell-ease)}
/* the menu stays and takes the next page's text colour */
html body.case-page:not(#hx) header,html body.case-page:not(#hx) header :is(.site-name,.site-name *,nav a){transition:color .45s ease,background-color .45s ease}
html.hx-leaving-next body.case-page:not(#hx) header{z-index:60!important;background:transparent!important;transition:color var(--hx-dwell) var(--hx-dwell-ease),background-color var(--hx-dwell) var(--hx-dwell-ease)}
html.hx-leaving-next body.case-page:not(#hx) header::before{background:transparent!important}
html.hx-leaving-next body.case-page:not(#hx) header :is(.site-name,.site-name *,nav a){color:var(--hx-next-ink)!important;transition:color var(--hx-dwell) var(--hx-dwell-ease)}
@media(prefers-reduced-motion:reduce){.hx-next-veil{display:none}}

/* The shared picture grows once; its contents and destination stay at that scale. */
html body.case-page:not(#hx) .case-next.hx-dwelling :is(.hx-nv,.case-next-thumb img){transform:none!important}
html.hx-from-next body.case-page main>.hx-lead .hx-cover video{transform:none!important;transition:opacity .35s ease!important}
