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_01P5YBdxX2mH7piDf4NGrmPi
432 lines
36 KiB
CSS
432 lines
36 KiB
CSS
/* ---------- templates ---------- */
|
||
.xtp { --acc: var(--ink); --acc-ink: var(--x-on-ink); }
|
||
.xtp-deckwrap { position: relative; }
|
||
.xtp-deckwrap.paused * { animation-play-state: paused !important; }
|
||
.xtp-kick { margin: 14px 0 0; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
|
||
.xtp-cmd-k { margin: -16px 0 28px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: light-dark(#a3a3a3, var(--text-tertiary)); }
|
||
.xtp-edit { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid light-dark(rgba(0, 0, 0, .16), var(--white-16)); color: var(--ink); font: 500 14px/1 var(--sans); text-decoration: none; transition: background .2s, border-color .2s, transform var(--dur-press, .1s); }
|
||
.xtp-edit:active { transform: scale(.98); }
|
||
@media (hover: hover) { .xtp-edit:hover { border-color: var(--ink); background: light-dark(rgba(0, 0, 0, .04), var(--glass)); } }
|
||
.xtp-hero { padding: clamp(104px, 8.4vw, 128px) 0 clamp(96px, 10vw, 160px); overflow: hidden; }
|
||
.xtp-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 3.6vw, 56px); }
|
||
.xtp-kick { margin-bottom: 20px; }
|
||
.xtp-h1 { font-size: clamp(56px, 8.2vw, 124px); }
|
||
.xtp-top-r { display: flex; flex-direction: column; gap: 24px; padding-bottom: 10px; }
|
||
.xtp-lede { color: var(--ink); }
|
||
.xtp-front { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
|
||
.xtp-front p { display: grid; gap: 6px; margin: 0; min-height: 64px; }
|
||
.xtp-front .x-mono { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
|
||
.xtp-front b { font-size: clamp(28px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
|
||
.xtp-stage { padding: clamp(24px, 3vw, 44px) clamp(16px, 4vw, 72px) clamp(20px, 2vw, 28px); border-radius: 28px; background: var(--card); }
|
||
.xtp-stage .xtp-deckwrap { max-width: 1040px; margin: 0 auto; }
|
||
|
||
/* kinds */
|
||
.xtp-kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 4px; margin: 0 auto 8px; border-radius: 999px; background: light-dark(#e4e4e7, var(--surface-3)); width: fit-content; max-width: 100%; }
|
||
.xtp-kinds button { position: relative; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: 500 15px/1 var(--sans); color: var(--soft); cursor: pointer; transition: color .2s, background .3s var(--ease); }
|
||
.xtp-kinds button[aria-pressed='true'] { background: var(--x-knob); color: var(--ink) !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 0 0 .5px rgba(0, 0, 0, .06); }
|
||
.xtp-kinds button i { margin-left: 6px; font-style: normal; font-size: 12px; opacity: .6; }
|
||
.xtp-kinds button[aria-pressed='true'] { color: var(--ink); }
|
||
@media (hover: hover) { .xtp-kinds button:hover { color: var(--ink); } }
|
||
.xtp-kinds button span { position: relative; }
|
||
.xtp-kind-bg { position: absolute; inset: 0; border-radius: 999px; background: var(--x-knob); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
|
||
|
||
/* the deck */
|
||
.xtp-deck { position: relative; aspect-ratio: 1.62; outline: none; }
|
||
.xtp-deck:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; border-radius: 22px; }
|
||
.xtp-slot { position: absolute; left: 0; right: 66px; top: 80px; bottom: 0; }
|
||
.xtp-card { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 20px; background: var(--x-raised); border: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .45); overflow: hidden; transform-origin: 50% 100%; touch-action: pan-y; }
|
||
.xtp-card.front { cursor: grab; }
|
||
.xtp-card.front:active { cursor: grabbing; }
|
||
.xtp-card > span { display: block; }
|
||
.xtp-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--card); flex: none; }
|
||
.xtp-lights { display: flex; gap: 6px; }
|
||
.xtp-lights i { width: 10px; height: 10px; border-radius: 50%; background: light-dark(rgba(0, 0, 0, .14), var(--white-14)); }
|
||
.xtp-url { flex: 1; min-width: 0; text-align: center; font-size: 13px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.xtp-url span { position: relative; display: inline-block; color: var(--ink); }
|
||
.xtp-url .typed::after { content: ''; position: absolute; inset: -1px -2px; background: var(--card); transform-origin: 100% 50%; animation: xtp-type .7s steps(8) .25s both; }
|
||
@keyframes xtp-type { from { transform: scaleX(1); } to { transform: scaleX(0); } }
|
||
.xtp-kind { padding: 3px 8px; border-radius: 6px; background: var(--x-raised); font-size: 13px; color: var(--soft); }
|
||
.xtp-shot { display: block; position: relative; flex: 1; min-height: 0; overflow: hidden; background: #0a0a0a; }
|
||
.xtp-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); -webkit-user-drag: none; user-select: none; }
|
||
.xtp-card { border-radius: 22px; }
|
||
.xtp-card.front .xtp-shot img { animation: xtp-scroll 14s var(--ease) infinite alternate; }
|
||
@keyframes xtp-scroll { 0%, 15% { transform: translateY(0) scale(1.02); } 85%, 100% { transform: translateY(-4%) scale(1.06); } }
|
||
@media (hover: hover) { .xtp-shot:hover img { transform: scale(1.04); } }
|
||
.xtp-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; flex: none; }
|
||
.xtp-foot > div { min-width: 0; }
|
||
.xtp-foot h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
|
||
.xtp-foot p { margin: 2px 0 0; font-size: 13.5px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.xtp-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; padding-right: 66px; }
|
||
.xtp-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--x-raised); font-size: 16px; cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
|
||
@media (hover: hover) { .xtp-arrow:hover { border-color: light-dark(rgba(0, 0, 0, .3), var(--white-30)); transform: scale(1.05); } }
|
||
.xtp-count { font-size: 13px; letter-spacing: .06em; color: var(--soft); min-width: 64px; text-align: center; }
|
||
.xtp-dots { display: flex; }
|
||
.xtp-dots button { display: grid; place-items: center; width: 22px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
|
||
.xtp-dots i { width: 6px; height: 6px; border-radius: 50%; background: light-dark(rgba(0, 0, 0, .18), var(--white-20)); transition: transform .3s var(--ease), background .3s; }
|
||
@media (hover: hover) { .xtp-dots button:hover i { background: light-dark(rgba(0, 0, 0, .45), var(--white-45)); } }
|
||
.xtp-dots button[aria-current='true'] i { background: var(--acc); transform: scale(1.5); }
|
||
|
||
/* commands: the one dark room */
|
||
.xtp-cmd-h { margin: 16px 0 32px; }
|
||
/* the shelf: tiles that open */
|
||
.xtp-shelf-k { display: flex; gap: 10px; margin-bottom: clamp(24px, 3vw, 40px); }
|
||
.xtp-shelf-k .x-mono { color: var(--ink); }
|
||
.xtp-tiles .w2-oc-card { min-height: 0; padding: 14px 14px 24px; gap: 10px; }
|
||
.xtp-tiles .w2-oc-art { margin: 0 0 10px; }
|
||
.xtp-tiles .w2-oc-k, .xtp-tiles .w2-oc-t, .xtp-tiles .w2-oc-d { padding: 0 10px; }
|
||
.xtp-tiles .w2-oc-plus { top: 26px; right: 26px; }
|
||
.xtp-tile-img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: light-dark(#ededed, var(--surface-3)); }
|
||
.xtp-tile-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
|
||
@media (hover: hover) { .w2-oc-card:hover .xtp-tile-img img { transform: scale(1.04); } }
|
||
.xtp-tile-img > span.x-mono { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 8px; background: light-dark(rgba(255, 255, 255, .92), var(--surface-overlay)); font-size: 13px; color: var(--ink); }
|
||
.w2-sheet .xtp-tile-img { border-radius: 16px; }
|
||
.xtp-sheet-cmd { padding: 14px 16px; border-radius: 12px; background: #0a0a0a; color: #fafafa !important; font-size: 14px !important; overflow-wrap: anywhere; }
|
||
.xtp-cmd { color: #fafafa; }
|
||
.xtp-cmd-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
|
||
.xtp-agents { margin: -24px 0 28px; font-size: 15px; line-height: 1.6; color: #a3a3a3; }
|
||
.xtp-agents b { color: #fff; font-weight: 500; }
|
||
.xtp-setup2 { position: relative; z-index: 5; }
|
||
.xtp-term { border-radius: 28px; background: #171717; border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
|
||
.xtp-term-top { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 12px 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
||
.xtp-term-top .xtp-lights i { background: rgba(255, 255, 255, .18); }
|
||
.xtp-term-top > span.x-mono { flex: 1; font-size: 13px; color: #a3a3a3; }
|
||
.xtp-term .x-copy { background: transparent; border-color: rgba(255, 255, 255, .16); color: #d4d4d4; }
|
||
@media (hover: hover) { .xtp-term .x-copy:hover { color: #fff; border-color: rgba(255, 255, 255, .4); } }
|
||
.xtp-pre { margin: 0; padding: 28px 28px 32px; font: 400 clamp(14px, 1.1vw, 16px)/1.9 var(--mono); color: #fafafa; white-space: pre-wrap; overflow-wrap: anywhere; }
|
||
.xtp-l { display: inline; }
|
||
.xtp-ps { color: #a3a3a3; }
|
||
.xtp-ps { -webkit-user-select: none; user-select: none; }
|
||
/* the one ask answers the pointer: the fill lifts to graphite and the arrow leans in; press settles it */
|
||
.xtp .w2-cta { background: #0a0a0a; }
|
||
@media (hover: hover) { .xtp .w2-cta:hover { background: #262626; } .xtp .w2-cta:hover i { transform: translateX(3px); } }
|
||
.xtp .w2-cta:active { transform: scale(.98); }
|
||
/* an opened sheet shows its preview as a wide strip, so its Edit in Hanzo sits inside the sheet's first view */
|
||
.w2-sheet-art .xtp-tile-img { aspect-ratio: 16 / 7; }
|
||
/* the setup control in the dark room: the pill and its chevron carry the outline, the wrapper none; the agent marks sit on graphite */
|
||
.xtp-setup2 .x-setup { box-shadow: none !important; }
|
||
.xtp-setup2 .x-setup-i { border-color: #171717; background: #262626; }
|
||
@media (max-width: 379px) { .xtp-setup2 .x-setup-ics { display: none; } }
|
||
/* the back windows keep their bars but not their labels, so the fanned edges never print over each other */
|
||
.xtp-card .xtp-url, .xtp-card .xtp-kind { transition: opacity .3s cubic-bezier(0, 0, .2, 1); }
|
||
.xtp-card:not(.front) .xtp-url, .xtp-card:not(.front) .xtp-kind { opacity: 0; }
|
||
.xtp-caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -2px; background: #fafafa; animation: xtp-blink 1.1s steps(1) infinite; }
|
||
@keyframes xtp-blink { 50% { opacity: 0; } }
|
||
[data-off] .xtp-card.front .xtp-shot img, [data-off] .xtp-caret { animation-play-state: paused; }
|
||
@media (prefers-reduced-motion: reduce) { .xtp-card.front .xtp-shot img, .xtp-caret, .xtp-url .typed::after { animation: none; } .xtp-url .typed::after { display: none; } }
|
||
|
||
@media (max-width: 900px) {
|
||
.xtp-grid, .xtp-cmd-in { grid-template-columns: 1fr; }
|
||
.xtp-h1 { font-size: clamp(2.6rem, 12.5vw, 4rem); }
|
||
.xtp-front { display: none; }
|
||
.xtp-kinds { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 22px; width: auto; }
|
||
.xtp-kinds::-webkit-scrollbar { display: none; }
|
||
.xtp-kinds button { flex: none; height: 44px; padding: 0 14px; font-size: 14px; }
|
||
.xtp-deck { aspect-ratio: auto; height: 420px; }
|
||
.xtp-slot { right: 30px; top: 60px; }
|
||
.xtp-foot { flex-direction: column; align-items: stretch; gap: 10px; }
|
||
.xtp-foot p { white-space: normal; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
|
||
.xtp-edit { height: 44px; justify-content: center; }
|
||
.xtp-nav { padding-right: 30px; gap: 6px; }
|
||
.xtp-dots button { width: 18px; }
|
||
.xtp-agents { margin-top: -18px; font-size: 14px; }
|
||
.xtp-pre { font-size: 13px; padding: 18px 16px 22px; }
|
||
}
|
||
.xtp-kinds button i { margin-left: 6px; font-style: normal; font-size: 13px; color: var(--faint); }
|
||
.xtp-strip { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
|
||
.xtp-strip-k { margin: 0 0 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #a3a3a3; }
|
||
.xtp-strip-l { display: flex; flex-wrap: wrap; gap: 6px; }
|
||
.xtp-strip-l a, .xtp-strip-l button { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: none; color: #d4d4d4; font: 500 14px/1 var(--sans); text-decoration: none; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
|
||
@media (hover: hover) { .xtp-strip-l a:hover, .xtp-strip-l button:hover { color: #fff; border-color: rgba(255, 255, 255, .4); } }
|
||
.xtp-strip-l button { font-family: var(--mono); font-size: 13px; }
|
||
.xtp-strip-l button[aria-expanded='true'] { background: #fafafa; color: var(--ink); }
|
||
.xtp-all { margin-top: 12px; padding: 12px; border-radius: 16px; background: #171717; border: 1px solid rgba(255, 255, 255, .1); }
|
||
.xtp-all input { width: 100%; box-sizing: border-box; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #fff; font: 400 14px/1 var(--sans); outline: none; }
|
||
.xtp-all input:focus-visible { border-color: #fafafa; }
|
||
.xtp-all ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
|
||
.xtp-all a { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; color: #fafafa; text-decoration: none; transition: background .2s; }
|
||
@media (hover: hover) { .xtp-all a:hover { background: rgba(255, 255, 255, .08); } }
|
||
.xtp-all b { font-size: 14px; font-weight: 500; }
|
||
.xtp-all a span { font-size: 13px; color: #a3a3a3; }
|
||
.xtp-none { margin: 12px 0 4px; text-align: center; font-size: 14px; color: #a3a3a3; }
|
||
@media (max-width: 900px) { .xtp-strip-l a, .xtp-strip-l button { min-height: 44px; } .xtp-all ul { grid-template-columns: 1fr; } .xtp-front .x-mono, .xtp-kinds button, .xtp-url, .xtp-kind, .xtp-foot p, .xtp-count, .xtp-term-top > span.x-mono, .xtp-pre, .xtp-kinds button i, .xtp-strip-k, .xtp-strip-l button, .xtp-all a span { font-size: 14px; }
|
||
}
|
||
@media (max-width: 900px) {
|
||
.xtp-hero { padding-top: 104px; }
|
||
.xtp-top { grid-template-columns: minmax(0, 1fr); }
|
||
.xtp-h1 { font-size: clamp(48px, 14vw, 64px); }
|
||
.xtp-front { display: flex; }
|
||
.xtp-front p { min-height: 0; }
|
||
.xtp-stage { padding: 16px 8px 12px; }
|
||
.xtp-kinds { margin: 0 0 8px; }
|
||
}
|
||
.xtp-setup2 svg, .xtp-setup2 img, .xtp-strip svg, .xtp-strip img { filter: grayscale(1); }
|
||
@media (max-width: 900px) { .xtp-setup2 *, .xtp-kick, .xtp-cmd-k { font-size: max(14px, 1em); } }
|
||
|
||
/* v2.3: the deck is the first screen's object; the readout and pause live in the deck's own nav row */
|
||
.xtp-hero { padding: clamp(88px, 6.6vw, 100px) 0 clamp(72px, 8vw, 116px) !important; overflow: clip !important; }
|
||
.xtp-top { margin-bottom: clamp(20px, 2vw, 28px) !important; }
|
||
.xtp-top-r { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
|
||
.xtp-nav { position: relative; padding-right: 0 !important; }
|
||
.xtp-front { position: absolute; left: 0; top: 50%; translate: 0 -50%; display: flex; align-items: baseline; gap: 10px; margin: 0; }
|
||
.xtp-front .x-mono { font-size: 13px; color: light-dark(#525252, var(--text-helper)); }
|
||
.xtp-front b { font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
|
||
.xtp-pause { position: absolute; right: 0; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px; }
|
||
.xtp-count { white-space: nowrap; }
|
||
.xtp-dots button { width: 18px; }
|
||
.xtp-arrow:active, .xtp-strip-l a:active, .xtp-strip-l button:active, .xtp-kinds button:active { transform: scale(.98); }
|
||
.xtp-shot-name { position: absolute; inset: 0; display: grid; place-items: center; color: light-dark(#737373, var(--text-tertiary)); font-size: 26px; font-weight: 500; }
|
||
.xtp-shot img { position: relative; }
|
||
.xtp-tiles .w2-oc-t { font-size: 17px !important; }
|
||
.xtp-sheet-cmd { color: light-dark(#525252, var(--text-helper)); }
|
||
.xtp-cmd-in > div { min-width: 0; }
|
||
.xtp-setup2 .x-setup { max-width: 100%; }
|
||
.xtp-setup2 button { background: transparent !important; color: #fafafa !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28) !important; }
|
||
.xtp-setup2 .x-setup { background: transparent !important; color: #fafafa !important; box-shadow: none !important; }
|
||
.xtp-band { background: light-dark(#f5f5f5, var(--surface-2)); }
|
||
.xtp-band-in { display: grid; justify-items: center; gap: 24px; text-align: center; }
|
||
.xtp-band-t { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
|
||
.xtp-band-t .x-mono { display: block; margin-top: 6px; font-size: 14px; color: light-dark(#525252, var(--text-helper)); letter-spacing: 0; }
|
||
@media (max-width: 899px) {
|
||
.xtp-hero { padding-top: 88px !important; }
|
||
.xtp-deckwrap { display: flex; flex-direction: column; }
|
||
.xtp-kinds { order: 3; justify-content: flex-start !important; margin: 12px 0 0 !important; }
|
||
.xtp-nav { order: 2; flex-wrap: wrap; justify-content: center; }
|
||
.xtp-front { position: static; translate: none; flex: 1 1 100%; justify-content: center; margin-bottom: 4px; }
|
||
.xtp-pause { position: static; translate: none; }
|
||
.xtp-front .x-mono, .xtp-tile-img > .x-mono, .xtp-count { font-size: 14px; }
|
||
.xtp-tiles .w2-oc-t { font-size: 17px !important; }
|
||
}
|
||
/* agent marks in the shared setup menu render in the room's ink (no brand hues on this page) */
|
||
.xtp .x-setup-i svg, .xtp .x-setup-i svg *, .xtp .x-menu-i svg, .xtp .x-menu-i svg * { color: currentColor !important; }
|
||
.xtp .x-setup-i, .xtp .x-menu-i { color: inherit !important; filter: grayscale(1); }
|
||
/* a preview that has not loaded is a quiet card with the template's name, never a black slab */
|
||
.xtp-shot { background: light-dark(#ededed, var(--surface-3)) !important; }
|
||
.xtp-setup2 a, .xtp-setup2 .x-setup-main { background: transparent !important; color: #fafafa !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28) !important; }
|
||
@media (max-width: 899px) { .xtp-setup2 .x-setup-ics, .xtp-setup2 .x-setup-ics * { font-size: 14px !important; } }
|
||
@media (max-width: 899px) { .xtp-setup2 .x-setup-main b { font-size: 14px !important; } }
|
||
|
||
/* the deck leads; the kind filter sits under it at every width */
|
||
.xtp-deckwrap { display: flex; flex-direction: column; }
|
||
.xtp-deck { order: 1; }
|
||
.xtp-nav { order: 2; }
|
||
.xtp-kinds { order: 3; margin: 14px auto 0 !important; }
|
||
.xtp-stage { padding-top: clamp(12px, 1.4vw, 20px) !important; }
|
||
@media (max-width: 899px) {
|
||
.xtp-kinds { margin: 12px 0 0 !important; }
|
||
.xtp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
|
||
.xtp-tiles .w2-oc-card { padding: 8px 8px 14px; }
|
||
.xtp-tile-img > .x-mono { display: none; }
|
||
}
|
||
|
||
/* v2.4: a drawn page under every preview (the name, a nav, a hero, blocks), so a missing screenshot still reads as the site */
|
||
.xtp-shot, .xtp-tile-img { background: light-dark(#f5f5f5, var(--surface-2)) !important; }
|
||
.xtp-shot-name { display: none; }
|
||
.xtp-tile-img img, .xtp-shot img { position: relative; z-index: 1; }
|
||
.xtp-bad { visibility: hidden; }
|
||
.xtp-ghost { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6%; padding: 3.2% 4.4%; color: var(--ink); pointer-events: none; }
|
||
.xtp-ghost i, .xtp-ghost em { display: block; border-radius: 999px; background: light-dark(#d4d4d4, var(--white-20)); }
|
||
.xtp-ghost-nav { display: flex; align-items: center; gap: 3%; }
|
||
.xtp-ghost-nav b { margin-right: auto; font-size: clamp(9px, 1.3cqw, 15px); font-weight: 600; letter-spacing: -.02em; }
|
||
.xtp-ghost-nav i { width: 7%; height: 5px; }
|
||
.xtp-ghost-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 3%; flex: 1; justify-content: center; }
|
||
.xtp-ghost-hero .x-mono { font-size: clamp(8px, 1cqw, 12px); letter-spacing: .14em; text-transform: uppercase; color: light-dark(#737373, var(--text-tertiary)); }
|
||
.xtp-ghost-hero strong { font-size: clamp(22px, 7cqw, 84px); font-weight: 500; letter-spacing: -.045em; line-height: .95; }
|
||
.xtp-ghost-hero i { width: 46%; height: 6px; } .xtp-ghost-hero i + i { width: 32%; }
|
||
.xtp-ghost-hero em { width: 16%; height: clamp(14px, 3cqw, 34px); margin-top: 2%; background: light-dark(#0a0a0a, var(--text-helper)); }
|
||
.xtp-ghost-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4%; height: 22%; }
|
||
.xtp-ghost-row i { height: 100%; border-radius: clamp(4px, 1cqw, 12px); background: light-dark(#e5e5e5, var(--surface-3)); }
|
||
.xtp-shot, .xtp-tile-img { container-type: inline-size; }
|
||
.xtp-tile-img .xtp-ghost { padding: 6% 7%; gap: 8%; }
|
||
.xtp-tile-img .xtp-ghost-nav, .xtp-tile-img .xtp-ghost-hero i, .xtp-tile-img .xtp-ghost-hero .x-mono { display: none; }
|
||
.xtp-tile-img .xtp-ghost-hero strong { font-size: clamp(18px, 13cqw, 40px); }
|
||
.xtp-tile-img .xtp-ghost-hero em { display: none; }
|
||
.xtp-tile-img .xtp-ghost-hero { justify-content: flex-start; }
|
||
.xtp-tile-img .xtp-ghost-row { height: 26%; }
|
||
.xtp-card.front .xtp-ghost { animation: xtp-scroll 14s var(--ease) infinite alternate; }
|
||
.xtp-tile-img > .x-mono { z-index: 2; }
|
||
|
||
/* the gallery marks the template the deck has in front */
|
||
.xtp-hero { padding-bottom: clamp(44px, 5vw, 72px) !important; }
|
||
.xtp-tile-img::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--ink); opacity: 0; transition: opacity .3s var(--ease); }
|
||
.xtp-tile-img.on::after { opacity: 1; }
|
||
.w2-oc-card:has(.xtp-tile-img.on) .w2-oc-t::after { content: ' ←'; font-family: var(--mono); font-size: 13px; font-weight: 400; color: light-dark(#525252, var(--text-helper)); }
|
||
.xtp-cmd-h { margin: 0 0 28px !important; }
|
||
.xtp-strip { margin-top: 28px; }
|
||
|
||
/* phone: a bigger deck, title and ask on one row, so the preview itself leads */
|
||
@media (max-width: 899px) {
|
||
.xtp-hero { padding-top: 80px !important; }
|
||
.xtp-top { gap: 12px !important; margin-bottom: 14px !important; }
|
||
.xtp-kick { margin: 8px 0 0 !important; }
|
||
.xtp-top-r { gap: 14px !important; }
|
||
.xtp-deck { height: 470px; }
|
||
.xtp-slot { top: 44px; right: 22px; }
|
||
.xtp-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px 14px; }
|
||
.xtp-foot > div { display: contents; }
|
||
.xtp-foot h3 { grid-column: 1; grid-row: 1; }
|
||
.xtp-foot p { grid-column: 1 / -1; grid-row: 2; }
|
||
.xtp-edit { grid-column: 2; grid-row: 1; padding: 0 14px; }
|
||
}
|
||
@media (prefers-reduced-motion: reduce) { .xtp-card.front .xtp-ghost { animation: none; } }
|
||
[data-off] .xtp-card.front .xtp-ghost { animation-play-state: paused; }
|
||
/* each kind draws its own page: stores show a shelf of four, portfolios one wide reel, resorts and apps centre their hero */
|
||
.xtp-ghost-row i:nth-child(4) { display: none; }
|
||
.xtp-ghost[data-k='E-commerce'] .xtp-ghost-row { grid-template-columns: repeat(4, 1fr); }
|
||
.xtp-ghost[data-k='E-commerce'] .xtp-ghost-row i:nth-child(4) { display: block; }
|
||
.xtp-ghost[data-k='Portfolio'] .xtp-ghost-row { grid-template-columns: 2fr 1fr; height: 30%; }
|
||
.xtp-ghost[data-k='Portfolio'] .xtp-ghost-row i:nth-child(3) { display: none; }
|
||
.xtp-ghost[data-k='Hospitality'] .xtp-ghost-hero, .xtp-ghost[data-k='SaaS'] .xtp-ghost-hero, .xtp-ghost[data-k='Web3'] .xtp-ghost-hero { align-items: center; text-align: center; }
|
||
.xtp-ghost[data-k='Business'] .xtp-ghost-row, .xtp-ghost[data-k='Web3'] .xtp-ghost-row { grid-template-columns: 1fr 1fr; }
|
||
.xtp-ghost[data-k='Business'] .xtp-ghost-row i:nth-child(3), .xtp-ghost[data-k='Web3'] .xtp-ghost-row i:nth-child(3) { display: none; }
|
||
.xtp-note, .xtp-ps { user-select: none; -webkit-user-select: none; } /* Copy gives exactly the selectable text: the commands */
|
||
|
||
/* v2.5 (round 2 of the James-eye walk) */
|
||
/* a broken or blocked preview paints its own drawn page (the image's ::before only renders when the image fails):
|
||
no broken-image icon and no alt text at any moment, with or without JS. JS then swaps in the fuller drawn page. */
|
||
.xtp-shot img::before, .xtp-tile-img img::before {
|
||
content: attr(data-t); position: absolute; inset: 0; display: flex; align-items: center; padding: 0 6%;
|
||
background:
|
||
linear-gradient(light-dark(#d4d4d4, var(--white-20)), light-dark(#d4d4d4, var(--white-20))) 6% 7% / 16% 6px no-repeat,
|
||
linear-gradient(light-dark(#d4d4d4, var(--white-20)), light-dark(#d4d4d4, var(--white-20))) 78% 7% / 7% 5px no-repeat, linear-gradient(light-dark(#d4d4d4, var(--white-20)), light-dark(#d4d4d4, var(--white-20))) 88% 7% / 7% 5px no-repeat,
|
||
linear-gradient(light-dark(#e5e5e5, var(--surface-3)), light-dark(#e5e5e5, var(--surface-3))) 6% 92% / 28% 20% no-repeat, linear-gradient(light-dark(#e5e5e5, var(--surface-3)), light-dark(#e5e5e5, var(--surface-3))) 50% 92% / 28% 20% no-repeat, linear-gradient(light-dark(#e5e5e5, var(--surface-3)), light-dark(#e5e5e5, var(--surface-3))) 94% 92% / 28% 20% no-repeat,
|
||
light-dark(#f5f5f5, var(--surface-2));
|
||
font: 500 clamp(18px, 7cqw, 84px)/.95 var(--sans); letter-spacing: -.045em; color: var(--ink);
|
||
}
|
||
|
||
/* the back windows show only their bars: no footer, no ask, so nothing stacks down the deck's right edge */
|
||
.xtp-card:not(.front) .xtp-foot { visibility: hidden; }
|
||
|
||
/* first screen: the deck owns the right two thirds, the headline and the ask stand beside it (no grey stage) */
|
||
@media (min-width: 900px) {
|
||
.xtp-hero-g { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
|
||
.xtp-hero-g .xtp-top { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin: 0 !important; }
|
||
.xtp-hero-g .xtp-h1 { font-size: clamp(52px, 5.4vw, 84px); }
|
||
.xtp-hero-g .xtp-top-r { padding: 0; }
|
||
/* the fanned windows stay inside the column (3 back windows × 48px), and the deck, its readout and arrows fit 801 */
|
||
.xtp-hero-g .xtp-deck { aspect-ratio: 1.95; }
|
||
.xtp-hero-g .xtp-slot { right: 150px; top: 92px; }
|
||
}
|
||
.xtp-stage { background: transparent !important; padding: 0 !important; border-radius: 0; }
|
||
.xtp-stage .xtp-deckwrap { max-width: none; }
|
||
.xtp-pause.in { position: absolute; left: 0; top: 0; right: auto; translate: none; z-index: 60; }
|
||
|
||
/* the wall drifts: each preview scrolls slowly down its own page, out of step, only while the wall is in view */
|
||
/* drift uses `translate`, so the tile's hover zoom (`transform`) still answers on top of it */
|
||
@keyframes xtp-drift { 0%, 15% { translate: 0 0; } 85%, 100% { translate: 0 -5%; } }
|
||
.xtp-shelf .xtp-tile-img img, .xtp-shelf .xtp-tile-img .xtp-ghost { animation: xtp-drift 16s var(--ease) infinite alternate; animation-play-state: paused; }
|
||
.xtp-tile-img img { height: 106% !important; }
|
||
.xtp-shelf.here .xtp-tile-img img, .xtp-shelf.here .xtp-tile-img .xtp-ghost { animation-play-state: running; }
|
||
.xtp-shelf .w2-oc > li:nth-child(3n+2) .xtp-tile-img :is(img, .xtp-ghost) { animation-delay: -5s; }
|
||
.xtp-shelf .w2-oc > li:nth-child(3n) .xtp-tile-img :is(img, .xtp-ghost) { animation-delay: -10s; }
|
||
.xtp-tiles .w2-oc-card:active { transform: scale(.98); }
|
||
@media (hover: hover) { .xtp-kinds button:hover { background: light-dark(rgba(255, 255, 255, .7), var(--white-08)); } }
|
||
|
||
/* the terminal types: the untyped rest is in the HTML in transparent ink, so the block never changes size */
|
||
.xtp-rest { color: transparent; }
|
||
.xtp-pre .xtp-caret { margin-right: -8px; } /* the caret takes no room, so the line never moves while it types */
|
||
.xtp-l[data-wait] .xtp-ps { color: transparent; }
|
||
.xtp-term-t { animation: xtp-cut .3s var(--ease) both; }
|
||
@keyframes xtp-cut { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
|
||
|
||
/* the close: the window in front, small, above the line and the ask */
|
||
.xtp-band-win { display: block; width: min(320px, 80vw); border-radius: 14px; overflow: hidden; background: var(--x-raised); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .18); text-decoration: none; transition: transform .3s var(--ease); }
|
||
.xtp-band-win .xtp-bar { height: 30px; }
|
||
.xtp-band-win .xtp-url { font-size: 12px; }
|
||
.xtp-band-win .xtp-tile-img { border-radius: 0; }
|
||
.xtp-band-win .xtp-tile-img img, .xtp-band-win .xtp-ghost { animation: xtp-scroll 14s var(--ease) infinite alternate; }
|
||
|
||
@media (max-width: 899px) {
|
||
/* one row: the readout, ←, the count, →, the pause; the dots give way to the arrows on a phone */
|
||
.xtp-nav { flex-wrap: wrap; justify-content: center; gap: 8px; }
|
||
.xtp-front { flex: 1 1 100%; }
|
||
.xtp-dots { display: none; }
|
||
/* the shared header carries the solid ask on a phone, so the page's own asks are outlined there */
|
||
.xtp .w2-cta { background: transparent !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1px light-dark(rgba(10, 10, 10, .3), var(--white-30)); }
|
||
.xtp-setup2 button, .xtp-setup2 .x-setup-main, .xtp-setup2 a { min-height: 44px; }
|
||
}
|
||
@media (max-width: 899px) and (hover: hover) { .xtp .w2-cta:hover { background: light-dark(rgba(0, 0, 0, .04), var(--glass)) !important; } }
|
||
@media (max-width: 399px) { .xtp-bar .xtp-kind { display: none; } .xtp-url { text-overflow: clip; } }
|
||
/* JS off: the window in front only (the back windows have no fan without script), and no pause with nothing to pause */
|
||
html:not(.js) .xtp-card:not(.front), html:not(.js) .xtp-pause { display: none; }
|
||
@media (prefers-reduced-motion: reduce) { .xtp-shelf .xtp-tile-img :is(img, .xtp-ghost), .xtp-band-win :is(img, .xtp-ghost), .xtp-term-t { animation: none; } }
|
||
|
||
/* ===== motion-map build: h-gallery signature and five page-local entrances ===== */
|
||
/* the signature: one sideways rail of all twelve. Server, JS off, phones and reduced motion: a native horizontal rail
|
||
you swipe or scroll (snap proximity, 14% peek). Wide screens with motion: the section grows by the rail's overflow
|
||
and its rail sticks for that stretch while the vertical scroll drives it sideways, then lets go. */
|
||
.xtp-hg { position: relative; padding: clamp(44px, 5vw, 72px) 0; }
|
||
.xtp-hg-pin { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: 8px 0 24px; }
|
||
.xtp-hg-pin::-webkit-scrollbar { display: none; }
|
||
.xtp-hg-track { width: max-content; padding: 0 max(16px, calc((100vw - 1152px) / 2)); }
|
||
.xtp-hg ul.w2-oc.xtp-tiles { display: flex !important; gap: 16px !important; width: max-content; margin: 0; padding: 0; grid-template-columns: none !important; }
|
||
.xtp-hg ul.w2-oc.xtp-tiles > li { flex: none; width: min(34vw, 460px); scroll-snap-align: start; }
|
||
.xtp-hg.wide { padding: 0; }
|
||
.xtp-hg.wide .xtp-hg-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: clip; padding: 0; scroll-snap-type: none; }
|
||
@media (max-width: 899px) { .xtp-hg ul.w2-oc.xtp-tiles > li { width: 86vw; } .xtp-hg-track { padding: 0 16px; } }
|
||
|
||
/* 1. velocity-skew: the deck leans with the scroll speed (set in JS on .xtp-stage) */
|
||
.xtp-stage { will-change: transform; }
|
||
|
||
/* 2. fold-out: a tile arriving from the right unfolds down from its top hinge */
|
||
.xtp-hg .w2-oc > li { transform-origin: 50% 0; transition: transform .7s cubic-bezier(.16, 1, .3, 1), opacity .45s cubic-bezier(0, 0, .2, 1); }
|
||
.xtp-hg .w2-oc > li[data-fold]:not([data-in]) { transform: perspective(1100px) rotateX(-78deg); opacity: 0; }
|
||
|
||
/* 3. count-roll: the twelve by kind, one big figure and six small; each digit rolls through 0–9 to its value */
|
||
.xtp-counts-l { list-style: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px clamp(20px, 3vw, 44px); margin: 0; padding: 0; }
|
||
.xtp-counts-l button { display: grid; justify-items: start; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: light-dark(#525252, var(--text-helper)); font: inherit; cursor: pointer; text-align: left; }
|
||
.xtp-counts-l button[aria-pressed='true'] { color: var(--ink); }
|
||
.xtp-counts-k { font: 500 14px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
||
.xtp-roll { display: inline-flex; overflow: hidden; height: 1em; font: 220 64px/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--ink); }
|
||
.xtp-counts-l li.all .xtp-roll { font-size: clamp(84px, 9vw, 112px); }
|
||
.xtp-roll-c { display: block; height: 1em; overflow: hidden; }
|
||
.xtp-roll-d { display: flex; flex-direction: column; transform: translateY(calc(var(--d) * -1em)); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 90ms); }
|
||
.xtp-roll-d > span { display: block; height: 1em; }
|
||
.xtp-counts.arm:not(.in) .xtp-roll-d { transform: translateY(0); transition: none; }
|
||
.xtp-counts-l li:nth-child(n + 2) .xtp-roll-d { transition-delay: calc(var(--i) * 90ms + 120ms); }
|
||
@media (hover: hover) { .xtp-counts-l button:hover { color: var(--ink); } .xtp-counts-l button:hover .xtp-roll-d { transform: translateY(calc(var(--d) * -1em + 0.08em)); } }
|
||
.xtp-counts-l button:active { transform: scale(.98); }
|
||
@media (max-width: 899px) { .xtp-roll { font-size: 44px; } .xtp-counts-l li.all { flex: 1 1 100%; } .xtp-counts-l li.all .xtp-roll { font-size: 84px; } }
|
||
|
||
/* 4. explode-gather: five pieces of the setup room start scattered and gather */
|
||
.xtp-eg { transition: transform .9s cubic-bezier(.16, 1, .3, 1) calc(var(--k) * 70ms), opacity .5s cubic-bezier(0, 0, .2, 1) calc(var(--k) * 70ms); }
|
||
.xtp-cmd.arm:not(.in) .xtp-eg { transform: translate(var(--ex), var(--ey)) rotate(var(--er)) scale(.88); opacity: 0; }
|
||
.xtp-cmd { overflow: clip; }
|
||
|
||
/* 5. shutter: two ink bars close from the top and bottom, then open on the close */
|
||
.xtp-band { position: relative; overflow: clip; }
|
||
.xtp-band::before, .xtp-band::after { content: ''; position: absolute; left: 0; right: 0; height: 50.5%; z-index: 4; background: #0a0a0a; transform: scaleY(0); pointer-events: none; }
|
||
.xtp-band::before { top: 0; transform-origin: 50% 0; }
|
||
.xtp-band::after { bottom: 0; transform-origin: 50% 100%; }
|
||
.xtp-band.arm:not(.in) .xtp-band-in { opacity: 0; }
|
||
.xtp-band.arm.in::before, .xtp-band.arm.in::after { animation: xtp-shut 1s cubic-bezier(.4, 0, .2, 1) both; }
|
||
.xtp-band.arm.in .xtp-band-in { animation: xtp-shut-in 1s linear both; }
|
||
@keyframes xtp-shut { 0% { transform: scaleY(0); } 42%, 52% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
|
||
@keyframes xtp-shut-in { 0%, 47% { opacity: 0; } 48%, 100% { opacity: 1; } }
|
||
|
||
@media (prefers-reduced-motion: reduce) { .xtp-roll-d, .xtp-eg, .xtp-hg .w2-oc > li { transition: none; } .xtp-band::before, .xtp-band::after { display: none; } }
|
||
|
||
/* 9 Nov: Hanzo's list grew to 29. Wide screens run the shelf as two rows, so the sideways stretch stays about the length
|
||
it was for twelve and more previews are on screen at once; past twelve the dot row gives way to the count and arrows. */
|
||
.xtp-dots[hidden] { display: none !important; }
|
||
@media (min-width: 1200px) { .xtp-counts-l { column-gap: clamp(16px, 1.9vw, 28px); } }
|
||
@media (min-width: 900px) {
|
||
.xtp-nav { justify-content: flex-end; } /* the readout holds the left edge, the arrows and count the right, so a long kind and name never meet them */
|
||
.xtp-hg.wide ul.w2-oc.xtp-tiles { display: grid !important; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: min(21vw, 300px); gap: 16px !important; }
|
||
.xtp-hg.wide ul.w2-oc.xtp-tiles > li { width: auto; }
|
||
.xtp-hg.wide .xtp-tiles .w2-oc-card { padding: 10px 10px 16px; gap: 6px; }
|
||
.xtp-hg.wide .xtp-tiles .w2-oc-art { margin: 0 0 6px; }
|
||
}
|
||
|
||
/* dark only: Hanzo's halftone dot field behind the hero, as live hanzo.ai's dark heroes sit on it */
|
||
html:not(.light) .xtp-hero { position: relative; isolation: isolate; }
|
||
html:not(.light) .xtp-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) .xtp-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 w2 scale kit (v2/Scale.css) states its own greys on .w2; on this page they take Hanzo's dark tokens */
|
||
html:not(.light) .xtp.w2 { --soft: var(--muted-foreground); --faint: var(--text-tertiary); --acc: var(--foreground); --acc-ink: var(--primary-foreground); }
|