Files
Claude 3b54a66d29 iam, identity, idv, ingress, insights, kms, metrics, jin: live hanzo.ai's dark hero halftone
Live's heroes carry a halftone dot field in dark, densest at the edges; these eight lacked it (the other C1 pages
already had it). Same rule as /investors, plus a fade over the hero's last 30% so the field never ends in a seam.
Dark-only (html:not(.light)); lightcheck OK on all eight.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01P5YBdycWh75FpA2M9CWJ5d
2026-11-08 12:32:01 +00:00

421 lines
37 KiB
CSS

/* KMS v2. Greys from Hanzo's deck only, named once here (tokens.css is not on main), then used by name below.
One dark room: Nothing lands on disk. */
.km {
--km-paper: #ffffff; --km-whisper: #fafafa; --km-fill: #f7f7f7; --km-quiet: #f5f5f5; --km-card: #f2f2f2;
--km-silver: #e5e5e5; --km-track: #d4d4d4; --km-on-black: #a3a3a3; --km-body: #525252;
--km-graphite: #262626; --km-ink: #0a0a0a; --km-black: #000000; --km-black-ink: #fafafa;
--km-line-dark: rgba(255, 255, 255, .16); --km-veil-dark: rgba(255, 255, 255, .06); --km-veil-dark-on: rgba(255, 255, 255, .16);
--km-float: 0 24px 60px -16px rgba(0, 0, 0, .18); --km-hair: 0 0 0 1px rgba(0, 0, 0, .06);
--km-gut: 24px;
--km-ease: cubic-bezier(.16, 1, .3, 1); --km-move: cubic-bezier(.4, 0, .2, 1);
--acc: var(--km-ink); --glow: var(--km-body);
--btn-solid-hover: var(--km-graphite);
}
.km .v2-dark, .km [data-room='dark'] { --acc: var(--km-black-ink); --glow: var(--km-silver); --btn-solid-bg: var(--km-black-ink); --btn-solid-ink: var(--km-ink); --btn-solid-hover: var(--km-silver); }
/* hero: the name, Hanzo's line under it, the ask, and the vault rising over it */
.km-hero { padding: clamp(104px, 9vw, 136px) 0 56px; }
.km-hero-t { text-align: center; }
.km-h1 { margin: 0 auto; }
.km-hero-row { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 18px; }
.km-sub { color: var(--km-body); }
html:not(.js) .km .v2-in { animation: none; opacity: 1; transform: none; }
/* Documentation: a quiet fill and an ink edge on hover, and the same .98 press as the primary */
.km-hero .x-btn:not(.solid) { transition: background-color .15s var(--km-move), border-color .15s var(--km-move), transform 90ms var(--km-move); }
@media (hover: hover) { .km-hero .x-btn:not(.solid):hover { border-color: var(--km-ink); background: var(--km-quiet); box-shadow: none; } }
.km-hero .x-btn:not(.solid):active { transform: scale(.98); }
/* one edge system: every section, the hero stage included, sits in the same 1152px container */
.km .v2-wrap { width: min(100% - 48px, 1152px); }
.km-lift { margin-top: clamp(40px, 4vw, 56px); position: relative; z-index: 2; }
/* the vault: one fixed height through the whole loop */
.km-vault { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; padding: 16px; border-radius: 28px; background: var(--km-paper); box-shadow: var(--km-float); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
.km-tilt { perspective: 1600px; }
.km-vault { transform: rotateX(var(--km-rx, 0deg)) rotateY(var(--km-ry, 0deg)); transition: transform .3s var(--km-move); }
}
.km-secret { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 44px); border-radius: 16px; background: var(--km-ink); color: var(--km-black-ink); --glow: var(--km-silver); }
.km-host { margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--km-on-black); }
.km-path { margin: 0; font: 600 clamp(16px, 1.4vw, 20px)/1 var(--mono); }
.km-path span { margin-left: 10px; padding: 4px 8px; border-radius: 6px; background: var(--km-veil-dark-on); color: var(--glow); font-weight: 500; font-size: 13px; }
.km-val { margin: 0; height: 2.4em; overflow: hidden; font: 500 clamp(22px, 2.4vw, 34px)/1.2 var(--mono); letter-spacing: .06em; color: var(--km-black-ink); word-break: break-all; transition: color .4s var(--km-move); }
.km-val.sealed { color: var(--glow); letter-spacing: 0; }
.km-chain { display: flex; flex-wrap: wrap; gap: 8px; }
.km-chain span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--km-veil-dark); font: 500 14px/1 var(--mono); color: var(--km-on-black); transition: background-color .4s var(--km-move), color .4s var(--km-move); }
.km-chain span i { width: 8px; height: 8px; border-radius: 99px; background: currentColor; }
.km-chain span.on { background: var(--km-veil-dark-on); color: var(--glow); }
.km-client { margin: 0; font: 500 13px/1 var(--mono); color: var(--km-on-black); }
.km-side { display: flex; flex-direction: column; gap: 12px; }
.km-vers { position: relative; padding: 16px; border-radius: 16px; background: var(--km-quiet); }
.km-vers-in { position: relative; height: 172px; overflow: hidden; }
.km-ver { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; border-radius: 12px; background: var(--km-paper); font: 500 14px/1 var(--mono); color: var(--km-body); }
.km-ver span { overflow: hidden; white-space: nowrap; text-overflow: clip; }
.km-ver b { font: 600 20px/1 var(--sans); letter-spacing: -.03em; color: var(--km-ink); }
.km-ver em { margin-left: auto; font-style: normal; color: var(--km-ink); }
.km-ver.cur { box-shadow: inset 0 0 0 2px var(--km-ink); }
.km-stale { position: absolute; left: 0; right: 0; top: 0; height: 52px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; background: var(--km-card); color: var(--km-graphite); font: 500 13px/1 var(--mono); box-shadow: var(--km-float); }
.km-stale b { font-weight: 700; }
.km-log { list-style: none; margin: 0; padding: 16px; height: 104px; box-sizing: border-box; overflow: hidden; border-radius: 16px; background: var(--km-fill); display: grid; gap: 8px; flex: 1 0 auto; align-content: start; }
.km-log li { display: flex; align-items: center; gap: 10px; font: 500 13px/1.3 var(--mono); color: var(--km-body); }
.km-log li.in { animation: km-in .5s var(--km-ease); color: var(--km-ink); }
@keyframes km-in { from { opacity: 0; transform: translateY(-6px); } }
.km-log i { flex: none; width: 8px; height: 8px; border-radius: 99px; background: var(--km-track); }
.km-log i.a { background: var(--km-ink); }
/* the pause sits at the top right of the secret, first thing you meet on the object */
.km-pause { top: 28px; right: auto; left: calc(16px + (100% - 48px) * 7 / 12 - 56px); border-color: var(--km-line-dark); background: var(--km-graphite); color: var(--km-black-ink); }
@media (hover: hover) { .km-pause:hover { background: var(--km-ink); } }
.km-pause[aria-pressed='true'] { background: var(--km-black-ink); color: var(--km-ink); }
/* seal one yourself */
.km-seal { padding-top: 72px; }
.km-seal .v2-grid { align-items: center; }
.km-seal-l { grid-column: 1 / span 5; }
.km-seal-d { margin-top: 14px; }
.km-seal-box { position: relative; grid-column: 7 / -1; padding: clamp(24px, 3vw, 44px); }
.km-seal-k { display: block; margin: 0 0 10px; font: 500 13px/1 var(--mono); color: var(--km-body); }
.km-seal-box input { width: 100%; box-sizing: border-box; min-height: 56px; padding: 0 18px; border-radius: 16px; border: 1px solid rgba(0, 0, 0, .14); background: var(--km-paper); font: 500 clamp(18px, 1.6vw, 22px)/1 var(--sans); color: var(--km-ink); caret-color: var(--km-ink); transition: border-color .15s var(--km-move); }
@media (hover: hover) { .km-seal-box input:hover { border-color: rgba(0, 0, 0, .3); } }
.km-seal-box input:focus { border-color: var(--km-ink); }
.km-seal-box input::placeholder { color: var(--km-body); letter-spacing: .12em; }
.km-seal-box input:focus-visible { outline: 2px solid var(--km-ink); outline-offset: 3px; box-shadow: 0 0 0 3px var(--km-paper); }
.km-seal-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0; font: 500 13px/1 var(--mono); }
.km-seal-chain span { padding: 8px 12px; border-radius: 999px; background: var(--km-quiet); color: var(--km-ink); }
.km-seal-chain span.off { background: transparent; color: var(--km-body); box-shadow: inset 0 0 0 1px var(--line); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.km-seal-chain i { width: 18px; height: 1px; background: var(--km-body); }
.km-ct { margin: 0; min-height: 3em; padding: 16px 18px; border-radius: 12px; background: var(--km-ink); color: var(--km-silver); font: 500 15px/1.5 var(--mono); word-break: break-all; }
/* the signature: a dark vault of six sealed secrets. One light (cursor, tap, Tab, or left alone it glides cell to
cell) unseals what is under it: two radial masks per cell, placed by --lx/--ly (the light, set on .km-field) minus
--cx/--cy (the cell's offset), so nothing reflows while it moves. The readout beside it gives the lit rule in full. */
.km-holds { position: relative; overflow: hidden; padding: clamp(88px, 8vw, 112px) 0; }
.km-holds-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.km-holds-head { grid-column: 1 / span 5; grid-row: 1; }
.km-holds-h { max-width: 16ch; color: var(--km-black-ink); }
.km-holds-lede { max-width: 36ch; margin-top: 14px; }
.km-read { grid-column: 7 / -1; grid-row: 1; display: grid; align-items: end; }
.km-read-i { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s var(--km-move), transform .5s var(--km-ease), visibility 0s linear .35s; }
.km-read-i.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--km-move) .08s, transform .5s var(--km-ease) .08s, visibility 0s; }
.km-read-n { margin: 0 0 12px; font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--km-on-black); font-variant-numeric: tabular-nums; }
.km-read-n b { font-weight: 500; color: var(--km-black-ink); }
.km-read-i .v2-title { color: var(--km-black-ink); }
.km-read-i .v2-body { margin-top: 10px; }
.km-vaultroom { position: relative; grid-column: 1 / -1; grid-row: 2; }
/* the pause rides in the vault's top-right corner, over the empty corner of cell 03 */
.km .km-field-pause { position: absolute; z-index: 4; top: 10px; right: 10px; }
.km-field { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; touch-action: manipulation; }
.km-cell { position: relative; display: block; height: 236px; /* height, not min-height: Hanzo's base CSS forces button min-heights on touch */ margin: 0; padding: 0; border: 0; border-radius: 18px; background: var(--km-ink); box-shadow: inset 0 0 0 1px var(--km-line-dark); color: var(--km-black-ink); font: inherit; text-align: left; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; transition: box-shadow .3s var(--km-move), transform 90ms var(--km-move); }
.km-cell.lit { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
.km-cell:active { transform: scale(.98); }
.km-cell:focus-visible { outline: 2px solid var(--km-black-ink); outline-offset: 3px; }
.km-cell-n { position: absolute; z-index: 2; top: 20px; left: 22px; font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--km-on-black); transition: color .3s var(--km-move); }
.km-cell.lit .km-cell-n { color: var(--km-black-ink); }
.km-cell-seal, .km-cell-open { position: absolute; inset: 0; padding: 52px 22px 22px; display: flex; flex-direction: column; }
.km-cell-seal { justify-content: flex-end; gap: 6px; font: 500 14px/1.25 var(--mono); letter-spacing: .14em; color: var(--km-body); word-break: break-all; overflow: hidden;
-webkit-mask-image: radial-gradient(circle at calc(var(--lx, -999px) - var(--cx, 0px)) calc(var(--ly, -999px) - var(--cy, 0px)), transparent 0, transparent 135px, var(--km-black) 195px);
mask-image: radial-gradient(circle at calc(var(--lx, -999px) - var(--cx, 0px)) calc(var(--ly, -999px) - var(--cy, 0px)), transparent 0, transparent 135px, var(--km-black) 195px); }
.km-cell-seal > span { display: block; white-space: nowrap; overflow: hidden; }
.km-cell-open { gap: 16px;
-webkit-mask-image: radial-gradient(circle at calc(var(--lx, -999px) - var(--cx, 0px)) calc(var(--ly, -999px) - var(--cy, 0px)), var(--km-black) 0, var(--km-black) 135px, transparent 195px);
mask-image: radial-gradient(circle at calc(var(--lx, -999px) - var(--cx, 0px)) calc(var(--ly, -999px) - var(--cy, 0px)), var(--km-black) 0, var(--km-black) 135px, transparent 195px); }
.km-cell-t { font-weight: 497; font-size: 19px; line-height: 1.2; letter-spacing: -.02em; color: var(--km-black-ink); max-width: 20ch; }
/* one rule as a picture, in the dark cell: lines wipe in each time the cell is lit */
.km-sc { display: grid; gap: 6px; align-content: start; }
.km-sc-l { margin: 0; display: flex; align-items: center; gap: 10px; min-height: 30px; padding: 0 12px; border-radius: 10px; background: var(--km-veil-dark); font: 500 13px/1.2 var(--mono); color: var(--km-black-ink); overflow: hidden; white-space: nowrap; }
.km-cell.lit :is(.km-sc-l, .km-sc-chain > span, .km-sc-chips > span) { animation: km-wipe .5s var(--km-ease) both; }
.km-cell.lit :is(.km-sc-l, .km-sc-chain > span, .km-sc-chips > span):nth-child(2) { animation-delay: .09s; }
.km-cell.lit :is(.km-sc-l, .km-sc-chain > span, .km-sc-chips > span):nth-child(3) { animation-delay: .18s; }
.km-cell.lit :is(.km-sc-l, .km-sc-chain > span, .km-sc-chips > span):nth-child(4) { animation-delay: .27s; }
.km-cell.lit :is(.km-sc-l, .km-sc-chain > span, .km-sc-chips > span):nth-child(5) { animation-delay: .36s; }
@keyframes km-wipe { from { clip-path: inset(0 100% 0 0 round 10px); } to { clip-path: inset(0 0 0 0 round 10px); } }
.km-sc-l.q { background: transparent; padding: 0; min-height: 0; color: var(--km-on-black); }
.km-sc-pr { margin-right: 8px; color: var(--km-on-black); user-select: none; }
.km-sc-l.env b { font-weight: 500; color: var(--km-on-black); }
.km-sc-l.ver { color: var(--km-on-black); }
.km-sc-l.ver b { font: 600 15px/1 var(--sans); color: var(--km-black-ink); }
.km-sc-l.ver em { margin-left: auto; font-style: normal; color: var(--km-black-ink); }
.km-sc-l.ver.cur { box-shadow: inset 0 0 0 1.5px var(--km-black-ink); }
.km-sc-l.stale { background: var(--km-veil-dark-on); color: var(--km-silver); justify-self: end; }
.km-sc-l.stale b { font-weight: 700; color: var(--km-black-ink); }
.km-sc-l.log { color: var(--km-on-black); }
.km-sc-l.log i, .km-sc-l.chk i { flex: none; width: 8px; height: 8px; border-radius: 99px; background: var(--km-body); }
.km-sc-l.log.on { color: var(--km-black-ink); box-shadow: inset 0 0 0 1.5px var(--km-black-ink); }
.km-sc-l.log i.a { background: var(--km-black-ink); }
.km-sc-l.chk i { width: 10px; height: 10px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--km-black-ink); }
.km-sc-l.stop { background: var(--km-black-ink); color: var(--km-ink); }
.km-sc-l.stop b { font-weight: 600; }
.km-sc-chain, .km-sc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.km-sc-chain > span { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--km-veil-dark-on); color: var(--km-black-ink); font: 500 13px/1 var(--mono); }
.km-sc-chain > span i { width: 7px; height: 7px; border-radius: 99px; background: currentColor; }
.km-sc-chips > span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--km-veil-dark); color: var(--km-black-ink); font: 500 13px/1 var(--mono); }
.km-sc-chips > span:first-child { background: var(--km-black-ink); color: var(--km-ink); }
.km-roll { position: relative; display: inline-flex; overflow: hidden; height: 1.2em; align-items: center; color: var(--km-ink); }
.km-roll > span { display: inline-block; }
@keyframes km-run { to { transform: scaleX(1); } }
/* the dark room: a card inside the gutters that opens to full width */
.km-disk { position: relative; overflow: hidden; padding: clamp(120px, 14vw, 200px) 0; color: var(--km-black-ink); }
.km-disk .x-arrow { color: rgba(255, 255, 255, .78); min-height: 44px; transition: color .15s var(--km-move), transform 90ms var(--km-move); }
@media (hover: hover) { .km-disk .x-arrow:hover { color: var(--km-black-ink); } }
.km-figs { list-style: none; margin: 0 0 clamp(80px, 9vw, 140px); padding: 0; display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(32px, 4vw, 72px); }
.km-figs li { grid-column: 2; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--km-line-dark); }
.km-figs li.big { grid-column: 1; grid-row: 1 / 4; flex-direction: column; justify-content: flex-end; align-items: flex-start; border-top: 0; padding: 0; }
.km-figs b { display: block; overflow: hidden; padding-bottom: .06em; font-weight: 497; font-size: 26px; line-height: 1.1; letter-spacing: -.03em; color: var(--km-black-ink); }
.km-figs b > span { display: block; }
.km-figs li.big b { font-weight: 220; font-size: 64px; line-height: 1.02; letter-spacing: -.04em; max-width: 10ch; }
.km-figs li > span { font-size: 14px; color: var(--km-on-black); }
.km-disk-g { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
.km-out-h { margin: 32px 0 14px; color: var(--km-black-ink); }
.km-disk-l .v2-acts { margin-top: 32px; gap: 12px 28px; }
.km-cli { border-radius: 24px; }
/* the tail as one screen: the example project and its secret, the agent prompt, the related row under both */
.km-ship { background: var(--km-quiet); --faint: var(--km-body); padding: clamp(72px, 8vw, 116px) 0; }
.km-ship-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; align-items: center; }
.km-ship-c { grid-column: 1 / span 7; }
.km-ship-con .cf-con { box-shadow: var(--km-float); }
@media (hover: hover) { .km .cf-con.light .cf-con-title:hover { color: var(--km-ink); text-decoration: underline; text-underline-offset: 3px; } }
/* the vault's secret, docked under the console: which project read it, at which version */
.km-key { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 10px 10px 10px 22px; border-radius: 16px; background: var(--km-ink); color: var(--km-black-ink); }
.km-key-pause { order: 2; flex: none; }
.km-key-in { position: relative; flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; min-height: 44px; font: 500 14px/1.2 var(--mono); }
/* one line on desktop whichever project reads it: the tag lives on the vault above, the read keeps its widest width */
@media (min-width: 901px) { .km-key-in { flex-wrap: nowrap; } .km-key-name em { display: none; } .km-key-read { min-width: 16ch; justify-content: flex-start; } }
.km-key-name em { margin-left: 10px; padding: 4px 8px; border-radius: 6px; background: var(--km-veil-dark-on); font-style: normal; font-size: 12px; color: var(--km-silver); }
.km-key-v { display: inline-flex; align-items: baseline; gap: 10px; color: var(--km-on-black); }
.km-key-v b { font: 600 17px/1 var(--sans); letter-spacing: -.02em; color: var(--km-black-ink); }
.km-key-read { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.km-key-read > i { flex: none; width: 8px; height: 8px; border-radius: 99px; background: var(--km-black-ink); }
.km-key-roll { color: var(--km-black-ink); }
.km-key-roll > span { white-space: nowrap; }
/* the one idle mover here: a hairline under the secret runs out the time until the next project reads it */
.km-key-run { position: absolute; left: 22px; right: 70px; bottom: 7px; height: 1px; background: var(--km-line-dark); transform-origin: left; transform: scaleX(0); animation: km-run 2.6s linear both; }
.km-key-run.held { animation: none; }
.km-ship-cap { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.km-ship-cap .km-cap-s { margin: 0; max-width: 52ch; font-size: 16px; color: var(--km-body); }
.km-ship-p { grid-column: 9 / -1; }
.km-ship-h { margin-bottom: 14px; }
.km-api { display: inline-flex; align-items: center; gap: 8px; margin: 28px 0 12px; font: 500 13px/1 var(--mono); color: var(--km-ink); }
.km-api i { font-style: normal; padding: 4px 7px; border-radius: 6px; background: var(--km-ink); color: var(--km-black-ink); letter-spacing: .04em; }
/* the prompt wraps instead of running off the card (copy still equals the one displayed line) */
.km .km-prompt pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.km-rel { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 32px; padding-top: 8px; border-top: 1px solid var(--line); }
.km-rel > .v2-kick { padding: 18px 0; }
.km-rel ul { flex: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.km-rel li + li { border-left: 1px solid var(--line); }
.km-rel-a { display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; padding: 16px 24px; border-radius: 12px; color: var(--km-ink); text-decoration: none; transition: background-color .15s var(--km-move), transform 90ms var(--km-move); }
.km-rel-a b { font-weight: 600; font-size: 17px; letter-spacing: -.015em; }
.km-rel-a span { color: var(--km-body); font-size: 14px; }
.km-rel-a svg { align-self: center; color: var(--km-body); transition: transform .3s var(--km-ease), color .15s var(--km-move); }
@media (hover: hover) {
.km-rel-a:hover { background: var(--km-paper); }
.km-rel-a:hover svg { transform: translateX(4px); color: var(--km-ink); }
}
.km-rel-a:active { transform: scale(.98); }
.km-rel-a:focus-visible { outline: 2px solid var(--km-ink); outline-offset: 2px; box-shadow: 0 0 0 4px var(--km-paper); }
@media (max-width: 900px) {
.km { --km-gut: 16px; }
.km-hero { padding: 100px 0 48px; }
.km-hero-row { gap: 16px; }
.km-vault { grid-template-columns: minmax(0, 1fr); padding: 10px; border-radius: 24px; }
.km-secret { padding: 20px; gap: 16px; }
.km-val { font-size: 18px; }
.km-chain span { font-size: 12px; padding: 8px 10px; }
.km .v2-wrap { width: min(100% - 32px, 1152px); }
/* the pause sits on the host row, clear of the name row and its production tag */
.km-pause { top: 16px; left: auto; right: 20px; }
.km-path { margin-top: 4px; }
.km-host { display: flex; align-items: center; min-height: 44px; margin: -10px 0 -6px; padding-right: 52px; }
.km-seal { padding-top: 56px; }
.km-disk { padding: 120px 0; }
.km-figs { grid-template-columns: minmax(0, 1fr); }
.km-figs li, .km-figs li.big { grid-column: auto; grid-row: auto; }
.km-figs li.big { order: -1; padding-bottom: 24px; }
.km-figs li.big b { font-size: 44px; }
.km-disk-g { grid-template-columns: minmax(0, 1fr); }
/* the terminal scrolls sideways on a phone: its right edge fades so clipped lines read as more */
.km-cli pre { -webkit-mask-image: linear-gradient(90deg, var(--km-black) calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, var(--km-black) calc(100% - 44px), transparent); }
/* the tail stacks: the prompt first, then the project and its secret, then the related row */
.km-ship { padding: 72px 0; }
.km-ship-g { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
.km-ship-c, .km-ship-p, .km-rel { grid-column: 1; }
.km-ship-p { order: -1; }
.km-key { padding: 10px 10px 10px 16px; align-items: flex-start; }
.km-key-in { gap: 8px 16px; padding: 4px 0; }
.km-key-read { margin-left: 0; flex-basis: 100%; }
.km-key-run { left: 16px; right: 64px; bottom: 6px; }
.km-rel { display: block; }
.km-rel ul { display: block; }
.km-rel li + li { border-left: 0; }
.km-rel li { border-top: 1px solid var(--line); }
.km-rel-a { display: flex; flex-wrap: wrap; padding: 14px 0; border-radius: 0; }
.km-rel-a svg { margin-left: auto; }
/* 44px targets on the shared console and close */
.km .cf-con-open { min-height: 44px; }
/* the project caption keeps a two-line height, so stepping projects never moves the console's foot */
.km .cf-cap { min-height: 84px; }
.km .cf-con-side { padding: 8px 4px; }
.km .cf-con-ico { min-width: 44px; }
.km .cf-con-body { grid-template-columns: 54px 1fr; }
.km-get .gi-more .x-arrow { min-height: 44px; display: inline-flex; align-items: center; }
/* the closing contour art keeps to the right of the words */
.km-get .gi-art { right: -62%; top: -14%; width: 88%; }
}
@media (max-width: 359px) { .km .cf-cap { min-height: 106px; } }
/* phones: no text under 14px except 11-12px mono capitals */
@media (max-width: 900px) { .km-seal-k { font-size: 14px; } }
/* the seal box's in-view anchor (the idle sealing runs only while it is on screen) */
.km-seal-anchor { position: absolute; inset: 0; pointer-events: none; }
/* the dark room's terminal types once, line by line, when it is 40% in view; the text is in the page from the start */
@media (prefers-reduced-motion: no-preference) {
html.js .km-cli-w .x-codeblock-l { clip-path: inset(0 100% 0 0); }
html.js .km-cli-w.on .x-codeblock-l { animation: km-type .34s steps(22, end) both; }
html.js .km-cli-w.on .x-codeblock-l:nth-child(1) { animation-delay: 0.00s; }
html.js .km-cli-w.on .x-codeblock-l:nth-child(2) { animation-delay: 0.36s; }
html.js .km-cli-w.on .x-codeblock-l:nth-child(3) { animation-delay: 0.72s; }
html.js .km-cli-w.on .x-codeblock-l:nth-child(4) { animation-delay: 1.08s; }
html.js .km-cli-w.on .x-codeblock-l:nth-child(5) { animation-delay: 1.44s; }
html.js .km-cli-w.on .x-codeblock-l:nth-child(6) { animation-delay: 1.80s; }
html.js .km-cli-w.on .x-codeblock-l:nth-child(7) { animation-delay: 2.16s; }
html.js .km-cli-w.on .x-codeblock-l:nth-child(8) { animation-delay: 2.52s; }
html.js .km-cli-w.on .x-codeblock-l:nth-child(9) { animation-delay: 2.88s; }
html.js .km-cli-w.on .x-codeblock-l:nth-child(10) { animation-delay: 3.24s; }
html.js .km-cli-w.on .x-codeblock-l:nth-child(11) { animation-delay: 3.60s; }
html.js .km-cli-w.on .x-codeblock-l:nth-child(12) { animation-delay: 3.96s; }
}
@keyframes km-type { to { clip-path: inset(0 0 0 0); } }
/* the hero ask's hover says where it goes: an arrow slides in beside the label. The padding trades sides (22/22 to
12/32), so the button keeps its width and nothing beside it moves. */
.km-hero .x-btn.solid { position: relative; transition: background-color .15s var(--km-move), padding .3s var(--km-ease), transform 90ms var(--km-move); }
.km-hero .x-btn.solid::after { content: ''; position: absolute; right: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; opacity: 0; transform: translateX(-6px); background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: opacity .2s var(--km-move), transform .3s var(--km-ease); }
@media (hover: hover) and (pointer: fine) {
.km-hero .x-btn.solid:hover { padding-left: 12px; padding-right: 32px; }
.km-hero .x-btn.solid:hover::after { opacity: 1; transform: none; }
}
.km-hero .x-btn.solid:active { transform: scale(.98); }
/* ---- the five entrances (kms/entrances.jsx), one per section; JS off and reduced motion skip them ---- */
.km-hero { overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) {
/* magnet-gather: the hero's pieces start scattered and turned, and are pulled into place on load */
html.js .km-mg { animation: km-gather 1.1s var(--km-ease) both; animation-delay: var(--gd, 0s); }
/* blinds: paper slats over the vault room turn open one after another */
html.js .km-blinds { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; pointer-events: none; perspective: 1400px; }
html.js .km-blinds i { flex: 1; background: var(--km-paper); transform-origin: 50% 0; }
html.js .km-blinds.on i { animation: km-slat .7s var(--km-ease) both; animation-delay: calc(var(--i) * 55ms); }
/* pendulum: the seal box swings in from a pivot above it and settles */
html.js .km-pend { transform-origin: 50% -40%; opacity: 0; }
html.js .km-pend.on { animation: km-swing 1.5s linear both; }
/* grid-wave: the dark room's own black tiles lift away in rings from the cursor */
html.js .km-gw { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(8, 1fr); pointer-events: none; }
html.js .km-gw i { background: var(--km-black); }
html.js .km-gw.on i { animation: km-tile .6s var(--km-ease) both; animation-delay: var(--td, 0s); }
/* stretch-scroll: the tail arrives stretched by the scroll speed and relaxes */
html.js .km-stretch { opacity: 0; transform-origin: 50% 0; }
html.js .km-stretch.on { animation: km-stretch .9s var(--km-ease) both; }
}
.km-blinds, .km-gw { display: none; }
@keyframes km-gather { from { opacity: 0; transform: translate(calc(var(--gx) * var(--gk, 1)), calc(var(--gy) * var(--gk, 1))) rotate(var(--gr)) scale(.94); } 60% { opacity: 1; } }
@keyframes km-slat { to { transform: rotateX(-90deg) scaleY(.2); opacity: 0; } }
@keyframes km-swing { 0% { opacity: 0; transform: rotate(-9deg); } 18% { opacity: 1; } 34% { transform: rotate(5deg); } 56% { transform: rotate(-2.4deg); } 76% { transform: rotate(1deg); } 100% { opacity: 1; transform: none; } }
@keyframes km-tile { to { opacity: 0; transform: translateY(-14px) scale(.6); } }
@keyframes km-stretch { from { opacity: 0; transform: translateY(32px) scaleY(var(--k, 1.12)); } 50% { opacity: 1; } to { opacity: 1; transform: none; } }
/* the vault room on a phone: two columns of compact cells, each opening to its title; the readout sits under them */
@media (max-width: 900px) {
.km { --gk: .35; }
.km-holds { padding: 88px 0; }
.km-holds-g { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
.km-holds-head, .km-read, .km-vaultroom { grid-column: 1; grid-row: auto; }
.km-read { order: 3; min-height: 0; }
.km-field { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.km-cell { height: 132px; border-radius: 16px; }
.km-cell-n { top: 14px; left: 14px; }
.km-cell-seal, .km-cell-open { padding: 40px 14px 14px; }
.km-cell-seal { font-size: 12px; letter-spacing: .1em; }
.km-cell-t { font-size: 16px; }
.km-cell .km-sc { display: none; }
/* cells this small take the light whole: the lit cell's seal fades and its title opens from the centre */
.km-cell-seal, .km-cell-open { -webkit-mask-image: none; mask-image: none; }
.km-cell-seal { transition: opacity .4s var(--km-move); }
.km-cell.lit .km-cell-seal { opacity: 0; }
.km-cell-open { justify-content: flex-end; clip-path: circle(0 at 50% 60%); transition: clip-path .6s var(--km-ease); }
.km-cell.lit .km-cell-open { clip-path: circle(80% at 50% 60%); }
}
/* JS off or reduced motion (last, so it wins over the phone masks): no light; every cell shows its title and picture */
html:not(.js) .km-cell-seal { display: none; }
html:not(.js) .km-cell-open { -webkit-mask-image: none; mask-image: none; }
html:not(.js) .km-cell-open { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
.km-cell-seal { display: none; }
.km-cell-open { -webkit-mask-image: none; mask-image: none; clip-path: none; }
}
/* the vault's host breathes: a small live dot beside kms.hanzo.ai (ambient, stops under reduced motion) */
.km-host { display: flex; align-items: center; gap: 10px; }
.km-host::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 99px; background: var(--km-black-ink); }
@media (prefers-reduced-motion: no-preference) { .km-host::before { animation: km-breathe 2.4s var(--km-move) infinite; } }
@keyframes km-breathe { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: none; } }
/* Copy in the code plates answers a hover: the plate's veil lifts and the label comes to full ink */
.km .x-codeblock .x-copy { transition: background-color .15s var(--km-move), color .15s var(--km-move), border-color .15s var(--km-move), transform 90ms var(--km-move); }
@media (hover: hover) { .km .x-codeblock .x-copy:hover { background: var(--km-veil-dark-on); border-color: rgba(255, 255, 255, .32); color: var(--km-black-ink); } }
.km .x-codeblock .x-copy:active { transform: scale(.98); }
/* dark mode, on Hanzo's tokens. The black pieces (the secret, the ciphertext, the key, the vault room, the disk room)
are black in both modes and keep their values; the light pieces around them turn over. */
html:not(.light) .km { --acc: var(--foreground); --ink: var(--foreground); --soft: var(--muted-foreground); --faint: var(--text-tertiary); --line: var(--border); --btn-solid-hover: var(--primary-hover); }
html:not(.light) .km .v2-dark, html:not(.light) .km [data-room='dark'] { --ink: #0a0a0a; }
html:not(.light) .km-sub, html:not(.light) .km-seal-k, html:not(.light) .km-ship-cap .km-cap-s { color: var(--soft); }
@media (hover: hover) { html:not(.light) .km-hero .x-btn:not(.solid):hover { border-color: var(--ink); background: var(--x-fill); } }
html:not(.light) .km-vault { background: var(--x-raised); box-shadow: var(--km-float), 0 0 0 1px var(--border); }
html:not(.light) .km-secret, html:not(.light) .km-ct { box-shadow: inset 0 0 0 1px var(--border); }
html:not(.light) .km-vers { background: var(--x-fill); }
html:not(.light) .km-ver { background: var(--secondary); color: var(--soft); }
html:not(.light) .km-ver b, html:not(.light) .km-ver em { color: var(--ink); }
html:not(.light) .km-ver.cur { box-shadow: inset 0 0 0 2px var(--ink); }
html:not(.light) .km-stale { background: var(--secondary-hover); color: var(--ink); }
html:not(.light) .km-log { background: var(--x-fill); }
html:not(.light) .km-log li { color: var(--soft); }
html:not(.light) .km-log li.in { color: var(--ink); }
html:not(.light) .km-log i { background: var(--border-strong); }
html:not(.light) .km-log i.a { background: var(--ink); }
html:not(.light) .km-seal-box input { border-color: var(--border-control); background: var(--background); color: var(--ink); caret-color: var(--ink); }
@media (hover: hover) { html:not(.light) .km-seal-box input:hover { border-color: var(--border-focus); } }
html:not(.light) .km-seal-box input:focus { border-color: var(--ink); }
html:not(.light) .km-seal-box input::placeholder { color: var(--soft); }
html:not(.light) .km-seal-box input:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 3px var(--bg); }
html:not(.light) .km-seal-chain span { background: var(--secondary); color: var(--ink); }
html:not(.light) .km-seal-chain span.off { background: transparent; color: var(--soft); text-decoration-color: var(--border-selected); }
html:not(.light) .km-seal-chain i { background: var(--soft); }
html:not(.light) .km-ship { background: var(--x-fill); --faint: var(--muted-foreground); }
html:not(.light) .km-api { color: var(--ink); }
html:not(.light) .km-api i { background: var(--ink); color: var(--x-on-ink); }
html:not(.light) .km-rel-a { color: var(--ink); }
html:not(.light) .km-rel-a span, html:not(.light) .km-rel-a svg { color: var(--soft); }
@media (hover: hover) {
html:not(.light) .km-rel-a:hover { background: var(--x-raised); }
html:not(.light) .km-rel-a:hover svg { color: var(--ink); }
}
html:not(.light) .km-rel-a:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 4px var(--bg); }
@media (hover: hover) { html:not(.light) .km .cf-con.light .cf-con-title:hover { color: var(--ink); } }
@media (prefers-reduced-motion: no-preference) { html.js:not(.light) .km-blinds i { background: var(--x-raised); } }
/* the shared example console's light face draws #fff and #fafafa, and its .light class brings Hanzo's light tokens with
it; this page's copy turns over with the page, on Hanzo's dark tokens read outside that class */
html:not(.light) .km-ship-con { --km-con-row: var(--secondary); --km-con-edge: var(--border); --km-con-dot: var(--border-strong); }
html:not(.light) .km-ship-con .cf-con.light { --card: var(--km-con-row); background: var(--x-raised); border-color: var(--km-con-edge); }
html:not(.light) .km-ship-con .cf-con.light .cf-con-bar i { border-color: var(--km-con-dot); }
html:not(.light) .km-ship-con .cf-con.light .cf-con-side { background: var(--x-sunk); }
html:not(.light) .km-ship-con .cf-con.light .cf-tip { color: var(--x-on-ink); }
@media (hover: hover) { html:not(.light) .km-ship-con .cf-con.light .cf-con-open:hover { color: var(--x-on-ink); } }
/* Frame.css steps the selected row and on-icon up to var(--secondary), but inside .cf-con.light that name is Hanzo's light
token (the .light class); the row tone captured outside the console keeps them Hanzo's dark secondary */
html:not(.light) .km-ship-con .cf-con.light .cf-row-bg, html:not(.light) .km-ship-con .cf-con.light .cf-con-ico.on, html:not(.light) .km-ship-con .cf-con.light .cf-con-ico:hover { background: var(--km-con-row); }
/* dark: live hanzo.ai's heroes carry a halftone dot field in dark, densest at the edges (the same rule as /investors);
light mode draws nothing here */
html:not(.light) .km-hero { position: relative; isolation: isolate; }
html:not(.light) .km-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle, var(--white-20) 1px, transparent 1.6px) 0 0 / 5px 5px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 45% 45%, transparent 35%, #000 100%), linear-gradient(#000 70%, transparent); -webkit-mask-composite: source-in; mask-image: radial-gradient(ellipse 75% 70% at 45% 45%, transparent 35%, #000 100%), linear-gradient(#000 70%, transparent); mask-composite: intersect; }