mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
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
303 lines
28 KiB
CSS
303 lines
28 KiB
CSS
/* ---------- trust: calm proof, deck tokens only ---------- */
|
||
.xtr { --ink: light-dark(#0a0a0a, var(--foreground)); --mute: light-dark(#525252, var(--muted-foreground)); --quiet: light-dark(#737373, var(--text-tertiary)); --line: light-dark(rgba(0, 0, 0, .1), var(--border)); --tile: light-dark(#f5f5f5, var(--muted)); --tile2: light-dark(#ededed, var(--secondary));
|
||
--float: 0 24px 60px -16px rgba(0, 0, 0, .18); --f: 150ms; --b: 300ms; --s: 400ms; }
|
||
.xtr :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
||
|
||
/* the header's ask carries this page's 44-character ask after the hero: let it size to its words on this page only
|
||
(the shared rule caps it at 240px with an ellipsis; the fix for every page is filed in docs/build-notes/requests/trust.md) */
|
||
@media (min-width: 1400px) { html:has(main.xtr) header[data-slot=masthead] a[data-x-ask] { max-width: none; white-space: nowrap; } }
|
||
/* phones: the header's "Try Hanzo" is an outline here, so the page's own ask (hero, then the shared phone ask bar) is
|
||
the one solid on screen (desktop gets the same from Ask.jsx's quiet state; the Playground.css pattern) */
|
||
@media (max-width: 700px) { html:has(main.xtr) header[data-slot=masthead] a[href='https://hanzo.ai/signup'] { background-color: transparent; color: var(--foreground); box-shadow: inset 0 0 0 1px var(--border, rgba(0, 0, 0, .14)); } }
|
||
@media (min-width: 701px) and (max-width: 1399px) { /* no room for one line: the whole label on two, inside the 60px bar */
|
||
html:has(main.xtr) header[data-slot=masthead] a[data-x-ask] { max-width: 200px; height: auto; min-height: 34px; padding-block: 4px; white-space: normal; text-overflow: clip; text-align: center; line-height: 15px; }
|
||
}
|
||
|
||
/* hero: a centred statement over the cabinet */
|
||
.xtr-hero { padding: clamp(72px, 7vw, 116px) 0 clamp(17px, 2vw, 27px); }
|
||
.xtr-hero-top { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto 44px; }
|
||
.xtr-hero-top .xtr-cap.pf-kick { margin: 17px 0 0; }
|
||
.xtr-hero-top .pf-lede { max-width: 52ch; margin-top: 17px; }
|
||
.xtr-hero-top .pf-btn { margin-top: 27px; }
|
||
@media (hover: hover) { .xtr-hero .pf-btn.solid:hover { background: light-dark(#262626, var(--primary-hover)); border-color: light-dark(#262626, var(--primary-hover)); } }
|
||
|
||
.xtr-locker { position: relative; max-width: 1152px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 61.8fr) minmax(0, 38.2fr); border-radius: 24px; background: var(--tile); overflow: hidden; }
|
||
.xtr-cab-w { padding: 17px 44px 17px 17px; }
|
||
.xtr-locker-h { display: flex; justify-content: space-between; margin: 0; padding: 6.5px 6.5px 17px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
|
||
.xtr-locker-h .pf-mono { color: var(--ink); letter-spacing: .04em; font-size: 13px; }
|
||
.xtr-cab { display: grid; gap: 6.5px; }
|
||
.xtr-drawer { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10.5px; min-height: 56px; padding: 0 44px 0 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--x-raised); text-align: left; font: 400 16px/1.3 var(--sans); color: var(--mute); cursor: pointer; transition: color var(--f) var(--pf-out), border-color var(--f) var(--pf-out), box-shadow var(--b) var(--pf-io), translate var(--f) var(--pf-out); }
|
||
.xtr-drawer.on { color: var(--ink); border-color: var(--ink); box-shadow: var(--float); }
|
||
.xtr-drawer:active .xtr-dr-t { transform: scale(.97); transition-duration: 90ms; }
|
||
.xtr-dr-n { font-size: 13px; color: var(--quiet); transition: color var(--f) var(--pf-out); }
|
||
.xtr-drawer.on .xtr-dr-n { color: var(--ink); }
|
||
.xtr-dr-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: transform var(--f) var(--pf-out); }
|
||
.xtr-handle { position: absolute; right: 17px; top: 50%; width: 18px; height: 4px; margin-top: -2px; border-radius: 4px; background: light-dark(#d4d4d4, var(--secondary)); transition: background-color var(--f) var(--pf-out), transform var(--f) var(--pf-out); }
|
||
.xtr-drawer.on .xtr-handle { background: var(--ink); }
|
||
@media (hover: hover) {
|
||
.xtr-drawer:hover { color: var(--ink); border-color: light-dark(rgba(0, 0, 0, .3), var(--border-selected)); }
|
||
.xtr-drawer:not(.on):hover { translate: 6px 0; } /* hovering previews the pull (the open drawer's own move is motion's x) */
|
||
.xtr-drawer:hover .xtr-dr-n { color: var(--ink); }
|
||
.xtr-drawer:hover .xtr-handle { transform: translate3d(3px, 0, 0); }
|
||
}
|
||
.xtr-chip { display: inline-flex; align-items: center; gap: 6.5px; height: 26px; padding: 0 10.5px; border-radius: 6px; background: var(--tile); font: 500 13px/1 var(--mono); color: var(--mute); white-space: nowrap; }
|
||
.xtr-chip i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; }
|
||
.xtr-chip.pub { background: var(--ink); color: light-dark(#fafafa, var(--primary-foreground)); }
|
||
.xtr-chip.pub i { background: currentColor; }
|
||
.xtr-tray { position: relative; display: grid; padding: 27px; background: var(--x-raised); }
|
||
.xtr-tray-p { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10.5px; opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity var(--b) var(--pf-emph), transform var(--b) var(--pf-emph); pointer-events: none; }
|
||
.xtr-tray-p[data-on='true'] { opacity: 1; transform: none; pointer-events: auto; }
|
||
.xtr-tray-n { color: light-dark(#d4d4d4, var(--secondary)); }
|
||
.xtr-tray-p p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--mute); text-wrap: pretty; }
|
||
.xtr-tray-p .x-arrow { margin-top: auto; padding-top: 10.5px; }
|
||
|
||
/* papers you can read now: close under the cabinet, so the papers peek in as the cabinet leaves */
|
||
.pf-r .pf-sec.xtr-docs { padding-top: clamp(27px, 3vw, 44px); padding-bottom: clamp(72px, 8vw, 116px); }
|
||
.xtr-docs-g { display: grid; grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr); column-gap: 44px; align-items: center; }
|
||
.xtr-docs-c .pf-body { margin-top: 17px; }
|
||
.xtr-papers { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; padding: 17px 0; }
|
||
.xtr-paper { position: relative; display: flex; flex-direction: column; gap: 17px; min-height: 360px; padding: 27px; border-radius: 16px; background: var(--x-raised); box-shadow: var(--float); color: var(--ink); text-decoration: none; transition: transform var(--b) var(--pf-io); }
|
||
.xtr-paper.p0 { transform: rotate(-1.5deg) translate3d(0, 17px, 0); }
|
||
.xtr-paper.p1 { transform: rotate(1.5deg); }
|
||
.xtr-paper:active { transform: rotate(0) translate3d(0, -6px, 0) scale(.97); transition-duration: 90ms; }
|
||
.xtr-paper-k { font-size: 13px; color: var(--quiet); }
|
||
.xtr-paper b { font-size: 26px; font-weight: 497; line-height: 1.15; letter-spacing: -.018em; text-wrap: balance; }
|
||
/* the page's ruled lines: an object to look at, not words to read twice */
|
||
.xtr-paper-r { display: grid; gap: 13px; margin-top: 10.5px; }
|
||
.xtr-paper-r i { display: block; height: 2px; border-radius: 2px; background: var(--tile2); }
|
||
.xtr-paper-go { display: grid; place-items: center; width: 44px; height: 44px; margin-top: auto; border-radius: 50%; background: var(--tile); color: var(--ink); transition: transform var(--f) var(--pf-out), background-color var(--f) var(--pf-out), color var(--f) var(--pf-out); }
|
||
@media (hover: hover) {
|
||
.xtr-paper:hover { transform: rotate(0) translate3d(0, -6px, 0); }
|
||
.xtr-paper:hover .xtr-paper-go { transform: translate3d(4px, 0, 0); background: var(--ink); color: light-dark(#fafafa, var(--primary-foreground)); }
|
||
}
|
||
|
||
/* where we stand today */
|
||
.xtr-stand { background: var(--tile); }
|
||
.pf-r .pf-sec.xtr-stand { padding-bottom: clamp(72px, 8vw, 116px); }
|
||
.xtr-w { will-change: opacity; } /* each word inks in from 16% as the statement crosses the screen */
|
||
.xtr-stand-g { display: grid; grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr); column-gap: 44px; align-items: start; }
|
||
.xtr-say { margin: 0; max-width: 34ch; font-size: 32px; font-weight: 400; line-height: 1.28; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; }
|
||
.xtr-stand-p { display: grid; grid-template-columns: 1fr 1fr; gap: 27px 44px; margin-top: 44px; padding-top: 27px; border-top: 1px solid var(--line); }
|
||
|
||
/* the controls */
|
||
.pf-r .pf-sec.xtr-ctl { padding-top: clamp(72px, 6vw, 116px); padding-bottom: 44px; }
|
||
.xtr-find-f[data-typing='true'] { background: var(--x-raised); color: var(--ink); box-shadow: 0 0 0 2px var(--ink); } /* the field typing its example */
|
||
.xtr-find { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); column-gap: 27px; align-items: center; padding-bottom: 27px; }
|
||
.xtr-find-l { margin: 0; font-size: 26px; font-weight: 497; line-height: 1.18; letter-spacing: -.018em; color: var(--ink); }
|
||
.xtr-find-f { position: relative; display: flex; align-items: center; gap: 10.5px; height: 56px; padding: 0 6.5px 0 17px; border-radius: 28px; background: var(--tile); color: var(--quiet); transition: background-color var(--f) var(--pf-out), box-shadow var(--f) var(--pf-out); }
|
||
.xtr-find-f:focus-within { background: var(--x-raised); color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
|
||
.xtr-find-i { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font: 400 17px/1 var(--sans); color: var(--ink); caret-color: var(--ink); -webkit-appearance: none; appearance: none; }
|
||
.xtr-find-i::placeholder { color: var(--quiet); }
|
||
.xtr-find-i:focus-visible { outline: none; } /* the field's own 2px ring shows focus */
|
||
.xtr-find-i::-webkit-search-cancel-button, .xtr-find-i::-webkit-search-decoration { -webkit-appearance: none; display: none; }
|
||
.xtr-find-x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--tile2); color: var(--ink); cursor: pointer; transition: transform var(--f) var(--pf-out); }
|
||
.xtr-find-x:active { transform: scale(.97); transition-duration: 90ms; }
|
||
@media (hover: hover) { .xtr-find-f:hover { background: var(--tile2); } .xtr-find-x:hover { transform: rotate(90deg); } }
|
||
.xtr-find-n { justify-self: end; display: flex; align-items: baseline; gap: 6.5px; margin: 0; font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
|
||
.xtr-find-n b { min-width: 2ch; text-align: right; font-family: var(--sans); font-size: 64px; font-weight: 220; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
|
||
.xtr-none { display: flex; flex-wrap: wrap; align-items: center; gap: 10.5px 27px; margin: 0 0 27px; padding: 27px; border-radius: 24px; background: var(--tile); }
|
||
.xtr-grps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); isolation: isolate; }
|
||
.xtr-grp { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 140px; column-gap: 27px; align-items: start; padding: 27px 0; border-bottom: 1px solid var(--line); transition: opacity var(--b) var(--pf-io); }
|
||
.xtr-grp::before { content: ''; position: absolute; inset: 0 -17px; z-index: -1; border-radius: 16px; background: var(--tile); opacity: 0; transition: opacity var(--f) var(--pf-out); pointer-events: none; }
|
||
.xtr .pf-plus.xtr-g-btn i { transition: transform var(--b) var(--pf-emph); }
|
||
.xtr-grp.miss { opacity: .32; }
|
||
.xtr-grp-n { padding-top: 10px; font: 500 13px/1 var(--mono); color: var(--quiet); transition: color var(--f) var(--pf-out), transform var(--f) var(--pf-out); }
|
||
.xtr-grp-c { min-width: 0; }
|
||
.xtr-grp-h { display: flex; align-items: center; gap: 17px; }
|
||
.xtr-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
||
.xtr-grp-t { margin: 0; font-size: 26px; font-weight: 497; line-height: 1.18; letter-spacing: -.018em; color: var(--ink); cursor: pointer; transition: transform var(--f) var(--pf-out); text-wrap: balance; }
|
||
.pf-plus.xtr-g-btn { flex: none; min-height: 44px; padding: 0; gap: 0; transition: transform 90ms var(--pf-out); }
|
||
.pf-plus.xtr-g-btn:active { transform: scale(.97); }
|
||
.xtr-grp-l { margin: 6.5px 0 0 61px; max-width: 62ch; font-size: 16px; line-height: 1.55; color: var(--mute); }
|
||
.xtr-ans { list-style: none; display: grid; gap: 6.5px; margin: 17px 0 0 61px; padding: 0; }
|
||
.xtr-ans button { display: inline-flex; align-items: center; gap: 10.5px; min-height: 44px; padding: 0 17px; border: 0; border-radius: 12px; background: var(--tile); text-align: left; font: 400 16px/1.3 var(--sans); color: var(--ink); cursor: pointer; transition: transform var(--f) var(--pf-out), background-color var(--f) var(--pf-out); }
|
||
.xtr-ans button .pf-mono { font-size: 13px; color: var(--mute); }
|
||
.xtr-ans button:active { transform: scale(.97); transition-duration: 90ms; }
|
||
.xtr-idx { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 27px; margin: 13px 0 0 61px; padding: 0; max-width: 820px; }
|
||
.xtr-idx button { display: flex; align-items: baseline; gap: 10.5px; width: 100%; min-height: 44px; padding: 10px 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; font: 400 15px/1.35 var(--sans); color: var(--ink); cursor: pointer; transition: transform var(--f) var(--pf-out), color var(--f) var(--pf-out); }
|
||
.xtr-idx button .pf-mono { flex: none; font-size: 12px; color: var(--mute); transition: color var(--f) var(--pf-out); }
|
||
.xtr-idx button:active { transform: translate3d(0, 1px, 0); transition-duration: 90ms; }
|
||
.xtr-dots { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding-top: 14px; }
|
||
.xtr-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid light-dark(rgba(10, 10, 10, .4), var(--border-selected)); transition: background-color var(--b) var(--pf-emph), border-color var(--b) var(--pf-emph), transform var(--b) var(--pf-emph); }
|
||
.xtr-dots i[data-hit='true'] { background: var(--ink); border-color: var(--ink); transform: scale(1.2); }
|
||
@media (hover: hover) {
|
||
.xtr-grp:hover .xtr-grp-n { color: var(--ink); transform: translateX(4px); }
|
||
.xtr-grp:hover .xtr-grp-t { transform: translate3d(4px, 0, 0); }
|
||
.xtr-grp:hover::before { opacity: 1; }
|
||
.xtr-grp:hover .pf-plus.xtr-g-btn i { transform: rotate(90deg) scale(1.06); }
|
||
.xtr-grp.miss:hover::before { opacity: 0; }
|
||
.xtr-ans button:hover { background: var(--tile2); transform: translate3d(4px, 0, 0); }
|
||
.xtr-idx button:hover { transform: translate3d(4px, 0, 0); }
|
||
.xtr-idx button:hover .pf-mono { color: var(--ink); }
|
||
}
|
||
|
||
/* evidence sheets (portalled to <body>: their own classes) */
|
||
.xtr-sh-lede { font-size: 17px !important; line-height: 1.5; color: var(--ink) !important; margin-bottom: 27px !important; }
|
||
.xtr-sh-c { padding: 17px 0; border-top: 1px solid var(--x-e10); }
|
||
.xtr-sh-c h3 { display: flex; gap: 10.5px; align-items: baseline; margin: 0 0 6.5px !important; font-size: 17px !important; font-weight: 497 !important; }
|
||
.xtr-sh-c h3 .pf-mono { flex: none; font-size: 13px; font-weight: 500; color: light-dark(#737373, var(--muted-foreground)); }
|
||
.xtr-sh-c p { margin: 0 !important; max-width: 68ch; }
|
||
.xtr-sh-c.hit h3 .pf-mono { color: light-dark(#fafafa, var(--primary-foreground)); background: var(--ink); border-radius: 6px; padding: 4px 6.5px; }
|
||
|
||
/* where we stand: a pinned stage, one stance in focus (desktop); an accordion (phone) */
|
||
.xtr-facts { position: relative; }
|
||
.xtr-facts-t { margin: 0; font-size: 44px; font-weight: 497; line-height: 1.06; letter-spacing: -.025em; color: var(--ink); }
|
||
.xtr-facts-h .pf-lede { margin-top: 17px; max-width: 26ch; }
|
||
.xtr-fact-l { margin: 0; }
|
||
.xtr-fact dt { margin: 0; }
|
||
.xtr-fact dd { margin: 0; }
|
||
.xtr-fact-b { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10.5px; width: 100%; min-height: 64px; padding: 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; font: inherit; color: var(--quiet); cursor: pointer; transition: color var(--f) var(--pf-out); }
|
||
.xtr-fact-b .pf-title { color: inherit; transition: transform var(--f) var(--pf-out); }
|
||
.xtr-fact-b::after { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--s) var(--pf-emph); }
|
||
.xtr-fact-b:active .pf-title { transform: scale(.97); transition-duration: 90ms; }
|
||
.xtr-fact-n { font-size: 13px; color: inherit; }
|
||
.xtr-fact[data-on='true'] .xtr-fact-b { color: var(--ink); }
|
||
.xtr-fact[data-on='true'] .xtr-fact-b::after { transform: scaleX(1); }
|
||
.xtr-fact:last-child .xtr-fact-b { border-bottom: 1px solid var(--line); }
|
||
.xtr-fact-pm { position: relative; width: 9px; height: 9px; margin-right: 6.5px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; transform: scale(.78); transition: transform var(--b) var(--pf-emph), background-color var(--f) var(--pf-out); }
|
||
.xtr-fact[data-on='true'] .xtr-fact-pm { background: currentColor; transform: none; }
|
||
.xtr-fact-in { display: block; font-size: 17px; line-height: 1.6; color: var(--mute); text-wrap: pretty; }
|
||
.xtr-fact-in b { color: var(--ink); font-weight: 497; }
|
||
.xtr-fact-big { display: block; color: light-dark(#d4d4d4, var(--secondary)); }
|
||
.xtr-fact-k { display: block; font-size: 26px; font-weight: 497; line-height: 1.18; letter-spacing: -.018em; color: var(--ink); }
|
||
.xtr-stage { display: flex; align-items: center; justify-content: space-between; gap: 27px; border-radius: 24px; background: var(--tile); }
|
||
.xtr-stage-n { font-size: 13px; letter-spacing: .04em; color: var(--ink); font-variant-numeric: tabular-nums; }
|
||
.xtr-segs { display: flex; gap: 6.5px; flex: 0 1 220px; }
|
||
.xtr-segs i { flex: 1; height: 2px; overflow: hidden; border-radius: 2px; background: light-dark(#d4d4d4, var(--secondary)); }
|
||
.xtr-segs b { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; }
|
||
@media (hover: hover) {
|
||
.xtr-fact-b:hover { color: var(--ink); }
|
||
.xtr-fact-b:hover .pf-title { transform: translate3d(4px, 0, 0); }
|
||
}
|
||
@media (min-width: 900px) {
|
||
/* the section is about two screens tall; its stage holds still for the length of it, one stance per step. It starts
|
||
under the list above, so the pinned stage arrives without a white screen first (its empty top is click-through) */
|
||
.xtr-facts { height: 205svh; margin-top: -88px; pointer-events: none; }
|
||
.xtr-facts-g { pointer-events: auto; }
|
||
.xtr-pin { position: sticky; top: 0; display: flex; align-items: center; height: 100svh; padding-top: 60px; box-sizing: border-box; }
|
||
.xtr-facts-g { display: grid; grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr); grid-template-rows: auto repeat(4, auto) minmax(0, 1fr); column-gap: 44px; align-items: start; }
|
||
.xtr-facts-h { grid-column: 1; grid-row: 1; padding-bottom: 44px; }
|
||
.xtr-fact-l, .xtr-fact { display: contents; }
|
||
.xtr-fact dt { grid-column: 1; }
|
||
.xtr-fact:nth-child(1) dt { grid-row: 2; }
|
||
.xtr-fact:nth-child(2) dt { grid-row: 3; }
|
||
.xtr-fact:nth-child(3) dt { grid-row: 4; }
|
||
.xtr-fact:nth-child(4) dt { grid-row: 5; }
|
||
.xtr-stage { grid-column: 2; grid-row: 1 / -1; align-self: stretch; align-items: flex-start; padding: 27px 44px; box-sizing: border-box; }
|
||
.xtr-fact dd { grid-column: 2; grid-row: 1 / -1; align-self: start; z-index: 1; display: flex; flex-direction: column; gap: 10.5px; padding: 64px 44px 44px; opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity var(--b) var(--pf-emph), transform var(--b) var(--pf-emph); pointer-events: none; }
|
||
.xtr-fact[data-on='true'] dd { opacity: 1; transform: none; pointer-events: auto; }
|
||
/* the index starts small and grows as its stance takes the stage (64 → 84px, a transform), then rests */
|
||
.xtr .xtr-fact-big { margin-bottom: 6.5px; font-size: 84px; line-height: .9; transform: scale(.762); transform-origin: 0 100%; transition: transform 500ms var(--pf-emph) 90ms; }
|
||
.xtr-fact[data-on='true'] .xtr-fact-big { transform: none; }
|
||
.xtr-fact-in { max-width: 56ch; }
|
||
}
|
||
|
||
/* the one black room (Room in Trust.jsx: v2/SceneWipe's wipe, hydration-safe) */
|
||
.xtr-room { position: relative; isolation: isolate; color: #fafafa; }
|
||
.xtr-room-bg { position: absolute; inset: 0; z-index: -1; background: #000; }
|
||
.xtr-found a { padding-block: 12px; } /* a 44px tap height on the inline links without moving a line */
|
||
.xtr-dark .pf-head, .xtr-dark .pf-moment { color: #fafafa; }
|
||
.xtr-dark .pf-body, .xtr-dark .pf-lede { color: rgba(255, 255, 255, .78); }
|
||
.xtr-dark a { color: #fafafa; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-underline-offset var(--f) var(--pf-out); }
|
||
.xtr-dark :focus-visible { outline-color: #fff; }
|
||
@media (hover: hover) { .xtr-dark a:hover { text-underline-offset: 6px; } }
|
||
.xtr-found { display: grid; grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr); column-gap: 44px; align-items: start; }
|
||
.xtr-found-p { margin: 0 0 17px; max-width: 46ch; font-size: 21px; line-height: 1.45; letter-spacing: -.01em; color: #fafafa; text-wrap: pretty; }
|
||
.xtr-band { display: grid; grid-template-columns: minmax(0, 61.8fr) minmax(0, 38.2fr); column-gap: 44px; align-items: end; margin-top: clamp(116px, 12vw, 188px); padding-top: 44px; border-top: 1px solid rgba(255, 255, 255, .14); }
|
||
.xtr-band .pf-moment { max-width: 11ch; }
|
||
.xtr-band .pf-lede { margin-bottom: 27px; }
|
||
.pf-btn.xtr-light { height: auto; min-height: 48px; padding: 14px 24px; background: #fafafa; border-color: #fafafa; color: #0a0a0a; line-height: 1.25; text-align: left; }
|
||
@media (hover: hover) { .pf-btn.xtr-light:hover { background: #fff; } }
|
||
|
||
@media (max-width: 899px) {
|
||
.xtr-hero { padding: 44px 0 27px; }
|
||
/* the ask as an intended slab: one line where it fits, a balanced two-line block with a 16px radius where it does not */
|
||
.xtr .pf-btn.solid { width: 100%; height: auto; min-height: 56px; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.25; text-align: center; text-wrap: balance; }
|
||
.xtr-docs-g, .xtr-stand-g, .xtr-facts-g, .xtr-found, .xtr-band { grid-template-columns: minmax(0, 1fr); row-gap: 27px; }
|
||
/* the cabinet: each drawer one row (number, title, its mark on the same line); the open drawer pulls 8px and its
|
||
contents ride directly under it (Locker() carries the tray there; the drawers below step down) */
|
||
.xtr-locker { display: block; padding-bottom: 17px; border-radius: 16px; }
|
||
.xtr-cab-w { padding: 17px 17px 0 10.5px; }
|
||
.xtr-locker-h { font-size: 12px; letter-spacing: .1em; }
|
||
.xtr-drawer { z-index: 1; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 8px; min-height: 56px; padding: 8px 28px 8px 12px; font-size: 15px; line-height: 1.25; }
|
||
.xtr-dr-n { font-size: 13px; }
|
||
.xtr-dr-t { white-space: normal; text-wrap: balance; }
|
||
.xtr-chip { height: 24px; padding: 0 6.5px; gap: 5px; font-size: 13px; }
|
||
.xtr-handle { right: 10px; width: 12px; }
|
||
.xtr-tray { margin: 6.5px 17px 0 10.5px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; }
|
||
.xtr-tray-n, .xtr-tray-p > b { display: none; } /* the drawer right above already says which */
|
||
.xtr-tray-p { gap: 0; }
|
||
.xtr-tray-p p { font-size: 15px; line-height: 1.55; }
|
||
.xtr-papers { grid-template-columns: minmax(0, 1fr); gap: 17px; padding: 0; }
|
||
.xtr-paper { min-height: 0; gap: 10.5px; padding: 20px; }
|
||
.xtr-paper b { font-size: 21px; }
|
||
.xtr-paper-r { display: none; }
|
||
.xtr-paper-go { position: absolute; right: 13px; top: 13px; }
|
||
.xtr-paper.p0, .xtr-paper.p1 { transform: none; }
|
||
.xtr-say { font-size: 21px; }
|
||
/* the two follow-ups: a quieter measure beside a hairline, so the room is the inking statement first */
|
||
.xtr-stand-p { grid-template-columns: minmax(0, 1fr); gap: 13px; margin-top: 27px; padding: 0 0 0 17px; border-top: 0; border-left: 1px solid var(--line); }
|
||
.xtr-stand-p .pf-body { font-size: 15px; line-height: 1.55; }
|
||
.pf-r .pf-sec.xtr-stand { padding-top: 56px; padding-bottom: 56px; }
|
||
.xtr-find { grid-template-columns: minmax(0, 1fr) auto; row-gap: 17px; }
|
||
.xtr-find-f { grid-column: 1 / -1; grid-row: 2; }
|
||
.xtr-find-n b { font-size: 44px; }
|
||
/* the controls: titles run the full width, the + at the row's right edge, the number left to the sheet */
|
||
.xtr-grp { grid-template-columns: minmax(0, 1fr); row-gap: 10.5px; padding: 20px 0; }
|
||
.xtr-grp-n { display: none; }
|
||
.xtr-grp-h { gap: 10.5px; }
|
||
.xtr-grp-t { order: 1; flex: 1; min-width: 0; }
|
||
.xtr-grp-h .pf-plus { order: 2; }
|
||
.xtr-dots { grid-column: 1; justify-content: flex-start; padding-top: 0; }
|
||
.xtr-grp-t { font-size: 21px; }
|
||
.xtr-grp-l, .xtr-ans, .xtr-idx { margin-left: 0; }
|
||
.xtr-facts-t { font-size: 32px; }
|
||
.xtr-band { margin-top: 72px; padding-top: 44px; }
|
||
.pf-btn.xtr-light { width: 100%; justify-content: center; text-align: center; }
|
||
.xtr-found-p { font-size: 17px; }
|
||
/* 44px tap heights on the arrow links (tray, the no-match note) */
|
||
.xtr .x-arrow { display: inline-flex; align-items: center; min-height: 44px; }
|
||
.xtr-tray-p .x-arrow { padding-top: 6.5px; margin-top: auto; }
|
||
/* where we stand: an accordion, one stance open, a + that turns to × */
|
||
.xtr-facts { padding: 72px 0; }
|
||
.xtr-facts-h { margin-bottom: 27px; }
|
||
.xtr-stage, .xtr-fact-big, .xtr-fact-k { display: none; }
|
||
.xtr-fact-b { grid-template-columns: 34px minmax(0, 1fr) 44px; min-height: 64px; }
|
||
.xtr-fact-b::after { display: none; }
|
||
.xtr-fact[data-open='true'] .xtr-fact-b { color: var(--ink); }
|
||
.xtr-fact-pm { width: 44px; height: 44px; margin: 0; border: 0; border-radius: 50%; background: var(--tile); transform: none; }
|
||
.xtr-fact[data-on] .xtr-fact-pm { background: var(--tile); transform: none; }
|
||
.xtr-fact-pm::before, .xtr-fact-pm::after { content: ''; position: absolute; left: 15px; top: 21px; width: 14px; height: 2px; border-radius: 2px; background: var(--ink); }
|
||
.xtr-fact-pm::after { transform: rotate(90deg); }
|
||
.xtr-fact[data-open='true'] .xtr-fact-pm { transform: rotate(45deg); }
|
||
.xtr-fact dd { padding: 0 0 27px 44px; }
|
||
.xtr-fact dd[hidden] { padding-bottom: 0; } /* a closed row is just its 64px button */
|
||
.xtr-fact-in { font-size: 16px; }
|
||
.pf-plus.xtr-g-btn { min-width: 44px; justify-content: center; }
|
||
.xtr-fact[data-open='true'] .xtr-fact-in { animation: xtr-open var(--b) var(--pf-emph) both; }
|
||
}
|
||
@keyframes xtr-open { from { opacity: 0; transform: translate3d(0, -8px, 0); } }
|
||
@media (max-width: 900px) { .xtr-room-bg { clip-path: none !important; } } /* phones: the room is simply there */
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.xtr-paper.p0, .xtr-paper.p1 { transform: none; }
|
||
/* the final state from the first paint, before any script reads the preference */
|
||
.xtr .pf-mask-in { transform: none !important; }
|
||
.xtr-w { opacity: 1 !important; }
|
||
.xtr-room-bg { clip-path: none !important; }
|
||
.xtr-fact-in { animation: none !important; }
|
||
}
|
||
/* dark only: Hanzo's hero texture as live hanzo.ai draws it in dark (7px dot field densest at the edges and bottom, plus the top glow) */
|
||
html:not(.light) .xtr-hero { position: relative; isolation: isolate; }
|
||
html:not(.light) .xtr-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
|
||
background: radial-gradient(circle, color-mix(in srgb, var(--foreground) 36%, transparent) 1.5px, transparent 2.1px) 0 0 / 7px 7px;
|
||
-webkit-mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.15) 32%, rgba(0,0,0,.15) 64%, #000), linear-gradient(180deg, rgba(0,0,0,.25), #000 85%);
|
||
-webkit-mask-composite: source-in;
|
||
mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.15) 32%, rgba(0,0,0,.15) 64%, #000), linear-gradient(180deg, rgba(0,0,0,.25), #000 85%);
|
||
mask-composite: intersect; }
|
||
html:not(.light) .xtr-hero::after { content: ''; position: absolute; inset: 0 0 auto; height: 640px; z-index: -1; pointer-events: none;
|
||
background: radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--foreground) 9%, transparent), transparent 70%); }
|
||
/* dark mode: the shared .pf-r type greys are light-only, so this page's text takes Hanzo's dark text tokens */
|
||
html:not(.light) .xtr .pf-lede, html:not(.light) .xtr .pf-body { color: var(--muted-foreground); }
|
||
html:not(.light) .xtr .pf-kick { color: var(--text-tertiary); }
|
||
html:not(.light) .xtr-dark .pf-body, html:not(.light) .xtr-dark .pf-lede { color: var(--text-secondary); }
|