/* WINK / site v2 — dark editorial page around a live jelly mascot. */
/* fonts are served from this site: no requests to third parties */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-latin.woff2) format("woff2-variations"), url(fonts/bricolage-latin.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-latin-ext.woff2) format("woff2-variations"), url(fonts/bricolage-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format("woff2-variations"), url(fonts/jetbrains-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext.woff2) format("woff2-variations"), url(fonts/jetbrains-mono-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root {
  --ink: #0b0b08;
  --paper: #f8f7f0;
  --lime: #d7ff3f;
  --muted: #a2a29a;
  --soft: #c9c8bf;
  --rule: #33342c;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: max(20px, 4vw);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mono { font-family: var(--mono); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* header */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: max(14px, env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 14px max(var(--gutter), env(safe-area-inset-left));
  background: linear-gradient(var(--ink), rgba(11, 11, 8, 0));
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.mark { font-weight: 800; font-size: 24px; letter-spacing: -0.04em; text-decoration: none; }
.px { display: inline-block; width: .19em; height: .19em; margin-left: .04em; background: var(--lime); vertical-align: baseline; transform-origin: 50% 50%; }
.mark .px { animation: wink 7s infinite 3s; }
@keyframes wink { 0%, 93%, 100% { transform: scaleY(1); } 95%, 97% { transform: scaleY(.14); } }
@media (prefers-reduced-motion: reduce) { .mark .px { animation: none; } }
.mark small { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.18em; color: var(--muted); margin-left: 10px; text-transform: uppercase; }
.bar nav { display: flex; gap: 22px; font-family: var(--mono); font-size: 13px; }
.bar nav a { text-decoration: none; color: var(--soft); }
.bar nav a:hover { color: var(--lime); }
.soon { color: var(--muted); }
.soon em { font-style: normal; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--rule); border-radius: 999px; padding: 2px 6px; margin-left: 6px; }

/* hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 88px var(--gutter) 40px;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.hero-top { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero-stage { position: relative; align-self: end; }
.wordmark {
  margin: 0;
  font-size: clamp(110px, 28vw, 480px);
  line-height: 0.8;
  font-weight: 800;
  letter-spacing: -0.06em;
  white-space: nowrap;
  user-select: none;
}
.wordmark .px { margin-left: .035em; }
.intro .wordmark .px { opacity: 0; }
.hop { position: absolute; left: 0; top: 0; background: var(--lime); transform-origin: 50% 100%; pointer-events: none; z-index: 3; will-change: transform; }
.hero-mascot { position: absolute; left: 0; top: 0; width: 300px; height: 300px; z-index: 2; }
.intro .hero-mascot { visibility: hidden; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.tagline { margin: 0; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; max-width: 30ch; }
.tagline span { display: block; color: var(--muted); font-size: 0.7em; margin-top: 6px; }
.hint { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.hero-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 3; }
.replay { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--paper); font-size: 12px; letter-spacing: 0.04em; cursor: pointer; transition: border-color .2s, color .2s, opacity .2s; }
.replay:hover:not(:disabled) { border-color: var(--lime); color: var(--lime); }
.replay:disabled { opacity: .5; cursor: default; }

/* time machine: a sideways track; the page itself always scrolls normally */
.tm {
  position: relative; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 18px;
  padding: 76px 0 32px;
}
.tm-head, .tm-foot { padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
.tm-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.eyebrow { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.tm-ctrl { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.tm-count { margin-right: 10px; font-variant-numeric: tabular-nums; }
.tm-count b { color: var(--paper); font-weight: 600; }
.tm-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--rule);
  background: transparent; color: var(--paper); font: inherit; font-size: 18px; cursor: pointer;
  transition: border-color .2s, color .2s, opacity .2s;
}
.tm-btn:hover:not(:disabled) { border-color: var(--lime); color: var(--lime); }
.tm-btn:disabled { opacity: .3; cursor: default; }

.tm-view { position: relative; }
.tm-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; cursor: grab;
}
.tm-track::-webkit-scrollbar { display: none; }
.tm-track.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.tm-track:focus-visible { outline-offset: -3px; }
.tm-slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 4vw;
  height: clamp(420px, calc(100svh - 270px), 760px);
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}
.tm-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tm-year { font-size: clamp(88px, 13vw, 220px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.85; font-variant-numeric: tabular-nums; }
.tm-name { font-size: clamp(24px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.tm-line { margin: 0; font-size: 18px; line-height: 1.5; color: var(--soft); max-width: 34ch; }
.tm-art { position: relative; height: 100%; border-radius: 6px; overflow: hidden; }
.tm-art span {
  position: absolute; right: 4%; bottom: -0.12em; font-size: clamp(80px, 12vw, 200px); font-weight: 800;
  letter-spacing: -0.06em; line-height: 1; color: rgba(248, 247, 240, 0.04);
}
/* one backdrop per era; they slide past behind the mascot, which stays put */
.art-0 { background-color: #10100d; background-image: linear-gradient(90deg, transparent calc(100% - 1px), rgba(192,192,192,.18) 0), linear-gradient(transparent calc(100% - 1px), rgba(192,192,192,.18) 0); background-size: 25% 20%; }
.art-2 { background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px), radial-gradient(80% 60% at 50% 45%, #2b2b2b, #111 70%); }
.art-2 .fl-load { position: absolute; left: 50%; top: 11%; width: 38%; height: 6px; transform: translateX(-50%); border: 1px solid rgba(248,247,240,.35); padding: 1px; }
.art-2 .fl-load b { display: block; height: 100%; width: 99%; background: linear-gradient(90deg, #f57a00, #ffb000); animation: flload 4s steps(24) infinite; }
@keyframes flload { 0% { width: 4%; } 85%, 100% { width: 99%; } }
.art-2 .fl-skip { position: absolute; right: 6%; bottom: 7%; font: 400 11px/1 Verdana, Tahoma, sans-serif; color: rgba(248,247,240,.55); font-style: normal; text-decoration: underline; }
.art-6 { background: radial-gradient(40% 45% at 28% 30%, rgba(155,120,255,.55), transparent 70%), radial-gradient(45% 50% at 75% 35%, rgba(70,230,240,.35), transparent 70%), radial-gradient(50% 45% at 55% 85%, rgba(215,255,63,.28), transparent 70%), #0d0c14; }
.art-6::after { content: ""; position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.art-6 .ai-pill { position: absolute; left: 50%; top: 9%; transform: translateX(-50%); font: 500 12px/1 var(--display); font-style: normal; padding: 9px 14px; border-radius: 999px; color: var(--paper); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(155,120,255,.25); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .art-2 .fl-load b { animation: none; } }
.art-1 { background-color: #0d0d10; background-image: linear-gradient(90deg, rgba(0,0,0,.6) 2px, transparent 0), linear-gradient(rgba(0,0,0,.6) 2px, transparent 0), linear-gradient(135deg, #003366 0, #006699 50%, #009933 100%); background-size: 24px 24px, 24px 24px, 100% 100%; opacity: .32; }
.art-3 { background: radial-gradient(120% 70% at 50% 0, rgba(255,255,255,.22), transparent 55%), repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px), linear-gradient(#2a6fd6, #0b2a66); opacity: .42; }
.art-4 { background-color: #12130f; background-image: linear-gradient(30deg, transparent 49.4%, rgba(248,247,240,.09) 49.5% 50.5%, transparent 50.6%), linear-gradient(150deg, transparent 49.4%, rgba(248,247,240,.09) 49.5% 50.5%, transparent 50.6%); background-size: 56px 32px; }
.art-5 { background-color: #0e0e0b; background-image: radial-gradient(circle at 50% 55%, transparent 0 22%, rgba(215,255,63,.16) 22.2% 22.5%, transparent 22.7% 36%, rgba(248,247,240,.08) 36.2% 36.4%, transparent 36.6%), linear-gradient(90deg, transparent 49.9%, rgba(248,247,240,.07) 50% 50.2%, transparent 50.3%), linear-gradient(transparent 54.9%, rgba(248,247,240,.07) 55% 55.2%, transparent 55.3%); }
.art-7 { background: radial-gradient(60% 55% at 50% 62%, rgba(215,255,63,.13), transparent 70%), #0b0b08; }
.tm-mascot { position: absolute; left: 0; top: 0; width: 300px; height: 300px; z-index: 2; }

.tm-foot { display: flex; flex-direction: column; gap: 14px; }
.tm-progress { height: 2px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.tm-progress i { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0.1667); }
.tm-rail { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.tm-rail button {
  min-height: 40px; padding: 0 13px; border: 1px solid var(--rule); border-radius: 999px;
  background: transparent; color: var(--muted); font: inherit; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.tm-rail button:hover { border-color: var(--lime); color: var(--paper); }
.tm-rail button.past { color: var(--soft); border-color: #55574b; }
.tm-rail button.on { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 600; }
.tm-hint { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* outro */
.outro {
  min-height: 90svh; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: 80px var(--gutter);
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  border-top: 1px solid var(--rule);
}
.outro h2 { margin: 0; font-size: clamp(72px, 14vw, 240px); line-height: 0.85; letter-spacing: -0.06em; font-weight: 800; }

.outro-copy { margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.35; max-width: 32ch; color: var(--soft); }
.outro-next { margin: 12px 0 0; font-size: 13px; color: var(--muted); max-width: 60ch; line-height: 1.6; }
.back { align-self: flex-start; margin-top: 8px; font-size: 13px; text-decoration: none; border: 1px solid var(--rule); border-radius: 999px; padding: 10px 16px; }
.back:hover { border-color: var(--lime); color: var(--lime); }
.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px var(--gutter) max(24px, env(safe-area-inset-bottom));
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  font-size: 12px; color: var(--muted); border-top: 1px solid var(--rule);
}

.no-gl .hero-mascot, .no-gl .tm-mascot { display: none; }

@media (max-width: 760px) {
  .bar nav { gap: 14px; font-size: 12px; }
  .soon { display: none; }
  .hero-top span:last-child { display: none; }
  .wordmark { font-size: 36vw; }
  .tm-slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; gap: 16px; height: auto; min-height: 0; }
  .tm-art { order: -1; height: min(52svh, 92vw); }
  .tm-year { font-size: clamp(64px, 20vw, 120px); }
  .tm-line { font-size: 16px; min-height: 4.5em; }
  .tm-hint { display: none; }
  .tm-rail { gap: 4px; font-size: 12px; }
  .tm-rail button { padding: 0 9px; }
}

/* ---- links from the time machine into the work */
.tm-note { margin: 4px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); letter-spacing: 0.03em; max-width: 44ch; }
.tm-works { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.tm-thumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.tm-thumb {
  display: flex; flex-direction: column; gap: 6px; width: 140px; text-decoration: none; color: var(--soft);
  font-size: 13px; line-height: 1.2;
}
.tm-thumb img { display: block; width: 140px; height: 60px; object-fit: cover; border: 1px solid var(--rule); border-radius: 4px; transition: border-color .2s, transform .2s; }
.tm-thumb b { color: var(--muted); font-weight: 400; font-family: var(--mono); font-size: 11px; margin-left: 4px; }
.tm-thumb:hover img, .tm-thumb:focus-visible img { border-color: var(--lime); transform: translateY(-2px); }
.tm-thumb:hover { color: var(--paper); }
.tm-more { align-self: center; font-size: 12px; color: var(--lime); text-decoration: none; padding: 8px 4px; }
.tm-more:hover { text-decoration: underline; }
.tm-art .peek { position: absolute; left: 6%; bottom: -6%; width: 46%; transform: rotate(-5deg); opacity: .5; box-shadow: 0 30px 60px rgba(0,0,0,.6); pointer-events: none; }
.tm-art .peek .b-view { height: auto; aspect-ratio: 4 / 3; }

/* ---- period browser windows */
.browser { width: 100%; max-width: 520px; border-radius: 7px 7px 3px 3px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.08); }
.b-bar { display: flex; align-items: center; gap: 10px; height: 26px; padding: 0 8px; font: 11px/1 Tahoma, Verdana, sans-serif; }
.b-dots { width: 42px; height: 10px; flex: none; }
.b-tab { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.b-tools { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 8px; font: 11px/1 Tahoma, Verdana, sans-serif; }
.b-nav { width: 34px; height: 14px; flex: none; }
.b-url { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; height: 18px; line-height: 18px; padding: 0 6px; }
.b-view { position: relative; height: clamp(240px, calc(100svh - 420px), 470px); overflow: hidden; background: #fff; }
.b-view img { display: block; width: 100%; height: auto; will-change: transform; }
/* 2008: XP and IE7 */
.b-2008 .b-bar { background: linear-gradient(#3d95ff, #0a5bd8 55%, #0b4fc0); color: #fff; font-weight: bold; }
.b-2008 .b-dots { background: radial-gradient(circle at 36px 5px, #e9603e 4px, transparent 4.5px), radial-gradient(circle at 22px 5px, #4f8fe8 4px, transparent 4.5px), radial-gradient(circle at 8px 5px, #4f8fe8 4px, transparent 4.5px); order: 2; margin-left: auto; }
.b-2008 .b-tools { background: linear-gradient(#f4f2ea, #dcd8cb); border-bottom: 1px solid #a9a597; color: #222; }
.b-2008 .b-nav { background: radial-gradient(circle at 7px 7px, #3fae2a 6px, transparent 6.5px), radial-gradient(circle at 25px 7px, #9bc98f 6px, transparent 6.5px); }
.b-2008 .b-url { background: #fff; border: 1px solid #7f9db9; }
/* 2010–2012: early Chrome */
.b-2010 .b-bar { background: linear-gradient(#c7d6ec, #aec2e0); color: #222; align-items: flex-end; padding-bottom: 0; }
.b-2010 .b-tab { background: linear-gradient(#fff, #f1f4f8); border-radius: 6px 6px 0 0; padding: 6px 14px; max-width: 180px; }
.b-2010 .b-dots { display: none; }
.b-2010 .b-tools { background: #f1f4f8; border-bottom: 1px solid #b9c4d4; color: #222; height: 30px; }
.b-2010 .b-nav { background: radial-gradient(circle at 7px 7px, #8f9aa8 5px, transparent 5.5px), radial-gradient(circle at 25px 7px, #c4cbd5 5px, transparent 5.5px); }
.b-2010 .b-url { background: #fff; border: 1px solid #a4b2c5; border-radius: 3px; }
/* 2013: flat */
.b-2013 .b-bar { background: #e4e4e4; color: #333; }
.b-2013 .b-dots { background: radial-gradient(circle at 5px 5px, #ff5f57 4px, transparent 4.5px), radial-gradient(circle at 19px 5px, #febc2e 4px, transparent 4.5px), radial-gradient(circle at 33px 5px, #28c840 4px, transparent 4.5px); }
.b-2013 .b-tools { background: #f6f6f6; border-bottom: 1px solid #dadada; color: #444; }
.b-2013 .b-nav { background: linear-gradient(90deg, #bbb 0 10px, transparent 10px 20px, #ddd 20px 30px, transparent 30px); height: 2px; }
.b-2013 .b-url { background: #fff; border: 1px solid #ddd; border-radius: 2px; }

/* ---- selected work */
.work-head { display: flex; flex-direction: column; gap: 8px; }
.work-intro { margin: 0; font-size: 16px; line-height: 1.5; color: var(--soft); max-width: 52ch; }
.work-slide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); height: auto; min-height: 0; padding-top: 8px; padding-bottom: 8px; }
.work-shot { display: flex; justify-content: center; min-width: 0; }
.work-copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; max-width: 46ch; }
.work-year { font-size: clamp(64px, 8vw, 132px); font-weight: 800; letter-spacing: -0.06em; line-height: .85; font-variant-numeric: tabular-nums; }
.work-title { margin: 0; font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.work-client { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.work-text { margin: 0; font-size: 17px; line-height: 1.55; color: var(--soft); }
.work-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; }
.work-tags li { border: 1px solid var(--rule); border-radius: 999px; padding: 5px 9px; color: var(--muted); }
.work-link { align-self: flex-start; font-size: 12px; color: var(--lime); text-decoration: none; padding: 8px 0; }
.work-link:hover { text-decoration: underline; }
.work-rail { gap: 4px; }
.work-rail button { font-size: 11px; padding: 0 10px; min-height: 34px; }
.work-rail button b { font-weight: 600; margin-right: 4px; }
.work-rail button.on b { color: var(--ink); }
.work-rail button:not(.on) b { color: var(--paper); }
.b-view.pan img { animation: pan var(--pan-t, 12s) ease-in-out 1.2s infinite alternate; }
.b-view:hover img { animation-play-state: paused; }
@keyframes pan { from { transform: translateY(0); } to { transform: translateY(var(--pan-y, 0px)); } }
@media (prefers-reduced-motion: reduce) { .b-view.pan img { animation: none; } }

@media (max-width: 760px) {
  .work-slide { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .work .tm-head { flex-wrap: wrap; align-items: flex-end; }
  .work-head { flex: 1 1 100%; }
  .work-intro { font-size: 15px; }
  .work .tm-ctrl { margin-left: auto; }
  .b-view { height: min(52svh, 420px); }
  .work-year { font-size: 64px; }
  .work-text { font-size: 16px; }
  .work-rail button { padding: 0 8px; }
  .tm-thumb { width: 120px; }
  .tm-thumb img { width: 120px; height: 52px; }
}

/* 1999: Netscape 4 on Windows 98 */
.b-1999 { border-radius: 0; border: 2px outset #dfdfdf; }
.b-1999 .b-bar { background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font-weight: bold; }
.b-1999 .b-dots { order: 2; margin-left: auto; width: 46px; height: 14px; background: linear-gradient(90deg, #c0c0c0 0 14px, transparent 14px 16px, #c0c0c0 16px 30px, transparent 30px 32px, #c0c0c0 32px); }
.b-1999 .b-tools { background: #c0c0c0; border-bottom: 2px groove #fff; color: #000; }
.b-1999 .b-nav { background: linear-gradient(90deg, #808080 0 14px, transparent 14px 20px, #808080 20px); height: 12px; }
.b-1999 .b-url { background: #fff; border: 2px inset #dfdfdf; font-family: "Courier New", monospace; }
.b-view.clip { background: #fff; color: #000; overflow: auto; }
.clip-page { padding: 22px 26px; font-family: "Times New Roman", Times, serif; font-size: 16px; line-height: 1.35; }
.clip-kicker { margin: 0 0 6px; font: bold 12px Verdana, Arial, sans-serif; color: #990000; text-transform: uppercase; }
.clip-page h4 { margin: 0 0 14px; font: bold 26px "Times New Roman", serif; color: #000080; }
.clip-page dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0 0 18px; font-family: Verdana, Arial, sans-serif; font-size: 13px; }
.clip-page dt { font-weight: bold; }
.clip-page dd { margin: 0; }
.clip-page u { color: #0000ee; }
.clip-page mark { background: #d7ff3f; padding: 0 3px; }
.clip-note { margin: 0; font: italic 13px Georgia, serif; color: #555; }
.work-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.b-1999 { max-width: 564px; }
.b-1999-view { background: #000; }
.b-1999-view img { width: 560px; max-width: 100%; image-rendering: pixelated; }
.work-shot { position: relative; }
.clip-card {
  position: absolute; right: max(-2%, -24px); bottom: -18px; width: 250px; padding: 14px 16px 12px;
  background: #f3efe2; color: #111; transform: rotate(2.5deg); box-shadow: 0 18px 40px rgba(0,0,0,.55);
  font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.35;
}
.clip-card .clip-kicker { margin: 0 0 4px; font: bold 10px Verdana, Arial, sans-serif; color: #990000; letter-spacing: .02em; text-transform: uppercase; }
.clip-card .clip-title { margin: 0 0 8px; font: bold 18px "Times New Roman", serif; color: #000080; }
.clip-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 8px; margin: 0; }
.clip-card dt { font-weight: bold; }
.clip-card dd { margin: 0; }
.clip-card mark { background: #d7ff3f; padding: 0 3px; }
.tm-art .peek.b-1999 .b-view { aspect-ratio: 280 / 259; }
.tm-art .peek img { image-rendering: pixelated; }
@media (max-width: 760px) {
  .clip-card { position: relative; right: auto; bottom: auto; margin: -24px 0 0 auto; width: 220px; }
  .work-shot { flex-direction: column; }
}
.tm-thumb img[src*="net-security"] { image-rendering: pixelated; object-position: 50% 0; }
#w-massimo .b-view, .tm-art .peek .b-view:has(img[src*="massimo"]) { background: #000; }

/* ---- the index: every website as a pixel */
.pix {
  border-top: 1px solid var(--rule); padding: 80px max(var(--gutter), env(safe-area-inset-right)) 64px max(var(--gutter), env(safe-area-inset-left));
  display: flex; flex-direction: column; gap: 32px;
}
.pix-head { display: flex; flex-direction: column; gap: 14px; }
.pix h2 { margin: 0; font-size: clamp(56px, 9vw, 150px); line-height: .88; letter-spacing: -0.055em; font-weight: 800; }
.pix h2 span { display: block; color: var(--muted); font-size: .42em; letter-spacing: -0.03em; margin-top: .25em; }
.pix-intro { margin: 0; max-width: 60ch; font-size: 18px; line-height: 1.5; color: var(--soft); }
.pix-stats { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; color: var(--muted); }
.pix-stats b { color: var(--paper); font-weight: 600; margin-right: 6px; }
.pix-body { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 40px; align-items: start; }
.pix-info { display: flex; flex-direction: column; gap: 8px; min-height: 200px; position: sticky; top: 90px; }
.pi-year { font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.pi-dom { font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; overflow-wrap: anywhere; }
.pi-client { font-size: 12px; color: var(--soft); }
.pi-type { font-size: 15px; line-height: 1.5; color: var(--soft); }
.pi-more { font-size: 12px; color: var(--lime); }
.pix-chart { --s: clamp(12px, 1.25vw, 18px); display: flex; flex-wrap: wrap; align-content: flex-end; gap: 10px 14px; }
.pg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pg-label { font-size: 11px; color: var(--muted); margin-right: 2px; min-width: 22px; }
.pxl {
  width: var(--s); height: var(--s); padding: 0; border: 0; border-radius: 1px; cursor: pointer; background: var(--paper);
  transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1) var(--d, 0ms), opacity .25s;
}
.pix-chart.in .pxl { transform: scale(1); }
.pxl.cc { background: var(--lime); }
.pxl.side { background: transparent; box-shadow: inset 0 0 0 2px var(--lime); }
.pxl.work { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--paper); }
.pxl.cc.work { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--lime); }
.pix-chart.in .pxl:hover, .pix-chart.in .pxl:focus-visible, .pix-chart.in .pxl.pin { transform: scale(1.6); z-index: 1; position: relative; outline: none; }
.pix-chart[data-f="cc"] .pxl:not(.cc),
.pix-chart[data-f="other"] .pxl:not(.other),
.pix-chart[data-f="side"] .pxl:not(.side),
.pix-chart[data-f="work"] .pxl:not(.work) { opacity: .12; }
.pix-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; font-size: 12px; }
.pix-legend button, .pix-legend span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: var(--soft); font: inherit; }
.pix-legend button { cursor: pointer; }
.pix-legend button:hover { border-color: var(--lime); }
.pix-legend button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.lg { width: 10px; height: 10px; display: inline-block; background: var(--paper); }
.lg-cc { background: var(--lime); }
.lg-side { background: transparent; box-shadow: inset 0 0 0 2px var(--lime); }
.lg-work { box-shadow: 0 0 0 1px var(--ink), 0 0 0 2px var(--paper); }
@media (prefers-reduced-motion: reduce) { .pxl { transition: none; } }
@media (max-width: 760px) {
  .pix-body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pix-info { min-height: 150px; padding-bottom: 0; position: sticky; top: 56px; background: var(--ink); z-index: 2; padding-top: 8px; }
  .pix-chart { --s: 14px; gap: 8px 12px; }
  .mark small { display: none; }
  .bar nav { gap: 12px; }
}
.pi-img { display: block; width: 100%; max-width: 300px; aspect-ratio: 280 / 130; object-fit: cover; object-position: 50% 0; border: 1px solid var(--rule); border-radius: 4px; margin-bottom: 6px; background: #1a1a16; }

/* sound switch */
.snd { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 4px 0; color: var(--soft); font: inherit; font-size: 13px; cursor: pointer; }
.snd:hover { color: var(--lime); }
.snd i { width: 14px; height: 10px; display: inline-flex; align-items: flex-end; gap: 2px; background:
  linear-gradient(currentColor, currentColor) 0 100% / 2px 40% no-repeat,
  linear-gradient(currentColor, currentColor) 4px 100% / 2px 100% no-repeat,
  linear-gradient(currentColor, currentColor) 8px 100% / 2px 65% no-repeat,
  linear-gradient(currentColor, currentColor) 12px 100% / 2px 30% no-repeat; }
.snd[aria-pressed="true"] i { color: var(--lime); animation: eq 1s steps(3) infinite; }
.snd[aria-pressed="false"] i { opacity: .45; background-size: 2px 20%, 2px 20%, 2px 20%, 2px 20%; }
@keyframes eq { 50% { background-size: 2px 90%, 2px 35%, 2px 100%, 2px 60%; } }
@media (prefers-reduced-motion: reduce) { .snd i { animation: none !important; } }
@media (max-width: 760px) { .snd span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---- hero backdrop: faint graph paper, so the big empty space reads as a lab bench */
.hero { isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(215, 255, 63, .22) 1px, transparent 1.5px),
    linear-gradient(rgba(248, 247, 240, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 247, 240, .055) 1px, transparent 1px),
    linear-gradient(rgba(248, 247, 240, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 247, 240, .025) 1px, transparent 1px);
  background-size: 192px 192px, 192px 192px, 192px 192px, 48px 48px, 48px 48px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%);
          mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%);
}

/* ---- the lab */
.lab { position: absolute; top: 132px; right: max(var(--gutter), env(safe-area-inset-right)); width: min(600px, 48vw); z-index: 4; display: flex; flex-direction: column; gap: 10px; }
.lab-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lab-head .lab-title { margin: 0; font-size: 12px; font-weight: 600; color: var(--lime); letter-spacing: .2em; }
.lab-hint { margin: 0; font-size: 12px; color: var(--muted); }
.lab-shelf { list-style: none; margin: 6px 0 0; padding: 0 6px 6px; display: flex; gap: 6px; justify-content: space-between; border-bottom: 3px solid rgba(248,247,240,.16); box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 14px 22px -14px rgba(215,255,63,.18); position: relative; }
.lab-shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 6px; background: linear-gradient(rgba(0,0,0,.5), transparent); }
.vial {
  display: flex; flex-direction: column; align-items: center; gap: 8px; width: 68px; padding: 0; border: 0; background: none; cursor: grab;
  color: var(--soft); touch-action: none; -webkit-user-select: none; user-select: none;
}
.vial span { font-size: 10.5px; white-space: nowrap; transition: color .2s; }
.vial:hover span, .vial:focus-visible span { color: var(--paper); }
.vial:focus-visible { outline: none; }
.vial:focus-visible .v-glass { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 4px; }
.v-glass { position: relative; display: block; width: 30px; height: 60px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 50% 90%; }
.v-svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 5px rgba(0,0,0,.55)); }
.v-svg .lq-a { stop-color: color-mix(in srgb, var(--c) 70%, #fff); }
.v-svg .lq-b { stop-color: color-mix(in srgb, var(--c) 85%, #000); }
.v-svg .lq-top { fill: color-mix(in srgb, var(--c) 55%, #fff); opacity: .9; }
.v-svg .v-glow { fill: var(--c); opacity: .28; filter: blur(3px); }
.v-svg .liq { transition: transform .35s ease; }
.vial:hover .v-glass { transform: translateY(-6px) rotate(-7deg); }
.vial.empty .liq { transform: translateY(60px); }
.vial { gap: 6px; }
.vial.empty { opacity: .6; }
.lab-book { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; min-height: 26px; }
.lab-book li { border: 1px dashed #4a4b41; border-radius: 999px; padding: 4px 9px; color: #8d8e83; }
.lab-book li.found { border: 1px solid var(--lime); color: var(--paper); background: rgba(215, 255, 63, .07); }
.lab-book li.new { animation: found 1.2s ease; }
@keyframes found { 0% { transform: scale(.6); background: var(--lime); color: var(--ink); } 40% { transform: scale(1.15); } 100% { transform: none; } }

/* the vial in your hand, and what he swallowed */
.v-fly { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; will-change: transform; }
.v-fly .v-glass { transform: rotate(-14deg); }
.gulp { position: absolute; left: 0; top: 0; z-index: 3; width: 14px; height: 14px; border-radius: 3px; pointer-events: none; background: var(--c); box-shadow: 0 0 18px var(--c); mix-blend-mode: screen; }

/* speech bubble */
.bubble {
  position: absolute; left: 0; top: 0; z-index: 5; max-width: 260px; padding: 10px 14px; border-radius: 14px; background: var(--paper); color: var(--ink);
  font-size: 13px; line-height: 1.35; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 14px)) scale(.8); transform-origin: 50% 100%;
  transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); white-space: normal;
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: var(--paper); }
.bubble.on { opacity: 1; transform: translate(-50%, calc(-100% - 14px)) scale(1); }
.bubble.recipe { background: var(--lime); }
.bubble.recipe::after { border-top-color: var(--lime); }
.bubble.comic { font-family: "Comic Sans MS", "Comic Neue", cursive; }

@media (max-width: 1100px) { .lab { width: min(520px, 56vw); } .vial { width: 58px; } }
@media (max-width: 760px) {
  .hero { grid-template-rows: auto auto 1fr auto; grid-template-columns: minmax(0, 1fr); }
  .lab { min-width: 0; }
  .lab { position: relative; top: auto; right: auto; width: auto; margin-top: 18px; }
  .lab-shelf { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; padding-top: 8px; }
  .lab-shelf::-webkit-scrollbar { display: none; }
  .vial { width: 62px; flex: none; touch-action: pan-x; }
}
@media (prefers-reduced-motion: reduce) { .vial:hover .v-glass { transform: none; } }

/* 2019–2024: modern Chrome */
.b-2020 { border-radius: 10px 10px 6px 6px; }
.b-2020 .b-bar { background: #dee1e6; color: #202124; align-items: flex-end; height: 32px; padding: 0 10px; }
.b-2020 .b-dots { width: 46px; height: 12px; align-self: center; background: radial-gradient(circle at 6px 6px, #ff5f57 5px, transparent 5.5px), radial-gradient(circle at 23px 6px, #febc2e 5px, transparent 5.5px), radial-gradient(circle at 40px 6px, #28c840 5px, transparent 5.5px); }
.b-2020 .b-tab { background: #fff; border-radius: 8px 8px 0 0; padding: 8px 16px; max-width: 200px; font: 12px/1 system-ui, sans-serif; }
.b-2020 .b-tools { background: #fff; color: #202124; height: 36px; font: 12px system-ui, sans-serif; }
.b-2020 .b-nav { background: radial-gradient(circle at 7px 7px, #5f6368 2.5px, transparent 3px), radial-gradient(circle at 25px 7px, #9aa0a6 2.5px, transparent 3px); }
.b-2020 .b-url { background: #f1f3f4; border-radius: 999px; padding: 0 14px; height: 26px; line-height: 26px; }
/* 2025–: dark, minimal */
.b-2026 { border-radius: 12px; background: #1b1c18; border-color: #33342c; }
.b-2026 .b-bar { background: #1b1c18; color: #c9c8bf; height: 34px; font: 12px system-ui, sans-serif; }
.b-2026 .b-dots { width: 46px; height: 12px; background: radial-gradient(circle at 6px 6px, #4a4b41 5px, transparent 5.5px), radial-gradient(circle at 23px 6px, #4a4b41 5px, transparent 5.5px), radial-gradient(circle at 40px 6px, #4a4b41 5px, transparent 5.5px); }
.b-2026 .b-tools { background: #1b1c18; color: #a2a29a; height: 34px; padding: 0 10px 8px; font: 12px system-ui, sans-serif; }
.b-2026 .b-nav { display: none; }
.b-2026 .b-url { background: #262720; border-radius: 8px; text-align: center; height: 26px; line-height: 26px; }
.b-2026 .b-view { border-radius: 0 0 10px 10px; }

/* live site, before its screenshot arrives */
.b-view.live { display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 40%, rgba(215,255,63,.08), transparent 70%), repeating-linear-gradient(0deg, rgba(248,247,240,.04) 0 1px, transparent 1px 24px), repeating-linear-gradient(90deg, rgba(248,247,240,.04) 0 1px, transparent 1px 24px), #10110d; }
.lv { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px; text-align: center; }
.lv-dot { width: 14px; height: 14px; background: var(--lime); border-radius: 2px; animation: wink 3s infinite; }
.lv-dom { font-size: clamp(22px, 2.6vw, 36px); font-weight: 800; letter-spacing: -0.03em; color: var(--paper); overflow-wrap: anywhere; }
.lv-alt { font-size: 13px; color: var(--soft); }
.lv-note { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.now { margin: 4px 0 0; display: flex; align-items: center; gap: 14px; }
.now .browser { width: 190px; flex: none; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.now .b-bar { height: 20px; font-size: 9px; }
.now .b-dots { transform: scale(.7); transform-origin: 0 50%; }
.now .b-view { height: 104px; border-radius: 0 0 10px 10px; }
.now figcaption { font-size: 12px; color: var(--soft); line-height: 1.5; max-width: 22ch; }

/* ---- about */
.about {
  border-top: 1px solid var(--rule); padding: 96px max(var(--gutter), env(safe-area-inset-right)) 80px max(var(--gutter), env(safe-area-inset-left));
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 380px); gap: 6vw; align-items: start;
}
.about h2 { margin: 14px 0 28px; font-size: clamp(56px, 8vw, 132px); line-height: .88; letter-spacing: -0.055em; font-weight: 800; }
.about h2 span { display: block; color: var(--muted); font-size: .42em; letter-spacing: -0.03em; margin-top: .25em; }
.about-copy { display: flex; flex-direction: column; gap: 16px; max-width: 60ch; }
.about-copy p { margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--soft); }
.about-copy p:first-child { color: var(--paper); font-size: clamp(19px, 1.6vw, 24px); }
.status { border: 1px solid var(--rule); border-radius: 10px; padding: 22px 22px 18px; background: #0f100c; position: sticky; top: 96px; margin-top: 40px; }
.st-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.st-head .px { font-size: 40px; animation: wink 4s infinite 1s; }
.status dl { display: grid; grid-template-columns: 1fr auto; gap: 0; margin: 0; font-size: 14px; }
.status dt, .status dd { padding: 11px 0; border-bottom: 1px dashed #2c2d25; }
.status dt { color: var(--soft); }
.status dd { margin: 0; text-align: right; color: var(--paper); display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.status dd.on::after, .status dd.off::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(215,255,63,.7); }
.status dd.off::after { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.st-foot { margin: 14px 0 0; font-size: 12px; color: var(--lime); }

/* ---- then / now */
.thennow { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 40px; margin-top: 18px; font-size: 13px; }
.thennow h3 { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.thennow ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.thennow div:first-child li { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(162,162,154,.5); }
.thennow div:last-child li { color: var(--paper); }
.thennow div:last-child li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--lime); margin-right: 9px; vertical-align: 1px; }

/* ---- footer */
.foot { align-items: flex-end; gap: 22px 40px; line-height: 1.7; }
.foot-co, .foot-ct, .foot-end { display: flex; flex-direction: column; }
.foot-co b { color: var(--paper); font-weight: 600; }
.foot a { color: var(--soft); text-decoration: none; }
.foot a:hover { color: var(--lime); }
.foot-end { text-align: right; align-items: flex-end; }
.foot .px { font-size: 13px; }

@media (max-width: 760px) {
  .about { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 72px; }
  .status { position: static; margin-top: 0; }
  .thennow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .foot-end { text-align: left; align-items: flex-start; }
  .bar nav a[href="#about"] { display: none; }
}
.about-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-width: 46ch; }
.about-list li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px dashed #2c2d25; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.4; color: var(--paper); }
.about-list li::before { content: ""; position: absolute; left: 0; top: calc(13px + .45em); width: 10px; height: 10px; background: var(--lime); }
.about-list li:last-child { border-bottom: 0; }
.st-sub { margin: 18px 0 2px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.status dl + .st-sub + dl dd { color: var(--soft); font-size: 13px; }
.you-died {
  position: absolute; left: 0; right: 0; top: 50%; z-index: 30; transform: translateY(-50%); padding: 3vw 0; text-align: center; pointer-events: none;
  background: linear-gradient(transparent, rgba(0,0,0,.85) 30%, rgba(0,0,0,.85) 70%, transparent);
  font: 400 clamp(48px, 9vw, 140px)/1 "Times New Roman", Georgia, serif; letter-spacing: .12em; color: #a4161a; opacity: 0; transition: opacity 1.2s ease;
}
.you-died.on { opacity: 1; }
.lab { width: min(660px, 50vw); }
.vial { width: 58px; }
@media (max-width: 1100px) { .lab { width: min(600px, 58vw); } .vial { width: 52px; } }
@media (max-width: 760px) { .b-1999-view { height: auto; } .b-1999-view img { width: 100%; } }
@media (max-width: 1000px) {
  .mark small { display: none; }
  .bar nav { gap: 16px; }
  .snd span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 1000px) {
  .hero { grid-template-rows: auto auto 1fr auto; grid-template-columns: minmax(0, 1fr); }
  .lab { position: relative; top: auto; right: auto; width: auto; min-width: 0; margin-top: 18px; }
  .lab-shelf { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; padding-top: 8px; }
  .lab-shelf::-webkit-scrollbar { display: none; }
  .vial { width: 62px; flex: none; }
}
.bar nav a { white-space: nowrap; }
@media (max-width: 400px) { .bar { gap: 10px; } .bar nav { gap: 10px; font-size: 11px; } .mark { font-size: 21px; } }
.lab-book li.found { cursor: help; transition: background-color .2s, color .2s; }
.lab-book li.found:hover, .lab-book li.found.on { background: var(--lime); color: var(--ink); }
.lab-hint.mix { color: var(--lime); }
.foot-ai { flex-basis: 100%; margin: 6px 0 0; max-width: 72ch; line-height: 1.6; color: #8d8e83; }
/* twelve vials: labels on wide screens, colour only on small laptops, a scrollable shelf on phones and tablets */
@media (min-width: 1280px) { .lab { width: min(820px, 58vw); } }
.lab-shelf { gap: 4px; }
.vial { width: auto; flex: 1 1 0; min-width: 0; }
.vial span { font-size: 10px; }
@media (min-width: 1001px) and (max-width: 1279px) { .lab { width: min(600px, 58vw); } .vial span { display: none; } }
@media (max-width: 1000px) { .lab-shelf { gap: 6px; } .vial { width: 62px; flex: none; touch-action: pan-x; } }

/* the recipe book is a row of pixels: one per recipe, lime when found */
.lab-book { gap: 7px; margin-top: 10px; min-height: 14px; align-items: center; }
.lab-book li { width: 14px; height: 14px; padding: 0; border-radius: 3px; font-size: 0; line-height: 0; overflow: hidden; border: 1px dashed #55574b; color: transparent; transition: transform .2s, background-color .2s; }
.lab-book li.found { background: var(--lime); border: 1px solid var(--lime); }
.lab-book li:hover, .lab-book li.on, .lab-book li.found:hover, .lab-book li.found.on { transform: scale(1.35); background: var(--lime); }
.lab-book li:not(.found):hover, .lab-book li:not(.found).on { background: transparent; border-color: var(--muted); }

/* selected work rail: one row, the year only, the name on the current one */
.work-rail { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.work-rail::-webkit-scrollbar { display: none; }
.work-rail li { flex: none; }
.work-rail button b { margin-right: 0; }
.work-rail button span { display: none; padding-left: 7px; }
.work-rail button.on span { display: inline; }
@media (hover: hover) { .work-rail button:hover span { display: inline; } }
@media (max-width: 760px) { .thennow { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.foot-reg { display: flex; flex-direction: column; color: #8d8e83; }
.bar nav a.lang { border: 1px solid var(--rule); border-radius: 999px; padding: 3px 8px; font-size: 11px; letter-spacing: .08em; line-height: 1.2; }
.bar nav a.lang:hover { border-color: var(--lime); }
.mark { white-space: nowrap; flex: none; }

/* checklist pass: contrast, wrapping, tap targets */
.foot-ai, .foot-reg { color: #8d8e83; }
.lab-book li { color: transparent; border-color: #6b6c61; overflow: visible; position: relative; }
.lab-book li::after { content: ""; position: absolute; inset: -6px -4px; }
h1, h2, h3, .tm-name, .work-title { text-wrap: balance; }
p, .tm-line, .work-text { text-wrap: pretty; }
html { scrollbar-gutter: stable; }
@media (forced-colors: active) { .px, .bar .px, .mark i, .lab-book li.found { forced-color-adjust: none; } }
