Files

459 lines
40 KiB
CSS

/* /models (xmo-), 8 Nov, on the approved home page's vocabulary (components/home/wow.css): every section reads in one
frame at 1470 x 801 (heading and content inside one screen once centred; on a phone the heading and the first row show
together). Split headings (title left, lede right, a hairline that draws itself), a lit corner and a drifting 12px
halftone per section, lifted stages with long soft shadows (a 1px ring in dark), one dark room that opens like a
curtain. White and ink, the neutral ramp only; colour arrives only through Hanzo's model films.
Motion: CSS-only and scroll-driven where the browser supports it, guarded by prefers-reduced-motion. */
.xmo {
--ink: #0a0a0a; --body: #525252; --quiet: #737373; --line: rgba(0, 0, 0, .1); --room: #f5f5f5; --track: #d4d4d4;
--emph: cubic-bezier(.16, 1, .3, 1); --io: cubic-bezier(.4, 0, .2, 1); --out: cubic-bezier(0, 0, .2, 1);
--gut: clamp(16px, 4vw, 32px); --top: 60px;
--fr: min(680px, calc(100svh - 128px));
--lift: 0 0 0 1px var(--line), 0 40px 80px -60px rgba(0, 0, 0, .45);
background: var(--bg); color: var(--ink); overflow-x: clip;
}
/* dark mode: the page's own palette points at Hanzo's tokens (@hanzo/design), under Hanzo's :not(.light) */
html:not(.light) .xmo { --ink: var(--foreground); --body: var(--muted-foreground); --quiet: var(--text-tertiary); --line: var(--border); --room: var(--muted); --track: var(--secondary); --lift: 0 0 0 1px var(--border), 0 40px 80px -50px rgba(0, 0, 0, .9); }
.xmo .x-wrap { width: min(100% - 2 * var(--gut), 1200px); }
.xmo-display { margin: 0; font-size: clamp(40px, 3.6vw, 52px); font-weight: 497; line-height: 1.05; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.xmo-display .x-line { padding: .02em 0 .08em; }
.xmo-lede { margin: 0; max-width: 44ch; font-size: clamp(17px, 1.46vw, 21px); line-height: 1.45; color: var(--body); text-wrap: pretty; }
.xmo-lede.sm { margin-top: 14px; font-size: 17px; }
.xmo-body { margin: 12px 0 0; max-width: 62ch; font-size: 15px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.xmo-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10.5px 17px; margin-top: 24px; }
.xmo-lk { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 15px/1.3 var(--sans); color: var(--ink); text-decoration: none; transition: transform .09s var(--out); }
.xmo-lk span { text-decoration: underline 1px transparent; text-underline-offset: 3px; transition: text-decoration-color .15s var(--out); }
@media (hover: hover) { .xmo-lk:hover span { text-decoration-color: currentColor; } }
.xmo-lk:active { transform: scale(.97); }
.xmo :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.xmo-fam :focus-visible, .xmo-req :focus-visible, .xmo-code :focus-visible { outline-color: #fafafa; }
/* Hanzo's eyebrow words live under their heading as a caption (never above one) */
.xmo-tag { margin: 10px 0 0; font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
/* films: the poster at once, the clip over it while it plays; never dimmed */
.xmo-film { position: absolute; inset: 0; display: block; overflow: hidden; background: #000; }
.xmo-film video { transition: transform .5s var(--io); }
/* ---------- every section: a frame, not a scroll ---------- */
.xmo > section { position: relative; isolation: isolate; padding-block: clamp(44px, 6svh, 80px); }
/* the 12px halftone, masked to a corner, and the lit corner (ink at 6%); each section places its own */
.xmo > section::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
background: radial-gradient(circle, color-mix(in srgb, var(--ink) 15%, transparent) 1px, transparent 1.5px) 0 0 / 12px 12px;
-webkit-mask-image: radial-gradient(40% 55% at var(--hx, 100%) var(--hy, 0%), #000, transparent 72%); mask-image: radial-gradient(40% 55% at var(--hx, 100%) var(--hy, 0%), #000, transparent 72%); opacity: .9; }
.xmo > section::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
background: radial-gradient(42% 46% at var(--lx, 18%) var(--ly, 0%), color-mix(in srgb, var(--ink) 6%, transparent), transparent 70%); }
html:not(.light) .xmo > section::after { background: radial-gradient(42% 46% at var(--lx, 18%) var(--ly, 0%), color-mix(in srgb, var(--ink) 9%, transparent), transparent 70%); }
.xmo > .xmo-stage { --hx: 100%; --hy: 0%; --lx: 8%; }
.xmo > .xmo-cat { --hx: 0%; --hy: 100%; --lx: 85%; --ly: 10%; }
.xmo > .xmo-vs { --hx: 100%; --hy: 100%; --lx: 15%; }
.xmo > .xmo-fig { --hx: 0%; --hy: 0%; --lx: 80%; }
.xmo > .xmo-try { --hx: 100%; --hy: 50%; --lx: 0%; --ly: 50%; }
.xmo > .xmo-first { --hx: 0%; --hy: 40%; --lx: 100%; }
.xmo > .xmo-rel::before, .xmo > .xmo-rel::after { display: none; }
.xmo > .xmo-close { --hx: 100%; --hy: 100%; --lx: 30%; --ly: 100%; }
/* the split heading: title on the left, its lede on the right, sharing one baseline row */
.xmo-h { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 14px clamp(32px, 5vw, 80px); margin-bottom: clamp(18px, 3svh, 28px); }
.xmo-h2 { position: relative; margin: 0; max-width: 15ch; font-size: clamp(2.1rem, 3.55vw, 3.45rem); font-weight: 497; line-height: 1; letter-spacing: -.042em; color: var(--ink); text-wrap: balance; }
.xmo-h > .xmo-tag { justify-self: end; margin: 0 0 6px; }
.xmo-h-r { justify-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 100%; }
.xmo-h-r .xmo-tag { margin: 0; }
.xmo-h-l { margin: 0; max-width: 46ch; font-size: clamp(.98rem, 1.12vw, 1.1rem); line-height: 1.5; color: var(--body); }
/* a title beside its stage (the home page's pareto) */
.xmo-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); column-gap: clamp(28px, 3.4vw, 52px); align-items: center; }
.xmo-side .xmo-h2 { font-size: clamp(2rem, 2.9vw, 2.9rem); max-width: 12ch; }
.xmo-side-h .xmo-tag { margin-top: 14px; }
/* a lifted stage */
.xmo-lift { border-radius: 24px; background: var(--x-raised); box-shadow: var(--lift); }
@supports (animation-timeline: view()) {
@media (prefers-reduced-motion: no-preference) {
.xmo > section::before { animation: xmo-drift linear both; animation-timeline: view(); }
@keyframes xmo-drift { from { background-position: 0 60px; opacity: .2; } 45% { opacity: .9; } to { background-position: 0 -60px; opacity: .3; } }
}
}
/* ---------- 1. hero: the words, then Hanzo's model grid exactly (SPEC.md) ---------- */
.xmo > .xmo-stage { padding-block: clamp(32px, 5svh, 56px) clamp(36px, 5.5svh, 64px); }
.xmo-intro { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.xmo-intro .xmo-display { grid-column: 1 / 8; }
.xmo-intro-r { grid-column: 8 / 14; }
.xmo-grid { list-style: none; margin: clamp(24px, 4svh, 40px) 0 0; padding: 0; display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, min(220px, calc((var(--fr) - 228px) / 2))); gap: 12px; }
.xmo-cell { position: relative; min-width: 0; }
.xmo-cell.big { grid-row: span 2; }
.xmo-card { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 21px; overflow: hidden; border-radius: 20px; background: #000; color: #fff; text-decoration: none; cursor: pointer; isolation: isolate; transform-style: preserve-3d; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .5s var(--io); box-shadow: 0 30px 60px -38px rgba(0, 0, 0, .55); }
html:not(.light) .xmo-card { box-shadow: 0 0 0 1px var(--border), 0 30px 60px -38px rgba(0, 0, 0, .9); }
.xmo-card:active { transform: scale(.98) !important; }
.xmo-card .xmo-film { z-index: -1; }
.xmo-card-top { display: flex; flex-direction: column; align-items: flex-start; }
.xmo-card-t { font-size: 22px; font-weight: 500; letter-spacing: -.44px; line-height: 28px; }
.xmo-arr { display: inline-block; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .xmo-card:hover .xmo-arr { transform: translateX(4px); } }
.xmo-card-d { margin-top: 8px; max-width: 150px; font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .8); }
.xmo-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.xmo-pill { display: inline-block; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font: 400 10px/14px var(--mono); letter-spacing: .8px; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.xmo-pill.flag { margin-bottom: 22px; }
.xmo-pill.price { color: #fff; border-color: rgba(255, 255, 255, .45); letter-spacing: 0; white-space: nowrap; }
.xmo-card.big { padding: 28px; }
.xmo-card.big .xmo-card-t { font-size: 44px; letter-spacing: -.88px; line-height: 48px; }
.xmo-card.big .xmo-card-d { margin-top: 18px; max-width: 160px; font-size: 13px; line-height: 18px; }
.xmo-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.xmo-cell.lit .xmo-arr { transform: translateX(4px); }
.xmo-grid-cap { display: flex; align-items: center; justify-content: flex-end; gap: 17px; margin-top: 12px; }
.xmo-grid-cap > span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
@media (min-width: 1265px) { .xmo-grid { grid-template-columns: 385px repeat(4, minmax(0, 1fr)); } }
/* ---------- chips (the catalogue's families and the price lenses) ---------- */
.xmo-chips { display: flex; flex-wrap: wrap; gap: 2px; }
.xmo-chips button { position: relative; min-height: 38px; padding: 0 15px; border: 0; border-radius: 999px; background: transparent; color: var(--body); font: 500 14px/1 var(--sans); cursor: pointer; transition: color .15s var(--out), transform .09s var(--out); }
@media (hover: hover) { .xmo-chips button:not([aria-pressed='true']):hover { color: var(--ink); } }
.xmo-chips button:active { transform: scale(.97); }
.xmo-chips button[aria-pressed='true'] { color: var(--x-on-ink); }
.xmo-chips button > span:not(.xmo-chip-bg) { position: relative; z-index: 1; display: inline-flex; align-items: flex-start; gap: 4px; }
.xmo-chips sup { font-size: 10.5px; line-height: 1; opacity: .7; }
.xmo-chip-bg { position: absolute; inset: 0; border-radius: inherit; background: var(--ink); }
.xmo-chips.flat { padding: 3px; border-radius: 999px; background: var(--x-fill); }
.xmo-chips.flat button { min-height: 34px; padding: 0 13px; font-size: 13.5px; }
html:not(.light) .xmo-chips button[aria-pressed='true'] { background: var(--ink); }
/* ---------- 2. the catalogue: one list, every model, its price and "Use it now" ---------- */
.xmo-cat { --cols: 40px minmax(170px, 1fr) minmax(0, 1.75fr) 60px 76px 112px 116px; }
.xmo-cat .xmo-h { grid-template-columns: minmax(0, 1fr) auto; }
.xmo-cat-stage { position: relative; display: flex; flex-direction: column; height: calc(var(--fr) - 214px); min-height: 380px; overflow: hidden; }
.xmo-cat-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 14px 10px; border-bottom: 1px solid var(--line); }
.xmo-find { position: relative; display: flex; align-items: center; flex: 1 1 200px; max-width: 300px; margin-left: auto; height: 38px; padding: 0 14px; gap: 8px; border-radius: 999px; background: var(--x-fill); color: var(--quiet); transition: box-shadow .15s var(--out); }
.xmo-find:focus-within { box-shadow: 0 0 0 1.5px var(--ink); }
.xmo-find input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); font: 500 14px/1 var(--sans); outline: none; }
.xmo .xmo-find input:focus-visible { outline: none; }
.xmo-find input::placeholder { color: var(--quiet); }
.xmo-find input::-webkit-search-cancel-button { cursor: pointer; }
.xmo-n { margin: 0; min-width: 90px; text-align: right; font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--quiet); }
.xmo-n-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--ink); vertical-align: 1px; animation: xmo-ping-ink 2s var(--out) infinite; }
@keyframes xmo-ping-ink { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 35%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
.xmo-cols { display: grid; grid-template-columns: var(--cols); column-gap: 14px; align-items: center; height: 34px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); background: var(--x-sunk); }
.xmo-cols span:first-child { grid-column: 1 / 3; }
.xmo-cols span:nth-child(n + 3) { text-align: right; }
.xmo-list-box { position: relative; flex: 1; min-height: 0; }
/* the list's foot fades, so it reads as a list that goes on */
.xmo-list-box::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 36px; pointer-events: none; background: linear-gradient(transparent, var(--x-raised)); border-radius: 0 0 24px 24px; }
.xmo-list { height: 100%; margin: 0; padding: 0 0 12px; list-style: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--track) transparent; }
.xmo-list:focus-visible { outline-offset: -2px; }
.xmo-grp[hidden], .xmo-row[hidden] { display: none; }
.xmo-grp > ul { margin: 0; padding: 0; list-style: none; }
/* a family's head sticks to the top of the list while its rows pass */
.xmo-ghead { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; min-height: 48px; padding: 6px 18px; background: color-mix(in srgb, var(--x-raised) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.xmo-ghead h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.xmo-ghead .xmo-thumb { width: 26px; height: 26px; border-radius: 8px; }
.xmo-gn { font-size: 11.5px; color: var(--quiet); }
.xmo-ghead p { margin: 0; flex: 1 1 360px; font-size: 13px; line-height: 1.45; color: var(--body); }
.xmo-ghead p a { color: var(--ink); text-underline-offset: 3px; }
.xmo-ghead .xmo-lk { margin-left: auto; min-height: 36px; font-size: 13.5px; }
.xmo-row { position: relative; display: grid; grid-template-columns: var(--cols); column-gap: 14px; align-items: center; min-height: 58px; padding: 8px 18px; border-bottom: 1px solid var(--line); transition: background-color .15s var(--out); }
@media (hover: hover) { .xmo-row:hover { background: var(--x-sunk); } }
.xmo-thumb { position: relative; display: block; width: 40px; height: 40px; border-radius: 11px; overflow: hidden; background: #000 center / cover no-repeat; }
.xmo-thumb-s { position: absolute; inset: 0; width: 100%; height: 100%; color: #fafafa; opacity: .8; }
.xmo-row-m { min-width: 0; }
.xmo-row-n { color: var(--ink); text-decoration: none; }
.xmo-row-n b { font-size: 15px; font-weight: 550; letter-spacing: -.01em; }
/* the whole row opens the model's page; the price and "Use it now" sit above that link */
.xmo-row-n::after { content: ''; position: absolute; inset: 0; z-index: 0; }
@media (hover: hover) { .xmo-row:hover .xmo-row-n b { text-decoration: underline 1px; text-underline-offset: 3px; } }
.xmo-row-id { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 3px 0 0; font-size: 11.5px; line-height: 1.35; color: var(--quiet); overflow-wrap: anywhere; }
.xmo-row-d { min-width: 0; }
.xmo-row-d p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--body); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.xmo-row-tags { display: flex !important; flex-wrap: wrap; gap: 4px; margin-top: 4px !important; max-height: 19px; }
.xmo-row-tags span { padding: 1px 7px; border: 1px solid var(--line); border-radius: 999px; font: 500 10px/15px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); white-space: nowrap; }
.xmo-row-c, .xmo-row-p { margin: 0; text-align: right; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.xmo-row-c { color: var(--body); }
.xmo-row-p.out { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.xmo-bar { display: block; width: 72px; height: 3px; border-radius: 99px; background: light-dark(#ededed, var(--muted)); overflow: hidden; }
.xmo-bar b { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transition: transform .3s var(--io); }
.xmo-row-a { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.xmo .x-btn.xmo-use { height: 34px; padding: 0 14px; font-size: 13px; background: transparent; border-color: var(--x-e15); color: var(--ink); }
.xmo .x-btn.xmo-use:hover, .xmo-row:hover .x-btn.xmo-use, .xmo-row:focus-within .x-btn.xmo-use { background: var(--ink); border-color: var(--ink); color: var(--x-on-ink); }
/* the beam: when a filter changes, a band of light sweeps down over the rows that stay */
.xmo-beam { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.xmo-beam::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 140px; transform: none; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ink) 5%, transparent) 72%, color-mix(in srgb, var(--ink) 18%, transparent) 99.4%, transparent); top: -140px; opacity: 0; }
html:not(.light) .xmo-beam::before { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ink) 11%, transparent) 72%, color-mix(in srgb, var(--ink) 55%, transparent) 99.4%, transparent); }
@media (prefers-reduced-motion: no-preference) {
.xmo-beam::before { animation: xmo-beam 1.25s cubic-bezier(.45, .05, .35, 1) both; }
@keyframes xmo-beam { 0% { top: -140px; opacity: 0; } 12% { opacity: 1; } 75% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.xmo-list-box:has(.xmo-beam) .xmo-row:not([hidden]) { animation: xmo-rowin .5s var(--emph) both; }
@keyframes xmo-rowin { from { opacity: .35; transform: translateY(6px); } }
}
.xmo-cat-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; min-height: 52px; margin-top: 4px; padding: 0 4px; }
.xmo-maker { display: flex; align-items: baseline; gap: 10px; margin: 0; font-size: 14px; }
.xmo-maker a { font-weight: 500; color: var(--ink); text-underline-offset: 3px; }
.xmo-maker span { font-size: 12px; color: var(--quiet); }
.xmo-cat-foot .xmo-lk { font-size: 14px; }
/* beyond: every model, collapsed under Hanzo's "Every model" (a native disclosure; find-in-page opens it) */
.xmo-every { margin-left: auto; }
.xmo-every[open] { flex-basis: 100%; margin-left: 0; }
.xmo-every summary { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 48px; list-style: none; cursor: pointer; }
.xmo-every summary::-webkit-details-marker { display: none; }
.xmo-every-t { font-size: 15px; font-weight: 500; transition: transform .3s var(--io); }
.xmo-every summary i { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: transform .09s var(--out), border-color .15s var(--out); }
.xmo-every summary i::before, .xmo-every summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .3s var(--io); }
.xmo-every summary i::after { transform: rotate(90deg); }
.xmo-every[open] summary i::after { transform: rotate(0deg); }
@media (hover: hover) { .xmo-every summary:hover i { border-color: var(--x-e15); } }
.xmo-every summary:active i { transform: scale(.97); }
.xmo-every-g { columns: 4 220px; column-gap: 44px; padding: 12px 0 24px; border-top: 1px solid var(--line); content-visibility: auto; contain-intrinsic-size: auto 2400px; }
.xmo-every-m { break-inside: avoid; padding: 0 0 22px; }
.xmo-every-h { display: inline-flex; min-height: 36px; align-items: center; font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; }
.xmo-every-m ul { margin: 4px 0 0; padding: 0; list-style: none; }
.xmo-every-m li a { display: inline-block; padding: 3px 0; font-size: 14px; line-height: 1.4; color: var(--body); text-decoration: underline 1px transparent; text-underline-offset: 3px; transition: color .15s var(--out), text-decoration-color .15s var(--out); }
@media (hover: hover) { .xmo-every-m li a:hover, .xmo-every-h:hover { color: var(--ink); text-decoration-color: currentColor; } }
/* ---------- 3. three families: the page's one dark room, opening like a curtain; its bento tilts in ---------- */
.xmo > .xmo-fam { background: #000; color: #fafafa; --hx: 50%; --hy: 0%; }
.xmo > .xmo-fam::before { background: radial-gradient(circle, rgba(255, 255, 255, .22) 1px, transparent 1.5px) 0 0 / 12px 12px; -webkit-mask-image: radial-gradient(60% 50% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(60% 50% at 50% 0%, #000, transparent 75%); }
.xmo > .xmo-fam::after, html:not(.light) .xmo > .xmo-fam::after { background: conic-gradient(from 180deg at 50% -10%, transparent 160deg, rgba(255, 255, 255, .08) 175deg, rgba(255, 255, 255, .12) 180deg, rgba(255, 255, 255, .08) 185deg, transparent 200deg); transform-origin: 50% 0; }
.xmo-fam .xmo-h2 { color: #fafafa; max-width: 22ch; }
.xmo-fam .xmo-h2::before { background: #fafafa; }
.xmo-fam .xmo-h2 span { white-space: nowrap; }
.xmo-fam .xmo-tag { color: #a3a3a3; }
.xmo-bento { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: repeat(2, calc((var(--fr) - 176px) / 2)); gap: 12px; margin: 0; padding: 0; list-style: none; transform-origin: 50% 100%; }
.xmo-bc { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); overflow: hidden; border-radius: 22px; background: #0b0b0b; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -50px rgba(0, 0, 0, .9); isolation: isolate; }
.xmo-bc-film { position: relative; min-height: 0; overflow: hidden; }
.xmo-bc-n { position: absolute; top: 16px; left: 16px; z-index: 2; font: 500 11px/1 var(--mono); letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
.xmo-bc-t { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 20px 22px 12px; min-width: 0; }
.xmo-bc.b-enso { grid-row: 1 / 3; grid-template-columns: 1fr; }
.xmo-bc.b-enso .xmo-bc-film { position: absolute; inset: 0; z-index: -1; }
.xmo-bc.b-enso .xmo-bc-film::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); }
.xmo-bc.b-enso .xmo-bc-t { padding: 28px 30px 18px; }
.xmo-bc.b-enso h3 { font-size: 48px; letter-spacing: -.035em; }
.xmo-bc.b-enso .xmo-bc-d { font-size: 17px; max-width: 30ch; }
.xmo-verb { margin: 0 0 8px; font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a3a3a3; }
.xmo-bc h3 { margin: 0; color: #fafafa; font-size: 28px; font-weight: 497; letter-spacing: -.025em; line-height: 1.05; }
.xmo-bc-d { margin: 8px 0 0; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .78); }
/* Hanzo's one line, "11 · Suites won · Kai vs Jev", as hanzo.ai prints it (COPY-RULE, 8 Nov) */
.xmo-bc-stat, .xmo-bc-foot { margin: 10px 0 0; font: 500 12px/1.4 var(--mono); letter-spacing: .03em; color: rgba(255, 255, 255, .78); font-variant-numeric: tabular-nums; }
.xmo-bc-foot { color: #a3a3a3; }
.xmo-bc .xmo-lk { margin-top: 2px; color: #fafafa; }
@media (hover: hover) { .xmo-bc:hover .xmo-bc-film video { transform: scale(1.04); } }
@supports (animation-timeline: view()) {
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
.xmo > .xmo-fam { animation: xmo-curtain linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
@keyframes xmo-curtain { from { clip-path: inset(0 5% round 56px); } to { clip-path: inset(0 0 round 0); } }
.xmo > .xmo-fam::after { animation: xmo-sweep linear both; animation-timeline: view(); }
@keyframes xmo-sweep { from { transform: rotate(-24deg); opacity: 0; } 40% { opacity: 1; } to { transform: rotate(24deg); opacity: .4; } }
.xmo-bento { animation: xmo-tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
@keyframes xmo-tilt { from { transform: perspective(1600px) rotateX(16deg) scale(.94); opacity: .4; } }
}
}
/* ---------- 4. Enso vs Zen ---------- */
.xmo-vs .xmo-h2 { max-width: 22ch; }
.xmo-vs-t { padding: 6px 28px 10px; }
.xmo-vs-r { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-bottom: 1px solid var(--line); }
.xmo-vs-c { display: flex; align-items: baseline; gap: 10px; padding: 13px 0; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.xmo-vs-c i { font-style: normal; font-size: 14px; color: var(--quiet); }
.xmo-vs-r.head .xmo-vs-c { display: block; padding: 22px 0 18px; }
.xmo-vs-film { position: relative; display: block; height: clamp(120px, calc(var(--fr) - 500px), 190px); margin-bottom: 16px; border-radius: 16px; overflow: hidden; background: #000; }
@media (hover: hover) { .xmo-vs-c:hover .xmo-vs-film video { transform: scale(1.03); } }
.xmo-vs-r.head h3 { margin: 0; font-size: 26px; font-weight: 497; letter-spacing: -.02em; line-height: 1.2; }
.xmo-vs-r.head p { margin: 6px 0 0; font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
.xmo-vs-r.foot { border-bottom: 0; }
.xmo-vs-r.foot .xmo-vs-c { padding: 6px 0 0; }
/* ---------- 5. decision benchmarks: the figures take the stage, the title and the suites beside them ---------- */
.xmo-suites { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 12px; padding: 0; list-style: none; }
.xmo-suites li { padding: 6px 10px; border-radius: 6px; background: var(--x-fill); font-size: 13px; color: var(--body); }
.xmo-fig-stage { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 28px; padding: 30px 32px 28px; }
.xmo-fig-big { grid-column: 1 / -1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; min-height: 150px; }
/* the box holds the figure at rest; its peak grows up and right from the bottom-left corner, into the room above */
.xmo-num-box { display: flex; align-items: flex-end; height: 76px; }
.xmo-num { margin: 0; font-size: 84px; font-weight: 220; line-height: .9; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; transform-origin: 0 100%; }
.xmo-num-k { margin: 0; font-size: 17px; line-height: 1.35; color: var(--body); }
.xmo-duel { margin: 0; padding-top: 16px; border-top: 1px solid var(--ink); }
.xmo-duel-n { margin: 0; font-size: 44px; font-weight: 300; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.xmo-duel figcaption { margin: 10px 0 14px; max-width: 30ch; font-size: 14px; line-height: 1.45; color: var(--body); }
.xmo-bars { display: grid; gap: 10px; }
.xmo-bars span { display: grid; grid-template-columns: 36px 1fr 56px; align-items: center; gap: 10px; }
.xmo-bars b { font-size: 13px; font-weight: 500; color: var(--ink); }
.xmo-bars .jev b { color: var(--quiet); }
.xmo-bars i { position: relative; height: 6px; border-radius: 99px; background: light-dark(#ededed, var(--muted)); overflow: hidden; }
.xmo-bars i::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--emph) .2s; }
.xmo-bars .jev i::after { background: #a3a3a3; transition-delay: .35s; }
.xmo-fig.on .xmo-bars i::after { transform: scaleX(var(--v)); }
.xmo-bars em { font: normal 13px/1 var(--mono); text-align: right; color: var(--body); }
.xmo-duel-vs { margin: 10px 0 0; font-size: 13px; color: var(--quiet); }
/* ---------- 6. try any model: the request panel is a flat black object ---------- */
.xmo-try-g { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.xmo-try-g > header { grid-column: 9 / 14; grid-row: 1; }
.xmo-try .xmo-headline, .xmo-first .xmo-headline { position: relative; margin: 0; max-width: 12ch; font-size: clamp(2rem, 2.9vw, 2.9rem); font-weight: 497; line-height: 1; letter-spacing: -.042em; color: var(--ink); }
.xmo-rel .xmo-headline { position: relative; margin: 0 0 24px; font-size: clamp(2.1rem, 3.55vw, 3.45rem); font-weight: 497; line-height: 1; letter-spacing: -.042em; color: var(--ink); }
.xmo-req { grid-column: 1 / 8; grid-row: 1; position: relative; padding: 26px; border-radius: 28px; background: #000; color: #fafafa; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .55); }
html:not(.light) .xmo-req { box-shadow: 0 0 0 1px var(--border), 0 40px 80px -50px rgba(0, 0, 0, .9); }
.xmo-req-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10.5px 17px; font: 500 13px/1 var(--mono); color: #a3a3a3; }
.xmo-live { display: inline-flex; align-items: center; gap: 8px; color: #fafafa; }
.xmo-live i { width: 8px; height: 8px; border-radius: 50%; background: #fafafa; box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); animation: xmo-ping 2s var(--out) infinite; }
@keyframes xmo-ping { 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } }
.xmo-eg { margin-left: auto; padding: 4px 8px; border-radius: 6px; background: #171717; color: #a3a3a3; }
.xmo-json { margin: 16px 0; padding: 24px; min-height: 120px; border-radius: 16px; background: #171717; font: 500 16px/1.6 var(--mono); color: #a3a3a3; white-space: pre-wrap; overflow-wrap: anywhere; }
.xmo-json code { font: inherit; }
.xmo-model { display: inline-block; padding: 1px 8px; border-radius: 6px; background: rgba(255, 255, 255, .14); color: #fff; }
.xmo-caret { display: inline-block; width: 9px; height: 1.15em; margin-left: 4px; vertical-align: -3px; background: #fafafa; animation: xmo-blink 1.1s steps(2, jump-none) infinite; }
@keyframes xmo-blink { 50% { opacity: 0; } }
.xmo-tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px; background: #171717; }
.xmo-tabs button { position: relative; min-height: 40px; padding: 0 17px; border: 0; border-radius: 999px; background: transparent; color: #a3a3a3; font: 500 14px/1 var(--sans); cursor: pointer; overflow: hidden; transition: color .15s var(--out), transform .09s var(--out); }
@media (hover: hover) { .xmo-tabs button:not([aria-selected='true']):hover { color: #fafafa; } }
.xmo-tabs button:active { transform: scale(.97); }
.xmo-tabs button[aria-selected='true'] { color: #0a0a0a; background: #fafafa; }
.xmo-tabs button > span:not(.xmo-tab-bg) { position: relative; z-index: 1; }
.xmo-tab-bg { position: absolute; inset: 0; border-radius: inherit; background: #fafafa; }
.xmo-tab-bar { position: absolute; left: 17px; right: 17px; bottom: 7px; z-index: 1; height: 2px; border-radius: 2px; background: #737373; transform-origin: 0 50%; animation: xmo-clock 4.2s linear forwards; }
@keyframes xmo-clock { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.xmo-req-d { position: relative; display: grid; margin-top: 16px; min-height: 96px; }
.xmo-req-d > div { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--io), transform .3s var(--io); }
.xmo-req-d > div.on { opacity: 1; transform: none; }
.xmo-req-d p { margin: 0; max-width: 52ch; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.xmo-ctx { display: flex; align-items: baseline; gap: 8px; margin-top: 10px !important; }
.xmo-ctx b { font-size: 26px; font-weight: 300; letter-spacing: -.02em; color: #fafafa; }
.xmo-ctx span { font-size: 12px; color: #a3a3a3; }
.xmo-compose { display: flex; align-items: center; gap: 10.5px; margin-top: 16px; padding: 8px 8px 8px 17px; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .1); background: #171717; }
.xmo-effort { font: 500 13px/1 var(--mono); color: #a3a3a3; }
.xmo-gate { display: flex; gap: 8px; margin-left: auto; }
.xmo-gate .x-btn { height: 40px; background: transparent; color: #fafafa; border-color: rgba(255, 255, 255, .2); }
.xmo-send { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #262626; color: #a3a3a3; }
/* ---------- 7. your first request (code left, words right: the mirror of Try) ---------- */
.xmo-first-g { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.xmo-first-g > header { grid-column: 1 / 5; grid-row: 1; }
.xmo-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: 14px; }
.xmo-code { grid-column: 6 / 14; grid-row: 1; border-radius: 24px; overflow: hidden; background: #171717; color: #e5e5e5; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .55); }
html:not(.light) .xmo-code { box-shadow: 0 0 0 1px var(--border), 0 40px 80px -50px rgba(0, 0, 0, .9); }
.xmo-code .x-copy { height: 44px; min-width: 44px; padding: 0 17px; justify-content: center; background: transparent; border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .78); font-size: 14px; transition: color .15s var(--out), border-color .15s var(--out); }
@media (hover: hover) { .xmo-code .x-copy:hover { color: #fafafa; border-color: rgba(255, 255, 255, .4); } }
.xmo-pane pre { margin: 0; padding: 24px; min-height: 300px; overflow-x: auto; font: 500 13.5px/1.65 var(--mono); }
.xmo-pane code { font: inherit; color: #a3a3a3; }
.xmo-pane .s { color: #fafafa; }
.xmo-code[data-caret] .x-codeblock-l:last-child::after { content: ''; display: inline-block; width: 8px; height: 1.1em; margin-left: 3px; vertical-align: -2px; background: #a3a3a3; animation: xmo-blink 1.1s steps(2, jump-none) infinite; }
/* ---------- 8. related: an editorial index over a drifting Sigil ---------- */
.xmo > .xmo-rel { overflow: hidden; }
.xmo-rel-sigil { position: absolute; inset: 10% -10% -20% 30%; width: 80%; height: 110%; color: var(--ink); opacity: .35; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.xmo-rel .x-wrap { position: relative; }
.xmo-rel ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.xmo-rel li { border-bottom: 1px solid var(--line); }
.xmo-rel a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 44px; align-items: center; gap: 27px; min-height: 92px; color: var(--ink); text-decoration: none; transition: transform .09s var(--out); }
.xmo-rel a:active { transform: scale(.99); }
.xmo-rel-n { font-size: 12px; letter-spacing: .14em; color: var(--quiet); }
.xmo-rel b { font-size: 32px; font-weight: 497; letter-spacing: -.025em; line-height: 1.1; transition: transform .3s var(--io); }
.xmo-rel-d { font-size: 16px; color: var(--body); opacity: .7; transform: translateX(-10.5px); transition: opacity .3s var(--io), transform .3s var(--io); }
.xmo-rel a i { justify-self: end; font-style: normal; font-size: 22px; transition: transform .3s var(--io); }
@media (hover: hover) { .xmo-rel a:hover b { transform: translateX(10.5px); } .xmo-rel a:hover .xmo-rel-d { opacity: 1; transform: none; } .xmo-rel a:hover i { transform: translateX(6.5px); } }
/* ---------- 9. the close: the page's words and its one ask, beside Enso's film on a lifted black card ---------- */
.xmo-close-g { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); align-items: center; }
.xmo-close .xmo-h2 { max-width: 12ch; }
.xmo-close p { margin: 18px 0 0; max-width: 40ch; font-size: 17px; line-height: 1.5; color: var(--body); }
.xmo-close-film { position: relative; display: block; aspect-ratio: 16 / 11; max-height: calc(var(--fr) - 120px); border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .55); }
html:not(.light) .xmo-close-film { box-shadow: 0 0 0 1px var(--border), 0 40px 80px -50px rgba(0, 0, 0, .9); }
/* the page's pause stops its CSS loops too */
[data-mpaused] .xmo-live i, [data-mpaused] .xmo-caret, [data-mpaused] .xmo-n-dot, [data-mpaused] .xmo-code[data-caret] .x-codeblock-l:last-child::after { animation-play-state: paused; }
/* ---------- tablets: titles stack over their stages ---------- */
@media (max-width: 1100px) {
.xmo-cat { --cols: 40px minmax(150px, 1fr) minmax(0, 1.2fr) 52px 70px 100px 112px; }
.xmo-side { grid-template-columns: 1fr; row-gap: 22px; }
.xmo-side .xmo-h2 { max-width: 18ch; }
.xmo-suites { margin-bottom: 6px; }
}
/* ---------- phones: their own composition ---------- */
@media (max-width: 899px) {
.xmo > section { padding-block: 44px; }
.xmo-display { font-size: 40px; }
.xmo-lede { font-size: 17px; }
.xmo-h { grid-template-columns: 1fr !important; gap: 12px; margin-bottom: 20px; }
.xmo-h2 { font-size: 2rem; max-width: 18ch; }
.xmo-side .xmo-h2, .xmo-try .xmo-headline, .xmo-first .xmo-headline, .xmo-rel .xmo-headline { font-size: 2rem; }
.xmo-h > .xmo-tag, .xmo-h-r { justify-self: start; }
.xmo > .xmo-stage { padding-block: 24px 44px; }
.xmo-intro { display: block; }
.xmo-intro-r { margin-top: 17px; }
.xmo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; gap: 10px; margin-top: 24px; }
.xmo-cell { height: 200px; }
.xmo-cell.big { grid-column: 1 / -1; grid-row: auto; height: 330px; }
.xmo-card { padding: 16px; }
.xmo-card.big { padding: 21px; }
.xmo-card-d { font-size: 14px; line-height: 19px; }
/* catalogue: the chips scroll in place; each row is the name, the two prices and "Use it now" */
.xmo-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.xmo-chips button { flex: none; min-height: 40px; }
.xmo-chips.flat { border-radius: 22px; }
.xmo-h-r { width: 100%; }
.xmo-cat-stage { height: min(560px, calc(100svh - 230px)); min-height: 420px; border-radius: 20px; }
.xmo-cat-bar { padding: 10px 10px 8px; gap: 8px; }
.xmo-cat-bar .xmo-chips { width: 100%; }
.xmo-find { flex: 1 1 auto; max-width: none; margin-left: 0; height: 40px; }
.xmo-n { min-width: 0; }
.xmo-cols { display: none; }
.xmo-ghead { padding: 6px 12px; gap: 2px 10px; }
.xmo-ghead p { flex-basis: 100%; font-size: 12.5px; }
.xmo-ghead .xmo-lk { margin-left: 0; }
.xmo-row { grid-template-columns: 36px minmax(0, 1fr) auto auto; grid-template-areas: 'th m m m' 'th i o a'; gap: 6px 12px; padding: 10px 12px; }
.xmo-row .xmo-thumb { grid-area: th; align-self: start; width: 36px; height: 36px; border-radius: 10px; }
.xmo-row-m { grid-area: m; }
.xmo-row-d, .xmo-row-c { display: none; }
.xmo-row-p { grid-area: i; justify-self: start; text-align: left; font-size: 13px; }
.xmo-row-p.out { grid-area: o; align-items: flex-start; }
.xmo-row-p::before { content: attr(data-k); display: block; margin-bottom: 2px; font: 500 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--quiet); }
.xmo-row-p.out::before { margin-bottom: -3px; }
.xmo-bar { width: 56px; }
.xmo-row-a { grid-area: a; align-self: end; }
.xmo-cat-foot { gap: 0 18px; }
.xmo-every { margin-left: 0; }
.xmo-fam .xmo-h2 span { white-space: normal; }
.xmo-bento { grid-template-columns: 1fr; grid-template-rows: none; }
.xmo-bc { grid-template-columns: 1fr; }
.xmo-bc.b-enso { grid-row: auto; min-height: 380px; }
.xmo-bc:not(.b-enso) .xmo-bc-film { height: 180px; }
.xmo-bc.b-enso h3 { font-size: 40px; }
.xmo-vs-t { padding: 4px 16px 8px; }
.xmo-vs-r { column-gap: 16px; }
.xmo-vs-c { font-size: 14.5px; gap: 6px; }
.xmo-vs-film { height: 120px; }
.xmo-vs-r.head p { letter-spacing: .08em; }
.xmo-fig-stage { grid-template-columns: 1fr; padding: 20px; row-gap: 24px; }
.xmo-fig-big { min-height: 110px; }
.xmo-num { font-size: 64px; }
.xmo-num-box { height: 58px; }
.xmo-try-g, .xmo-first-g, .xmo-close-g { display: block; }
.xmo-req { margin-top: 24px; padding: 16px; border-radius: 24px; }
.xmo-eg { display: none; }
.xmo-json { padding: 16px; font-size: 14px; min-height: 0; }
.xmo-tabs button { min-height: 44px; padding: 0 14px; }
.xmo-compose { flex-wrap: wrap; border-radius: 24px; }
.xmo-gate .x-btn { height: 44px; }
.xmo-code { margin-top: 24px; }
.xmo-code .x-tablist { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.xmo-code .x-tab { flex: none; }
.xmo-pane pre { padding: 16px; min-height: 0; font-size: 13px; }
.xmo-rel a { grid-template-columns: 36px minmax(0, 1fr) 28px; gap: 10.5px; min-height: 72px; padding: 10.5px 0; }
.xmo-rel b { font-size: 26px; }
.xmo-rel-d { grid-column: 2; grid-row: 2; font-size: 14px; opacity: 1; transform: none; }
.xmo-rel a i { grid-column: 3; grid-row: 1; font-size: 20px; }
.xmo-close-film { margin-top: 24px; }
}
/* reduced motion: every scene at its final state, nothing autoplaying */
@media (prefers-reduced-motion: reduce) {
.xmo-bars i::after, .xmo-card, .xmo-arr { transition: none; }
.xmo-live i, .xmo-caret, .xmo-n-dot, .xmo-code[data-caret] .x-codeblock-l:last-child::after { animation: none; }
.xmo-num { transform: none !important; }
}