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
258 lines
21 KiB
CSS
258 lines
21 KiB
CSS
/* ---------- one solution, v6 (xs2-): its own layout in the family. An 8/5 title row, the film full-bleed under it, the
|
|
jobs as a horizontal strip of framings, the other teams as a block of their own film stills, one dark room at the
|
|
close. White canvas, ink only; colour comes only from the film (Hanzo's media). Sizes rest at live hanzo.ai. ---------- */
|
|
.xs2 { overflow-x: clip; }
|
|
|
|
/* hero: the title row (8/5, aligned to the bottom), then the film edge to edge */
|
|
.xs2-hero { position: relative; padding: clamp(24px, 3vw, 48px) 0 0; }
|
|
.xs2-hero-g { align-items: end; row-gap: 24px; padding-bottom: clamp(28px, 3vw, 44px); }
|
|
.xs2-hero-t { grid-column: 1 / span 7; }
|
|
.xs2-h1 { max-width: 13ch; }
|
|
.xs2-hero-r { grid-column: 8 / span 5; }
|
|
.xs2-lede { font-size: 20px; color: var(--soft); max-width: 40ch; }
|
|
.xs2-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
|
|
.xs2-ask2 { min-height: 48px; display: inline-flex; align-items: center; gap: 6px; }
|
|
.xs2-meta { margin-top: 20px; }
|
|
.xs2 .x-arrow { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
|
|
@media (hover: hover) { .xs2 .x-arrow:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
|
|
|
|
.xs2-film { position: relative; height: clamp(360px, calc(100svh - 360px), 640px); overflow: hidden; background: var(--hz-black); color: var(--hz-white); isolation: isolate; }
|
|
.xs2-film .xsl-film { position: absolute; inset: 0; }
|
|
.xs2-film-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 28%, transparent 50%, rgba(0, 0, 0, .7)); }
|
|
.xs2-film-in { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 0 28px; }
|
|
.xs2-film-top { display: flex; flex-direction: column; gap: 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
|
|
.xs2-film-l { display: flex; justify-content: space-between; gap: 16px; }
|
|
.xs2-story { display: flex; gap: 6px; }
|
|
.xs2-story i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
|
|
.xs2-story i::after { content: ''; position: absolute; inset: 0; background: var(--hz-white); transform-origin: 0 50%; transform: scaleX(0); }
|
|
.xs2-story i.done::after, .xs2-story i.cur::after { transform: none; }
|
|
.xs2-story i.cur.run::after { animation: xs2-story 5.2s linear both; }
|
|
@keyframes xs2-story { from { transform: scaleX(0); } to { transform: scaleX(1); } }
|
|
.xs2-film-job { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
|
|
.xs2-film-tw { display: block; overflow: hidden; padding-bottom: .08em; }
|
|
.xs2-film-t { display: block; font-size: 26px; font-weight: 497; line-height: 1.15; letter-spacing: -.02em; max-width: 22ch; text-wrap: balance; }
|
|
.xs2-names { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; justify-content: flex-end; }
|
|
.xs2-names span { flex: none; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .16); font-size: 14px; white-space: nowrap; }
|
|
|
|
/* the signature: the jobs as a horizontal strip of framings, scrubbed by scroll (desktop) */
|
|
.xs2-strip { position: relative; padding: clamp(72px, 8vw, 116px) 0 clamp(44px, 5vw, 72px); }
|
|
.xs2-strip.pin { height: calc(var(--n) * 60svh + 100svh); padding: 0; }
|
|
.xs2-strip.pin .xs2-strip-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; overflow: hidden; }
|
|
.xs2-strip-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
|
|
.xs2-strip-h .xs2-story { flex: 1 1 280px; max-width: 420px; }
|
|
.xs2-story-ink i { background: light-dark(rgba(0, 0, 0, .12), var(--border-control)); }
|
|
.xs2-story-ink i::after { background: var(--ink); transition: transform var(--slower) var(--out); }
|
|
.xs2-story-ink i.cur::after { transform: none; }
|
|
.xs2-strip-v { overflow: hidden; }
|
|
.xs2-track { display: flex; gap: 24px; margin: 0; padding: 0 max(var(--gut), calc((100vw - var(--wrap2)) / 2)); list-style: none; width: max-content; }
|
|
.xs2-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 28px; width: min(78vw, 960px); }
|
|
.xs2-panel-t { padding-bottom: 8px; transition: opacity var(--base) var(--ease-o); }
|
|
.xs2-strip.pin .xs2-panel:not([data-on]) .xs2-panel-t { opacity: .35; }
|
|
.xs2-panel-t .v2f-head { max-width: 16ch; }
|
|
.xs2-panel-t .v2f-body { margin: 16px 0 0; max-width: 36ch; }
|
|
.xs2-shot { position: relative; height: clamp(320px, 54svh, 520px); overflow: hidden; border-radius: var(--r-art); background: var(--hz-black); color: var(--hz-white); isolation: isolate; }
|
|
.xs2-shot .xsl-film { position: absolute; inset: 0; }
|
|
/* each job's own framing, on the still and on the playing film */
|
|
.xs2-shot .xsl-film img, .xs2-shot .xsl-film video { object-position: var(--p); transform-origin: var(--p); transform: rotate(var(--r, 0deg)) scale(calc(var(--s) * var(--f, 1)), var(--s)); }
|
|
/* the hero: the film alone, its products as one quiet line (not pills that look like buttons), a pause first */
|
|
.xs2-names.plain { display: block; max-width: 640px; font: 500 14px/1.5 var(--mono); color: rgba(255, 255, 255, .78); text-align: right; }
|
|
.xs2-film-pause { position: absolute; z-index: 3; right: clamp(16px, 4vw, 32px); top: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .25); color: #fff; cursor: pointer; transition: background-color .15s cubic-bezier(0, 0, .2, 1), transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
@media (hover: hover) { .xs2-film-pause:hover { background: rgba(255, 255, 255, .18); } }
|
|
.xs2-film-pause:active { transform: scale(.97); }
|
|
.xs2-film-top { padding-right: 60px; }
|
|
/* every quiet control answers the pointer: the second ask and the two sheet rows */
|
|
.xs2 .xs2-ask2, .xs2 .v2f-spec-btn { transition: background-color .15s cubic-bezier(0, 0, .2, 1), border-color .15s cubic-bezier(0, 0, .2, 1), transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
@media (hover: hover) { .xs2 .xs2-ask2:hover span { text-decoration: underline; text-underline-offset: 4px; } .xs2 .xs2-ask2:hover svg { transform: translateX(4px); } .xs2 .v2f-spec-btn:hover { background: light-dark(#f5f5f5, var(--surface-2)); border-color: light-dark(rgba(0, 0, 0, .3), var(--white-30)); } }
|
|
.xs2 .xs2-ask2 svg { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
|
|
.xs2 .v2f-spec-btn:active { transform: scale(.97); }
|
|
.xs2-strip-c { display: inline-flex; gap: 12px; }
|
|
/* the overlap finder's drifting rings sit behind the tabs, never across them */
|
|
.xs2-ovl-sig { opacity: .07; }
|
|
.xs2-ovl .xsl-ovl-pick { position: relative; z-index: 1; background: var(--x-raised); border-radius: 999px; }
|
|
@media (max-width: 899px) {
|
|
/* phones: the rail keeps a 16px gutter (scroll padding), the product line reads left and balanced */
|
|
.xs2-strip-v { scroll-padding-inline: 16px; }
|
|
.xs2-names.plain { text-align: left; text-wrap: balance; display: block !important; font-size: 13px; }
|
|
}
|
|
/* no dead stretch after the rail: the sheet row tucks under the last panel, the next section follows close */
|
|
.xs2-strip.pin { margin-bottom: -120px; }
|
|
/* the strip paints in its own layer (z 0); the sheet row after it stays above by order, with no stacking context of
|
|
its own, so its sheets (fixed, z 960) rise over the site header */
|
|
.xs2-strip { z-index: 0; }
|
|
.xs2-after { position: relative; padding-bottom: 24px; }
|
|
.xs2-after + * { padding-top: clamp(40px, 4vw, 64px) !important; }
|
|
@media (max-width: 899px) {
|
|
.xs2-strip.pin { margin-bottom: 0; }
|
|
.xs2-film { height: 45svh !important; }
|
|
.xs2-strip-v { scroll-snap-type: x proximity !important; }
|
|
/* one job a screen, the next one peeking in (16%) */
|
|
.xs2-panel { width: 84vw !important; }
|
|
}
|
|
/* deck rhythm: the headline rests at 52 */
|
|
.xs2 .xs2-h1 { font-size: clamp(40px, 5vw, 52px) !important; }
|
|
.xs2-more { padding-top: clamp(56px, 6vw, 96px); }
|
|
.xs2-shot-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); }
|
|
.xs2-shot-n { position: absolute; z-index: 1; left: 24px; bottom: 18px; font-size: 64px; font-weight: 220; line-height: .9; letter-spacing: -.04em; font-feature-settings: 'tnum'; color: var(--hz-white); }
|
|
|
|
/* sheets from a slim row right after the last job: the section's own title, whole */
|
|
.xs2-after { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 8px 0 clamp(44px, 5vw, 72px); }
|
|
.xs2-sheets { display: flex; flex-wrap: wrap; gap: 10px; }
|
|
.xs2-sheet { display: flex; flex-direction: column; gap: 24px; }
|
|
.xs2-sheet .v2f-lede { font-size: 19px; }
|
|
.xs2-stack-s { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
|
|
.xs2-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 6px 16px; align-items: baseline; padding: 22px 4px; color: var(--ink); text-decoration: none; transition: background-color var(--ui) var(--ease-o), transform var(--press) var(--ease-o); }
|
|
.xs2-stack-s li + li .xs2-row { border-top: 1px solid var(--hair); }
|
|
@media (hover: hover) { .xs2-row:hover { background: var(--card); } }
|
|
.xs2-row:active { transform: scale(.995); }
|
|
.xs2-row-n { grid-row: span 2; font-size: 13px; color: var(--muted); }
|
|
.xs2-row b { font-size: 21px; font-weight: 497; letter-spacing: -.015em; }
|
|
.xs2-row-t { grid-column: 2; font-size: 16px; line-height: 1.5; color: var(--soft); text-wrap: pretty; }
|
|
.xs2-row i { grid-column: 3; grid-row: 1; color: var(--muted); transition: transform var(--base) var(--out), color var(--ui); }
|
|
@media (hover: hover) { .xs2-row:hover i { transform: translateX(5px); color: var(--ink); } }
|
|
.xs2-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
|
|
.xs2-proof { margin: 0; padding: 0; list-style: none; }
|
|
.xs2-proof li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-top: 1px solid var(--hair); }
|
|
.xs2-proof li:last-child { border-bottom: 1px solid var(--hair); }
|
|
.xs2-proof-n { padding-top: 2px; font-size: 26px; font-weight: 220; color: var(--hz-300); white-space: nowrap; }
|
|
.xs2-proof .v2f-body { margin: 10px 0 0; }
|
|
|
|
/* capacity (the reserved tier): Hanzo's per-hour figures */
|
|
.xs2-side { grid-column: 1 / span 5; align-self: start; position: sticky; top: 112px; }
|
|
.xs2-side .v2f-lede { margin-top: 20px; max-width: 30ch; }
|
|
.xs2-cap-t { grid-column: 7 / span 6; overflow-x: auto; }
|
|
.xs2-cap-t table { width: 100%; border-collapse: collapse; }
|
|
.xs2-cap-t th, .xs2-cap-t td { padding: 22px 26px; text-align: left; border-bottom: 1px solid var(--hair); }
|
|
.xs2-cap-t thead th { font: 606 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
|
|
.xs2-cap-t tbody th { font-size: 17px; font-weight: 497; white-space: nowrap; }
|
|
.xs2-cap-t td.x-mono { font-size: 16px; color: var(--soft); }
|
|
.xs2-cap-t td.xs2-big { text-align: right; font-size: 32px; font-weight: 220; letter-spacing: -.03em; line-height: 1; font-feature-settings: 'tnum'; color: var(--ink); }
|
|
.xs2-cap-t thead th:last-child { text-align: right; }
|
|
.xs2-cap-t tbody tr:last-child > * { border-bottom: 0; }
|
|
|
|
/* the other teams: a block of their own film stills (real Hanzo visuals), each opening into its page */
|
|
.xs2-more { padding-bottom: clamp(72px, 8vw, 116px); }
|
|
.xs2-more-h { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
|
|
.xs2-teams { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
|
|
.xs2-teams.few { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
|
|
.xs2-team { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; min-width: 0; }
|
|
.xs2-team-f { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-art); overflow: hidden; background: var(--hz-black); }
|
|
.xs2-team-f img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--slower) var(--out); }
|
|
@media (hover: hover) { .xs2-team:hover .xs2-team-f img { transform: scale(1.05); } .xs2-team:hover .xs2-team-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
|
|
.xs2-team:active .xs2-team-f { transform: scale(.98); }
|
|
.xs2-team-f { transition: transform var(--press) var(--ease-o); }
|
|
.xs2-team-m { margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
|
|
.xs2-team-t { font-size: 17px; font-weight: 497; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
|
|
.xs2-team-p { font-size: 14px; line-height: 1.4; color: var(--soft); }
|
|
|
|
/* the overlap finder over this member's own contour */
|
|
.xs2-ovl { position: relative; isolation: isolate; overflow: hidden; margin-top: 48px; padding: 28px; border-radius: var(--r-hero); background: var(--card); }
|
|
.xs2-ovl-sig { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: var(--ink); opacity: .14; pointer-events: none; }
|
|
.xs2-ovl .xsl-ovl-g { grid-template-columns: 1fr 1fr; }
|
|
.xs2-ovl .xsl-col { border-radius: 16px; padding: 22px; }
|
|
.xs2-ovl .xsl-col.both { grid-column: 1 / -1; background: light-dark(#0a0a0a, var(--surface-3)); padding: 26px; }
|
|
.xs2-ovl .xsl-col h3 { font-size: 13px; color: var(--muted); }
|
|
.xs2-ovl .xsl-col.both h3 { color: var(--hz-300); }
|
|
.xs2-ovl .xsl-col.both h3 b { font-size: 44px; font-weight: 220; color: var(--hz-white); margin-right: 10px; vertical-align: -6px; }
|
|
.xs2-ovl .xsl-ovl-pick button { min-height: 44px; transition: color var(--ui) var(--ease-o), background-color var(--ui) var(--ease-o); }
|
|
@media (hover: hover) { .xs2-ovl .xsl-ovl-pick button:hover { color: var(--ink); background: light-dark(rgba(0, 0, 0, .05), var(--white-06)); } }
|
|
.xs2-ovl .xsl-ovl-pick button:active { transform: scale(.97); }
|
|
.xs2-ovl .xsl-ovl-go { min-height: 44px; min-width: 44px; }
|
|
|
|
/* the one dark room: the film behind, one solid */
|
|
.xs2-band { position: relative; overflow: hidden; padding: clamp(116px, 14vw, 188px) 0; background: var(--hz-black); color: var(--hz-50); isolation: isolate; }
|
|
.xs2-band .xs2-band-film { position: absolute; inset: 0; z-index: -1; opacity: .4; }
|
|
.xs2-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--hz-black) 20%, rgba(0, 0, 0, .35)); }
|
|
.xs2-band-g { align-items: end; row-gap: 28px; }
|
|
.xs2-band-h { grid-column: 1 / span 7; color: var(--hz-50); max-width: 12ch; }
|
|
.xs2-band-r { grid-column: 8 / span 5; }
|
|
.xs2-band .v2f-lede { color: var(--hz-300); }
|
|
.xs2-band .v2f-btn.light { background: var(--hz-50); color: var(--ink); border-color: var(--hz-50); }
|
|
@media (hover: hover) { .xs2-band .v2f-btn.light:hover { background: var(--hz-150); border-color: var(--hz-150); } }
|
|
.xs2-band-link { color: var(--hz-50); }
|
|
.xs2-band-more { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 28px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
|
|
.xs2-band-more .v2f-kick { color: var(--hz-300); }
|
|
|
|
@media (max-width: 900px) {
|
|
.xs2-hero { padding-top: 16px; }
|
|
.xs2-hero-g { row-gap: 18px; padding-bottom: 24px; }
|
|
.xs2-hero-t, .xs2-hero-r, .xs2-side, .xs2-cap-t, .xs2-band-h, .xs2-band-r { grid-column: 1 / -1; }
|
|
.xs2-lede { font-size: 17px; }
|
|
.xs2-acts { margin-top: 18px; }
|
|
.xs2-meta { margin-top: 14px; }
|
|
.xs2-film { height: clamp(300px, 52svh, 420px); }
|
|
.xs2-film-t { font-size: 21px; }
|
|
.xs2-names { display: none; }
|
|
/* the strip on a phone: a native swipe, one job a screen width */
|
|
.xs2-strip { padding: 72px 0 44px; }
|
|
.xs2-strip-v { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
|
|
.xs2-strip-v::-webkit-scrollbar { display: none; }
|
|
.xs2-track { gap: 16px; padding: 0 16px; }
|
|
.xs2-panel { width: calc(100vw - 48px); grid-template-columns: minmax(0, 1fr); gap: 18px; scroll-snap-align: start; }
|
|
.xs2-shot { height: 300px; }
|
|
.xs2-shot-n { font-size: 44px; left: 18px; bottom: 14px; }
|
|
.xs2-side { position: static; margin-bottom: 32px; }
|
|
.xs2-row { padding: 20px 4px; grid-template-columns: 36px minmax(0, 1fr) 20px; }
|
|
.xs2-row b { font-size: 17px; }
|
|
.xs2-cap-t th, .xs2-cap-t td { padding: 16px 14px; }
|
|
.xs2-cap-t td.xs2-big { font-size: 26px; }
|
|
.xs2-teams, .xs2-teams.few { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; max-width: none; }
|
|
.xs2-teams::-webkit-scrollbar { display: none; }
|
|
.xs2-team { scroll-snap-align: start; }
|
|
.xs2-team-m { font-size: 12px; }
|
|
.xs2-ovl { padding: 16px; margin-top: 32px; }
|
|
.xs2-ovl .xsl-ovl-g { grid-template-columns: 1fr; }
|
|
.xs2-band { padding: 116px 0; }
|
|
.xs2-band::after { background: linear-gradient(180deg, rgba(0, 0, 0, .5), var(--hz-black) 70%); }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.xs2-story i.cur.run::after { animation: none; transform: none; }
|
|
.xs2-team-f img, .xs2-story-ink i::after { transition: none; }
|
|
/* the strip is a plain swipe rail: nothing scrubs */
|
|
.xs2-strip-v { overflow-x: auto; scroll-snap-type: x mandatory; }
|
|
}
|
|
|
|
/* a job with no film left (the team cards below show it) takes the solution's own Sigil on black */
|
|
.xs2-shot-sig { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--hz-black); opacity: .9; }
|
|
/* the overlap finder with nothing in common keeps its black strip and says 0 */
|
|
.xsl-col.both.zero ul { display: none; }
|
|
.xsl-col.both.zero h3 b { font-size: 22px; }
|
|
/* arriving from a card: the card's name lands on the h1, so the h1 is simply there (no second cut-in) */
|
|
html[data-tile-open] .xs2-h1 .v2f-w > span, .xs2-h1[data-landed] .v2f-w > span { animation: none !important; transform: none !important; }
|
|
/* every quiet control answers the pointer with more than a hairline: arrows step forward, the sheet pills fill and
|
|
their plus turns, the hero pause inverts, the band's light ask lifts */
|
|
.xs2 .x-arrow svg { transition: transform var(--ui, .2s) var(--ease-o, ease-out); }
|
|
@media (hover: hover) {
|
|
.xs2 .x-arrow:hover svg { transform: translateX(3px); }
|
|
.xs2-sheets .v2f-spec-btn:hover { background: var(--card); border-color: var(--ink); }
|
|
.xs2-film-pause:hover { background: var(--hz-white); color: var(--hz-black); border-color: var(--hz-white); }
|
|
.xs2-band .v2f-btn.light:hover { background: var(--hz-white); border-color: var(--hz-white); transform: translateY(-1px); }
|
|
}
|
|
.xs2-sheets .v2f-spec-btn { transition: background-color var(--ui, .2s) var(--ease-o, ease-out), color var(--ui, .2s) var(--ease-o, ease-out), transform 90ms var(--ease-o, ease-out); }
|
|
.xs2-sheets .v2f-spec-btn:active, .xs2-band .v2f-btn.light:active { transform: scale(.98); }
|
|
|
|
/* dark mode (docs/DARK-MODE.md): the family sheet (v2/fam.css) states its own ink; on this page it takes Hanzo's dark
|
|
values (text #e5e5e5, muted #a3a3a3, surface #171717, borders white 10%). Films, shots and the closing room stay black. Dark values are Hanzo's tokens only. */
|
|
html:not(.light) .xs2.v2f { --acc: var(--foreground); --acc-ink: var(--primary-foreground); --acc-soft: var(--surface-2); --ink: var(--foreground); --soft: var(--muted-foreground); --muted: var(--muted-foreground); --faint: var(--text-tertiary); --card: var(--surface-2); --hair: var(--border); --silver: var(--surface-3); --xs2-pf: var(--primary-foreground); }
|
|
html:not(.light) .xs2 .v2f-btn:not(.solid):not(.acc), html:not(.light) .xs2 .v2f-spec-btn { border-color: var(--white-14); }
|
|
html:not(.light) .xs2 .v2f-body a, html:not(.light) .xs2 a.v2f-link { text-decoration-color: var(--white-30); }
|
|
/* the band's light button carries Hanzo's .light class, so it reads the dark ink captured on the page root */
|
|
html:not(.light) .xs2-band .v2f-btn.light { color: var(--xs2-pf); }
|
|
html:not(.light) .xs2 .v2f-ch-nav button i { background: var(--border-control); }
|
|
html:not(.light) .xs2 .v2f-next-go { border-color: var(--white-20); }
|
|
@media (hover: hover) {
|
|
html:not(.light) .xs2 .v2f-btn:not(.solid):not(.acc):hover { border-color: var(--white-40); }
|
|
html:not(.light) .xs2 .v2f-btn.solid:hover, html:not(.light) .xs2 .v2f-btn.acc:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
|
|
html:not(.light) .xs2 .v2f-spec-btn:hover { border-color: var(--white-40); }
|
|
}
|
|
|
|
/* dark only: Hanzo's halftone dot field behind the hero, as live hanzo.ai's dark heroes sit on it */
|
|
html:not(.light) .xs2-hero { position: relative; isolation: isolate; }
|
|
html:not(.light) .xs2-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) .xs2-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%); }
|