/* previous-project strip: the bottom Next project band, 100px tall and turned round */
html.hx-backable,html.hx-backable body{overscroll-behavior-y:contain}
.hx-peek{position:relative;z-index:2;height:0;overflow:hidden;visibility:hidden}
.hx-peek.hx-showing{visibility:visible}
/* same fill, lines and text colour as the band; pinned to the bottom edge so it slides down from under the header */
html body.case-page .hx-peek>a{position:absolute;left:0;right:0;bottom:0;box-sizing:border-box;height:100px;display:flex;align-items:center;gap:clamp(14px,2vw,28px);padding:0 max(var(--pad,24px),calc((100% - var(--fw,100%)) / 2));overflow:hidden;text-decoration:none;color:var(--ci,inherit);background:#ffffff1a;border-top:1px solid color-mix(in srgb,currentColor 22%,transparent);border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);transition:border-color .35s,background-color .35s}
html body.case-page[style*="#eef1fa"] .hx-peek>a{background:#ffffffa6}
html body.case-page .hx-peek>a:hover{background:#ffffff24;border-color:color-mix(in srgb,currentColor 45%,transparent)}
html body.case-page[style*="#eef1fa"] .hx-peek>a:hover{background:#ffffffc4}
/* the faint blurred copy of the picture behind everything, as in the band */
html body.case-page .hx-peek .hx-peek-bg{position:absolute;left:-8%;top:-60%;width:116%!important;height:220%!important;max-width:none;margin:0!important;border-radius:0!important;object-fit:cover;filter:blur(36px) saturate(1.15) brightness(1.7);opacity:.18;pointer-events:none}
html body.case-page[style*="#eef1fa"] .hx-peek .hx-peek-bg{opacity:0}
.hx-peek-thumb,.hx-peek-text,.hx-peek-go{position:relative;z-index:1}
.hx-peek-thumb{flex:none;width:128px;aspect-ratio:16/9;overflow:hidden;border-radius:6px;transform-origin:50% 50%}
html body.case-page .hx-peek .hx-peek-thumb :is(img,video){position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;margin:0!important;border-radius:0!important;object-fit:cover}
.hx-peek-thumb video{opacity:0;transition:opacity .4s}
.hx-peek-thumb video.on{opacity:1}
.hx-peek-text{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.hx-peek-label{font:500 11px/1.2 "Inter Tight",Helvetica,Arial,sans-serif;letter-spacing:.045em}
html body.case-page .hx-peek-text strong{display:block;font:600 clamp(20px,2.4vw,34px)/1.3 "Funnel Display","Inter Tight",sans-serif;padding-bottom:2px;letter-spacing:-.04em;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hx-peek-go{flex:none;display:inline-flex;align-items:center;gap:6px;height:52px;box-sizing:border-box;padding:0 26px;border:1px solid color-mix(in srgb,currentColor 45%,transparent);border-radius:6px;font:400 13px/1.5 "Inter Tight",Helvetica,Arial,sans-serif;white-space:nowrap;transition:background-color .25s,color .25s}
html body.case-page .hx-peek>a:hover .hx-peek-go,html body.case-page .hx-peek>a:focus-visible .hx-peek-go{background:var(--inkm,#f5f5f5);color:var(--bgm,#111)}
html body.case-page .hx-peek>a:focus-visible{outline:2px solid currentColor;outline-offset:-4px}
@media(max-width:700px){html body.case-page .hx-peek>a{gap:12px;padding:0 16px}.hx-peek-thumb{width:96px}.hx-peek-label{font-size:10px}html body.case-page .hx-peek-text strong{font-size:17px;line-height:1.3;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 /* on a phone the button keeps just its arrow */
 .hx-peek-go{width:44px;height:44px;padding:0;justify-content:center;gap:0;font-size:0}.hx-peek-go span{font-size:16px}}
/* the same run as Next project: one clock (--hx-dwell) for the picture growing and everything else fading */
html body.case-page .hx-peek.hx-dwelling .case-next-thumb{transition:transform var(--hx-dwell,2.4s) var(--hx-dwell-ease,ease),border-radius var(--hx-dwell,2.4s) var(--hx-dwell-ease,ease);transform:translate(var(--hx-dx,0px),var(--hx-dy,0px)) scale(var(--hx-s,1.18));border-radius:calc(9px / var(--hx-s,1.18))}
html body.case-page .hx-peek.hx-grown .hx-peek-thumb{transition-property:transform,border-radius;transition-duration:.6s}
html body.case-page .hx-peek.hx-grown.hx-dwelling .hx-peek-thumb{transition-duration:var(--hx-dwell,2.4s)}
html body.case-page .hx-peek.hx-grown{overflow:visible;z-index:6}
html body.case-page .hx-peek.hx-grown>a{overflow:visible}
html body.case-page .hx-peek.hx-grown .hx-peek-bg{clip-path:inset(27.3% 6.9%)}
html body.case-page .hx-peek :is(.hx-peek-text,.hx-peek-go,.hx-peek-bg){transition:opacity .45s ease,background-color .25s,color .25s}
html body.case-page .hx-peek.hx-dwelling :is(.hx-peek-text,.hx-peek-go,.hx-peek-bg){opacity:0;transition:opacity var(--hx-dwell,2.4s) var(--hx-dwell-ease,ease)}
html.hx-leaving-next body.case-page .hx-peek.hx-dwelling>a{background:transparent;border-color:transparent;transition:background-color var(--hx-dwell,2.4s) var(--hx-dwell-ease,ease),border-color var(--hx-dwell,2.4s) var(--hx-dwell-ease,ease)}
.hx-cursor.hx-next.hx-prev .hx-next-icon{transform:scaleX(-1)}
/* picture first on every screen size */
html body.case-page .hx-peek .hx-peek-thumb{order:0}
html body.case-page .hx-peek .hx-peek-text{order:1}
html body.case-page .hx-peek .hx-peek-go{order:2}
/* the picture rides above the title and button while it grows, and while it shrinks back */
html body.case-page .hx-peek.hx-grown .hx-peek-thumb{z-index:4}
