/* Tokens mirror poliscope.vote /play (play.css): --ci-ink #090d18, --ci-cobalt #03c, --ci-bg #f5f6f8,
   PulseInter/Inter, 14px cards with a 0.67px ink edge and a hard 3px ink drop (no blur). */
:root {
  --ink: #090d18;
  --paper: #ffffff;
  --band: #f5f6f8;
  --line: color-mix(in srgb, #8b929f 45%, #fff);
  --rule: #090d18;
  --muted: #505968;
  --cobalt: #0033cc;
  --cobalt-wash: color-mix(in srgb, #0033cc 8%, #fff);
  --coral: #fe492a;
  --edge: #090d18;
  --r-card: 14px;
  --r-control: 10px;
  --sans: "PulseInter", Inter, ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --measure: 68ch;
  color-scheme: light;
}
/* Apple dark mode, exactly as poliscope.vote (--dk-* tokens): black page, #1d1d1f cards, #2c2c2e raised,
   #48484a edges, #0071e3 accent, #2997ff links, SF-style greys. */
body.dark {
  --ink: #f5f5f7;
  --paper: #000000;
  --card: #1d1d1f;
  --band: #1d1d1f;
  --raised: #2c2c2e;
  --line: hsla(0, 0%, 100%, .1);
  --rule: #48484a;
  --muted: #a1a1a6;
  --cobalt: #2997ff;
  --cobalt-wash: #2c2c2e;
  --accent: #0071e3;
  --edge: #000000;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body.dark .btn { background: var(--accent); color: #fff; box-shadow: 0 3px 0 #000; }
body.dark .pcard, body.dark details.ax, body.dark .agree-row { background: var(--card); border-color: #48484a; box-shadow: 0 3px 0 #000; }
body.dark .chip { background: #1d1d1f; border-color: #48484a; }
body.dark .lane-switch { border-color: #48484a; }
body.dark .lane-switch button { background: #1d1d1f; color: #f5f5f7; }
body.dark .lane-switch button[aria-pressed="true"] { background: #f5f5f7; color: #000; }
body.dark .arrows button { background: #1d1d1f; border-color: #48484a; }
body.dark .acad div { border-color: #48484a; background: #1d1d1f; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); }
a { color: var(--cobalt); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
img { display: block; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { transition: none !important; } }

/* ---------- site header: measured from the live poliscope.vote AppShell v2 header ---------- */
.sn { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 2px solid #000; font-family: system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; }
.sn-strip { height: 8px; background: #0b0f19; }
.sn-row { display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 clamp(12px, 3vw, 28px); }
.sn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sn-word { display: flex; align-items: center; gap: 9px; flex-shrink: 0; padding-right: 16px; border-right: 1px solid #000; text-decoration: none; }
.sn-word img { width: 18px; height: 23px; }
.sn-word span { font: 900 20px/1 "Arial Black", system-ui, sans-serif; letter-spacing: -0.02em; color: #0f172a; text-transform: uppercase; white-space: nowrap; }
.sn-nav { display: flex; align-items: center; flex-shrink: 0; }
.sn-tab { position: relative; display: inline-flex; align-items: center; gap: 3px; padding: 0.5em 0.85em; min-height: 38px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase; color: #555; text-decoration: none; white-space: nowrap; }
.sn-tab:hover { color: #0f172a; }
.sn-chev { width: 12px; height: 12px; opacity: .55; margin-left: 1px; }
.sn-tab[aria-current="page"] { color: #0033cc; }
.sn-tab[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 22px; bottom: -1px; height: 3px; background: #0033cc; border-radius: 2px; }
.sn-live { margin-left: 6px; padding: 1px 4px; background: #cc0000; color: #fff; font-size: 8.5px; font-weight: 900; letter-spacing: 0.1em; line-height: 1.35; }
.sn-donate { margin-left: 8px; color: #16110f; background: #fe492a; border: 1px solid #fe492a; border-radius: 10px; box-shadow: 0 3px 0 #090d18; }
.sn-donate:hover { color: #16110f; }
.sn-search { position: relative; flex: 1; min-width: 0; max-width: 480px; margin: 0 0 0 auto; display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 3px 0 10px; background: rgba(0, 0, 0, .03); border: 1px solid #000; border-radius: 8px; box-shadow: 0 2px 0 #000; }
.sn-ico { width: 15px; height: 15px; color: #555; }
.sn-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #0f172a; font: 400 13.5px system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; }
.sn-search button { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 5px; background: transparent; color: #555; cursor: pointer; }
.sn-search button svg { width: 16px; height: 16px; }
.sn-account { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sn-theme { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1.5px solid #000; background: rgba(0, 0, 0, .03); color: #0f172a; box-shadow: 0 2px 0 #000; font: 700 10px system-ui, -apple-system, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.sn-theme svg { width: 14px; height: 14px; stroke-width: 2.25; }
.sn-sun { display: none; }
.sn-signin { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid #000; border-radius: 8px; background: #0f172a; color: #fff; box-shadow: 0 2px 0 #000; font: 800 11px system-ui, -apple-system, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.sn-signin svg { width: 14px; height: 14px; }
body.dark .sn { background: #000; border-bottom-color: #48484a; }
body.dark .sn-strip { background: #000; }
body.dark .sn-word { border-right-color: rgba(255, 255, 255, .18); }
body.dark .sn-word span { color: #f5f5f7; }
body.dark .sn-tab { color: #a1a1a6; }
body.dark .sn-tab:hover, body.dark .sn-tab[aria-current="page"] { color: #f5f5f7; }
body.dark .sn-tab[aria-current="page"]::after { background: #f5f5f7; }
body.dark .sn-live { background: #d70015; }
body.dark .sn-donate { color: #16110f; box-shadow: 0 3px 0 #1d1d1f; }
body.dark .sn-search { background: #2c2c2e; border-color: #48484a; box-shadow: 0 2px 0 #1d1d1f; }
body.dark .sn-search input { color: #f5f5f7; }
body.dark .sn-ico, body.dark .sn-search button { color: #a1a1a6; }
body.dark .sn-theme, body.dark .sn-signin { background: rgba(255, 255, 255, .12); color: #f5f5f7; border: 1px solid #48484a; box-shadow: 0 2px 0 #1d1d1f; }
body.dark .sn-moon { display: none; }
body.dark .sn-sun { display: block; }
@media (max-width: 1180px) { .sn-search { display: none; } .sn-account { margin-left: auto; } }
@media (max-width: 520px) { .sn-word { border-right: 0; padding-right: 0; } .sn-signin { padding: 0 9px; } .sn-theme { padding: 0 9px; } }

main { outline: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px; padding-top: 28px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 6px; }
.eyebrow { display: block; font: 800 11px/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cobalt); }

/* buttons: ink fill, hard drop */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: var(--r-control); background: var(--ink); color: var(--paper); font: 800 13px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; box-shadow: 0 3px 0 var(--cobalt); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--cobalt); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--cobalt); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--paper); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fam, var(--cobalt)); }
body.dark .chip .dot { background: var(--cobalt); }

/* ---------- index hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 40px; align-items: center; padding: 18px 0 40px; }
.hero h1 { margin: 10px 0 14px; font: 800 clamp(2.4rem, 4.4vw, 3.6rem)/1.04 var(--sans); letter-spacing: -0.03em; }
.hero p { margin: 0 0 18px; font-size: 1.15rem; line-height: 1.55; max-width: 52ch; }
.hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero-art { display: grid; place-items: center; }
.hero-art img { width: 100%; max-width: 440px; height: auto; }
/* flat compass chart: four family sides, authored pattern positions */
.cchart { margin: 0; width: 100%; max-width: 520px; }
.cchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.cchart a, .cchart a:hover { text-decoration: none; }
.cc-wedge { opacity: .4; }
.cc-grid line { stroke: color-mix(in srgb, var(--ink) 14%, transparent); stroke-width: 1; }
.cc-frame { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.cc-axisline { stroke: var(--ink); stroke-width: 2; }
.cc-axis { font: 800 17px var(--sans); text-anchor: middle; dominant-baseline: middle; letter-spacing: -0.01em; }
.cc-dot circle { stroke: var(--paper); stroke-width: 3; paint-order: stroke; }
.cc-dot:hover circle { r: 13; }
.cc-label { font: 700 14px var(--sans); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.cchart figcaption { margin: 8px auto 0; max-width: 46ch; text-align: center; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* ---------- 16P-style pattern directory ---------- */
.directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 36px; padding: 34px; margin-bottom: 56px; background: var(--band); border-radius: var(--r-card); }
.dir-fam h2 { margin: 0 0 4px; font: 800 1.15rem/1.25 var(--sans); }
.dir-fam p { margin: 0 0 12px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.dir-btns { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.dir-btn { display: grid; gap: 3px; padding: 12px 10px; border-radius: var(--r-control); background: var(--fam); color: #fff; text-decoration: none; text-align: center; font-weight: 700; font-size: 15px; line-height: 1.2; box-shadow: 0 3px 0 color-mix(in srgb, var(--fam) 55%, #000); transition: transform .15s var(--ease); }
.dir-btn small { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: .85; }
.dir-btn:hover { transform: translateY(-2px); }

/* ---------- family sections with pattern cards ---------- */
.family { padding: 0 0 56px; scroll-margin-top: 72px; }
.family-head { display: grid; gap: 6px; padding-top: 14px; border-top: 2px solid var(--ink); margin-bottom: 24px; }
.family-head h2 { margin: 0; font: 800 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--sans); letter-spacing: -0.02em; }
.family-head h2 i { font-style: normal; color: var(--fam-ink); }
.family-head p { margin: 0; color: var(--muted); max-width: var(--measure); }
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 20px; }
.pcard { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); background: var(--paper); border: 0.67px solid var(--edge); border-radius: var(--r-card); box-shadow: 0 3px 0 var(--edge); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--edge); }
.pcard .art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pcard .art img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.pcard .meta-line { margin: 4px 0 0; font: 800 11px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fam-ink); }
.pcard .body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.pcard h3 { margin: 0; font: 800 1.25rem/1.2 var(--sans); }
.pcard .sum { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ---------- still being placed ---------- */
.pending { padding: 40px 0 56px; }
.pending-head { padding-top: 14px; border-top: 2px solid var(--ink); margin-bottom: 18px; }
.pending-head h2 { margin: 0 0 6px; font: 800 1.6rem/1.15 var(--sans); }
.pending-head p { margin: 0; color: var(--muted); max-width: var(--measure); }
.figs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.fig { display: grid; justify-items: center; align-content: start; gap: 6px; text-decoration: none; color: var(--ink); text-align: center; padding: 10px 6px 12px; border-radius: var(--r-card); transition: background .2s var(--ease); }
.fig:hover { background: var(--band); }
.fig .stage { position: relative; width: 100%; aspect-ratio: 4 / 5; }
/* ground shadow: thumbs.py anchors every avatar so the soles touch the image bottom, centred */
.fig .stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 6px; height: 12px; border-radius: 50%; background: rgba(0, 0, 0, .14); z-index: 0; }
body.dark .fig .stage::after { background: rgba(255, 255, 255, .12); }
.fig .stage img { position: absolute; left: 0; right: 0; top: 0; bottom: 12px; width: 100%; height: calc(100% - 12px); object-fit: contain; object-position: bottom; z-index: 1; }
.fig b { font-size: 15px; line-height: 1.25; }
.fig small { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.fig .tag { font: 800 11px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--fam, #505968); padding: 4px 8px; border-radius: 6px; margin-top: 2px; }
.fig .tag.none { background: transparent; color: var(--muted); padding: 0; }

.method-band { background: var(--band); padding: 44px 0 64px; }
.method-band h2 { margin: 0 0 10px; font: 800 1.4rem/1.2 var(--sans); }
.method-band p { margin: 0 0 12px; max-width: var(--measure); color: var(--muted); }

/* ---------- pattern + figure page header (16P type header) ---------- */
.type-hero { position: relative; background: var(--fam-wash); margin-top: 18px; overflow: hidden; }
.type-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; background: var(--paper); clip-path: polygon(0 70%, 22% 30%, 58% 85%, 100% 20%, 100% 100%, 0 100%); }
body.dark .type-hero { background: #1d1d1f; }
.type-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; padding-top: 34px; padding-bottom: 54px; }
.poles { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.poles span { font: 800 11px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--fam, var(--cobalt)); color: #fff; }
.poles span.party { background: var(--ink); color: var(--paper); }
.type-hero h1 { margin: 0; font: 800 clamp(2.6rem, 5vw, 4.2rem)/1.02 var(--sans); letter-spacing: -0.035em; }
.type-hero .sub { margin: 8px 0 14px; font: 800 clamp(1.3rem, 2.2vw, 1.8rem)/1.2 var(--sans); color: var(--fam-ink); }
body.dark .type-hero .sub, body.dark .family-head h2 i, body.dark .pcard .meta-line { color: var(--fam-bright); }
.type-hero .lede { margin: 0; font-size: 1.15rem; line-height: 1.55; max-width: 46ch; }
.type-hero .lede + .btn { margin-top: 22px; }
.type-hero .art img { width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.type-hero.person .art { position: relative; justify-self: center; padding-bottom: 14px; }
.type-hero.person .art img { position: relative; z-index: 1; width: auto; max-width: 100%; max-height: 460px; }
.type-hero.person .art::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 7px; height: 16px; border-radius: 50%; background: rgba(0, 0, 0, .14); }
body.dark .type-hero.person .art::after { background: rgba(255, 255, 255, .12); }

/* ---------- explore layout ---------- */
.explore { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 52px; padding-top: 40px; padding-bottom: 64px; }
.side { position: sticky; top: 78px; align-self: start; }
.side h2 { margin: 0 0 12px; font: 800 1.2rem/1.2 var(--sans); }
.side a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 0; }
.side a::after { content: "→"; color: var(--muted); }
.side a.cur { background: var(--fam, var(--cobalt)); color: #fff; font-weight: 800; }
.side a.cur::after { color: #fff; }
.side a:not(.cur):hover { background: var(--band); }
.sec { scroll-margin-top: 78px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.sec:last-child { border-bottom: 0; margin-bottom: 0; }
.sec > h2 { margin: 0 0 18px; font: 800 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--sans); letter-spacing: -0.025em; }
.sec > h3 { margin: 22px 0 8px; font: 800 11px/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sec p { margin: 0 0 14px; max-width: var(--measure); font-size: 1.05rem; line-height: 1.65; }
.muted { color: var(--muted); }
.quote { margin: 22px 0; padding: 4px 0 4px 22px; box-shadow: inset 3px 0 0 var(--fam, var(--cobalt)); font: 700 1.35rem/1.35 var(--sans); max-width: 40ch; }

/* dimension scales */
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; }
.mk-record, .mk-pattern { background: var(--fam, var(--cobalt)); }
.mk-statements { border: 2px solid var(--ink); background: var(--paper); }
.dim { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.dim:first-of-type { border-top: 0; }
.dim-t { font-weight: 700; font-size: 15px; }
.dim-t small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.dim-s { display: grid; gap: 7px; }
.ends { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.track { position: relative; height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 8%, transparent); margin: 0 8px; }
.track::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: color-mix(in srgb, var(--ink) 30%, transparent); }
.bar { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--fam); opacity: .9; }
.mk { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; }
.dim-n { font-size: 12.5px; color: var(--muted); }

/* shared answers / evidence */
.agree { display: grid; gap: 12px; }
.agree-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 14px 18px; border: 0.67px solid var(--edge); border-radius: var(--r-card); box-shadow: 0 3px 0 var(--edge); background: var(--paper); }
.agree-row .q { margin: 0; font-size: 14px; color: var(--muted); }
.agree-row .a { margin: 0; font-weight: 700; }
.agree-row .n { grid-row: span 2; align-self: center; font: 800 1.2rem/1 var(--sans); color: var(--fam-ink); font-variant-numeric: tabular-nums; text-align: right; }
.agree-row .n small { display: block; font: 600 11px/1.3 var(--sans); color: var(--muted); letter-spacing: 0.04em; }
.lane-switch { display: inline-flex; border: 1px solid var(--ink); border-radius: var(--r-control); overflow: hidden; margin: 0 0 18px; }
.lane-switch button { font: 800 12px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 14px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; }
.lane-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
details.ax { border: 0.67px solid var(--edge); border-radius: var(--r-card); background: var(--paper); margin-bottom: 12px; box-shadow: 0 3px 0 var(--edge); }
details.ax > summary { cursor: pointer; padding: 14px 18px; font-weight: 800; display: flex; gap: 12px; align-items: center; list-style: none; }
details.ax > summary::-webkit-details-marker { display: none; }
details.ax > summary span { font-weight: 600; color: var(--muted); font-size: 13px; margin-left: auto; }
details.ax > summary::after { content: "+"; font-weight: 800; color: var(--muted); }
details.ax[open] > summary::after { content: "−"; }
.ans { padding: 14px 18px 16px; border-top: 1px solid var(--line); }
.ans .q { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.ans .a { margin: 0 0 6px; font-weight: 700; }
.ans .why { margin: 0 0 10px; max-width: var(--measure); font-size: 15px; }
.ev { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.ev li { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.ev .k { flex: none; font: 800 10px/1.6 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; padding: 0 6px; border-radius: 4px; background: var(--band); color: var(--muted); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0 0 8px; font-size: 14.5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.acad { display: grid; gap: 12px; }
.acad div { border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 18px; font-size: 14.5px; color: var(--muted); }
.acad b { display: block; color: var(--ink); margin-bottom: 4px; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.related .pcard .art { aspect-ratio: 16 / 8; }

/* ---------- "X you may know" carousel ---------- */
.know { position: relative; background: var(--band); padding: 70px 0 56px; }
body.dark .know { background: #1d1d1f; }
.know::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 46px; background: var(--paper); clip-path: polygon(0 0, 100% 0, 100% 20%, 72% 80%, 40% 30%, 0 75%); }
.know h2 { margin: 0 0 28px; text-align: center; font: 800 clamp(1.8rem, 3vw, 2.5rem)/1.15 var(--sans); letter-spacing: -0.02em; }
/* Fixed-width columns: a pattern with one or two figures keeps them at card size
   (1fr stretched a lone figure across the whole row), centred until the row scrolls. */
.track-x { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; justify-content: safe center; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 4px 10px; scrollbar-width: none; }
.track-x::-webkit-scrollbar { display: none; }
.track-x .fig { scroll-snap-align: start; }
.track-x .fig .stage { aspect-ratio: 4 / 5; }
.track-x .fig b { font-size: 18px; font-weight: 800; color: var(--fam-ink); }
body.dark .track-x .fig b { color: var(--fam-bright); }
.track-x .fig small { font-size: 13.5px; color: var(--ink); opacity: .75; }
.arrows { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 18px; cursor: pointer; }
.arrows button:disabled { opacity: .35; cursor: default; }
.know .empty { text-align: center; color: var(--muted); }

@media (max-width: 920px) {
  .sn-nav { display: none; }
  .hero, .type-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .directory { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .explore { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .side { position: static; }
  .dim { grid-template-columns: minmax(0, 1fr); }
  .track-x { grid-auto-columns: 44%; }
}
