/* "more work/" marquee: after each case name, the same preview box as the homepage hero (Selected work),
   at the same size, with the same hover: Figma selection frame + size tag, the screen lifts a little. */
:root{--cv-chrome:#ECECEE;--cv-field:#FFFFFF;--cv-ink:#5F6368;--n-chip:#ECEEF1}
:root[data-theme="dark"]{--cv-chrome:#2A2A2E;--cv-field:#1C1C1F;--cv-ink:#A8A8AE;--n-chip:#2B2B2B}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--cv-chrome:#2A2A2E;--cv-field:#1C1C1F;--cv-ink:#A8A8AE;--n-chip:#2B2B2B}}
.more-mq a{align-items:center}
.more-mq a sup{transform:translateY(-1.1em)}
.mq-card{position:relative;flex:none;display:block;width:clamp(180px,14.4vw,264px);margin:0 .25em 0 .3em;font-size:16px;letter-spacing:0;line-height:normal;font-weight:400;color:var(--text-primary)}
.mq-card .wk-fr{position:relative;display:block}
.mq-card .wk-th{position:relative;display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;background:var(--n-chip)}
/* browser frame (IKEA) */
.mq-card .cv{display:grid;grid-template-rows:auto minmax(0,1fr);aspect-ratio:1440/1000;background:var(--bg-surface);border:1px solid var(--border-default);box-shadow:0 16px 32px -16px rgba(15,15,15,.25);transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.mq-card.wk-ikea .cv{position:absolute;left:8%;top:16%;width:104%}
.mq-card .cv-bar{display:flex;align-items:center;padding:4px 6px;gap:3px;background:var(--cv-chrome);border-bottom:1px solid var(--border-default)}
.mq-card .cv-bar>i{flex:none;width:5px;height:5px;border-radius:50%;background:#FF5F57}.mq-card .cv-bar>i:nth-child(2){background:#FEBC2E}.mq-card .cv-bar>i:nth-child(3){background:#28C840}
.mq-card .cv-url{flex:1;min-width:0;display:flex;align-items:center;height:11px;margin-left:5px;padding:0 5px;gap:3px;border-radius:6px;background:var(--cv-field);color:var(--cv-ink)}
.mq-card .cv-lock{flex:none;width:5px;height:5px;fill:none;stroke:currentColor;stroke-width:1.5}
.mq-card .cv-url b{font:400 6px/1 var(--sans);color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mq-card .cv-shots{position:relative;display:block;overflow:hidden;min-height:0;background:#fff}
.mq-card .cv-shots img{position:absolute;left:0;top:0;width:100%;height:auto;min-height:100%;object-fit:cover;object-position:left top}
/* phone (Elkjøp, Alfa Laval) */
.mq-card .ek-dev{position:absolute;left:6%;top:8%;width:58%;aspect-ratio:100/209.3;background:#141414;border-radius:15% / 7.2%;box-shadow:inset 0 0 0 2px #2B2B2B,0 20px 40px -20px rgba(15,15,15,.35);transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.mq-card.wk-alfa .ek-dev{left:auto;right:6%}
.mq-card .ek-scr{position:absolute;inset:1.53% 3.2%;overflow:hidden;border-radius:12.6% / 5.8%;background:#FFF;color:#0F0F0F;container-type:inline-size}
.mq-card .ek-scr::before{content:"";position:absolute;left:50%;top:2.6cqw;width:31cqw;height:9cqw;margin-left:-15.5cqw;border-radius:5cqw;background:#141414;z-index:3}
.mq-card .ek-scr img{position:absolute;left:0;top:0;width:100%;height:auto;max-width:none}
.mq-card.wk-alfa .ek-scr img{transform:translateY(-118cqw)}
.mq-card .ek-bar{position:absolute;left:0;right:0;top:0;height:14cqw;display:flex;justify-content:space-between;align-items:center;padding:0 9cqw 0 11cqw;color:#0F0F0F;background:linear-gradient(#FFF 70%,rgba(255,255,255,0));z-index:2}
.mq-card .ek-bar b{font:600 4.3cqw/1 -apple-system,"SF Pro Text",system-ui,sans-serif}
.mq-card .ek-bar span{display:flex;gap:1.6cqw;align-items:center}.mq-card .ek-bar svg{display:block;height:3cqw;width:auto;fill:currentColor}.mq-card .ek-bar .sb-bat{height:3.3cqw}
/* result card */
.mq-card .ek-card{transition:transform .5s cubic-bezier(.2,.7,.2,1);position:absolute;right:6%;bottom:14%;z-index:2;display:grid;width:38%;padding:7px 9px;gap:1px;background:var(--bg-surface);font-size:9px;line-height:12px;color:var(--text-primary);box-shadow:inset 2px 0 0 var(--accent-fill),0 12px 28px -14px rgba(48,38,108,.35)}
.mq-card.wk-alfa .ek-card{right:auto;left:6%;top:20%;bottom:auto}
.mq-card .ek-card b{font:400 8px/11px var(--mono);text-transform:uppercase;color:var(--text-accent)}
.mq-card .ek-card em{font-style:normal;font-size:18px;line-height:22px;font-weight:500;letter-spacing:-.04em;color:var(--text-accent)}
/* Figma selection: always on here (unlike the hero, where it shows on hover) */
.mq-card .sel{position:absolute;inset:0;border:1px solid #A394F9;opacity:1;transition:opacity .15s ease;pointer-events:none}
.mq-card .sel i{position:absolute;width:7px;height:7px;background:var(--bg-surface);border:1px solid #A394F9}
.mq-card .sel i:nth-child(1){top:-4px;left:-4px}.mq-card .sel i:nth-child(2){top:-4px;right:-4px}.mq-card .sel i:nth-child(3){bottom:-4px;left:-4px}.mq-card .sel i:nth-child(4){bottom:-4px;right:-4px}
.mq-card .sel b{position:absolute;left:-1px;bottom:calc(100% + 4px);padding:3px 8px;background:var(--accent-fill);color:#fff;font:400 11px/1.3 var(--mono);white-space:nowrap}
.more-mq a:hover .mq-card .cv,.more-mq a:hover .mq-card .ek-dev,.more-mq a:hover .mq-card .ek-card,.more-mq a:focus-visible .mq-card .cv,.more-mq a:focus-visible .mq-card .ek-dev,.more-mq a:focus-visible .mq-card .ek-card{transform:translateY(-6px)}   /* hover: the screen and the result box lift, as in the hero */
@media (max-width:760px){.mq-card{width:160px}}
@media (prefers-reduced-motion:reduce){.mq-card .cv,.mq-card .ek-dev{transition:none}}
/* every name, slash and box sits on one centre line */
.more-mq{align-items:center}
.more-mq span.cur,.more-mq .sl{display:inline-flex;align-items:center}
