mirror of
https://github.com/hanzoai/site.git
synced 2026-11-21 01:07:08 +00:00
- /affiliate had no dark rules: its #0a0a0b text and fills were black on black. Now on Hanzo's tokens (--ink, --soft, --primary/--primary-foreground chips, --x-raised/--muted cards); the black request bar stays black. - /models: the selected tab in the always-black 'Try any model' console was white on white; it now uses --primary-foreground on the pill's own fill. - The rest: selected tabs and chips whose light pill is a sibling element; the selected element now carries the pill's colour in dark. Gradient-text names (/oss, /research) declare the colour actually shown. Every rule is under html:not(.light): light mode is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdwj33XByFVTvu9bfci
346 lines
32 KiB
CSS
346 lines
32 KiB
CSS
/* Zen catalog (zc-). Deck values only (MASTER 3.1): monochrome, sizes 12/13/14/16/17/21/26/44/52/64/112, weights
|
|
400/497/606 (220 for the largest figures), radii 24 tiles · 20 art cards · 6 chips · full buttons, container 1152,
|
|
13 columns split 5/8, section padding clamp(72px, 11vw, 188px), motion 90/150/300/400/500 ms on ease-emphasis.
|
|
The Zen5 cards copy docs/build-notes/refs/hanzo-model-cards/SPEC.md. */
|
|
.zc {
|
|
--mute: light-dark(#525252, var(--muted-foreground)); --quiet: light-dark(#737373, var(--text-tertiary)); --line: var(--x-e10); --tint: light-dark(#f2f2f2, var(--muted)); --track: light-dark(#d4d4d4, var(--secondary)); /* --ink is the page's (#0a0a0a in light, Hanzo's foreground in dark) */
|
|
--graphite: #171717; --on-black: #fafafa; --on-black-2: rgba(255, 255, 255, .78); --on-black-3: rgba(255, 255, 255, .55);
|
|
--e: cubic-bezier(.16, 1, .3, 1); --eo: cubic-bezier(0, 0, .2, 1); --eio: cubic-bezier(.4, 0, .2, 1);
|
|
--pad: clamp(72px, 11vw, 188px); --gut: clamp(16px, 4vw, 32px);
|
|
background: var(--bg); color: var(--ink);
|
|
}
|
|
.zc-wrap { width: min(100% - 2 * var(--gut), 1152px); margin-inline: auto; }
|
|
.zc-sec { padding: var(--pad) 0; }
|
|
.zc-mono, .zc-kick { font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
|
|
.zc-kick { margin: 0; }
|
|
.zc-h2 { margin: 0; max-width: 18ch; font-size: 26px; font-weight: 497; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
|
|
.zc-lede-d { margin: 10px 0 0; max-width: 44ch; font-size: 17px; line-height: 1.5; color: var(--mute); text-wrap: pretty; }
|
|
.zc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 27px; }
|
|
.zc-acts .x-arrow { min-height: 44px; }
|
|
.zc-head { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 17px 24px; align-items: end; }
|
|
.zc-head > div:first-child { grid-column: 1 / span 5; }
|
|
.zc-head > .zc-side { grid-column: 6 / -1; }
|
|
|
|
/* 1. the stage: the Zen5 field on black, a rounded card inside the gutters that opens to full width as it is scrolled
|
|
(--open 0 to 1, set from scroll; clip-path only), the name at rest size with Hanzo's lede and the ask */
|
|
/* the room starts 27px under the 60px header (no white band), and ends 56px above the fold so Quick Start's terminal
|
|
already shows in the first screen */
|
|
.zc-stage { padding: 27px 0 0; }
|
|
.zc-frame { --side: max(var(--gut), calc((100% - 1152px) / 2)); --r: 24px; position: relative; height: calc(100svh - 27px - 60px - 56px); min-height: 560px; max-height: 900px; overflow: hidden; background: #000; color: var(--on-black); isolation: isolate; clip-path: inset(0 calc(var(--side) * (1 - var(--open, 0))) round calc(var(--r) * (1 - var(--open, 0)))); }
|
|
.zc-filmbox { position: absolute; inset: 0; z-index: 0; }
|
|
.zc-filmbox::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .3) 45%, transparent 70%); pointer-events: none; }
|
|
.zc-filmbox .zc-film { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .6); }
|
|
.zc-filmbox .zc-film-still { object-fit: cover; object-position: 70% 58%; }
|
|
/* JS off: the field cannot run, so there is nothing to pause */
|
|
html:not(.js) .zc-hold { display: none; }
|
|
.zc-hold { position: absolute; top: 21px; right: calc(var(--side) + 21px); z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--on-black); cursor: pointer; transition: background .15s var(--eo), transform .09s var(--eo); }
|
|
.zc-hold:active { transform: scale(.97); }
|
|
@media (hover: hover) { .zc-hold:hover { background: rgba(255, 255, 255, .14); } }
|
|
.zc-hold:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px #000; }
|
|
.zc-frame-in { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); column-gap: 24px; align-content: start; height: 100%; padding: max(44px, calc(38svh - 250px)) calc(var(--side) + clamp(21px, 4vw, 64px)) 44px; pointer-events: none; }
|
|
.zc-frame-in > * { grid-column: 1 / span 6; pointer-events: auto; }
|
|
.zc-frame-in > .zc-h1, .zc-frame-in > .zc-badge { grid-column: 1 / span 9; }
|
|
.zc-h1 { margin: 0; font-size: 52px; font-weight: 497; line-height: 1.04; letter-spacing: -.03em; color: var(--on-black); }
|
|
.zc-h1-2 { color: var(--on-black-3); }
|
|
.zc-badge { display: flex; align-items: baseline; gap: 10px; margin: 17px 0 0; font: 500 13px/1.4 var(--mono); color: var(--on-black-3); }
|
|
.zc-badge i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--on-black); transform: translateY(-1px); }
|
|
.zc-lede { margin: 27px 0 0; max-width: 44ch; font-size: 21px; line-height: 1.4; color: var(--on-black-2); text-wrap: pretty; }
|
|
.zc-lede b { color: var(--on-black); font-weight: 497; font-variant-numeric: tabular-nums; }
|
|
.zc-lede a { color: var(--on-black); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
|
|
.zc-frame-in > .zc-acts { margin-top: 27px; }
|
|
.zc-frame .x-arrow { color: var(--on-black); }
|
|
/* "Explore Models" points down the page, so its arrow drops on hover instead of nudging sideways */
|
|
.zc-frame .x-arrow[href="#zen5"] svg { transition: transform .3s var(--e); }
|
|
.zc-frame .x-arrow[href="#zen5"]:hover svg { transform: translateY(3px); }
|
|
|
|
/* 2. Quick Start: one line changes */
|
|
.zc-quick-g { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 24px; align-items: center; }
|
|
.zc-quick-t { grid-column: 1 / span 5; }
|
|
.zc-picks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 27px; }
|
|
.zc-picks .zc-mono { margin-right: 6px; }
|
|
.zc-picks button { min-height: 44px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--line); background: var(--x-raised); color: var(--mute); font: 500 14px var(--mono); cursor: pointer; transition: background .15s var(--eo), color .15s var(--eo), border-color .15s var(--eo), transform .09s var(--eo); }
|
|
@media (hover: hover) { .zc-picks button:hover { background: light-dark(#f5f5f5, var(--muted)); color: var(--ink); } }
|
|
.zc-picks button:active { transform: scale(.97); }
|
|
.zc-picks button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: light-dark(#fff, var(--primary-foreground)); }
|
|
.zc-term { grid-column: 6 / -1; margin: 0; min-width: 0; border-radius: 24px; background: var(--graphite); color: var(--on-black-2); overflow: hidden; }
|
|
.zc-term-bar { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 10px 0 21px; border-bottom: 1px solid rgba(255, 255, 255, .1); font: 500 13px var(--mono); color: var(--on-black-3); }
|
|
.zc-term-bar b { font-weight: 500; color: var(--on-black); }
|
|
.zc-term-copy { margin-left: auto; }
|
|
.zc-term-copy .x-copy { background: transparent; border-color: rgba(255, 255, 255, .14); color: var(--on-black); }
|
|
.zc-term-copy .x-copy-t { font-size: 13px; }
|
|
.zc-code { margin: 0; padding: 27px; overflow-x: auto; font: 400 14px/1.75 var(--mono); color: var(--on-black-2); }
|
|
.zc-cm { color: var(--on-black-3); }
|
|
.zc-slot { color: var(--on-black); background: rgba(255, 255, 255, .14); border-radius: 4px; padding: 1px 3px; }
|
|
.zc-slot i { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -3px; background: var(--on-black); animation: zc-blink 1s steps(2, jump-none) infinite; }
|
|
@keyframes zc-blink { 50% { opacity: 0; } }
|
|
|
|
/* 3. the figures: a list on phones; on desktop the scene pins and one figure holds the screen at a time */
|
|
.zc-figs { position: relative; }
|
|
.zc-figs-g { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 24px; }
|
|
.zc-figs-idx { display: none; }
|
|
.zc-figs-r { grid-column: 1 / -1; min-width: 0; }
|
|
.zc-figs-list { display: grid; gap: 44px; margin: 0; padding: 44px 0 var(--pad); }
|
|
.zc-fig { overflow: hidden; }
|
|
.zc-fig-in { display: flex; flex-direction: column; gap: 10px; }
|
|
.zc-fig dt { font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
|
|
.zc-fig dd { margin: 0; font-size: 64px; font-weight: 220; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
/* the lead figure's own drawing when the scene is not pinned: the 18 marks, a 56px strip under the number */
|
|
.zc-fig-art { position: relative; max-width: 480px; height: 56px; margin-top: 21px; }
|
|
.zc-fig-art .zc-fa-18 i { width: 4px; border-radius: 2px; }
|
|
.zc-figs[data-live] { height: 200svh; }
|
|
.zc-figs[data-live] .zc-figs-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
|
|
.zc-figs[data-live] .zc-figs-g { height: 100%; }
|
|
.zc-figs[data-live] .zc-figs-idx { align-self: center; }
|
|
/* one big thing per screen: the 112px figure is the moment; its drawing sits under it at a medium 220px, the index is
|
|
the small thing beside them */
|
|
.zc-figs[data-live] .zc-figs-r { grid-column: 6 / -1; display: grid; grid-template-rows: auto auto; align-content: center; gap: 44px; padding: 60px 0 0; }
|
|
/* the stage object: each figure draws its own number as data under it, crossfading as the figure cuts in */
|
|
.zc-figs-art { position: relative; height: clamp(180px, 28svh, 220px); pointer-events: none; }
|
|
.zc-figs-draw { position: absolute; inset: 0; }
|
|
.zc-fa { position: absolute; inset: 0; }
|
|
.zc-fa i { display: block; }
|
|
/* 18 models: 18 marks, the five Zen5 in ink; a wave of light runs through them */
|
|
.zc-fa-18 { display: grid; grid-template-columns: repeat(19, minmax(0, 1fr)); justify-items: center; }
|
|
.zc-fa-18 i { width: 6px; height: 100%; border-radius: 3px; background: var(--track); transform-origin: 50% 100%; animation: zc-wave 3.6s var(--eio) calc(var(--k) * .12s + .6s) infinite; }
|
|
.zc-fa-18 i[data-z] { background: var(--ink); }
|
|
@keyframes zc-wave { 0%, 60%, 100% { opacity: 1; } 30% { opacity: .35; } }
|
|
/* 2M context: the Zen5 contexts on one linear 2M ruler, a playhead sweeping it */
|
|
.zc-fa-ctx { display: grid; align-content: space-evenly; gap: 17px; --lab: 56px; }
|
|
.zc-fa-axis { position: relative; display: block; margin-left: calc(var(--lab) + 17px); height: 21px; }
|
|
.zc-fa-ticks { position: absolute; inset: auto 0 0; height: 10px; border-bottom: 1px solid var(--ink); background: repeating-linear-gradient(90deg, var(--track) 0 1px, transparent 1px 6.25%); }
|
|
.zc-fa-axis b { position: absolute; right: 0; bottom: 14px; font-weight: 500; color: var(--ink); }
|
|
.zc-fa-row { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); gap: 17px; align-items: center; }
|
|
.zc-fa-row .zc-mono { letter-spacing: .06em; }
|
|
.zc-fa-track { position: relative; display: block; height: 8px; border-radius: 4px; background: var(--tint); overflow: hidden; }
|
|
.zc-fa-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--ink); transform-origin: 0 50%; }
|
|
.zc-fa-head { position: absolute; top: 0; bottom: 0; left: calc(var(--lab) + 17px); right: 0; pointer-events: none; animation: zc-sweep 6s var(--eio) .8s infinite alternate; }
|
|
.zc-fa-head::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--quiet); }
|
|
@keyframes zc-sweep { from { transform: translateX(0); } to { transform: translateX(100%); } }
|
|
/* from $0.01: one cent of a hundred-cell dollar, the cent breathing */
|
|
.zc-fa-cents { display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(10, 1fr); gap: 4px; aspect-ratio: 1; height: 100%; right: auto; }
|
|
.zc-fa-cents i { border-radius: 3px; border: 1px solid var(--track); }
|
|
.zc-fa-cents i[data-z] { position: relative; border-color: var(--ink); background: var(--ink); }
|
|
.zc-fa-cents i[data-z]::after { content: ''; position: absolute; inset: -3px; border-radius: 6px; border: 1px solid var(--ink); animation: zc-breathe 2.4s var(--eio) .8s infinite; }
|
|
@keyframes zc-breathe { 0%, 100% { opacity: 0; transform: scale(.7); } 50% { opacity: 1; transform: none; } }
|
|
/* MoE + Dense: the five Zen5 sizes, total against active per token, on one shared scale */
|
|
.zc-fa-size { display: grid; align-content: space-evenly; gap: 21px; }
|
|
.zc-fa-srow { display: grid; grid-template-columns: 132px minmax(0, 1fr) 52px; gap: 17px; align-items: center; }
|
|
.zc-fa-n { font-size: 14px; color: var(--mute); white-space: nowrap; }
|
|
.zc-fa-srow .zc-mono { text-align: right; letter-spacing: .06em; color: var(--ink); }
|
|
.zc-fa-srow .zc-fa-tot { background: var(--track); }
|
|
.zc-fa-srow .zc-fa-act { background: var(--ink); animation: zc-wave 3.6s var(--eio) calc(var(--k) * .3s + .9s) infinite; }
|
|
/* 7 modalities: seven capsules, each filling from the floor in turn */
|
|
.zc-fa-7 { display: flex; align-items: stretch; gap: 27px; }
|
|
.zc-fa-7 i { position: relative; flex: none; width: 44px; border-radius: 999px; border: 1.5px solid var(--ink); overflow: hidden; transform-origin: 50% 100%; }
|
|
.zc-fa-7 i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; animation: zc-fill 4.2s var(--eio) calc(var(--k) * .6s + .6s) infinite; }
|
|
@keyframes zc-fill { 0%, 40%, 100% { transform: scaleY(0); } 14%, 26% { transform: none; } }
|
|
.zc-figs[data-live] .zc-figs-idx { grid-column: 1 / span 5; display: grid; gap: 10px; align-content: center; margin: 0; padding: 0; list-style: none; }
|
|
.zc-figs-idx li { display: flex; align-items: baseline; gap: 17px; min-height: 28px; padding-left: 17px; border-left: 2px solid transparent; font-size: 17px; color: var(--quiet); transition: color .3s var(--eo), border-color .3s var(--eo); }
|
|
.zc-figs-idx li[data-on] { color: var(--ink); border-left-color: var(--ink); }
|
|
.zc-figs[data-live] .zc-figs-list { padding: 0; }
|
|
.zc-figs[data-live] .zc-fig { grid-area: 1 / 1; align-self: center; }
|
|
.zc-figs[data-live] .zc-fig-in { gap: 17px; }
|
|
.zc-figs[data-live] .zc-fig dd { font-size: 112px; }
|
|
|
|
/* 4. the shelf: the SPEC model cards, then the per-token sheet */
|
|
.zc-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; margin: 44px 0 0; }
|
|
.zc-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: light-dark(#f5f5f5, var(--muted)); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
|
|
.zc-seg::-webkit-scrollbar { display: none; }
|
|
.zc-seg button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--mute); font: 500 14px var(--sans); white-space: nowrap; cursor: pointer; transition: color .15s var(--eo), transform .09s var(--eo); }
|
|
/* hover previews where the gliding ink will land: an #ededed pill grows in under the label */
|
|
.zc-seg button::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: light-dark(#ededed, var(--secondary)); opacity: 0; transform: scale(.86); transition: opacity .15s var(--eo), transform .3s var(--e); pointer-events: none; }
|
|
@media (hover: hover) {
|
|
.zc-seg button:hover:not(:disabled):not([aria-pressed='true']) { color: var(--ink); }
|
|
.zc-seg button:hover:not(:disabled):not([aria-pressed='true'])::before { opacity: 1; transform: none; }
|
|
.zc-seg button:hover:not([aria-pressed='true']) small { color: var(--ink); }
|
|
}
|
|
.zc-seg button:active:not(:disabled) { transform: scale(.97); }
|
|
.zc-seg button > span, .zc-seg button > small { position: relative; z-index: 1; }
|
|
.zc-seg button small { font: 500 13px var(--mono); color: var(--mute); font-variant-numeric: tabular-nums; }
|
|
.zc-seg button[data-t] > span { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
|
|
.zc-seg button[aria-pressed='true'], .zc-seg button[aria-pressed='true'] small { color: light-dark(#fff, var(--primary-foreground)); }
|
|
.zc-vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
.zc-ink { position: absolute; inset: 0; border-radius: 999px; background: var(--ink); }
|
|
|
|
/* the SPEC grid: 385px repeat(4, 192px), rows 220px 220px, gap 12px, the leader spanning column 1 and both rows; the
|
|
five Zen5 cards fill one band (the four others two tracks wide, two by two); below 1280px the same tracks as 2fr 1fr */
|
|
.zc-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); grid-template-rows: 220px 220px; grid-auto-rows: 220px; gap: 12px; margin: 27px 0 0; padding: 0; list-style: none; }
|
|
@media (min-width: 1280px) { .zc-grid { grid-template-columns: 385px repeat(4, 192px); margin-inline: calc((100% - 1201px) / 2); } }
|
|
.zc-cell { min-width: 0; grid-column: span 2; }
|
|
.zc-cell[data-big] { grid-column: 1; grid-row: 1 / span 2; }
|
|
.zc-grid[data-n='1'] .zc-cell[data-big] { grid-column: 1 / -1; }
|
|
.zc-grid[data-n='2'] .zc-cell:not([data-big]) { grid-column: span 4; grid-row: span 2; }
|
|
.zc-grid[data-n='3'] .zc-cell:not([data-big]) { grid-column: span 4; }
|
|
.zc-mc { position: relative; display: block; height: 100%; border-radius: 20px; background: #000; color: #fff; text-decoration: none; overflow: hidden; cursor: pointer; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
|
|
.zc-mc:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 5px var(--bg); }
|
|
.zc-mc-art { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .3); }
|
|
/* Hanzo's Zen media, never filtered or dimmed: the film fades in over its still (600 ms, the SPEC crossfade) */
|
|
.zc-mc-media { display: block; z-index: 0; overflow: hidden; }
|
|
.zc-mc-media img, .zc-mc-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
|
/* each small card frames its own part of the still (a static crop, not an animation) */
|
|
.zc-mc-still { transform: scale(var(--zc-z, 1)); transform-origin: var(--zc-o, 50% 50%); }
|
|
.zc-mc-film { z-index: 1; opacity: 0; transition: opacity .6s var(--eo); }
|
|
.zc-mc-film[data-on] { opacity: 1; }
|
|
.zc-mc-t { position: absolute; left: 21px; top: 21px; right: 21px; font-size: 22px; font-weight: 500; line-height: 28px; letter-spacing: -.44px; color: #fff; }
|
|
.zc-mc-d { position: absolute; left: 21px; top: 57px; right: 21px; font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .8); }
|
|
.zc-mc-tag { position: absolute; left: 21px; bottom: 21px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font: 500 10px/14px var(--mono); letter-spacing: .8px; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
|
|
.zc-cell[data-big] .zc-mc-t { font-size: 44px; line-height: 48px; letter-spacing: -.88px; }
|
|
.zc-cell[data-big] .zc-mc-d { top: 77px; }
|
|
/* hover answers with the model's size: total against active per token, and context, on the sheet's shared scales */
|
|
.zc-mc-sz { position: absolute; right: 21px; bottom: 26px; width: 42%; display: grid; gap: 6px; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--eo), transform .3s var(--e); }
|
|
.zc-mc-bar { position: relative; display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
|
|
.zc-mc-bar i { position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--e) .09s; }
|
|
.zc-mc-tot { background: rgba(255, 255, 255, .4); }
|
|
.zc-mc-act { background: #fff; }
|
|
.zc-mc-ctx { background: rgba(255, 255, 255, .6); }
|
|
.zc-mc:hover .zc-mc-sz, .zc-mc:focus-visible .zc-mc-sz { opacity: 1; transform: none; }
|
|
.zc-mc:hover .zc-mc-bar i, .zc-mc:focus-visible .zc-mc-bar i { transform: scaleX(var(--zc-w)); }
|
|
@media (hover: none) { .zc-mc-sz { opacity: 1; transform: none; } .zc-mc-bar i { transform: scaleX(var(--zc-w)); } }
|
|
|
|
.zc-sheet { margin-top: 72px; }
|
|
.zc-row { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 2.2fr) minmax(0, 2.6fr) minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1.4fr) 44px; gap: 17px; align-items: center; min-height: 64px; padding: 10px 0; }
|
|
.zc-row-h { min-height: 44px; border-bottom: 1px solid var(--line); font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
|
|
/* each swatch stays with its own label when the key wraps */
|
|
.zc-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 13px; letter-spacing: .06em; }
|
|
.zc-key > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
|
|
.zc-key i { flex: none; width: 14px; height: 4px; border-radius: 2px; }
|
|
.zc-k-tot { background: var(--track); } .zc-k-act { background: var(--ink); } .zc-k-ctx { background: var(--quiet); }
|
|
.zc-rows { margin: 0; padding: 0; list-style: none; }
|
|
.zc-li { position: relative; border-bottom: 1px solid var(--line); }
|
|
.zc-li::before { content: ''; position: absolute; inset: 0; background: light-dark(#f5f5f5, var(--muted)); clip-path: inset(0 100% 0 0); transition: clip-path .5s var(--e); pointer-events: none; z-index: -1; }
|
|
@media (hover: hover) and (pointer: fine) { .zc-li:hover::before { clip-path: inset(0 0 0 0); } }
|
|
.zc-rows { position: relative; z-index: 0; }
|
|
.zc-row-n { font-size: 17px; font-weight: 497; }
|
|
.zc-row-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
|
|
.zc-row-big { font-size: 21px; font-weight: 400; font-variant-numeric: tabular-nums; }
|
|
.zc-row-s, .zc-row-c, .zc-row-v { font: 400 14px var(--mono); color: var(--mute); font-variant-numeric: tabular-nums; }
|
|
.zc-row-a { font-size: 14px; color: var(--mute); }
|
|
.zc-meter { display: grid; gap: 6px; }
|
|
.zc-bar { position: relative; display: block; height: 4px; border-radius: 2px; background: var(--tint); overflow: hidden; }
|
|
.zc-bar i { position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s var(--e); }
|
|
.zc-tot { background: var(--track); }
|
|
.zc-act { background: var(--ink); }
|
|
.zc-ctx { background: var(--quiet); }
|
|
/* a hovered row lights its bars: the track, total and context step up one grey (opacity overlays) */
|
|
.zc-bar::before, .zc-tot::after, .zc-ctx::after { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .3s var(--eo); }
|
|
.zc-bar::before { background: light-dark(#e4e4e7, var(--secondary)); }
|
|
.zc-tot::after { background: light-dark(#a3a3a3, var(--muted-foreground)); }
|
|
.zc-ctx::after { background: var(--ink); }
|
|
@media (hover: hover) and (pointer: fine) { .zc-li:hover .zc-bar::before, .zc-li:hover .zc-tot::after, .zc-li:hover .zc-ctx::after { opacity: 1; } }
|
|
.zc-row-x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--x-raised); color: var(--ink); cursor: pointer; transition: background .15s var(--eo), color .15s var(--eo), transform .09s var(--eo); }
|
|
.zc-row-x svg { transition: transform .3s var(--e); }
|
|
.zc-row-x:active { transform: scale(.97); }
|
|
@media (hover: hover) { .zc-row-x:hover { background: light-dark(#f5f5f5, var(--muted)); } }
|
|
.zc-row-x[aria-expanded='true'] { background: var(--ink); border-color: var(--ink); color: light-dark(#fff, var(--primary-foreground)); }
|
|
.zc-row-x[aria-expanded='true'] svg { transform: rotate(45deg); }
|
|
.zc-row-more p { margin: 0; padding: 0 0 27px; max-width: 68ch; font-size: 16px; line-height: 1.6; color: var(--mute); }
|
|
.js .zc-li:not([data-open]) .zc-row-more { display: none; }
|
|
|
|
/* 5. the close: calm, white, centred (the one centred head), the page's own contour field behind */
|
|
/* the sheet hands over with no blank band: the close's field rises 40px under the sheet's last rule */
|
|
.zc-shelf { padding-bottom: 44px; }
|
|
/* no dead bands: Quick Start hands straight to the figures, and the Zen5 heading rises 40px over the figures' tail */
|
|
.zc-quick { padding-bottom: 44px; }
|
|
/* Quick Start rises under the hero's tail: its box overlaps the room by 40px, so the terminal starts 32px below it */
|
|
.zc-quick { margin-top: -40px; padding-top: 72px; }
|
|
.zc-shelf { position: relative; z-index: 1; margin-top: -40px; padding-top: 72px; }
|
|
.zc-end { position: relative; margin-top: -40px; padding-top: clamp(72px, 8vw, 120px); overflow: hidden; isolation: isolate; text-align: center; }
|
|
/* the close's object: a fine context ruler (minor tick per 128K, major per 1M) drifting slowly along the bottom edge */
|
|
.zc-end-rule { position: absolute; left: 0; right: 0; bottom: 44px; height: 44px; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
|
|
.zc-end-rule span { position: absolute; left: 0; top: 0; bottom: 0; width: 200%; border-bottom: 1px solid var(--track); background: repeating-linear-gradient(90deg, var(--track) 0 1px, transparent 1px 160px) 0 0 / 100% 100% no-repeat, repeating-linear-gradient(90deg, var(--track) 0 1px, transparent 1px 20px) 0 100% / 100% 14px no-repeat; animation: zc-drift 32s var(--eio) infinite alternate; }
|
|
@keyframes zc-drift { from { transform: translateX(0); } to { transform: translateX(-25%); } }
|
|
.zc-end-in { display: grid; justify-items: center; }
|
|
.zc-end-h { margin: 0; max-width: 18ch; font-size: 44px; font-weight: 497; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
|
|
.zc-end .zc-lede-d { margin: 17px auto 0; }
|
|
.zc-end .zc-acts { justify-content: center; margin-top: 27px; }
|
|
|
|
@media (max-width: 899px) {
|
|
.zc { --pad: 72px; }
|
|
.zc-stage { padding-top: var(--gut); }
|
|
.zc-frame { --r: 20px; display: flex; flex-direction: column; height: auto; min-height: 0; max-height: none; }
|
|
.zc-frame-in { order: 2; display: block; height: auto; margin-top: -44px; padding: 0 calc(var(--side) + 21px) 27px; }
|
|
/* phone: the field is a 30svh band above the type, so the first screen holds the object */
|
|
.zc-filmbox { order: 1; position: relative; inset: auto; height: 28svh; min-height: 160px; }
|
|
.zc-filmbox::after { background: linear-gradient(0deg, #000 0%, transparent 45%); }
|
|
.zc-seg { scroll-snap-type: x proximity; scroll-padding-inline: 4px; }
|
|
.zc-seg button { scroll-snap-align: start; }
|
|
/* the rail that runs past the edge shows a peek: the last pill fades out at the right, with room to scroll it clear */
|
|
.zc-seg[data-over] { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
|
|
.zc-seg[data-over]::after { content: ''; flex: none; width: 48px; }
|
|
.zc-h1 { font-size: 40px; line-height: 1.05; }
|
|
.zc-badge { margin-top: 10px; font-size: 14px; }
|
|
.zc-seg button small { font-size: 14px; }
|
|
.zc-lede { margin-top: 17px; font-size: 17px; line-height: 1.45; }
|
|
.zc-frame-in > .zc-acts { margin-top: 21px; gap: 6px 21px; }
|
|
.zc-head, .zc-quick-g { grid-template-columns: minmax(0, 1fr); gap: 17px; }
|
|
.zc-head > div:first-child, .zc-head > .zc-side, .zc-quick-t, .zc-term { grid-column: 1; }
|
|
.zc-term { border-radius: 20px; margin-top: 10px; }
|
|
.zc-term-bar { font-size: 14px; }
|
|
.zc-term-copy .x-copy-t { font-size: 14px; }
|
|
.zc-code { padding: 21px 17px; }
|
|
/* phone figures: rhythm, not five huge numbers; the lead figure at 64px, the other four two by two at 32px */
|
|
.zc-figs-list { grid-template-columns: minmax(0, 1fr) auto; gap: 27px 27px; padding: 27px 0 44px; }
|
|
.zc-fig:first-child { grid-column: 1 / -1; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
|
|
.zc-fig dd { font-size: 32px; font-weight: 400; white-space: normal; }
|
|
.zc-fig:first-child dd { font-size: 64px; font-weight: 220; }
|
|
.zc-fig-in { gap: 6px; }
|
|
.zc-shelf { padding-top: 44px; margin-top: 0; }
|
|
.zc-seg button { min-height: 44px; }
|
|
/* phone shelf: the leader full width on top (with the film), the others a snap rail under it with a 16% peek of the
|
|
next card; the leader is sticky inside the rail, so a swipe moves only the rail */
|
|
.zc-grid, .zc-grid[data-n] { grid-template-columns: none; grid-template-rows: 260px 220px; grid-auto-flow: column; grid-auto-columns: 84%; grid-auto-rows: auto; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
|
|
.zc-grid::-webkit-scrollbar { display: none; }
|
|
.zc-grid[data-n='1'] { grid-template-rows: 260px; }
|
|
.zc-cell, .zc-grid[data-n] .zc-cell:not([data-big]) { grid-column: auto; grid-row: 2; scroll-snap-align: start; }
|
|
.zc-cell[data-big], .zc-grid[data-n] .zc-cell[data-big] { grid-row: 1; grid-column: 1 / span 4; position: sticky; left: 0; width: calc(100vw - 2 * var(--gut)); }
|
|
.zc-grid[data-n='4'] .zc-cell[data-big] { grid-column: 1 / span 3; }
|
|
.zc-grid[data-n='3'] .zc-cell[data-big] { grid-column: 1 / span 2; }
|
|
.zc-grid[data-n='2'] .zc-cell[data-big], .zc-grid[data-n='1'] .zc-cell[data-big] { grid-column: 1; }
|
|
.zc-grid[data-n='2'], .zc-grid[data-n='1'] { grid-auto-columns: 100%; }
|
|
.zc-cell[data-big] .zc-mc-t { font-size: 32px; line-height: 36px; letter-spacing: -.64px; }
|
|
.zc-cell[data-big] .zc-mc-d { top: 65px; }
|
|
.zc-sheet { margin-top: 44px; }
|
|
.zc-row-h { display: none; }
|
|
.zc-row { grid-template-columns: repeat(3, minmax(0, 1fr)) 44px; grid-template-areas: 'n n n x' 'p p p p' 'm m m m' 'c a v v'; gap: 10px 17px; padding: 17px 0; }
|
|
.zc-row-n { grid-area: n; } .zc-row-x { grid-area: x; } .zc-row-p { grid-area: p; } .zc-meter { grid-area: m; }
|
|
.zc-row-c { grid-area: c; } .zc-row-a { grid-area: a; } .zc-row-v { grid-area: v; }
|
|
.zc-end-h { font-size: 32px; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.zc-slot i { animation: none; }
|
|
.zc-bar i, .zc-mc, .zc-li::before, .zc-figs-idx li, .zc-mc-sz, .zc-mc-bar i, .zc-bar::before, .zc-tot::after, .zc-ctx::after { transition: none; }
|
|
.zc-hold { display: none; } /* the field is already still: nothing to pause */
|
|
.zc-end-rule span, .zc-seg button::before { animation: none; transition: none; }
|
|
.zc-fa i, .zc-fa i::after, .zc-fa-head, .zc-mc-film, .zc-frame .x-arrow[href="#zen5"] svg { animation: none; transition: none; }
|
|
}
|
|
/* the chosen pick still answers the pointer (its ink lifts a step), and the lede's link thickens */
|
|
@media (hover: hover) {
|
|
.zc-picks button[aria-pressed='true']:hover { background: light-dark(#262626, var(--primary)); border-color: light-dark(#262626, var(--primary)); color: light-dark(#fff, var(--primary-foreground)); }
|
|
.zc-lede a:hover { text-decoration-thickness: 2px; }
|
|
}
|
|
/* phone: the sheet is a long column of rows, so a hairline draws across each row in turn (one at a time, 7.5 s round)
|
|
and the screen is never still; the rows themselves do not move */
|
|
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
|
|
.zc-rows > li { position: relative; }
|
|
.zc-rows > li::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; animation: zc-line 7.5s var(--e) infinite; }
|
|
.zc-rows > li:nth-child(2)::after { animation-delay: 1.5s; }
|
|
.zc-rows > li:nth-child(3)::after { animation-delay: 3s; }
|
|
.zc-rows > li:nth-child(4)::after { animation-delay: 4.5s; }
|
|
.zc-rows > li:nth-child(5)::after { animation-delay: 6s; }
|
|
}
|
|
@keyframes zc-line { 0% { transform: scaleX(0); opacity: 1; } 16% { transform: scaleX(1); opacity: 1; } 22%, 100% { transform: scaleX(1); opacity: 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) .zc-stage { position: relative; isolation: isolate; }
|
|
html:not(.light) .zc-stage::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) .zc-stage::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%); }
|
|
/* dark: the pressed segment carries its own ink fill (same colour as the sliding ink behind it) */
|
|
html:not(.light) .zc-seg button[aria-pressed='true'] { background: var(--ink); }
|