@font-face{font-family:"Credit Mono";src:url("assets/fonts/mono.woff2") format("woff2");font-weight:100 800;font-display:swap}
@font-face{font-family:"Anybody";src:url("assets/fonts/anybody.woff2") format("woff2");font-weight:100 900;font-stretch:50% 150%;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Anybody";src:url("assets/fonts/anybody-ext.woff2") format("woff2");font-weight:100 900;font-stretch:50% 150%;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2C60-2C7F,U+A720-A7FF}

:root{
  /* the yū studio palette: near-black field, one lime, milk type */
  --lime:#dafe04;
  --field:#0b0b0c;
  --shadow:#141600;
  --ink:#0b0b0c;
  --paper:#ecebe8;
  --mute:rgb(236 235 232 / .55);
  --mono:"Credit Mono",ui-monospace,"SF Mono",Menlo,monospace;
  --top:clamp(20px,2.2vw,32px);
  --face:"Anybody","Helvetica Neue",Helvetica,Arial,sans-serif;
  --ease-out:cubic-bezier(0.23,1,0.32,1);
  --gutter:clamp(16px,4vw,64px);
  color-scheme:dark;
}
*{box-sizing:border-box}
html{overflow-x:clip;background:var(--field);scrollbar-color:var(--lime) var(--field)}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
body{margin:0;overflow-x:clip;background:var(--field);color:var(--paper);font-family:var(--face);font-stretch:150%;font-weight:300;letter-spacing:-.01em;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection{background:var(--lime);color:var(--ink)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
h1,h2,p,ul{margin:0;padding:0;font-weight:inherit}
ul{list-style:none}
a{color:inherit}
.defs{position:absolute;width:0;height:0;overflow:hidden}

/* ---------- two voices of one extended family ----------
   heavy: black weight, melted by #ink (goo + grain halo + a trail pulled back against the run)
   thin:  hairline weight, softened by #fine. No italics anywhere. */
.heavy{font-weight:820;letter-spacing:-.085em}
.thin{font-weight:200;letter-spacing:-.04em}
[data-fx=ink],.word.heavy .ly-sharp{filter:url(#ink)}
[data-fx=ink-xl]{filter:url(#ink-xl)}
[data-fx=fine],.word.thin .ly-sharp{filter:url(#fine)}
/* the smear twin: a pre-filtered copy that sharp type dissolves into (crossfaded, never re-filtered per frame) */
.twin{position:relative}
.ly{display:inline-block}
.js .ly{will-change:transform,opacity}
.ly-smear{position:absolute;left:0;top:0;filter:url(#smear);pointer-events:none;opacity:0;transform-origin:100% 60%}

/* ---------- the projection surface: one fixed WebGL canvas behind every scene ---------- */
#gl,.poster{position:fixed;inset:0;width:100%;height:100%;display:block;pointer-events:none}
#gl{z-index:0;opacity:0;transition:opacity 400ms var(--ease-out)} /* 400ms: first light of the film, not UI */
.gl-ready #gl{opacity:1}
.poster{z-index:0;object-fit:cover;object-position:52.5% 50%;filter:grayscale(1) contrast(1.1) brightness(.3)}
.gl-ready .poster{visibility:hidden}
.grain{display:none}
.no-gl .grain{display:block;position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.12;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}
main{position:relative;z-index:2}
.mark{width:.9em;height:.9em;flex:none;transform:rotate(-12deg)}
.line{display:inline-block;white-space:nowrap}

/* ---------- scene 1–3: the pinned film ---------- */
.film{position:relative}
.stage{position:relative;padding:var(--gutter);display:grid;gap:12vh}
.js .film{height:640vh}   /* run + plate (72%), then the orbit to his face */
.js .stage{position:sticky;top:0;height:100vh;height:100svh;padding:0;display:block;overflow:hidden}

.hero{position:relative;min-height:80svh;display:grid;align-content:end;gap:3rem}
.js .hero{position:absolute;inset:0;min-height:0;padding:clamp(20px,3vw,44px) var(--gutter) clamp(28px,6vh,64px);display:flex;align-items:flex-end;justify-content:space-between;gap:2rem}
.back{position:fixed;z-index:7;left:var(--gutter);top:calc(var(--top) - 5px);padding:8px 0;font:500 12px/1 var(--mono);letter-spacing:.04em;color:var(--lime);text-decoration:none;transition:color 300ms ease,opacity 160ms ease}
.back:hover{opacity:.7}
.back:focus-visible{outline:1px solid var(--lime);outline-offset:4px}
.on-lime .back{color:var(--ink)}
.yu{position:fixed;z-index:6;left:calc(var(--gutter) + 72px);top:calc(var(--top) - 6px);display:block;color:var(--lime);text-decoration:none;padding:6px 0;line-height:0;transition:color 300ms ease}
.yu .ly{display:inline-flex;align-items:center;gap:12px}
.yu svg{width:clamp(30px,2.3vw,38px);height:auto;display:block;flex:none}
.yu .ly-sharp svg{filter:url(#grain)}
.yu-name{font:500 12px/1 var(--mono);letter-spacing:.04em;color:var(--paper);transition:color 300ms ease}
.on-lime .yu,.on-lime .yu-name{color:var(--ink)}
.yu:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
.hud{position:fixed;inset:0;z-index:5;pointer-events:none;font:400 12px/1.6 var(--mono);letter-spacing:.04em;color:var(--paper);transition:color 300ms ease}
.hud-mid{position:absolute;top:var(--top);left:50%;transform:translateX(-50%);white-space:nowrap;color:var(--mute)}
.hud-mid i{font-style:normal;color:var(--lime)}
.hud-mid b{font-weight:500;color:var(--lime)}
.hud-talk{position:absolute;top:calc(var(--top) - 8px);right:var(--gutter);padding:8px 0;pointer-events:auto;text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 calc(100% - 6px)/0 1px no-repeat;transition:background-size 200ms var(--ease-out),color 300ms ease}
.hud-talk:hover{background-size:100% 1px}
.hud-talk:focus-visible{outline:1px solid var(--lime);outline-offset:4px}
.hud-scroll{position:absolute;right:var(--gutter);bottom:clamp(28px,6vh,64px);display:grid;justify-items:end;gap:10px;color:var(--lime)}
.hud-scroll svg{width:12px;height:48px;margin-right:2px}
.no-js .hud-scroll{display:none}
.on-lime .hud,.on-lime .hud-mid,.on-lime .hud-mid i,.on-lime .hud-mid b{color:var(--ink)}
.wordmark{display:flex;align-items:center;gap:.04em;font-weight:820;font-size:clamp(3.4rem,8.6vw,9.4rem);line-height:.8;letter-spacing:-.09em;color:var(--lime)}
.wordmark .mark g,.small-brand .mark g{stroke:currentColor;stroke-width:11;stroke-linejoin:round}
.wordmark .ly{display:inline-flex;align-items:center;gap:.04em}
.wordmark .mark{width:.66em;height:.66em;margin:-.1em -.08em 0 -.06em;transform:rotate(-12deg) translateY(-.08em)}
.subline{display:flex;align-items:baseline;gap:1.1em;margin:.65em 0 0 .08em;font-weight:220;font-size:clamp(1.15rem,2.1vw,2.2rem);letter-spacing:-.035em;color:var(--lime)}
.event{display:grid;gap:.2em;font:400 12px/1.6 var(--mono);letter-spacing:.04em;color:var(--mute);text-align:right}
.js .event{position:absolute;top:calc(var(--top) + 52px);right:var(--gutter)}
.event .ly{display:grid;gap:.2em}
.event .ly-smear{left:auto;right:0}
.event span{white-space:nowrap}
.event .squig{color:var(--lime);letter-spacing:0}

.words{display:flex;flex-wrap:wrap;gap:.2em .6em;font-size:2.4rem}
.word{color:var(--lime);line-height:.8}
.js .words{display:block;position:absolute;inset:0;pointer-events:none}
.js .word{position:absolute;left:0;top:0;white-space:nowrap;font-size:6rem}
.js .word .ly{opacity:0}
.word-cap{display:none}
.js .word-cap{display:flex;position:absolute;left:0;top:0;gap:1.6em;align-items:baseline;font:400 12px/1.6 var(--mono);letter-spacing:.04em;color:var(--lime);opacity:0;white-space:nowrap;font-variant-numeric:tabular-nums;will-change:opacity}
.word-cap .cap-tc{color:var(--mute)}

.plate{position:relative}
.js .plate{position:absolute;inset:0;pointer-events:none}
.plate-copy{max-width:30rem}
.js .plate-copy{position:absolute;right:var(--gutter);top:50%;width:min(30vw,32rem);transform:translateY(-50%)}
.plate-title{font-size:clamp(1.4rem,2.1vw,2.4rem);line-height:.95;color:var(--lime)}
.plate-title .line{display:block;width:max-content}
.plate-title .line.heavy{font-size:1.18em;margin-bottom:.12em}
.plate-note{margin-top:1.6em;font:400 12px/1.7 var(--mono);letter-spacing:.04em;color:var(--mute);max-width:42ch;text-wrap:pretty}
.js .plate-title .ly,.js .plate-note{opacity:0}
.ruler{display:none}
.js .ruler{display:block;position:absolute;left:0;right:0;bottom:clamp(36px,9vh,96px);height:46px}
.tick{position:absolute;left:0;bottom:0;width:0;height:16px;opacity:0;will-change:transform,opacity}
.tick::before{content:"";position:absolute;left:0;bottom:0;width:1px;height:16px;background:var(--lime)}
.tick b{position:absolute;left:0;bottom:26px;transform:translateX(-50%);white-space:nowrap;font:400 12px/1 var(--mono);font-variant-numeric:tabular-nums;letter-spacing:.02em;color:var(--lime)}
.ruler-line{position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--lime);transform-origin:100% 50%;transform:scaleX(0);opacity:.7}

/* ---------- scene 3b: the orbit ends on his face; run with intent sits in the empty left of the frame ---------- */
.intent{display:grid;justify-items:start;gap:clamp(12px,2vh,22px);color:var(--lime)}
.js .intent{position:absolute;left:var(--gutter);top:50%;transform:translateY(-50%);pointer-events:none}
.intent-spot{display:block;width:min(clamp(150px,15vw,250px),26vh);margin-left:-1.4vw;aspect-ratio:1;visibility:hidden}  /* the 3D syndrom mark is drawn here by the shader */
.no-gl .intent-spot,.no-js .intent-spot{visibility:visible}
.intent-title{line-height:.8}
.intent-title .line{display:block;width:max-content}
.intent-title .line.heavy{font-size:clamp(4.2rem,11vw,12rem);margin-left:-.04em}
.intent-title .line.mono{margin-top:1.1em;font:500 13px/1 var(--mono);letter-spacing:.32em;color:var(--paper)}
.js .intent-title .ly{opacity:0}
.intent-lead{max-width:34ch;margin-top:clamp(18px,3vh,32px);font:400 12px/1.8 var(--mono);letter-spacing:.04em;color:var(--mute);text-wrap:pretty}
.js .intent-lead{opacity:0}

/* ---------- scene 5: the door ---------- */
.door{position:relative;min-height:100vh;min-height:100svh;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;padding-bottom:64px!important;padding:clamp(24px,4vw,56px) var(--gutter) clamp(20px,3vw,32px);color:var(--ink);overflow:clip}
.door-inner{align-self:center;display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(16px,3vh,40px);min-width:0}
.place{line-height:0;color:var(--ink);display:flex;justify-content:center}
.place .ly-smear{transform-origin:0 60%}
.place-big .ly{display:block}
.big-mark{display:block;width:min(52vh,62vw);height:min(52vh,62vw);transform:rotate(var(--turn,-12deg));will-change:transform}
.big-mark g{stroke:currentColor;stroke-width:4;stroke-linejoin:round}
.place-big > .ly-sharp{filter:url(#ink-xl)}  /* the same printed melt as the type */
.door-meta{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:20px 40px}
.door-meta p{display:flex;flex-wrap:wrap;align-items:baseline;gap:.3em 1.2em;font-size:clamp(1.05rem,1.7vw,1.7rem);line-height:1.2;letter-spacing:-.03em}
.door-meta p span:first-child{font-weight:900;letter-spacing:-.09em}
.door-meta p span:last-child{font-weight:300}
.door-meta .coords{gap:.9em;font:500 12px/1.6 var(--mono);letter-spacing:.04em}
.door-meta .coords span{font-weight:500!important;letter-spacing:.04em!important}
.door-meta .coords i{font-style:normal}
.small-brand{display:flex;align-items:center;gap:.1em;margin:0;font-weight:900;font-size:1.2rem;line-height:1;letter-spacing:-.1em}
.small-brand .mark{width:.8em;height:.8em;margin-right:.08em}
.foot-tag{margin-left:.9em;font:500 12px/1 var(--mono);letter-spacing:.04em}
.foot{position:absolute;left:16px;right:16px;bottom:16px;display:flex;justify-content:space-between;align-items:center;gap:16px}
/* the studio credit, "signal" (from the yū made-by set): a pulse runs under the line, like the wire between objects on the studio site */
.yu-made{--yu-accent:var(--ink);position:relative;display:inline-flex;align-items:center;gap:.6em;padding:8px 0 .7em;color:var(--ink);opacity:.72;text-decoration:none;font:500 11px/1 var(--mono);letter-spacing:.06em;white-space:nowrap;transition:opacity 300ms ease}
.yu-made svg.mk{width:2.6em;height:1.3em;flex:none;fill:currentColor;transition:transform 500ms cubic-bezier(.2,.8,.2,1)}
.yu-made::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:1px;background:linear-gradient(90deg,transparent,var(--yu-accent),transparent) no-repeat -40% 0/40% 100%;opacity:0;transition:opacity 300ms ease}
.yu-made:hover,.yu-made:focus-visible{opacity:1}
.yu-made:hover::after,.yu-made:focus-visible::after{opacity:1;animation:yu-sig 1.4s cubic-bezier(.4,0,.2,1) infinite}
.yu-made:hover svg.mk{transform:rotate(-8deg) scale(1.08)}
.yu-made:focus-visible{outline:1px solid var(--ink);outline-offset:4px}
@keyframes yu-sig{to{background-position:140% 0}}
.no-gl .door,.no-js .door{background:var(--lime)}

/* ---------- phone ---------- */
@media (max-width:700px){
  .js .film{height:560vh}
  /* phones: his face sits in the top of the frame, the copy in the dark below it; the mark rides beside run */
  .js .intent{top:auto;bottom:6vh;transform:none;display:grid;grid-template-columns:auto auto;justify-content:start;align-items:center;column-gap:14px}
  .intent-spot{grid-column:2;grid-row:1;width:min(26vw,110px)}
  .intent-title{grid-column:1;grid-row:1}
  .intent-title .line.heavy{font-size:clamp(3.4rem,17vw,5rem)}
  .intent-title .line.mono{position:absolute;margin-top:.9em}
  .intent-lead{grid-column:1 / -1;margin-top:clamp(40px,6vh,56px)}
  .hud-scroll{display:none}
  .js .hero{flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:1.6rem}
  .wordmark{font-size:clamp(2.4rem,11.6vw,3.6rem)}
  .subline{flex-wrap:wrap;row-gap:.4em}
  .wordmark .mark{width:.82em;height:.82em}
  .subline{font-size:clamp(1.05rem,5vw,1.4rem)}
  .js .event{position:static}
  .yu{top:10px}
  .hud-mid{display:none}
  .hud-talk{top:8px}
  .js .event{position:static}
  .event,.event .ly{text-align:left}
  .event .ly-smear{left:0;right:auto}
  .js .plate-copy{left:var(--gutter);right:var(--gutter);top:9vh;width:auto;transform:none}
  .plate-title{font-size:clamp(1.4rem,6.4vw,2.2rem)}
  .plate-note{font-size:.95rem;max-width:32ch}
  .js .ruler{bottom:12vh}
  [data-fx=ink-xl]{filter:url(#ink)}            /* the xl melt is tuned for 300px glyphs; phones use the regular one */
  .door-meta{flex-direction:column;align-items:flex-start}
  .foot-tag{display:none}
}

/* ---------- reduced motion: same film, a gentler cut ---------- */
@media (prefers-reduced-motion:reduce){
  .yu-made::after{animation:none!important}
  .js .film{height:300vh}
  .js .ly{will-change:auto}
  #gl{transition:none}
}

/* ---------- ?wallpaper: the orbit's last frame as a still (2880x1864 for the built-in retina display) ---------- */
.wallpaper,.wallpaper body{overflow:hidden;height:100%}
.wallpaper .hud,.wallpaper .hero,.wallpaper .words,.wallpaper .word-cap,.wallpaper .plate,
.wallpaper .intent-lead,.wallpaper .intent-title .line.mono,.wallpaper .door{display:none}
.wallpaper .yu{pointer-events:none}
.wallpaper .back{display:none}
.wallpaper .yu{left:var(--gutter)}
/* the *syndrom lockup, mid-left, clear of him */
.wallpaper .hud,.wallpaper .words,.wallpaper .word-cap,.wallpaper .plate,.wallpaper .intent,.wallpaper .event,.wallpaper .door{display:none!important}
.wallpaper .hero{display:block;inset:auto;left:var(--gutter);top:50%;right:auto;bottom:auto;padding:0;transform:translateY(-58%)}
.wallpaper .wordmark{font-size:6.4vw}
