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

344 lines
29 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* ---------- learn (v2, grey deck) ---------- */
.xlr-line-tag { font: 606 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--hz-950); }
.xlr-link { min-height: 44px; font: 500 17px/1 var(--sans); transition: transform .15s var(--xp-ease); }
.xlr-link:active { transition-duration: 90ms; }
.xlr-link svg { color: var(--hz-500); }
@media (hover: hover) { .xlr-link:hover svg { color: var(--ink); } }
.xlr-link:active { transform: scale(.97); }
.xlr-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
/* one solid per screen: while the hero's ask is on screen, the header's ask is an outline (as /playground does) */
html:has(main.xlr[data-ask-on]) header[data-slot=masthead] a[href='https://hanzo.ai/signup'],
html:has(main.xlr[data-ask-on]) header[data-slot=masthead] a[data-x-ask] { background-color: transparent; color: var(--foreground); box-shadow: inset 0 0 0 1px var(--border, rgba(0, 0, 0, .14)); }
@media (hover: hover) { html:has(main.xlr[data-ask-on]) header[data-slot=masthead] :is(a[href='https://hanzo.ai/signup'], a[data-x-ask]):hover { background-color: rgba(0, 0, 0, .05); box-shadow: inset 0 0 0 1px var(--ink); } }
/* hero: the title, then the map */
.xlr-hero { padding: clamp(48px, 7vw, 112px) 0 clamp(56px, 6vw, 88px); }
.xlr-index.xp-sec { padding-top: 0; }
.xlr-hero-top { align-items: end; row-gap: 32px; }
.xlr-hero-h { grid-column: 1 / span 8; }
.xlr-hero-side { grid-column: 9 / span 4; display: grid; gap: 28px; padding-bottom: 12px; }
.xlr-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.xlr-hero-map { margin-top: clamp(56px, 6vw, 96px); align-items: stretch; row-gap: 16px; }
/* the map is raised by its panel only: no outline round it (MASTER 7: raise or outline, never both) */
.xlr-map.xp-obj { grid-column: 1 / -1; padding: 0; border: 0; border-radius: 0; background: transparent; }
.xlr-map-k { font: 606 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--hz-500); margin-right: 14px; }
.xlr-map-n { margin-left: auto; }
.xlr-map-top { justify-content: flex-start !important; }
.xlr-guide { display: inline-flex; align-items: baseline; gap: .3em; color: inherit; text-decoration: none; }
.xlr-guide i { font-style: normal; font-size: .6em; color: var(--hz-500); transition: transform .3s var(--xp-ease); }
@media (hover: hover) { .xlr-guide:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; } .xlr-guide:hover i { transform: translate(3px, -3px); color: var(--hz-950); } }
.xlr-guide:active { transform: scale(.97); }
.xlr-map-top { display: flex; justify-content: space-between; align-items: center; }
.xlr-map-top .x-mono { font-size: 14px; color: var(--soft); }
.xlr-track { position: relative; margin-top: 56px; }
.xlr-rail { position: absolute; left: 10%; right: 10%; top: 15px; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .08); }
.xlr-rail b { position: absolute; inset: 0; border-radius: 3px; background: var(--xp-accent); transform-origin: 0 50%; }
.xlr-train { position: absolute; left: 10%; right: 10%; top: 0; height: 36px; pointer-events: none; z-index: 2; }
.xlr-train i { position: absolute; left: -18px; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--hz-950); box-shadow: 0 0 0 8px rgba(10, 10, 11, .08); }
.xlr-train i::after { content: ''; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
/* at rest on MCP the train breathes: a ring swells and settles three times (4.8 s, under WCAG's 5 s), then holds */
.xlr-train i::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; background: rgba(10, 10, 11, .12); opacity: 0; transform: scale(.8); }
.xlr-train.rest i::before { animation: xlr-breathe 1.6s cubic-bezier(.4, 0, .2, 1) 3; }
@keyframes xlr-breathe { 50% { opacity: 1; transform: scale(1.25); } }
.xlr-stops { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.xlr-stops button { display: grid; justify-items: center; gap: 16px; min-height: 44px; padding: 6px 4px 0; border: 0; background: none; cursor: pointer; font: 500 clamp(15px, 1.25vw, 18px)/1.25 var(--sans); color: var(--soft); text-align: center; transition: color .25s; }
.xlr-stops button i { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid rgba(0, 0, 0, .16); transition: border-color .3s, transform .3s var(--xp-ease); }
.xlr-stops button.past i { border-color: var(--xp-accent); }
@media (hover: hover) { .xlr-stops button:hover { color: var(--ink); } .xlr-stops button:hover i { border-color: var(--xp-accent); } }
.xlr-stops button:active i { transform: scale(.97); }
.xlr-stops button[aria-selected='true'] { color: var(--ink); font-weight: 600; }
.xlr-stops button:focus-visible { outline: 2px solid var(--xp-accent); outline-offset: 2px; border-radius: 10px; }
.xlr-panels { margin-top: 40px; min-height: 220px; padding: clamp(24px, 2.8vw, 36px); border-radius: 16px; background: var(--card); }
.xlr-panel > div { display: grid; gap: 16px; justify-items: start; }
.xlr-panel .xp-lede { max-width: 48ch; }
/* desktop: the guide reads as one line under the map (its name left, its line right), so the panel holds no empty half
and the whole map, train and open guide sit in the first screen at 1470x801 */
@media (min-width: 901px) {
.xlr-panels { margin-top: 32px; min-height: 0; padding: 28px clamp(24px, 2.8vw, 36px); }
.xlr-panel > div { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; column-gap: 24px; align-content: center; min-height: 64px; }
.xlr-panel .xp-lede { margin: 0; }
.xlr-panel h3 { margin: 0; }
}
/* the index, scene 1: the rail of six (proximity snap, 16% peek, drag with inertia) */
.xlr-rail-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.xlr-rail-ctl { display: flex; align-items: center; gap: 8px; }
.xlr-rail-ctl .xp-count { margin-right: 12px; }
.xlr-step { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--card); color: var(--ink); cursor: pointer; font: 400 18px/1 var(--sans); transition: background-color .2s, transform .15s var(--xp-ease); }
.xlr-step i { font-style: normal; transition: transform .3s var(--xp-ease); }
@media (hover: hover) { .xlr-step:not(:disabled):hover { background: var(--hz-200); } .xlr-step[aria-label='Next']:not(:disabled):hover i { transform: translateX(3px); } .xlr-step[aria-label='Previous']:not(:disabled):hover i { transform: translateX(-3px); } }
.xlr-step:active:not(:disabled) { transform: scale(.97); transition-duration: 90ms; }
.xlr-step:disabled { color: var(--hz-300); cursor: default; }
.xlr-step:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.xlr-try { --gap: 12px; display: flex; gap: var(--gap); column-gap: var(--gap); list-style: none; margin: 0; padding: 0 0 4px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; }
.xlr-try::-webkit-scrollbar { display: none; }
.xlr-try.held { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.xlr-try > li { flex: 0 0 calc((84% - 2 * var(--gap)) / 3); scroll-snap-align: start; }
/* a card: the product's Hanzo still (cropped at true size) with its numeral set into the art, then the title and line.
One numeral big at a time: each rests at half size (scale .5) and grows to 64px only on the lit or hovered card. */
.xlr-card { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 10px; height: 100%; padding: 10px 10px 28px; border-radius: 24px; background: var(--card); color: var(--ink); text-decoration: none; -webkit-user-drag: none; transition: background-color .25s, transform .15s var(--xp-ease); }
.xlr-card-m { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 14px; border-radius: 16px; overflow: hidden; background: #000; }
.xlr-card-m img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform .6s var(--xp-ease); }
.xlr-card-n { position: absolute; left: 18px; bottom: 14px; font-size: 64px; color: #fff; transform: scale(.5); transform-origin: 0 100%; transition: transform .45s var(--xp-ease); }
.xlr-card-t, .xlr-card-d { padding: 0 18px; }
.xlr-card-t { font: 497 21px/1.2 var(--sans); letter-spacing: -.015em; }
.xlr-card-d { font-size: 16px; line-height: 1.5; color: var(--soft); max-width: 34ch; }
.xlr-card > i { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 32px; height: 32px; font-style: normal; color: #fff; transition: transform .3s var(--xp-ease); }
@media (hover: hover) { .xlr-card:hover { background: var(--hz-100); } .xlr-card:hover .xlr-card-n { transform: scale(1); } .xlr-card:hover img { transform: scale(1.04); } .xlr-card:hover .xlr-card-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } .xlr-card:hover > i { transform: translateX(4px); } }
@media (hover: hover) { .xlr-try:hover .xlr-card.lit:not(:hover) .xlr-card-n { transform: scale(.5); } }
.xlr-card.lit { background: var(--hz-100); }
.xlr-card.lit .xlr-card-n { transform: scale(1); }
.xlr-card.lit img { transform: scale(1.04); }
.xlr-card:active { transform: scale(.97); transition-duration: 90ms; }
.xlr-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.xlr-rail-bar { display: block; position: relative; height: 2px; margin-top: 28px; background: var(--line); overflow: hidden; }
.xlr-rail-bar b { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transition: transform .2s linear; }
/* the index, scene 2: Hanzo University's film beside where to go further */
.xlr-further { margin-top: clamp(96px, 10vw, 160px); align-items: center; row-gap: 48px; }
.xlr-uni-a { grid-column: 1 / span 5; position: relative; display: grid; gap: 20px; color: var(--ink); text-decoration: none; transition: transform .15s var(--xp-ease); }
.xlr-uni-l { color: inherit; text-decoration: none; }
.xlr-uni-l::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 24px; }
.xlr-uni-m { position: relative; display: block; aspect-ratio: 4 / 5; max-height: 560px; border-radius: 24px; overflow: hidden; background: var(--hz-100); outline: 1px solid rgba(0, 0, 0, .08); outline-offset: -1px; }
.xlr-pause { position: absolute; left: 16px; top: 16px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; transition: background-color .15s, color .15s, transform .15s var(--xp-ease); }
@media (hover: hover) { .xlr-pause:hover { background: var(--ink); color: #fff; } }
.xlr-pause:active { transform: scale(.97); transition-duration: 90ms; }
.xlr-pause:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.xlr-uni-m video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--xp-ease); }
.xlr-uni-c b { display: block; font: 497 26px/1.15 var(--sans); letter-spacing: -.02em; }
.xlr-uni-c span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--soft); }
.xlr-uni-a > i { position: absolute; right: 0; bottom: 34px; font-style: normal; font-size: 21px; color: var(--hz-500); transition: transform .3s var(--xp-ease), color .15s; }
@media (hover: hover) { .xlr-uni-a:has(.xlr-uni-l:hover) video { transform: scale(1.03); } .xlr-uni-a:has(.xlr-uni-l:hover) b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } .xlr-uni-a:has(.xlr-uni-l:hover) > i { transform: translate(3px, -3px); color: var(--ink); } }
.xlr-uni-a:has(.xlr-uni-l:active) { transform: scale(.97); transition-duration: 90ms; }
.xlr-uni-l:focus-visible { outline: none; }
.xlr-uni-l:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 4px; }
.xlr-col.further { grid-column: 7 / span 6; }
.xlr-col .xp-head { margin-bottom: 24px; }
.xlr-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.xlr-row { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s var(--xp-ease); }
.xlr-row-t { font: 497 21px/1.2 var(--sans); letter-spacing: -.015em; }
.xlr-row-d { grid-column: 1; font-size: 16px; line-height: 1.5; color: var(--soft); max-width: 56ch; }
.xlr-row i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; color: var(--hz-400); transition: transform .3s var(--xp-ease), color .15s; }
@media (hover: hover) { .xlr-row:hover .xlr-row-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } .xlr-row:hover i { transform: translateX(4px); color: var(--ink); } }
.xlr-row:active { transform: scale(.97); }
.xlr-row:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
/* the dark room, one row: the newest post leads big, two follow; the thinking along its foot */
.xlr-think .xp-head { color: #fafafa; margin-bottom: 32px; }
.xlr-posts { list-style: none; margin: 0; padding: 0; align-items: stretch; row-gap: 12px; }
.xlr-posts > li { grid-column: span 6; }
.xlr-posts > li.lead { grid-column: 1 / -1; }
.xlr-post { position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px; border-radius: 24px; background: #171717; color: #fafafa; text-decoration: none; transition: background-color .25s, transform .15s var(--xp-ease); }
.xlr-post time { font-size: 13px; color: #a3a3a3; }
.xlr-post .xlr-post-t { font: 497 21px/1.25 var(--sans); letter-spacing: -.015em; text-wrap: balance; }
.xlr-post > span:last-child { font-size: 16px; line-height: 1.5; color: #a3a3a3; }
/* the lead post is the room's one big thing: a full-width row, the 44px title on the left 8, its line on the right 5 */
.lead .xlr-post { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); grid-template-rows: auto 1fr; gap: 16px clamp(32px, 4vw, 72px); align-items: end; padding: clamp(28px, 3.4vw, 48px); }
.lead .xlr-post time { grid-column: 1 / -1; }
.lead .xlr-post .xlr-post-t { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.03em; max-width: 20ch; }
.lead .xlr-post > span:last-child { max-width: 44ch; padding-bottom: 6px; }
.xlr-post-m { position: relative; display: block; margin: -16px -16px 4px; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #000; }
.xlr-post-m video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; transition: transform .6s var(--xp-ease); }
.xlr-post-m .xlr-pause { left: 12px; top: 12px; }
/* Kai's post lays its film beside the words, so its row partner is never a tall empty slab */
.xlr-post.has-film { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto auto 1fr; column-gap: 24px; align-content: start; }
.has-film .xlr-post-m { grid-row: 1 / span 3; margin: -16px 0 -16px -16px; aspect-ratio: 1; }
.has-film > time, .has-film > .xlr-post-l, .has-film > span:last-child { grid-column: 2; }
.xlr-post-l { color: inherit; text-decoration: none; }
.xlr-post-l::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 24px; }
@media (hover: hover) {
.xlr-post:not(.has-film):hover, .has-film:has(.xlr-post-l:hover) { background: #262626; }
.xlr-post:not(.has-film):hover .xlr-post-t, .has-film:has(.xlr-post-l:hover) .xlr-post-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.xlr-post:not(.has-film):hover time, .has-film:has(.xlr-post-l:hover) time { color: #fafafa; }
.has-film:has(.xlr-post-l:hover) video { transform: scale(1.03); }
}
.xlr-post:not(.has-film):active, .has-film:has(.xlr-post-l:active) { transform: scale(.97); transition-duration: 90ms; }
.xlr-post:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.xlr-post-l:focus-visible { outline: none; }
.xlr-post-l:focus-visible::after { outline: 2px solid #fff; outline-offset: 3px; }
.xlr-thk { margin-top: clamp(56px, 6vw, 88px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .3); align-items: start; row-gap: 16px; }
/* the thinking: heading on the left 5, a hairline list of three on the right 7 (rows, not three equal boxes) */
.xlr-thk .xp-head { grid-column: 1 / span 5; margin: 0; padding-top: 18px; }
.xlr-think-grid { grid-column: 6 / -1; list-style: none; margin: 0; padding: 0; }
.xlr-think-grid > li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
.xlr-think-a { position: relative; display: grid; grid-template-columns: minmax(0, 14ch) minmax(0, 1fr); align-items: baseline; gap: 6px 24px; padding: 18px 40px 18px 0; color: #fafafa; text-decoration: none; transition: transform .15s var(--xp-ease); }
.xlr-think-a .xlr-think-t { font: 497 17px/1.3 var(--sans); }
.xlr-think-a .xlr-think-d { font-size: 14px; line-height: 1.5; color: #a3a3a3; }
.xlr-think-a i { position: absolute; top: 20px; right: 4px; font-style: normal; color: #a3a3a3; transition: transform .3s var(--xp-ease), color .15s; }
@media (hover: hover) { .xlr-think-a:hover .xlr-think-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } .xlr-think-a:hover i { transform: translateX(4px); color: #fafafa; } }
.xlr-think-a:active { transform: scale(.97); }
.xlr-think-a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* questions */
.xlr-qa .xp-grid { align-items: start; row-gap: 40px; }
.xlr-sticky { grid-column: 1 / span 4; position: sticky; top: 110px; display: grid; gap: 20px; justify-items: start; }
.xlr-qa-l { grid-column: 6 / span 7; }
.xlr-qa-fig { display: flex; align-items: baseline; gap: 10px; }
.xlr-qa-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.xlr-qa-mask b { display: block; font-size: 64px; color: var(--ink); }
.xlr-qa .x-faq button { padding: 24px 0; font-size: 17px; }
@media (hover: hover) { .xlr-qa .x-faq button:hover > span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
.xlr-qa .x-faq button > i { text-decoration: none; }
/* the close: the hero's lede at display size and "Get started", on paper */
.xlr-close .xp-grid { align-items: end; row-gap: 32px; border-top: 1px solid var(--line); padding-top: clamp(56px, 6vw, 88px); }
.xlr-close-h { grid-column: 1 / span 8; max-width: 22ch; }
.xlr-close-act { grid-column: 9 / span 4; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-bottom: 8px; }
.xlr-close.xp-sec { padding-top: 0; }
.xlr-qa .x-faq-a > div { font-size: 16px; }
.xlr .x-faq .x-arrow { margin-top: 12px; }
@media (max-width: 1100px) {
.xlr-try > li { flex-basis: calc((84% - var(--gap)) / 2); }
.xlr-posts > li { grid-column: span 6; }
.xlr-posts > li.lead { grid-column: 1 / -1; }
.xlr-thk .xp-head, .xlr-think-grid { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
.xlr-hero { padding: 32px 0 48px; }
.xlr-acts > a.xp-cta { width: 100%; }
.xlr-hero-map { margin-top: 40px; }
.xlr-track { margin-top: 36px; padding-bottom: 30px; }
/* phone: the current station's name sits under its dot (first aligned left, last right), the rest stay named for
screen readers only */
.xlr-stops button { position: relative; }
/* phones: only the lit station shows its name (each button keeps its name in aria-label) */
.xlr-stops button span { position: absolute; display: none; }
.xlr-stops button[aria-selected='true'] span { display: block; }
.xlr-stops button[aria-selected='true'] span { top: 46px; left: 50%; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; font: 606 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); transform: translateX(-50%); animation: xlr-label .3s cubic-bezier(.16, 1, .3, 1); }
.xlr-stops button:first-child[aria-selected='true'] span { left: 8px; transform: none; }
.xlr-stops button:last-child[aria-selected='true'] span { left: auto; right: 8px; transform: none; }
.xlr-panels { margin-top: 20px; min-height: 0; }
.xlr-close-h, .xlr-close-act { grid-column: 1 / -1; }
.xlr-close-act > a.xp-cta { width: 100%; }
.xlr-thk .xp-head, .xlr-think-grid { grid-column: 1 / -1; }
.xlr-think-a { grid-template-columns: 1fr; }
.lead .xlr-post { grid-template-columns: 1fr; }
.xlr-post.has-film { grid-template-columns: 1fr; }
.has-film .xlr-post-m { grid-row: auto; margin: -16px -16px 4px; aspect-ratio: 16 / 10; }
.has-film > time, .has-film > .xlr-post-l, .has-film > span:last-child { grid-column: 1; }
.xlr-try > li { flex-basis: 84%; }
.xlr-rail-top { flex-wrap: wrap; row-gap: 12px; margin-bottom: 20px; }
.xlr-rail-top .xp-head { flex: 1 0 100%; }
.xlr-rail-ctl { width: 100%; }
.xlr-rail-ctl .xp-count { margin-right: auto; white-space: nowrap; }
.xlr-card { padding: 8px 8px 24px; }
.xlr-card-t, .xlr-card-d { padding: 0 14px; }
.xlr-uni-a, .xlr-col.further { grid-column: 1 / -1; }
.xlr-uni-m { aspect-ratio: 4 / 3; }
.xlr-posts > li, .xlr-posts > li.lead { grid-column: 1 / -1; }
.xlr-sticky { position: static; }
}
@keyframes xlr-label { from { clip-path: inset(0 0 100% 0); } }
/* ---------- motion map (7 Nov): word-light signature + five entrances ---------- */
/* signature, word-light: Hanzo's first answer at display size, lit word by word as it is read */
.xlr-say.xp-sec { padding: clamp(40px, 5vw, 88px) 0 clamp(64px, 6vw, 104px); }
.xlr-say-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: clamp(24px, 3vw, 40px); }
.xlr-say-k { font: 606 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--hz-500); }
.xlr-say-n { font-size: 14px; color: var(--soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.xlr-say-t { grid-column: 1 / span 11; margin: 0; font: 497 clamp(30px, 4.3vw, 64px)/1.1 var(--sans); letter-spacing: -.03em; text-wrap: pretty; color: var(--ink); }
.xlr-say-t > span > span { color: var(--hz-200); cursor: pointer; transition: color .3s var(--xp-ease); }
.xlr-say-t > span > span.on { color: var(--ink); }
.xlr-say-t:focus-visible { outline: 2px solid var(--focus); outline-offset: 10px; border-radius: 8px; }
.xlr-say-more { grid-column: 1 / -1; margin-top: clamp(16px, 2vw, 24px); }
/* entrance 1, tile-flip (hero): paper tiles flip away corner to corner; at rest they are edge-on (invisible) */
.xlr-hero-wrap { position: relative; }
.xlr-tiles { position: absolute; inset: -16px 0; z-index: 3; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 3px; pointer-events: none; perspective: 1600px; }
.xlr-tiles i { display: block; border-radius: 8px; background: var(--card); backface-visibility: hidden; transform: rotateY(-180deg); }
html:not(.js) .xlr-tiles { display: none; }
@keyframes xlr-tile { from { transform: rotateY(0deg); } }
/* entrances 2–5: parts wait in their start pose only while JS runs and motion is allowed; fills are backwards only */
@keyframes xlr-fold { 0% { opacity: 0; transform-origin: 50% 0; transform: perspective(1400px) rotateX(-92deg); } 30% { opacity: 1; } 100% { transform-origin: 50% 0; transform: perspective(1400px) rotateX(0deg); } }
@keyframes xlr-dl { from { opacity: 0; transform: translateX(-18vw); } }
@keyframes xlr-dr { from { opacity: 0; transform: translateX(18vw); } }
@keyframes xlr-fade { from { opacity: 0; } }
@keyframes xlr-spl {
0% { opacity: 0; transform: translate(-44vw, 22vh) rotate(-250deg) scale(.25); }
28% { opacity: 1; transform: translate(-20vw, -16vh) rotate(-160deg) scale(.5); }
56% { transform: translate(7vw, -6vh) rotate(-75deg) scale(.78); }
80% { transform: translate(-1.5vw, 2vh) rotate(-18deg) scale(.95); }
100% { transform: none; }
}
@keyframes xlr-spr {
0% { opacity: 0; transform: translate(44vw, 26vh) rotate(130deg) scale(.4); }
30% { opacity: 1; transform: translate(18vw, -12vh) rotate(80deg) scale(.62); }
60% { transform: translate(-6vw, -4vh) rotate(30deg) scale(.86); }
82% { transform: translate(1vw, 1.5vh) rotate(6deg) scale(.97); }
100% { transform: none; }
}
@keyframes xlr-d1 { from { opacity: 0; transform: translateY(200px) scale(.9); filter: blur(4px); } }
@keyframes xlr-d2 { from { opacity: 0; transform: translateY(120px) scale(.95); filter: blur(2px); } }
@keyframes xlr-d3 { from { opacity: 0; transform: translateY(48px); } }
.xlr-d1, .xlr-d2 { display: block; }
@media (prefers-reduced-motion: no-preference) {
.xlr-tiles i { animation: xlr-tile .7s cubic-bezier(.65, 0, .35, 1) backwards; animation-delay: calc(60ms + var(--a) * 55ms); }
html.js .xlr [data-e=fold]:not([data-in]) > *,
html.js .xlr [data-e^=drift]:not([data-in]),
html.js .xlr [data-e=spiral]:not([data-in]) > *,
html.js .xlr [data-e=depth]:not([data-in]) :is(.xlr-d1, .xlr-d2, .xlr-close-act) { opacity: 0; }
/* 2, fold-out (index): each part unfolds from a hinge along its top edge, one after another */
.xlr [data-e=fold][data-in] > * { animation: xlr-fold .95s cubic-bezier(.2, .8, .2, 1) backwards; }
.xlr [data-e=fold][data-in] > :nth-child(2) { animation-delay: .14s; }
.xlr [data-e=fold][data-in] > :nth-child(3) { animation-delay: .28s; }
/* 3, opposite-drift (dark room): left halves drift in from the left, right halves from the right */
.xlr [data-e=drift-l][data-in] { animation: xlr-dl 1.25s cubic-bezier(.22, 1, .36, 1) backwards; }
.xlr [data-e=drift-r][data-in] { animation: xlr-dr 1.25s cubic-bezier(.22, 1, .36, 1) .08s backwards; }
.xlr [data-e=drift-split][data-in] > .xlr-post { animation: xlr-fade .5s ease-out backwards; }
.xlr [data-e=drift-split][data-in] :is(.xlr-post > time, .xlr-post > b, .xp-head) { animation: xlr-dl 1.25s cubic-bezier(.22, 1, .36, 1) backwards; }
.xlr [data-e=drift-split][data-in] :is(.xlr-post > span:not(.xlr-post-t), .xlr-think-grid) { animation: xlr-dr 1.25s cubic-bezier(.22, 1, .36, 1) .06s backwards; }
/* 4, spiral-in (questions): the heading and number spiral in from the left edge, the answers from the right */
.xlr [data-e=spiral][data-in] > .xlr-sticky { animation: xlr-spl 1.3s cubic-bezier(.45, .05, .55, .95) backwards; }
.xlr [data-e=spiral][data-in] > .xlr-qa-l { animation: xlr-spr 1.3s cubic-bezier(.45, .05, .55, .95) .15s backwards; }
/* 5, depth-parallax (close): three layers start at three depths and travel at three speeds; the far one arrives last */
.xlr [data-e=depth][data-in] .xlr-d1 { animation: xlr-d1 1.6s cubic-bezier(.16, 1, .3, 1) backwards; }
.xlr [data-e=depth][data-in] .xlr-d2 { animation: xlr-d2 1.15s cubic-bezier(.16, 1, .3, 1) backwards; }
.xlr [data-e=depth][data-in] .xlr-close-act { animation: xlr-d3 .75s cubic-bezier(.16, 1, .3, 1) backwards; }
}
@media (max-width: 900px) {
.xlr-say-t { grid-column: 1 / -1; }
.xlr-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(8, minmax(0, 1fr)); }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
.xlr-tiles i { animation-delay: calc(60ms + var(--b) * 55ms); }
}
@media (prefers-reduced-motion: reduce) { .xlr-tiles { display: none; } }
/* ---------- dark mode (docs/DARK-MODE.md): live hanzo.ai's dark, by role, in Hanzo's own tokens ----------
page --background with live's hero glow; the map's panel and cards on --card / --secondary; hairlines --border;
text --foreground, --muted-foreground and --text-tertiary. The dark room (.xlr-think, [data-room=dark]) stands as it is. */
/* live's hero halftone (HeroDither, dark only) fills the hero */
html:not(.light) .xlr-hero { position: relative; }
html:not(.light) .xlr-hero { background: radial-gradient(60% 70% at 50% 0%, rgba(229, 229, 229, .09), transparent 70%); }
html:not(.light) .xlr-line-tag, html:not(.light) .xlr-guide:hover i { color: var(--foreground); }
html:not(.light) :is(.xlr-map-k, .xlr-guide i, .xlr-link svg, .xlr-say-k, .xlr-uni-a > i) { color: var(--muted-foreground); }
html:not(.light) .xlr-row i { color: var(--text-tertiary); }
html:not(.light) .xlr-rail { background: var(--border); }
html:not(.light) .xlr-train i { background: var(--foreground); box-shadow: 0 0 0 8px var(--glass); }
html:not(.light) .xlr-train i::after { background: var(--background); }
html:not(.light) .xlr-train i::before { background: var(--border-control); }
html:not(.light) .xlr-stops button i { background: var(--background); border-color: var(--border-strong); }
html:not(.light) .xlr-stops button.past i { border-color: var(--xp-accent); }
@media (hover: hover) { html:not(.light) .xlr-stops button:hover i { border-color: var(--xp-accent); } }
html:not(.light) .xlr-card.lit { background: var(--secondary); }
@media (hover: hover) { html:not(.light) .xlr-card:hover { background: var(--secondary); } }
@media (hover: hover) { html:not(.light) .xlr-step:not(:disabled):hover { background: var(--secondary); } }
html:not(.light) .xlr-step:disabled { color: var(--text-tertiary); }
html:not(.light) .xlr-uni-m { background: var(--muted); outline-color: var(--border); }
html:not(.light) .xlr-pause:not([data-room=dark] *) { background: var(--secondary); color: var(--foreground); }
@media (hover: hover) { html:not(.light) .xlr-pause:not([data-room=dark] *):hover { background: var(--foreground); color: var(--primary-foreground); } }
html:not(.light) .xlr-say-t > span > span { color: var(--secondary); }
html:not(.light) .xlr-say-t > span > span.on { color: var(--ink); }
@media (hover: hover) { html:not(.light):has(main.xlr[data-ask-on]) header[data-slot=masthead] :is(a[href='https://hanzo.ai/signup'], a[data-x-ask]):hover { background-color: var(--glass); } }
html:not(.light) :is(.xlr-panels, .xlr-card) { box-shadow: inset 0 0 0 1px var(--border); }