Files

310 lines
27 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* Zen 6 Max (zx-): the film Stage, the promises, the rack chapters, the B300/B200 sheet, the close.
Hanzo's deck only (docs/build-notes/MASTER.md 3.1): neutrals, sizes 12–112 from the scale, 1152 container, 13-column 8/5 splits,
radii 6/12/24 and 20 for art, deck durations and curves. The deck values live here as page tokens until tokens.css lands. */
.zx {
--zx-ink: var(--ink); --zx-muted: light-dark(#525252, var(--muted-foreground)); --zx-quiet: light-dark(#737373, var(--text-tertiary)); --zx-room: light-dark(#f5f5f5, var(--muted)); --zx-line: var(--x-e10);
--zx-gut: clamp(16px, 4vw, 32px); --zx-pad: clamp(72px, 11vw, 188px);
--zx-out: cubic-bezier(0, 0, .2, 1); --zx-move: cubic-bezier(.4, 0, .2, 1); --zx-emph: cubic-bezier(.16, 1, .3, 1);
--zx-press: 90ms; --zx-fast: 150ms; --zx-base: 300ms; --zx-slow: 400ms; --zx-slower: 500ms;
}
.zx-w { width: min(100% - 2 * var(--zx-gut), 1152px); margin-inline: auto; }
.zx-kick { margin: 0; font: 606 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--zx-quiet); }
.zx-lede { margin: 0; max-width: 44ch; font-size: 21px; line-height: 1.38; color: var(--zx-ink); text-wrap: pretty; }
.zx-body { margin: 17px 0 0; max-width: 64ch; font-size: 16px; line-height: 1.6; color: var(--zx-muted); text-wrap: pretty; }
.zx-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10.5px 27px; margin-top: 27px; }
.zx-acts .x-btn { height: 48px; padding: 0 27px; font-size: 16px; font-weight: 606; }
/* Stage. --k (1 → 0) and --s0 (the cover scale) drive the card and the name; the settled card is 8 of 13 columns */
.zx-stage { position: relative; height: 140svh; margin-top: -60px; } /* under the 60px header: pinned from the first frame; the settle ends as the promises arrive */
/* --s the card's scale, --l0 its resting left, --lk its left at --k. --edge is the left edge of the visible film: it wipes
from the screen's left to the resting left while --k runs 1 → .8, so the film leaves the words before the card shrinks
and the two never share pixels after that (the card clips everything left of --edge). */
.zx-stage-pin {
--k: 1; --s0: 2.26; --c: min(100vw - 2 * var(--zx-gut), 1152px); --gap: calc((100vw - var(--c)) / 2); --cw: calc(var(--c) * 8 / 13 - 6px);
--s: calc(1 + (var(--s0) - 1) * var(--k));
--l0: calc(100vw - var(--gap) - var(--cw));
--lk: calc(var(--l0) - var(--k) * (4vw + var(--l0)));
--edge: calc(-4vw + clamp(0, (1 - var(--k)) * 5, 1) * (4vw + var(--l0)));
--t0: 29svh; --h0: 62svh; /* the resting card: its bottom edge on the crumb's baseline (9svh up), 62svh tall */
--top: calc(var(--t0) + (60px - var(--t0)) * var(--k));
--fl: max(var(--edge), var(--lk)); --fr: calc(var(--lk) + var(--cw) * var(--s)); --fb: calc(var(--top) + var(--h0) * var(--s)); /* the film's visible box */
position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--bg); /* the page colour the name sits on */
}
@media (max-width: 1300px) { .zx-stage-pin { --s0: 2.05; } }
@media (max-width: 1100px) { .zx-stage-pin { --s0: 1.95; } }
@media (min-width: 1600px) { .zx-stage-pin { --s0: 2.55; } }
@media (min-width: 1800px) { .zx-stage-pin { --s0: 2.95; } }
.zx-card {
position: absolute; top: var(--t0); right: var(--gap); width: var(--cw); height: var(--h0); border-radius: 20px; overflow: hidden; background: #000;
transform-origin: 0 0;
transform: translate(calc((-4vw - (100vw - var(--gap) - var(--cw))) * var(--k)), calc((60px - var(--t0)) * var(--k))) scale(calc(1 + (var(--s0) - 1) * var(--k)));
clip-path: inset(0 0 0 max(0px, (var(--edge) - var(--lk)) / var(--s)) round calc(20px / var(--s)));
}
.zx-card .zx-film { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; background: #000; }
.zx-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(20deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 52%); } /* a gradient under the words, never a dimmed film */
/* the pause sits 17px inside the visible film's bottom-right corner at every --k (the corner is clamped to the screen) */
.zx-pause-at {
position: absolute; z-index: 2; left: 0; top: 0; mix-blend-mode: difference;
transform: translate(calc(min(var(--fr), 100vw) - 61px), calc(min(var(--fb), 100svh) - 61px));
}
.zx-pause { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: #fff; cursor: pointer; transition: transform var(--zx-fast) var(--zx-out), background-color var(--zx-fast) var(--zx-out); }
@media (hover: hover) { .zx-pause:hover { transform: scale(1.1); background-color: rgba(255, 255, 255, .1); } }
.zx-pause:active { transform: scale(.97); transition-duration: var(--zx-press); }
.zx-pause:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.zx-stage-t { position: relative; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 9svh; pointer-events: none; }
.zx-stage-t a, .zx-stage-t button { pointer-events: auto; }
.zx-stage-b { max-width: calc(var(--c) * 5 / 13); }
.zx-blend { color: var(--zx-ink); }
/* the white twin of the words over the base copy, clipped to the film's visible box, so each letter is flat ink off the
film and flat white on it and the split sits exactly on the film's edge (no blend, no shaded letters) */
.zx-onfilm {
position: absolute; inset: 0; pointer-events: none; color: #fff;
clip-path: inset(max(0px, var(--top)) max(0px, 100% - var(--fr)) max(0px, 100% - var(--fb)) max(0px, var(--fl)) round 20px);
}
.zx-onfilm .zx-stage-t { pointer-events: none; }
.zx-onfilm .x-arrow { color: #fff; }
.zx-ghost { visibility: hidden; }
.zx-onfilm .zx-crumb-a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; display: inline-flex; min-height: 24px; align-items: center; }
/* the link's hover answers on both copies */
@media (hover: hover) {
.zx-stage-pin:has(.zx-stage-t .x-arrow:hover) .zx-onfilm .x-arrow svg { transform: translateX(4px); }
.zx-stage-pin:has(.zx-stage-t .x-arrow:hover) .zx-onfilm .x-arrow span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
}
/* the name: laid out at 112px, the moment while the film fills the screen, then it settles to its resting 52px */
.zx-name { margin: 0; width: max-content; max-width: calc(100vw - 2 * var(--zx-gut)); font-size: 112px; font-weight: 497; line-height: 1; letter-spacing: -.04em; transform-origin: 0 100%; transform: scale(calc(.4643 + .5357 * var(--k))); }
.zx-name .x-line { padding: .04em 0 .08em; }
.zx-sub { margin: 17px 0 0; max-width: 30ch; font-size: 21px; line-height: 1.38; text-wrap: pretty; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
.js .zx-acts[data-over] .x-btn.solid { background: #f5f5f5; border-color: #f5f5f5; color: #0a0a0a; }
}
/* on the film the ask inverts to ink with a white ring on hover, so the answer reads against the moving picture */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) and (hover: hover) { .js .zx-acts[data-over] .x-btn.solid:hover { background: #0a0a0a; border-color: #fff; color: #fff; } }
.zx-crumb ol { display: flex; gap: 10.5px; margin: 27px 0 0; padding: 0; list-style: none; font-size: 13px; }
.zx-crumb li + li::before { content: '/'; margin-right: 10.5px; opacity: .55; }
.zx-crumb a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; display: inline-flex; min-height: 24px; align-items: center; }
/* the promises: the router drawing (8 of 13, pinned) beside the four rows (5 of 13); the row at mid-screen sets it */
.zx-prom { padding: 72px 0 116px; }
.zx-prom-g { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 44px; }
.zx-prom-art { position: sticky; top: calc(50svh - 200px); align-self: start; }
.zx-prom-l { list-style: none; padding: 0; margin-block: 0; }
.zx-prom-l li { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 34svh; padding: 27px 0; border-top: 1px solid var(--zx-line); }
.zx-prom-l li:last-child { border-bottom: 1px solid var(--zx-line); }
.zx-prom-l li::after { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--zx-ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--zx-slower) var(--zx-emph); } /* a hairline draws across the row in view and under the pointer */
.zx-prom-l li[data-on]::after { transform: none; }
@media (hover: hover) { .zx-prom-l li:hover::after { transform: none; } }
.zx-prom-l h2 { margin: 0; display: flex; align-items: baseline; gap: 17px; font-size: 26px; font-weight: 497; letter-spacing: -.02em; line-height: 1.15; transition: color var(--zx-base) var(--zx-out); }
.zx-idx { flex: none; font: 606 12px/1 var(--mono); letter-spacing: .14em; color: var(--zx-quiet); }
.zx-prom-l p { margin: 10.5px 0 0 46px; max-width: 36ch; font-size: 17px; line-height: 1.5; color: var(--zx-muted); transition: color var(--zx-base) var(--zx-out); }
@media (min-width: 900px) { .js .zx-prom-l li:not([data-on]) h2, .js .zx-prom-l li:not([data-on]) p { color: var(--zx-quiet); } }
/* the router drawing: one quiet-room card, five stacked layers in one viewBox */
.zx-rt { position: relative; aspect-ratio: 640 / 440; border-radius: 24px; background: var(--zx-room); overflow: hidden; }
.zx-rt-l { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.zx-rt path, .zx-rt-node { fill: none; stroke: var(--zx-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.zx-rt-fan { clip-path: inset(0 84% 0 0); transition: clip-path var(--zx-slower) var(--zx-emph); }
.zx-rt[data-seen] .zx-rt-fan { clip-path: inset(0); }
.zx-rt-fan path { transition: opacity var(--zx-slow) var(--zx-move); }
.zx-rt:not([data-at='0']) .zx-rt-fan path:not(.pick) { opacity: .18; }
.zx-rt-src, .zx-rt-dot, .zx-rt-lit, .zx-rt-fill, .zx-rt-term, .zx-rt-caret { fill: var(--zx-ink); }
.zx-rt-ring { fill: none; stroke: var(--zx-ink); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.zx-rt[data-seen] .zx-rt-ring { animation: zx-pulse 2.4s var(--zx-out) 3; } /* the one name breathes three times on arrival */
@keyframes zx-pulse { from { opacity: .5; transform: scale(.65); } to { opacity: 0; transform: scale(1.35); } }
.zx-rt-dot { opacity: 0; transition: transform var(--zx-slower) var(--zx-emph), opacity var(--zx-fast) var(--zx-out); }
.zx-rt:not([data-at='0']) .zx-rt-dot { opacity: 1; transform: translateX(224px); }
.zx-rt-lit { opacity: 0; transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(.3); transition: opacity var(--zx-base) var(--zx-out), transform var(--zx-slow) var(--zx-emph); }
.zx-rt:not([data-at='0']) .zx-rt-lit { opacity: 1; transform: none; transition-delay: .3s; }
.zx-rt-ctx { opacity: 0; transition: opacity var(--zx-base) var(--zx-out); }
.zx-rt-track { fill: light-dark(rgba(0, 0, 0, .08), var(--border)); }
.zx-rt-fill { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); transition: transform var(--zx-slower) var(--zx-emph); }
.zx-rt:is([data-at='2'], [data-at='3']) .zx-rt-ctx { opacity: 1; }
.zx-rt:is([data-at='2'], [data-at='3']) .zx-rt-fill { transform: none; transition-delay: .15s; }
.zx-rt-tool { clip-path: inset(0 33% 0 0); transition: clip-path var(--zx-slower) var(--zx-emph); }
.zx-rt[data-at='3'] .zx-rt-tool { clip-path: inset(0); }
.zx-rt .zx-rt-chev { stroke: light-dark(#fafafa, var(--primary-foreground)); } /* on the ink terminal, which turns light in dark */
.zx-rt-code { fill: light-dark(rgba(255, 255, 255, .55), var(--primary-foreground)); }
.zx-rt-caret { fill: light-dark(#fafafa, var(--primary-foreground)); }
.zx-rt[data-at='3'] .zx-rt-caret { animation: zx-blink 1s steps(1) .5s 4; } /* blinks four times, then rests lit */
@keyframes zx-blink { 50% { opacity: 0; } }
/* the rack chapters: steps 5 of 13, the pinned panel 8 of 13 */
.zx-dep { padding: 0 0 var(--zx-pad); }
.zx-dep-head { padding-bottom: 44px; }
.zx-h2 { margin: 0; font-size: 26px; font-weight: 497; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.zx-under { margin-top: 10.5px; }
.zx-ch { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 27px; margin-top: -84px; } /* the panel rises 40px beside the head (MASTER 3: old and new overlap by 40px) */
.zx-steps { padding: 6svh 0 10svh; }
.zx-step { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; padding-right: 27px; opacity: .22; transition: opacity var(--zx-slow) var(--zx-move); }
.zx-step[data-on] { opacity: 1; }
.zx-step-t { margin: 0; font-size: 26px; font-weight: 497; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.zx-four { color: var(--zx-ink); }
.zx-pin { position: sticky; top: 14svh; align-self: start; }
.zx-panel { border-radius: 24px; background: #0a0a0a; color: #fafafa; overflow: hidden; }
html:not(.light) .zx-panel { box-shadow: inset 0 0 0 1px var(--border); } /* the black rack panel keeps its black; in dark Hanzo's border holds it off the page */
.zx-bar { display: flex; align-items: center; justify-content: space-between; gap: 10.5px; padding: 10.5px 17px 10.5px 10.5px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.zx-seg { display: flex; gap: 4px; padding: 6px; border-radius: 12px; background: #171717; }
.zx-chip { min-height: 36px; padding: 0 17px; border-radius: 6px; border: 1px solid transparent; background: transparent; color: rgba(255, 255, 255, .78); font: 606 14px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color var(--zx-fast) var(--zx-out), color var(--zx-fast) var(--zx-out), border-color var(--zx-fast) var(--zx-out), transform var(--zx-fast) var(--zx-out); }
@media (hover: hover) { .zx-chip:hover { color: #fafafa; background: rgba(255, 255, 255, .08); } }
.zx-chip:active { transform: scale(.97); transition-duration: var(--zx-press); }
.zx-chip[aria-checked='true'], .zx-chip[aria-pressed='true'] { background: #fafafa; color: #0a0a0a; border-color: #fafafa; }
.zx-chip.sm { border-color: rgba(255, 255, 255, .14); }
.zx-chip:focus-visible, .zx-col:focus-visible, .zx-drawer-b:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.zx-bar-n { font: 606 12px/1 var(--mono); letter-spacing: .14em; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.zx-racks { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: 17px; padding: 27px 27px 17px; }
.zx-rack-a { position: relative; }
.zx-rack { display: grid; gap: 10.5px; }
.zx-slot { min-width: 0; border-radius: 12px; background: rgba(255, 255, 255, .03); }
.zx-rack.twin .zx-slot { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 6px, transparent 6px 12px); }
.zx-srv { display: grid; gap: 10.5px; padding: 10.5px 12px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.zx-srv-n { font: 606 12px/1 var(--mono); letter-spacing: .14em; color: rgba(255, 255, 255, .55); }
.zx-gpus { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.zx-gpus i { height: 16px; border-radius: 4px; background: rgba(255, 255, 255, .08); transition: background-color var(--zx-slow) var(--zx-emph); }
.zx-rack[data-go] .zx-gpus i { background: rgba(255, 255, 255, .92); }
.zx-racks[data-plan='1'] .zx-rack[data-go] .zx-gpus i[data-p='1'], .zx-racks[data-plan='2'] .zx-rack[data-go] .zx-gpus i[data-p='1'] { background: rgba(255, 255, 255, .55); }
.zx-racks[data-plan='1'] .zx-rack[data-go] .zx-gpus i[data-p='2'], .zx-racks[data-plan='2'] .zx-rack[data-go] .zx-gpus i[data-p='2'] { background: rgba(255, 255, 255, .3); }
.zx-brk { position: absolute; left: -12px; top: 0; bottom: 0; width: 6px; border: 1px solid rgba(255, 255, 255, .78); border-right: 0; border-radius: 4px 0 0 4px; opacity: 0; transform: scaleY(.6); transition: opacity var(--zx-slow) var(--zx-move), transform var(--zx-slower) var(--zx-emph); }
.zx-racks[data-q] .zx-brk { opacity: 1; transform: none; }
.zx-domain { width: 1px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .55) 0 6px, transparent 6px 12px); opacity: .3; transition: opacity var(--zx-slow) var(--zx-move); }
.zx-racks[data-plan='2'] .zx-domain { opacity: 1; }
.zx-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 17px 27px; padding: 4px 27px 27px; }
.zx-total { margin: 0; display: grid; gap: 10.5px; }
.zx-num { font-size: 64px; font-weight: 220; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.zx-total > span:last-child { font: 606 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.zx-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.zx-mini { display: none; }
.zx-mini-n { display: flex; align-items: baseline; justify-content: space-between; gap: 10.5px; margin: 0; padding: 0 17px 17px; }
.zx-mini-n > span:first-child { font-size: 32px; font-weight: 220; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.zx-mini-n > span:last-child { font: 606 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.zx-plan-l { flex-basis: 100%; margin: 0 0 4px; font: 606 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
/* Beyond: the sheet, on the quiet room; totals over their columns, the DataTable under them */
.zx-spec { padding: var(--zx-pad) 0; background: var(--zx-room); }
.zx-figs, .zx-srcs { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 5fr); gap: 27px; }
/* the picked server's total is the one big figure; the other rests at half size and grows in when its column is
picked (a preview to three quarters while its column is under the pointer). Scale only, so nothing reflows. */
.zx-fig { font-size: 64px; font-weight: 220; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--zx-quiet); transition: color var(--zx-base) var(--zx-out); }
.zx-fig > span { display: inline-block; transform-origin: 0 100%; transform: scale(.5); transition: transform var(--zx-slower) var(--zx-emph); }
.zx-fig[data-on] { color: var(--zx-ink); }
.zx-fig[data-on] > span { transform: none; }
/* it arrives: the picked figure holds at half size until the sheet is well in view, then grows (500 ms, ease-emphasis) */
@media (prefers-reduced-motion: no-preference) { .js .zx-figs:not([data-seen]) .zx-fig > span { transform: scale(.5); } }
.zx-fig[data-peek] { color: var(--zx-muted); }
.zx-fig[data-peek] > span { transform: scale(.75); }
@media (hover: hover) and (pointer: fine) {
.zx-sheet:has(thead th:nth-child(2) .zx-col[aria-pressed='false']:hover) tbody tr > :nth-child(2),
.zx-sheet:has(thead th:nth-child(3) .zx-col[aria-pressed='false']:hover) tbody tr > :nth-child(3) { background-color: light-dark(rgba(0, 0, 0, .04), var(--secondary)); }
}
.zx-sheet { margin-top: 27px; background: transparent; }
.zx-sheet table { width: 100%; table-layout: fixed; }
.zx-sheet caption { caption-side: top; padding: 0 0 17px; text-align: left; font-size: 13px; color: var(--zx-muted); }
.zx-sheet th:first-child { width: 23%; }
.zx-sheet th, .zx-sheet td { font-size: 16px; }
.zx-sheet thead th { vertical-align: bottom; }
.zx-col { display: block; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: var(--zx-ink); text-align: left; cursor: pointer; font-size: 26px; font-weight: 497; letter-spacing: -.02em; transition: color var(--zx-fast) var(--zx-out), transform var(--zx-fast) var(--zx-out); }
.zx-col[aria-pressed='false'] { color: var(--zx-quiet); }
@media (hover: hover) { .zx-col[aria-pressed='false']:hover { color: var(--zx-muted); } }
.zx-col:active { transform: scale(.97); transition-duration: var(--zx-press); }
.zx-srcs { margin-top: 17px; }
.zx-srcs .x-arrow { font-size: 14px; color: var(--zx-muted); align-items: flex-start; }
.zx-srcs .x-arrow svg { flex: none; margin-top: 3px; }
.zx-drawer { margin-top: 44px; border-top: 1px solid var(--zx-line); border-bottom: 1px solid var(--zx-line); }
.zx-drawer-b { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 17px; min-height: 72px; padding: 0; border: 0; background: none; color: var(--zx-ink); font: 497 21px/1.2 var(--sans); text-align: left; cursor: pointer; transition: transform var(--zx-fast) var(--zx-out); }
.zx-drawer-b:active { transform: scale(.99); transition-duration: var(--zx-press); }
.zx-drawer-b i { position: relative; flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--x-raised); transition: transform var(--zx-base) var(--zx-move); }
@media (hover: hover) { .zx-drawer-b:hover i { transform: rotate(90deg); } .zx-drawer-b:hover i[data-open] { transform: rotate(45deg); } }
.zx-drawer-b i::before, .zx-drawer-b i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; border-radius: 1px; background: var(--zx-ink); }
.zx-drawer-b i::after { transform: rotate(90deg); }
.zx-drawer-b i[data-open] { transform: rotate(45deg); }
.zx-drawer-p ul { list-style: none; margin: 0; padding: 0 0 27px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 27px; }
.zx-drawer-p li { padding: 17px 0; border-top: 1px solid var(--zx-line); font-size: 16px; line-height: 1.5; animation: zx-in var(--zx-base) var(--zx-emph) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes zx-in { from { opacity: 0; transform: translateY(16px); } }
/* the close: art card 5 of 13, statement 8 of 13 */
.zx-spec { padding-bottom: 72px; }
.zx-close { position: relative; margin-top: -40px; padding: 0 0 var(--zx-pad); } /* one section step: the close's card rises 40px into the sheet's room */
.zx-close-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 27px; align-items: end; }
.zx-close-art { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; background: light-dark(#e4e4e7, var(--muted)); overflow: hidden; }
.zx-sig { position: absolute; inset: 0; width: 100%; height: 100%; color: light-dark(rgba(0, 0, 0, .55), var(--muted-foreground)); }
.zx-close-t { padding: 0 0 4px 44px; }
.zx-state { margin: 0; max-width: 32ch; font-size: 26px; font-weight: 497; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
@media (max-width: 899px) {
.zx-stage { height: auto; margin-top: 0; }
.zx-stage-pin { --k: 0 !important; position: relative; height: auto; overflow: visible; display: flex; flex-direction: column; }
.zx-stage-t { height: auto; display: block; padding: 116px 0 0; }
.zx-stage-b { max-width: none; }
.zx-blend { mix-blend-mode: normal; color: var(--zx-ink); }
.zx-name { font-size: 44px; transform: none; }
.zx-sub { font-size: 17px; }
.zx-sub.zx-blend { color: var(--zx-muted); }
.zx-onfilm { display: none; }
.zx-crumb ol { margin-top: 6px; }
.zx-crumb li { display: inline-flex; align-items: center; min-height: 44px; }
.zx-crumb a { min-height: 44px; } /* a whole thumb target, by height only */
.zx-acts .x-arrow { min-height: 44px; display: inline-flex; align-items: center; }
.zx-card { position: relative; order: 2; top: auto; right: auto; width: calc(100% - 2 * var(--zx-gut)); height: auto; aspect-ratio: 4 / 5; max-height: 45svh; margin: 27px auto 0; transform: none; clip-path: none; }
.zx-pause-at { top: auto; left: auto; bottom: 10.5px; right: calc(var(--zx-gut) + 10.5px); transform: none; }
.zx-prom { padding: 72px 0; }
.zx-prom-g { grid-template-columns: minmax(0, 1fr); gap: 17px; }
/* the drawing rides under the header while the rows scroll beneath it, so each row changes it as it reaches mid-screen */
.zx-prom-art { position: sticky; top: 76px; z-index: 2; height: 34svh; padding-bottom: 10.5px; background: var(--bg); display: flex; justify-content: center; }
.zx-rt { border-radius: 20px; width: 100%; height: 100%; aspect-ratio: auto; }
.zx-prom-l li { min-height: 30svh; padding: 27px 0; }
.js .zx-prom-l li:not([data-on]) h2, .js .zx-prom-l li:not([data-on]) p { color: var(--zx-quiet); }
.zx-prom-l p { margin-left: 0; }
.zx-ch { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 0; }
.zx-pin { order: -1; position: static; margin-top: 0; }
.zx-steps { padding: 17px 0 0; }
.zx-step { min-height: 0; opacity: 1; padding: 27px 0 0; }
.zx-mini { display: block; margin-top: 17px; }
.zx-panel { border-radius: 24px; }
.zx-chip { min-height: 44px; padding: 0 12px; }
.zx-racks { gap: 10.5px; padding: 17px 17px 10.5px; }
.zx-brk { left: -8px; width: 4px; }
.zx-rack { gap: 6px; }
.zx-slot, .zx-srv { border-radius: 8px; }
.zx-srv { gap: 6px; padding: 8px; }
.zx-srv-n { display: none; }
.zx-gpus { gap: 3px; }
.zx-gpus i { height: 12px; border-radius: 2px; }
.zx-foot { padding: 4px 17px 17px; gap: 10.5px; }
.zx-num { font-size: 44px; }
.zx-plan { width: 100%; min-width: 0; } /* wraps (the base rule): every planning button whole, nothing past the card */
.zx-racks { max-width: 100%; min-width: 0; }
.zx-slot { min-width: 0; overflow: hidden; } /* a server slides in inside its own slot */
.zx-figs, .zx-srcs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 17px; }
.zx-figs > span:first-child, .zx-srcs > span:first-child { display: none; }
.zx-fig { font-size: 32px; }
.zx-col { font-size: 21px; }
.zx-sheet th, .zx-sheet td { font-size: 14px; white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.zx-sheet th:first-child { width: 30%; }
.zx-drawer-b { font-size: 17px; min-height: 72px; }
.zx-drawer-p ul { grid-template-columns: minmax(0, 1fr); }
.zx-close-g { grid-template-columns: minmax(0, 1fr); gap: 27px; }
.zx-close-art { aspect-ratio: 16 / 11; }
.zx-close-t { padding: 0; }
.zx-state { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
.zx-stage { height: auto; }
.zx-stage-pin { --k: 0 !important; height: 100svh; min-height: 640px; }
.zx-step, .zx-gpus i, .zx-brk, .zx-domain, .zx-col, .zx-drawer-b i, .zx-fig, .zx-fig > span { transition: none; }
.zx-drawer-p li { animation: none; }
.zx-rt *, .zx-rt-l, .zx-prom-l li::after, .zx-prom-l h2, .zx-prom-l p, .zx-pause { transition: none !important; animation: none !important; }
.zx-rt-fan { clip-path: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 899px) { .zx-stage-pin { height: auto; min-height: 0; } }
/* Hanzo's dark hero texture, as measured from live hanzo.ai dark (lead's recipe, 8 Nov): 7px dot grid at ~36% foreground,
densest at the left/right edges and toward the bottom, plus live's top glow. Dark only, so bright is untouched. */
html:not(.light) .zx-stage-pin { isolation: isolate; }
html:not(.light) .zx-stage-pin::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
background: radial-gradient(circle, color-mix(in srgb, var(--foreground) 36%, transparent) 1.5px, transparent 2.1px) 0 0 / 7px 7px;
-webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .15) 32%, rgba(0, 0, 0, .15) 64%, #000), linear-gradient(180deg, rgba(0, 0, 0, .25), #000 85%);
-webkit-mask-composite: source-in;
mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .15) 32%, rgba(0, 0, 0, .15) 64%, #000), linear-gradient(180deg, rgba(0, 0, 0, .25), #000 85%);
mask-composite: intersect; }
html:not(.light) .zx-stage-pin::after { content: ''; position: absolute; inset: 0 0 auto; height: 640px; z-index: -1; pointer-events: none;
background: radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--foreground) 9%, transparent), transparent 70%); }