mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
- order: hero and map, the product directory, the planes, capabilities, One API, the loop, open, the figures, the Band - the stack rests slightly open; on arrival each plate slides out and names itself once (under 5 s) - the map no longer closes into a blank screen; the directory follows it directly - the kernel's four targets live in layer 11's sheet; the five tiles are five rows and one stage that walks by itself, with a pause - the ring gets a pause; the facts are one big figure with the measurements beside it; the fine print folds - labels under headings become captions under their objects; commands read command first and wrap on phones - the sheet starts below the site header, so its close button is always clickable Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01DqUybC36ncJibdZBGwqLx8
38 lines
3.2 KiB
CSS
38 lines
3.2 KiB
CSS
/* SheetPanel (v2): a detail sheet over the page. Transform and opacity only; no blur. */
|
|
.v2s {
|
|
/* Hanzo's deck (MASTER 3.1): the only colour, radius and timing values this file uses */
|
|
--k-white: #ffffff; --k-quiet: #f5f5f5; --k-card: #f2f2f2; --k-muted: #ededed; --k-silver: #e4e4e7; --k-track: #d4d4d4;
|
|
--k-ink: #0a0a0a; --k-body: #525252; --k-dim: #737373; --k-mid: #404040; --k-dark: #262626; --k-graphite: #171717; --k-black: #000000;
|
|
--k-on: #fafafa; --k-on-2: rgba(255, 255, 255, .78); --k-on-3: rgba(255, 255, 255, .55); --k-on-4: #a3a3a3;
|
|
--k-line: rgba(0, 0, 0, .1); --k-line-d: rgba(255, 255, 255, .1);
|
|
--k-sheen: linear-gradient(135deg, #f6f6f6 0%, #e9e9e9 45%, #f6f6f6 70%, #e9e9e9 100%);
|
|
--k-float: 0 24px 60px -16px rgba(0, 0, 0, .18);
|
|
--k-press: 90ms; --k-fast: 150ms; --k-base: 300ms; --k-slow: 400ms; --k-slower: 500ms;
|
|
--k-out: cubic-bezier(0, 0, .2, 1); --k-io: cubic-bezier(.4, 0, .2, 1); --k-em: cubic-bezier(.16, 1, .3, 1);
|
|
position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; transition: visibility 0s .7s; }
|
|
.v2s[data-open='true'] { pointer-events: auto; visibility: visible; transition: visibility 0s; }
|
|
.v2s-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity 300ms cubic-bezier(0, 0, .2, 1); }
|
|
.v2s[data-open='true'] .v2s-scrim { opacity: 1; }
|
|
.v2s-panel {
|
|
/* the panel starts below the site's sticky header (60px), so its counter and close button are never under it */
|
|
position: absolute; top: 72px; right: 12px; bottom: 12px; width: min(560px, calc(100vw - 24px)); display: flex; flex-direction: column;
|
|
border-radius: 24px; background: var(--k-white); color: var(--k-ink); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .18);
|
|
transform: translateX(calc(100% + 24px)); transition: transform 400ms cubic-bezier(.4, 0, .2, 1);
|
|
}
|
|
.v2s[data-open='true'] .v2s-panel { transform: none; transition: transform 500ms var(--k-em); }
|
|
.v2s.dark .v2s-panel { background: var(--k-graphite); color: var(--k-on); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .78); }
|
|
.v2s-bar { display: flex; align-items: center; gap: 16px; padding: 14px 14px 14px 28px; border-bottom: 1px solid var(--k-line); }
|
|
.v2s.dark .v2s-bar { border-color: rgba(255, 255, 255, .08); }
|
|
.v2s-label { flex: 1; font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--k-dim); }
|
|
.v2s-x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--k-card); color: inherit; cursor: pointer; transition: transform 150ms cubic-bezier(0, 0, .2, 1); }
|
|
.v2s.dark .v2s-x { background: rgba(255, 255, 255, .08); }
|
|
@media (hover: hover) { .v2s-x:hover { background: var(--k-muted); } }
|
|
.v2s-x:active { transform: scale(.97); }
|
|
.v2s-body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 28px; }
|
|
@media (max-width: 899px) {
|
|
.v2s-panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 88svh; border-radius: 24px 28px 0 0; transform: translateY(105%); }
|
|
.v2s-body { padding: 24px 20px 40px; }
|
|
.v2s-bar { padding-left: 20px; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) { .v2s-panel, .v2s[data-open='true'] .v2s-panel, .v2s-scrim { transition: none; } }
|