/* Layout: Darren's desktop. A one-sentence hero whose app names take turns lighting up and play their trailers on hover, a taskbar as nav;
   each app gets a band lit in its own brand colour, its launch video running in a window.
   Each app also has its own page (/nexus/, /culprit/, /onair/): the same band as a header, then features, screens, stack and how it's built. */
:root {
  --bg: #0a0a0e;
  --raise: #15151c;
  --line: #25252f;
  --fg: #ecebf3;
  --soft: #c4c3d1;
  --muted: #8a899a;
  --dim: #5f5e6e;
  --nexus: #7a12e0;
  --nexus-ink: #c9a4ff;
  --culprit: #6aa8ff;
  --culprit-ink: #9cc4ff;
  --onair: #ff3b30;
  --onair-ink: #ff7a70;
  --display: "Geist", "Segoe UI Variable Display", system-ui, sans-serif;
  --body: "Geist", "Segoe UI Variable Text", system-ui, sans-serif;
  --mono: "Geist Mono", "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
}

.eyebrow {
  font: 500 12px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- App icons (desktop, taskbar, headers) ---------- */
.icon { position: relative; flex: none; width: 48px; height: 48px; }
.icon img { width: 100%; height: 100%; }
.icon.nexus {
  border-radius: 24%;
  background: linear-gradient(160deg, #8f2cf0, #6400c4);
  box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset;
}
.icon.nexus img { width: 64%; height: 64%; margin: 18%; }

/* ---------- Hero ---------- */
/* the glow takes the colour of whichever app name is lit */
@property --glow { syntax: "<color>"; inherits: true; initial-value: #7a12e0; }
.desk {
  position: relative;
  border-bottom: 1px solid var(--line);
  transition: --glow 1.4s;
  background:
    radial-gradient(900px 520px at 88% -12%, color-mix(in oklab, var(--glow) 24%, transparent), transparent 62%),
    radial-gradient(720px 420px at 6% 110%, color-mix(in oklab, var(--glow) 9%, transparent), transparent 60%),
    radial-gradient(circle at 1px 1px, rgb(255 255 255 / .07) 1px, transparent 1.5px) 0 0 / 24px 24px,
    var(--bg);
}
.desk[data-on="culprit"] { --glow: var(--culprit); }
.desk[data-on="onair"] { --glow: var(--onair); }
.desk-inner { display: grid; gap: 48px; padding-block: clamp(72px, 9vw, 120px) 56px; }

.statement {
  max-width: 22ch;
  font: 600 clamp(36px, 5.4vw, 76px)/1.06 var(--display);
  letter-spacing: -.045em;
  color: var(--dim);
  text-wrap: balance;
}
.statement .hi { color: var(--fg); }
.statement a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .16em;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.statement a:hover, .statement a:focus-visible, .statement a.on { color: var(--c); }
.statement .icon { width: .78em; height: .78em; border-radius: .18em; translate: 0 .03em; }
.statement a.on .icon { animation: pop .55s cubic-bezier(.3, 1.6, .5, 1); }
/* the bar under the lit name fills for as long as it stays lit */
.statement a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.02em;
  height: .05em;
  border-radius: 1em;
  background: var(--c);
  scale: 0 1;
  transform-origin: left;
}
.statement a.on::after { animation: fill var(--reel) linear forwards; }
.statement a.held::after { animation: none; scale: 1 1; }
@keyframes pop { 40% { scale: 1.24; rotate: -8deg; } }
@keyframes fill { to { scale: 1 1; } }
.nw { white-space: nowrap; }

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hint { font: 400 12.5px/1.4 var(--mono); color: var(--muted); }
@media (hover: none) { .hint { display: none; } }

/* the trailer that follows the cursor over an app name */
.peek {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  width: 340px;
  max-width: 70vw;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: 12px;
  background: #000;
  box-shadow: 0 30px 80px -20px #000;
  pointer-events: none;
  opacity: 0;
  scale: .9;
  transition: opacity .18s, scale .18s;
}
.peek.on { opacity: 1; scale: 1; }
.peek video { width: 100%; height: 100%; object-fit: cover; }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
  font: 400 12px/1.2 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.stats b {
  display: block;
  margin-bottom: 8px;
  font: 600 34px/1 var(--display);
  letter-spacing: -.04em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- App bands ---------- */
.app {
  --gx: 74%;
  position: relative;
  overflow: clip;
  padding-block: clamp(80px, 11vw, 150px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(52% 62% at var(--gx) 52%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 72%);
}
.app.flip { --gx: 26%; }
#nexus, [data-app="nexus"] { --accent: var(--nexus); --ink: var(--nexus-ink); --on-accent: #fff; }
#culprit, [data-app="culprit"] { --accent: var(--culprit); --ink: var(--culprit-ink); --on-accent: #08111f; }
#onair, [data-app="onair"] { --accent: var(--onair); --ink: var(--onair-ink); --on-accent: #fff; }

.app-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.app.flip .app-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.app.flip .app-copy { order: 2; }

.app-head { display: flex; align-items: center; gap: 16px; }
.app-head .icon { width: 56px; height: 56px; }
.app-head .eyebrow { color: var(--ink); margin-bottom: 8px; }
.app-head h2, .app-head h1 { font: 700 40px/.95 var(--display); letter-spacing: -.045em; }

.pitch {
  margin-block: 32px 16px;
  font: 600 clamp(30px, 3.4vw, 46px)/1.05 var(--display);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.desc { max-width: 52ch; color: var(--soft); text-wrap: pretty; }
.desc code, .feats code { font: 500 .9em var(--mono); color: var(--fg); }

.feats { display: grid; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; font-size: 15px; color: var(--soft); }
.feats li { position: relative; padding-left: 24px; }
.feats li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 6px;
  height: 6px;
  margin-top: .66em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / .03);
  font-size: 13px;
  color: var(--soft);
}
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }

.keys { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.keys span:last-child { margin-left: 6px; }
kbd {
  padding: 7px 9px 6px;
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  border-radius: 6px;
  background: var(--raise);
  font: 600 13px/1 var(--mono);
  color: var(--fg);
}

.feats kbd { padding: 2px 6px 1px; border-bottom-width: 2px; font-size: 12px; }

.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 600 15px/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease-out, background-color .15s, filter .15s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -10px var(--accent); }
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost { background: rgb(255 255 255 / .04); border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { background: rgb(255 255 255 / .09); }
.note { margin-top: 16px; font: 400 12.5px/1.6 var(--mono); color: var(--muted); }
/* a third action, under the two buttons so they never wrap */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: none;
  font: 600 15px/1.3 var(--body);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.more-link svg { flex: none; width: 16px; height: 16px; transition: translate .15s ease-out; }
.more-link:hover svg { translate: 3px 0; }

/* the window the launch video plays in */
.app-media { display: grid; margin: 0; min-width: 0; }
.window {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 12px;
  background: var(--raise);
  box-shadow:
    0 1px 0 rgb(255 255 255 / .06) inset,
    0 50px 120px -40px color-mix(in oklab, var(--accent) 60%, transparent),
    0 30px 60px -30px #000;
}
.titlebar { display: flex; align-items: center; gap: 10px; height: 36px; padding-left: 12px; font-size: 12px; color: var(--soft); }
.titlebar .icon { width: 16px; height: 16px; }
.ctrls { display: flex; margin-left: auto; height: 100%; }
.ctrls i { position: relative; width: 46px; height: 100%; }
.ctrls i::before { content: ""; position: absolute; inset: 0; margin: auto; border-color: var(--muted); }
.ctrls i:nth-child(1)::before { width: 10px; height: 0; border-top: 1px solid; }
.ctrls i:nth-child(2)::before { width: 9px; height: 9px; border: 1px solid; border-radius: 2px; }
.ctrls i:nth-child(3)::before { width: 12px; height: 12px; background: linear-gradient(45deg, transparent 47%, var(--muted) 47% 53%, transparent 53%), linear-gradient(-45deg, transparent 47%, var(--muted) 47% 53%, transparent 53%); }

.screen {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.screen video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.screen:hover video { transform: scale(1.025); }
.watch {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgb(255 255 255 / .16);
  border-radius: 999px;
  background: rgb(10 10 14 / .7);
  backdrop-filter: blur(10px);
  font: 600 13px/1 var(--body);
  color: #fff;
  transition: background-color .15s;
}
.watch b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.watch b svg { width: 10px; height: 10px; margin-left: 2px; }
.watch small { font: 400 12px var(--mono); color: var(--soft); }
.screen:hover .watch, .screen:focus-visible .watch { background: rgb(10 10 14 / .9); }

/* Culprit: the wall of process names Task Manager shows you */
.procs {
  position: absolute;
  inset: 28px 0 auto;
  overflow: hidden;
  white-space: nowrap;
  font: 400 13px/1 var(--mono);
  color: rgb(255 255 255 / .14);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.procs span { display: inline-block; padding-right: 3ch; animation: crawl 80s linear infinite; }
@keyframes crawl { to { transform: translateX(-100%); } }

/* On Air: the studio sign over the screen */
.media-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: rgb(255 255 255 / .03); }
.seg button {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--muted);
  font: 600 13px/1 var(--body);
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.seg button:hover { color: var(--fg); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.sign {
  padding: 9px 18px 7px;
  border-radius: 10px;
  background: linear-gradient(#ff5a4e, #e3261b);
  box-shadow: 0 0 0 1px rgb(255 140 130 / .55) inset, 0 0 26px rgb(255 59 48 / .6), 0 0 90px rgb(255 59 48 / .35);
  font: 700 26px/1 var(--display);
  letter-spacing: .06em;
  color: #fff;
  text-shadow: 0 0 12px rgb(255 255 255 / .55);
}
.lit .sign { animation: flicker 1.2s both; }
@keyframes flicker {
  0%, 9%, 15%, 27% { opacity: .18; box-shadow: none; text-shadow: none; }
  6%, 12%, 21%, 40%, 100% { opacity: 1; }
}

/* ---------- Video player ---------- */
.player {
  width: min(1120px, 100vw - 32px, (100dvh - 100px) * 16 / 9);
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 14px;
  background: #000;
  color: var(--fg);
  box-shadow: 0 40px 120px -20px #000;
}
.player[open] { animation: rise .28s cubic-bezier(.2, .8, .2, 1); }
.player::backdrop { background: rgb(5 5 8 / .82); backdrop-filter: blur(6px); }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.player-bar { display: flex; align-items: center; height: 44px; padding-left: 16px; background: var(--raise); font: 600 14px/1 var(--body); }
.player-bar form { margin-left: auto; }
.player-bar button {
  width: 48px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--soft);
  font-size: 18px;
  cursor: pointer;
}
.player-bar button:hover { background: #c42b1c; color: #fff; }
.player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* ---------- Taskbar ---------- */
.taskbar {
  position: fixed;
  inset: auto 0 0;
  z-index: 20;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(16px, env(safe-area-inset-left, 0px));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-top: 1px solid rgb(255 255 255 / .08);
  background: rgb(22 22 29 / .8);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
}
.tb {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color .15s;
}
.tb:hover, .tb[aria-current="true"] { background: rgb(255 255 255 / .07); }
.tb .icon { width: 26px; height: 26px; transition: transform .15s; }
.tb:active .icon { transform: scale(.88); }
.monogram {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--fg);
  color: var(--bg);
  font: 800 11px/1 var(--display);
  letter-spacing: -.02em;
}
/* running-app dot, stretched into the app's colour while you're in its section */
.tb[data-c]::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 6px;
  height: 3px;
  border-radius: 2px;
  background: var(--muted);
  translate: -50% 0;
  transition: width .25s cubic-bezier(.2, .8, .2, 1), background-color .25s;
}
.tb[aria-current="true"]::after { width: 18px; background: var(--c); }
.tb:hover::before {
  content: attr(aria-label);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--raise);
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.2;
  pointer-events: none;
}
.clock {
  position: absolute;
  top: 0;
  right: max(16px, env(safe-area-inset-right, 0px));
  height: 56px;
  display: grid;
  align-content: center;
  justify-items: end;
  font-size: 12px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  color: var(--soft);
}

/* ---------- Footer ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 40px;
  font: 400 13px/1.5 var(--mono);
  color: var(--muted);
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; white-space: nowrap; color: var(--soft); }
.foot a:hover { color: var(--fg); }

.foot-mail { color: var(--fg); }

/* ---------- App pages ---------- */
.app.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px); }
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(32px, 5vw, 56px);
  font: 500 12px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.crumb:hover { color: var(--fg); }
.crumb svg { width: 14px; height: 14px; }
.app-head h1 { font-size: clamp(40px, 5vw, 56px); }

/* the jump bar: sits on the header's bottom edge, then floats at the top while you scroll */
html:has(.jump) { scroll-padding-top: 80px; }
.jump { position: sticky; top: 36px; z-index: 15; height: 0; }
.jump-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  width: max-content;
  max-width: calc(100% - 32px);
  height: 52px;
  margin-inline: auto;
  padding: 0 6px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 999px;
  background: rgb(22 22 29 / .8);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 16px 40px -16px #000;
  translate: 0 -50%;
}
.jump-bar::-webkit-scrollbar { display: none; }
.jump-app, .jump-link { flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; white-space: nowrap; text-decoration: none; }
.jump-app { gap: 9px; margin-right: 4px; padding-left: 8px; font: 600 14px/1 var(--display); }
.jump-app .icon { width: 24px; height: 24px; }
.jump-link { font-size: 14px; color: var(--muted); transition: color .15s, background-color .15s; }
.jump-link:hover { color: var(--fg); background: rgb(255 255 255 / .06); }
.jump-link[aria-current="true"] { color: var(--fg); background: color-mix(in oklab, var(--accent) 26%, transparent); }

.facts { padding-block: 36px; border-bottom: 1px solid var(--line); }
.facts .stats { justify-content: space-between; }
.jump + main .facts { padding-top: 60px; }

.sec { padding-block: clamp(72px, 9vw, 128px); border-bottom: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; max-width: 64ch; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head .eyebrow { color: var(--ink); }
.sec-head h2 { font: 600 clamp(30px, 3.6vw, 46px)/1.05 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.sec-head p { color: var(--soft); text-wrap: pretty; }
.sec-head a { color: var(--fg); }
.sub { margin: clamp(48px, 6vw, 72px) 0 20px; font: 600 20px/1.2 var(--display); letter-spacing: -.02em; }

/* why it exists, beside who made it and when */
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.story .sec-head { margin-bottom: 24px; }
.story-copy { display: grid; gap: 16px; max-width: 62ch; font-size: 17px; color: var(--soft); text-wrap: pretty; }
.meta { margin: 0; border-top: 1px solid var(--line); }
.meta div { padding-block: 16px; border-bottom: 1px solid var(--line); }
.meta dt { margin-bottom: 4px; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 0; }

/* features and highlights */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.card { padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: rgb(255 255 255 / .025); }
.card::before { content: ""; display: block; width: 18px; height: 3px; margin-bottom: 18px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.card h3 { margin-bottom: 8px; font: 600 17px/1.3 var(--display); letter-spacing: -.015em; }
.card p { font-size: 15px; color: var(--soft); text-wrap: pretty; }
.card code, .story-copy code, .sec-head code { font: 500 .9em var(--mono); color: var(--fg); }
.card kbd { padding: 2px 6px 1px; border-bottom-width: 2px; font-size: 12px; }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.shot { margin: 0; min-width: 0; }
.shot.wide { grid-column: 1 / -1; }
.shot > button, .shot > .frame {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 12px;
  background: var(--raise);
  box-shadow: 0 30px 60px -30px #000;
  transition: border-color .15s;
}
.shot > button { cursor: zoom-in; }
.shot > button:hover { border-color: rgb(255 255 255 / .24); }
.shot img { width: 100%; height: auto; }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-wrap: pretty; }
.shot figcaption b { font-weight: 600; color: var(--fg); }
/* overlay UI (On Air's bar, Culprit's widget) shown on a desktop of its own */
.on-desk {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  height: 100%;
  padding: clamp(16px, 2.5vw, 28px);
  background: radial-gradient(120% 90% at 15% 0%, color-mix(in oklab, var(--accent) 20%, #16161d), #0b0b10 72%);
}
.on-desk img { max-width: 100%; height: auto; }

/* stack */
.stack { display: grid; margin: 0; border-top: 1px solid var(--line); }
.stack > div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 10px 32px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.stack dt { padding-top: 6px; font: 500 12px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.stack dd { margin: 0; }
.stack .chips { margin: 0 0 12px; }
.stack .chips li { --dot: var(--accent); }
.stack p { max-width: 72ch; font-size: 15px; color: var(--soft); text-wrap: pretty; }

/* the pipeline, left to right */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 36px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.flow li { position: relative; padding: 20px; border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line)); border-radius: 14px; background: color-mix(in oklab, var(--accent) 7%, transparent); }
.flow li::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 14px; font: 500 12px/1 var(--mono); color: var(--ink); }
.flow li + li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -24px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--muted);
  border-right: 2px solid var(--muted);
  rotate: 45deg;
  translate: 0 -50%;
}
.flow b { display: block; margin-bottom: 6px; font: 600 17px/1.3 var(--display); letter-spacing: -.015em; }
.flow span { display: block; font-size: 14px; color: var(--soft); text-wrap: pretty; }

/* release history */
.timeline { display: grid; list-style: none; padding: 0; margin: 0 0 0 5px; border-left: 1px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 24px; padding: 0 0 28px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 11px; height: 11px; border: 2px solid var(--accent); border-radius: 50%; background: var(--bg); }
.timeline li.major::before { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.timeline b { display: block; font: 600 15px/1.4 var(--mono); }
.timeline time { font: 400 12px/1.4 var(--mono); color: var(--muted); }
.timeline p { max-width: 64ch; font-size: 15px; color: var(--soft); text-wrap: pretty; }

/* the other apps */
.others { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.other {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: radial-gradient(80% 140% at 100% 50%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 70%);
  text-decoration: none;
  transition: border-color .15s, transform .15s ease-out;
}
.other:hover { border-color: color-mix(in oklab, var(--accent) 55%, var(--line)); }
.other:active { transform: scale(.99); }
.other b { display: block; font: 600 20px/1.2 var(--display); letter-spacing: -.02em; }
.other small { font-size: 14px; color: var(--soft); }
.other > svg { flex: none; width: 18px; height: 18px; margin-left: auto; color: var(--muted); }

/* a screenshot, full size */
.player.zoom { width: min(1440px, 100vw - 32px); }
.zoom img { width: 100%; height: auto; max-height: calc(100dvh - 120px); object-fit: contain; background: #0b0b10; }

/* ---------- Narrow screens ---------- */
@media (max-width: 880px) {
  .app-inner, .app.flip .app-inner { grid-template-columns: minmax(0, 1fr); }
  .app.flip .app-copy { order: 0; }
  .app, .app.flip { --gx: 50%; }
  .shots, .story { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-auto-flow: row; grid-auto-rows: auto; gap: 30px; }
  .flow li + li::after { top: -21px; left: 50%; rotate: 135deg; translate: -50% 0; }
}
@media (max-width: 640px) {
  .clock { display: none; }
  .watch small { display: none; }
  .stack > div, .timeline li { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
