@font-face{font-family:"Sofia Cond";src:url(fonts/sofia-sans-extra-condensed-latin.woff2) format("woff2");font-weight:1 1000;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:"Sofia Cond";src:url(fonts/sofia-sans-extra-condensed-cyrillic.woff2) format("woff2");font-weight:1 1000;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Sofia";src:url(fonts/sofia-sans-latin.woff2) format("woff2");font-weight:1 1000;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:"Sofia";src:url(fonts/sofia-sans-cyrillic.woff2) format("woff2");font-weight:1 1000;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

:root{--stone:#d6d4d0;--ash:#564f49;--basalt:#2a2725;--dust:#b9b4ae;--gutter:clamp(1.25rem,5vw,6rem);--gap:clamp(4.5rem,8.5vw,8rem)}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;background:var(--stone)}
body{font-family:"Sofia",system-ui,sans-serif;font-size:clamp(1.125rem,1.35vw,1.5rem);line-height:1.5;color:var(--basalt);background:var(--stone);-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%;height:auto}
h1,h2,.models b,.move-grid figcaption{font-family:"Sofia Cond",sans-serif;letter-spacing:-.005em;line-height:.88}
h1{font-size:clamp(4.25rem,13.6vw,15rem);font-weight:740;text-wrap:balance}
h2{font-size:clamp(3.25rem,8.6vw,9.5rem);font-weight:740;max-width:13ch;text-wrap:balance}
a{color:inherit}
:focus-visible{outline:3px solid var(--basalt);outline-offset:4px}
.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;z-index:9;background:var(--stone);padding:.5rem 1rem}

.bar{display:flex;gap:1.25rem;align-items:baseline;padding:clamp(.75rem,1.4vw,1.25rem) var(--gutter)}
.mark{font-family:"Sofia Cond",sans-serif;font-size:clamp(2rem,3vw,2.75rem);font-weight:760;line-height:1}
.soon{font-weight:620;color:var(--ash)}
.follow{margin-left:auto;font-weight:620;text-underline-offset:.25em}

.film{position:relative}
.film video{display:block;width:min(100%,(100svh - 8rem)*16/9);aspect-ratio:16/9;margin:0 auto;object-fit:cover}
.text-button{font:inherit;font-size:1rem;color:var(--ash);background:none;border:0;padding:.5rem 0;cursor:pointer;text-decoration:underline;text-underline-offset:.25em}
.film .text-button{display:block;margin:.25rem var(--gutter) 0 auto}

.open{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(18rem,1fr);gap:clamp(2rem,5vw,6rem);align-items:end;padding:clamp(1rem,2vw,2rem) var(--gutter) 0}
.open-side p{max-width:34ch}
.button{display:inline-block;margin-top:1.5rem;padding:.95em 1.4em;background:var(--basalt);color:var(--stone);font-weight:620;text-decoration:none;transition:background-color .16s}
.button:hover{background:#000}
.fine{margin-top:1.5rem;color:var(--ash);font-size:1rem}

section+section{margin-top:var(--gap)}
.film+.open{margin-top:0}

.local{background:var(--basalt);color:var(--stone);padding:clamp(5rem,10vw,10rem) var(--gutter)}
.models{list-style:none;padding:0;margin-top:clamp(3rem,6vw,6rem)}
.models li{display:flex;justify-content:space-between;align-items:baseline;gap:2rem;padding:.2em 0}
.models b{font-size:clamp(2.75rem,7vw,7rem);font-weight:640}
.models span{color:var(--dust);text-align:right;font-size:clamp(1.125rem,1.6vw,1.75rem)}
.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;margin-top:clamp(3rem,6vw,6rem)}
.facts p{max-width:34ch}
.local :focus-visible{outline-color:var(--stone)}

.pick{padding:0 var(--gutter)}
.ideas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:clamp(1.5rem,3vw,3rem)}
.ideas img{mix-blend-mode:multiply;width:100%}

.forge{padding:0 var(--gutter)}
.stages{position:relative;width:min(100%,60rem,62svh);min-width:min(100%,20rem);aspect-ratio:1;margin:1.5rem auto 0}
.stages img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0}
.stages img:first-child{opacity:1;mix-blend-mode:multiply}
.forge-controls{max-width:60rem;margin:1rem auto 0}
.forge-note{color:var(--ash);text-align:center;min-height:1.5em}
.steps{display:flex;justify-content:space-between;gap:.5rem;margin-top:1rem}
.steps button{font:inherit;font-family:"Sofia Cond",sans-serif;font-size:clamp(1.5rem,3.4vw,2.75rem);line-height:1;font-weight:600;color:var(--ash);background:none;border:0;padding:.35rem 0;cursor:pointer}
.steps button[aria-current]{color:var(--basalt);font-weight:780}
#stage{width:100%;margin-top:.5rem;height:2.75rem;-webkit-appearance:none;appearance:none;background:none;cursor:grab}
#stage:active{cursor:grabbing}
#stage::-webkit-slider-runnable-track{height:3px;background:var(--basalt)}
#stage::-moz-range-track{height:3px;background:var(--basalt)}
#stage::-webkit-slider-thumb{-webkit-appearance:none;width:1.75rem;height:1.75rem;margin-top:calc(-.875rem + 1.5px);background:var(--basalt);border:0;border-radius:50%}
#stage::-moz-range-thumb{width:1.75rem;height:1.75rem;background:var(--basalt);border:0;border-radius:50%}

.moves{padding:0 var(--gutter)}
.sub{margin-top:1.25rem;color:var(--ash);max-width:60ch;text-wrap:pretty}
.sub .text-button{margin-left:.75rem}
.move-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,3vw,3rem) clamp(.5rem,1vw,1rem);margin-top:clamp(1.5rem,3vw,3rem)}
.move-grid video{width:100%;aspect-ratio:1;object-fit:cover;-webkit-mask-image:radial-gradient(closest-side,#000 80%,transparent);mask-image:radial-gradient(closest-side,#000 80%,transparent)}
.move-grid figcaption{font-size:clamp(1.75rem,3vw,3rem);font-weight:640;text-align:center;margin-top:-.4rem}

.app,.engines{padding:0 var(--gutter)}
.screens{display:grid;grid-template-columns:1fr 1fr;gap:clamp(.5rem,1vw,1rem);margin-top:clamp(1.5rem,3vw,3rem)}
.screens img{width:100%}
.screens .wide{grid-column:1/-1}

.end{padding:0 var(--gutter) clamp(3rem,6vw,6rem)}
.word{display:flex;justify-content:space-between;flex-wrap:wrap;font-family:"Sofia Cond",sans-serif;font-size:clamp(7rem,30vw,32rem);font-weight:760;line-height:.8}
.word span{color:#7d756d}
.gloss{margin-top:1.5rem;color:var(--ash)}

@media (max-width:52rem){
 .open{grid-template-columns:1fr}
 .facts{grid-template-columns:1fr}
 .move-grid,.ideas{grid-template-columns:repeat(2,minmax(0,1fr))}
 .screens{grid-template-columns:1fr}
 .models li{flex-direction:column;gap:0}.models span{text-align:left}
 .steps{flex-wrap:wrap}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
