mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdycWh75FpA2M9CWJ5d
373 lines
34 KiB
CSS
373 lines
34 KiB
CSS
/* /investors (prefix xin-). Hanzo's deck only (MASTER 3.1): ink #0a0a0a, greys #525252 / #737373, quiet #f5f5f5,
|
|
card #f2f2f2, black rooms #000 with white alpha steps. Radii 6/8/12/16/24, buttons 48px, no springs:
|
|
ease-emphasis at 300ms for arrivals. Tiles are flat fills; only floating things take a shadow. */
|
|
.xin { overflow-x: clip; }
|
|
.xin ::selection { background: rgba(0, 0, 0, .1); }
|
|
.xin :focus-visible { outline: 2px solid #0a0a0a; outline-offset: 3px; box-shadow: 0 0 0 5px #ffffff; }
|
|
.xin [data-room='dark'] :focus-visible { outline-color: #ffffff; box-shadow: 0 0 0 5px #000000; }
|
|
.xin-big { height: 48px; padding: 0 24px; font-size: 16px; }
|
|
.xin-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
|
|
.xin-up { display: inline-grid; place-items: center; opacity: 0; transform: translate(-4px, 4px); transition: opacity 150ms cubic-bezier(0, 0, .2, 1), transform 300ms cubic-bezier(.16, 1, .3, 1); }
|
|
|
|
/* 1. hero: the headline across, then the words and the figure counter side by side */
|
|
.xin-hero { padding: 132px 0 0; }
|
|
.xin-hero-g { row-gap: 56px; align-items: start; }
|
|
.xin-hero-t { grid-column: 1 / -1; }
|
|
.xin-hero-l { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
|
|
.xin-hero-o { grid-column: 7 / 13; }
|
|
|
|
.xin-roll { position: relative; padding: 32px 36px 28px; border-radius: 24px; background: #f5f5f5; display: flex; flex-direction: column; gap: 18px; min-height: 360px; }
|
|
.xin-roll-h { display: flex; justify-content: space-between; gap: 16px; }
|
|
.xin-roll-k { color: #0a0a0a; }
|
|
.xin-roll-w { color: #525252; }
|
|
.xin-roll-p { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -10px -10px 0 0; padding: 0; border-radius: 50%; border: 0; background: #ffffff; color: #0a0a0a; cursor: pointer; transition: background-color 150ms cubic-bezier(0, 0, .2, 1), transform 90ms; }
|
|
.xin-roll-p:active { transform: scale(.97); }
|
|
@media (hover: hover) { .xin-roll-p:hover { background: #ededed; } }
|
|
.xin-roll-stage { flex: 1; display: grid; align-items: end; }
|
|
.xin-roll-f { grid-area: 1 / 1; display: flex; font: 220 clamp(72px, 9vw, 112px)/.9 var(--sans); letter-spacing: -.03em; color: #0a0a0a; white-space: nowrap; }
|
|
.xin-roll-m { display: inline-block; overflow: hidden; padding: .04em 0 .08em; }
|
|
.xin-roll-c { display: inline-block; }
|
|
/* before the script runs (and with JS off) only the shown figure is visible; the script then drives every digit */
|
|
.xin-roll-f[aria-hidden='true'] .xin-roll-c { transform: translateY(105%); }
|
|
.xin-roll-f2 { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(0, 0, 0, .1); }
|
|
.xin-roll-n { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex: 1; max-width: 300px; }
|
|
.xin-roll-n li { flex: 1; }
|
|
.xin-roll-n button { display: flex; align-items: center; width: 100%; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
|
|
.xin-roll-n i { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; background: #d4d4d4; overflow: hidden; }
|
|
@media (hover: hover) { .xin-roll-n button:hover i { background: #737373; } }
|
|
.xin-roll-n u { position: absolute; inset: 0; background: #0a0a0a; transform-origin: 0 50%; }
|
|
.xin-roll-n u.run { transform: scaleX(0); animation: xin-fill 3.4s linear forwards; }
|
|
@keyframes xin-fill { to { transform: scaleX(1); } }
|
|
.xin-roll-go { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #0a0a0a; color: #ffffff; transition: transform 300ms cubic-bezier(.16, 1, .3, 1); }
|
|
.xin-roll-go:active { transform: scale(.97); }
|
|
@media (hover: hover) { .xin-roll-go:hover { transform: translate(2px, -2px); } }
|
|
|
|
.xin-backed { margin-top: clamp(72px, 9vw, 116px); padding: 28px 0 0; border-top: 1px solid rgba(0, 0, 0, .1); align-items: center; }
|
|
.xin-backed .vc-kick { grid-column: 1 / 3; }
|
|
.xin-backed ul { grid-column: 3 / 13; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
|
|
.xin-backed a { display: grid; place-items: center; min-height: 48px; text-decoration: none; }
|
|
.xin-backed img { height: 28px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: opacity 150ms cubic-bezier(0, 0, .2, 1); }
|
|
@media (hover: hover) { .xin-backed a:hover img { opacity: 1; } .xin-backed a:hover .xin-logo-n { color: #0a0a0a; } }
|
|
.xin-logo-n { font: 497 17px/1.15 var(--sans); letter-spacing: -.01em; color: #737373; text-align: center; }
|
|
|
|
/* pinned scenes (thesis and results): the words pin left, the object changes right */
|
|
.xin-pin { position: relative; height: calc(var(--n) * 72svh + 28svh); }
|
|
.xin-pin-st { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
|
|
.xin-pin-g { position: relative; align-items: center; }
|
|
.xin-pin-s { grid-area: 1 / 1 / 2 / -1; display: grid; grid-template-columns: subgrid; align-items: center; pointer-events: none; }
|
|
.xin-pin-s[data-st='on'] { pointer-events: auto; }
|
|
.xin-pin-t { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 20px; }
|
|
.xin-pin-h { overflow: hidden; padding: .04em 0 .12em; margin: -.04em 0 -.12em; }
|
|
.xin-pin-b { display: flex; flex-direction: column; gap: 14px; }
|
|
.xin-pin-pre { min-height: 20px; }
|
|
.xin-pin-v { grid-column: 7 / 13; position: relative; height: min(64svh, 560px); border-radius: 24px; background: #f5f5f5; overflow: hidden; }
|
|
|
|
/* 2. the thesis */
|
|
.xin-thesis { margin-top: clamp(72px, 9vw, 116px); }
|
|
.xin-th-sig { position: absolute; inset: 0; color: #0a0a0a; }
|
|
.xin-th-sig > * { display: block; width: 100%; height: 100%; }
|
|
.xin-big-f { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 44px; padding: 0 clamp(28px, 5vw, 72px); }
|
|
.xin-big-f b { font: 220 clamp(96px, 13vw, 168px)/.9 var(--sans); letter-spacing: -.03em; color: #0a0a0a; }
|
|
.xin-big-bar { display: flex; align-items: center; gap: 10px; }
|
|
.xin-big-bar > span { flex: 1; height: 12px; border-radius: 6px; background: #d4d4d4; overflow: hidden; }
|
|
.xin-big-bar > span i { display: block; height: 100%; border-radius: 6px; background: #0a0a0a; transform-origin: 0 50%; }
|
|
.xin-big-bar i.one { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #737373; }
|
|
|
|
/* 3. the stack: slabs that layer as you scroll */
|
|
.xin-stack-h { grid-column: 1 / 6; align-self: start; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 28px; }
|
|
.xin-slabs { grid-column: 7 / 13; list-style: none; margin: 0; padding: 0 0 12svh; }
|
|
.xin-slabs li { position: sticky; top: calc(120px + var(--i) * 28px); margin-bottom: 22svh; }
|
|
.xin-slabs li:last-child { margin-bottom: 0; }
|
|
.xin-slab { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 't art' 'd art' 'go art'; column-gap: 24px; row-gap: 10px; min-height: 240px; padding: 32px; border-radius: 24px; background: #f2f2f2; color: inherit; text-decoration: none; transition: background-color 150ms cubic-bezier(0, 0, .2, 1); }
|
|
.xin-slabs li:nth-child(2) .xin-slab { background: #ededed; }
|
|
.xin-slabs li:nth-child(3) .xin-slab { background: #0a0a0a; color: #fafafa; }
|
|
.xin-slabs li:nth-child(3) .xin-slab-d { color: rgba(255, 255, 255, .78); }
|
|
.xin-slab-n { grid-area: art; align-self: start; font: 220 clamp(72px, 8vw, 112px)/.85 var(--sans); letter-spacing: -.03em; }
|
|
.xin-slab-t { grid-area: t; font-size: clamp(26px, 2.4vw, 32px); font-weight: 497; letter-spacing: -.02em; line-height: 1.1; }
|
|
.xin-slab-d { grid-area: d; font-size: 17px; line-height: 1.5; color: #525252; max-width: 36ch; }
|
|
.xin-slab-go { grid-area: go; align-self: end; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; font-weight: 606; }
|
|
.xin-slab-go svg { transition: transform 300ms cubic-bezier(.16, 1, .3, 1); }
|
|
@media (hover: hover) { .xin-slab:hover .xin-slab-go svg { transform: translateX(4px); } .xin-slabs li:not(:nth-child(3)) .xin-slab:hover { background: #e5e5e5; } }
|
|
|
|
/* 4. the results room: the one black room, a pinned scene */
|
|
.xin-res { background: #000000; color: #fafafa; }
|
|
.xin-res-h { padding: clamp(72px, 11vw, 188px) 0 0; align-items: end; }
|
|
.xin-res-h .vc-display { grid-column: 1 / 8; color: #fafafa; }
|
|
.xin-res-h .vc-body { grid-column: 8 / 13; color: rgba(255, 255, 255, .78); }
|
|
.xin-res .xin-pin-v { background: #171717; }
|
|
.xin-cell-m { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .55); }
|
|
.xin-cell-m .x-mono { margin-right: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
|
|
.xin-giant { display: flex; font: 220 clamp(72px, 10vw, 112px)/.9 var(--sans); letter-spacing: -.03em; color: #fafafa; white-space: nowrap; }
|
|
.xin-cell-t { font-size: 21px; font-weight: 497; letter-spacing: -.01em; color: #fafafa; }
|
|
.xin-cell-d { font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 46ch; }
|
|
.xin-cell-d b { color: #fafafa; font-weight: 497; }
|
|
.xin-pin-p { display: block; }
|
|
.xin-pin-p + .xin-pin-p { margin-top: 10px; }
|
|
.xin-go { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 606; color: #fafafa; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
|
|
.xin-go-i { align-self: flex-start; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fafafa; transition: transform 300ms cubic-bezier(.16, 1, .3, 1), background-color 150ms cubic-bezier(0, 0, .2, 1); }
|
|
@media (hover: hover) { .xin-go:hover { text-decoration-thickness: 2px; } .xin-go-i:hover { background: rgba(255, 255, 255, .2); transform: translate(2px, -2px); } }
|
|
.xin-dots { position: absolute; inset: 0; margin: auto; width: min(80%, calc(var(--cols) * 72px)); height: fit-content; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); align-content: center; gap: clamp(6px, .8vw, 12px); }
|
|
.xin-dots i { display: block; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); }
|
|
.xin-dots i.on { background: #fafafa; border-color: #fafafa; }
|
|
.xin-bars { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0 clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
|
|
.xin-bars li { display: grid; grid-template-columns: 110px minmax(0, 1fr) 72px; align-items: center; gap: 14px; font-size: 16px; color: rgba(255, 255, 255, .55); }
|
|
.xin-bars li i { display: block; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
|
|
.xin-bars li i b { display: block; height: 100%; width: 100%; border-radius: 6px; background: #737373; transform-origin: 0 50%; }
|
|
.xin-bars li > b { text-align: right; font: 400 16px/1 var(--mono); color: rgba(255, 255, 255, .78); }
|
|
.xin-bars li.me { color: #fafafa; }
|
|
.xin-bars li.me i b { background: #fafafa; }
|
|
.xin-bars li.me > b { color: #fafafa; }
|
|
.xin-int { position: absolute; left: 10%; right: 10%; top: 50%; height: 40px; translate: 0 -50%; }
|
|
.xin-int i { position: absolute; display: block; }
|
|
.xin-int .axis { left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .3); }
|
|
.xin-int .one { top: 8px; bottom: 8px; width: 1px; background: rgba(255, 255, 255, .55); }
|
|
.xin-int .band { top: 12px; bottom: 12px; border-radius: 8px; background: rgba(255, 255, 255, .22); transform-origin: 50% 50%; }
|
|
.xin-int .pt { top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fafafa; }
|
|
.xin-res-sig { position: absolute; inset: 0; color: #fafafa; }
|
|
.xin-res-sig > * { display: block; width: 100%; height: 100%; }
|
|
|
|
/* 5. built in public */
|
|
.xin-pub-h { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: end; margin-bottom: 64px; }
|
|
.xin-pub-h .vc-headline { grid-column: 1 / 7; }
|
|
.xin-pub-h .vc-body { grid-column: 8 / 13; }
|
|
.xin-lead { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
|
|
.xin-lead .vc-display { display: inline-flex; align-items: flex-start; gap: 12px; font-weight: 220; font-size: clamp(72px, 13vw, 112px); line-height: .9; letter-spacing: -.03em; }
|
|
.xin-lead-k { font: 606 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #0a0a0a; }
|
|
.xin-lead small { font-size: 17px; color: #525252; }
|
|
.xin-stats { grid-column: 7 / 13; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; align-self: end; }
|
|
.xin-stats a { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 44px; padding: 18px 0; border-top: 1px solid rgba(0, 0, 0, .1); color: inherit; text-decoration: none; }
|
|
.xin-stats a > span:first-child { font-size: 16px; color: #525252; }
|
|
.xin-stat-v { display: flex; font: 220 clamp(28px, 3vw, 40px)/1 var(--sans); letter-spacing: -.03em; color: #0a0a0a; }
|
|
.xin-stats small { font-size: 13px; color: #737373; }
|
|
.xin-stats .xin-up { position: absolute; right: 0; top: 18px; }
|
|
@media (hover: hover) { .xin-lead:hover .xin-up, .xin-stats a:hover .xin-up { opacity: 1; transform: none; } }
|
|
.xin-heat { grid-column: 1 / -1; margin: 88px 0 0; }
|
|
.xin-heat figcaption { margin-bottom: 18px; }
|
|
.xin-heat-m { display: grid; grid-template-columns: repeat(13, 1fr); font-size: 13px; color: #737373; margin-bottom: 8px; }
|
|
.xin-heat-g { display: grid; grid-template-rows: repeat(7, auto); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; }
|
|
.xin-heat-g i { display: block; aspect-ratio: 1; border-radius: 2px; background: #f2f2f2; }
|
|
.xin-heat-g i.x { background: none; }
|
|
.xin-heat-g .l1, .xin-leg .l1 { background: #d4d4d4; }
|
|
.xin-heat-g .l2, .xin-leg .l2 { background: #a3a3a3; }
|
|
.xin-heat-g .l3, .xin-leg .l3 { background: #525252; }
|
|
.xin-heat-g .l4, .xin-leg .l4 { background: #0a0a0a; }
|
|
.xin-heat-f { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: 13px; color: #737373; }
|
|
.xin-leg { display: inline-flex; align-items: center; gap: 4px; }
|
|
.xin-leg i { width: 12px; height: 12px; border-radius: 2px; background: #f2f2f2; }
|
|
.xin-commits { grid-column: 1 / 9; margin-top: 72px; }
|
|
.xin-commits ol { list-style: none; margin: 20px 0 0; padding: 0; }
|
|
.xin-commits a { display: grid; grid-template-columns: 180px minmax(0, 1fr) 140px; gap: 16px; align-items: baseline; min-height: 44px; padding: 12px 0; border-top: 1px solid rgba(0, 0, 0, .1); color: inherit; text-decoration: none; font-size: 16px; }
|
|
@media (hover: hover) { .xin-commits a:hover > span:nth-child(2) { text-decoration: underline; text-underline-offset: 3px; } }
|
|
.xin-commits a .x-mono { font-size: 13px; color: #0a0a0a; }
|
|
.xin-commits a small { font-size: 13px; color: #737373; text-align: right; }
|
|
.xin-read { grid-column: 9 / 13; align-self: end; display: flex; flex-direction: column; gap: 12px; margin: 0; }
|
|
.xin-read .x-mono { font-size: 13px; color: #737373; }
|
|
.xin-read .x-arrow { min-height: 44px; }
|
|
|
|
/* 6. the still wall */
|
|
.xin-built { padding: 72px 0; border-block: 1px solid rgba(0, 0, 0, .1); }
|
|
.xin-built-k { grid-column: 1 / -1; margin-bottom: 28px; }
|
|
.xin-wall { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid rgba(0, 0, 0, .1); border-left: 1px solid rgba(0, 0, 0, .1); }
|
|
.xin-wall li { border-right: 1px solid rgba(0, 0, 0, .1); border-bottom: 1px solid rgba(0, 0, 0, .1); }
|
|
.xin-wall a { display: grid; place-items: center; min-height: 132px; padding: 20px; text-decoration: none; transition: background-color 150ms cubic-bezier(0, 0, .2, 1); }
|
|
.xin-wall img { max-height: 34px; max-width: 140px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: opacity 150ms cubic-bezier(0, 0, .2, 1), transform 300ms cubic-bezier(.16, 1, .3, 1); }
|
|
@media (hover: hover) { .xin-wall a:hover { background: #f5f5f5; } .xin-wall a:hover img { opacity: 1; transform: scale(1.06); } .xin-wall a:hover .xin-logo-n { color: #0a0a0a; } }
|
|
|
|
/* 7. people and structure */
|
|
.xin-people-h { grid-column: 1 / 8; display: flex; flex-direction: column; gap: 28px; margin-bottom: 80px; }
|
|
.xin-org { grid-column: 1 / 7; display: flex; flex-direction: column; align-items: flex-start; }
|
|
.xin-org-n { display: inline-flex; align-items: center; height: 72px; padding: 0 28px; border-radius: 16px; background: #f2f2f2; font-size: clamp(21px, 1.8vw, 26px); font-weight: 497; letter-spacing: -.02em; }
|
|
.xin-org-n.ink { background: #0a0a0a; color: #fafafa; }
|
|
.xin-org-l { display: flex; align-items: center; gap: 28px; margin-left: 40px; padding: 8px 0; }
|
|
.xin-org-l i { width: 2px; height: 180px; background: linear-gradient(#0a0a0a, #d4d4d4); }
|
|
.xin-org-l b { font: 220 clamp(72px, 9vw, 112px)/.9 var(--sans); letter-spacing: -.03em; color: #0a0a0a; }
|
|
.xin-people-r { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 40px; }
|
|
.xin-execs { display: flex; flex-direction: column; }
|
|
.xin-exec { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: 'i n x' 'i r x'; column-gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(0, 0, 0, .1); color: inherit; text-decoration: none; }
|
|
.xin-exec:last-child { border-bottom: 1px solid rgba(0, 0, 0, .1); }
|
|
.xin-ini { grid-area: i; position: relative; overflow: hidden; display: block; width: 56px; height: 56px; border-radius: 50%; background: #ededed; color: #0a0a0a; }
|
|
.xin-ini > * { display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
.xin-exec b { grid-area: n; font-size: 21px; font-weight: 497; }
|
|
.xin-exec > span:not(.xin-ini) { grid-area: r; font-size: 16px; color: #525252; }
|
|
.xin-exec i { grid-area: x; font-style: normal; color: #737373; transition: transform 300ms cubic-bezier(.16, 1, .3, 1); }
|
|
@media (hover: hover) { .xin-exec:hover i { transform: translate(3px, -3px); color: #0a0a0a; } }
|
|
.xin-gov { display: flex; flex-direction: column; gap: 14px; }
|
|
.xin-gov-h { margin: 10px 0 0; font-size: 21px; font-weight: 497; letter-spacing: -.01em; }
|
|
.xin-gov-l { display: flex; gap: 8px 24px; margin: 6px 0 0; }
|
|
.xin-gov-l a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: #0a0a0a; font-weight: 606; text-decoration: underline; text-underline-offset: 3px; }
|
|
|
|
/* 8. read the source */
|
|
.xin-dd { border-top: 1px solid rgba(0, 0, 0, .1); }
|
|
.xin-dd-h { grid-column: 1 / 5; align-self: start; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 22px; }
|
|
.xin-dd-n { margin: 12px 0 0; display: flex; align-items: baseline; gap: 12px; color: #737373; }
|
|
.xin-dd-n b { font: 220 clamp(96px, 11vw, 112px)/.9 var(--sans); letter-spacing: -.03em; color: #0a0a0a; }
|
|
.xin-dd-n span { font: 220 clamp(32px, 3vw, 40px)/1 var(--sans); letter-spacing: -.03em; }
|
|
.xin-dd-bar { display: block; height: 3px; border-radius: 3px; background: #d4d4d4; overflow: hidden; }
|
|
.xin-dd-bar b { display: block; height: 100%; background: #0a0a0a; transform-origin: 0 50%; transition: transform 500ms cubic-bezier(.4, 0, .2, 1); }
|
|
.xin-dd-list { grid-column: 6 / 13; list-style: none; margin: 0; padding: 0; }
|
|
.xin-dd-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid rgba(0, 0, 0, .1); }
|
|
.xin-dd-list li:last-child { border-bottom: 1px solid rgba(0, 0, 0, .1); }
|
|
.xin-dd-t { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: #a3a3a3; cursor: pointer; transition: color 150ms cubic-bezier(0, 0, .2, 1), transform 90ms; }
|
|
.xin-dd-t svg { stroke: currentColor; }
|
|
.xin-dd-t svg path { stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 300ms cubic-bezier(.16, 1, .3, 1); }
|
|
.xin-dd-t:active { transform: scale(.97); }
|
|
@media (hover: hover) { .xin-dd-t:hover { color: #525252; } .xin-dd-t:hover svg path { stroke-dashoffset: 8; } }
|
|
.xin-dd-list li.on .xin-dd-t { color: #0a0a0a; }
|
|
.xin-dd-list li.on .xin-dd-t svg path { stroke-dashoffset: 0; }
|
|
.xin-dd-go { display: grid; grid-template-columns: clamp(150px, 15vw, 220px) minmax(0, 1fr) 20px; align-items: baseline; gap: 18px; min-height: 64px; padding: 6px 0; color: #0a0a0a; text-decoration: none; }
|
|
.xin-dd-go b { font: 220 clamp(28px, 3vw, 40px)/1.1 var(--sans); letter-spacing: -.03em; white-space: nowrap; }
|
|
.xin-dd-go > span { font-size: 17px; color: #525252; }
|
|
.xin-dd-w { color: #737373; }
|
|
.xin-dd-go svg { align-self: center; transition: transform 300ms cubic-bezier(.16, 1, .3, 1); }
|
|
@media (hover: hover) { .xin-dd-go:hover svg { transform: translate(2px, -2px); } .xin-dd-go:hover > span { color: #0a0a0a; } }
|
|
.xin-dd-list li.on .xin-dd-go b { color: #737373; }
|
|
|
|
/* 9. the close: one solid, Hanzo's own address */
|
|
.xin-close { padding: clamp(72px, 11vw, 188px) 0; border-top: 1px solid rgba(0, 0, 0, .1); }
|
|
.xin-close .vc-display { grid-column: 1 / 8; }
|
|
.xin-close-r { grid-column: 8 / 13; grid-row: 1 / 3; align-self: end; display: flex; flex-direction: column; gap: 28px; }
|
|
.xin-close-art { grid-column: 1 / 8; grid-row: 2; height: 260px; margin-top: 56px; border-radius: 24px; background: #f5f5f5; color: #0a0a0a; overflow: hidden; box-shadow: none; }
|
|
.xin-close-art > * { display: block; width: 100%; height: 100%; }
|
|
|
|
@media (max-width: 899px) {
|
|
.xin-hero { padding-top: 112px; }
|
|
.xin-hero-g { row-gap: 32px; }
|
|
.xin-roll { padding: 24px 22px 18px; min-height: 280px; }
|
|
.xin-roll-f { font-size: clamp(56px, 17vw, 80px); }
|
|
.xin-roll-n { max-width: none; }
|
|
.xin-roll-f2 { flex-direction: column; align-items: stretch; gap: 4px; }
|
|
.xin-roll-go { align-self: flex-end; }
|
|
.xin-backed { margin-top: 64px; row-gap: 16px; }
|
|
.xin-backed ul { justify-content: flex-start; gap: 8px 28px; }
|
|
.xin-thesis { margin-top: 56px; }
|
|
.xin-pin { height: auto; }
|
|
.xin-pin-st { position: static; height: auto; display: block; overflow: visible; }
|
|
.xin-pin-g { display: block; }
|
|
.xin-pin-s { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 24px; padding: 56px 0; pointer-events: auto; }
|
|
.xin-pin-s + .xin-pin-s { border-top: 1px solid rgba(0, 0, 0, .1); }
|
|
.xin-res .xin-pin-s + .xin-pin-s { border-top-color: rgba(255, 255, 255, .1); }
|
|
.xin-pin-s * { opacity: 1 !important; transform: none !important; }
|
|
.xin-pin-t, .xin-pin-v { grid-column: 1 / -1 !important; }
|
|
.xin-pin-v { height: 300px; }
|
|
.xin-res-h { padding-top: 72px; row-gap: 20px; }
|
|
.xin-res { padding-bottom: 56px; }
|
|
.xin-big-f { gap: 24px; }
|
|
.xin-big-f b { font-size: 96px; }
|
|
.xin-bars { padding: 0 20px; gap: 12px; }
|
|
.xin-bars li { grid-template-columns: 88px minmax(0, 1fr) 60px; font-size: 14px; gap: 8px; }
|
|
.xin-bars li > b { font-size: 14px; }
|
|
.xin-stack-h { position: static; margin-bottom: 40px; }
|
|
.xin-slabs li { top: calc(80px + var(--i) * 16px); margin-bottom: 10svh; }
|
|
.xin-slab { min-height: 0; padding: 24px; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'art' 't' 'd' 'go'; }
|
|
.xin-slab-n { font-size: 64px; }
|
|
.xin-pub-h { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
|
|
.xin-stats { margin-top: 32px; }
|
|
.xin-heat-sc { overflow-x: auto; -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); scrollbar-width: none; }
|
|
.xin-heat-m, .xin-heat-g { min-width: 720px; }
|
|
.xin-commits a { grid-template-columns: minmax(0, 1fr); gap: 4px; }
|
|
.xin-commits a small { text-align: left; }
|
|
.xin-read { margin-top: 24px; }
|
|
.xin-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
.xin-wall a { min-height: 96px; padding: 12px; }
|
|
.xin-wall .xin-logo-n { font-size: 15px; overflow-wrap: anywhere; }
|
|
.xin-people-h { margin-bottom: 40px; }
|
|
.xin-org-l i { height: 96px; }
|
|
.xin-people-r { margin-top: 40px; }
|
|
.xin-dd-h { position: static; margin-bottom: 32px; }
|
|
.xin-dd-list li { gap: 10px; }
|
|
.xin-dd-go { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 12px; }
|
|
.xin-dd-go b { grid-column: 1; }
|
|
.xin-dd-go > span { grid-column: 1; font-size: 16px; }
|
|
.xin-dd-go svg { grid-column: 2; grid-row: 1 / 3; }
|
|
.xin-close-art { grid-row: auto; height: 180px; margin-top: 32px; }
|
|
.xin-close-r { grid-row: auto; margin-top: 32px; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.xin-pin { height: auto; }
|
|
.xin-pin-st { position: static; height: auto; display: block; }
|
|
.xin-pin-g { display: block; }
|
|
.xin-pin-s { padding: 56px 0; pointer-events: auto; }
|
|
.xin-pin-s * { opacity: 1 !important; transform: none !important; }
|
|
.xin-slabs li { position: relative; top: 0; margin-bottom: 16px; }
|
|
}
|
|
/* round 2: wherever the flat (phone or reduced motion) rule clears transforms, every bar keeps its true length */
|
|
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
|
|
.xin-pin-s .xin-bars li i b, .xin-pin-s .xin-big-bar span > i { transform: scaleX(var(--xin-s, 1)) !important; transform-origin: 0 50%; }
|
|
}
|
|
/* the counter's steps are 44px squares; every link presses */
|
|
.xin-roll-n { gap: 0; }
|
|
.xin-roll-n li { min-width: 44px; }
|
|
.xin-slab:active, .xin-stats a:active, .xin-lead:active, .xin-commits a:active, .xin-wall a:active, .xin-dd-go:active, .xin-exec:active { transform: translateY(1px); transition-duration: 90ms; }
|
|
@media (hover: hover) { .xin-gov-l a:hover { text-decoration-thickness: 2px; text-underline-offset: 4px; } .xin-backed a:hover .xin-logo-n { color: #0a0a0a !important; } }
|
|
/* round 9 (8 Nov): on phones the header carries this page's ask in Hanzo's short words ([email protected], set by
|
|
usePhoneThumb in Investors.jsx). Its button keeps 3px less side padding on this page only, so the label ends inside
|
|
the 16px gutter and the shared hook does not fall back to "Try Hanzo". */
|
|
@media (max-width: 700px) { body:has(main.xin) header[data-slot=masthead] a[data-x-ask] { padding-inline: 11px; } }
|
|
/* idle motion past the hero (time, not scroll; CSS only; none under reduced motion): the newest day in the heatmap
|
|
and the newest commit carry a live ring, the wall's logos come up to full ink one at a time, and each slab's
|
|
Explore arrow nudges toward its page */
|
|
.xin-heat-g i.now { position: relative; outline: 2px solid #0a0a0a; outline-offset: 1px; animation: xin-now 1.8s cubic-bezier(.4, 0, .2, 1) infinite; }
|
|
@keyframes xin-now { 0% { box-shadow: 0 0 0 0 rgba(10, 10, 10, .35); } 100% { box-shadow: 0 0 0 8px rgba(10, 10, 10, 0); } }
|
|
.xin-live { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #0a0a0a; vertical-align: 1px; animation: xin-now 1.8s cubic-bezier(.4, 0, .2, 1) infinite; }
|
|
.xin-wall li img, .xin-wall li .xin-logo-n { animation: xin-spot 14.4s cubic-bezier(.4, 0, .2, 1) calc(var(--i, 0) * 1.2s) infinite; }
|
|
@keyframes xin-spot { 0%, 9%, 100% { } 3%, 6% { opacity: 1; color: #0a0a0a; } }
|
|
.xin-slab-go svg { animation: xin-nudge 3.2s cubic-bezier(.4, 0, .2, 1) infinite; }
|
|
.xin-slabs li:nth-child(2) .xin-slab-go svg { animation-delay: .5s; } .xin-slabs li:nth-child(3) .xin-slab-go svg { animation-delay: 1s; }
|
|
@keyframes xin-nudge { 0%, 72%, 100% { transform: none; } 84% { transform: translateX(4px); } }
|
|
@media (hover: hover) { .xin-slab:hover .xin-slab-go svg, .xin-wall a:hover img, .xin-wall a:hover .xin-logo-n { animation: none; } }
|
|
@media (prefers-reduced-motion: reduce) { .xin-heat-g i.now, .xin-live, .xin-wall li img, .xin-wall li .xin-logo-n, .xin-slab-go svg { animation: none !important; } }
|
|
/* the ownership line carries a slow pulse from the holding company down to Hanzo AI, Inc. (51% flows down it) */
|
|
.xin-org-l i { position: relative; overflow: hidden; }
|
|
.xin-org-l i::after { content: ''; position: absolute; left: -2px; right: -2px; top: 0; height: 28px; background: #0a0a0a; border-radius: 2px; transform: translateY(-28px); animation: xin-flow 2.8s cubic-bezier(.4, 0, .2, 1) infinite; }
|
|
@keyframes xin-flow { 0% { transform: translateY(-28px); } 70%, 100% { transform: translateY(200px); } }
|
|
@media (prefers-reduced-motion: reduce) { .xin-org-l i::after { animation: none; display: none; } }
|
|
|
|
/* dark mode (docs/DARK-MODE.md): Hanzo's own dark tokens only, as live hanzo.ai. The deck kit (company/deck.css,
|
|
vc-type.css and the page's inline --acc) sets its greys for bright mode only, so this page gives them Hanzo's dark
|
|
values; the results room (.xin-res) is black in both modes. The live figures and the count-up are untouched. */
|
|
html:not(.light) .xin { --ink: var(--foreground); --ink2: var(--muted-foreground); --muted: var(--text-tertiary); --quiet: var(--x-fill); --card: var(--x-fill); --tile: var(--secondary); --line: var(--border); --acc: var(--primary) !important; --acc-soft: color-mix(in srgb, var(--primary) 12%, var(--bg)); }
|
|
html:not(.light) .xin ::selection { background: var(--white-14); }
|
|
html:not(.light) .xin :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 5px var(--bg); }
|
|
html:not(.light) .xin [data-room='dark'] :focus-visible { outline-color: var(--text-primary); box-shadow: 0 0 0 5px var(--background); }
|
|
/* surfaces */
|
|
html:not(.light) .xin-roll, html:not(.light) .xin-pin-v, html:not(.light) .xin-slab, html:not(.light) .xin-org-n, html:not(.light) .xin-close-art, html:not(.light) .xin-heat-g i, html:not(.light) .xin-leg i { background: var(--x-fill); }
|
|
html:not(.light) .xin-slabs li:nth-child(2) .xin-slab, html:not(.light) .xin-ini { background: var(--secondary); }
|
|
html:not(.light) .xin-slabs li:nth-child(3) .xin-slab { box-shadow: inset 0 0 0 1px var(--border-strong); }
|
|
html:not(.light) .xin-roll-p { background: var(--secondary); color: var(--ink); }
|
|
html:not(.light) .xin-roll-go { background: var(--primary); color: var(--primary-foreground); }
|
|
html:not(.light) .xin-org-n.ink { background: var(--secondary); color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--border-strong); }
|
|
/* ink type and marks */
|
|
html:not(.light) .xin-roll-k, html:not(.light) .xin-roll-f, html:not(.light) .xin-th-sig, html:not(.light) .xin-big-f b, html:not(.light) .xin-lead-k, html:not(.light) .xin-stat-v, html:not(.light) .xin-commits a .x-mono, html:not(.light) .xin-org-l b, html:not(.light) .xin-ini, html:not(.light) .xin-gov-l a, html:not(.light) .xin-dd-n b, html:not(.light) .xin-dd-list li.on .xin-dd-t, html:not(.light) .xin-dd-go, html:not(.light) .xin-close-art { color: var(--ink); }
|
|
html:not(.light) .xin-roll-n u, html:not(.light) .xin-big-bar > span i, html:not(.light) .xin-heat-g .l4, html:not(.light) .xin-leg .l4, html:not(.light) .xin-dd-bar b, html:not(.light) .xin-live, html:not(.light) .xin-org-l i::after { background: var(--ink); color: var(--x-on-ink); }
|
|
html:not(.light) .xin-heat-g i.now { outline-color: var(--ink); }
|
|
/* greys */
|
|
html:not(.light) .xin-roll-w, html:not(.light) .xin-slab-d, html:not(.light) .xin-lead small, html:not(.light) .xin-stats a > span:first-child, html:not(.light) .xin-exec > span:not(.xin-ini), html:not(.light) .xin-dd-go > span { color: var(--ink2); }
|
|
html:not(.light) .xin-slabs li:nth-child(3) .xin-slab-d { color: var(--text-secondary); }
|
|
html:not(.light) .xin-logo-n, html:not(.light) .xin-stats small, html:not(.light) .xin-heat-m, html:not(.light) .xin-heat-f, html:not(.light) .xin-commits a small, html:not(.light) .xin-read .x-mono, html:not(.light) .xin-exec i, html:not(.light) .xin-dd-n, html:not(.light) .xin-dd-w, html:not(.light) .xin-dd-list li.on .xin-dd-go b { color: var(--muted); }
|
|
html:not(.light) .xin-roll-n i, html:not(.light) .xin-big-bar > span, html:not(.light) .xin-dd-bar { background: var(--border-strong); }
|
|
html:not(.light) .xin-big-bar i.one { background: var(--text-tertiary); }
|
|
html:not(.light) .xin-heat-g .l1, html:not(.light) .xin-leg .l1 { background: var(--secondary); }
|
|
html:not(.light) .xin-heat-g .l2, html:not(.light) .xin-leg .l2 { background: var(--white-30); }
|
|
html:not(.light) .xin-heat-g .l3, html:not(.light) .xin-leg .l3 { background: var(--muted-foreground); }
|
|
html:not(.light) .xin-org-l i { background: linear-gradient(var(--ink), var(--secondary)); }
|
|
/* hairlines */
|
|
html:not(.light) .xin-roll-f2, html:not(.light) .xin-backed, html:not(.light) .xin-stats a, html:not(.light) .xin-commits a, html:not(.light) .xin-built, html:not(.light) .xin-wall, html:not(.light) .xin-wall li, html:not(.light) .xin-exec, html:not(.light) .xin-dd, html:not(.light) .xin-dd-list li, html:not(.light) .xin-close, html:not(.light) .xin-pin-s + .xin-pin-s { border-color: var(--border); }
|
|
html:not(.light) .xin-res .xin-pin-s + .xin-pin-s { border-top-color: var(--white-10); }
|
|
@media (hover: hover) {
|
|
html:not(.light) .xin-roll-p:hover, html:not(.light) .xin-slabs li:not(:nth-child(3)) .xin-slab:hover { background: var(--white-14); }
|
|
html:not(.light) .xin-roll-n button:hover i { background: var(--text-tertiary); }
|
|
html:not(.light) .xin-wall a:hover { background: var(--x-fill); }
|
|
html:not(.light) .xin-backed a:hover .xin-logo-n, html:not(.light) .xin-wall a:hover .xin-logo-n { color: var(--ink) !important; }
|
|
html:not(.light) .xin-exec:hover i, html:not(.light) .xin-dd-t:hover, html:not(.light) .xin-dd-go:hover > span { color: var(--ink); }
|
|
}
|
|
/* the idle rings and spotlights in the page's dark ink */
|
|
html:not(.light) .xin-heat-g i.now, html:not(.light) .xin-live { animation-name: xin-now-d; }
|
|
html:not(.light) .xin-wall li img, html:not(.light) .xin-wall li .xin-logo-n { animation-name: xin-spot-d; }
|
|
@keyframes xin-now-d { 0% { box-shadow: 0 0 0 0 var(--white-30); } 100% { box-shadow: 0 0 0 8px transparent; } }
|
|
@keyframes xin-spot-d { 0%, 9%, 100% { } 3%, 6% { opacity: 1; color: var(--foreground); } }
|
|
@media (prefers-reduced-motion: reduce) { html:not(.light) .xin-heat-g i.now, html:not(.light) .xin-live, html:not(.light) .xin-wall li img, html:not(.light) .xin-wall li .xin-logo-n { animation: none !important; } }
|
|
@media (hover: hover) { html:not(.light) .xin-wall a:hover img, html:not(.light) .xin-wall a:hover .xin-logo-n { animation: none; } }
|
|
/* dark: live hanzo.ai's heroes carry a halftone dot field in dark, densest at the edges; light mode draws nothing here */
|
|
html:not(.light) .xin-hero { position: relative; isolation: isolate; }
|
|
html:not(.light) .xin-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%); mask-image: radial-gradient(ellipse 75% 70% at 45% 45%, transparent 35%, #000 100%); }
|