Files
zeekay 9268cde9c9 Sign in on hanzo.ai; serve the build's files under /assets
Sign-in is hanzo.ai's own page again: Log in, Sign up and every link to
them go to hanzo.ai/login and /signup, which the edge serves from the
app. hanzo.ai's /_next is the app's for those pages, so this build's
own files move to /assets/_next (assetPrefix, and `build` moves
out/_next under out/assets).

Claude-Session: https://claude.ai/code/session_015XYKLix9PSyn6Jw2HWKprk
2026-11-09 05:54:17 -08:00

140 lines
12 KiB
CSS

/* Koe (ko-): the capsule left of the headline, then the booth */
.ko-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 18px; }
.ko-top .mb-mono { margin: 0 auto 0 0; }
.ko-tc { margin: 0; font: 500 16px var(--mono); color: #f5f5f5; }
.ko-tc-of { color: #a3a3a3; }
.ko-wave { position: relative; height: 220px; margin: 0 18px; border-radius: 16px; background: radial-gradient(ellipse at 50% 50%, #141417, #0a0a0a 70%); overflow: hidden; cursor: pointer; }
.ko-wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: manipulation; }
.ko-script { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding: 26px 22px 10px; }
.ko-ph { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(10px, 2vw, 26px); }
.ko-ph li { font: 500 clamp(1.6rem, 3.6vw, 3.2rem)/1 var(--mono); color: #404040; transition: color .25s, transform .4s var(--ease); }
.ko-ph li[data-s='done'] { color: #a3a3a3; }
.ko-ph li[data-s='on'] { color: #fff; transform: translateY(-6px); }
.ko-word { margin: 0; display: flex; font-size: clamp(3rem, 7vw, 6rem); font-weight: 497; letter-spacing: -.05em; line-height: 1; }
.ko-word span { color: #262626; transition: color .3s; }
.ko-word span[data-s='done'], .ko-word span[data-s='on'] { color: #f5f5f5; }
.ko-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 22px 20px; }
.ko-presets .mb-mono { margin: 0; }
.ko-v2 { left: auto; right: max(24px, calc((100% - var(--wrap)) / 2)); width: min(50%, 620px); }
/* the close: white on the film, ink once the film has settled onto the white page (it sat white on white before);
hover inverts it, press is Launch's scale */
.lv:has(.ko-v2) .lv-close { transition: background-color .2s cubic-bezier(0, 0, .2, 1), border-color .2s cubic-bezier(0, 0, .2, 1), color .2s cubic-bezier(0, 0, .2, 1); }
.ko-v2[data-on] ~ .lv-close { color: #0a0a0a; background: rgba(255, 255, 255, .8); border-color: rgba(0, 0, 0, .14); }
@media (hover: hover) {
.lv:has(.ko-v2) .lv-close:hover { background: #fafafa; border-color: #fafafa; color: #0a0a0a; }
.ko-v2[data-on] ~ .lv-close:hover { background: #0a0a0a; border-color: #0a0a0a; color: #fafafa; }
}
.lv:has(.ko-v2) .lv-close:active { background: #e5e5e5; }
.ko-v2[data-on] ~ .lv-close:active { background: #262626; color: #fafafa; }
/* one solid ask per screen: Koe's own "Request access" is solid (white on the film, ink beside the settled headline);
while it shows (html[data-ko-ask], Koe.jsx) the header's ask is outlined, after it the header's ask is the solid one */
html[data-ko-ask] header[data-slot=masthead] :is(a[href='https://hanzo.ai/signup'], a[data-x-ask]) { background-color: transparent; color: var(--foreground); box-shadow: inset 0 0 0 1px var(--border, rgba(0, 0, 0, .14)); transition: background-color .15s cubic-bezier(0, 0, .2, 1), box-shadow .15s cubic-bezier(0, 0, .2, 1); }
@media (hover: hover) { html[data-ko-ask] header[data-slot=masthead] :is(a[href='https://hanzo.ai/signup'], a[data-x-ask]):hover { background-color: #f5f5f5; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); opacity: 1; } }
.lv:has(.ko-v2) .lv-name-ask .x-btn { background: #fafafa; border-color: #fafafa; color: #0a0a0a; transition: background-color .15s cubic-bezier(0, 0, .2, 1), transform .12s cubic-bezier(0, 0, .2, 1); }
@media (hover: hover) { .lv:has(.ko-v2) .lv-name-ask .x-btn:hover { background: #e5e5e5; border-color: #e5e5e5; } }
.lv:has(.ko-v2) .lv-name-ask .x-btn:active, .ko-v2 .x-btn:active { transform: scale(.97); }
.ko-v2 .x-btn.solid { transition: background-color .15s cubic-bezier(0, 0, .2, 1), transform .12s cubic-bezier(0, 0, .2, 1); }
/* every quiet button on the page answers with a fill, not only a border */
@media (hover: hover) { .lv:has(.ko-v2) .lv-body .x-btn:not(.solid):hover { background: #f5f5f5; border-color: rgba(0, 0, 0, .18); } }
/* "Try it in Design →": the arrow steps 4px right and the words take a 1px ink underline */
.ko-v2 [data-cta='koe.hero-design'] { text-decoration: none; transition: color .15s cubic-bezier(0, 0, .2, 1); }
.ko-v2 [data-cta='koe.hero-design'] span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: transparent; transition: text-decoration-color .15s cubic-bezier(0, 0, .2, 1); }
.ko-v2 [data-cta='koe.hero-design'] svg { transition: transform .15s cubic-bezier(0, 0, .2, 1); }
@media (hover: hover) {
.ko-v2 [data-cta='koe.hero-design']:hover { color: #000; }
.ko-v2 [data-cta='koe.hero-design']:hover span { text-decoration-color: currentColor; }
.ko-v2 [data-cta='koe.hero-design']:hover svg { transform: translateX(4px); }
}
.ko-v2 [data-cta='koe.hero-design']:active svg { transform: translateX(6px); }
/* the stage's pause disc and the chapter rail answer with more than a border tint */
.lv:has(.ko-v2) .lv-pause { transition: background-color .15s cubic-bezier(0, 0, .2, 1), border-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1), transform .12s cubic-bezier(0, 0, .2, 1); }
.ko-caps .lv-ch-rail button { transition: color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); }
@media (hover: hover) {
.lv:has(.ko-v2) .lv-pause:hover { background: #fafafa; border-color: #fafafa; color: #0a0a0a; }
.ko-caps .lv-ch-rail button:hover { transform: translateX(4px); }
.lv:has(.ko-v2) .lv-name-ask .x-btn:hover, .ko-v2 .x-btn.solid:hover { transform: translateY(-1px); }
}
.lv:has(.ko-v2) .lv-name-ask .x-btn:active, .ko-v2 .x-btn.solid:active { transform: scale(.97); }
.ko-caps .lv-ch-rail button:active { transform: scale(.97); }
/* the name stays: once the film has settled, "Koe" (the h1) rests above the headline on desktop and in the white band
above the pill on phones, rising in as the headline does */
.lv:not([data-calm]):has(.ko-v2[data-on]) .lv-name[data-gone] { opacity: 1 !important; transform: none !important; top: auto; bottom: calc(50% + 96px); left: auto; right: max(24px, calc((100% - var(--wrap)) / 2)); width: min(50%, 620px); max-width: none; margin: 0; padding: 0; }
.lv:not([data-calm]):has(.ko-v2[data-on]) .lv-name[data-gone] .lv-name-h { color: #0a0a0a; font-size: 52px; letter-spacing: -.035em; line-height: 1; animation: ko-name .7s cubic-bezier(.16, 1, .3, 1) both; }
.lv:not([data-calm]):has(.ko-v2[data-on]) .lv-name[data-gone] :is(.lv-name-d, .lv-name-t, .lv-name-ask) { display: none; }
@keyframes ko-name { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (min-width: 901px) {
.lv:not([data-calm]) .ko-v2 { top: calc(50% - 80px); transform: none; }
/* the pause disc docks at the foot of the settled capsule, on its own film */
.lv:not([data-calm]):has(.ko-v2[data-on]) .lv-pause { left: calc(26% - 22px); right: auto; top: calc(92% - 76px); bottom: auto; animation: ko-dock .5s cubic-bezier(.16, 1, .3, 1) both; }
}
/* the booth window is a static tile: a flat fill, no shadow */
.ko-scene .mb-panel { box-shadow: none; }
/* chapter and fits pictures drawn from the booth (KoePanels.jsx) */
.ko-panel { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ko-fits-art { background: #0a0a0a; }
/* captions sit under their headings; the rooms after the booth close up */
.ko-sh { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 40px; }
.ko-fits { padding-top: 0; }
.ko-map { padding-top: 0; }
@media (min-width: 901px) { .ko-scene { padding-bottom: 116px; } .ko-fits { padding-bottom: 116px; } .lv-sec.ko-map { padding-bottom: 58px; } .ko-map + .mc.lv-sec { padding-top: 58px; } }
/* phones: the capsule keeps speaking after it settles (Meter in Koe.jsx) and the film breathes inside it */
.ko-pill { position: absolute; overflow: hidden; pointer-events: none; }
.ko-sweep { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); animation: ko-sweep 6s linear infinite; }
@keyframes ko-sweep { from { transform: translateX(0); } to { transform: translateX(var(--pw)); } }
.ko-meter { position: absolute; left: 50%; bottom: 16%; display: flex; align-items: center; gap: 4px; height: 34px; transform: translateX(-50%); }
.ko-meter i { display: block; width: 3px; height: 100%; border-radius: 2px; background: #fafafa; transform: scaleY(.12); animation: ko-level 1s cubic-bezier(.4, 0, .2, 1) infinite alternate; }
@keyframes ko-level { from { transform: scaleY(.1); opacity: .55; } to { transform: scaleY(var(--a)); opacity: 1; } }
[data-mpaused] .ko-pill i, [data-mpaused] .lv:has(.ko-v2) .lv-film-in > * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .ko-pill { display: none; } }
@media (max-width: 900px) {
.ko-v2 { left: 20px; right: 20px; width: auto; top: calc(47% + 28px); bottom: auto; }
.lv[data-narrow]:has(.ko-v2) .lv-film-in > :is(img, video) { animation: ko-breathe 7s ease-in-out infinite alternate; }
.ko-wave { height: 160px; margin: 0 12px; }
.ko-top { padding: 12px 14px; }
.ko-script { padding: 20px 14px 6px; }
.ko-presets { padding: 12px 14px 16px; }
.lv:not([data-calm]):has(.ko-v2[data-on]) .lv-name[data-gone] { top: 23px; bottom: auto; left: 20px; right: 84px; width: auto; }
.lv:not([data-calm]):has(.ko-v2[data-on]) .lv-name[data-gone] .lv-name-h { font-size: 44px; }
/* the pause disc docks on the settled pill's right end, on its own film */
.lv:not([data-calm]):has(.ko-v2[data-on]) .lv-pause { top: calc((76px + 47%) / 2 - 22px); bottom: auto; right: 32px; animation: ko-dock .5s cubic-bezier(.16, 1, .3, 1) both; }
/* the map's fields: one row that scrolls sideways (the next field peeks), never two rows in the pill */
.ko-tabs { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; border-radius: 999px; width: auto; }
.ko-tabs::-webkit-scrollbar { display: none; }
.ko-tabs .cr-tab { flex: none; white-space: nowrap; scroll-snap-align: start; }
}
@keyframes ko-dock { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) and (max-height: 700px) {
/* short phones: the ask comes straight under the headline so it clears the cookie card; the lede follows it */
.lv:not([data-calm]) .ko-v2 { top: calc(34% + 22px); display: flex; flex-direction: column; }
.lv:not([data-calm]) .ko-v2 > .lv-acts { order: 1; margin-top: 16px; }
.lv:not([data-calm]) .ko-v2 > .lv-lede { order: 2; margin-top: 14px; }
.lv:not([data-calm]) .ko-v2 > .lv-crumb { order: 3; }
.lv:not([data-calm]):has(.ko-v2[data-on]) .lv-pause { top: calc((76px + 34%) / 2 - 22px); }
}
@keyframes ko-breathe { from { transform: scale(1); } to { transform: scale(1.1) translateY(-2%); } }
@media (prefers-reduced-motion: reduce) { .lv:has(.ko-v2) .lv-film-in > * { animation: none !important; } }
/* dark (docs/DARK-MODE.md): once the film settles, the page beside it is Hanzo's dark, so the name, the close and the
quiet hovers take Hanzo's tokens; bright mode reads none of this */
html:not(.light) .ko-v2[data-on] ~ .lv-close { color: var(--foreground); background: var(--surface-overlay); border-color: var(--border-control); }
@media (hover: hover) {
html:not(.light) .ko-v2[data-on] ~ .lv-close:hover { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
html:not(.light)[data-ko-ask] header[data-slot=masthead] :is(a[href='https://hanzo.ai/signup'], a[data-x-ask]):hover { background-color: var(--muted); box-shadow: inset 0 0 0 1px var(--border-selected); }
html:not(.light) .lv:has(.ko-v2) .lv-body .x-btn:not(.solid):hover { background: var(--muted); border-color: var(--border-strong); }
html:not(.light) .ko-v2 [data-cta='koe.hero-design']:hover { color: var(--text-primary); }
}
html:not(.light) .ko-v2[data-on] ~ .lv-close:active { background: var(--primary-hover); color: var(--primary-foreground); }
html:not(.light) .lv:not([data-calm]):has(.ko-v2[data-on]) .lv-name[data-gone] .lv-name-h { color: var(--foreground); }
/* dark: the shared Creative.css draws these two headings in #0a0a0a in both modes; on this page they take Hanzo's
foreground in dark until the shared file is converted */
html:not(.light) .lv:has(> .lv-stage[data-hero=koe]) :is(.cr-caps-h, .cr-fits-list h3) { color: var(--foreground); }
html:not(.light) .lv:has(> .lv-stage[data-hero=koe]) .cr-fit-x { color: var(--muted-foreground); }
html:not(.light) .lv:has(> .lv-stage[data-hero=koe]) :is(.cr-fits-list, .cr-fits-list li) { border-color: var(--border); }