/* Hallmark · shape: Index-First portfolio · genre: atmospheric · theme: Bloom (deal manual, seed bright-premium-light-lively-4800·7fcc4e74·2026-11-10·r0) · job: hire · draw: manual
 * hero: Stage, a surreal sky: headline left, a door standing on the horizon that plays the reel · nav: edge-aligned wordmark, four links, one pill · footer: a single rule line · imagery: the user's own film frames in full colour · signature: footprints across a salt flat lead to a door in the sky that plays the showreel; a bowler hat, a green apple and a paper plane answer the pointer; a melting clock tells Beijing time · bloom: two blooms, timeline grid for the medium
 * axes: light/grotesk-sans/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: R, a thirty-film grid is busy; plates stay still until the pointer reaches one, and only that one plays */
/* Hallmark · waive 83 · the works grid is thirty film plates the user made · this is a video portfolio, the films are the evidence a hiring director asks for */
/* Hallmark · waive 80 · the bowler hat, green apple, paper plane, clapperboard and melting clock are drawn props · the user asked for surreal props in the page that answer the mouse, they are toys, not illustrations of content */
/* Hallmark · waive 39b · the door is a 9:16 film frame and the toys are scene objects · a door and a hat in a surreal scene cannot be 48px pills */
/* Hallmark · dismissed 67 · AIGC is an industry acronym inside a sentence-case job title, not a tracked label */
@import url("./tokens.css");
@import url("./base.css");

@font-face { font-family: "Ranade"; src: url("./fonts/ranade-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ranade"; src: url("./fonts/ranade-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gambarino"; src: url("./fonts/gambarino-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ranade"; src: url("./fonts/ranade-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "PuHui"; src: url("./fonts/puhui-thin.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "PuHui"; src: url("./fonts/puhui-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "PuHui"; src: url("./fonts/puhui-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --font-display: "Ranade", "PuHui", "PingFang SC", "Microsoft YaHei", ui-sans-serif, sans-serif;
  --font-body: "Ranade", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, sans-serif;
  --display-weight: 500;
  --nav-h: 68px;
  --color-scrim: oklch(21% 0.024 40 / 0.55);
  --color-stage: oklch(18% 0.02 40);
  --color-monitor-ink: oklch(97% 0.010 72);
  --display-weight: 300;
  --color-ink: oklch(25% 0.035 255); --color-ink-2: oklch(34% 0.03 255); --color-muted: oklch(50% 0.025 250);
  --color-paper: oklch(97.6% 0.008 85); --color-paper-2: oklch(95% 0.014 240); --color-paper-3: oklch(91% 0.02 240);
  --color-sheet: oklch(99.2% 0.004 85); --color-rule: oklch(89% 0.014 240);
  --color-accent: oklch(48% 0.13 252); --color-accent-2: oklch(80% 0.07 75); --color-accent-soft: oklch(48% 0.13 252 / 0.10); --color-focus: oklch(48% 0.13 252);
  --rubber: oklch(64% 0.17 135); --rubber-hi: oklch(78% 0.16 128); --rubber-lo: oklch(48% 0.14 140); --umber: oklch(24% 0.03 255);
  --lane-1: oklch(60% 0.08 245); --lane-2: oklch(64% 0.14 135); --lane-3: oklch(76% 0.09 75); --lane-4: oklch(62% 0.06 300);
  --shadow-card: 0 1px 2px oklch(25% 0.035 255 / 0.06), 0 18px 36px -18px oklch(25% 0.05 255 / 0.24);
  --shadow-lift: 0 2px 4px oklch(25% 0.035 255 / 0.07), 0 36px 72px -32px oklch(30% 0.08 255 / 0.34);
  --sky-top: oklch(62% 0.11 250); --sky-mid: oklch(78% 0.07 240); --sky-low: oklch(92% 0.03 80);
  --sand-hi: oklch(88% 0.05 80); --sand: oklch(80% 0.07 72); --snow: oklch(96% 0.01 240); --step: oklch(55% 0.03 250 / 0.45);
  --hat: oklch(20% 0.01 250); --hat-hi: oklch(38% 0.015 250); --hat-lo: oklch(12% 0.01 250); --hat-band: oklch(28% 0.02 20);
  --apple: oklch(66% 0.17 132); --apple-hi: oklch(84% 0.15 120); --apple-lo: oklch(46% 0.13 140); --apple-shine: oklch(98% 0.03 110 / 0.55); --stem: oklch(35% 0.05 60); --leaf: oklch(55% 0.15 145);
  --paper-hi: oklch(99% 0.004 85); --paper-mid: oklch(90% 0.01 240); --paper-lo: oklch(82% 0.02 240);
  --brass: oklch(70% 0.12 80); --brass-hi: oklch(86% 0.1 88); --clock-face: oklch(97% 0.015 85); --clock-tick: oklch(55% 0.03 250); --clock-hand: oklch(25% 0.035 255);
  --shadow-soft: oklch(25% 0.035 255 / 0.18); --glow-text: oklch(99% 0 0 / 0.35);
}

/* the paper: grain plus two fixed warm blooms */
body { font-size: 17px; line-height: 1.6; background:
  radial-gradient(70vw 50vw at 100% 30%, color-mix(in oklab, var(--sky-mid) 22%, transparent), transparent 70%),
  radial-gradient(50vw 40vw at 0% 100%, color-mix(in oklab, var(--color-accent-2) 14%, transparent), transparent 70%),
  var(--color-paper); background-attachment: fixed; }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.05; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
main, .nav, .foot { position: relative; z-index: 1; }
h1, h2, h3 { color: var(--color-ink); word-break: keep-all; line-break: strict; }
h1 { font-size: clamp(1.9rem, 4.8vw + 0.3rem, 5.2rem); line-height: 1.12; max-width: none; font-weight: 300; letter-spacing: 0.02em; }
.h1__line { display: inline-block; }
h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3.5rem); line-height: 1.12; max-width: 18em; font-weight: 300; letter-spacing: 0.01em; }
h3 { font-weight: 500; font-size: var(--text-title); }
.lead { color: var(--color-ink-2); }
.num { font-variant-numeric: tabular-nums; }
a { color: var(--color-accent); text-decoration: none; text-underline-offset: 0.2em; }
a:hover { text-decoration: underline; }
.container { position: relative; }

/* controls: the rubber cap and the sheet pill */
.rec { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 52px; padding: 0 var(--space-lg) 0 var(--space-2xs); border: 0; border-radius: var(--radius-pill); background: var(--color-sheet); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); cursor: pointer; text-decoration: none; box-shadow: 0 0 0 1px var(--shade-1), 0 10px 22px -12px var(--shade-2), inset 0 1px 0 var(--hi); transition: box-shadow var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.rec:hover { text-decoration: none; box-shadow: 0 0 0 1px var(--shade-2), 0 16px 30px -14px var(--shade-3), inset 0 1px 0 var(--hi); }
.rec:active { transform: translateY(1px); }
.rec:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.rec:disabled { background: var(--color-paper-3); color: var(--color-muted); box-shadow: none; cursor: not-allowed; }
.rec__bezel { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, var(--bezel), var(--color-paper-3)); box-shadow: inset 0 2px 3px var(--shade-2), 0 1px 0 var(--hi); }
.rec__cap { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(120% 110% at 50% 18%, var(--rubber-hi), var(--rubber) 48%, var(--rubber-lo)); box-shadow: inset 0 1px 0.5px var(--hi), 0 5px 9px -3px var(--shade-3); transition: transform var(--dur-micro) var(--ease-out); }
.rec:active .rec__cap { transform: translateY(1px) scale(0.97); }
.rec:disabled .rec__cap { background: var(--color-muted); }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-sheet); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); cursor: pointer; text-decoration: none; box-shadow: 0 0 0 1px var(--shade-1), 0 8px 18px -10px var(--shade-2), inset 0 1px 0 var(--hi); transition: box-shadow var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.pill:hover { text-decoration: none; background: var(--color-paper); box-shadow: 0 0 0 1px var(--shade-2), 0 12px 24px -12px var(--shade-3), inset 0 1px 0 var(--hi); }
.pill:active { transform: translateY(1px); }
.pill:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.pill:disabled { background: var(--color-paper-3); color: var(--color-muted); box-shadow: none; cursor: not-allowed; }
.pill--sm { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.pill--ink { background: var(--umber); color: var(--color-accent-ink); }
.pill--ink:hover { background: var(--color-ink); }

/* nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 82%, transparent); backdrop-filter: blur(12px) saturate(1.2); }
.nav__in { display: flex; align-items: center; gap: var(--space-xl); height: var(--nav-h); }
.nav__mark { font: 700 var(--text-xl)/1 var(--font-display); color: var(--color-ink); letter-spacing: -0.02em; }
.nav__mark:hover { text-decoration: none; }
.nav__links { display: flex; gap: var(--space-2xs); margin-left: auto; }
.nav__links a { position: relative; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); color: var(--color-ink-2); font-size: var(--text-md); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.nav__links a:hover { text-decoration: none; color: var(--color-ink); background: var(--color-accent-soft); }
.nav__links a[aria-current="true"] { color: var(--color-accent); background: var(--color-accent-soft); }
.nav__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
@media (max-width: 48rem) { .nav__links { display: none; } .nav__in .pill { margin-left: auto; } }

/* hero: a surreal scene */
.nav { background: color-mix(in oklab, var(--color-paper) 70%, transparent); }
.scene { position: relative; isolation: isolate; overflow: clip; min-height: calc(100svh - var(--nav-h)); --mx: 0; --my: 0; }
.scene__sky { position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 42%, var(--sky-low) 72%); }
.scene__ground { position: absolute; left: 0; right: 0; bottom: 0; height: 28%; z-index: -1; background:
  linear-gradient(180deg, var(--sand-hi) 0%, var(--sand) 22%, var(--sand-hi) 34%, var(--snow) 46%, var(--snow) 100%); }
.scene__ground::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: color-mix(in oklab, var(--sky-low) 60%, white); filter: blur(1px); }
.scene__steps { position: absolute; left: 0; right: 0; bottom: 0; height: 28%; width: 100%; z-index: -1; fill: var(--step); }
.cloud { position: absolute; z-index: -2; pointer-events: none; user-select: none; will-change: transform;
  transform: translate3d(calc(var(--mx) * var(--d) * -40px), calc(var(--my) * var(--d) * -20px + var(--sy, 0px) * var(--d)), 0); transition: transform 1.2s var(--ease-out); }
.cloud--1 { --d: 0.35; left: -6%; top: 4%; width: min(52vw, 760px); opacity: 0.95; }
.cloud--2 { --d: 0.6; right: -8%; top: 14%; width: min(46vw, 680px); }
.cloud--3 { --d: 0.9; left: 30%; top: 46%; width: min(30vw, 420px); opacity: 0.85; }
.scene__in { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: end; min-height: calc(100svh - var(--nav-h)); padding-block: var(--space-xl) calc(28svh - var(--space-2xl)); }
.hero__text { align-self: center; padding-bottom: var(--space-3xl); }
.hero__text h1 { color: var(--color-ink); text-shadow: 0 1px 24px var(--glow-text); }
.hero__text .lead { margin-top: var(--space-lg); max-width: 30em; color: var(--color-ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.portal { position: relative; justify-self: center; display: grid; justify-items: center; gap: var(--space-xs); transform: translate3d(calc(var(--mx) * -8px), 0, 0); transition: transform 1.2s var(--ease-out); }
.portal__door { position: relative; display: block; width: clamp(160px, min(18vw, 30svh), 270px); aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 2px; overflow: hidden; background: var(--sky-mid); cursor: pointer;
  box-shadow: 0 0 0 6px var(--color-sheet), 0 0 0 7px var(--shade-1), 0 40px 60px -30px var(--shade-3); transform-origin: 50% 100%; transition: transform var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); }
.portal__door video { width: 100%; height: 100%; object-fit: cover; }
.portal__door:hover { transform: perspective(900px) rotateY(-8deg); box-shadow: 0 0 0 6px var(--color-sheet), 0 0 0 7px var(--shade-2), 30px 50px 70px -30px var(--shade-3); }
.portal__door:active { transform: perspective(900px) rotateY(-5deg) translateY(1px); }
.portal__door:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 10px; }
.portal__shadow { position: absolute; bottom: 64px; left: 50%; width: 120%; height: 40px; transform: translateX(-30%) skewX(-50deg); background: radial-gradient(closest-side, var(--shadow-soft), transparent); z-index: -1; }
.deck__tc { position: absolute; left: var(--space-xs); bottom: var(--space-xs); padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-clip); background: var(--color-scrim); color: var(--color-monitor-ink); font-size: var(--text-xs); }
.portal__now { margin-top: var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); text-align: center; max-width: 22em; }
.portal__now .num { color: var(--color-accent); }
.portal__hint { font-size: var(--text-xs); color: var(--color-muted); }
.deck__tl { position: relative; width: clamp(220px, 26vw, 380px); height: 16px; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-sheet) 70%, transparent); box-shadow: inset 0 0 0 1px var(--shade-1); cursor: ew-resize; touch-action: pan-y; user-select: none; }
.deck__tl:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.deck__clips { list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--space-2xs); height: 100%; margin: 0; padding: var(--space-2xs); }
.deck__clips .clip { border-radius: var(--radius-pill); background: color-mix(in oklab, var(--lane-1) 26%, var(--color-sheet)); box-shadow: none; }
.deck__clips .clip.is-on { background: var(--color-accent); }
.deck__head { position: absolute; top: -5px; bottom: -5px; left: 0; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--color-ink); transform: translateX(var(--px, 0px)); pointer-events: none; }
.clip { --c: var(--lane-1); position: relative; min-width: 0; border-radius: var(--radius-clip); background: linear-gradient(color-mix(in oklab, var(--c) 18%, var(--color-sheet)), color-mix(in oklab, var(--c) 30%, var(--color-sheet))); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 45%, transparent), inset 0 1px 0 var(--hi); transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.clip--2 { --c: var(--lane-2); } .clip--3 { --c: var(--lane-3); } .clip--4 { --c: var(--lane-4); }
.clip__t { display: block; overflow: hidden; white-space: nowrap; padding: var(--space-xs); font-size: var(--text-xs); line-height: 1.3; color: var(--color-ink); }
.walker { position: absolute; right: 31%; bottom: calc(28svh - 30px); width: 10px; fill: var(--hat); opacity: 0.75; animation: walk 22s linear infinite; }
@keyframes walk { 0% { transform: translate(-90px, 30px) scale(1.3); opacity: 0; } 8% { opacity: 0.75; } 92% { opacity: 0.75; } 100% { transform: translate(40px, -6px) scale(0.6); opacity: 0; } }

/* the toys */
.toy { position: absolute; z-index: 3; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; user-select: none; -webkit-tap-highlight-color: transparent;
  transform: translate3d(calc(var(--tx, 0px) + var(--mx) * var(--d, 0.5) * 30px), calc(var(--ty, 0px) + var(--my) * var(--d, 0.5) * 18px), 0) rotate(var(--rot, 0deg)); }
.toy svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 16px var(--shadow-soft)); }
.toy:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; border-radius: 12px; }
.toy:active { cursor: grabbing; }
.toy.is-held { cursor: grabbing; transition: none; }
.toy--hat { --d: 0.5; top: 9%; left: 52%; width: clamp(90px, 9vw, 140px); }
.toy--hat:hover svg { animation: bob 1.4s var(--ease-in-out) infinite; }
.toy--hat.is-tipped svg { animation: tip 900ms var(--ease-out); }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
@keyframes tip { 30% { transform: translateY(-30px) rotate(-18deg); } 60% { transform: translateY(-12px) rotate(8deg); } }
.toy--apple { --d: 0.8; bottom: 13%; left: 46%; width: clamp(54px, 5vw, 80px); }
.toy--apple:hover svg { transform: rotate(-8deg) scale(1.05); transition: transform var(--dur-short) var(--ease-out); }
.toy--plane { position: absolute; z-index: 2; top: 0; left: 0; width: 56px; pointer-events: none; transform: translate3d(var(--px, -120px), var(--py, 120px), 0) rotate(var(--pr, 0deg)); }
.toy--plane svg { filter: drop-shadow(0 10px 8px var(--shadow-soft)); }
.toy__cap { position: absolute; left: 50%; top: 100%; width: max-content; margin-top: var(--space-2xs); transform: translateX(-50%); font-size: var(--text-xs); color: var(--color-muted); }
.toy--clap { position: relative; width: 64px; transform: none; cursor: pointer; }
.toy--clap .clap__top { transform-origin: 10px 46px; transition: transform 160ms var(--ease-in); }
.toy--clap:hover .clap__top { transform: rotate(-14deg); }
.toy--clap.is-clap .clap__top { transform: rotate(0deg); transition-duration: 80ms; }
.works__title { display: flex; align-items: center; gap: var(--space-lg); }
@media (max-width: 60rem) {
  .scene__in { grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--space-xl); padding-block: var(--space-xl) calc(14svh); }
  .hero__text { padding-bottom: 0; }
  .scene__ground, .scene__steps { height: 22%; }
  .portal { justify-self: start; }
  .portal__door { width: min(48vw, 220px); }
  .walker { display: none; }
  .toy--hat { top: auto; bottom: 36%; left: auto; right: 6%; width: 80px; }
  .toy--apple { top: auto; bottom: 4%; left: auto; right: 10%; width: 46px; }
  .cloud--1 { width: 90vw; top: 2%; } .cloud--2 { width: 80vw; top: 30%; } .cloud--3 { width: 60vw; top: 56%; left: 40%; }
}

/* melting clock beside the career */
.cv__stage { position: relative; }
.clock { position: absolute; right: -10px; top: -96px; width: 120px; transform-origin: 30% 0; transition: transform 900ms var(--ease-out); z-index: 2; }
.clock:hover { transform: scaleY(1.12) skewX(-6deg); }
.clock svg { width: 100%; height: auto; filter: drop-shadow(0 12px 12px var(--shadow-soft)); }
.clock__cap { display: block; margin-top: var(--space-2xs); font-size: var(--text-xs); color: var(--color-muted); text-align: center; }
.clock__hands path { transition: transform 600ms var(--ease-out); transform-origin: 0 0; }
@media (max-width: 48rem) { .clock { position: relative; right: auto; top: auto; width: 96px; margin: 0 0 var(--space-md) auto; } }
.card__ceci { margin-top: var(--space-lg); font: 300 var(--text-xl)/1.2 var(--font-outlier), var(--font-display); color: var(--color-ink); }

/* section heads */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); align-items: end; }
.sec-head .lead { max-width: 32em; }
@media (max-width: 60rem) { .sec-head { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); } }

/* career timeline */
.cv { padding-block: var(--section-gap-s) var(--section-gap); }
.career { position: relative; margin-top: var(--space-2xl); padding: var(--space-xl) var(--space-lg) var(--space-lg); border-radius: var(--radius-card); background-color: var(--color-sheet); box-shadow: var(--shadow-card);
  background-image: linear-gradient(to right, var(--grid-16) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-row) 1px, transparent 1px);
  background-size: 24px 100%, 100% 24px; }
.career__ruler { position: relative; height: 18px; margin-left: var(--space-2xl); }
.career__ruler span { position: absolute; left: var(--x); transform: translateX(-50%); font-size: var(--text-xs); color: var(--color-muted); }
.career__track { display: grid; grid-template-columns: var(--space-2xl) minmax(0, 1fr); align-items: center; margin-top: var(--space-sm); }
.career__label { font-size: var(--text-xs); color: var(--color-muted); }
.career__lane { position: relative; list-style: none; margin: 0; padding: 0; height: 56px; }
.career__lane .clip { position: absolute; top: 0; bottom: 0; left: var(--a); width: calc(var(--b) - var(--a) - 0.3%); }
.career__lane .clip a { display: block; height: 100%; padding: var(--space-xs); color: var(--color-ink); text-decoration: none; border-radius: inherit; }
.career__lane .clip a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.career__lane .clip .clip__t { padding: 0; font-size: var(--text-sm); font-weight: 500; }
.career__lane .clip .clip__s { display: block; font-size: 11px; color: var(--color-ink-2); white-space: nowrap; overflow: hidden; }
.career__lane .clip:hover, .career__lane .clip.is-on { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--c), inset 0 1px 0 var(--hi), 0 12px 20px -12px var(--shade-3); }
.career__track--marks .career__lane { height: 28px; }
.mark { position: absolute; top: 50%; left: var(--x); }
.mark__dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(120% 110% at 50% 18%, var(--rubber-hi), var(--rubber) 48%, var(--rubber-lo)); box-shadow: 0 3px 6px -2px var(--shade-3); cursor: help; transition: transform var(--dur-short) var(--ease-out); }
.mark__dot:hover, .mark__dot:focus-visible { transform: scale(1.25); }
.mark__dot:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.mark__tip { position: absolute; bottom: 16px; left: 50%; z-index: var(--z-tooltip); width: max-content; max-width: 220px; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-inner); background: var(--umber); color: var(--color-accent-ink); font-size: var(--text-xs); line-height: 1.45; transform: translate(-50%, 4px) scale(0); transform-origin: 50% 100%; pointer-events: none; transition: transform var(--dur-micro) var(--ease-out); }
.mark:last-child .mark__tip { left: auto; right: calc(-1 * var(--space-xs)); transform: translate(0, 4px) scale(0); transform-origin: 100% 100%; }
.mark__dot:hover + .mark__tip, .mark__dot:focus-visible + .mark__tip { transform: translate(-50%, 0) scale(1); }
.mark:last-child .mark__dot:hover + .mark__tip, .mark:last-child .mark__dot:focus-visible + .mark__tip { transform: translate(0, 0) scale(1); }
.career__head { position: absolute; top: var(--space-lg); bottom: var(--space-md); left: calc(var(--space-lg) + 64px + (100% - 2 * var(--space-lg) - 64px) * var(--xn, 1)); width: 2px; background: var(--color-accent); opacity: 0.8; }
.jobs { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; gap: var(--space-sm); }
.job { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: var(--gap-columns); padding: var(--space-lg); border-radius: var(--radius-card); transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.job.is-on, .job:target { background: var(--color-sheet); box-shadow: var(--shadow-card); }
.job__when { color: var(--color-muted); font-size: var(--text-sm); padding-top: var(--space-2xs); }
.job__role { color: var(--color-accent); font-size: var(--text-sm); font-weight: 500; margin: var(--space-2xs) 0 var(--space-sm); }
.job p:not([class]) { color: var(--color-ink-2); }
@media (max-width: 48rem) {
  .career { padding: var(--space-lg) var(--space-md) var(--space-md); }
  .career__ruler { margin-left: 0; }
  .career__track { grid-template-columns: minmax(0, 1fr); }
  .career__label { display: none; }
  .career__lane .clip .clip__s { display: none; }
  .career__lane .clip .clip__t { font-size: 11px; white-space: normal; }
  .career__head { display: none; }
  .job { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding: var(--space-md); }
}

/* bands */
.band { padding-block: var(--section-gap); background: color-mix(in oklab, var(--color-paper-2) 70%, transparent); }

/* plates */
.plates { list-style: none; margin: 0; padding: 0; }
.plate__link { display: block; color: inherit; text-decoration: none; border-radius: var(--radius-card); }
.plate__link:hover { text-decoration: none; }
.plate__frame { position: relative; display: block; overflow: hidden; border-radius: var(--radius-inner); background: var(--color-paper-3); aspect-ratio: 9 / 16; box-shadow: var(--shadow-card); transition: transform var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); }
.plate--h .plate__frame { aspect-ratio: 16 / 9; }
.plate__frame img, .plate__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate__preview { opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.plate.is-playing .plate__preview { opacity: 1; }
.plate__tc { position: absolute; right: var(--space-xs); bottom: var(--space-xs); padding: 0 var(--space-xs); border-radius: var(--radius-clip); background: var(--color-scrim); color: var(--color-monitor-ink); font-size: 11px; }
.plate__link:hover .plate__frame, .plate.is-playing .plate__frame { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.plate__link:active .plate__frame { transform: translateY(-3px); }
.plate__link:focus-visible { outline: none; }
.plate__link:focus-visible .plate__frame { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.plate__cap { display: grid; gap: var(--space-3xs); padding: var(--space-sm) var(--space-2xs) 0; }
.plate__title { font-size: var(--text-md); font-weight: 500; line-height: 1.4; overflow-wrap: break-word; min-width: 0; transition: color var(--dur-short) var(--ease-out); }
.plate__link:hover .plate__title { color: var(--color-accent); }
.plate__meta { display: flex; flex-wrap: wrap; gap: 0 var(--space-sm); color: var(--color-muted); font-size: var(--text-xs); }
.plate__metric { color: var(--color-accent); font-weight: 500; }

/* hit */
.hit__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.hit__plate { position: sticky; top: calc(var(--nav-h) + var(--space-lg)); }
.hit__plate .plate__frame { max-height: 76svh; margin-inline: auto; }
.hit .lead { margin-top: var(--space-lg); }
.hero-figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-md); margin-top: var(--space-2xl); }
.hero-figure__n { font: 400 clamp(6rem, 12vw, 11rem)/0.9 var(--font-outlier); color: var(--color-ink); letter-spacing: -0.02em; white-space: nowrap; }
.hero-figure__l { color: var(--color-muted); }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); margin: var(--space-xl) 0 0; }
.figures__cell { padding: var(--space-md) var(--space-lg); border-radius: var(--radius-inner); background: var(--color-sheet); box-shadow: 0 0 0 1px var(--shade-1), inset 0 1px 0 var(--hi); }
.figures dt { font-size: var(--text-2xl); font-weight: 500; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.figures dd { margin: var(--space-2xs) 0 0; color: var(--color-muted); font-size: var(--text-sm); }
.source { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-xs); }
.steps { list-style: none; margin: var(--space-3xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.step { padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-sheet); box-shadow: var(--shadow-card); transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.step__no { display: block; margin-bottom: var(--space-md); color: var(--color-accent); font-size: var(--text-sm); font-weight: 500; }
.step p { margin-top: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-sm); }
.series { margin-top: var(--space-3xl); }
.series h3 { margin-bottom: var(--space-lg); }
.plates--row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap-columns); }
.plate--small .plate__title { font-size: var(--text-sm); }
@media (max-width: 60rem) {
  .hit__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .hit__plate { position: static; max-width: 320px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plates--row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--space-xs) var(--space-2xs) var(--space-md); }
  .plates--row > li { scroll-snap-align: start; }
}
@media (max-width: 40rem) { .steps { grid-template-columns: minmax(0, 1fr); } .figures { grid-template-columns: minmax(0, 1fr); } }

/* works */
.works { padding-block: var(--section-gap); }
.works__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.filter { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chip { min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-sheet); color: var(--color-ink-2); cursor: pointer; font: 500 var(--text-sm)/1 var(--font-body); box-shadow: 0 0 0 1px var(--shade-1), inset 0 1px 0 var(--hi); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.chip .num { margin-left: var(--space-2xs); color: var(--color-muted); }
.chip:hover { background: var(--color-paper); color: var(--color-ink); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"] { background: var(--umber); color: var(--color-accent-ink); }
.chip[aria-pressed="true"] .num { color: var(--rubber-hi); }
.chip:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.chip:disabled { background: var(--color-paper-3); color: var(--color-muted); cursor: not-allowed; }
.plates--grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); grid-auto-flow: row dense; align-items: start; }
.plates--grid .plate--h { grid-column: span 2; }
.plate.is-out { display: none; }
.plate.is-in { animation: plate-in var(--dur-long) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes plate-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (max-width: 60rem) { .plates--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); } }

/* variety */
.shows { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.show { padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-sheet); box-shadow: var(--shadow-card); transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.show:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: var(--shadow-lift); }
.show__poster { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-inner); margin-bottom: var(--space-md); }
.show__meta { margin: var(--space-2xs) 0 var(--space-sm); color: var(--color-accent); font-size: var(--text-sm); font-weight: 500; }
.show p:not([class]) { color: var(--color-ink-2); font-size: var(--text-sm); }
.years { margin: var(--space-2xl) 0 0; display: grid; gap: var(--space-sm); }
.years div { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: var(--space-md); padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.years dt { font-size: var(--text-xl); font-weight: 500; color: var(--color-muted); line-height: 1.2; }
.years dd { margin: 0; color: var(--color-ink-2); }
.doc { margin-top: var(--space-xl); color: var(--color-ink-2); max-width: 60ch; }
@media (max-width: 60rem) { .shows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .shows { grid-template-columns: minmax(0, 1fr); } .years div { grid-template-columns: 3.5rem minmax(0, 1fr); } }

/* skills */
.skills { padding-block: var(--section-gap); }
.steps--skills { margin-top: var(--space-2xl); }

/* contact */
.contact { padding-block: 0 var(--section-gap); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.services { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.services p { margin-top: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-sm); }
.quote-note { margin-top: var(--space-2xl); color: var(--color-muted); }
.card { padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-sheet); color: var(--color-ink); box-shadow: var(--shadow-lift); }
.card__top { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
.card__qr { border-radius: var(--radius-inner); overflow: hidden; box-shadow: 0 0 0 1px var(--shade-1); }
.card__qr img { width: 100%; height: auto; }
.card__rows { margin: 0; }
.card__rows div { display: grid; grid-template-columns: 3rem minmax(0, 1fr); padding-block: var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-rule); }
.card__rows dt { color: var(--color-muted); font-size: var(--text-sm); }
.card__rows dd { margin: 0; font-size: var(--text-sm); }
.card__rows dd a { white-space: nowrap; }
.copy { margin-left: var(--space-2xs); min-height: 32px; padding: 0 var(--space-sm); border: 0; border-radius: var(--radius-pill); background: var(--color-accent-soft); color: var(--color-accent); font: 500 var(--text-xs)/1.6 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.copy:hover { background: color-mix(in oklab, var(--color-accent) 20%, transparent); }
.copy:active { transform: translateY(1px); }
.copy:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.copy:disabled { background: var(--color-paper-3); color: var(--color-muted); cursor: not-allowed; }
.ask { display: grid; gap: var(--space-md); margin-top: var(--space-xl); }
.ask__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); }
.ask label { display: grid; gap: var(--space-2xs); color: var(--color-muted); font-size: var(--text-sm); }
.ask input:not([type=radio]), .ask textarea { width: 100%; min-height: 52px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-inner); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); transition: border-color var(--dur-short) var(--ease-out); }
.ask input:hover, .ask textarea:hover { border-color: var(--color-ink-2); }
.ask input:focus-visible, .ask textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; border-color: var(--color-focus); transition: none; }
.ask input:disabled, .ask textarea:disabled { background: var(--color-paper-3); color: var(--color-muted); cursor: not-allowed; }
.ask [aria-invalid="true"] { border-color: var(--color-error); }
.ask__type { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; border: 0; }
.ask__type legend { width: 100%; margin-bottom: var(--space-2xs); color: var(--color-muted); font-size: var(--text-sm); }
.ask__type label { display: block; }
.ask__type input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ask__type span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink-2); box-shadow: 0 0 0 1px var(--shade-1); cursor: pointer; font-weight: 500; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.ask__type span:hover { color: var(--color-ink); }
.ask__type input:checked + span { background: var(--umber); color: var(--color-accent-ink); }
.ask__type input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.ask .rec { justify-self: start; }
.ask__status { font-size: var(--text-sm); color: var(--color-ink-2); min-height: 1.6em; }
.ask__status.is-error { color: var(--color-error); }
.ask__status.is-ok { color: var(--color-success); }
@media (max-width: 60rem) { .contact__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } }
@media (max-width: 80rem) { .card__top { grid-template-columns: minmax(0, 1fr); } .card__qr { width: 150px; } }
@media (max-width: 40rem) { .services, .ask__row { grid-template-columns: minmax(0, 1fr); } .card { padding: var(--space-lg); } }

/* footer */
.foot { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); padding-block: var(--space-xl); color: var(--color-muted); font-size: var(--text-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__mark { font-weight: 700; color: var(--color-ink); }
.foot__note { flex-basis: 100%; font-size: var(--text-xs); }

/* the play cursor: follows the pointer over a plate */
.cursor { position: fixed; top: 0; left: 0; z-index: var(--z-tooltip); pointer-events: none; transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0); }
.cursor__in { display: grid; place-items: center; width: 80px; height: 80px; margin: calc(-1 * var(--space-xl)) 0 0 calc(-1 * var(--space-xl)); border-radius: 50%; background: radial-gradient(120% 110% at 50% 18%, var(--rubber-hi), var(--rubber) 48%, var(--rubber-lo)); color: var(--color-accent-ink); font-size: var(--text-sm); font-weight: 500; box-shadow: 0 12px 24px -10px var(--shade-3), inset 0 1px 0.5px var(--hi); transform: scale(0); transition: transform var(--dur-short) var(--ease-out); }
.cursor.is-on .cursor__in { transform: scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* player */
.player { width: min(1200px, calc(100% - 2 * var(--space-lg))); max-width: none; max-height: calc(100svh - 2 * var(--space-lg)); padding: 0; border: 0; border-radius: var(--radius-card); background: var(--color-sheet); color: var(--color-ink); box-shadow: var(--shadow-lift); overflow: hidden; }
.player::backdrop { background: var(--color-scrim); }
.player[open] { animation: player-in var(--dur-long) var(--ease-out); }
@keyframes player-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.player__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.player__stage { background: var(--color-stage); display: grid; place-items: center; min-height: 0; }
.player__stage video { width: 100%; max-height: calc(100svh - 2 * var(--space-lg)); object-fit: contain; }
.player__info { padding: var(--space-xl); overflow-y: auto; max-height: calc(100svh - 2 * var(--space-lg)); }
.player__info h2 { font-size: var(--text-2xl); margin-top: var(--space-xs); }
.player__info > p { margin-top: var(--space-md); color: var(--color-ink-2); }
.player__meta { color: var(--color-muted); font-size: var(--text-sm); margin: 0; }
.player__rows { margin: var(--space-lg) 0 0; }
.player__rows dt { color: var(--color-muted); font-size: var(--text-xs); }
.player__rows dd { margin: var(--space-2xs) 0 0; font-size: var(--text-sm); }
.figures--small { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--space-lg); }
.figures--small:empty { display: none; }
.player__nav { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-xl); }
.player.is-v .player__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
@media (max-width: 60rem) {
  .player { width: 100%; max-height: 100svh; height: 100svh; border-radius: 0; }
  .player__in, .player.is-v .player__in { grid-template-columns: minmax(0, 1fr); height: 100%; grid-template-rows: auto minmax(0, 1fr); }
  .player__stage video { max-height: 60svh; }
  .player__info { max-height: none; padding: var(--space-lg); }
}


/* 视频号 card beside the hit */
.sph { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-md); align-items: center; margin-top: var(--space-xl); padding: var(--space-sm); border-radius: var(--radius-card); background: var(--color-sheet); color: var(--color-ink); box-shadow: var(--shadow-card); transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.sph:hover { text-decoration: none; transform: translateY(-3px) rotate(-0.6deg); box-shadow: var(--shadow-lift); }
.sph:active { transform: translateY(-1px); }
.sph:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.sph__card { width: 96px; border-radius: var(--radius-inner); }
.sph__body { display: grid; gap: var(--space-2xs); }
.sph__name { font-weight: 500; }
.sph__badge { font-size: var(--text-sm); color: var(--color-muted); }
.sph__go { font-size: var(--text-sm); color: var(--color-accent); font-weight: 500; }

/* photo wall: polaroids you can push around */
.wall-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-md); margin-top: var(--space-3xl); }
.wall-head p { color: var(--color-muted); font-size: var(--text-sm); }
.wall { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); }
.polaroid { position: relative; z-index: 1; transform: translate3d(calc(var(--jx) + var(--dx, 0px)), calc(var(--jy) + var(--dy, 0px)), 0) rotate(var(--r)); transition: transform var(--dur-long) var(--ease-out); touch-action: none; }
.polaroid.is-held { z-index: 5; transition: none; }
.polaroid.is-top { z-index: 4; }
.polaroid__btn { display: block; width: 100%; padding: var(--space-xs) var(--space-xs) var(--space-lg); border: 0; border-radius: var(--radius-clip); background: var(--color-sheet); box-shadow: var(--shadow-card); cursor: grab; text-align: left; transition: box-shadow var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.polaroid__btn:hover { box-shadow: var(--shadow-lift); transform: scale(1.04); }
.polaroid.is-held .polaroid__btn { cursor: grabbing; box-shadow: var(--shadow-lift); transform: scale(1.08); }
.polaroid__btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.polaroid__btn img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--space-3xs); pointer-events: none; user-select: none; }
.polaroid__cap { position: absolute; left: var(--space-xs); right: var(--space-xs); bottom: var(--space-2xs); font-size: 11px; line-height: 1.3; color: var(--color-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 60rem) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); } .polaroid { --jx: 0px !important; --jy: 0px !important; } }
.lightbox { max-width: min(92vw, 1100px); max-height: 92svh; padding: var(--space-md); border: 0; border-radius: var(--radius-card); background: var(--color-sheet); box-shadow: var(--shadow-lift); }
.lightbox::backdrop { background: var(--color-scrim); }
.lightbox[open] { animation: player-in var(--dur-long) var(--ease-out); }
.lightbox__in { margin: 0; }
.lightbox__in img { max-height: calc(92svh - 120px); width: auto; margin: 0 auto; border-radius: var(--radius-inner); }
.lightbox__in figcaption { margin-top: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-sm); text-align: center; }
.lightbox__close { display: flex; margin: var(--space-sm) auto 0; }

/* one reveal: sections rise in once, visible by default without script */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js [data-reveal].is-shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .walker, .toy--hat:hover svg, .toy--hat.is-tipped svg { animation: none; }
  .cloud, .portal, .toy { transition: none; }
  .plate.is-in, .player[open], .lightbox[open] { animation: none; }
  .polaroid { transition: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .plate__link:hover .plate__frame, .step:hover, .show:hover { transform: none; }
}
