@font-face{ font-family:"Space Grotesk"; src:url("../fonts/SpaceGrotesk-VariableFont_wght.woff2") format("woff2"); font-weight:300 700; font-display:swap; }
@font-face{ font-family:"JetBrains Mono"; src:url("../fonts/JetBrainsMono-VariableFont_wght.woff2") format("woff2"); font-weight:100 800; font-display:swap; }
@font-face{ font-family:"Proto Nerd Font Regular"; src:url("../fonts/0xProtoNerdFont-subset.woff2") format("woff2"); font-display:swap; }
@font-face{ font-family:"Noto Sans JP"; src:url("../fonts/NotoSansJP-subset.woff2") format("woff2"); font-display:swap; }

:root{
  --black:#000;
  --ink:#ecebe7;
  --dim:rgba(236,235,231,.56);
  --faint:rgba(236,235,231,.12);
  --champagne:#c9c3b6;
  --lamp:#f2e3bf;
  --lamp-glow:rgba(242,227,191,.5);
  --magnesium:linear-gradient(150deg,#d6d1c6 0%,#a8a397 46%,#c6c1b5 100%);
  --spring:cubic-bezier(.32,.72,0,1);
  --calm:cubic-bezier(.22,.61,.36,1);
  --gutter:max(clamp(16px,5vw,72px),calc((100vw - 1400px) / 2),env(safe-area-inset-left),env(safe-area-inset-right));   /* the content stops at 1400px; backgrounds run on */
  /* the screen plane as the intro's camera ends on it: it covers the viewport */
  --plane:max(100vw,150vh);
}

*{ box-sizing:border-box; }
html{ background:var(--black); scroll-behavior:smooth; scroll-padding-top:96px; }
html.is-scrolllock{ overflow:hidden; }
body{
  position:relative;
  margin:0;
  background:var(--black);
  color:var(--ink);
  font:400 clamp(16px,1.1vw,18px)/1.6 "Space Grotesk",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
h1,h2,h3,p{ margin:0; }
h2{ font-size:clamp(34px,5.4vw,84px); line-height:1.02; font-weight:500; letter-spacing:-.025em; max-width:14ch; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
:focus-visible{ outline:2px solid var(--ink); outline-offset:3px; }

.tag{
  display:inline-block;
  margin-bottom:22px; padding:5px 13px;
  border-radius:999px;
  font:500 10px/1.4 "JetBrains Mono",monospace;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--champagne);
  background:rgba(255,255,255,.05);
  box-shadow:inset 0 0 0 1px var(--faint);
}

/* ---- handover: starts as the frame the intro's camera ended on ---------- */
.boot{
  position:fixed; inset:0; z-index:40;
  background:#000;
}
.boot.is-done{ opacity:0; visibility:hidden; transition:opacity 1.2s ease, visibility 0s linear 1.2s; }
.boot__mark{
  position:absolute; left:50%;
  top:calc(50% - var(--plane) / 1.5 * .09 - 1px);
  width:calc(var(--plane) * .21);
  aspect-ratio:964 / 543;
  transform:translate(-50%,-50%);
  background:#eceef1;
  -webkit-mask:url("jared.svg") center / 100% 100% no-repeat;
          mask:url("jared.svg") center / 100% 100% no-repeat;
  transition:opacity .6s var(--spring), transform .9s var(--spring);
}
.boot__spin{
  position:absolute; left:50%; top:calc(50% + var(--plane) * .09);
  width:34px; height:34px; margin-left:-17px;
  opacity:0;
  transition:opacity .4s var(--spring);
}
.boot.is-spin .boot__spin{ opacity:1; }
/* five dots round a ring, bunching up and letting go, as Windows 11 starts */
.boot__spin i{ position:absolute; inset:0; opacity:0; }
.boot__spin i::before{
  content:""; position:absolute; left:50%; top:0;
  width:4px; height:4px; margin-left:-2px; border-radius:50%;
  background:#eceef1;
}
.boot.is-spin .boot__spin i{ animation:boot-spin 2.6s infinite; }
.boot__spin i:nth-child(2){ animation-delay:.12s !important; }
.boot__spin i:nth-child(3){ animation-delay:.24s !important; }
.boot__spin i:nth-child(4){ animation-delay:.36s !important; }
.boot__spin i:nth-child(5){ animation-delay:.48s !important; }
@keyframes boot-spin{
  0%{ transform:rotate(225deg); opacity:1; animation-timing-function:ease-out; }
  7%{ transform:rotate(345deg); animation-timing-function:linear; }
  30%{ transform:rotate(455deg); animation-timing-function:ease-in-out; }
  39%{ transform:rotate(690deg); animation-timing-function:linear; }
  70%{ transform:rotate(815deg); opacity:1; animation-timing-function:ease-out; }
  75%{ transform:rotate(945deg); opacity:1; }
  76%,100%{ transform:rotate(945deg); opacity:0; }
}
.boot.is-fade .boot__mark,
.boot.is-fade .boot__spin{ opacity:0; transition:opacity 1s ease; }

/* ---- floating nav -------------------------------------------------------- */
.island{
  position:fixed; z-index:30; top:calc(18px + env(safe-area-inset-top)); left:50%;
  transform:translateX(-50%);
  display:flex; align-items:center; gap:2px;
  max-width:calc(100vw - 24px);
  padding:5px;
  border-radius:999px;
  background:rgba(14,14,14,.72);
  box-shadow:inset 0 0 0 1px var(--faint);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  font-size:13px;
}
/* only the links scroll: the logo sits outside them, so neither a swipe nor Safari's
   bounce can move it, and they fade out before they reach it */
.island__links{
  position:relative;
  display:flex; align-items:center; gap:2px;
  flex:0 1 auto; min-width:0;
  margin-left:-4px;
  padding-inline:6px 12px;
  overflow-x:auto;
  overscroll-behavior-x:none;
  scrollbar-width:none;
  -webkit-mask:linear-gradient(to right,transparent,#000 6px,#000 calc(100% - 12px),transparent);
          mask:linear-gradient(to right,transparent,#000 6px,#000 calc(100% - 12px),transparent);
}
.island__links::-webkit-scrollbar{ display:none; }
.island a{ padding:7px 13px; border-radius:999px; white-space:nowrap; color:var(--dim); transition:color .4s var(--spring), background .4s var(--spring); }
.island a:hover,.island a.is-current{ color:var(--ink); background:rgba(255,255,255,.07); }
/* the logo wears the same pill as the current link, so it reads as part of the bar */
.island__home{ flex:none; align-self:stretch; display:flex; align-items:center; padding:0 14px !important; background:rgba(255,255,255,.07); }
.island a.island__home:hover{ background:rgba(255,255,255,.13); }
.island__home span{
  width:26px; height:15px; background:var(--ink);
  -webkit-mask:url("../images/logo/jared_logo.svg") center / contain no-repeat;
          mask:url("../images/logo/jared_logo.svg") center / contain no-repeat;
}

/* what is playing right now, hanging under the nav; only while something does */
.nowpill{
  position:fixed; z-index:30; top:calc(68px + env(safe-area-inset-top)); left:50%;
  display:flex; align-items:center; gap:9px;
  max-width:min(250px,calc(100vw - 24px));
  padding:4px 14px 4px 4px;
  border-radius:999px;
  background:rgba(14,14,14,.72);
  box-shadow:inset 0 0 0 1px var(--faint);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  font-size:12px; line-height:1.25;
  opacity:0; transform:translate(-50%,-6px);
  transition:opacity .5s var(--spring), transform .5s var(--spring);
}
.nowpill[hidden]{ display:none; }
.nowpill:not(.is-on){ pointer-events:none; }
.nowpill.is-on{ opacity:1; transform:translate(-50%,0); }
.nowpill img{ flex:none; width:30px; height:30px; border-radius:50%; object-fit:cover; background:#111; }
.nowpill__text{ display:flex; flex-direction:column; min-width:0; }
.nowpill__text b,.nowpill__text span{ display:block; overflow:hidden; white-space:nowrap; }
.nowpill__text i{ display:inline-block; font-style:normal; }
/* too long for the pill: it reads along, rests at each end, and comes back */
.nowpill__text i.is-long{ animation:nowpill-read var(--secs) ease-in-out infinite alternate; }
@keyframes nowpill-read{ 0%,18%{ transform:none; } 82%,100%{ transform:translateX(var(--shift)); } }
.nowpill__text b{ font-weight:500; }
.nowpill__text span{ color:var(--dim); font-size:11px; }

/* ---- hero ---------------------------------------------------------------- */
.hero{
  position:relative;
  isolation:isolate;
  overflow:clip;
  /* lvh: the whole screen, under Safari's bars too, and unlike dvh it stays put when
     they slide away, so the horizon, the logo and the planet do not move with them */
  min-height:100vh;
  min-height:100lvh;
  padding:clamp(96px,14vh,150px) var(--gutter) clamp(28px,5vh,56px);
  padding-bottom:calc(clamp(28px,5vh,56px) + 100lvh - 100svh);   /* the words stay clear of the bar */
  display:flex; flex-direction:column; justify-content:flex-end;
  --horizon:46vh;    /* hero-planet.js puts the limb here */
  --horizon:46lvh;
  --word-h:calc((100vw - var(--gutter) * 2) * .1405);
  --word-top:calc(var(--horizon) - var(--word-h) * .7);
}
/* the planet goes under into the page instead of ending at the hero's edge */
.hero__planet,.hero.is-still::before{
  position:absolute; inset:0; z-index:-1;
  width:100%; height:100%;
  -webkit-mask:linear-gradient(to bottom,#000 66%,transparent);
          mask:linear-gradient(to bottom,#000 66%,transparent);
}
/* the sky above the limb; gone before the hero ends, so no edge shows */
.hero::after{
  content:""; position:absolute; inset:0; z-index:-3; pointer-events:none;
  background:url("stars.webp") center / cover no-repeat;
  -webkit-mask:linear-gradient(to bottom,#000 45%,transparent 75%);
          mask:linear-gradient(to bottom,#000 45%,transparent 75%);
}
.hero__planet{ opacity:0; translate:0 9%; transition:opacity 1.3s ease, translate 3.4s var(--calm); }
/* The hero comes up in order once the boot has gone: the planet first, the name from
   behind it once it is solid, then what is said about it. */
body:not(.is-ready) :is(.hero__word,.hero__jp,.hero__foot,.island,.nowpill){ opacity:0; }
body.is-ready .hero__word{ --from:34%; animation:hero-up 1.8s var(--calm) 1.35s backwards; }
body.is-ready .hero__jp{ animation:hero-up 1.4s var(--calm) 2.1s backwards; }
body.is-ready .hero__foot{ animation:hero-up 1.4s var(--calm) 2.3s backwards; }
body.is-ready :is(.island,.nowpill){ --from:0; animation:hero-up 1.2s ease 2.8s backwards; }
@keyframes hero-up{ from{ opacity:0; translate:0 var(--from,18px); } }
.hero__planet.is-risen{ opacity:1; translate:0 0; }
.hero.is-still .hero__planet{ display:none; }
.hero.is-still::before{ content:""; background:url("hero-planet.webp") center top / cover no-repeat; }
/* Two satellites keep station over the name, the relay above the gap after the eagle, the
   observer higher over the Y. They rise with the planet, each from its own edge of the
   screen on an arc: across first (translate), up a beat later (transform). Sizes and
   places follow the word, so they hold to it at every width; on a phone they keep a
   floor. Rendered in Blender by tools/satellites, lit from the planet's sun. */
.hero__sat{
  --room:calc(var(--word-top) - 72px);   /* sky between the nav and the word */
  --w:min(max(var(--word-h) * var(--k), var(--floor)), var(--room) * var(--fit));   /* a low window shrinks them */
  position:absolute; z-index:-1; pointer-events:none;
  width:var(--w);
  left:calc(var(--gutter) + var(--word-h) * 7.118 * var(--at) - var(--w) / 2);
  top:calc(var(--word-top) - var(--w) * var(--ar) - var(--room) * var(--lift));
  opacity:0;
  translate:var(--from-x) 0;
  transform:translateY(var(--from-y)) rotate(var(--from-r));
  transition:opacity 1.5s ease var(--delay), translate 3.9s cubic-bezier(.12,.72,.24,1) var(--delay),
             transform 4.3s cubic-bezier(.32,.58,.22,1) var(--delay);
}
.hero__craft{ display:block; position:relative; animation:sat-drift var(--drift) ease-in-out 4s infinite alternate both; }
.hero__sat img{ display:block; width:100%; height:auto; }
.hero__sat--relay{ --k:1.65; --floor:150px; --fit:2; --at:.245; --ar:.3013; --lift:.16; --from-x:-38vw; --from-y:32vh; --from-r:-7deg; --delay:0s; --drift:13s; --dy:-5px; --dr:-1deg; --glint-at:3.2s; --glint-every:38s; --px:-3vw; --py:-34lvh; --pr:-4deg; }
.hero__sat--observer{ --k:1.1; --floor:104px; --fit:1; --at:.84; --ar:.5214; --lift:.42; --from-x:34vw; --from-y:38vh; --from-r:9deg; --delay:.3s; --drift:17s; --dy:4px; --dr:1.4deg; --glint-at:4.5s; --glint-every:50s; --px:2vw; --py:9lvh; --pr:3deg; }
.hero__planet.is-risen ~ .hero__sat,body.is-ready .hero.is-still .hero__sat{ opacity:1; translate:none; transform:none; }
/* station-keeping: a few pixels and a degree, slow enough to read as holding still; on
   translate and rotate, so transform is left to the scroll (sat-depth) */
@keyframes sat-drift{ to{ translate:0 var(--dy); rotate:var(--dr); } }
html.lite .hero__craft{ animation:none; }
/* Solar glint: once they have arrived the sun catches the cells, and now and then again.
   The glint layer is rendered with the satellite (the cells' own reflection, bus and arms
   in front of it). A band of mask crosses it while the image inside runs the other way at
   the same pace, so the light travels over the wings and nothing but transforms move. */
.hero__glint{
  display:none; position:absolute; inset:0; opacity:0;
  -webkit-mask:linear-gradient(100deg,transparent 30%,#000 44%,#000 56%,transparent 70%) 0 0 / 100% 100% no-repeat;
          mask:linear-gradient(100deg,transparent 30%,#000 44%,#000 56%,transparent 70%) 0 0 / 100% 100% no-repeat;
}
.hero__glint img{ position:absolute; inset:0; }
:is(.hero__planet.is-risen ~ .hero__sat,body.is-ready .hero.is-still .hero__sat) .hero__glint{ display:block; }
:is(.hero__planet.is-risen ~ .hero__sat,body.is-ready .hero.is-still .hero__sat) :is(.hero__glint,.hero__glint img){
  animation:glint-band var(--glint-every) cubic-bezier(.45,.05,.4,1) var(--glint-at) var(--glint-n,infinite) backwards;
}
:is(.hero__planet.is-risen ~ .hero__sat,body.is-ready .hero.is-still .hero__sat) .hero__glint img{ animation-name:glint-hold; }
/* the glint is a light crossing a wing: pure compositor, no layout, no paint. It runs for
   everyone, and lite — a choice the visitor makes with the switch — is what holds it to one. */
html.lite{ --glint-n:1; }
/* the band's middle runs from just off one wing tip to just off the other */
@keyframes glint-band{
  0%{ transform:translateX(-66%); opacity:0; }
  1.2%,3.6%{ opacity:.95; }
  5%,100%{ transform:translateX(66%); opacity:0; }
}
@keyframes glint-hold{ 0%{ transform:translateX(66%); } 5%,100%{ transform:translateX(-66%); } }
/* behind the planet: the limb cuts across the bottom of the letters */
.hero__word{
  position:absolute; left:var(--gutter); right:var(--gutter); top:var(--word-top); z-index:-2;
  height:var(--word-h);
  margin:0;
  background:linear-gradient(170deg,#f3f1ec 8%,#b6b0a3 62%,#d9d4c9 100%);
  -webkit-mask:url("../images/logo/jared_logo_text.svg") left center / contain no-repeat;
          mask:url("../images/logo/jared_logo_text.svg") left center / contain no-repeat;
}
.hero__jp{ margin-top:18px; font-family:"Noto Sans JP",sans-serif; letter-spacing:.5em; color:var(--dim); }
.hero__foot{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:24px; margin-top:clamp(28px,6vh,64px); }
.hero__lede{ text-shadow:0 1px 14px rgba(0,0,0,.75); max-width:34ch; font-size:clamp(19px,2vw,27px); line-height:1.32; letter-spacing:-.01em; }
.pill{
  display:inline-flex; align-items:center; gap:12px;
  padding:8px 8px 8px 22px;
  border-radius:999px;
  background:var(--ink); color:#0a0a0a;
  font-weight:500; font-size:15px;
  transition:transform .6s var(--spring);
}
.pill i{
  display:grid; place-items:center;
  width:34px; height:34px; border-radius:50%;
  background:rgba(0,0,0,.09);
  font-style:normal;
  transition:transform .6s var(--spring);
}
.pill:hover i{ transform:translateY(2px) scale(1.06); }
.pill:active{ transform:scale(.98); }

/* ---- sections ------------------------------------------------------------ */
section{ padding:clamp(88px,15vh,190px) var(--gutter); }
.who{
  display:grid; grid-template-columns:minmax(0,300px) minmax(0,1fr); gap:clamp(36px,4vw,64px) clamp(48px,8vw,130px); align-items:center;
  padding:clamp(70px,12vh,130px) var(--gutter);
}
.who__id{ display:grid; gap:34px; justify-items:center; }
/* stuck on like the ones on the lid */
.who__pfp{
  position:relative; width:min(100%,250px); aspect-ratio:1; rotate:-4deg;
  transition:rotate .9s var(--spring);
}
.who__pfp:hover{ rotate:0deg; }
.who__pfp > img:first-child{
  display:block; width:100%; height:100%; border-radius:50%; object-fit:cover;
  border:7px solid #f2f0ea; box-shadow:0 14px 34px rgba(0,0,0,.55);
}
.who__frame{ position:absolute; inset:-17%; width:134%; height:134%; max-width:none; pointer-events:none; }
.who__reach{ display:grid; gap:8px; width:100%; margin:0; padding:0; list-style:none; font:400 12px/1.5 "JetBrains Mono",monospace; }
.who__reach li{ display:flex; justify-content:space-between; gap:14px; padding-top:8px; border-top:1px solid var(--faint); }
.who__reach span{ color:var(--dim); }
.who__reach b{ font-weight:400; }
.who__reach a{ text-decoration:underline; text-underline-offset:3px; }
.who__line{ margin-top:14px; font:400 clamp(12px,1vw,14px)/1.5 "JetBrains Mono",monospace; color:var(--champagne); }
.who__body{ margin-top:clamp(20px,3vh,32px); max-width:56ch; color:var(--dim); font-size:clamp(17px,1.4vw,21px); line-height:1.5; }
.who__body p + p{ margin-top:.8em; }
.who__more{ grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,6vw,110px); padding-top:clamp(26px,4vh,40px); border-top:1px solid var(--faint); }
.who__more h3{ margin:0 0 14px; font:400 11px/1.4 "JetBrains Mono",monospace; letter-spacing:.12em; text-transform:uppercase; color:var(--dim); }
.who__facts{ margin:0; padding:0; list-style:none; counter-reset:fact; }
.who__facts li{ counter-increment:fact; display:flex; gap:14px; padding:7px 0; font-size:15px; line-height:1.4; }
.who__facts li::before{ content:counter(fact,decimal-leading-zero); flex:none; padding-top:2px; font:400 11px/1.4 "JetBrains Mono",monospace; color:var(--champagne); }
.who__facts a{ text-decoration:underline; text-underline-offset:3px; }
.spec{ display:grid; grid-template-columns:auto 1fr; gap:6px 28px; margin:0; font:400 13px/1.7 "JetBrains Mono",monospace; }
.spec dt{ color:var(--dim); }
.spec dd{ margin:0; color:var(--ink); }

.telemetry{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); gap:clamp(24px,4vw,72px); align-items:end; padding-block:clamp(56px,10vh,110px); }
.telemetry h2{ font-size:clamp(26px,3vw,44px); }
.fleet__more{ display:inline-block; margin-top:12px; font:400 12px/1.4 "JetBrains Mono",monospace; color:var(--champagne); }
.fleet{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2.4vw,36px); }
.fleet__stat{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.fleet__stat span,.metric > span{ font:400 11px/1.4 "JetBrains Mono",monospace; letter-spacing:.12em; text-transform:uppercase; color:var(--dim); }
.fleet__stat b{ font-size:clamp(24px,2.6vw,38px); line-height:1.05; font-weight:500; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.fleet__stat em,.metric em{ font:400 11px/1.5 "JetBrains Mono",monospace; font-style:normal; color:var(--dim); }

.metrics{ grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:clamp(16px,2.4vw,36px); padding-top:clamp(18px,2.4vh,26px); border-top:1px solid rgba(255,255,255,.09); }
.metric{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.metric b{ font-size:clamp(24px,2.6vw,38px); line-height:1.05; font-weight:500; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.metric b span{ font:inherit; color:inherit; letter-spacing:inherit; }
.metric__sub{ opacity:.75; }
.wx__top{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.wx__trip{ display:grid; justify-items:end; gap:4px; margin:0; text-align:right; }
.meter{ position:relative; height:2px; margin-top:auto; background:rgba(255,255,255,.1); overflow:hidden; }
.meter i{ position:absolute; inset:0; background:var(--champagne); transform:scaleX(0); transform-origin:left; transition:transform 1.1s var(--spring); }
#wxMetric{ --acc-amb:#e5c07b; --acc-cy:#8fb6d8; }
.meter--sky{ height:3px; margin-top:10px; border-radius:2px; overflow:visible; }
.meter--sky u{ position:absolute; top:-2px; left:var(--now,0); width:2px; height:6px; background:var(--ink); }
/* the trip under the weather. Stops come from the gallery, so any kanji can turn
   up: these use the system's mincho, not the subset, and cost no font bytes */
#wxMetric{ --jp-serif:"Yu Mincho","YuMincho","Hiragino Mincho ProN","Noto Serif CJK JP","Noto Serif JP",serif; --vermilion:#d0482f; }
.wx__trip small{ margin-left:2px; font:600 .5em/1 var(--jp-serif); letter-spacing:.04em; color:var(--champagne); }
/* one row beside the stamps, so the card stays level with the fleet next to it */
.wx__road{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; margin-top:14px; }
.wx__road[hidden]{ display:none; }
.wx__road .meter{ flex:0 0 100%; order:1; margin-top:0; }
.wx__season{ display:flex; flex-direction:column; gap:1px; min-width:0; margin:0; }
.wx__season span{ font:600 17px/1.25 var(--jp-serif); letter-spacing:.14em; color:var(--ink); }
.wx__season em{ letter-spacing:.06em; text-transform:uppercase; }
.stamps{ display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
.stamps[hidden]{ display:none; }
.seal{
  display:flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:4px;
  writing-mode:vertical-rl; white-space:nowrap; font:700 11.5px/1.05 var(--jp-serif); color:var(--vermilion);
  box-shadow:inset 0 0 0 1.5px var(--vermilion); rotate:-2.5deg; transition:rotate .4s var(--spring), scale .4s var(--spring);
}
.stamps li:nth-child(even) .seal{ rotate:2deg; }
.stamps li:nth-child(3n) .seal{ rotate:-1deg; }
.seal--long{ font-size:9.5px; letter-spacing:-.04em; }
a.seal:hover{ rotate:0deg; scale:1.08; }
.seal.is-here{ color:#0b0b0c; background:var(--vermilion); }
.seal.is-ahead{ color:var(--dim); box-shadow:inset 0 0 0 1px var(--faint); }

/* black glass on a hairline */
.tray{
  display:block;
  border-radius:24px;
  box-shadow:0 0 0 1px rgba(255,255,255,.1);
}
.glass{
  height:100%;
  border-radius:24px;
  background:linear-gradient(170deg,#0d0d0e 0%,#050505 60%);
}

.inventory__head{ margin-bottom:clamp(36px,6vh,72px); }
.rackview{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:clamp(24px,4vw,72px); align-items:start; }
.rackphoto{ position:sticky; top:96px; margin:0; }
.rackphoto img{ display:block; width:100%; height:auto; border-radius:18px; box-shadow:0 0 0 1px rgba(255,255,255,.1); }
.rackphoto figcaption{ display:flex; justify-content:space-between; margin-top:10px; padding:0 4px; font:400 10px/1.4 "JetBrains Mono",monospace; letter-spacing:.14em; color:var(--dim); }

.unitlist{ margin-top:14px; border-top:1px solid rgba(255,255,255,.08); }
.ru{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  width:100%; min-height:36px; min-width:0;
  padding:0 10px;
  border:0; border-bottom:1px solid rgba(255,255,255,.08);
  background:transparent;
  color:var(--dim);
  font:400 11px/1.2 "JetBrains Mono",monospace;
  text-align:left;
  cursor:pointer;
  transition:background .3s var(--spring), color .3s var(--spring), opacity .3s var(--spring);
}
.ru:hover{ color:var(--ink); }
.ru.is-active{ background:rgba(255,255,255,.09); color:var(--ink); }
.ru.is-dim{ opacity:.25; }
.ru__name{ display:flex; align-items:center; gap:10px; min-width:0; font:500 14px/1.2 "Space Grotesk",sans-serif; color:var(--ink); white-space:nowrap; }
.ru__u{ flex:none; white-space:nowrap; }
/* a light pipe in the front panel: lit through, half lit asleep, dark in reserve. The
   shape carries the state, so it needs no traffic light; red is kept for a real failure */
.ru__led,.rackchip__led{ flex:none; display:inline-block; width:3px; height:13px; border-radius:1.5px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.16); }
.rackchip__led{ height:11px; }
[data-state="on"] > .ru__name .ru__led,[data-state="on"] .rackinfo__badge .ru__led,.rackchip[data-state="on"] .rackchip__led{ background:var(--lamp); box-shadow:0 0 8px var(--lamp-glow); }
[data-state="standby"] > .ru__name .ru__led,[data-state="standby"] .rackinfo__badge .ru__led,.rackchip[data-state="standby"] .rackchip__led{ background:linear-gradient(to top,var(--lamp) 45%,rgba(255,255,255,.1) 45%); box-shadow:none; }
.ru[data-live="down"] .ru__led{ background:#e0524d; box-shadow:none; animation:none !important; }

.racklegend{ display:flex; flex-wrap:wrap; gap:6px; }
.rackchip{ display:inline-flex; align-items:center; gap:8px; padding:7px 12px; border:0; border-radius:999px; background:rgba(255,255,255,.06); color:var(--dim); font:400 11px/1 "JetBrains Mono",monospace; cursor:pointer; transition:color .3s, opacity .3s; }
.rackchip b{ font-weight:400; color:var(--ink); }
.rackchip.is-off{ opacity:.45; }
.rackinfo{ min-height:280px; margin-top:clamp(20px,3vh,30px); }
.rackinfo__head{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; }
.rackinfo__name{ font-size:clamp(26px,2.8vw,40px); line-height:1.04; font-weight:500; letter-spacing:-.02em; }
.rackinfo__badge{ display:inline-flex; align-items:center; gap:8px; font:400 11px/1 "JetBrains Mono",monospace; color:var(--dim); }
.rackinfo__role{ margin-top:12px; color:var(--dim); }
.rackinfo__spec{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:0 22px; margin:20px 0 0; font:400 13px/1.45 "JetBrains Mono",monospace; }
.rackinfo__spec dt,.rackinfo__spec dd{ margin:0; padding:9px 0; border-top:1px solid rgba(255,255,255,.08); }
.rackinfo__spec dt{ color:var(--dim); }
.rackinfo__note{ margin-top:16px; color:var(--dim); font-size:15px; line-height:1.5; }
.rackinfo__more{ display:inline-block; margin-top:14px; font:400 12px/1.4 "JetBrains Mono",monospace; color:var(--champagne); }

.neofetch{ margin-top:clamp(56px,10vh,110px); scroll-margin-top:96px; }
.neobay{ display:grid; grid-template-columns:clamp(140px,13vw,176px) minmax(0,1fr); gap:clamp(20px,3vw,44px); align-items:start; margin-top:22px; }
.neobay > .tray{ position:sticky; top:96px; }
.ntabs__grp{ display:block; margin:22px 0 6px; padding:0 12px; font:400 10px/1.4 "JetBrains Mono",monospace; letter-spacing:.18em; color:var(--dim); white-space:nowrap; }
.ntabs__grp:first-child{ margin-top:6px; }
.ntabs__set{ display:flex; flex-direction:column; gap:1px; }
.ntab{
  width:100%; padding:7px 12px;
  border:0; border-radius:8px;
  background:transparent;
  color:var(--dim);
  font:400 13px/1.3 "JetBrains Mono",monospace;
  text-align:left;
  cursor:pointer;
  transition:background .3s var(--spring), color .3s var(--spring);
}
.ntab:hover{ color:var(--ink); }
.ntab.is-active{ background:rgba(255,255,255,.09); color:var(--ink); }
/* the machines in daily use: brighter, with a mark after the name */
.ntab--main{ background:rgba(255,255,255,.05); color:var(--ink); font-weight:500; }
.ntab--main::after{ content:""; display:inline-block; width:5px; height:5px; margin-left:7px; border-radius:50%; background:var(--champagne); vertical-align:.14em; }
.ntab--main:hover{ background:rgba(255,255,255,.08); }
.ntab--main.is-active{ background:rgba(255,255,255,.14); }

.nterm{ display:none; }
.nterm.is-active{ display:block; }
.nterm__bar{ display:flex; align-items:center; gap:7px; padding:14px 20px; border-bottom:1px solid rgba(255,255,255,.07); font:400 11px/1.3 "JetBrains Mono",monospace; color:var(--dim); }
.nterm__dot{ flex:none; width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.14); }
.nterm__title{ min-width:0; margin-left:8px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nterm__live{ margin-left:auto; flex:none; }
.nterm__live[data-state="on"]{ color:var(--lamp); }
.nterm__live[data-state="warn"]{ color:#e5c07b; }
.nterm__live[data-state="crit"],.nterm__live[data-state="down"]{ color:#e0524d; }
.nterm[data-live-state="on"] .nlive{ border-bottom:1px dotted rgba(236,235,231,.4); }
.nterm__body{
  margin:0; padding:20px 22px 30px;
  font:400 clamp(10px,1vw,13px)/1.3 "Proto Nerd Font Regular",monospace;
  color:#dcdbd6;
  white-space:pre;
  overflow-x:auto;
  scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.2) transparent;
}
.nterm__body .nlogo--kira{ color:#83aed5; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

.lid{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(32px,5vw,90px); align-items:center; }
.interests{ margin:34px 0 0; padding:0; list-style:none; color:var(--dim); }
.interests li{ padding:12px 0; border-top:1px solid rgba(255,255,255,.08); font-size:15px; line-height:1.45; }
.interests b{ display:block; font-weight:500; color:var(--ink); }
.deck{
  position:relative;
  aspect-ratio:273 / 209;
  border-radius:clamp(10px,1.6vw,20px);
  background:
    linear-gradient(to right,transparent calc(25.3% - 1px),rgba(255,255,255,.22) 25.3%,rgba(0,0,0,.1) calc(25.3% + 1px),transparent calc(25.3% + 2px)),
    linear-gradient(to right,transparent calc(74.7% - 1px),rgba(255,255,255,.22) 74.7%,rgba(0,0,0,.1) calc(74.7% + 1px),transparent calc(74.7% + 2px)),
    linear-gradient(to bottom,transparent calc(8.2% - 1px),rgba(0,0,0,.14) 8.2%,rgba(255,255,255,.2) calc(8.2% + 1px),transparent calc(8.2% + 2px)),
    linear-gradient(135deg,#d1ccc0,#b3ad9f 55%,#c8c3b6);
  box-shadow:0 50px 100px -50px rgba(201,195,182,.4), inset 0 1px 1px rgba(255,255,255,.5);
}
.deck::before,.deck::after{
  content:""; position:absolute; bottom:-.9%;
  width:9.7%; height:5.3%;
  border-radius:1px 1px 3px 3px;
  background:
    linear-gradient(to bottom,#f1f0ed,#d2d1ce 22%,#bcbbb8 84%,#83827f) 50% 100% / 94% 80% no-repeat,
    linear-gradient(to bottom,#cdccc9,#adaca9) 50% 0 / 80% 30% no-repeat,
    #050505;
  box-shadow:0 2px 3px rgba(0,0,0,.45);
}
.deck::before{ left:7%; }
.deck::after{ right:6.6%; }
.deck__logo{
  position:absolute; left:50%; top:28.3%;
  width:16.8%; aspect-ratio:964 / 543;
  transform:translate(-50%,-50%);
  background:#141413;
  -webkit-mask:url("jared.svg") center / 100% 100% no-repeat;
          mask:url("jared.svg") center / 100% 100% no-repeat;
}
.deck img{
  position:absolute;
  height:auto;
  transform:translate(-50%,-50%) rotate(var(--r));
  transition:transform .7s var(--spring);
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.28));
}
.deck img:hover{ transform:translate(-50%,-52%) rotate(calc(var(--r) * -1)) scale(1.07); }

/* prints taped to the page: a photo, a strip of tape over one corner, a little tilt.
   The tilt is on the frame, so the paper inside stays square. */
.tape{
  position:relative; margin:0; rotate:var(--tilt,0deg);
  transition:rotate .6s var(--spring), translate .6s var(--spring);
}
.tape img{
  display:block; width:100%; height:auto; aspect-ratio:4 / 5; object-fit:cover;
  border-radius:3px; background:#111;
  box-shadow:0 0 0 1px rgba(255,255,255,.13), 0 26px 46px -26px rgba(0,0,0,.92);
}
.tape::before{
  content:""; position:absolute; z-index:2; top:-9px; left:var(--tape-x,50%);
  width:34%; height:19px; translate:-50% 0; rotate:-3deg;
  background:linear-gradient(180deg,rgba(242,227,191,.34),rgba(242,227,191,.16));
  box-shadow:0 1px 0 rgba(255,255,255,.16) inset, 0 2px 6px rgba(0,0,0,.3);
  backdrop-filter:blur(1px);
}
.tape:hover{ rotate:0deg; translate:0 -6px; }
/* under the interests, as if it were stuck to the sheet of paper */
.tape--lid{ width:min(100%,252px); margin:36px 0 0; --tilt:-1.8deg; --tape-x:26%; }
.tape--lid img{ aspect-ratio:4 / 5; }

/* the four rap prints, taped under the exhibit heading */
.wallart{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(16px,2.4vw,34px);
  margin-top:clamp(36px,6vh,64px);
}
/* pinned by hand, not by a ruler: each print hangs at a slightly different height */
.wallart .tape:nth-child(1){ --tilt:-2.4deg; --tape-x:22%; margin-top:14px; }
.wallart .tape:nth-child(2){ --tilt:1.6deg; --tape-x:74%; margin-top:0; }
.wallart .tape:nth-child(3){ --tilt:-1.2deg; --tape-x:30%; margin-top:20px; }
.wallart .tape:nth-child(4){ --tilt:2.2deg; --tape-x:66%; margin-top:5px; }

.spotify__jp{ margin-top:12px; font-family:"Noto Sans JP",sans-serif; color:var(--dim); letter-spacing:.2em; }
.spotify__deck{ display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); gap:clamp(20px,3vw,48px); margin-top:clamp(36px,6vh,72px); }
.spotify__card{
  position:relative; isolation:isolate; overflow:hidden;
  display:grid; grid-template-columns:minmax(0,42%) minmax(0,1fr); gap:clamp(18px,2vw,28px); align-items:stretch;
  padding:clamp(14px,1.5vw,20px);
  border-radius:24px;
  background:linear-gradient(170deg,#0d0d0e 0%,#050505 60%);
  box-shadow:0 0 0 1px rgba(255,255,255,.1);
  cursor:pointer;
  transition:box-shadow .5s var(--spring);
}
.spotify__card:hover{ box-shadow:0 0 0 1px rgba(255,255,255,.26); }
/* the cover's colour in the card; still images, so only their opacity ever moves */
.spotify__aura{ position:absolute; inset:-30%; z-index:-1; opacity:.2; pointer-events:none; transition:opacity .8s var(--calm); }
.spotify__card.is-live .spotify__aura{ opacity:.34; }
html.lite .spotify__aura{ display:none; }
.spotify__aura img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:blur(56px) saturate(1.25); }
#spotifyAuraNext,#spotifyCoverNext{ opacity:0; }
.spotify__cover{ position:relative; display:block; aspect-ratio:1; align-self:center; border-radius:14px; overflow:hidden; background:#111; box-shadow:0 10px 30px rgba(0,0,0,.4); }
.spotify__cover img{ position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; }
.spotify__meta{ display:flex; flex-direction:column; min-width:0; }
.spotify__label,.spotify__foot,.spotify__timeline{ display:flex; align-items:center; justify-content:space-between; gap:14px; font:400 11px/1.4 "JetBrains Mono",monospace; color:var(--dim); }
.spotify__label-name{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.spotify__counter{ flex:none; font-variant-numeric:tabular-nums; }
.spotify__track{ margin:14px 0 6px; font-size:clamp(24px,2.7vw,40px); line-height:1.04; font-weight:500; letter-spacing:-.02em; overflow-wrap:anywhere; }
.spotify__artist{ color:rgba(236,235,231,.74); font-size:16px; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.spotify__source{ min-height:1.45em; margin-top:6px; font:400 11px/1.45 "JetBrains Mono",monospace; color:var(--dim); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
/* pinned to the bottom, level with the cover's lower edge */
.spotify__timeline{ gap:10px; margin:auto 0 12px; padding-top:14px; }
.spotify__step{ flex:none; width:28px; height:28px; margin:-6px -6px; padding:0; border:0; border-radius:50%; background:none; color:var(--dim); font:400 18px/1 "JetBrains Mono",monospace; cursor:pointer; transition:color .2s,background .2s; }
.spotify__step:hover{ background:rgba(255,255,255,.1); color:var(--ink); }
/* the rotation has no clock to show, a live track has no steps to take */
.spotify__card:not(.is-live) .spotify__time,.spotify__card.is-live .spotify__step{ display:none; }
.spotify__links{ display:inline-flex; gap:16px; }
.peek{ min-width:0; cursor:pointer; }
.peek__head{ display:flex; justify-content:space-between; margin:0 0 10px; font:400 11px/1.4 "JetBrains Mono",monospace; letter-spacing:.1em; color:var(--dim); }
.peek__head b{ font-weight:400; color:var(--ink); }
.peek__albums,.peek__artists{ display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.peek__albums{ grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px 10px; }
.peek__artists{ grid-template-columns:repeat(8,minmax(0,1fr)); }
/* top and bottom edges level with the player beside it */
.spotify__side{ display:grid; grid-template-columns:minmax(0,1fr); gap:22px; align-content:space-between; min-width:0; }
.peek .mface{ width:auto; min-width:0; }
.peek .mface__img{ width:min(100%,62px); height:auto; aspect-ratio:1; }
.peek .mtile__title,.peek .mface__name{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.peek .mtile__year,.peek .mtile__artist,.peek .mface__tag{ display:none; }
/* one row of nine; a longer shelf scrolls instead of growing the page */
.shelves{ --gap:12px; margin-top:clamp(32px,5vh,56px); }
.shelves__tabs{ margin-bottom:14px; font:400 11px/1.4 "JetBrains Mono",monospace; }
.shelves__tabs button span{ margin-left:3px; opacity:.6; }
.shelves__tabs button:disabled{ cursor:default; opacity:.55; }
.shelves__tabs button:disabled:hover{ color:var(--dim); }
.posters{ display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 8 * var(--gap)) / 9); gap:var(--gap); margin:0; padding:4px 0 2px; list-style:none; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.2) transparent; }
.posters[hidden]{ display:none; }
.poster{ min-width:0; scroll-snap-align:start; }
.poster img{ display:block; width:100%; height:auto; aspect-ratio:2 / 3; object-fit:cover; border-radius:10px; background:#111; transition:transform .5s var(--spring); }
.poster:hover img{ transform:translateY(-3px); }
.poster__title{ display:block; margin-top:8px; overflow:hidden; font-size:13px; line-height:1.25; color:var(--dim); text-overflow:ellipsis; white-space:nowrap; transition:color .2s; }
.poster:hover .poster__title{ color:var(--ink); }
.spotify__dots{ display:flex; flex:1; gap:4px; min-width:0; }
.spotify__dots[hidden]{ display:none; }
.spotify__dots > *{ position:relative; flex:1; height:2px; min-width:0; padding:0; border:0; background:rgba(255,255,255,.14); cursor:pointer; }
/* the current segment fills over the track's turn */
.spotify__dots > *::after{ content:""; position:absolute; inset:0; background:var(--ink); transform:scaleX(0); transform-origin:left; }
.spotify__dots > .is-played::after{ transform:none; }
.spotify__dots > .is-active::after{ animation:live-tick var(--spotify-interval,5s) linear forwards; }
.spotify__progress{ position:relative; flex:1; height:2px; background:rgba(255,255,255,.14); }
.spotify__progress[hidden]{ display:none; }
.spotify__progress i{ position:absolute; inset:0; background:var(--ink); transform:scaleX(0); transform-origin:left; }
.spotify__progress.is-run i{ animation:live-tick var(--live-dur,1s) linear var(--live-delay,0s) forwards; }
@keyframes live-tick{ to{ transform:scaleX(1); } }
.spotify__open{ white-space:nowrap; color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.spotify__open[hidden]{ display:none; }
.spotify__pill{ display:inline-flex; align-items:center; gap:8px; text-transform:uppercase; letter-spacing:.06em; }
.spotify__pill i{ width:6px; height:6px; border-radius:50%; background:var(--champagne); }
/* the label says what is on; "live" itself only once, at the pill */
.spotify__card.is-live .spotify__counter{ display:none; }
.spotify.is-live .spotify__pill i,.spotify__card.is-live .spotify__pill i{ width:3px; height:12px; border-radius:1.5px; background:var(--lamp); box-shadow:0 0 8px var(--lamp-glow); }

.manifest{ position:fixed; inset:0; z-index:35; display:grid; place-items:center; padding:clamp(12px,3vw,40px); }
.manifest[hidden]{ display:none; }
.manifest__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.76); }
.manifest__sheet{
  --pad:clamp(18px,2.8vw,38px);
  --safe-top:0px;
  position:relative;
  width:min(1180px,100%); max-height:100%;
  overflow:hidden auto; overscroll-behavior:contain;
  padding:var(--pad);
  border-radius:24px;
  background:linear-gradient(170deg,#0d0d0e 0%,#050505 60%);
  box-shadow:0 0 0 1px rgba(255,255,255,.12);
  scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.2) transparent;
}
/* on the content's right edge, level with the sort control below it */
.manifest__close{ position:absolute; top:calc(var(--pad) + 8px); right:var(--pad); z-index:3; display:grid; place-items:center; width:30px; height:30px; padding:0; border:0; border-radius:50%; background:none; box-shadow:inset 0 0 0 1px var(--faint); color:var(--dim); font-size:12px; cursor:pointer; transition:color .2s,background .2s; }
.manifest__close:hover{ background:var(--ink); color:#000; }
.manifest__head{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:6px 24px; margin:0 0 clamp(22px,3.6vh,34px); padding-right:46px; }
.manifest__head h2{ display:inline; font-size:clamp(30px,3.4vw,46px); }
.manifest__head .spotify__jp{ display:inline; margin:0 0 0 12px; font-size:13px; }
.manifest__counts{ font:400 11px/1.5 "JetBrains Mono",monospace; letter-spacing:.1em; color:var(--dim); }

.manifest__stage{ display:grid; grid-template-columns:minmax(0,320px) minmax(0,1fr); gap:clamp(24px,3.4vw,48px); align-items:start; }
.mstage{ position:sticky; top:0; min-width:0; isolation:isolate; }
/* the cover's own colour behind it; a still image, so it costs one raster per track */
.mstage__glow{ position:absolute; top:-6%; left:-6%; z-index:-1; width:112%; aspect-ratio:1; object-fit:cover; filter:blur(60px) saturate(1.3); opacity:.3; pointer-events:none; }
html.lite .mstage__glow{ display:none; }
.mstage__art{ display:block; width:min(100%,44vh); aspect-ratio:1; border-radius:16px; overflow:hidden; background:#111; box-shadow:0 0 0 1px rgba(255,255,255,.08),0 18px 44px rgba(0,0,0,.45); }
.mstage__art img{ display:block; width:100%; height:100%; object-fit:cover; }
.mstage__label{ display:flex; align-items:center; gap:8px; margin-top:18px; font:400 11px/1.4 "JetBrains Mono",monospace; letter-spacing:.1em; color:var(--dim); }
.mstage__label i{ flex:none; width:6px; height:6px; border-radius:50%; background:var(--champagne); }
.mstage.is-live .mstage__label i{ width:3px; height:12px; border-radius:1.5px; background:var(--lamp); box-shadow:0 0 8px var(--lamp-glow); }
.mstage__title{ margin:8px 0 4px; font-size:clamp(22px,2.4vw,32px); line-height:1.08; font-weight:500; letter-spacing:-.02em; overflow-wrap:anywhere; }
.mstage__artist{ color:var(--dim); font-size:15px; line-height:1.35; }
.mstage__facts{ margin:14px 0 0; font:400 11px/1.45 "JetBrains Mono",monospace; }
.mstage__facts[hidden]{ display:none; }
.mstage__facts div{ display:grid; grid-template-columns:72px minmax(0,1fr); gap:10px; padding:6px 0; border-top:1px solid rgba(255,255,255,.08); }
.mstage__facts dt{ color:var(--dim); }
.mstage__facts dd{ margin:0; overflow-wrap:anywhere; }
.mstage__open{ display:inline-block; margin-top:12px; padding:8px 14px; border-radius:999px; font:400 11px/1.4 "JetBrains Mono",monospace; white-space:nowrap; box-shadow:inset 0 0 0 1px rgba(255,255,255,.16); transition:background .2s,color .2s; }
.mstage__open:hover{ background:var(--ink); color:#000; }
.mstage__open[hidden]{ display:none; }

.mbox{ min-width:0; }
.mbox--shelf{ margin-top:clamp(28px,4.4vh,44px); padding-top:clamp(18px,2.6vh,24px); border-top:1px solid rgba(255,255,255,.08); }
.mbox__head{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:30px; margin:0 0 12px; font:400 11px/1.4 "JetBrains Mono",monospace; letter-spacing:.1em; color:var(--dim); }
.mbox__head h3{ font:inherit; letter-spacing:inherit; }
.mbox__head b{ margin-left:8px; font-weight:400; color:var(--ink); }
.msort{ display:inline-flex; gap:2px; padding:2px; border-radius:999px; box-shadow:inset 0 0 0 1px var(--faint); }
.msort button{ padding:5px 11px; border:0; border-radius:999px; background:none; color:var(--dim); font:inherit; letter-spacing:.04em; cursor:pointer; transition:color .2s,background .2s; }
.msort button:hover{ color:var(--ink); }
.msort button[aria-pressed="true"],.msort button[aria-selected="true"]{ background:var(--ink); color:#000; }

.manifest__list,.mtiles,.mfaces{ margin:0; padding:0; list-style:none; }
.manifest__item{ border-top:1px solid rgba(255,255,255,.06); }
.manifest__item:first-child{ border-top:0; }
.manifest__row{ display:grid; grid-template-columns:22px 42px minmax(0,1.3fr) minmax(0,1fr) 38px 34px; align-items:center; gap:12px; width:100%; padding:6px 8px; border:0; border-radius:10px; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; transition:background .16s; }
.manifest__row:hover{ background:rgba(255,255,255,.05); }
.manifest__row.is-active{ background:rgba(255,255,255,.09); }
.manifest__idx,.manifest__year,.manifest__length{ font:400 11px/1.4 "JetBrains Mono",monospace; color:var(--dim); font-variant-numeric:tabular-nums; }
.manifest__year,.manifest__length{ text-align:right; }
.manifest__row.is-active .manifest__idx{ color:var(--ink); }
.manifest__thumb{ display:block; width:42px; height:42px; border-radius:7px; overflow:hidden; background:#111; }
.manifest__thumb img{ display:block; width:100%; height:100%; object-fit:cover; }
.manifest__txt{ min-width:0; }
.manifest__title,.manifest__artist,.manifest__album{ display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.manifest__title{ font-size:15px; line-height:1.3; }
.manifest__artist{ color:var(--dim); font-size:12.5px; line-height:1.35; }
.manifest__album{ color:var(--dim); font-size:13px; }

.mlink{ display:block; }
.mtiles{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:16px 14px; }
.mtile img{ display:block; width:100%; aspect-ratio:1; object-fit:cover; border-radius:10px; background:#111; transition:transform .5s var(--spring); }
.mlink:hover img{ transform:translateY(-3px); }
.mtile__title{ display:block; margin-top:8px; font-size:13px; line-height:1.25; }
.mtile__artist,.mface__tag{ display:block; margin-top:2px; font:400 10px/1.4 "JetBrains Mono",monospace; color:var(--dim); }
.mfaces{ display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:16px 10px; }
.mface{ min-width:0; text-align:center; }
.mface__img{ display:block; width:min(100%,84px); aspect-ratio:1; margin:0 auto 8px; border-radius:50%; overflow:hidden; background:#111; }
.mface__img img{ display:block; width:100%; height:100%; object-fit:cover; }
.mface__name{ display:block; font-size:13px; line-height:1.25; }

@media (prefers-reduced-motion:no-preference){
  html:not(.lite) .manifest.is-open .manifest__backdrop{ animation:sheet-fade .24s ease; }
  html:not(.lite) .manifest.is-open .manifest__sheet{ animation:sheet-rise .5s var(--spring); }
  html:not(.lite) .manifest.is-open:not(.is-sorted) :is(.mstage,.manifest__item,.mtile,.mface){ animation:sheet-fade .36s var(--calm) var(--d,0s) backwards; }
  html:not(.lite) .manifest.is-closing .manifest__backdrop{ animation:sheet-fade .16s ease reverse forwards; }
  html:not(.lite) .manifest.is-closing .manifest__sheet{ animation:sheet-rise .17s ease reverse forwards; }
}
@media (prefers-reduced-motion:no-preference){
  /* what changes when a track goes live or stops, and a tab's posters coming in one by one */
  html:not(.lite) :is(.spotify__dots,.spotify__progress,.spotify__time,.spotify__step){ animation:sheet-fade .5s var(--calm); }
  html:not(.lite) .poster{ animation:poster-in .55s var(--spring) calc(var(--i,0) * 32ms) backwards; }
}
@media (prefers-reduced-motion:reduce){
  .spotify__dots > .is-active::after{ animation:none; transform:none; }
}
@keyframes poster-in{ from{ opacity:0; transform:translateY(14px); } }
@keyframes sheet-fade{ from{ opacity:0; } }
@keyframes sheet-rise{ from{ opacity:0; transform:translateY(18px) scale(.985); } }

.wall{
  display:grid; grid-template-columns:repeat(auto-fill,88px); justify-content:space-between; gap:12px 10px;
  margin-top:clamp(30px,5vh,56px);
}
.b81{ display:block; width:88px; height:31px; transition:transform .5s var(--spring); }
.b81 img{ display:block; width:88px; height:31px; image-rendering:pixelated; }
.b81:hover{ transform:translateY(-2px) scale(1.08); }

.site__kicker{ font:400 11px/1.4 "JetBrains Mono",monospace; letter-spacing:.06em; color:var(--champagne); }
.house{
  display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:clamp(20px,3.4vw,52px); align-items:center;
  margin-top:clamp(36px,6vh,72px);
}
.house img{ display:block; width:100%; aspect-ratio:40 / 21; object-fit:cover; border-radius:18px; box-shadow:0 0 0 1px rgba(255,255,255,.1); transition:transform 1.1s var(--spring); }
.house:hover img{ transform:scale(1.015); }
.house h3{ margin:10px 0 0; font-size:clamp(32px,4.4vw,64px); line-height:1.04; font-weight:500; letter-spacing:-.02em; overflow-wrap:anywhere; }
.house p{ margin-top:12px; max-width:34ch; color:var(--dim); }
.house em,.realm em{ display:block; margin-top:12px; font:400 12px/1.4 "JetBrains Mono",monospace; color:var(--champagne); }
.house--flip{ grid-template-columns:minmax(0,1fr) minmax(0,1.5fr); margin-top:clamp(56px,10vh,110px); }
.house--flip img{ order:2; }

/* the capital behind the words */
.realm{
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; flex-direction:column; align-items:flex-start;
  min-height:clamp(340px,36vw,500px);
  margin-top:clamp(56px,10vh,110px);
  padding:clamp(24px,3.4vw,52px);
  border-radius:18px;
  background:linear-gradient(170deg,#0d0d0e 0%,#050505 60%);
  box-shadow:0 0 0 1px rgba(255,255,255,.1);
}
.realm::after{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(to right,rgba(5,5,5,.92) 18%,rgba(5,5,5,.5) 54%,transparent 82%); }
.realm__city{ position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:50% 60%; transition:transform 1.1s var(--spring); }
.realm:hover .realm__city{ transform:scale(1.03); }
.realm__emblem{ width:clamp(62px,7vw,96px); margin-top:14px; }
.realm h3{ margin:auto 0 0; padding-top:18px; font-size:clamp(32px,4.4vw,64px); line-height:1.04; font-weight:500; letter-spacing:-.02em; }
.realm p{ margin-top:12px; max-width:40ch; color:var(--dim); }

.album{ margin-top:clamp(36px,6vh,64px); }
.album[hidden]{ display:none; }
.album__head{ display:flex; align-items:baseline; gap:12px; }
.album__head h3{ margin:0; font-size:clamp(22px,2.4vw,32px); font-weight:500; letter-spacing:-.015em; }
.album__head span{ color:var(--dim); font-family:"Noto Sans JP",sans-serif; font-size:14px; }
.album__head a{ margin-left:auto; font:400 12px/1.4 "JetBrains Mono",monospace; color:var(--champagne); }

.strip{
  display:flex; gap:clamp(10px,1.2vw,16px);
  margin:16px calc(var(--gutter) * -1) 0;
  padding:0 var(--gutter) 10px;
  overflow-x:auto;
  scroll-snap-type:x proximity;
  scroll-padding-left:var(--gutter);
  scrollbar-width:none;
}
.strip::-webkit-scrollbar{ display:none; }
.strip > *{ flex:none; display:block; scroll-snap-align:start; }
.strip img{
  display:block;
  height:min(clamp(300px,58vh,640px),95vw);
  aspect-ratio:4 / 5;
  object-fit:cover;
  border-radius:16px;
  background:#111;
  transition:transform .9s var(--spring);
}
.strip a:hover img{ transform:scale(1.02); }

.foot{ padding:clamp(70px,12vh,140px) var(--gutter) 36px; }
.foot__mail{ font-size:clamp(38px,8.6vw,136px); line-height:1; font-weight:500; letter-spacing:-.035em; }
.foot__mail a{ transition:color .5s var(--spring); }
.foot__mail a:hover{ color:var(--champagne); }
.socials{ display:flex; flex-wrap:wrap; gap:8px; margin:34px 0 0; padding:0; list-style:none; }
.socials a{ display:grid; place-items:center; width:46px; height:46px; border-radius:50%; background:rgba(255,255,255,.05); box-shadow:inset 0 0 0 1px var(--faint); transition:background .4s var(--spring), transform .4s var(--spring); }
.socials a:hover{ background:rgba(255,255,255,.14); transform:translateY(-2px); }
.socials img{ display:block; width:20px; height:20px; object-fit:contain; }
.foot__note{ max-width:70ch; margin:34px 0 0; font-size:13px; line-height:1.5; color:var(--dim); }
.foot__legal{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px 24px; margin-top:18px; font-size:13px; color:var(--dim); }
.foot__legal a{ text-decoration:underline; text-underline-offset:3px; }

/* entries: heavy and slow, resolved by an observer, never a scroll listener */
.rise{ opacity:0; transform:translateY(22px); transition:opacity .8s ease, transform .9s var(--calm); }
.rise:not(.is-in){ will-change:opacity,transform; }   /* its layer is ready before it moves */
.rise.is-in{ opacity:1; transform:none; }

@media (min-width:901px){
  /* words on the left, what they are about on the right, friends among the rest */
  .walls{ display:grid; grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr); grid-template-rows:auto 1fr; gap:0 clamp(32px,5vw,90px); }
  .walls__set{ grid-column:2; grid-row:1 / 3; }
  .walls__set > .wall{ margin-top:0; }
  /* the heading at full size, then two cards the same as the media one */
  .telemetry{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:stretch; gap:clamp(36px,6vh,72px) clamp(20px,3vw,48px); }
  .telemetry h2{ font-size:clamp(34px,5.4vw,84px); }
  .fleet__lead{ grid-column:1 / -1; }
  .fleet,.metrics{
    grid-column:auto; align-items:start; gap:clamp(16px,2vw,28px);
    padding:clamp(20px,2vw,28px); border:0; border-radius:24px;
    background:linear-gradient(170deg,#0d0d0e 0%,#050505 60%);
    box-shadow:0 0 0 1px rgba(255,255,255,.1);
  }
  /* three rows, label against value: the same height as the card beside it, with nothing to pad */
  .fleet{ grid-template-columns:minmax(0,1fr); align-content:space-between; }
  .fleet__stat{ display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:baseline; gap:6px 16px; }
  .metrics{ grid-template-columns:minmax(0,1fr); align-content:center; }
  .fleet__stat .meter,.fleet__stat em{ grid-column:1 / -1; margin-top:0; }
}
@media (max-width:1100px){
  .manifest__row{ grid-template-columns:22px 42px minmax(0,1fr) 38px 34px; }
  .manifest__album{ display:none; }
}
@media (max-width:900px){
  .realm::after{ background:linear-gradient(to top,rgba(5,5,5,.94) 40%,rgba(5,5,5,.4)); }
  .spotify__deck{ grid-template-columns:minmax(0,1fr); }
  .spotify__side{ display:none; }
  .posters{ grid-auto-columns:112px; margin-inline:calc(var(--gutter) * -1); padding-inline:var(--gutter); scroll-padding-inline:var(--gutter); scrollbar-width:none; }
  .posters::-webkit-scrollbar{ display:none; }
  /* no backdrop to speak of on a small screen, so it stays reachable while the sheet scrolls */
  .manifest__close{ position:sticky; top:calc(var(--safe-top) + 12px - var(--pad)); right:auto; display:grid; margin:0 0 -30px auto; background:#1c1c1c; box-shadow:none; color:var(--ink); }
  /* the stage folds into a strip that stays above the list while it scrolls */
  .manifest__stage{ grid-template-columns:minmax(0,1fr); gap:14px; }
  /* a sticky offset counts from inside the sheet's padding, so -pad is the sheet's very top */
  .mstage{ top:calc(var(--pad) * -1); z-index:2; display:grid; grid-template-columns:92px minmax(0,1fr); gap:14px; align-items:center; margin:0 calc(var(--pad) * -1); padding:calc(var(--safe-top) + 12px) var(--pad) 12px; background:#080808; box-shadow:0 1px 0 rgba(255,255,255,.08); }
  .mstage__glow{ display:none; }
  .mstage__art{ width:100%; border-radius:10px; box-shadow:0 0 0 1px rgba(255,255,255,.08); }
  .mstage__txt{ min-width:0; padding-right:36px; }
  .mstage__label{ margin-top:0; }
  .mstage__title{ margin:4px 0 2px; font-size:19px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; overflow-wrap:normal; }
  .mstage__artist{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
  .mstage__facts{ margin-top:4px; }
  .mstage__facts dt,.mstage__facts div:not(:first-child){ display:none; }
  .mstage__facts div{ display:block; padding:0; border:0; }
  .mstage__facts dd{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--dim); }
  .mstage__open{ margin-top:6px; padding:0; box-shadow:none; text-decoration:underline; text-underline-offset:3px; }
  .mstage__open:hover{ background:none; color:var(--ink); }
  .mtiles{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .mfaces{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .telemetry{ grid-template-columns:minmax(0,1fr); }
  .metrics{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .fleet{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .fleet__stat:last-child{ grid-column:1 / -1; }
    #wxMetric{ grid-column:1 / -1; }
  .neobay,.rackview{ grid-template-columns:minmax(0,1fr); }
  .rackphoto{ position:static; }
  .ntabs__grp{ margin-top:13px; padding:0; }
  .ntabs__set{ flex-direction:row; flex-wrap:wrap; gap:4px; }
  .ntab{ width:auto; padding:9px 13px; border-radius:999px; background:rgba(255,255,255,.04); font-size:12px; }
  .ntab--main{ background:rgba(255,255,255,.09); box-shadow:inset 0 0 0 1px rgba(255,255,255,.16); }
  .ntab--main.is-active{ background:rgba(255,255,255,.18); box-shadow:inset 0 0 0 1px rgba(255,255,255,.32); }
  .lid{ grid-template-columns:minmax(0,1fr); }
  .who{ grid-template-columns:minmax(0,1fr); }
  .who__id{ grid-template-columns:130px minmax(0,1fr); align-items:center; gap:22px; }
  .who__pfp{ width:84%; }
  .who__more{ grid-template-columns:minmax(0,1fr); gap:30px; }
  /* on a phone the person comes before the machines */
  main{ display:flex; flex-direction:column; }
  main > *{ min-width:0; }
  .hero{ order:-2; }
  .house,.house--flip{ grid-template-columns:minmax(0,1fr); }
  .house--flip img{ order:0; }
  .wallart{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 18px; }
  .tape--lid{ width:min(100%,300px); margin-inline:auto; }
}
@media (max-width:560px){
  .manifest{ padding:0; }
  .manifest__sheet{ --safe-top:env(safe-area-inset-top,0px); width:100%; height:100%; border-radius:0; padding-bottom:max(var(--pad),env(safe-area-inset-bottom)); }
  .manifest__row{ grid-template-columns:20px 42px minmax(0,1fr) 36px; gap:10px; padding-inline:4px; }
  .manifest__length{ display:none; }
  /* the cover keeps the title company; everything that needs the width gets all of it */
  .spotify__card{
    grid-template-columns:104px minmax(0,1fr); grid-template-rows:auto auto auto 1fr auto auto;
    gap:0 14px; padding:14px;
  }
  .spotify__meta{ display:contents; }
  .spotify__cover{ grid-row:1 / 5; align-self:start; }
  .spotify__label,.spotify__track,.spotify__artist,.spotify__source{ grid-column:2; }
  /* two lines held open, so a long title doesn't move the page on every turn */
  .spotify__track{ min-height:2.08em; margin:8px 0 4px; font-size:21px; }
  .spotify__artist{ font-size:14px; }
  .spotify__source{ margin-top:2px; }
  .spotify__timeline,.spotify__foot{ grid-column:1 / -1; }
  .spotify__timeline{ margin:14px 0 12px; padding-top:0; }
  .spotify__dots{ gap:5px; }
  .wall{ justify-content:center; gap:10px 8px; }
  /* two panels with nothing left over: the machines, then the rest, each row even */
  .telemetry{ gap:18px; }
  .fleet,.metrics{
    grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px 12px;
    padding:16px; border:0; border-radius:18px;
    background:rgba(255,255,255,.035); box-shadow:inset 0 0 0 1px var(--faint);
  }
  .fleet__stat:last-child{ grid-column:auto; }
  .metrics > *{ grid-column:1 / -1; }
  .fleet__stat span,.metric > span{ font-size:10px; letter-spacing:.06em; }
  .fleet__stat b,.metric b{ font-size:21px; }
  #wxMetric b{ font-size:32px; }
  .metric,.fleet__stat{ justify-content:flex-start; }
  /* a 2px line in an 18px target */
  .spotify__dots > *{ height:18px; margin-block:-8px; background:linear-gradient(rgba(255,255,255,.14),rgba(255,255,255,.14)) center / 100% 2px no-repeat; }
  .spotify__dots > *::after{ inset:8px 0; }
}
/* the numbers come in one after another, not as a block */
.fleet > *,.metrics > *{ opacity:0; translate:0 16px; transition:opacity .7s ease var(--stagger,0s), translate .8s var(--calm) var(--stagger,0s); }
.fleet.is-in > *,.metrics.is-in > *{ opacity:1; translate:none; }
:is(.fleet,.metrics) > :nth-child(2){ --stagger:.09s; }
:is(.fleet,.metrics) > :nth-child(3){ --stagger:.18s; }
:is(.fleet,.metrics) > :nth-child(4){ --stagger:.27s; }

/* Words only rise. Things arrive the way they do in life: the rack powers up from the
   top, the terminal prints, stickers land, seals are pressed on, prints develop. Keyed
   to .is-here, which waits for the thing itself, so nothing here runs on a scroll. */
@media (prefers-reduced-motion:no-preference){
  html:not(.lite) .unitlist.is-here .ru{ animation:ru-wake .7s linear calc(var(--i,0) * 80ms + .35s) backwards; }
  html:not(.lite) .rackphoto.is-here img{ animation:room-lights 1.6s ease-out .1s backwards; }
  html:not(.lite) :is(.ru[data-state="standby"],.rackinfo[data-state="standby"]) .ru__led{ animation:sleep-light 5.4s ease-in-out calc(var(--i,0) * -1.3s) infinite; }
  html:not(.lite) .neobay.is-here .nterm.is-active .nterm__body{ animation:print .8s steps(26) backwards; }
  html:not(.lite) .who__pfp.is-here{ animation:press-on .9s var(--spring) .2s backwards; }
  html:not(.lite) .deck.is-here img{ animation:stick .55s var(--spring) calc(var(--i,0) * 65ms + .25s) backwards; }
  html:not(.lite) .deck img:nth-of-type(even){ --tip:-9deg; }
  html:not(.lite) .stamps:not(.is-here) .seal{ opacity:0; }   /* they arrive with the data, a frame before the observer sees them */
  html:not(.lite) .stamps.is-here .seal{ animation:stamp .4s ease-in calc(var(--i,0) * 90ms + .5s) backwards; }
  html:not(.lite) .walls__set.is-here .b81{ animation:b81-on .36s steps(3) calc(var(--i,0) * 22ms + .15s) backwards; }
  html:not(.lite) .strip img:not(.is-dev),html:not(.lite) .strip:not(.is-here) img{ filter:sepia(.4) contrast(.6) brightness(1.4); }
  html:not(.lite) .strip img{ transition:transform .9s var(--spring), filter 2.4s var(--calm) calc(min(var(--i,0),5) * 140ms); }
  @keyframes ru-wake{ 0%{ opacity:0; } 18%{ opacity:.8; } 30%{ opacity:.12; } 46%{ opacity:.9; } 58%{ opacity:.35; } }
  @keyframes room-lights{ 0%{ filter:brightness(.22) saturate(.5); } 12%{ filter:brightness(.85) saturate(.8); } 20%{ filter:brightness(.34) saturate(.6); } }
  @keyframes sleep-light{ 0%,100%{ opacity:.14; } 50%{ opacity:1; } }
  @keyframes print{ from{ clip-path:inset(0 0 100% 0); } to{ clip-path:inset(0); } }
  @keyframes press-on{ from{ opacity:0; rotate:-17deg; scale:1.14; } }
  @keyframes stick{ from{ opacity:0; transform:translate(-50%,-62%) rotate(calc(var(--r) + var(--tip,9deg))) scale(1.28); filter:drop-shadow(0 14px 12px rgba(0,0,0,.3)); } }
  @keyframes stamp{ from{ opacity:0; scale:1.7; } 70%{ opacity:1; scale:.92; } }
  @keyframes b81-on{ from{ opacity:0; filter:contrast(2.2) brightness(1.6); } }
}

/* Tied to the scroll itself, so the page moves with the hand instead of playing back
   at it. Compositor only; a browser without these timelines simply goes without.

   These used to sit behind @media (prefers-reduced-motion:no-preference), which meant a
   machine that asks for less motion got a hero where nothing moved at all — the planet
   static and both satellites parked. Reduced motion is respected where it protects
   reading (the boot sequence, the rise-ins, the marquee), but the hero is the page's
   opening move and it stays. Lite, the visitor's own switch, is what trims it. */
@supports (animation-timeline:view()){
  .hero__planet{ animation:hero-sink linear both; animation-timeline:scroll(root); animation-range:0 100lvh; }
  /* Depth by speed: the planet lags the page (.84), the observer, farther out, a little
     less (.91), the name moves with it, the relay, nearest, runs ahead (1.34). Each also
     slips a little sideways and turns, as things in orbit do. */
  .hero__craft{
    animation:sat-drift var(--drift) ease-in-out 4s infinite alternate both, sat-depth linear both;
    animation-timeline:auto, scroll(root); animation-range:normal, 0 100lvh;
  }
  html.lite .hero__craft{ animation:sat-depth linear both; animation-timeline:scroll(root); animation-range:0 100lvh; }
  @keyframes sat-depth{ to{ transform:translate(var(--px), var(--py)) rotate(var(--pr)); } }
  /* the whole heading block moves as one: a lone h2 slides over the words around it */
  :is(.fleet__lead,.inventory__head,.lid__text,.walls__say,.who__text,.spotify > .rise:first-child,.work > .rise:first-child,.photos > .rise:first-child){ animation:drift-up linear both; animation-timeline:view(); animation-range:entry 0% cover 40%; }
  .photos{ overflow-x:clip; }
  .strip{ animation:slide-in linear both; animation-timeline:view(); animation-range:entry 0% cover 45%; }
  :is(.house,.realm,.deck,.neofetch,.rackphoto,.who__id){ animation:settle linear both; animation-timeline:view(); animation-range:entry 0% cover 38%; }
  @keyframes hero-sink{ to{ transform:translateY(16%) scale(1.05); } }
  @keyframes drift-up{ from{ translate:0 30px; } }
  @keyframes slide-in{ from{ transform:translateX(110px); } }
  @keyframes settle{ from{ scale:.93; } }
}
@media (prefers-reduced-motion:reduce){
  .fleet > *,.metrics > *{ opacity:1; translate:none; transition:none; }
  html{ scroll-behavior:auto; }
  .rise{ opacity:1; transform:none; transition:none; }
  .nowpill__text b,.nowpill__text span{ text-overflow:ellipsis; }
  .nowpill__text i{ display:inline; animation:none !important; }
  .boot,.boot *{ transition:none !important; }
  body.is-ready :is(.hero__word,.hero__jp,.hero__foot,.island,.nowpill){ animation:none; }
}

/* ---- lite toggle -----------------------------------------------------------
   The laptop intro is the first thing lite mode turns off, and the gate decides
   that before this file is even parsed. So the switch to bring it back has to be
   reachable on the page itself, not just in a URL parameter. Fixed bottom-left,
   out of the way of the island and the now-playing pill. */
.lite-toggle{
  position:fixed; left:18px; bottom:18px; z-index:400;
  display:inline-flex; align-items:center; gap:6px;
  padding:9px 15px;
  font:700 10px/1 "JetBrains Mono",monospace;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--champagne);
  background:rgba(8,8,9,.82);
  border:1px solid rgba(236,235,231,.16);
  border-radius:999px;
  cursor:pointer; user-select:none;
  backdrop-filter:blur(8px);
  transition:color .4s var(--calm), border-color .4s var(--calm), background .4s var(--calm);
}
.lite-toggle b{ color:var(--lamp); font-weight:700; }
.lite-toggle:hover{ color:var(--ink); border-color:rgba(236,235,231,.4); }
.lite-toggle[aria-pressed="false"] b{ color:var(--dim); }
@media (max-width:560px){
  .lite-toggle{ left:12px; bottom:12px; padding:8px 12px; font-size:9px; }
}
