mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
- Home: product mockups stay dark; their green/red diff lines, POST labels and Posted badge keep the same colours, written as the rgb Hanzo's color-mix() resolves to in dark; the GitHub mark on its dark tile uses var(--foreground). - /tag, /brand: labels on light chips and the Hanzo White sample use --neutral-600 / --x-on-ink / --primary-foreground; swatch colours unchanged. - /bot, /hsm: dimmed names use --text-tertiary instead of white at 30%. - /comparison, /iro, /koe, /koma: secondary lines in dark rooms use --muted-foreground. - /slack, /skills, /machines, /hsm, /brand, /press: selected tabs and pills drawn by a sibling or ::before; the selected element now carries the same colour in dark. Every rule is under html:not(.light): light mode is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdwj33XByFVTvu9bfci
285 lines
24 KiB
CSS
285 lines
24 KiB
CSS
/* /brand (prefix xbr-). Hanzo's deck only (MASTER 3.1): the neutral ramp as page tokens, no literal colour below this
|
|
block; radii 24 / 16 / 12; no springs (ease-emphasis); tiles flat, only floating things take a shadow. */
|
|
.xbr {
|
|
/* deck values from ./company/deck.css where it has them; the rest of the ramp declared once here */
|
|
--b-ink: var(--ink); --b-ink2: var(--ink2); --b-muted: var(--muted); --b-faint: #a3a3a3; --b-raised: var(--quiet); --b-sunk: var(--tile);
|
|
--b-black: #000000; --b-white: #ffffff; --b-dk-raised: #171717; --b-dk-seg: #262626; --b-dk-text: rgba(255, 255, 255, .78); --b-glow: rgba(255, 255, 255, .35); --b-dk-ink: #fafafa;
|
|
--b-line: var(--line); --b-line2: #d4d4d4; --b-line3: #a3a3a3; --b-dk-line: rgba(255, 255, 255, .16);
|
|
--b-r-s: 12px; --b-r: 16px; --b-r-m: 16px; --b-r-l: 24px; --b-r-xl: 28px;
|
|
--b-out: var(--e-em); --b-tint: rgba(127, 127, 127, .18); --b-dk-hair: rgba(255, 255, 255, .1); --b-dk-hover: rgba(255, 255, 255, .08);
|
|
overflow-x: clip;
|
|
}
|
|
/* dark mode (docs/DARK-MODE.md): the deck's greys and this page's light ramp point at Hanzo's tokens; Hanzo White and
|
|
Black, the swatches, the plates and the black rooms are the brand itself and stay as they are */
|
|
html:not(.light) .vc.xbr {
|
|
--ink: var(--foreground); --ink2: var(--muted-foreground); --muted: var(--text-tertiary); --quiet: var(--x-fill); --card: var(--x-fill);
|
|
--tile: var(--secondary); --line: var(--border); --b-line2: var(--border-strong); --b-line3: var(--border-selected);
|
|
}
|
|
.xbr .vc-obj { border-radius: var(--b-r-l); }
|
|
.xbr :focus-visible { outline: 2px solid var(--b-ink); outline-offset: 3px; box-shadow: 0 0 0 5px var(--bg); }
|
|
.xbr [data-room='dark'] :focus-visible { outline-color: var(--b-white); box-shadow: 0 0 0 5px var(--b-black); }
|
|
.xbr-big { height: 48px; padding: 0 24px; font-size: 16px; }
|
|
/* scale rhythm (JAMES 1): the h1 rests at live hanzo.ai's 52px and section heads at 28-44px, so the drawing, the
|
|
numerals, the swatches and the "Aa" are each screen's one big thing */
|
|
.xbr .xbr-hero .vc-display { font-size: clamp(40px, 3.6vw, 52px); line-height: 1.04; }
|
|
.xbr .xbr-pr-t.vc-display, .xbr .xbr-col-h .vc-display, .xbr .vc-headline { font-size: clamp(28px, 3vw, 44px); line-height: 1.08; letter-spacing: -.03em; }
|
|
|
|
/* 1. hero: the construction, drawn full-bleed on the stage */
|
|
.xbr-hero { position: relative; padding: 96px 0 64px; overflow: hidden; }
|
|
.xbr-hero-g { position: relative; z-index: 1; align-items: center; }
|
|
.xbr-hero-c { grid-column: 1 / 8; display: flex; flex-direction: column; gap: 32px; }
|
|
.xbr-hero-f { display: flex; flex-direction: column; gap: 32px; }
|
|
.xbr-acts { display: flex; flex-wrap: wrap; gap: 12px; }
|
|
.xbr-dr { position: absolute; top: 0; bottom: 0; right: 0; width: 58%; display: grid; place-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, var(--b-black) 26%); mask-image: linear-gradient(90deg, transparent, var(--b-black) 26%); cursor: crosshair; }
|
|
.xbr-dr svg { display: block; width: min(100%, 78svh, 760px); aspect-ratio: 1; overflow: visible; margin-right: 4%; }
|
|
.xbr-g { stroke: var(--b-line2); stroke-width: .2; fill: none; }
|
|
.xbr-g.c { stroke: var(--b-line3); stroke-width: .22; }
|
|
.xbr-tick { stroke: var(--b-line3); stroke-width: .25; }
|
|
/* first frame: the h1 cuts in from 0.1 s even under the curtain, and the lede and asks are visible in the server HTML
|
|
with a transform-only rise (no opacity gate) */
|
|
html.x-arriving .xbr-hero .vc-ml-css { animation-play-state: running; }
|
|
.xbr-hero .vc-ml-css { animation-duration: .6s; animation-delay: 0s; } /* readable by 0.2 s (ease-emphasis) */
|
|
.xbr-hero .vc-ml-l + .vc-ml-l .vc-ml-css { animation-delay: 60ms; }
|
|
.xbr-hero-f { animation: xbr-rise .7s var(--b-out) .2s both; }
|
|
@keyframes xbr-rise { from { transform: translateY(16px); } }
|
|
@media (prefers-reduced-motion: reduce) { .xbr-hero-f { animation: none; } }
|
|
.xbr-piece { fill: var(--b-ink); }
|
|
.xbr-pause { position: absolute; right: 24px; bottom: 72px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--b-line); background: var(--x-raised); color: var(--b-ink); cursor: pointer; transition: background-color 150ms, transform .12s; -webkit-mask-image: none; }
|
|
.xbr-pause:active { transform: scale(.94); }
|
|
@media (hover: hover) { .xbr-pause:hover { background: var(--b-raised); } }
|
|
@media (prefers-reduced-motion: reduce) { .xbr-pause { display: none; } } /* nothing turns, so no Pause */
|
|
|
|
/* the magnet field (signature, ./brand/MagnetGrid.jsx) fills the drawing's stage under the SVG. Server HTML / JS off:
|
|
the same dots as a CSS background; once the canvas is drawing (.live) the background steps aside */
|
|
.xbr-mg { position: absolute; inset: 0; --mg-rest: var(--b-line2); --mg-ink: var(--b-ink); color: var(--b-line2);
|
|
background-image: radial-gradient(circle, var(--b-line2) 1.3px, transparent 1.6px); background-size: 26px 26px; background-position: center; }
|
|
.xbr-mg.live { background: none; }
|
|
.xbr-mg canvas { display: block; }
|
|
.xbr-mg:focus-visible { outline-offset: -6px; }
|
|
.xbr-dr svg { position: relative; z-index: 1; pointer-events: none; }
|
|
|
|
/* 2. principles: three plain rows (no pinned stage), alternating sides; each numeral stands in the principle's own material */
|
|
.xbr-pr { padding: clamp(64px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); }
|
|
.xbr-pb { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
|
|
.xbr-pr-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
|
|
.xbr-pr-row.r1 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
|
|
.xbr-pr-row.r1 .xbr-pr-w { order: 2; }
|
|
.xbr-pr-w { display: flex; flex-direction: column; gap: 22px; }
|
|
.xbr-pr-t { max-width: 11ch; margin: 0; }
|
|
.xbr-pr-v { position: relative; height: clamp(300px, 30vw, 420px); border-radius: var(--b-r-xl); overflow: hidden; background: var(--b-raised); }
|
|
.xbr-num { position: absolute; inset: 0; display: grid; place-items: end start; padding: clamp(28px, 3.5vw, 48px); overflow: hidden; border-radius: inherit; }
|
|
.xbr-num-n { position: relative; z-index: 1; font: 600 clamp(28px, 3vw, 44px)/1 var(--sans); letter-spacing: -.04em; color: var(--b-muted); }
|
|
.xbr-num-n b { display: block; font-size: clamp(140px, 16vw, 240px); line-height: .78; letter-spacing: -.07em; color: var(--b-ink); }
|
|
.xbr-num.n0 { background: var(--x-raised); box-shadow: inset 0 0 0 1px var(--b-line); }
|
|
.xbr-num-mark { position: absolute; top: 18%; right: 16%; color: var(--b-ink); }
|
|
/* 02 is a quiet room (MASTER: at most two dark rooms, the colour room and the assets card); the Brand Glow is its object */
|
|
.xbr-num.n1 { background: var(--b-raised); }
|
|
.xbr-num-glow { position: absolute; top: 12%; right: 10%; width: clamp(160px, 18vw, 260px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--b-glow), var(--b-black) 62%); }
|
|
.xbr-num-grid { position: absolute; top: 10%; right: 8%; display: grid; grid-template-columns: repeat(4, 26px); gap: 22px; color: var(--b-ink); opacity: .9; }
|
|
|
|
/* 3. colour: the one dark room */
|
|
.xbr-col { background: var(--b-black); color: var(--b-dk-ink); }
|
|
.xbr-col-g > * { grid-column: 1 / -1; }
|
|
.xbr-col-h { display: grid; grid-template-columns: subgrid; align-items: end; margin-bottom: 96px; }
|
|
.xbr-col-h .vc-display { grid-column: 1 / 8; color: var(--b-dk-ink); }
|
|
.xbr-col-h .vc-lede { grid-column: 8 / 13; color: var(--b-dk-text); }
|
|
.xbr .xbr-col .xbr-sub { margin: 72px 0 24px; color: var(--b-dk-ink); } /* beats deck.css's .vc .vc-title ink, which hid it on black */
|
|
.xbr .xbr-col .xbr-col-h + .xbr-sub { margin-top: 0; }
|
|
.xbr-brand { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; }
|
|
.xbr-grays { position: relative; display: flex; border-radius: var(--b-r-l); overflow: hidden; }
|
|
.xbr-sw { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; padding: 22px; border: 0; background: var(--c); color: var(--b-black); text-align: left; cursor: copy; }
|
|
.xbr-grays .xbr-sw { flex: 1 1 0; min-width: 0; transition: flex-grow 500ms var(--b-out); }
|
|
.xbr-sw.dk { color: var(--b-dk-ink); }
|
|
.xbr-sw.big { min-height: min(52svh, 460px); border-radius: var(--b-r-l); padding: 32px; }
|
|
.xbr-sw.big.dk { box-shadow: inset 0 0 0 1px var(--b-dk-line); } /* Hanzo Black on the black room needs its edge */
|
|
.xbr-sw-t { display: flex; flex-direction: column; gap: 6px; transition: transform 500ms var(--b-out); }
|
|
.xbr-sw-t b { font-size: 17px; font-weight: 497; letter-spacing: -.01em; }
|
|
.xbr-sw.big .xbr-sw-t b { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -.04em; }
|
|
.xbr-sw.big .xbr-sw-t { gap: 10px; }
|
|
.xbr-sw-t .vc-num { font: 500 14px/1 var(--mono); opacity: .75; }
|
|
.xbr-sw.big .xbr-sw-t .vc-num { font-size: 17px; }
|
|
.xbr-ok { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--b-tint); color: currentColor; transition: transform 300ms var(--b-out); }
|
|
@media (hover: hover) {
|
|
.xbr-grays .xbr-sw:hover { flex-grow: 1.8; }
|
|
.xbr-sw:hover .xbr-sw-t { transform: translateY(-6px); }
|
|
.xbr-sw:hover .xbr-ok { transform: scale(1.12); }
|
|
}
|
|
|
|
.xbr-reads { margin-top: 72px; padding: clamp(28px, 3.5vw, 48px); border-radius: var(--b-r-l); background: var(--b-dk-raised); }
|
|
.xbr-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--b-dk-seg); }
|
|
.xbr-seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font: 500 15px var(--sans); color: var(--b-dk-text); white-space: nowrap; cursor: pointer; transition: background-color 300ms var(--b-out), color 300ms var(--b-out), transform var(--d-fast) var(--b-out); }
|
|
.xbr-seg button { position: relative; }
|
|
.xbr-seg button > span:not(.xbr-seg-pill) { position: relative; z-index: 1; }
|
|
.xbr-seg button[aria-pressed='true'] { color: var(--b-black); }
|
|
.xbr-seg-pill { position: absolute; inset: 0; border-radius: 999px; background: var(--b-dk-ink); } /* glides between the two (300 ms) */
|
|
.xbr-seg button:active { transform: scale(.97); }
|
|
@media (hover: hover) { .xbr-seg button[aria-pressed='false']:hover { color: var(--b-dk-ink); background: var(--b-dk-hover); } }
|
|
.xbr-reads ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
|
.xbr-reads li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--b-r); background: var(--bg); box-shadow: inset 0 0 0 1px var(--b-dk-hair); transition: background-color 500ms var(--b-out); }
|
|
.xbr-reads-s { font-size: 44px; font-weight: 497; letter-spacing: -.04em; line-height: 1; }
|
|
.xbr-reads li b { font-size: 16px; font-weight: 497; color: var(--b-ink2); }
|
|
.xbr-reads ul.dk li b { color: var(--b-faint); }
|
|
.xbr-v { display: grid; place-items: center; color: var(--b-ink); }
|
|
.xbr-reads ul.dk .xbr-v { color: var(--b-dk-ink); }
|
|
/* dark: on the Hanzo White sample the grey names and verdicts keep dark type (the sample is white in both modes), and the
|
|
pressed background carries its gliding pill's fill so its black label sits on its own ground */
|
|
html:not(.light) .xbr-reads ul.lt li b { color: var(--neutral-600); }
|
|
html:not(.light) .xbr-reads ul.lt .xbr-v { color: var(--primary-foreground); }
|
|
html:not(.light) .xbr-seg button[aria-pressed='true'] { background: var(--b-dk-ink); }
|
|
.xbr-grads { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 24px; }
|
|
.xbr-grad { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; }
|
|
.xbr-grad span { grid-column: 1 / -1; height: 220px; border-radius: var(--b-r-l); border: 1px solid var(--b-dk-hair); }
|
|
.xbr-grad span { transition: transform var(--d-slower) var(--b-out), border-color var(--d-fast) var(--e-out); }
|
|
.xbr-grad b { font-size: 17px; font-weight: 497; transition: transform var(--d-slower) var(--b-out); }
|
|
@media (hover: hover) {
|
|
.xbr-grad:hover span { transform: translateY(-6px); border-color: var(--b-dk-line); }
|
|
.xbr-grad:hover b { transform: translateX(6px); }
|
|
}
|
|
.xbr-grad small { font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--b-faint); }
|
|
|
|
/* the colour room as one scene on desktop: swatches left (8 of 13), the board right (5 of 13) as one column of rows,
|
|
gradients below; the board's background is the scene's state and rings the brand swatch it stands on */
|
|
.xbr .xbr-col { padding: clamp(96px, 10vw, 150px) 0; }
|
|
.xbr-sw.big::after { content: ''; position: absolute; inset: -6px; border-radius: calc(var(--b-r-l) + 6px); border: 2px solid var(--b-dk-ink); opacity: 0; transition: opacity var(--d-base) var(--b-out); pointer-events: none; }
|
|
.xbr-sw.big.sel::after { opacity: 1; }
|
|
@media (min-width: 901px) {
|
|
.xbr-col-h { margin-bottom: 56px; }
|
|
.xbr-col-g > .xbr-col-l { grid-column: 1 / 9; }
|
|
.xbr .xbr-col .xbr-col-l .xbr-sub { margin-top: 44px; }
|
|
.xbr .xbr-col .xbr-col-l .xbr-sub:first-child { margin-top: 0; }
|
|
.xbr-sw.big { min-height: 300px; }
|
|
.xbr-grays .xbr-sw { min-height: 220px; }
|
|
.xbr-col-g > .xbr-reads { grid-column: 9 / 13; margin-top: 0; align-self: stretch; display: flex; flex-direction: column; }
|
|
.xbr-seg { align-self: flex-start; }
|
|
.xbr-reads ul { flex: 1; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 20px; }
|
|
.xbr-reads li { padding: 10px 16px; gap: 14px; }
|
|
.xbr-reads-s { font-size: 32px; }
|
|
.xbr .xbr-col .xbr-grads-h { margin-top: 56px; }
|
|
.xbr-grad span { height: 150px; }
|
|
}
|
|
|
|
/* 4. type: the signature, a specimen that fills the screen */
|
|
.xbr-type-g { row-gap: 64px; align-items: start; }
|
|
.xbr-type-h { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 120px; }
|
|
.xbr-spec { grid-column: 5 / 13; position: relative; padding: clamp(28px, 3vw, 48px); border-radius: var(--b-r-l); background: var(--b-raised); overflow: hidden; }
|
|
.xbr-spec-a { margin: 0; font-size: clamp(180px, 30vw, 440px); line-height: .82; letter-spacing: -.07em; color: var(--b-ink); }
|
|
.xbr-spec-c { margin-top: 24px; max-width: 520px; }
|
|
.xbr-spec-c input { --p: 57.5%; /* weight 560 at rest, as served; the sweep and the hand set it after mount */ -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: ew-resize; margin: 0; }
|
|
.xbr-spec-c input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--b-ink) var(--p), var(--b-line2) var(--p)); }
|
|
.xbr-spec-c input::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--b-ink) var(--p), var(--b-line2) var(--p)); }
|
|
.xbr-spec-c input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; background: var(--x-raised); box-shadow: var(--float), 0 0 0 1px var(--b-line2); transition: transform 90ms; }
|
|
.xbr-spec-c input::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--x-raised); box-shadow: var(--float), 0 0 0 1px var(--b-line2); }
|
|
.xbr-spec-c input:active::-webkit-slider-thumb { transform: scale(1.1); }
|
|
.xbr-scale { grid-column: 5 / 13; list-style: none; margin: 0; padding: 0; }
|
|
.xbr-scale li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--b-line); }
|
|
.xbr-sc-n { font-weight: 497; letter-spacing: -.03em; line-height: 1.05; color: var(--b-ink); transition: transform var(--d-base) var(--b-out); }
|
|
.xbr-sc-d { font-size: 17px; color: var(--b-ink2); transition: color var(--d-fast) var(--e-out); }
|
|
.xbr-scale li { transition: border-color var(--d-fast) var(--e-out); }
|
|
@media (hover: hover) {
|
|
.xbr-scale li:hover { border-top-color: var(--b-ink); }
|
|
.xbr-scale li:hover .xbr-sc-n { transform: translateX(10px); }
|
|
.xbr-scale li:hover .xbr-sc-d { color: var(--b-ink); }
|
|
}
|
|
|
|
/* 5. components: a bench you can press */
|
|
.xbr-comp { background: var(--b-raised); }
|
|
.xbr .xbr-comp { padding-top: clamp(56px, 5vw, 72px); padding-bottom: clamp(44px, 5vw, 72px); }
|
|
.xbr .xbr-type { padding: clamp(72px, 8vw, 120px) 0 clamp(64px, 7vw, 104px); } /* no dead white band before or after the specimen */ /* no slack tail: the assets band is the next thing in */
|
|
.xbr-comp-h { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 20px; margin-bottom: 64px; }
|
|
.xbr-bench { padding: clamp(28px, 3vw, 44px); border-radius: var(--b-r-m); background: var(--x-raised); display: flex; flex-direction: column; gap: 24px; }
|
|
.xbr-bench.a { grid-column: 1 / 8; }
|
|
.xbr-bench.b { grid-column: 8 / 13; grid-row: span 2; }
|
|
.xbr-bench.c { grid-column: 1 / 8; margin-top: 24px; }
|
|
.xbr-btns { display: flex; flex-wrap: wrap; gap: 12px; }
|
|
.xbr-b { min-height: 48px; padding: 0 22px; border-radius: 999px; font: 500 16px/1 var(--sans); cursor: pointer; border: 1px solid transparent; transition: background-color 150ms, border-color 150ms, text-underline-offset 150ms; }
|
|
.xbr-b.p { background: var(--b-ink); color: var(--x-on-ink); }
|
|
.xbr-b.s { background: var(--x-raised); color: var(--b-ink); border-color: var(--b-line); }
|
|
.xbr-b.g { background: transparent; color: var(--b-ink); }
|
|
.xbr-b.l { background: none; padding: 0 4px; color: var(--b-ink); text-decoration: underline; text-underline-offset: 5px; }
|
|
@media (hover: hover) {
|
|
.xbr-b.p:hover { background: var(--b-ink2); }
|
|
.xbr-b.s:hover { border-color: var(--b-ink); background: var(--b-raised); }
|
|
.xbr-b.g:hover { background: var(--b-raised); }
|
|
.xbr-b.l:hover { text-underline-offset: 8px; text-decoration-thickness: 2px; color: var(--b-ink2); }
|
|
}
|
|
.xbr-b.l { transition: background-color 150ms, color 150ms, text-underline-offset 150ms, text-decoration-thickness 150ms; }
|
|
.xbr-card { padding: 28px; border-radius: var(--b-r); border: 1px solid var(--b-line); background: var(--x-raised); cursor: pointer; transition: border-color var(--d-fast) var(--e-out), background-color var(--d-fast) var(--e-out); }
|
|
.xbr-card p { margin: 10px 0 20px; font-size: 17px; line-height: 1.55; color: var(--b-ink2); }
|
|
.xbr-card-a { display: inline-block; font-size: 15px; font-weight: 500; transition: transform var(--d-base) var(--b-out); }
|
|
@media (hover: hover) {
|
|
.xbr-card:hover { border-color: var(--b-ink); background: var(--b-raised); } /* "with hover states": it lifts, inks its edge, fills, and its link steps on */
|
|
.xbr-card:hover .xbr-card-a { transform: translateX(6px); }
|
|
}
|
|
.xbr-badges { display: flex; flex-wrap: wrap; gap: 10px; }
|
|
.xbr-badge { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--b-raised); font: 500 14px/1 var(--sans); color: var(--b-ink); }
|
|
.xbr-badge.brand { background: var(--b-ink); color: var(--x-on-ink); }
|
|
.xbr-badge.ok { gap: 6px; background: var(--b-sunk); } /* status as a shape (a tick), never a hue */
|
|
.xbr-badge.ok svg { flex: none; }
|
|
|
|
/* 6. assets: the marks the ZIP holds, and the one ask */
|
|
.xbr-assets { padding: clamp(44px, 5vw, 72px) 0 clamp(56px, 6vw, 88px); } /* the footer follows without a white gap */
|
|
.xbr-dl { grid-column: 1 / 8; padding: clamp(32px, 4vw, 56px); border-radius: var(--b-r-l); background: var(--b-black); color: var(--b-dk-ink); display: flex; flex-direction: column; gap: 40px; }
|
|
.xbr-dl .vc-headline { color: var(--b-dk-ink); max-width: 16ch; }
|
|
.xbr-plates { display: flex; gap: 12px; }
|
|
.xbr-plates span { display: grid; place-items: center; width: 112px; aspect-ratio: 1; border-radius: var(--b-r); transition: transform 500ms var(--b-out); }
|
|
.xbr-plates .k { background: var(--b-dk-raised); color: var(--b-dk-ink); box-shadow: inset 0 0 0 1px var(--b-dk-line); }
|
|
.xbr-plates .w { background: var(--b-white); color: var(--b-black); }
|
|
.xbr-plates .g { background: var(--b-ink2); color: var(--b-white); }
|
|
html:not(.light) .xbr-plates .g { background: #525252; } /* the Gray plate keeps its grey (Gray 600) on the black panel */
|
|
@media (hover: hover) { .xbr-dl:hover .xbr-plates span:nth-child(1) { transform: translateY(-6px) rotate(-3deg); } .xbr-dl:hover .xbr-plates span:nth-child(3) { transform: translateY(-6px) rotate(3deg); } }
|
|
.xbr-dl-a { display: inline-flex; align-items: center; gap: 16px; align-self: flex-start; min-height: 60px; margin-left: -6px; padding: 6px 24px 6px 6px; border-radius: 999px; font-size: 19px; font-weight: 497; color: var(--b-dk-ink); text-decoration: none; transition: background-color var(--d-fast) var(--e-out); }
|
|
@media (hover: hover) { .xbr-dl-a:hover { background: var(--b-dk-raised); } }
|
|
.xbr-dl-i { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--b-dk-ink); color: var(--b-black); transition: transform 500ms var(--b-out); }
|
|
.xbr-dl-a:active .xbr-dl-i { transform: scale(.94); }
|
|
@media (hover: hover) { .xbr-dl-a:hover .xbr-dl-i { transform: translateY(4px); } .xbr-dl-a:hover { text-decoration: underline; text-underline-offset: 6px; } }
|
|
.xbr-help { grid-column: 8 / 13; align-self: start; display: flex; flex-direction: column; gap: 20px; padding: clamp(32px, 4vw, 56px) 0 0; } /* level with the card's headline, no empty top */
|
|
.xbr-help-a { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
|
|
.xbr-mail { font: 500 16px/1 var(--mono); color: var(--b-ink); padding: 14px 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-underline-offset 150ms; }
|
|
@media (hover: hover) { .xbr-mail:hover { text-underline-offset: 8px; text-decoration-thickness: 2px; } }
|
|
.xbr-cp { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--b-line); background: var(--x-raised); color: var(--b-ink); cursor: pointer; transition: background-color 150ms; }
|
|
@media (hover: hover) { .xbr-cp:hover { background: var(--b-raised); } }
|
|
|
|
@media (max-width: 900px) {
|
|
.xbr-hero { padding: 84px 0 0; min-height: 0; display: flex; flex-direction: column; }
|
|
.xbr-hero-g { order: 1; }
|
|
.xbr-dr { order: 2; }
|
|
.xbr-hero-c { gap: 24px; }
|
|
.xbr-dr { position: relative; width: 100%; height: 300px; margin-top: -8px; -webkit-mask-image: linear-gradient(180deg, transparent, var(--b-black) 18%, var(--b-black) 82%, transparent); mask-image: linear-gradient(180deg, transparent, var(--b-black) 18%, var(--b-black) 82%, transparent); }
|
|
.xbr-dr svg { width: 260px; margin: 0; } /* the mark builds inside the first phone screen */
|
|
.xbr-pause { right: 20px; bottom: 20px; }
|
|
.xbr-pr { padding-top: 72px; }
|
|
.xbr-pr-row, .xbr-pr-row.r1 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
|
|
.xbr-pr-row.r1 .xbr-pr-w { order: 0; }
|
|
.xbr-pr-v { height: 280px; }
|
|
.xbr-num-n b { font-size: 140px; }
|
|
.xbr-col-h { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 64px; }
|
|
.xbr .xbr-col .xbr-sub { margin: 56px 0 16px; }
|
|
.xbr-brand { grid-template-columns: minmax(0, 1fr); gap: 12px; }
|
|
.xbr-sw.big { min-height: 200px; padding: 24px; }
|
|
.xbr-grays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.xbr-sw { min-height: 150px; }
|
|
.xbr-ok { width: 44px; height: 44px; }
|
|
.xbr-reads { margin-top: 56px; padding: 20px; }
|
|
.xbr-reads ul { grid-template-columns: minmax(0, 1fr); }
|
|
.xbr-grads { grid-template-columns: minmax(0, 1fr); }
|
|
.xbr-grad span { height: 140px; }
|
|
.xbr-type-h { position: static; }
|
|
.xbr-type-g { row-gap: 40px; }
|
|
.xbr-spec-a { font-size: 180px; }
|
|
.xbr-scale li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
|
|
.xbr-sc-d { font-size: 15px; }
|
|
.xbr-comp-h { margin-bottom: 40px; }
|
|
.xbr-bench.b, .xbr-bench.c { margin-top: 16px; grid-row: auto; }
|
|
.xbr-dl { gap: 32px; }
|
|
.xbr-plates span { width: 84px; }
|
|
.xbr-help { margin-top: 48px; }
|
|
}
|
|
@media (max-width: 360px) {
|
|
.xbr-dl .vc-headline { font-size: 30px; }
|
|
.xbr-seg button { padding: 0 12px; font-size: 14px; }
|
|
.xbr-reads li { padding: 14px; gap: 12px; }
|
|
.xbr-reads-s { font-size: 36px; }
|
|
.xbr-plates span { width: 72px; }
|
|
}
|
|
.xbr-kick { margin-top: -18px; }
|