mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
- Home: product mockups stay dark; their green/red diff lines, POST labels and Posted badge keep the same colours, written as the rgb Hanzo's color-mix() resolves to in dark; the GitHub mark on its dark tile uses var(--foreground). - /tag, /brand: labels on light chips and the Hanzo White sample use --neutral-600 / --x-on-ink / --primary-foreground; swatch colours unchanged. - /bot, /hsm: dimmed names use --text-tertiary instead of white at 30%. - /comparison, /iro, /koe, /koma: secondary lines in dark rooms use --muted-foreground. - /slack, /skills, /machines, /hsm, /brand, /press: selected tabs and pills drawn by a sibling or ::before; the selected element now carries the same colour in dark. 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
358 lines
34 KiB
CSS
358 lines
34 KiB
CSS
/* ---------- skills (v2): paper, ink and a grey highlighter ---------- */
|
|
/* deck only: greys, black, white; ease-out for hover and colour, ease-in-out for things that move and stay,
|
|
ease-emphasis for arrivals; 90/150/300/400/500 ms, scene moves (the highlighter, a wipe) 900 ms. */
|
|
.xsk { --paper: var(--x-sunk); --hl: light-dark(#e4e4e7, var(--border-strong)); --e-out: cubic-bezier(0, 0, .2, 1); --e-io: cubic-bezier(.4, 0, .2, 1); --e-em: cubic-bezier(.16, 1, .3, 1); }
|
|
.xsk mark { background-color: transparent; color: inherit; }
|
|
:is(.xsk-scene.on, .xsk-pt-vis.on) { --on: 1; }
|
|
|
|
/* asks: the arrow nudges toward where it goes, the press gives */
|
|
.xsk-ask { gap: 8px; transition: transform .09s var(--e-out); }
|
|
.xsk-arw { flex: none; transition: transform .15s var(--e-out); }
|
|
.xsk-ask:active { transform: scale(.98); }
|
|
@media (hover: hover) { .xsk-ask:hover .xsk-arw { transform: translate(3px, -3px); } }
|
|
|
|
/* hero */
|
|
.xsk-hero { padding: clamp(112px, 14vh, 160px) 0 clamp(96px, 10vw, 160px); }
|
|
.xsk-hero-grid { align-items: center; row-gap: 56px; }
|
|
.xsk-hero-copy { grid-column: 1 / span 5; }
|
|
.xsk-h1 { font-size: clamp(64px, 7.6vw, 112px); }
|
|
.xsk-h1-set { transform-origin: 0 100%; } /* settles toward the lede as the page scrolls */
|
|
/* the h1's cut-in runs on the server-rendered line from first paint (an animation outranks the inline start offset),
|
|
so the h1 never waits for hydration; with JS off Lines' rule shows it at rest */
|
|
.xsk-h1 .a2-ln-in { animation: xsk-cut .7s var(--e-em) .15s both; }
|
|
@keyframes xsk-cut { from { transform: translateY(105%); } to { transform: none; } }
|
|
html:not(.js) .xsk-hero-obj { transform: none !important; }
|
|
.xsk-hero-copy .a2-lede { margin: 28px 0 36px; color: var(--ink); }
|
|
.xsk-hero-copy .a2-lede mark { background: linear-gradient(transparent 55%, var(--hl) 55%, var(--hl) 92%, transparent 92%); }
|
|
.xsk .a2-acts .x-btn.solid { background: var(--ink); }
|
|
@media (hover: hover) { .xsk .a2-acts .x-btn.solid:hover { background: light-dark(#262626, var(--primary)); border-color: light-dark(#262626, var(--primary)); } }
|
|
.xsk-repo-cap { margin: 10px 0 0; font-size: 13px; }
|
|
.xsk-repo { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: light-dark(#d4d4d4, var(--border-strong)); }
|
|
@media (hover: hover) { .xsk-repo:hover { color: var(--ink); text-decoration-color: currentColor; } }
|
|
.xsk-hero-obj { grid-column: 6 / span 7; }
|
|
.xsk-wake { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
|
|
.xsk-file { --tx: 0deg; --ty: 0deg; padding: 28px; border-radius: var(--r-hero); background: var(--paper); border: 1px solid var(--line); transform: perspective(1200px) rotate(-1.2deg) rotateX(var(--ty)) rotateY(var(--tx)); transition: transform .3s var(--e-out); }
|
|
.xsk-file-top { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: 13px; color: var(--faint); }
|
|
.xsk-file-top span:first-child { color: var(--ink); font-weight: 500; }
|
|
.xsk-fm { margin: 0 0 18px; font-size: 14.5px; line-height: 1.9; color: var(--ink); white-space: pre-wrap; }
|
|
.xsk-fm .d { color: var(--faint); } .xsk-fm .k { color: light-dark(#737373, var(--text-tertiary)); }
|
|
.xsk-prose { display: grid; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--soft); }
|
|
.xsk-prose b { font-weight: 600; color: var(--ink); font-family: var(--mono); font-size: 14px; }
|
|
.xsk-links { display: grid; gap: 6px; margin-top: 20px; font-size: 13px; color: var(--soft); }
|
|
.xsk-agent { --acc: #fafafa; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-hero); background: #0a0a0a; color: #fafafa; }
|
|
.xsk-say { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: 14px; background: #171717; font-size: 17px; }
|
|
.xsk-caret-k { color: #fafafa; }
|
|
.xsk-caret { width: 2px; height: 20px; background: #fafafa; animation: xsk-blink 1s steps(1) infinite; }
|
|
@keyframes xsk-blink { 50% { opacity: 0; } }
|
|
.xsk-shelf { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
|
|
.xsk-shelf li { position: relative; isolation: isolate; display: flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); color: #a3a3a3; transition: transform .4s var(--e-em); }
|
|
.xsk-shelf li::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: #fafafa; opacity: 0; transition: opacity .3s var(--e-out); }
|
|
.xsk-shelf li.on { color: #000; transform: translateX(8px); transition: transform .4s var(--e-em), color 0s .09s; }
|
|
.xsk-shelf li.on::before { opacity: 1; }
|
|
.xsk-shelf li.blank i { display: block; width: 46%; height: 7px; border-radius: 4px; background: #262626; }
|
|
/* the label sits under the tray, so the sheets drop in from above without crossing it */
|
|
.xsk-tray { margin-top: auto; display: flex; flex-direction: column-reverse; }
|
|
.xsk-tray .x-mono { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #a3a3a3; }
|
|
.xsk-tray-in { display: flex; gap: 6px; align-items: center; height: 40px; padding: 6px; border-radius: 12px; background: #171717; }
|
|
.xsk-base { width: 18%; height: 100%; border-radius: 7px; background: #404040; }
|
|
.xsk-sheet { width: 16%; height: 100%; border-radius: 7px; background: #fafafa; transform: translateY(-56px) rotate(-8deg); opacity: 0; transition: transform .5s var(--e-em), opacity .3s var(--e-out); }
|
|
.xsk-sheet.in { transform: none; opacity: 1; }
|
|
|
|
/* the trade: heading left, one long file against five small ones on the right, both in a context track */
|
|
.xsk-trade { background: var(--paper); padding: clamp(72px, 8vw, 116px) 0; }
|
|
.xsk-trade-grid { align-items: end; row-gap: 44px; }
|
|
.xsk-trade-h { grid-column: 1 / span 4; max-width: none; }
|
|
.xsk-bars { grid-column: 6 / span 7; display: grid; gap: 20px; }
|
|
.xsk-bar-row { display: grid; gap: 10px; }
|
|
.xsk-bar-row .x-mono { font-size: 13px; color: var(--soft); }
|
|
.xsk-track { height: 72px; padding: 8px; border-radius: 16px; background: light-dark(#ededed, var(--muted)); }
|
|
.xsk-mono { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; height: 100%; padding: 12px 14px; border-radius: 10px; background: light-dark(#d4d4d4, var(--secondary)); transform-origin: 0 50%; }
|
|
.xsk-mono i, .xsk-sc-mono i { display: block; background: repeating-linear-gradient(to bottom, light-dark(#a3a3a3, var(--border-strong)) 0 3px, transparent 3px 9px); border-radius: 2px; }
|
|
.xsk-five { display: flex; gap: 8px; height: 100%; }
|
|
.xsk-five b { --g: clamp(0, calc(var(--f) * 5 - var(--k)), 1); width: 9%; display: grid; align-content: center; gap: 5px; padding: 0 8px; border-radius: 10px; background: var(--ink); transform-origin: 50% 100%; transform: translateY(calc((1 - var(--g)) * 24px)) scale(var(--g)); opacity: var(--g); }
|
|
.xsk-five b i, .xsk-sc-five b i { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
|
|
.xsk-five b i:last-child, .xsk-sc-five b i:last-child { width: 60%; }
|
|
.xsk-track-k { margin: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
|
|
|
|
/* the six points: words on the left, one pinned panel on the right */
|
|
.xsk-essay { padding: clamp(72px, 8vw, 116px) 0 clamp(44px, 5vw, 72px); }
|
|
.xsk-essay-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 5vw, 72px); }
|
|
.xsk-points { list-style: none; margin: 0; padding: 0; }
|
|
.xsk-pt { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
|
|
.xsk-pt-copy .a2-headline { margin-bottom: 10px; }
|
|
.xsk-cap.a2-kick.show { margin: 0 0 22px; font-size: 12px; }
|
|
.xsk-pt-copy .a2-body { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink); }
|
|
.xsk-pt-copy code { padding: 2px 6px; border-radius: 6px; background: var(--card); font: 500 .82em/1.4 var(--mono); overflow-wrap: anywhere; }
|
|
.xsk-hl { background-image: linear-gradient(var(--hl), var(--hl)); background-repeat: no-repeat; background-size: 0% 82%; background-position: 0 70%; transition: background-size .9s var(--e-em); padding: 0 2px; }
|
|
.xsk-hl.on { background-size: 100% 82%; }
|
|
.xsk-cmd { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 14px 14px 14px 18px; border-radius: var(--r-card); background: #0a0a0a; color: #fafafa; }
|
|
.xsk-cmd code { flex: 1; min-width: 0; font-size: 14.5px; background: none; padding: 0; overflow-wrap: anywhere; }
|
|
.xsk-cmd .x-copy { flex: none; background: #171717; border-color: rgba(255, 255, 255, .14); color: #d4d4d4; height: 44px; padding: 0 16px; }
|
|
.xsk .a2-paste-box .x-copy { height: 44px; }
|
|
.xsk-pt-vis { display: none; }
|
|
@media (min-width: 901px) {
|
|
.xsk-pt { opacity: .5; transition: opacity .4s var(--e-out); }
|
|
.xsk-pt.on { opacity: 1; }
|
|
}
|
|
.xsk-stage { min-width: 0; }
|
|
.xsk-stage-in { position: sticky; top: max(88px, calc(50svh - 270px)); height: 540px; display: grid; }
|
|
/* the progress ticks live inside the panel's bottom edge, so they leave with it when the stage unpins */
|
|
.xsk-scenes { position: relative; display: grid; border-radius: var(--r-hero); background: light-dark(#f5f5f5, var(--x-raised)); overflow: hidden; }
|
|
/* one scene at a time: the outgoing one leaves in 150 ms, the incoming one starts only after it is gone */
|
|
.xsk-scene { grid-area: 1 / 1; display: grid; place-items: center; padding: 40px 40px 60px; opacity: 0; transform: translateY(24px); transition: opacity .15s var(--e-out), transform .15s var(--e-out); }
|
|
.xsk-scene.past { transform: translateY(-16px); }
|
|
.xsk-scene.on { opacity: 1; transform: none; transition: opacity .3s var(--e-out) .15s, transform .5s var(--e-em) .15s; }
|
|
.xsk-ticks { position: absolute; left: 40px; right: 40px; bottom: 26px; display: flex; gap: 6px; }
|
|
.xsk-ticks b { position: relative; flex: 1; height: 2px; border-radius: 2px; background: light-dark(#d4d4d4, var(--secondary)); overflow: hidden; }
|
|
.xsk-ticks b::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--e-em); }
|
|
.xsk-ticks b.on::after { transform: none; }
|
|
|
|
/* the scenes: each starts in its before state and plays to its after state when its panel is on */
|
|
.xsk-sc { width: 100%; max-width: 460px; }
|
|
/* 01: the frontmatter close up. The file zooms in, its numbered lines wipe in one by one, then the grey
|
|
highlighter strikes the name and the description, the two things frontmatter carries. */
|
|
.xsk-zoom { padding: 24px 28px 28px; border-radius: var(--r-card); background: var(--x-raised); border: 1px solid var(--line); transform-origin: 0 0; transform: scale(calc(.92 + var(--on, 0) * .08)); transition: transform .9s var(--e-io); }
|
|
.xsk-zoom-top { margin: 0 0 16px; font-size: 13px; color: var(--faint); }
|
|
.xsk-zoom-ln { list-style: none; margin: 0; padding: 0; counter-reset: ln; display: grid; gap: 6px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: var(--ink); }
|
|
.xsk-zoom-ln li { position: relative; isolation: isolate; counter-increment: ln; padding-left: 40px; clip-path: inset(0 calc((1 - var(--on, 0)) * 100%) 0 0); transition: clip-path .5s var(--e-io) calc(var(--k) * 90ms + .3s); }
|
|
.xsk-zoom-ln li::before { content: counter(ln); position: absolute; left: 0; top: .2em; width: 20px; text-align: right; font-size: 12px; color: var(--faint); }
|
|
.xsk-zoom-ln .d { color: var(--faint); }
|
|
.xsk-zoom-ln .k > span { color: light-dark(#737373, var(--text-tertiary)); }
|
|
.xsk-zoom-ln .k::after { content: ''; position: absolute; inset: 0 0 0 34px; z-index: -1; border-radius: 6px; background: var(--hl); transform-origin: 0 50%; transform: scaleX(var(--on, 0)); transition: transform .9s var(--e-em) 1.1s; }
|
|
.xsk-zoom-ln .b { display: flex; align-items: center; min-height: 1.2em; }
|
|
.xsk-zoom-ln .b i { display: block; height: 8px; border-radius: 4px; background: light-dark(#e5e5e5, var(--secondary)); }
|
|
.xsk-zoom-ln .l { font-size: .72em; color: var(--soft); }
|
|
/* 02: one gateway. The word arrives, the line runs down, discover-database fills ink, the rail runs out,
|
|
and two of the five files rise and turn ink while the rest stay where they are. */
|
|
.xsk-sc-gate { display: grid; justify-items: center; max-width: 520px; }
|
|
.xsk-gw-word { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; background: var(--x-raised); border: 1px solid var(--line); font-size: 16px; color: var(--ink); opacity: var(--on, 0); transform: translateY(calc((1 - var(--on, 0)) * -16px)); transition: opacity .3s var(--e-out) .15s, transform .5s var(--e-em) .15s; }
|
|
.xsk-gw-word .xsk-caret-k { color: var(--faint); }
|
|
.xsk-gw-v { display: block; width: 2px; height: 28px; background: var(--ink); transform-origin: 50% 0; transform: scaleY(var(--on, 0)); transition: transform .3s var(--e-io) .5s; }
|
|
.xsk-gw-v.two { transition-delay: 1.1s; }
|
|
.xsk-gw { position: relative; isolation: isolate; display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); font-size: 15px; color: var(--ink); transition: color 0s .8s; }
|
|
.xsk-gw::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--ink); opacity: var(--on, 0); transition: opacity .3s var(--e-out) .75s; }
|
|
:is(.xsk-scene.on, .xsk-pt-vis.on) .xsk-gw { color: #fafafa; }
|
|
.xsk-gw-rail { display: block; width: 82%; height: 2px; background: var(--ink); transform: scaleX(var(--on, 0)); transition: transform .4s var(--e-io) 1.35s; }
|
|
/* the two pulled files are wider and carry their gateway's name in ink; the three left on the shelf stay drawn */
|
|
.xsk-gw-files { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 2.4fr) minmax(0, 1fr); gap: 10px; width: 100%; margin-top: 22px; }
|
|
.xsk-gw-files em { display: block; margin-bottom: 2px; font: 500 13px/1.25 var(--mono); font-style: normal; color: var(--ink); overflow-wrap: anywhere; transition: color 0s calc(var(--k) * 60ms + 1.75s); }
|
|
:is(.xsk-scene.on, .xsk-pt-vis.on) .xsk-gw-files .pull em { color: #fafafa; }
|
|
:is(.xsk-scene.on, .xsk-pt-vis.on) .xsk-gw-files .pull i { background: rgba(255, 255, 255, .3); }
|
|
.xsk-gw-files span { position: relative; isolation: isolate; display: grid; gap: 6px; align-content: start; height: 84px; padding: 14px 10px; border-radius: 10px; background: var(--x-raised); border: 1px solid var(--line); opacity: .55; transition: transform .5s var(--e-em), opacity .3s var(--e-out); transition-delay: calc(var(--k) * 60ms + 1.6s); }
|
|
.xsk-gw-files span::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--ink); opacity: 0; transition: opacity .3s var(--e-out); transition-delay: inherit; }
|
|
.xsk-gw-files i { display: block; height: 4px; border-radius: 2px; background: light-dark(#e5e5e5, var(--secondary)); transition: background-color 0s calc(var(--k) * 60ms + 1.75s); }
|
|
.xsk-gw-files i:last-child { width: 60%; }
|
|
:is(.xsk-scene.on, .xsk-pt-vis.on) .xsk-gw-files .pull { opacity: 1; transform: translateY(-14px); }
|
|
:is(.xsk-scene.on, .xsk-pt-vis.on) .xsk-gw-files .pull::before { opacity: 1; }/* 03: the command wipes in, the output draws, the file lands */
|
|
.xsk-term { padding: 18px 22px 24px; border-radius: var(--r-card); background: #0a0a0a; color: #fafafa; }
|
|
.xsk-term-top { display: flex; gap: 6px; margin-bottom: 18px; }
|
|
.xsk-term-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
|
|
.xsk-term-cmd { margin: 0 0 16px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; clip-path: inset(0 calc((1 - var(--on, 0)) * 100%) 0 0); transition: clip-path .9s var(--e-io) .15s; }
|
|
.xsk-term-cmd .d { color: #a3a3a3; }
|
|
.xsk-term-out { display: grid; gap: 9px; margin-bottom: 16px; }
|
|
.xsk-term-out i { display: block; height: 7px; border-radius: 4px; background: #262626; transform-origin: 0 50%; transform: scaleX(var(--on, 0)); transition: transform .4s var(--e-em) calc(var(--k) * 90ms + 1.05s); }
|
|
.xsk-term-done { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; opacity: var(--on, 0); transform: translateY(calc((1 - var(--on, 0)) * 8px)); transition: opacity .3s var(--e-out) 1.4s, transform .4s var(--e-em) 1.4s; }
|
|
/* 04: the long file runs out, then five small ones arrive */
|
|
.xsk-sc-bars { display: grid; gap: 10px; }
|
|
.xsk-sc-bars > .x-mono { font-size: 12px; color: var(--soft); }
|
|
.xsk-sc-bars > .x-mono + .xsk-track + .x-mono { margin-top: 12px; }
|
|
.xsk-sc-bars .xsk-track { height: 60px; padding: 7px; background: var(--x-raised); }
|
|
.xsk-sc-mono { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; height: 100%; padding: 10px 12px; border-radius: 10px; background: light-dark(#d4d4d4, var(--secondary)); transform-origin: 0 50%; transform: scaleX(var(--on, 0)); transition: transform .9s var(--e-io) .15s; }
|
|
.xsk-sc-five { display: flex; gap: 8px; height: 100%; }
|
|
.xsk-sc-five b { width: 11%; display: grid; align-content: center; gap: 5px; padding: 0 8px; border-radius: 10px; background: var(--ink); transform-origin: 50% 100%; opacity: var(--on, 0); transform: scale(calc(.6 + var(--on, 0) * .4)); transition: opacity .3s var(--e-out), transform .4s var(--e-em); transition-delay: calc(var(--k) * 90ms + .9s); }
|
|
/* 05: a new file drops onto the shelf and joins it */
|
|
.xsk-sc-new { display: grid; justify-items: end; }
|
|
.xsk-sc-new .xsk-agent { width: 100%; }
|
|
.xsk-sc-drop { position: relative; z-index: 1; width: 132px; display: grid; gap: 7px; margin: 0 28px -22px 0; padding: 14px; border-radius: 14px; background: var(--x-raised); border: 1px solid var(--line); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .18); transform: translateY(calc((1 - var(--on, 0)) * -56px)) rotate(calc((1 - var(--on, 0)) * -6deg)); opacity: var(--on, 0); transition: transform .5s var(--e-em) .15s, opacity .3s var(--e-out) .15s; }
|
|
.xsk-sc-drop .x-mono { font-size: 12px; color: var(--ink); font-weight: 500; }
|
|
.xsk-sc-drop i { display: block; height: 5px; border-radius: 3px; background: light-dark(#e5e5e5, var(--secondary)); }
|
|
.xsk-sc-drop i:last-child { width: 60%; }
|
|
.xsk-sc-row { opacity: var(--on, 0); transform: translate(calc(var(--on, 0) * 8px), calc((1 - var(--on, 0)) * -8px)) !important; transition: opacity .3s var(--e-out) .7s, transform .4s var(--e-em) .7s !important; }
|
|
.xsk-sc-row::before { opacity: var(--on, 0) !important; transition: opacity .3s var(--e-out) .8s !important; }
|
|
.xsk-shelf li.xsk-sc-row i { background: #d4d4d4; }
|
|
|
|
/* the dark room: a thread. It enters as a rounded card inside the gutters and opens to full width as it arrives
|
|
(--o scrubs 0 to 1); pills and files share one bottom-aligned block. */
|
|
.xsk-thread { --hl: #404040; padding: clamp(64px, 6vw, 88px) 0; clip-path: inset(0 calc((1 - var(--o, 1)) * var(--gut)) round calc((1 - var(--o, 1)) * 24px)); }
|
|
.xsk-thread .a2-grid { align-items: end; row-gap: 40px; }
|
|
/* point 05's heading and words lead; the three steps sit in one row under them, a rail under the row fills as the
|
|
thread is read, and the row's foot shares the last file's baseline */
|
|
.xsk-thread-copy { grid-column: 1 / span 5; display: grid; align-content: end; }
|
|
.xsk-thread-h { max-width: none; }
|
|
.xsk-thread .xsk-cap.a2-kick.show { margin: 12px 0 18px; color: #a3a3a3; }
|
|
.xsk-thread-lede.a2-body { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: #fafafa; }
|
|
.xsk-thread-nav { display: grid; gap: 14px; margin-top: 32px; }
|
|
.xsk-steps { display: flex; flex-wrap: nowrap; gap: 8px; }
|
|
.xsk-rail { position: relative; display: block; width: 100%; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
|
|
.xsk-rail::after { content: ''; position: absolute; inset: 0; background: #fafafa; transform-origin: 0 50%; transform: scaleX(var(--r, 1)); transition: transform .4s var(--e-io); }
|
|
.xsk-steps button { flex: none; white-space: nowrap; position: relative; isolation: isolate; height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: none; color: #a3a3a3; font: 500 16px/1 var(--sans); cursor: pointer; transition: transform .09s var(--e-out); }
|
|
.xsk-steps button::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: #fafafa; opacity: 0; transition: opacity .15s var(--e-out); }
|
|
.xsk-steps button[aria-pressed='true'] { color: #000; border-color: #fafafa; }
|
|
.xsk-steps button[aria-pressed='true']::before { opacity: 1; }
|
|
.xsk-steps button:active { transform: scale(.97); }
|
|
.xsk-steps button:focus-visible { outline: 2px solid #fafafa; outline-offset: 3px; }
|
|
@media (hover: hover) {
|
|
.xsk-steps button:hover { border-color: rgba(255, 255, 255, .4); color: #fafafa; }
|
|
.xsk-steps button[aria-pressed='true']:hover { color: #000; border-color: #fafafa; }
|
|
}
|
|
.xsk-files { grid-column: 7 / span 6; display: grid; gap: 16px; }
|
|
.xsk-f { position: relative; margin-left: calc(var(--i) * 16%); width: 62%; display: grid; gap: 10px; padding: 20px 22px; border-radius: 20px; background: #171717; border: 1px solid rgba(255, 255, 255, .08); transform: translateY(8px); transition: transform .5s var(--e-em), opacity .3s var(--e-out); }
|
|
.xsk-f::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .4); opacity: 0; transition: opacity .3s var(--e-out); pointer-events: none; }
|
|
.xsk-f > * { opacity: .25; transition: opacity .3s var(--e-out); }
|
|
.xsk-f.on, .xsk-f.peek { transform: none; }
|
|
.xsk-f.on > *, .xsk-f.peek > * { opacity: 1; }
|
|
.xsk-f.on::after, .xsk-f.peek::after { opacity: 1; }
|
|
/* peek always answers: the hovered step's file lifts 8px and grows a little, the other two step back */
|
|
.xsk-f.peek { transform: translateY(-8px) scale(1.02); }
|
|
.xsk-files.peeking .xsk-f:not(.peek) { opacity: .4; }
|
|
.xsk-f .x-mono { font-size: 13px; color: #fafafa; }
|
|
.xsk-f-ln { margin: 2px 0 4px; font-size: 16px; line-height: 1.4; color: #fafafa; }
|
|
.xsk-f i { display: block; height: 8px; border-radius: 4px; background: #262626; }
|
|
/* the link line is struck once its file is read (the grey highlighter, dark-room shade) */
|
|
.xsk-f em { position: relative; isolation: isolate; justify-self: start; margin: 2px 0 0 -8px; padding: 3px 8px; border-radius: 6px; font-style: normal; font-size: 13px; color: #d4d4d4; }
|
|
.xsk-f em::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--hl); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--e-em) .15s; }
|
|
.xsk-f.on em::before { transform: none; }
|
|
|
|
/* get: the heading leads, the card is the object under it */
|
|
.xsk-get-in { display: grid; justify-items: center; gap: 44px; }
|
|
.xsk-get-h { text-align: center; }
|
|
.xsk-get-card { width: min(100%, 768px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); grid-template-areas: 'copy shelf' 'ask shelf'; gap: 24px 40px; padding: 36px 40px; border-radius: var(--r-hero); background: light-dark(#0a0a0a, var(--x-raised)); color: #fafafa; }
|
|
.xsk-get-copy { grid-area: copy; display: grid; gap: 8px; align-content: start; }
|
|
.xsk-get-card h3 { margin: 0; font-size: 26px; font-weight: 497; letter-spacing: -.025em; line-height: 1.15; color: #fafafa; }
|
|
.xsk-get-copy > p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .78); }
|
|
.xsk-get-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 13.5px; }
|
|
.xsk-get-meta a { display: inline-flex; align-items: center; min-height: 44px; color: #fafafa; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: transparent; }
|
|
.xsk-get-meta a:focus-visible { outline: 2px solid #fafafa; outline-offset: 2px; text-decoration-color: currentColor; }
|
|
@media (hover: hover) { .xsk-get-meta a:hover { text-decoration-color: currentColor; } }
|
|
.xsk-get-shelf { grid-area: shelf; align-self: center; }
|
|
.xsk-deploy { grid-area: ask; justify-self: start; align-self: end; height: 48px; padding: 0 24px; font-size: 16px; background: transparent; color: #fafafa; border-color: rgba(255, 255, 255, .3); }
|
|
/* the install's done line: the real command types once, three output lines draw, the tick lands */
|
|
.xsk-get-done { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-card); background: #171717; }
|
|
.xsk-gd-cmd { display: flex; align-items: flex-start; gap: 10px; min-height: 3.2em; margin: 0; font-size: 13px; line-height: 1.6; color: #fafafa; }
|
|
.xsk-gd-cmd .d { flex: none; color: #a3a3a3; }
|
|
.xsk-gd-type { min-width: 0; overflow-wrap: anywhere; }
|
|
.xsk-gd-type .xsk-caret { display: inline-block; width: 2px; height: 14px; margin-left: 2px; vertical-align: -2px; opacity: 0; }
|
|
.xsk-get-done.seen:not(.on) .xsk-gd-type .xsk-caret { opacity: 1; }
|
|
.xsk-gd-out { display: grid; gap: 9px; }
|
|
.xsk-gd-out i { display: block; height: 6px; border-radius: 3px; background: #262626; transform-origin: 0 50%; transform: scaleX(0); transition: transform .4s var(--e-em) calc(var(--k) * 90ms + .09s); }
|
|
.xsk-gd-ok { margin: 0; font-size: 13.5px; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--e-out) .4s, transform .4s var(--e-em) .4s; }
|
|
.xsk-get-done.on :is(.xsk-gd-out i, .xsk-gd-ok) { transform: none; }
|
|
.xsk-get-done.on .xsk-gd-ok { opacity: 1; }
|
|
html:not(.js) .xsk-get-done :is(.xsk-gd-out i, .xsk-gd-ok) { transform: none; opacity: 1; }
|
|
.xsk-gd-row { position: relative; isolation: isolate; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); color: #fafafa; transition: transform .4s var(--e-em); }
|
|
.xsk-gd-row::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: #fafafa; opacity: 0; transition: opacity .3s var(--e-out); }
|
|
@media (hover: hover) {
|
|
.xsk-get-card .xsk-deploy:hover { border-color: rgba(255, 255, 255, .6); background: transparent; }
|
|
.xsk-get-card:hover .xsk-gd-row { color: #000; transform: translateX(8px); transition: transform .4s var(--e-em), color 0s .09s; }
|
|
.xsk-get-card:hover .xsk-gd-row::before { opacity: 1; }
|
|
}
|
|
.xsk-deploy:focus-visible { outline: 2px solid #fafafa; outline-offset: 3px; }
|
|
|
|
@media (max-width: 900px) {
|
|
.xsk-hero { padding: 96px 0 72px; }
|
|
.xsk-hero-grid { row-gap: 32px; }
|
|
.xsk-h1 { font-size: clamp(52px, 14vw, 64px); }
|
|
.xsk-hero-copy .a2-lede { margin: 18px 0 24px; }
|
|
.xsk-repo-cap { margin-top: 4px; }
|
|
/* phone hero: the live agent alone (point 01 shows the file), held inside 45svh */
|
|
.xsk-hero-obj { max-height: 45svh; }
|
|
.xsk-wake { grid-template-columns: minmax(0, 1fr); }
|
|
.xsk-hero .xsk-file { display: none; }
|
|
.xsk-hero .xsk-agent { gap: 10px; padding: 16px; }
|
|
.xsk-hero .xsk-say { min-height: 48px; }
|
|
.xsk-hero .xsk-shelf li.blank:nth-child(n + 4) { display: none; }
|
|
.xsk-file { transform: none; padding: 22px; }
|
|
.xsk-track { height: 56px; padding: 6px; }
|
|
.xsk-mono { padding: 9px 10px; gap: 5px; }
|
|
.xsk-five b { width: 13%; padding: 0 5px; }
|
|
.xsk-essay-grid { display: block; }
|
|
.xsk-stage { display: none; }
|
|
.xsk-essay { padding-bottom: 56px; }
|
|
.xsk-points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
|
|
.xsk-pt { min-height: 0; padding: 0; }
|
|
/* each point's own object, capped at 280px */
|
|
.xsk-pt-vis { display: grid; place-items: center; max-height: 280px; overflow: hidden; margin-top: 24px; padding: 20px 16px; border-radius: 20px; background: light-dark(#f5f5f5, var(--x-raised)); }
|
|
.xsk-pt.p2 .xsk-pt-vis { display: none; }
|
|
.xsk-pt-vis .xsk-sc { margin-inline: auto; }
|
|
.xsk-pt-vis .xsk-zoom { padding: 16px 18px 18px; }
|
|
.xsk-pt-vis .xsk-zoom-top { margin-bottom: 10px; }
|
|
.xsk-pt-vis .xsk-zoom-ln { font-size: 15px; gap: 4px; }
|
|
.xsk-pt-vis .xsk-zoom-ln li { padding-left: 30px; }
|
|
.xsk-pt-vis .xsk-zoom-ln .k::after { left: 24px; }
|
|
.xsk-pt-vis .xsk-zoom-ln :is(.b, .l) { display: none; }
|
|
.xsk-pt-vis .xsk-gw-v { height: 18px; }
|
|
.xsk-pt-vis .xsk-gw-files { margin-top: 20px; gap: 8px; }
|
|
.xsk-pt-vis .xsk-gw-files span { height: 60px; padding: 12px 8px; }
|
|
.xsk-pt-vis .xsk-gw-files { grid-template-columns: minmax(0, 2.4fr) minmax(0, .7fr) minmax(0, 2.4fr); }
|
|
.xsk-pt-vis .xsk-gw-files span:is(:first-child, :last-child) { display: none; }
|
|
.xsk-pt-vis .xsk-gw-files em { font-size: 11px; overflow-wrap: normal; white-space: nowrap; }
|
|
.xsk-pt-vis .xsk-lk-file { padding: 16px 18px; gap: 8px; }
|
|
.xsk-pt-vis .xsk-lk-v { height: 24px; }
|
|
.xsk-pt-vis .xsk-sc-new .xsk-agent { padding: 14px; }
|
|
.xsk-pt-vis .xsk-sc-new .xsk-shelf li { height: 32px; }
|
|
.xsk-pt-vis .xsk-sc-new .xsk-shelf li:nth-child(n + 4):not(.xsk-sc-row) { display: none; }
|
|
.xsk-pt-vis .xsk-sc-drop { width: 112px; padding: 12px; margin-bottom: -18px; }
|
|
.xsk-thread { padding: 56px 0; }
|
|
.xsk-thread .a2-grid { row-gap: 32px; }
|
|
.xsk-thread-copy { flex-direction: column; gap: 20px; }
|
|
.xsk-steps { order: 0; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
|
|
.xsk-rail { order: 1; width: 100%; height: 2px; margin: 0; }
|
|
.xsk-rail::after { transform-origin: 0 50%; transform: scaleX(var(--r, 1)); }
|
|
.xsk-f { width: 80%; margin-left: calc(var(--i) * 10%); padding: 18px; }
|
|
.xsk-get-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'copy' 'shelf' 'ask'; padding: 28px 24px; gap: 24px; }
|
|
.xsk-get-card h3 { font-size: 21px; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.xsk *, .xsk *::before, .xsk *::after { animation: none !important; transition: none !important; }
|
|
.xsk .a2-ln-in, .xsk-h1-set { transform: none !important; }
|
|
.xsk-thread { clip-path: none; }
|
|
.xsk-get-done :is(.xsk-gd-cmd i, .xsk-gd-out i, .xsk-gd-ok) { transform: none; opacity: 1; }
|
|
.xsk-pt-vis, .xsk-scene { --on: 1; } /* every scene shows its after state */
|
|
.xsk-mono, .xsk-five b { transform: none !important; opacity: 1 !important; } /* the trade at its end */
|
|
.xsk-hl { background-size: 100% 82%; }
|
|
}
|
|
|
|
/* ambient, at rest: the scene in focus keeps breathing after it lands (a caret waits, the read files take turns,
|
|
the gateway's signal runs down to its files), so no screen of the stage sits dead between scrolls */
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.xsk-scene.on .xsk-gw-word::after, .xsk-scene.on .xsk-term-cmd::after { content: ''; display: inline-block; width: 8px; height: 1.05em; margin-left: 4px; vertical-align: -.15em; background: currentColor; animation: xsk-blink 1.1s steps(1) 1.6s infinite; }
|
|
.xsk-scene.on .xsk-gw-v::after { content: ''; position: absolute; left: -1px; top: 0; width: 4px; height: 8px; border-radius: 2px; background: var(--ink); animation: xsk-drip 1.8s var(--e-io) 1.8s infinite; }
|
|
.xsk-gw-v { position: relative; }
|
|
:is(.xsk-scene.on, .xsk-trade) :is(.xsk-sc-five, .xsk-five) b i:first-child { transform-origin: 0 50%; animation: xsk-read 2.5s var(--e-io) infinite; animation-delay: calc(var(--k) * .5s + 1.5s); }
|
|
:is(.xsk-scene.on, .xsk-pt-vis.on) .xsk-sc-row i, :is(.xsk-scene.on, .xsk-pt-vis.on) .xsk-sc-drop i:first-of-type { transform-origin: 0 50%; animation: xsk-read 2.8s var(--e-io) 2s infinite; }
|
|
.xsk-scene.on .xsk-zoom-ln .k:nth-child(3)::after { animation: xsk-hl 3.2s var(--e-io) 2.2s infinite; }
|
|
}
|
|
@keyframes xsk-blink { 50% { opacity: 0; } }
|
|
@keyframes xsk-drip { from { transform: translateY(0); opacity: 1; } 80% { opacity: 1; } to { transform: translateY(22px); opacity: 0; } }
|
|
@keyframes xsk-read { 0%, 100% { opacity: 1; transform: scaleX(1); } 20% { opacity: .35; transform: scaleX(.5); } }
|
|
@keyframes xsk-hl { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
|
|
@media (hover: hover) { .xsk-get-meta a:hover { color: #d4d4d4; } }
|
|
|
|
|
|
/* Hanzo's hero picture (Kai, /models/kai.webp) restored inside the agent panel, between the shelf and the context tray */
|
|
.xsk-kai { flex: 1 1 96px; min-height: 96px; position: relative; overflow: hidden; border-radius: 12px; background: #171717; }
|
|
.xsk-kai img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: xsk-kai 14s cubic-bezier(.4, 0, .2, 1) infinite alternate; }
|
|
@keyframes xsk-kai { from { transform: scale(1.02); } to { transform: scale(1.1) translateY(-2%); } }
|
|
@media (max-width: 899px) { .xsk-hero .xsk-kai { flex-basis: 64px; min-height: 64px; } }
|
|
@media (prefers-reduced-motion: reduce) { .xsk-kai img { animation: none; } }
|
|
|
|
/* dark (as live hanzo.ai draws cards in dark): the stage, the phone scenes and the Get card keep a white-10% edge */
|
|
html:not(.light) .xsk-scenes, html:not(.light) .xsk-pt-vis, html:not(.light) .xsk-get-card { box-shadow: inset 0 0 0 1px var(--border); }
|
|
/* dark: the shared A2 kit sets its greys on .a2 for bright rooms only; this page gives them Hanzo's dark values */
|
|
html:not(.light) .xsk.a2 { --acc: var(--foreground); --acc-soft: var(--muted); --soft: var(--muted-foreground); --faint: var(--text-tertiary); --card: var(--x-raised); --line: var(--border); }
|
|
|
|
/* Hanzo's dark hero texture, measured from live hanzo.ai dark (8 Nov): 7px dot grid, dots ~35% foreground, densest at the
|
|
left/right edges and toward the bottom, plus live's top glow radial-gradient(60% 70% at 50% 0%, foreground 9%, transparent 70%).
|
|
Dark only, so bright stays pixel-identical. Replace .xsk.a2 .xsk-hero with the page's hero class. */
|
|
html:not(.light) .xsk.a2 .xsk-hero { position: relative; isolation: isolate; }
|
|
html:not(.light) .xsk.a2 .xsk-hero::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%), linear-gradient(180deg, #000 calc(100% - 120px), transparent);
|
|
-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%), linear-gradient(180deg, #000 calc(100% - 120px), transparent);
|
|
mask-composite: intersect; }
|
|
html:not(.light) .xsk.a2 .xsk-hero::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 step carries its ::before fill on the button itself, so its black label sits on its own ground (the room is black in both modes) */
|
|
html:not(.light) .xsk-steps button[aria-pressed='true'] { background: #fafafa; }
|