
/* GoFast case study layout. */
:root{--amethyst:#d7ff39;--mute:#c7c5cd}
body{overflow-x:clip}.skip:not(:focus){position:absolute;clip-path:inset(100%)}
.skip:focus{position:fixed;z-index:15;left:10px;top:8px;background:#282332;padding:9px 13px}
.hero{background-image:url(art/01.webp);background-position:57% center}
.hero:before{background:linear-gradient(90deg,#07070ce8 0%,#07070cae 29%,#07070c26 57%,#06050900 87%),linear-gradient(0deg,#08060ed0,transparent 45%)}
.opening h1{font-weight:750;max-width:9ch}
.karts-signature{filter:none;mix-blend-mode:normal;width:clamp(115px,13vw,230px);height:auto}
.byline{z-index:1;padding-right:112px}
.movement{background:radial-gradient(ellipse at 74% 48%,#241631,#0d0a12 70%)}
.orbits circle{stroke:#d0f76c;stroke-width:1.3}
.architecture figure{min-height:440px}.architecture figure img{object-position:60% center}
.lab .node{background:linear-gradient(147deg,#5e6840,#1c2020 70%);border-color:#b9d667;color:#e9f9ad;box-shadow:0 0 34px #a2cf6030}
.signal{background:linear-gradient(90deg,#c0e339,#6e8240 52%,#7b699c)}.signal i{background:#daff55;box-shadow:0 0 15px #acda31}
.labhead span,.readout code,.framehead a{color:#d9e9ac}
.states button[aria-pressed=true]{color:#141610;background:#d7ff39}
.city{background-image:url(art/05.webp)}
.city:before{background:linear-gradient(90deg,#07070cdb,transparent 84%),linear-gradient(0deg,#07070caa,transparent 65%)}
footer{background-image:url(art/09.webp);background-position:60% 46%}
footer:before{background:linear-gradient(90deg,#09090c94,#09090c32 62%,#09090c57)}
footer div{display:grid;gap:11px}
.cable img{height:clamp(280px,31vw,620px)}.portrait img{height:clamp(330px,47vw,860px)}
.field-editorial img{max-height:820px;object-fit:cover}
.gofast-context{--screen:69%;--setpos:50% 50%;isolation:isolate;position:relative;overflow:hidden;display:grid;place-items:center;min-height:clamp(440px,58vw,1060px);padding:clamp(22px,4.6vw,87px) 0 clamp(45px,7.1vw,140px);background:#101013 var(--context) var(--setpos)/cover no-repeat;box-shadow:inset 0 0 130px #0008}
.gofast-context:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,#05040629,transparent 45%)}
.gofast-context .full{position:relative;max-width:min(var(--screen),1430px);border-radius:clamp(8px,1.35vw,24px);padding:clamp(5px,.55vw,12px);background:linear-gradient(160deg,#333438,#111216 65%,#27282d);border:1px solid #78787e;box-shadow:0 18px 28px #000b,0 45px 76px #0008;z-index:2;display:block}
.gofast-context .full:before,.gofast-context .full:after{content:"";position:absolute;left:50%;z-index:-1;transform:translateX(-50%);background:#28292c}
.gofast-context .full:before{width:9%;height:clamp(20px,3.2vw,70px);top:100%;border-inline:1px solid #8a8a8f;background:linear-gradient(90deg,#17171b,#5b5a5e 45%,#333438 62%,#1a1b1d)}
.gofast-context .full:after{height:clamp(4px,.55vw,12px);width:31%;top:calc(100% + clamp(20px,3.2vw,70px));border-radius:45% 45% 30% 30%;background:linear-gradient(#5d5c60,#232329);box-shadow:0 8px 10px #000b}
.gofast-context .full img{display:block;width:100%;border-radius:clamp(3px,.7vw,15px);height:auto;aspect-ratio:1348/926;object-fit:contain}
.gofast-context[data-model="laptop"] .full{border:1px solid #777980;padding-bottom:clamp(8px,1.1vw,20px);background:#232428}
.gofast-context[data-model="laptop"] .full:before{border:0;height:clamp(8px,.9vw,18px);width:115%;top:100%;background:linear-gradient(0deg,#33343b,#86888e 68%,#aeb0b4 79%,#45474c 94%);clip-path:polygon(7% 0,93% 0,100% 76%,97% 100%,3% 100%,0 76%)}
.gofast-context[data-model="laptop"] .full:after{display:none}
.gofast-context[data-model="tablet"] .full{border-color:#a5a5aa;border-radius:clamp(14px,2vw,34px);padding:clamp(8px,.85vw,16px);background:linear-gradient(145deg,#3d3d41,#141418 40%,#2c2c33)}
.gofast-context[data-model="tablet"] .full:before,.gofast-context[data-model="tablet"] .full:after{display:none}
.gofast-context.context-2{--setpos:50% 69%;--screen:64%}
.gofast-context.context-3{--setpos:50% 64%;--screen:69%}
.gofast-context.context-4{--setpos:50% 77%;--screen:65%}
.gofast-context.context-5{--setpos:50% 60%;--screen:64%}
.gofast-context.context-6{--setpos:50% 86%;--screen:70%}
.gofast-context.context-7{--setpos:50% 62%;--screen:65%}
.gofast-context.context-8{--setpos:50% 75%;--screen:69%}
.gofast-context[hidden]{display:none}
.tabs button[aria-pressed=true]{color:#dfff56;border-color:#dfff56}




dialog img{width:auto;max-width:100%;margin:auto}
@media(max-width:760px){
 nav.case-top{gap:12px;flex-wrap:wrap;padding:15px 5vw}nav.case-top div{gap:14px;flex-wrap:wrap}
 .hero{background-position:73% center}.hero:before{background:linear-gradient(0deg,#08080cf7 10%,#08080cab 50%,#07070c14 95%)}
 .opening h1{font-size:clamp(56px,18vw,102px)}.opening p{font-size:17px}
 .architecture figure{min-height:260px}
 .gofast-context{min-height:290px;padding:26px 0 38px}.gofast-context .full{max-width:89%}
 .gofast-context .full:before{height:18px}.gofast-context .full:after{top:calc(100% + 18px)}
 .gofast-context[data-model="laptop"] .full:before{height:8px;width:109%}
 .gofast-context[data-model="tablet"] .full{max-width:88%}

}

/* Where the true authored screen is registered to the physical display. */
.live-context{position:relative;display:block;background:#0d0a11;isolation:isolate}
.live-context[hidden]{display:none}
.live-context .full,.live-context svg{display:block;width:100%;height:auto}
.live-context .full svg{overflow:hidden}
.live-context .screen-pin{transform-origin:0 0;display:block;box-shadow:none;overflow:hidden}
.live-context .screen-pin{background:#0b0d12}
.live-context .screen-pin img{position:absolute;display:block;width:100%;height:100%;object-fit:fill;max-width:none;filter:none}


.design-detail{margin:0 var(--pad) 18px}
.design-detail figure{margin:0}
.design-detail img{width:100%;height:auto;display:block;aspect-ratio:2.3;object-fit:cover;object-position:50% 53%;border-radius:10px}
@media(max-width:760px){.design-detail img{aspect-ratio:16/9}}
