Files

154 lines
13 KiB
CSS

/* Uta (ut-): four stems beside the headline, then the piano roll */
.ut-v2 { width: min(42%, 540px); }
.ut-pre, .ut-status, .ut-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 16px; }
.ut-pre { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ut-pre .mb-mono { margin: 0; }
.ut-status b, .ut-key { font: 497 15px var(--mono); color: #f5f5f5; }
.ut-tc { margin-left: auto; font: 500 15px var(--mono); color: #f5f5f5; }
.ut-of { color: #a3a3a3; }
.ut-main { display: grid; grid-template-columns: 230px minmax(0, 1fr); border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ut-tracks { list-style: none; margin: 0; padding: 8px; display: grid; gap: 6px; align-content: center; border-right: 1px solid rgba(255, 255, 255, .08); }
.ut-tracks li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'n s' 'l v'; gap: 6px 8px; padding: 9px 10px; border-radius: 12px; background: #171717; transition: background .2s; }
.ut-tracks li[data-on='1'] { background: #262626; }
.ut-tn { grid-area: n; font-size: 13.5px; line-height: 1.25; color: #d4d4d4; transition: color .2s; }
.ut-tracks li[data-on='1'] .ut-tn { color: #fff; }
.ut-lv { grid-area: l; align-self: center; height: 4px; border-radius: 2px; background: #262626; overflow: hidden; }
.ut-lv i { display: block; height: 100%; background: #f5f5f5; transform-origin: 0 50%; }
.ut-v { grid-area: v; font: 500 13px var(--mono); color: #a3a3a3; }
.ut-solo { grid-area: s; align-self: start; min-height: 28px; padding: 0 8px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #a3a3a3; font: 497 13px var(--mono); letter-spacing: .06em; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ut-solo:hover { border-color: rgba(255, 255, 255, .5); color: #fff; }
.ut-solo[aria-pressed='true'] { background: #d4d4d4; border-color: #d4d4d4; color: #0a0a0a; }
.ut-roll { position: relative; min-height: 300px; cursor: copy; }
.ut-roll canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: manipulation; }
.ut-flow b { font: 497 13px var(--mono); color: #f5f5f5; }
.ut-flow .mb-mono { margin: 0; }
.ut-bar { flex: 1 1 120px; height: 4px; border-radius: 2px; background: #262626; overflow: hidden; }
.ut-bar i { display: block; height: 100%; background: #f5f5f5; transform-origin: 0 50%; transform: scaleX(0); }
.ut-cue { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 14px 16px 16px; border-top: 1px solid rgba(255, 255, 255, .08); align-items: center; }
.ut-mon { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #000; }
.ut-mon video, .ut-mon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ut-mon figcaption { position: absolute; inset: auto 8px 8px 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.ut-mon figcaption span { padding: 3px 6px; border-radius: 5px; background: rgba(0, 0, 0, .65); color: #e5e5e5; font-size: 13px; }
.ut-cue-t p { margin: 0 0 8px; }
.ut-q { font-size: 15px; line-height: 1.45; color: #f5f5f5; }
.ut-eng { font-size: 14px; line-height: 1.5; color: #a3a3a3; }
@media (max-width: 900px) {
.ut-v2 { width: auto; }
.ut-main { grid-template-columns: 1fr; }
.ut-tracks { grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ut-tn { font-size: 14px; }
.ut-solo { min-height: 36px; }
.ut-roll { min-height: 240px; }
.ut-tc { margin-left: 0; }
.ut-cue { grid-template-columns: 1fr; }
.ut-mon figcaption span { font-size: 13px; }
}
/* one solid fill per screen, at every width: the header's "Try Hanzo" is the one solid from arrival to the closing
band (the page's own asks carry no data-thumb, so the header never swaps its label or weight); the first-screen and
headline asks are outlined; the band's ask is solid while the header goes quiet */
/* "Try it in Design" answers hover (underline, arrow nudges) and press */
.cr-head.ut-v2 .lv-acts .x-arrow { text-underline-offset: 4px; transition: transform 90ms var(--ease); }
.cr-head.ut-v2 .lv-acts .x-arrow svg { transition: transform .15s var(--ease); }
@media (hover: hover) {
.cr-head.ut-v2 .lv-acts .x-arrow:hover { text-decoration: underline; }
.cr-head.ut-v2 .lv-acts .x-arrow:hover svg { transform: translateX(4px); }
}
.cr-head.ut-v2 .lv-acts .x-arrow:active { transform: scale(.97); }
/* phone: once the film settles into the stems, the pause rides inside the stage (top right of the stems), never alone on white */
@media (max-width: 900px) {
html:not([data-ut-hold]) .lv-stage[data-hero='uta'] .lv-pause { top: calc(47% - 60px); bottom: auto; right: calc(6% + 8px); }
}
/* phone: the studio's spec rows and the fits list each carry a hairline that draws across in turn, so no screen sits still */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
.ut-scene .mb-specs > div, .cr-fits:has(#cr-fits-uta) .cr-fits-list li { position: relative; }
.ut-scene .mb-specs > div::after, .cr-fits:has(#cr-fits-uta) .cr-fits-list li::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #0a0a0a; transform: scaleX(0); transform-origin: 0 50%; animation: ut-line 4.5s var(--ease) infinite; }
.ut-scene .mb-specs > div:nth-child(2)::after, .cr-fits:has(#cr-fits-uta) .cr-fits-list li:nth-child(2)::after { animation-delay: 1.5s; }
.ut-scene .mb-specs > div:nth-child(3)::after, .cr-fits:has(#cr-fits-uta) .cr-fits-list li:nth-child(3)::after { animation-delay: 3s; }
}
@keyframes ut-line { 0% { transform: scaleX(0); opacity: 1; } 30% { transform: scaleX(1); opacity: 1; } 45%, 100% { transform: scaleX(1); opacity: 0; } }
/* the film pause answers hover and press */
.lv-stage[data-hero='uta'] .lv-pause { transition: transform .15s var(--ease), background .15s var(--ease); }
@media (hover: hover) { .lv-stage[data-hero='uta'] .lv-pause:hover { transform: scale(1.08); background: rgba(255, 255, 255, .22); } }
.lv-stage[data-hero='uta'] .lv-pause:active { transform: scale(.94); }
/* the chapter rail: 44px rows; hover inks the label and slides it 4px */
#cr-ch-uta .lv-ch-rail button { min-height: 44px; transition: color .15s var(--ease), transform .15s var(--ease); }
@media (hover: hover) { #cr-ch-uta .lv-ch-rail button:hover { color: var(--ink); transform: translateX(4px); } }
#cr-ch-uta .lv-ch-rail button:active { transform: scale(.97); }
/* phone hold: until the visitor scrolls, the film stays full-bleed under the name, lede and ask; then it settles */
@media (max-width: 900px) {
.lv-stage[data-hero='uta'] .lv-film { transition: clip-path 1.4s var(--ease2); }
.lv-stage[data-hero='uta'] .lv-film-in { transition: transform 1.4s var(--ease2); }
.lv-stage[data-hero='uta'] .lv-name, .lv-stage[data-hero='uta'] .lv-scrim { transition: opacity .5s var(--ease2), transform .5s var(--ease2); }
html[data-ut-hold] .lv-stage[data-hero='uta'] .lv-film { clip-path: var(--ut-hold) !important; }
html[data-ut-hold] .lv-stage[data-hero='uta'] .lv-film-in { transform: none !important; }
html[data-ut-hold] .lv-stage[data-hero='uta'] :is(.lv-name, .lv-scrim) { opacity: 1 !important; transform: none !important; }
html[data-ut-hold] .lv-stage[data-hero='uta'] .lv-name[data-gone] .lv-name-ask { visibility: visible; }
html[data-ut-hold] .lv-stage[data-hero='uta'] .lv-head { visibility: hidden; }
}
/* every control in the studio is a 44px target at every width */
.ut-scene button, .ut-scene [role=tab], .ut-scene [role=radio] { min-height: 44px; }
.ut-solo { min-width: 56px; }
/* the roll at rest (paused or reduced motion) does not claim to stream */
.ut-live[data-off] { visibility: hidden; }
/* the chapters' own pictures */
.ut-art-2 img, .ut-art-2 video { clip-path: polygon(8% 92%, 8% 50%, 27.5% 50%, 27.5% 92%, 29.5% 92%, 29.5% 36%, 49% 36%, 49% 92%, 51% 92%, 51% 22%, 70.5% 22%, 70.5% 92%, 72.5% 92%, 72.5% 8%, 92% 8%, 92% 92%); }
.ut-cue-l { position: absolute; inset: 0; pointer-events: none; }
.ut-cue-l i { position: absolute; top: 12%; bottom: 12%; width: 1px; background: rgba(255, 255, 255, .3); }
.ut-cue-l i:nth-child(1) { left: 24%; } .ut-cue-l i:nth-child(2) { left: 51%; } .ut-cue-l i:nth-child(3) { left: 77%; }
.ut-cue-l b { position: absolute; top: 8%; bottom: 8%; left: 6%; width: 2px; background: #fafafa; transform-origin: 0 0; }
.ut-art-1[data-on] .ut-cue-l b { animation: ut-play 6s linear infinite; }
@keyframes ut-play { to { transform: translateX(calc(88cqw)); } }
.ut-art-1 { container-type: inline-size; }
.ut-keys { position: absolute; left: 6%; right: 6%; bottom: 7%; height: 16%; display: grid; grid-template-columns: repeat(13, 1fr); gap: 4px; }
.ut-keys i { position: relative; border-radius: 4px; background: rgba(255, 255, 255, .14); }
/* a key lights by an overlay's opacity (no animated background) */
.ut-keys i::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, .92); opacity: 0; }
.ut-art-3[data-on] .ut-keys i::after { animation: ut-key 3.25s var(--ease) infinite; animation-delay: calc(var(--k) * .25s); }
@keyframes ut-key { 0%, 12% { opacity: 1; } 30%, 100% { opacity: 0; } }
/* closing band */
.ut-band .lv-lines { margin: 0 auto; max-width: 18ch; font-size: clamp(2.6rem, 5vw, 4rem); color: #f5f5f5; }
.ut-band-note a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: #fafafa; text-decoration: none; text-underline-offset: 4px; transition: transform 90ms var(--ease); }
@media (hover: hover) { .ut-band-note a:hover { text-decoration: underline; } }
.ut-band-note a:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .ut-art[data-on] .ut-cue-l b, .ut-art[data-on] .ut-keys i::after { animation: none; } }
/* elite bar: type floor, balanced headings, thumb-sized taps */
.ut-scene :is(h1, h2) { text-wrap: balance; }
@media (max-width: 900px) {
.ut-v,
.ut-solo,
.ut-mon figcaption span { font-size: 14px; }
.ut-scene button, .ut-scene [role=tab] { min-height: 44px; }
}
/* the studio's own controls, icon-only (their words are the accessible names); a press dips, a hover inks the ring */
.ut-ico { width: 44px; min-height: 44px; padding: 0; }
.ut-ico svg { transition: transform .2s var(--ease); }
@media (hover: hover) { .ut-ico:hover svg { transform: scale(1.12); } }
/* Dark (docs/DARK-MODE.md), dark only so bright is untouched:
- the shared Launch frame (v2/Launch.css) and the shared Creative fits paint their type in light-mode greys, so on /uta
the type outside the black rooms takes Hanzo's tokens;
- the shared model-card shelf (ModelCards.css paints .mc white) takes the page colour;
- the studio and the band are black in both modes: their picked chip and solid ask are Hanzo's light primary pill. */
html:not(.light) .lv:has(> .lv-stage[data-hero='uta']) :is(.lv-lines, .lv-h, .lv-ch-h, .lv-stats .x-stat-v, .lv-stats .x-stat-l, .cr-fits-list h3, .cr-caps-h):not(.lv-room *, [data-room='dark'] *) { color: var(--foreground); }
html:not(.light) .lv:has(> .lv-stage[data-hero='uta']) :is(.lv-lines .lv-ln + .lv-ln, .lv-crumb, .lv-side, .lv-ch-rail button:not([aria-current]), .cr-fit-n, .cr-fit-k):not(.lv-room *, [data-room='dark'] *) { color: var(--text-tertiary); }
html:not(.light) .lv:has(> .lv-stage[data-hero='uta']) :is(.lv-lede, .lv-p, .lv-ch-b, .lv-stats .x-stat-n, .cr-fit-x):not(.lv-room *, [data-room='dark'] *) { color: var(--muted-foreground); }
html:not(.light) .lv:has(> .lv-stage[data-hero='uta']) .lv-ch-rail::before { background: var(--border); }
html:not(.light) .lv:has(> .lv-stage[data-hero='uta']) .mc { background: var(--bg); }
html:not(.light) .lv:has(> .lv-stage[data-hero='uta']) :is(.cr-fits-list, .cr-fits-list li) { border-color: var(--border); }
html:not(.light) .ut-board .mb-chip:is([aria-pressed='true'], [aria-checked='true'], [aria-selected='true']) { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
html:not(.light) .ut-band .x-btn.solid { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
/* Hanzo's dark hero texture, as measured from live hanzo.ai dark (lead's recipe, 8 Nov): 7px dot grid at ~36% foreground,
densest at the left/right edges and toward the bottom, plus live's top glow. Dark only, so bright is untouched. */
html:not(.light) .lv-stage[data-hero='uta'] .lv-pin { isolation: isolate; }
html:not(.light) .lv-stage[data-hero='uta'] .lv-pin::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) .lv-stage[data-hero='uta'] .lv-pin::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%); }