@font-face{font-family:Anybody;src:url(anybody.woff2) format("woff2");font-weight:100 900;font-stretch:50% 150%;font-display:swap}
:root{--snow:#e9eff4;--ink:#0e2230;--tail:#d91c18;--edge:clamp(20px,5vw,72px)}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;background:var(--snow);-webkit-text-size-adjust:100%}
body{font:400 1.0625rem/1.55 Anybody,system-ui,sans-serif;font-stretch:95%;color:var(--ink)}
a{color:inherit;text-underline-offset:.25em}
:focus-visible{outline:3px solid #fff;outline-offset:4px;box-shadow:0 0 0 7px var(--ink)}
h1,h2{font-weight:640;line-height:.98;letter-spacing:-.015em;text-wrap:balance}

.drive{position:relative;height:100vh;height:100svh;min-height:540px;overflow:hidden;color:#fff;background:#6f8fab;display:flex;flex-direction:column;isolation:isolate}
.fill{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
img.fill,.film{object-position:62% 62%}
.lit,.film{opacity:0}
.film{transition:opacity .2s}
.shade{background:linear-gradient(#24425c99,#24425c00 46%),linear-gradient(0deg,#0c1d2bb8,#0c1d2b00 34%)}
img.lit{transition:opacity 1.1s cubic-bezier(.4,0,.2,1)}
[data-state=lighting] .lit{opacity:1}
canvas{transition:opacity .4s}.rolling canvas{opacity:0}
[data-state=ready] .lit,[data-state=going] .lit,[data-state=done] .lit{opacity:1}
.drive.rolling .film{opacity:1}

header{display:flex;justify-content:space-between;align-items:center;padding:max(14px,env(safe-area-inset-top)) var(--edge) 0;min-height:60px}
.name{font-weight:600;text-decoration:none;padding:10px 0}
.sound{font:inherit;color:inherit;background:none;border:0;padding:10px 0 10px 16px;cursor:pointer;text-decoration:underline;text-underline-offset:.25em}
h1{white-space:pre-line;margin:1.2vh var(--edge) 0;font-size:clamp(2.9rem,min(13.2vw,11.5vh),8rem);max-width:8.6em;font-stretch:78%;width:max-content;transform-origin:0 0;will-change:transform;text-shadow:0 2px 30px #14304880;transition:transform 1.6s cubic-bezier(.2,.7,.2,1)}
.pressed h1{transform:scaleX(1.22)}
.controls{margin-top:auto;display:flex;flex-direction:column;align-items:center;padding-bottom:max(14px,env(safe-area-inset-bottom))}
.pedal{position:relative;width:152px;height:152px;border:0;border-radius:50%;background:var(--tail);color:#fff;font:640 1.12rem/1.15 Anybody,system-ui,sans-serif;font-stretch:88%;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;display:grid;place-items:center;transition:transform .18s,background .3s}
.pedal>*{pointer-events:none}
.pedal span{grid-area:1/1;max-width:6.2em}
.pedal svg{position:absolute;inset:-9px;width:170px;height:170px;transform:rotate(-90deg);fill:none;stroke:#ffffff59;stroke-width:2.5}
.pedal .done{stroke:#fff;stroke-width:5;stroke-dasharray:1;stroke-dashoffset:1}
.speed{opacity:0;font-weight:450;font-size:.95rem}.speed b{display:block;font-size:2.7rem;line-height:1;font-weight:680;font-feature-settings:"tnum"}
.pressed .pedal{transform:scale(.93)}
.pressed .label{opacity:0}.pressed .speed{opacity:1}
.skip{padding:20px 12px 8px;min-height:44px}
.pressed header,.pressed .skip{opacity:.25}header,.skip{transition:opacity .4s}

.words p{max-width:34em;margin-top:1.1rem;color:#28465c}
h2{font-size:clamp(2.2rem,6.4vw,4.6rem);font-stretch:74%}
.under{padding:clamp(64px,11vh,130px) 0 0}
.under .words{padding:0 var(--edge) clamp(28px,5vh,56px)}
.reveal{position:relative;overflow:hidden;--cut:62%}
.reveal img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 60%}
.reveal .top{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--cut)) 0 0)}
.reveal .top img{height:100%}
.reveal i{position:absolute;top:0;bottom:0;left:var(--cut);width:3px;margin-left:-1.5px;background:#fff}
.reveal i:after{content:"";position:absolute;top:72%;left:50%;width:56px;height:56px;margin:-28px;border-radius:50%;background:var(--tail);border:3px solid #fff}
.reveal input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;touch-action:pan-y}
.reveal:focus-within{outline:4px solid var(--tail);outline-offset:-4px}

.house{display:grid;align-items:center}
.house img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 62%;display:block}
.house .words{padding:clamp(56px,9vh,110px) var(--edge)}
.write{display:inline-block;margin:2rem 1.6rem .6rem 0;padding:1.05rem 1.5rem;background:var(--ink);color:#fff;text-decoration:none;font-weight:600;transition:background .2s}
.write:hover{background:var(--tail)}
.more{display:inline-block;padding:.8rem 0}
footer{padding:1.6rem var(--edge) max(1.6rem,env(safe-area-inset-bottom));color:#28465c}

@media (orientation:landscape){
  img.fill,.film{object-position:50% 60%}
  h1{font-size:clamp(2.6rem,min(7.2vw,15vh),7.5rem);max-width:7em}
  .controls{align-items:flex-start;padding-left:calc(var(--edge) + 9px);padding-bottom:26px}
  .reveal img{aspect-ratio:16/9}
}
@media (min-width:900px){.house{grid-template-columns:1fr 1fr}.house img{aspect-ratio:auto;height:min(92vh,860px)}.under .words{display:grid;grid-template-columns:1.2fr 1fr;gap:4vw;align-items:end}}
@media (max-height:560px) and (orientation:landscape){.drive{min-height:320px}.pedal{width:112px;height:112px;font-size:.95rem}.pedal svg{width:130px;height:130px}.speed b{font-size:2rem}.skip{display:none}.controls{position:absolute;right:var(--edge);bottom:0;padding-left:0}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
