mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
- Scope .x-ann::after to .x-ann:not([data-slot="beta"])::after and track pointer --tilt on [data-slot="beta"] so the 520px sword-blade steel glint sweeps smoothly across the top beta banner - Hide the visible pill handle and tooltip on the hero iPhone Duo seam (.xm-hinge) while keeping the seam interactive - Remove the pause button and side changing-line dots from the Philosophy hero hexagram and tighten hero stage spacing - Remove the '01 · I' prefix above pattern titles in the Philosophy explorer detail card, add card padding and border framing, and sharpen 8x8 I Ching mini-hexagram line spacing - Add the Hebrew Ana BeKoach Path order (CHAPTERS, STANZAS, WORDS, PATH) to /philosophy, switching automatically when Hebrew is selected or via the King Wen / אנא בכח order toggle Claude-Session: https://claude.ai/code/session_015XYKLix9PSyn6Jw2HWKprk
521 lines
44 KiB
CSS
521 lines
44 KiB
CSS
/* dark mode: the shared ProofRhythm greys (#525252, #737373) keep their exact light value and take Hanzo's dark greys;
|
|
same specificity as ProofRhythm's own rules and first in this file, so every page rule below still wins as before */
|
|
.xph .pf-lede, .xph .pf-body { color: light-dark(#525252, var(--text-secondary)); }
|
|
.xph .pf-kick { color: light-dark(#737373, var(--muted-foreground)); }
|
|
/* ---------- philosophy: a Story page on Hanzo's scale rhythm (MASTER §3), ink only; deck timings, no overshoot ---------- */
|
|
.xph { overflow-x: clip; }
|
|
.xph em { font-style: italic; color: var(--ink); }
|
|
.xph-cap { margin: 20px 0 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: light-dark(#737373, var(--muted-foreground)); }
|
|
|
|
/* the hexagram, in HTML: six rows, bottom to top; a yin line opens by scaling its halves (transform only) */
|
|
.xph-hx { --w: 80px; display: flex; flex-direction: column-reverse; gap: calc(var(--w) * .065); width: var(--w); color: var(--ink); }
|
|
.xph-hl { position: relative; display: block; width: 100%; height: calc(var(--w) * .085); padding: 0; border: 0; background: none; color: inherit; }
|
|
.xph-hl { --sx: 1; --part: 0px; }
|
|
.xph-hl.yin { --sx: .84; }
|
|
.xph-hl i { position: absolute; top: 0; bottom: 0; width: 51%; background: currentColor; border-radius: calc(var(--w) * .018); transition: transform .8s cubic-bezier(.4, 0, .2, 1), opacity .4s cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-hl i:first-child { left: 0; transform-origin: 0 50%; transform: translate3d(calc(var(--part) * -1), 0, 0) scaleX(var(--sx)); border-radius: calc(var(--w) * .018) 0 0 calc(var(--w) * .018); }
|
|
.xph-hl i:last-child { right: 0; transform-origin: 100% 50%; transform: translate3d(var(--part), 0, 0) scaleX(var(--sx)); border-radius: 0 calc(var(--w) * .018) calc(var(--w) * .018) 0; }
|
|
.xph-hl.off i { opacity: .1; }
|
|
.xph-hl.hot::after { display: none; }
|
|
button.xph-hl { cursor: pointer; transition: transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
button.xph-hl::before { content: ''; position: absolute; inset: calc(var(--w) * -.035) -8px; }
|
|
@media (hover: hover) { button.xph-hl:hover { --part: 5px; } }
|
|
button.xph-hl:hover i, .xph-tile:hover .xph-hl i, .xph-mx-b:hover .xph-hl i, .xph-stack-l a:hover .xph-hl i { transition-duration: .3s; }
|
|
button.xph-hl:active { transform: scale(.97); }
|
|
button.xph-hl:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 4px; }
|
|
|
|
/* hero: a stage; the hexagram huge and centred, its name either side, the headline across the foot */
|
|
.xph-hero { height: min(740px, calc(100svh - 60px)); min-height: 540px; display: flex; padding: clamp(20px, 2.8vh, 36px) 0 clamp(24px, 3.2vh, 40px); }
|
|
.xph-hero-g { height: 100%; display: flex; flex-direction: column; gap: clamp(16px, 2.4vh, 28px); }
|
|
.xph-stage { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(28px, 4.2vw, 72px); }
|
|
.xph-oracle-hx { --w: clamp(176px, 20vw, 240px) !important; justify-self: center; }
|
|
.xph-pause { top: 4px; right: 0; }
|
|
.xph-flank { display: grid; gap: 10px; }
|
|
.xph-flank.l { justify-items: end; text-align: right; }
|
|
.xph-flank.r { justify-items: start; }
|
|
.xph-oracle-n { font-size: 13px; letter-spacing: .08em; color: light-dark(#737373, var(--muted-foreground)); }
|
|
.xph-flank b { max-width: 14ch; font-size: 21px; font-weight: 497; letter-spacing: -.012em; line-height: 1.2; text-wrap: balance; }
|
|
.xph-flank.r span { max-width: 24ch; font-size: 16px; line-height: 1.45; color: light-dark(#525252, var(--text-secondary)); }
|
|
/* the walk changes these words every few seconds: each keeps a two-line box, so the h1 and ask never move */
|
|
.xph-flank b { min-height: 2.4em; display: flex; align-items: flex-end; }
|
|
.xph-flank.l b { justify-content: flex-end; }
|
|
.xph-flank.r span { min-height: 2.9em; }
|
|
.xph-h1 { margin: 0; }
|
|
/* arrival without JavaScript: the h1 cuts into its line and the hexagram draws itself bottom to top at first paint */
|
|
@keyframes xph-cut { from { transform: translate3d(0, 105%, 0); } }
|
|
.xph-cut { animation: xph-cut .7s cubic-bezier(.16, 1, .3, 1) calc(.15s + var(--d, 0ms)) backwards; }
|
|
@keyframes xph-draw { from { transform: scaleX(.2); opacity: 0; } }
|
|
.xph-oracle-hx .xph-hl { animation: xph-draw .8s cubic-bezier(.4, 0, .2, 1) backwards; }
|
|
.xph-oracle-hx .xph-hl:nth-child(2) { animation-delay: 70ms; }
|
|
.xph-oracle-hx .xph-hl:nth-child(3) { animation-delay: 140ms; }
|
|
.xph-oracle-hx .xph-hl:nth-child(4) { animation-delay: 210ms; }
|
|
.xph-oracle-hx .xph-hl:nth-child(5) { animation-delay: 280ms; }
|
|
.xph-oracle-hx .xph-hl:nth-child(6) { animation-delay: 350ms; }
|
|
.xph-h1 .pf-mask-l { display: inline-block; vertical-align: top; }
|
|
.xph-h1 .pf-mask-l + .pf-mask-l { margin-left: .24em; }
|
|
.xph-hero-foot { align-items: start; padding-top: 20px; border-top: 1px solid var(--ink); }
|
|
.xph-hero-a { grid-column: 1 / 4; }
|
|
.xph-hero-a .xph-cap { margin: 0; }
|
|
.xph-sub { margin: 10px 0 0; font-size: 17px; line-height: 1.35; font-weight: 497; letter-spacing: -.012em; color: var(--ink); }
|
|
.xph-lede { grid-column: 4 / 9; max-width: 62ch; font-size: 16px; line-height: 1.6; }
|
|
.xph-acts { grid-column: 9 / 13; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 24px; }
|
|
|
|
/* premise: one sentence beside one line that keeps changing */
|
|
.xph-premise { border-top: 1px solid var(--line); }
|
|
.xph-premise-top { align-items: center; }
|
|
.xph-big { grid-column: 1 / 9; max-width: 14ch; margin: 0; }
|
|
.xph-one { grid-column: 9 / 13; display: grid; place-items: center; --w: clamp(200px, 22vw, 340px); }
|
|
.xph-one-l { --w: inherit; width: var(--w); height: calc(var(--w) * .1); }
|
|
.xph-one .xph-one-l i, .xph-g1 .xph-one-l i { animation: xph-open 2.4s cubic-bezier(.4, 0, .2, 1) 6 alternate; }
|
|
@keyframes xph-open { 0%, 30% { transform: scaleX(1); } 70%, 100% { transform: scaleX(.8); } }
|
|
.xph-premise-g { margin-top: clamp(64px, 8vw, 120px); align-items: start; }
|
|
.xph-premise-h { grid-column: 1 / 5; }
|
|
.xph-premise-h .pf-title { max-width: 14ch; }
|
|
.xph-premise-t { grid-column: 6 / 12; }
|
|
.xph-premise-t .pf-body + .pf-body { margin-top: 20px; }
|
|
.xph-that { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--ink); display: inline-block; font-size: 17px; font-weight: 497; letter-spacing: -.012em; color: var(--ink); }
|
|
|
|
/* laws: the signature, a timeline you drag; the hexagram builds beside the law in hand */
|
|
.xph-laws.pf-sec { padding: clamp(56px, 5vw, 72px) 0 clamp(56px, 7vw, 116px); border-top: 1px solid var(--line); }
|
|
.xph-premise.pf-sec { padding-bottom: clamp(48px, 5vw, 80px); }
|
|
.xph-laws-top { align-items: end; }
|
|
.xph-laws-t { grid-column: 1 / 8; }
|
|
.xph-laws-hint { grid-column: 9 / 13; justify-self: end; margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: light-dark(#737373, var(--muted-foreground)); font-variant-numeric: tabular-nums; }
|
|
.xph-laws-g { margin-top: clamp(32px, 3.4vw, 48px); align-items: center; }
|
|
.xph-law-stage { grid-column: 1 / 6; display: grid; justify-items: start; gap: 24px; }
|
|
.xph-law-hx { --w: clamp(200px, 17vw, 260px); display: flex; flex-direction: column-reverse; gap: calc(var(--w) * .07); }
|
|
.xph-law-row { position: relative; width: var(--w); }
|
|
.xph-law-n { position: absolute; left: calc(100% + 20px); top: 50%; transform: translate3d(0, -50%, 0); font-size: 13px; font-weight: 500; color: light-dark(#737373, var(--muted-foreground)); opacity: 0; transition: opacity .3s cubic-bezier(.4, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1); }
|
|
.xph-law-row[data-on='true'] .xph-law-n { opacity: 1; }
|
|
.xph-law-row[data-hot='true'] .xph-law-n { color: var(--ink); }
|
|
.xph-law-cap { min-height: 2.6em; }
|
|
/* the panel: all five laws share one cell (the tallest sets the height), the one in hand shows */
|
|
.xph-law-panel { grid-column: 7 / 13; display: grid; }
|
|
.xph-law-p { grid-area: 1 / 1; align-self: center; display: grid; gap: 16px; opacity: 0; visibility: hidden; transform: translate3d(0, 16px, 0); transition: opacity .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1), visibility 0s linear .15s; }
|
|
/* the outgoing law leaves in 150 ms; the incoming one arrives after it (300 ms, ease-emphasis), so they never overprint */
|
|
.xph-law-p[data-on='true'] { opacity: 1; visibility: visible; transform: none; transition: opacity .3s cubic-bezier(.16, 1, .3, 1) .12s, transform .3s cubic-bezier(.16, 1, .3, 1) .12s, visibility 0s; }.xph-law-k { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: light-dark(#737373, var(--muted-foreground)); }
|
|
.xph-law-p .xph-law-t { font-size: 32px; letter-spacing: -.024em; line-height: 1.12; max-width: 18ch; }
|
|
/* the strip: a rail, five ticks, a thumb drawn as one whole line; labels under each law */
|
|
.xph-tl { --p: 0; margin-top: clamp(32px, 3.4vw, 48px); padding-bottom: 8px; overflow-x: clip; }
|
|
.xph-tl-track { position: relative; height: 56px; margin: 0 22px; cursor: grab; touch-action: pan-y; outline: none; -webkit-tap-highlight-color: transparent; user-select: none; }
|
|
.xph-tl[data-drag='true'] .xph-tl-track { cursor: grabbing; }
|
|
.xph-tl-rail { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: light-dark(rgba(0, 0, 0, .14), var(--border-control)); }
|
|
.xph-tl-rail i { position: absolute; inset: -0.5px 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p)); transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-tl-tick { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; border: 1px solid light-dark(rgba(0, 0, 0, .3), var(--border-control)); background: var(--x-raised); transition: background-color .15s cubic-bezier(0, 0, .2, 1), border-color .15s cubic-bezier(0, 0, .2, 1); }
|
|
.xph-tl-tick[data-on='true'] { background: var(--ink); border-color: var(--ink); }
|
|
/* the thumb rides a full-width carrier moved by transform (never `left`), so moving it is never a layout shift */
|
|
.xph-tl-run { position: absolute; inset: 0; pointer-events: none; transform: translate3d(calc(var(--p) * 100%), 0, 0); transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-tl-thumb { position: absolute; top: 50%; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: var(--x-raised); box-shadow: 0 0 0 1px light-dark(rgba(0, 0, 0, .14), var(--border-control)), 0 8px 24px -10px rgba(0, 0, 0, .18); transition: transform 90ms cubic-bezier(0, 0, .2, 1), box-shadow .15s cubic-bezier(0, 0, .2, 1); }
|
|
.xph-tl-thumb .xph-hl { --w: 22px; width: 22px; }
|
|
.xph-tl[data-drag='true'] .xph-tl-rail i, .xph-tl[data-drag='true'] .xph-tl-run { transition-duration: 0s; }
|
|
.xph-tl[data-drag='true'] .xph-tl-thumb { transform: scale(.94); }
|
|
.xph-tl[data-drag='true'] .xph-tl-thumb .xph-hl { --part: 3px; }
|
|
@media (hover: hover) { .xph-tl-track:hover .xph-tl-thumb { box-shadow: 0 0 0 1px var(--ink), 0 8px 24px -10px rgba(0, 0, 0, .18); } .xph-tl-track:hover .xph-tl-thumb .xph-hl { --part: 3px; } }
|
|
.xph-tl-track:focus-visible .xph-tl-thumb { outline: 2px solid var(--ink); outline-offset: 3px; }
|
|
.xph-tl-stops { position: relative; list-style: none; height: 64px; margin: 4px 22px 0; padding: 0; }
|
|
.xph-tl-stops li { position: absolute; top: 0; width: 20%; transform: translate3d(-50%, 0, 0); }
|
|
.xph-tl-stops li:first-child { transform: translate3d(-22px, 0, 0); }
|
|
.xph-tl-stops li:last-child { transform: translate3d(calc(-100% + 22px), 0, 0); }
|
|
.xph-tl-stops button { width: 100%; min-height: 44px; display: grid; justify-items: center; gap: 6px; padding: 4px 6px; border: 0; background: none; text-align: center; font: inherit; color: light-dark(#737373, var(--muted-foreground)); cursor: pointer; border-radius: 8px; transition: color .15s cubic-bezier(0, 0, .2, 1), transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.xph-tl-stops li:first-child button { justify-items: start; text-align: left; }
|
|
.xph-tl-stops li:last-child button { justify-items: end; text-align: right; }
|
|
.xph-tl-stops .pf-mono { font-size: 13px; }
|
|
.xph-tl-name { font-size: 14px; line-height: 1.3; text-wrap: balance; }
|
|
.xph-tl-stops li[data-on='true'] button { color: var(--ink); }
|
|
@media (hover: hover) { .xph-tl-stops button:hover { color: var(--ink); } }
|
|
.xph-tl-stops button:active { transform: scale(.97); }
|
|
.xph-law-row .xph-hl::before { content: ''; position: absolute; inset: 0; border-radius: calc(var(--w) * .018); background: light-dark(rgba(0, 0, 0, .06), var(--glass)); transition: opacity .4s cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-law-row[data-on='true'] .xph-hl::before { opacity: 0; }
|
|
.xph-law-row .xph-hl i { opacity: 0; transition: opacity .4s cubic-bezier(.4, 0, .2, 1), transform .8s cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-law-row[data-on='true'] .xph-hl i { opacity: 1; }
|
|
.xph-law-row[data-hot='true'][data-on='true'] .xph-hl { animation: xph-breathe 2.4s cubic-bezier(.4, 0, .2, 1) 3; }
|
|
@keyframes xph-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
|
|
.xph-law-cap { margin: 0; display: grid; justify-items: start; gap: 8px; font-size: 21px; font-weight: 497; letter-spacing: -.012em; color: var(--ink); opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1); }
|
|
.xph-law-cap span { font-size: 13px; font-weight: 500; letter-spacing: .08em; color: light-dark(#737373, var(--muted-foreground)); }
|
|
.xph-law-cap[data-on='true'] { opacity: 1; transform: none; }
|
|
|
|
/* patterns */
|
|
.xph-pat { padding-top: clamp(64px, 6vw, 96px); }
|
|
.xph-pat-h { align-items: end; row-gap: 32px; }
|
|
.xph-pat-t { grid-column: 1 / 7; }
|
|
.xph-pat-l { grid-column: 8 / 13; }
|
|
.xph-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: clamp(32px, 4vw, 48px) 0 clamp(28px, 3vw, 40px); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
|
|
.xph-views { display: inline-grid; grid-template-columns: repeat(3, 120px); padding: 4px; gap: 2px; border-radius: 999px; border: 1px solid var(--line); background: light-dark(#f5f5f5, rgba(255, 255, 255, .03)); }
|
|
.xph-views button { position: relative; min-height: 38px; border: 0; background: none; border-radius: 999px; font: 500 14px/1 var(--sans); color: light-dark(#525252, var(--text-secondary)); cursor: pointer; transition: color 150ms cubic-bezier(0, 0, .2, 1), transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.xph-views button > span:not(.xph-view-bg) { position: relative; }
|
|
.xph-view-bg { position: absolute; inset: 0; border-radius: 999px; background: light-dark(#fff, rgba(255, 255, 255, .1)); border: 1px solid light-dark(rgba(0, 0, 0, .08), rgba(255, 255, 255, .16)); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
|
|
.xph-views button[aria-selected='true'] { color: var(--ink); }
|
|
@media (hover: hover) { .xph-views button[aria-selected='false']:hover { color: var(--ink); background: transparent; } }
|
|
.xph-views button:active { transform: scale(.97); }
|
|
.xph-views button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
.xph-order-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: light-dark(#f5f5f5, rgba(255, 255, 255, .03)); }
|
|
.xph-order-btn { min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font: 500 13px/1 var(--sans); color: light-dark(#525252, var(--text-secondary)); cursor: pointer; transition: color 150ms cubic-bezier(0, 0, .2, 1), background-color 150ms cubic-bezier(0, 0, .2, 1); }
|
|
.xph-order-btn:hover { color: var(--ink); }
|
|
.xph-order-btn.on { background: light-dark(#fff, rgba(255, 255, 255, .12)); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
|
|
.xph-hint { margin: 0; font-size: 13px; letter-spacing: .04em; color: light-dark(#737373, var(--muted-foreground)); }
|
|
|
|
/* sequence: eight rows, eight patterns each */
|
|
.xph-grp { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
|
|
.xph-grp:first-child { padding-top: 8px; }
|
|
.xph-grp-h { display: grid; align-content: start; gap: 10px; }
|
|
.xph-grp-h h3 { margin: 0; font-size: 21px; font-weight: 497; letter-spacing: -.012em; }
|
|
.xph-grp-r { font-size: 13px; letter-spacing: .06em; color: light-dark(#737373, var(--muted-foreground)); }
|
|
.xph-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
|
|
.xph-tile { position: relative; display: grid; align-content: start; gap: 10px; min-height: 172px; padding: 16px 12px; border: 0; border-radius: 16px; background: none; text-align: left; color: var(--ink); cursor: pointer; transition: background-color 150ms cubic-bezier(0, 0, .2, 1), transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.xph-tile:focus-visible { background: light-dark(#f5f5f5, var(--muted)); }
|
|
@media (hover: hover) { .xph-tile:hover { background: light-dark(#f5f5f5, var(--muted)); } .xph-tile:hover .xph-hl { --part: 3px; } }
|
|
.xph-tile:active { transform: scale(.97); }
|
|
.xph-tile:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
.xph-tile .xph-hx { margin-bottom: 8px; }
|
|
.xph-tile-n { font-size: 13px; color: light-dark(#737373, var(--muted-foreground)); }
|
|
.xph-tile-t { min-width: 0; font-size: 15px; font-weight: 560; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: normal; hyphens: manual; text-wrap: balance; }
|
|
/* six tiles a row on wide screens, so every pattern's name has the room to stay whole */
|
|
@media (min-width: 900px) { .xph-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
|
|
.xph-tile-s { display: grid; font-size: 14px; line-height: 1.3; color: light-dark(#525252, var(--text-secondary)); }
|
|
.xph-tile-s > span { grid-area: 1 / 1; transition: opacity .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-tile-p { opacity: 0; color: var(--ink); }
|
|
.xph-tile:hover .xph-tile-s > span:first-child, .xph-tile:focus-visible .xph-tile-s > span:first-child { opacity: 0; }
|
|
.xph-tile:hover .xph-tile-p, .xph-tile:focus-visible .xph-tile-p { opacity: 1; }
|
|
|
|
/* matrix */
|
|
.xph-mx { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; align-items: start; }
|
|
.xph-mx-side { position: sticky; top: 100px; }
|
|
.xph-mx-leg { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 32px 0 0; font-size: 14px; color: light-dark(#525252, var(--text-secondary)); }
|
|
.xph-mx-leg .xph-mx-leg-h { flex-basis: 100%; font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: light-dark(#737373, var(--muted-foreground)); }
|
|
.xph-mx-leg span:not(.xph-mx-leg-h) { display: inline-flex; align-items: center; gap: 8px; }
|
|
.xph-mx-scroll { overflow-x: auto; }
|
|
.xph-mx-g { display: grid; grid-template-columns: repeat(9, minmax(56px, 1fr)); gap: 4px; min-width: 560px; }
|
|
.xph-mx-row { display: contents; }
|
|
.xph-mx-c { display: grid; place-items: center; gap: 6px; aspect-ratio: 1; padding: 6px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: inherit; }
|
|
.xph-mx-k span { font: 500 12px/1 var(--mono); color: light-dark(#737373, var(--muted-foreground)); }
|
|
.xph-mx-h { cursor: pointer; transition: background-color 150ms cubic-bezier(0, 0, .2, 1), transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
@media (hover: hover) { .xph-mx-h:hover { background: light-dark(#f5f5f5, var(--muted)); } .xph-mx-h:hover .xph-hl { --part: 2px; } }
|
|
.xph-mx-h.on { background: var(--ink); }
|
|
.xph-mx-h.on .xph-hx, .xph-mx-h.on span { color: var(--x-on-ink); }
|
|
.xph-mx-b { background: light-dark(#f5f5f5, var(--muted)); cursor: pointer; transition: background-color 150ms cubic-bezier(0, 0, .2, 1), opacity .3s cubic-bezier(.4, 0, .2, 1), transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.xph-mx-b span { font-size: 12px; color: light-dark(#525252, var(--text-secondary)); }
|
|
@media (hover: hover) { .xph-mx-b:hover { background: light-dark(#e5e5e5, var(--secondary)); } .xph-mx-b:hover .xph-hl { --part: 2px; } }
|
|
.xph-mx-b:active, .xph-mx-h:active { transform: scale(.97); }
|
|
.xph-mx-b:focus-visible, .xph-mx-h:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
.xph-mx-g.hi .xph-mx-b { opacity: .3; }
|
|
.xph-mx-g.hi .xph-mx-b.lit { opacity: 1; background: light-dark(#e4e4e7, var(--secondary)); }
|
|
|
|
/* lenses */
|
|
.xph-chips { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
.xph-chips button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--x-raised); font: 500 15px/1 var(--sans); color: light-dark(#525252, var(--text-secondary)); cursor: pointer; transition: transform 90ms cubic-bezier(0, 0, .2, 1), color 150ms cubic-bezier(0, 0, .2, 1), background-color 150ms cubic-bezier(0, 0, .2, 1); }
|
|
.xph-chips button > span:not(.xph-pill) { position: relative; }
|
|
.xph-chips button .pf-mono { font-size: 13px; color: light-dark(#737373, var(--muted-foreground)); }
|
|
@media (hover: hover) { .xph-chips button:hover { color: var(--ink); background: light-dark(#f5f5f5, var(--muted)); } }
|
|
.xph-chips button:active { transform: scale(.97); }
|
|
.xph-pill { position: absolute; inset: -1px; border-radius: 999px; background: var(--ink); }
|
|
.xph-chips button[aria-pressed='true'], .xph-chips button[aria-pressed='true'] .pf-mono { color: var(--x-on-ink); }
|
|
.xph-lens-p { margin: 24px 0 40px; }
|
|
.xph-lens-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 24px; }
|
|
.xph-lens-card { padding: 32px; border-radius: 28px; background: light-dark(#f5f5f5, var(--muted)); }
|
|
|
|
/* a pattern, in the sheet and in the lenses (the sheet lives on <body>: no ancestor selectors) */
|
|
.xph-det { color: var(--ink); }
|
|
.xph-det-h { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
|
|
.xph-det-h .xph-hx { color: var(--ink); }
|
|
.xph-det .xph-det-t { margin: 0 0 4px; font-size: 32px; font-weight: 497; letter-spacing: -.025em; line-height: 1.02; color: var(--ink); }
|
|
.xph-det-s { margin: 0; font-size: 19px; color: light-dark(#525252, var(--text-secondary)); }
|
|
.xph-det-tri { margin: 12px 0 0; font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: light-dark(#525252, var(--text-secondary)); }
|
|
.xph-det-tri i { font-style: normal; text-transform: none; }
|
|
.xph-det-l { margin: 0; display: grid; gap: 24px; padding-top: 28px; }
|
|
.xph-det-l dt { margin-bottom: 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: light-dark(#525252, var(--text-secondary)); }
|
|
.xph-det-l dd { margin: 0; font-size: 17px; line-height: 1.6; color: light-dark(#525252, var(--text-secondary)); }
|
|
.xph-det-l .xph-pr { font-size: 21px; line-height: 1.3; font-weight: 497; letter-spacing: -.02em; color: var(--ink); }
|
|
.xph-det-l .xph-ask { font-size: 17px; font-weight: 497; letter-spacing: -.01em; color: var(--ink); }
|
|
.xph-lens-d { display: grid; gap: 10px; justify-items: start; }
|
|
.xph-chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--ink); font: 500 13px/1 var(--mono); color: var(--x-on-ink); }
|
|
.xph-sheet-nav { display: flex; gap: 8px; }
|
|
|
|
/* method: the cycle you point at */
|
|
.xph-method { background: light-dark(#f5f5f5, var(--muted)); }
|
|
.xph-method-g { align-items: start; }
|
|
.xph-method-l { grid-column: 1 / 6; position: sticky; top: 120px; }
|
|
.xph-ring { --at: 0; position: relative; width: min(380px, 100%); aspect-ratio: 1; margin-top: 56px; }
|
|
.xph-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
|
|
.xph-ring circle { fill: none; stroke: light-dark(rgba(0, 0, 0, .12), var(--border)); stroke-width: 1; }
|
|
.xph-hand { position: absolute; left: 50%; top: 7%; width: 2px; height: 43%; margin-left: -1px; background: var(--ink); border-radius: 2px; transform-origin: 50% 100%; transform: rotate(calc(var(--at) * 45deg)); transition: transform .4s cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-node { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--x-raised); border: 1px solid var(--line); font-size: 13px; color: light-dark(#525252, var(--text-secondary)); transition: background-color .3s cubic-bezier(.4, 0, .2, 1), color .3s cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-node.on { background: var(--ink); color: var(--x-on-ink); }
|
|
.xph-ring-c { position: absolute; inset: 30%; display: grid; place-items: center; }
|
|
.xph-ring-c b { grid-area: 1 / 1; font-size: 21px; font-weight: 497; letter-spacing: -.012em; opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .3s cubic-bezier(.16, 1, .3, 1), transform .3s cubic-bezier(.16, 1, .3, 1); }
|
|
.xph-ring-c b[data-on='true'] { opacity: 1; transform: none; }
|
|
.xph-steps { grid-column: 7 / 13; list-style: none; margin: 0; padding: 0; border-top: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
.xph-steps li { border-bottom: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
.xph-steps button { width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 28px 0; border: 0; background: none; text-align: left; color: var(--ink); cursor: pointer; font: inherit; }
|
|
.xph-steps button { transition: transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.xph-steps button:active { transform: scale(.97); }
|
|
.xph-steps button .pf-mono { grid-row: span 2; padding-top: 4px; font-size: 13px; color: light-dark(#525252, var(--text-secondary)); transition: color .3s cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-steps h3 { margin: 0; font-size: 21px; font-weight: 497; letter-spacing: -.012em; transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-steps p { margin: 0; font-size: 16px; line-height: 1.55; color: light-dark(#525252, var(--text-secondary)); }
|
|
.xph-steps li[data-on='true'] .pf-mono { color: var(--ink); }
|
|
.xph-steps li[data-on='true'] h3 { transform: translate3d(8px, 0, 0); }
|
|
.xph-steps button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 8px; }
|
|
|
|
/* stack: an editorial index; a row fills from the left under a fine pointer */
|
|
.xph-stack-h { margin-bottom: clamp(48px, 6vw, 88px); }
|
|
.xph-stack-l { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
|
|
.xph-stack-l a { position: relative; isolation: isolate; display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 6fr) 48px; gap: 24px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
|
|
.xph-stack-l a::before { content: ''; position: absolute; inset: 0 -16px; z-index: -1; border-radius: 16px; background: light-dark(#f5f5f5, var(--muted)); clip-path: inset(0 100% 0 0 round 16px); transition: clip-path .4s cubic-bezier(0, 0, .2, 1); }
|
|
.xph-stack-l .xph-stack-n { font-size: 21px; font-weight: 497; letter-spacing: -.012em; }
|
|
.xph-stack-l a > span:not(.xph-hx):not(.xph-stack-n) { font-size: 16px; line-height: 1.5; color: light-dark(#525252, var(--text-secondary)); }
|
|
.xph-stack-l a > i { justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: background-color 150ms cubic-bezier(0, 0, .2, 1), color 150ms cubic-bezier(0, 0, .2, 1); }
|
|
@media (hover: hover) and (pointer: fine) {
|
|
.xph-stack-l a:hover::before { clip-path: inset(0 0 0 0 round 16px); }
|
|
.xph-stack-l a:hover .xph-hl { --part: 3px; }
|
|
}
|
|
.xph-stack-l a:hover > i, .xph-stack-l a:focus-visible > i { background: var(--ink); color: var(--x-on-ink); }
|
|
.xph-stack-l a { transition: transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.xph-stack-l a:active { transform: scale(.97); }
|
|
.xph-stack-l a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
|
|
|
|
/* change */
|
|
.xph-change { border-top: 1px solid var(--line); padding-top: clamp(120px, 11vw, 160px); }
|
|
.xph-change-g { align-items: start; }
|
|
.xph-change-l { grid-column: 1 / 6; }
|
|
.xph-change-l .pf-lede { margin-top: 28px; }
|
|
.xph-change-r { grid-column: 7 / 13; padding-top: 44px; }
|
|
.xph-qs { list-style: none; margin: 32px 0 0; padding: 0; }
|
|
.xph-qs li { display: grid; grid-template-columns: 40px 40px minmax(0, 1fr); align-items: center; padding: 20px 0; border-top: 1px solid var(--line); font-size: 21px; font-weight: 497; letter-spacing: -.012em; line-height: 1.25; color: var(--ink); }
|
|
.xph-qs li .pf-mono { font-size: 13px; font-weight: 500; letter-spacing: 0; color: light-dark(#737373, var(--muted-foreground)); }
|
|
.xph-qs li .xph-hx { color: light-dark(rgba(0, 0, 0, .55), var(--text-tertiary)); }
|
|
.xph-qs li:last-child { border-bottom: 1px solid var(--line); }
|
|
.xph .x-arrow { display: inline-flex; align-items: center; min-height: 44px; }
|
|
.xph-qs li { cursor: default; transition: color .15s cubic-bezier(0, 0, .2, 1); }
|
|
.xph-qs li:not([data-on]) { color: light-dark(#525252, var(--text-secondary)); }
|
|
.xph-qs li[data-on] .xph-hx { color: var(--ink); }
|
|
/* the question's trigram, large: the screen's one big thing; it sticks while the eight questions pass */
|
|
.xph-change-l { position: sticky; top: 96px; }
|
|
.xph-change-big { display: flex; align-items: flex-end; gap: 20px; margin-top: 56px; color: var(--ink); }
|
|
.xph-change-big .pf-mono { font-size: 13px; color: light-dark(#525252, var(--text-secondary)); font-variant-numeric: tabular-nums; }
|
|
@media (max-width: 899px) { .xph-change-l { position: static; } .xph-change-big { margin-top: 32px; } .xph-change-big .xph-hx { transform: scale(.7); transform-origin: 0 100%; } }
|
|
|
|
/* the belief statement, filling in word by word */
|
|
.xph-whole { padding-top: clamp(96px, 10vw, 160px); }
|
|
.xph-whole-t { max-width: 18ch; margin: 0; }
|
|
.xph-whole-b { color: light-dark(#737373, var(--muted-foreground)); }
|
|
/* the real line and its two-tone copy share one grid cell, so they wrap identically; the real one is see-through */
|
|
.xph-whole-t { display: grid; }
|
|
.xph-whole-t > span { grid-area: 1 / 1; }
|
|
.xph-whole-r { color: transparent; }
|
|
.xph-whole-v { pointer-events: none; }
|
|
|
|
/* the close: the one dark room */
|
|
.xph-close { color: #fafafa; }
|
|
.xph-grow { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(64px, 8vw, 120px); color: #f5f5f7; }
|
|
.xph-grow .xph-hx { color: #f5f5f7; }
|
|
.xph-g1 { --w: 72px; color: #f5f5f7; }
|
|
.xph-gto { flex: 0 1 64px; height: 1px; background: rgba(255, 255, 255, .22); }
|
|
.xph-g2 { display: grid; gap: 14px; }
|
|
.xph-g8 { display: grid; grid-template-columns: repeat(4, auto); gap: 14px 16px; }
|
|
.xph-g64 { display: grid; grid-template-columns: repeat(8, auto); gap: 10px 10px; }
|
|
.xph-stanza { max-width: 24ch; color: #f5f5f7 !important; }
|
|
.xph-stanza .pf-mask-l:last-child .pf-mask-in { color: rgba(245, 245, 247, .55); }
|
|
.xph-close-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 56px; }
|
|
.xph-close .x-arrow { color: #f5f5f7; }
|
|
.xph-close .pf-btn.solid { background: #f5f5f7; color: #0a0a0a; border-color: #f5f5f7; }
|
|
.xph-close .pf-btn.solid:hover { background: #fff; }
|
|
.xph-close .pf-btn:focus-visible, .xph-close .x-arrow:focus-visible { outline-color: #f5f5f7; }
|
|
|
|
@media (max-width: 1200px) {
|
|
.xph-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.xph-cap { font-size: 14px; margin-top: 16px; }
|
|
.xph-hero { height: auto; min-height: 0; padding-top: 16px; }
|
|
.xph-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; }
|
|
.xph-oracle-hx { --w: min(150px, 40vw) !important; order: -1; }
|
|
/* Hanzo's touch rule (layered !important) makes every button 44px tall, which turned the bars into blocks: each
|
|
button stays a 44px tap pad, the bar is drawn at its own thickness in the middle, and the pads overlap so the
|
|
lines keep the hexagram's spacing */
|
|
.xph-oracle-hx { gap: 0; }
|
|
.xph-oracle-hx .xph-hl { margin: -9px 0; }
|
|
.xph-oracle-hx .xph-hl i { top: 50%; bottom: auto; height: calc(var(--w) * .1); margin-top: calc(var(--w) * -.05); }
|
|
.xph-oracle-hx .xph-hl.hot::after { top: 50%; }
|
|
.xph-flank.l, .xph-flank.r { justify-items: center; text-align: center; }
|
|
.xph-flank.l b { justify-content: center; }
|
|
.xph-flank { justify-self: stretch; width: 100%; }
|
|
.xph-flank b, .xph-flank.r span { width: 100%; max-width: none; }
|
|
.xph-flank { gap: 6px; }
|
|
.xph-flank.r span { font-size: 15px; }
|
|
.xph-oracle-n { font-size: 14px; }
|
|
.xph-h1 { margin-top: 12px; }
|
|
.xph-h1 .pf-mask-l { display: block; }
|
|
.xph-h1 .pf-mask-l + .pf-mask-l { margin-left: 0; }
|
|
.xph-hero-a, .xph-lede, .xph-acts { grid-column: 1 / -1; }
|
|
.xph-lede { margin-top: 16px; font-size: 16px; }
|
|
.xph-acts { justify-content: flex-start; margin-top: 20px; order: 2; }
|
|
.xph-hero-a { order: 1; }
|
|
.xph-lede { order: 3; margin-top: 24px; }
|
|
.xph-acts .pf-btn { flex: 1 1 100%; }
|
|
.xph-big { grid-column: 1 / -1; max-width: none; }
|
|
.xph-one { grid-column: 1 / -1; justify-items: start; margin-top: 48px; --w: min(240px, 64vw); }
|
|
.xph-premise-h, .xph-premise-t { grid-column: 1 / -1; }
|
|
.xph-premise-t { margin-top: 24px; }
|
|
.xph-laws-t, .xph-laws-hint { grid-column: 1 / -1; }
|
|
.xph-laws-hint { justify-self: start; margin-top: 16px; font-size: 14px; }
|
|
/* phone: the hexagram and its caption sit beside each other above the law, the strip below at full width */
|
|
.xph-laws-g { margin-top: 32px; }
|
|
.xph-law-stage { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 0 48px; }
|
|
.xph-law-hx { --w: 104px; }
|
|
.xph-law-n { left: calc(100% + 12px); font-size: 12px; }
|
|
.xph-law-cap { font-size: 17px; min-height: 0; }
|
|
.xph-law-cap span { font-size: 14px; }
|
|
.xph-law-panel { grid-column: 1 / -1; margin-top: 32px; }
|
|
.xph-law-p { align-self: start; gap: 12px; }
|
|
.xph-law-p .xph-law-t { font-size: 24px; }
|
|
.xph-law-k { font-size: 14px; }
|
|
.xph-tl { margin-top: 32px; }
|
|
.xph-tl-name { display: none; }
|
|
.xph-tl-stops { height: 48px; }
|
|
.xph-tl-stops .pf-mono { font-size: 14px; }
|
|
.xph-pat-t, .xph-pat-l { grid-column: 1 / -1; }
|
|
.xph-pat-l { font-size: 17px; }
|
|
.xph-views { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
|
|
.xph-hint { font-size: 14px; }
|
|
.xph-grp { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px 0; }
|
|
.xph-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
|
|
.xph-tile { min-height: 0; gap: 6px; padding: 14px 8px 16px; background: light-dark(#f5f5f5, var(--muted)); }
|
|
.xph-tile .xph-hx { --w: 32px !important; margin-bottom: 4px; }
|
|
.xph-tile-t { font-size: 14px; letter-spacing: -.02em; }
|
|
.xph-tile-s { display: none; }
|
|
.xph-tile-n, .xph-grp-r { font-size: 14px; }
|
|
.xph-mx { grid-template-columns: minmax(0, 1fr); }
|
|
.xph-mx-side { position: static; }
|
|
.xph-mx-k span, .xph-mx-b span { font-size: 14px; }
|
|
.xph-lens-card { padding: 22px; border-radius: 22px; }
|
|
.xph-det-h { grid-template-columns: minmax(0, 1fr); gap: 20px; }
|
|
.xph-det-h .xph-hx { --w: 72px !important; }
|
|
.xph-method-l, .xph-steps { grid-column: 1 / -1; }
|
|
.xph-method-l { position: static; }
|
|
.xph-ring { width: min(280px, 80vw); margin: 40px auto 48px; }
|
|
.xph-steps button { grid-template-columns: 44px minmax(0, 1fr); padding: 22px 0; }
|
|
.xph-steps button .pf-mono { font-size: 14px; }
|
|
.xph-steps p { font-size: 16px; }
|
|
.xph-stack-l a { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: 6px 16px; padding: 24px 0; }
|
|
.xph-stack-l .xph-hx { --w: 28px !important; grid-row: span 2; align-self: start; margin-top: 6px; }
|
|
.xph-stack-l a > span:not(.xph-hx):not(.xph-stack-n) { grid-column: 2; font-size: 16px; }
|
|
.xph-stack-l a > i { grid-column: 3; grid-row: 1 / span 2; }
|
|
.xph-change-l, .xph-change-r { grid-column: 1 / -1; }
|
|
.xph-change-r { padding-top: 40px; }
|
|
.xph-qs li { grid-template-columns: 34px 32px minmax(0, 1fr); font-size: 17px; }
|
|
.xph-qs li .pf-mono { font-size: 14px; }
|
|
.xph-grow { flex-wrap: wrap; gap: 20px; }
|
|
.xph-gto { display: none; }
|
|
.xph-g64 { flex-basis: 100%; grid-template-columns: repeat(8, 1fr); }
|
|
.xph-close-acts .pf-btn { flex: 1 1 100%; }
|
|
.xph-sheet-nav { gap: 4px; }
|
|
}
|
|
|
|
/* narrow phones: three tiles can't hold "Contemplation" or "Breakthrough" whole, so the names get two columns */
|
|
@media (max-width: 370px) {
|
|
.xph-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.xph-hl i, .xph-law-n, .xph-law-cap, .xph-law-p, .xph-tl-rail i, .xph-tl-run, .xph-hand, .xph-stack-l a::before { transition-duration: .01s !important; }
|
|
.xph-one .xph-one-l i, .xph-g1 .xph-one-l i, .xph-law-row .xph-hl, .xph-hl.hot::after, .xph-cut, .xph-oracle-hx .xph-hl { animation: none !important; }
|
|
}
|
|
|
|
/* ---------- 9 Nov rebuild on Hanzo's new copy: introduction, explorer, categories, close ---------- */
|
|
.xph-hero-a .xph-cap { letter-spacing: .08em; }
|
|
.xph-intro { padding-top: clamp(72px, 8vw, 128px); }
|
|
.xph-intro-g { row-gap: 24px; align-items: start; }
|
|
.xph-intro-a { grid-column: 1 / 7; margin: 0; color: var(--ink); }
|
|
.xph-intro-b { grid-column: 8 / 13; margin: 0; }
|
|
.xph-intro .xph-big { margin: clamp(56px, 7vw, 112px) 0 0; max-width: 18ch; }
|
|
|
|
.xph-note { max-width: 68ch; margin: 0; color: light-dark(#525252, var(--text-secondary)); }
|
|
.xph-tabs { grid-template-columns: repeat(9, auto); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
|
|
.xph-tabs::-webkit-scrollbar { display: none; }
|
|
.xph-tabs button { padding: 0 14px; white-space: nowrap; }
|
|
|
|
.xph-ex { display: grid; grid-template-columns: minmax(0, 5.1fr) minmax(0, 6.9fr); gap: clamp(28px, 3.5vw, 56px); align-items: start; }
|
|
.xph-idx { display: grid; gap: 6px; }
|
|
.xph-idx-r { display: grid; grid-template-columns: 32px repeat(8, minmax(0, 1fr)); gap: 6px; align-items: center; transition: opacity .3s cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-idx.is-he .xph-idx-r { grid-template-columns: 52px repeat(8, minmax(0, 1fr)); }
|
|
.xph-idx-r.dim { opacity: .28; }
|
|
.xph-idx-k { font-size: 12px; letter-spacing: .04em; color: light-dark(#737373, var(--muted-foreground)); }
|
|
.xph-idx.is-he .xph-idx-k { font: 500 13px/1.2 var(--sans); letter-spacing: 0; }
|
|
.xph-idx-c { position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 58px; padding: 9px 4px 7px; border: 1px solid light-dark(rgba(0, 0, 0, .06), rgba(255, 255, 255, .06)); border-radius: 10px; background: light-dark(#f5f5f5, rgba(255, 255, 255, .025)); color: light-dark(#525252, var(--text-secondary)); cursor: pointer; transition: background-color 150ms cubic-bezier(0, 0, .2, 1), border-color 150ms cubic-bezier(0, 0, .2, 1), color 150ms cubic-bezier(0, 0, .2, 1), transform 120ms cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-idx.is-he .xph-idx-c { min-height: 70px; gap: 4px; padding: 8px 3px 6px; }
|
|
.xph-idx-c .xph-hx { --w: 22px !important; gap: 2px; color: currentColor; }
|
|
.xph-idx-c .xph-hl { height: 2px; }
|
|
.xph-idx-w { font: 600 11px/1.1 var(--sans); color: var(--ink); letter-spacing: 0; }
|
|
.xph-idx-c.on .xph-idx-w { color: inherit; }
|
|
.xph-idx-c .pf-mono { font-size: 11px; letter-spacing: .03em; opacity: .78; }
|
|
@media (hover: hover) { .xph-idx-c:hover { background: light-dark(#e5e5e5, rgba(255, 255, 255, .07)); border-color: light-dark(rgba(0, 0, 0, .14), rgba(255, 255, 255, .16)); color: var(--ink); } .xph-idx-c:hover .xph-hl { --part: 2px; } }
|
|
.xph-idx-c:active { transform: scale(.96); }
|
|
.xph-idx-c.on { background: var(--ink); border-color: var(--ink); color: light-dark(#fafafa, var(--primary-foreground)); box-shadow: 0 4px 16px rgba(0, 0, 0, .24); }
|
|
.xph-idx-c.on .pf-mono { opacity: 1; }
|
|
.xph-idx-c:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
.xph-ex-d { position: sticky; top: 96px; }
|
|
.xph-ex-d .xph-det { padding: clamp(24px, 2.8vw, 36px); border: 1px solid var(--line); background: light-dark(#fafafa, rgba(255, 255, 255, .025)); border-radius: 20px; }
|
|
.xph-det-h { gap: 24px; padding-bottom: 22px; }
|
|
.xph-det-h .xph-hx { gap: 5px; }
|
|
.xph-det-h .xph-hl { height: 7px; }
|
|
.xph-det-tri { margin: 0 0 8px; }
|
|
.xph-det-tri.is-he, .xph-row-p.is-he { letter-spacing: .02em; text-transform: none; font-size: 13px; }
|
|
.xph-det .xph-det-t { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; margin: 0 0 6px; }
|
|
.xph-det-s { font-size: 16px; line-height: 1.4; }
|
|
.xph-det-sum { margin: 22px 0 0; font-size: 18px; line-height: 1.45; font-weight: 497; letter-spacing: -.015em; color: var(--ink); max-width: 52ch; }
|
|
.xph-det-l { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; gap: 18px; }
|
|
.xph-det-l dd { font-size: 15px; line-height: 1.55; }
|
|
|
|
.xph-cats { overflow-x: clip; padding-top: clamp(64px, 7vw, 112px); }
|
|
.xph-grp[hidden] { display: none; }
|
|
.xph-grp { padding: 56px 0; }
|
|
.xph-grp-h .pf-title { margin: 0; }
|
|
.xph-grp-l { margin: 4px 0 0; max-width: 36ch; }
|
|
.xph-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
|
|
.xph-row { display: grid; grid-template-columns: 40px 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
|
|
.xph-row-n { font-size: 13px; color: light-dark(#737373, var(--muted-foreground)); }
|
|
.xph-row-t h3 { margin: 0; font-size: 17px; font-weight: 560; letter-spacing: -.01em; line-height: 1.25; }
|
|
.xph-row-p { margin: 2px 0 0; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: light-dark(#737373, var(--muted-foreground)); }
|
|
.xph-row-s { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: light-dark(#525252, var(--text-secondary)); max-width: 62ch; }
|
|
.xph-row-b { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: none; font: 500 14px/1 var(--sans); color: var(--ink); cursor: pointer; white-space: nowrap; transition: background-color 150ms cubic-bezier(0, 0, .2, 1), border-color 150ms cubic-bezier(0, 0, .2, 1), transform 120ms cubic-bezier(.4, 0, .2, 1); }
|
|
.xph-row-b svg { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
|
|
@media (hover: hover) { .xph-row:hover .xph-hl { --part: 3px; } .xph-row-b:hover { background: light-dark(#f5f5f5, var(--muted)); border-color: light-dark(#d4d4d4, var(--border-control)); } .xph-row-b:hover svg { transform: translateX(4px); } }
|
|
.xph-row-b:active { transform: scale(.97); }
|
|
.xph-row-b:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
.xph-sheet-n { font-size: 13px; letter-spacing: .06em; color: light-dark(#737373, var(--muted-foreground)); }
|
|
|
|
.xph-close-t { display: grid; gap: 16px; max-width: 64ch; margin-top: 40px; }
|
|
.xph-close-t .pf-body { margin: 0; color: rgba(245, 245, 247, .72); }
|
|
.xph-close-m { margin: 48px 0 0; font-size: clamp(21px, 2vw, 26px); line-height: 1.3; font-weight: 497; letter-spacing: -.02em; color: #f5f5f7; max-width: 30ch; }
|
|
.xph-close-m.dim { margin-top: 8px; color: rgba(245, 245, 247, .55); }
|
|
.xph-close-sig { margin: 32px 0 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 245, 247, .55); }
|
|
|
|
@media (max-width: 900px) {
|
|
.xph-intro-a, .xph-intro-b { grid-column: 1 / -1; }
|
|
.xph-ex { grid-template-columns: minmax(0, 1fr); }
|
|
.xph-ex-d { position: static; min-height: 0; }
|
|
.xph-idx-r { grid-template-columns: 28px repeat(8, minmax(0, 1fr)); gap: 4px; }
|
|
.xph-idx-c { min-height: 52px; padding: 8px 0 6px; border-radius: 10px; }
|
|
.xph-idx-c .pf-mono { font-size: 11px; }
|
|
.xph-row { grid-template-columns: 32px minmax(0, 1fr); row-gap: 12px; }
|
|
.xph-row .xph-hx { display: none; }
|
|
.xph-row-b { grid-column: 2; justify-self: start; }
|
|
}
|
|
.xph-intro-c { margin: 24px 0 0; max-width: 40ch; color: light-dark(#525252, var(--text-secondary)); }
|
|
/* rhythm: the explorer follows the introduction without a dead band; each category's head stays beside its rows */
|
|
.pf-r .xph-intro { padding-bottom: 0; }
|
|
.pf-r .xph-pat { padding-top: clamp(72px, 8vw, 120px); }
|
|
.pf-r .xph-cats { padding-top: clamp(48px, 5vw, 80px); }
|
|
.xph-idx-k { white-space: nowrap; }
|
|
@media (min-width: 901px) { .xph-grp-h { position: sticky; top: 96px; align-self: start; } }
|
|
@media (max-width: 900px) {
|
|
.xph-idx-r { grid-template-columns: 34px repeat(8, minmax(0, 1fr)); }
|
|
.xph-idx-k { font-size: 11px; letter-spacing: 0; }
|
|
.xph-row { align-items: start; }
|
|
.xph-row-n { padding-top: 3px; }
|
|
.xph-ex-d { scroll-margin-top: 80px; }
|
|
}
|
|
/* phone: the forced 44px pads overlap by 18px (see the 900px block); clip each to its own 26px band, split at the middle
|
|
of each gap, so a tap anywhere on a bar is that bar's (clip-path bounds hit-testing too; the dot sits inside the band) */
|
|
@media (max-width: 900px) { .xph-oracle-hx button.xph-hl::before { inset: 0 -8px; } .xph-oracle-hx button.xph-hl { clip-path: inset(9px -48px); } }
|