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
324 lines
29 KiB
CSS
324 lines
29 KiB
CSS
/* /press (prefix xpe-). Hanzo deck only: ink #0a0a0a, grey #525252, quiet #737373, #f5f5f5 / #ededed surfaces, black and
|
|
white alpha steps; colour only from Hanzo's own pictures. Page tokens use their own names (--xi, --xs, --xm, --xr, --xk)
|
|
so deck.css's --ink2 / --muted keep their meaning inside .vc. */
|
|
.xpe { --xi: light-dark(#0a0a0a, var(--foreground)); --xs: light-dark(#525252, var(--text-secondary)); --xm: light-dark(#737373, var(--muted-foreground)); --xr: light-dark(#f5f5f5, var(--surface-card)); --xk: light-dark(#ededed, var(--secondary)); overflow-x: clip; color: var(--xi); }
|
|
/* dark mode: deck.css pins its own greys on .vc; here they keep their exact light values and take Hanzo's dark ones */
|
|
.vc.xpe { --ink: light-dark(#0a0a0a, var(--foreground)); --ink2: light-dark(#525252, var(--text-secondary)); --muted: light-dark(#737373, var(--muted-foreground)); --quiet: light-dark(#f5f5f5, var(--surface-card)); --card: light-dark(#f2f2f2, var(--surface-card)); --tile: light-dark(#ededed, var(--secondary)); --line: light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
/* inside .vc, deck.css owns the names --muted and --card (text greys), so Hanzo's muted fill is read as --surface-card here */
|
|
/* partner logos are dark marks drawn on light: in dark they are inverted to light marks on the page, as Hanzo's dark does with its logo walls */
|
|
html:not(.light) .xpe-p-img img { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
|
|
/* black in both modes: the dark-background plate and the news card keep their black, with Hanzo's hairline so they don't melt into the dark page */
|
|
html:not(.light) .xpe-kitc-w.dark .xpe-kp, html:not(.light) .xpe-card { outline: 1px solid var(--border); outline-offset: -1px; }
|
|
/* the light-background logo plates show Hanzo's black marks on light grounds in both modes (that is what they are):
|
|
their grounds are literal greys below, and their format pills keep the light scheme */
|
|
.xpe-kitc-w.light .xpe-kp, .xpe-kitc-w.icon .xpe-kp { color-scheme: light; --xs: #525252; }
|
|
/* dark: the link itself carries its plate's literal ground, so the format pills read against the plate they sit on */
|
|
html:not(.light) .xpe-kitc-w.light .xpe-kp { background: #f5f5f5; }
|
|
html:not(.light) .xpe-kitc-w.icon .xpe-kp { background: #ededed; }
|
|
.xmg { color: var(--xi); caret-color: light-dark(#a3a3a3, var(--text-disabled)); } /* MagnetGrid reads its dot colours from these */
|
|
/* deck space: container 1152, gutter clamp(16px, 4vw, 32px), sections clamp(72px, 11vw, 188px) */
|
|
.xpe .vc-wrap, .xpe .vc-grid { width: min(100% - 2 * clamp(16px, 4vw, 32px), 1152px); }
|
|
.xpe .vc-sec { padding: clamp(72px, 11vw, 188px) 0; }
|
|
/* no dead white bands between the quiet sections: they join at the smaller step */
|
|
.xpe .xpe-about.vc-sec { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); }
|
|
.xpe .xpe-news.vc-sec { padding-top: clamp(48px, 6vw, 96px); }
|
|
.xpe .xpe-brand.vc-sec { padding-bottom: clamp(48px, 6vw, 96px); }
|
|
.xpe .xpe-social.vc-sec { padding-top: clamp(48px, 6vw, 96px); }
|
|
.xpe ::selection { background: #e4e4e7; }
|
|
.xpe :focus-visible { outline: 2px solid var(--xi); outline-offset: 3px; box-shadow: 0 0 0 5px #fff; }
|
|
.xpe-contact :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px #000; }
|
|
.xpe-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
|
|
.xpe-tl { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 16px/1 var(--sans); color: var(--xi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.xpe-tl i { display: inline-flex; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
|
|
@media (hover: hover) { .xpe-tl:hover i { transform: translateX(4px); } }
|
|
.xpe-tl:active { transform: scale(.97); }
|
|
.xpe-cap { margin: 14px 0 0; }
|
|
/* scale rhythm (MASTER 3.1): section heads rest at 26-32, the h1 at 52-64 beside the kit; one big thing per screen
|
|
(the kit, the facts, the news column's figure, the email, the team plates) */
|
|
.xpe .vc-headline { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.025em; }
|
|
.xpe .xpe-h1 { font-size: clamp(44px, 4.4vw, 64px); }
|
|
.xpe-nb { white-space: nowrap; }
|
|
|
|
/* the asks: one solid ink pill; every other action a quiet outline. Press .97, hover darkens. */
|
|
.xpe-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--xi); background: var(--xi); color: var(--x-on-ink); font: 500 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; 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); }
|
|
.xpe-cta.q { background: transparent; color: var(--xi); border-color: light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
@media (hover: hover) { .xpe-cta:hover { background: light-dark(#262626, var(--foreground)); border-color: light-dark(#262626, var(--foreground)); } .xpe-cta.q:hover { background: var(--xr); border-color: light-dark(rgba(0, 0, 0, .22), var(--border-control)); } }
|
|
.xpe-cta:active { transform: scale(.97); }
|
|
|
|
/* copy controls are icons with an accessible name (no new visible words) */
|
|
.xpe-copy { display: inline-flex; }
|
|
.xpe-icon { transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1), transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.xpe-icon:active { transform: scale(.97); }
|
|
.xpe-icon { width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
|
|
.xpe-icon .x-copy-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
.xpe-icon.dk { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fafafa; }
|
|
@media (hover: hover) { .xpe-icon:not(.dk):hover { background: var(--xi); border-color: var(--xi); color: var(--x-on-ink); } .xpe-icon.dk:hover { background: rgba(255, 255, 255, .1); color: #fff; } }
|
|
|
|
/* 1. hero: headline and asks beside the signature (the magnet grid), riding in on one conveyor */
|
|
.xpe-hero { padding: clamp(112px, 17svh, 160px) 0 clamp(48px, 6vw, 96px); overflow-x: clip; }
|
|
.xpe-hero-g { position: relative; align-items: center; row-gap: 40px; }
|
|
.xpe-hero-g > .xen-cv-i:nth-child(1) { grid-column: 1 / 7; }
|
|
.xpe-hero-g > .xen-cv-i:nth-child(2) { grid-column: 7 / 13; }
|
|
.xpe-hero-c { display: flex; flex-direction: column; gap: 32px; }
|
|
.xpe-hero-f { display: flex; flex-direction: column; gap: 28px; }
|
|
.xpe-hero-f .vc-lede { max-width: 34ch; }
|
|
/* the belt: a dashed hairline that runs under the pieces while they ride, then fades */
|
|
.xen-belt { position: absolute; left: 0; right: 0; bottom: -24px; height: 1px; background: repeating-linear-gradient(90deg, light-dark(rgba(0, 0, 0, .22), var(--border-control)) 0 10px, transparent 10px 20px); background-size: 20px 1px; animation: xen-belt .4s linear infinite; pointer-events: none; }
|
|
@keyframes xen-belt { to { background-position: -20px 0; } }
|
|
/* the signature field: the quiet tile the dots sit on */
|
|
.xmg { position: relative; aspect-ratio: 6 / 5; border-radius: 24px; background: var(--xr); overflow: hidden; touch-action: pan-y; cursor: crosshair; }
|
|
.xmg-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
|
|
.xmg-fb { position: absolute; inset: 0; display: grid; place-items: center; color: #0a0a0a; }
|
|
|
|
/* 2. the kit: three plates in a row, pulled back from a close-up of the dark plate */
|
|
.xpe-kit { padding: clamp(24px, 3vw, 48px) 0 clamp(48px, 6vw, 96px); }
|
|
.xen-pb { overflow: hidden; border-radius: 24px; }
|
|
/* the clip's rounded corner must not bite the zip line at its foot: room below it, given back to the section */
|
|
.xpe-kit .xen-pb { padding-bottom: 24px; margin-bottom: -24px; }
|
|
.xpe-kit-g > .xen { grid-column: 1 / -1; display: grid; row-gap: 32px; }
|
|
/* plates share one baseline and their titles one top line (a subgrid row each), whatever a title's length */
|
|
.xpe-plates { position: relative; grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); grid-auto-rows: auto; column-gap: 24px; }
|
|
.xpe-kitc-w { position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 16px; }
|
|
.xpe-kitc-w > .xpe-kp { align-self: end; }
|
|
.xpe-kitc-w > .xpe-kitc-t { align-self: start; }
|
|
.xpe-kp { position: relative; display: block; aspect-ratio: 4 / 3.2; border-radius: 24px; overflow: hidden; text-decoration: none; transform-origin: 50% 50%; transition: box-shadow .15s cubic-bezier(0, 0, .2, 1); }
|
|
.xpe-plate { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 100%; color: #fff; background: #0a0a0a; font-size: 22px; }
|
|
.xpe-plate b { font-size: 1.6em; font-weight: 497; letter-spacing: -.035em; }
|
|
/* idle: a soft sheen crosses the dark plate three times after arrival, then rests (finite, so no pause control) */
|
|
.xpe-kitc-w.dark .xpe-plate { position: relative; overflow: hidden; }
|
|
.xpe-kitc-w.dark .xpe-plate::after { content: ''; position: absolute; inset: -20% auto -20% 0; width: 40%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .1), rgba(255, 255, 255, 0)); transform: translateX(-120%) skewX(-12deg); animation: xpe-sheen 4.8s cubic-bezier(.4, 0, .2, 1) .9s 3 both; pointer-events: none; }
|
|
@keyframes xpe-sheen { 0% { transform: translateX(-120%) skewX(-12deg); } 90%, 100% { transform: translateX(320%) skewX(-12deg); } }
|
|
.xpe-plate.light { background: #f5f5f5; color: #0a0a0a; }
|
|
.xpe-plate.icon { background: #ededed; color: #0a0a0a; }
|
|
.xpe-kitc-w.dark .xpe-plate { font-size: 30px; }
|
|
.xpe-fmt { position: absolute; top: 16px; right: 16px; display: flex; gap: 6px; }
|
|
.xpe-fmt i { font: 606 12px/1 var(--mono); letter-spacing: .14em; font-style: normal; padding: 7px 10px; border-radius: 999px; background: light-dark(rgba(0, 0, 0, .06), var(--glass)); color: var(--xs); transition: background-color .15s, color .15s; }
|
|
.xpe-kitc-w.dark .xpe-fmt i { background: rgba(255, 255, 255, .14); color: #fafafa; }
|
|
.xpe-plate { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
|
|
.xpe-kp:active .xpe-plate { transform: scale(.97); }
|
|
@media (hover: hover) { .xpe-kp:hover .xpe-plate { transform: scale(1.04); } .xpe-kp:hover .xpe-fmt i { background: #0a0a0a; color: #fff; } .xpe-kitc-w.dark .xpe-kp:hover .xpe-fmt i { background: #fff; color: #0a0a0a; } }
|
|
.xpe-kitc-t { display: flex; flex-direction: column; gap: 6px; }
|
|
.xpe-kitc-t span { font-size: 16px; line-height: 1.45; color: var(--xs); }
|
|
.xpe-zip { grid-column: 1 / -1; margin: 0; display: flex; gap: 18px; font: 606 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--xm); }
|
|
.xpe-zip span:first-child { color: var(--xi); text-transform: none; letter-spacing: 0; font-size: 13px; }
|
|
|
|
/* 2. about: the belief line read word by word, the facts settling once */
|
|
.xpe-about-g { row-gap: 64px; }
|
|
.xpe-about-g { transform-origin: 50% 50%; }
|
|
.xpe-about-h { grid-column: 1 / 5; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
|
|
.xpe-boiler { grid-column: 5 / 13; margin: 0; font-size: 21px; line-height: 1.45; letter-spacing: -.02em; font-weight: 497; color: var(--xi); text-wrap: pretty; }
|
|
.xpe-facts { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
.xpe-facts > div { display: flex; flex-direction: column; gap: 14px; padding: 40px 24px 40px 0; border-bottom: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
.xpe-facts > div:nth-child(even) { padding-left: 24px; border-left: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
.xpe-facts dd { margin: 0; font-size: 32px; font-weight: 220; letter-spacing: -.03em; line-height: 1.02; color: var(--xi); font-variant-numeric: tabular-nums; }
|
|
/* one figure is the moment (the founding year); the other three sit at the medium step */
|
|
.xpe-facts .big dd { font-size: clamp(44px, 5.3vw, 64px); }
|
|
.xpe-fig { overflow: hidden; padding-bottom: .08em; }
|
|
.xpe-fig span { display: block; transform: translateY(105%); transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
|
|
.xpe-fig.in span { transform: none; }
|
|
|
|
/* 3. the news index */
|
|
.xpe-news-g { align-items: end; row-gap: 24px; }
|
|
.xpe-news-g .vc-headline { grid-column: 1 / 8; }
|
|
.xpe-news-l { grid-column: 9 / 13; }
|
|
.xpe-news-w { position: relative; margin-top: clamp(48px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(32px, 4vw, 64px); align-items: start; }
|
|
.xpe-feed { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
.xpe-feed li { border-top: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); transition: opacity .3s cubic-bezier(0, 0, .2, 1); }
|
|
.xpe-feed li:not(.on) .xpe-tt { color: light-dark(#737373, var(--muted-foreground)); }
|
|
.xpe-feed.pointing li:not(.on) { opacity: .5; }
|
|
.xpe-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) 32px; column-gap: 20px; row-gap: 12px; align-items: baseline; padding: 30px 0; color: var(--xi); text-decoration: none; transition: transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.xpe-item:active { transform: scale(.98); }
|
|
@media (hover: hover) { .xpe-item:hover .xpe-tt { color: var(--xi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; } .xpe-item:hover .xpe-go { color: var(--xi); transform: translateX(6px); } }
|
|
.xpe-no { font: 606 12px/1 var(--mono); letter-spacing: .14em; color: var(--xm); }
|
|
.xpe-tt { grid-column: 2; font-size: clamp(24px, 2.6vw, 32px); font-weight: 497; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; max-width: 24ch; transition: color .3s cubic-bezier(0, 0, .2, 1); }
|
|
.xpe-ts { grid-column: 2; grid-row: 2; font: 500 13px/1.4 var(--mono); color: var(--xs); }
|
|
.xpe-ts2 { display: none; grid-column: 2; font-size: 16px; line-height: 1.5; color: var(--xs); max-width: 60ch; }
|
|
.xpe-go { grid-column: 3; grid-row: 1; justify-self: end; color: var(--xm); transition: color .15s cubic-bezier(0, 0, .2, 1), transform .3s cubic-bezier(.16, 1, .3, 1); }
|
|
.xpe-feed li.on .xpe-go { color: var(--xi); transform: translateX(6px); }
|
|
.xpe-card { position: sticky; top: calc(50svh - 150px); min-height: 300px; padding: 28px; border-radius: 24px; background: #0a0a0a; color: #fafafa; display: flex; flex-direction: column; gap: 16px; }
|
|
.xpe-pause { top: 16px; right: 16px; }
|
|
.xpe-card-n { align-self: flex-start; font: 500 13px/1 var(--mono); color: #a3a3a3; }
|
|
.xpe-card-n b { font: 220 64px/1 var(--sans); letter-spacing: -.03em; color: #fafafa; margin-right: 6px; font-variant-numeric: tabular-nums; }
|
|
.xpe-card-bar { display: block; height: 1px; background: rgba(255, 255, 255, .14); overflow: hidden; }
|
|
.xpe-card-bar i { display: block; height: 100%; background: #fafafa; transform-origin: 0 50%; transition: transform .4s cubic-bezier(.4, 0, .2, 1); }
|
|
.xpe-card-b { display: flex; flex-direction: column; gap: 16px; }
|
|
/* every story sits in one cell; the invisible copies hold the tallest height, so the card never resizes */
|
|
.xpe-card-st { display: grid; }
|
|
.xpe-card-st > * { grid-area: 1 / 1; }
|
|
.xpe-card-z { visibility: hidden; }
|
|
.xpe-card .vc-kick { color: #a3a3a3; }
|
|
.xpe-card-s { font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
|
|
/* touch screens of any width, and phones: every summary sits under its headline; no pointer card */
|
|
.xpe-card-tt { display: none; font-size: 21px; font-weight: 497; letter-spacing: -.02em; line-height: 1.2; color: #fafafa; }
|
|
/* touch screens and phones: titles and dates only; one dark card under the list walks the six stories once */
|
|
@media (hover: none) { .xpe-news-w { grid-template-columns: minmax(0, 1fr); row-gap: 24px; } .xpe-card { position: relative; top: auto; min-height: 0; } .xpe-feed.pointing li:not(.on) { opacity: 1; } .xpe-feed li:not(.on) .xpe-tt { color: inherit; } }
|
|
|
|
/* 4. press contact: the one black room. The email cuts in by line mask, its copy button beside it, its label under it */
|
|
.xpe-contact { position: relative; overflow: hidden; background: #000; color: #fafafa; padding: clamp(120px, 15vw, 188px) 0; }
|
|
.xpe-contact-g { position: relative; row-gap: 56px; align-items: end; }
|
|
.xpe-contact-g > .xen-sd:nth-child(1) { grid-column: 1 / -1; }
|
|
.xpe-contact-g > .xen-sd:nth-child(2) { grid-column: 1 / 9; }
|
|
.xpe-contact-g > .xen-sd:nth-child(3) { grid-column: 9 / 13; }
|
|
.xpe-contact-h { display: flex; flex-direction: column; gap: 18px; }
|
|
.xpe-contact .vc-headline { color: #fafafa; }
|
|
.xpe-contact .vc-lede { color: rgba(255, 255, 255, .78); }
|
|
.xpe-contact .vc-kick { color: #a3a3a3; margin: 0; }
|
|
.xpe-contact-m { grid-column: 1 / 9; display: flex; flex-direction: column; gap: 16px; }
|
|
.xpe-mail-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px 24px; }
|
|
.xpe-mail-row .xpe-copy-w { flex: 0 0 48px; }
|
|
.xpe-mail { display: inline-block; overflow: hidden; padding-bottom: .1em; min-height: 44px; font-size: clamp(40px, 6.6vw, 84px); font-weight: 497; letter-spacing: -.035em; line-height: 1.02; color: #fafafa; text-decoration: none; text-decoration-thickness: 3px; text-underline-offset: 12px; }
|
|
.xpe-mail-i { display: block; transform: translateY(105%); transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
|
|
.xpe-mail-i.in { transform: none; }
|
|
/* time: the address types itself in; the untyped rest holds its width, so nothing shifts; copy waits for the last letter */
|
|
.xpe-mail-i { position: relative; }
|
|
.xpe-sizer { display: block; visibility: hidden; white-space: nowrap; }
|
|
.xpe-typed { position: absolute; left: 0; top: 0; white-space: nowrap; text-decoration-thickness: 3px; text-underline-offset: 12px; }
|
|
@media (hover: hover) { .xpe-mail:hover .xpe-typed { text-decoration-line: underline; } }
|
|
.xpe-caret { position: relative; display: inline-block; width: 0; height: .78em; vertical-align: -.04em; }
|
|
.xpe-caret::after { content: ''; position: absolute; left: 4px; top: 0; width: 3px; height: 100%; background: #fafafa; animation: xpe-blink 1s steps(1) infinite; }
|
|
@keyframes xpe-blink { 50% { opacity: 0; } }
|
|
.xpe-copy-w { display: inline-flex; opacity: 0; transform: translateX(-8px); pointer-events: none; transition: opacity .3s cubic-bezier(0, 0, .2, 1), transform .3s cubic-bezier(.16, 1, .3, 1); }
|
|
.xpe-copy-w.in { opacity: 1; transform: none; pointer-events: auto; }
|
|
@media (hover: hover) { .xpe-mail:hover { text-decoration-line: underline; } }
|
|
.xpe-mail:active { transform: scale(.98); }
|
|
.xpe-mail { transition: transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.xpe-tel { margin: 8px 0 0; font: 500 17px/1 var(--mono); color: rgba(255, 255, 255, .78); }
|
|
.xpe-contact-a { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 14px; }
|
|
.xpe-contact-a address { font-style: normal; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
|
|
|
|
/* 5. brand assets; the partners as one still greyscale row */
|
|
.xpe-brand-g { row-gap: 40px; align-items: end; }
|
|
.xpe-brand-h { grid-column: 1 / 7; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
|
|
.xpe-guide { grid-column: 8 / 13; display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 24px; padding: 16px; border-radius: 24px; background: var(--xr); color: var(--xi); text-decoration: none; transition: background-color .15s cubic-bezier(0, 0, .2, 1), transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.xpe-guide-p { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: #0a0a0a; color: #fff; }
|
|
.xpe-guide-p svg { clip-path: inset(100% 0 0 0); transition: clip-path .9s cubic-bezier(.16, 1, .3, 1) .2s; }
|
|
.xpe-guide-p.in svg { clip-path: inset(0); }
|
|
.xpe-guide-t { display: flex; flex-direction: column; gap: 8px; }
|
|
.xpe-guide-n { font-weight: 497; font-size: 26px; letter-spacing: -.02em; }
|
|
.xpe-guide-t .xpe-guide-l { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--xs); }
|
|
.xpe-guide-t i { display: inline-flex; }
|
|
@media (hover: hover) { .xpe-guide:hover { background: var(--xk); } .xpe-guide:hover .xpe-guide-t .xpe-guide-l { color: var(--xi); text-decoration: underline; text-underline-offset: 3px; } }
|
|
.xpe-guide:active { transform: scale(.97); }
|
|
.xpe-h3 { grid-column: 1 / -1; margin-top: 48px; }
|
|
.xpe-partners { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
|
|
.xpe-partners li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 20px 12px; }
|
|
/* time: the hairlines draw in one by one (900 ms each, 160 ms apart), each row's mark settling with its line */
|
|
.xpe-partners li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: light-dark(rgba(0, 0, 0, .1), var(--border)); transform: scaleY(0); transform-origin: 50% 0; transition: transform .9s cubic-bezier(.4, 0, .2, 1); }
|
|
.xpe-partners li.in::before { transform: none; }
|
|
.xpe-p-img { transition: transform .5s cubic-bezier(.16, 1, .3, 1); transform: scale(.7); }
|
|
.xpe-partners li.in .xpe-p-img { transform: none; }
|
|
.xpe-p-img { display: flex; align-items: center; justify-content: flex-start; height: 48px; }
|
|
.xpe-p-img img { display: block; height: 24px; width: auto; max-width: 120px; object-fit: contain; object-position: left center; filter: grayscale(1); }
|
|
.xpe-p-alt { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); font: 497 17px/1 var(--sans); color: var(--xi); transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1); }
|
|
.xpe-partners .xpe-p-n { font-weight: 497; font-size: 21px; letter-spacing: -.02em; }
|
|
.xpe-partners a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); font: 500 13px/1 var(--mono); color: var(--xs); text-decoration: none; transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1), transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
@media (hover: hover) { .xpe-partners a:hover { color: var(--x-on-ink); background: var(--xi); border-color: var(--xi); } .xpe-partners li:hover .xpe-p-alt { background: var(--xi); color: var(--x-on-ink); } }
|
|
.xpe-partners a:active { transform: scale(.97); }
|
|
|
|
/* 6. channels: a hairline list */
|
|
.xpe-soc-g { row-gap: 40px; align-items: start; }
|
|
.xpe-soc-h { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 18px; }
|
|
.xpe-soc { grid-column: 5 / 13; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
.xpe-soc li { border-top: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
.xpe-soc a { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 24px; align-items: baseline; column-gap: 20px; padding: 16px 12px; margin: 0 -12px; border-radius: 12px; color: var(--xi); text-decoration: none; transition: background-color .15s cubic-bezier(0, 0, .2, 1), transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.xpe-soc a:active { transform: scale(.98); }
|
|
.xpe-soc li.lit a { background: var(--xr); }
|
|
.xpe-soc li.lit b { transform: translateX(8px); }
|
|
.xpe-soc li.lit i { color: var(--xi); transform: translate(3px, -3px); }
|
|
.xpe-soc li.lit .xpe-soc-n { color: var(--xi); }
|
|
/* the walked (or pointed) channel's handle, set large beside the index: the section's one object */
|
|
.xpe-soc-big { margin-top: 40px; padding-top: 24px; border-top: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
.xpe-soc-st { display: grid; }
|
|
.xpe-soc-st > * { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; }
|
|
.xpe-soc-z { visibility: hidden; }
|
|
.xpe-soc-big b { font: 220 clamp(28px, 3.2vw, 44px)/1.05 var(--sans); letter-spacing: -.03em; color: var(--xi); overflow-wrap: anywhere; }
|
|
.xpe-soc-big span span, .xpe-soc-st > * > span { font: 500 13px/1.3 var(--mono); color: var(--xs); }
|
|
.xpe-soc-big i { font-style: normal; color: var(--xm); margin-right: 8px; }
|
|
.xpe-soc-n { transition: color .15s cubic-bezier(0, 0, .2, 1); font: 606 12px/1 var(--mono); letter-spacing: .14em; color: var(--xm); }
|
|
.xpe-soc b { font-weight: 497; font-size: 26px; letter-spacing: -.025em; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
|
|
.xpe-soc span:not(.xpe-soc-n) { font: 500 13px/1.3 var(--mono); color: var(--xs); white-space: nowrap; }
|
|
.xpe-soc i { align-self: center; display: inline-flex; color: var(--xm); transition: color .15s cubic-bezier(0, 0, .2, 1), transform .3s cubic-bezier(.16, 1, .3, 1); }
|
|
@media (hover: hover) { .xpe-soc a:hover { background: var(--xr); } .xpe-soc a:hover b { transform: translateX(8px); } .xpe-soc a:hover i { color: var(--xi); transform: translate(3px, -3px); } .xpe-soc a:hover span:not(.xpe-soc-n) { color: var(--xi); } }
|
|
|
|
/* 7. leadership, with the leaders' portraits (a Sigil plate under each until the picture loads) */
|
|
.xpe-team { background: var(--xr); padding: clamp(96px, 12vw, 188px) 0; }
|
|
.xpe-team-g { row-gap: 48px; align-items: center; }
|
|
.xpe-team-c { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 28px; }
|
|
.xpe-faces { grid-column: 8 / 13; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
|
|
.xpe-faces li { display: flex; flex-direction: column; gap: 16px; }
|
|
.xpe-faces li.f1 { transform: translateY(48px); }
|
|
.xpe-face { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #0a0a0a; clip-path: inset(100% 0 0 0 round 24px); transition: clip-path .9s cubic-bezier(.16, 1, .3, 1); }
|
|
.xpe-faces li.in .xpe-face { clip-path: inset(0 round 24px); }
|
|
.xpe-faces img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; }
|
|
.xpe-face-f { position: absolute; inset: 0; color: rgba(255, 255, 255, .3); }
|
|
.xpe-face-f canvas { width: 100%; height: 100%; display: block; }
|
|
.xpe-face-i { position: absolute; left: 20px; bottom: 16px; font: 220 64px/1 var(--sans); letter-spacing: -.03em; color: #fafafa; }
|
|
.xpe-face-t { display: flex; flex-direction: column; gap: 6px; }
|
|
.xpe-face-n { margin: 0; font-weight: 497; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
|
|
.xpe-face-t > span { font: 606 12px/1 var(--mono); letter-spacing: .14em; color: var(--xs); }
|
|
|
|
@media (max-width: 899px) {
|
|
.xpe-hero { padding-top: 96px; }
|
|
.xpe-hero-g > .xen-cv-i:nth-child(1), .xpe-hero-g > .xen-cv-i:nth-child(2) { grid-column: 1 / -1; }
|
|
.xmg { aspect-ratio: 4 / 3; }
|
|
.xpe-contact-g > .xen-sd:nth-child(n) { grid-column: 1 / -1; }
|
|
.xpe-hero-c, .xpe-hero-f { gap: 22px; }
|
|
.xpe-plates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
|
|
.xpe-kitc-w.dark { grid-column: 1 / -1; }
|
|
.xpe-kitc-w.dark .xpe-plate { font-size: 24px; }
|
|
.xpe-plate { font-size: 16px; }
|
|
.xpe-kp { border-radius: 20px; box-shadow: none; aspect-ratio: auto; display: flex; flex-direction: column; }
|
|
.xpe-fmt { position: static; flex-wrap: wrap; justify-content: flex-end; padding: 12px 12px 0; }
|
|
.xpe-fmt i { padding: 6px 8px; letter-spacing: .1em; }
|
|
.xpe-plate { height: 120px; }
|
|
.xpe-kitc-w.dark .xpe-plate { height: 168px; }
|
|
.xpe-plate.icon svg { width: 64px; height: 64px; }
|
|
.xpe-kitc-w.dark .xpe-kp { background: #0a0a0a; }
|
|
.xpe-kitc-w.light .xpe-kp { background: #f5f5f5; }
|
|
.xpe-kitc-w.icon .xpe-kp { background: #ededed; }
|
|
.xpe-plate.light { background: #f5f5f5; }
|
|
.xpe-zip { margin-top: -8px; }
|
|
.xpe-about-h { margin-bottom: 8px; }
|
|
.xpe-boiler { font-size: 19px; }
|
|
.xpe-facts dd { font-size: 24px; }
|
|
.xpe-facts .big dd { font-size: 44px; }
|
|
.xpe-facts > div { padding: 24px 12px 24px 0; }
|
|
.xpe-facts > div:nth-child(even) { padding-left: 16px; }
|
|
.xpe-news-w { grid-template-columns: minmax(0, 1fr); }
|
|
.xpe-item { grid-template-columns: 40px minmax(0, 1fr); row-gap: 12px; padding: 28px 0; }
|
|
.xpe-no { grid-row: 1; }
|
|
.xpe-tt { grid-column: 2; grid-row: 1; font-size: 26px; max-width: none; }
|
|
.xpe-ts { grid-column: 2; grid-row: 2; }
|
|
.xpe-ts2 { grid-column: 2; font-size: 16px; margin-top: 0; }
|
|
.xpe-feed li:not(.on) .xpe-tt { color: inherit; }
|
|
.xpe-go { display: none; }
|
|
.xpe-news-w { row-gap: 24px; }
|
|
.xpe-card { position: relative; top: auto; min-height: 0; padding: 24px; }
|
|
.xpe-card-n b { font-size: 44px; }
|
|
.xpe-feed.pointing li:not(.on) { opacity: 1; }
|
|
.xpe-mail { font-size: clamp(26px, 8.6vw, 48px); }
|
|
.xpe-mail-row { gap: 12px; }
|
|
.xpe-guide { grid-template-columns: 96px minmax(0, 1fr); }
|
|
.xpe-partners { grid-template-columns: minmax(0, 1fr); }
|
|
.xpe-partners li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 0; }
|
|
.xpe-p-img img { height: 20px; max-width: 76px; }
|
|
.xpe-partners li::before { right: 0; bottom: auto; width: auto; height: 1px; transform: scaleX(0); transform-origin: 0 50%; }
|
|
.xpe-p-img { justify-content: center; }
|
|
.xpe-partners .xpe-p-n { font-size: 17px; }
|
|
.xpe-soc { grid-column: 1 / -1; }
|
|
.xpe-soc a { grid-template-columns: 32px minmax(0, 1fr) 20px; row-gap: 4px; }
|
|
.xpe-soc b { font-size: 21px; }
|
|
.xpe-soc span:not(.xpe-soc-n) { grid-column: 2; grid-row: 2; }
|
|
.xpe-soc i { grid-column: 3; grid-row: 1 / 3; }
|
|
.xpe-faces { grid-column: 1 / -1; }
|
|
.xpe-face-n { font-size: 21px; }
|
|
.xpe-faces li.f1 { transform: translateY(32px); }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.xen-belt { display: none; }
|
|
.xpe-fig span, .xpe-mail-i { transform: none; transition: none; }
|
|
.xpe-kitc-w.dark .xpe-plate::after { animation: none; display: none; }
|
|
.xpe-caret { display: none; }
|
|
.xpe-partners li::before, .xpe-p-img, .xpe-guide-p svg, .xpe-face, .xpe-copy-w { transition: none; }
|
|
}
|