/* ------------------------------------------------------------------
   Design system. Gallery-bright: white walls, near-black ink, one blue.

   ONE typeface (Inter). ONE accent (ultramarine). Corners are small (6 / 10px), never pills.
   Colour has a job: ink is for reading, blue is for "this is the thing" (your pick, the right
   answer, the data). Every heatmap and bar uses the same blue ramp, so "darker = more" everywhere.

   Type scale (px at 16): 13 small · 16 body · 20 subhead · 30-40 title · 44-76 display · stat 40-60
   Weights: 400 for reading, 600 for everything that leads. Numbers are tabular.
   Space: 4 / 8 / 16 / 24 / 40 / 64 / 96      Radius: 6 / 10
   ------------------------------------------------------------------ */
:root {
  --bg: #ffffff;
  --surface: #f4f4f1;       /* quiet panels, empty heat cells */
  --line: #e4e4df;
  --ink: #111116;
  --ink-2: #5a5a66;
  --accent: #2338e0;
  --accent-ink: #ffffff;
  --accent-soft: #e8ebfd;
  --bar: #d9d9d3;           /* data that is not the point */
  --land: #ececE7;
  --sun: #f5b82e;           /* logo only */

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-s: .8125rem;
  --t-m: 1rem;
  --t-l: 1.25rem;
  --t-xl: clamp(1.75rem, 3.4vw, 2.5rem);
  --t-display: clamp(2.875rem, 8vw, 4.75rem);
  --t-stat: clamp(2.5rem, 5vw, 3.75rem);

  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px; --s-5: 40px; --s-6: 64px; --s-7: 96px;
  --r-s: 6px; --r-m: 10px;
  --measure: 1120px;
  --header: 64px;
  --control: 48px;
  --stage: clamp(420px, 66vh, 600px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e12;
    --surface: #18181f;
    --line: #2a2a34;
    --ink: #f3f3f5;
    --ink-2: #a2a2b0;
    --accent: #8493ff;
    --accent-ink: #0e0e12;
    --accent-soft: #232846;
    --bar: #33333f;
    --land: #20202a;
    --sun: #f5b82e;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-m)/1.5 var(--font); font-feature-settings: "tnum" 1, "cv11" 1; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
img { max-width: 100%; }
p { margin: 0; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s-3); top: -60px; z-index: 30; background: var(--ink); color: var(--bg); padding: var(--s-2) var(--s-3); border-radius: var(--r-s); }
.skip:focus { top: var(--s-2); }

/* ---- type roles ---- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: var(--t-display); line-height: 1; letter-spacing: -.04em; font-weight: 650; }
h2 { font-size: var(--t-xl); line-height: 1.1; letter-spacing: -.03em; }
.q { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.025em; }
h3 { font-size: var(--t-l); line-height: 1.25; }
h4 { font-size: var(--t-m); line-height: 1.3; letter-spacing: -.01em; }
.lede { font-size: var(--t-l); line-height: 1.4; font-weight: 400; letter-spacing: -.01em; text-wrap: pretty; }
.small { font-size: var(--t-s); }
.dim { color: var(--ink-2); }

/* ---- frame ---- */
.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: var(--s-4); width: 100%; }

.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--header);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: max(var(--s-4), calc((100vw - var(--measure)) / 2 + var(--s-4)));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--t-l); font-weight: 650; text-decoration: none; letter-spacing: -.03em; }
.brand:hover { color: var(--ink); }
.mark { width: 28px; height: 28px; }
.mark .m-frame { fill: var(--accent); }
.mark .m-hill { fill: var(--ink); }
.mark .m-sun { fill: var(--sun); }
.top nav { display: flex; gap: var(--s-1); }
.top nav a { text-decoration: none; padding: var(--s-2) var(--s-3); border-radius: var(--r-s); color: var(--ink-2); font-size: var(--t-s); font-weight: 500; }
.top nav a:hover { color: var(--ink); }
.top nav a[aria-current="true"] { color: var(--ink); background: var(--surface); }
@media (max-width: 520px) { .brand span { display: none; } }

.screen { min-height: 100dvh; padding: calc(var(--header) + var(--s-4)) 0 var(--s-5); display: flex; flex-direction: column; justify-content: center; }
.state { padding-block: var(--s-6); }

/* ---- controls: one family. Same height, same radius ---- */
.btn {
  min-height: var(--control); padding: 0 var(--s-4); border: 0; border-radius: var(--r-s);
  background: var(--accent); color: var(--accent-ink); font-size: var(--t-m); font-weight: 600; letter-spacing: -.01em;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  transition: background .15s, transform .1s;
}
.btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.quiet:hover:not(:disabled) { background: var(--surface); color: var(--ink); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.linkbtn:hover { color: var(--accent); }
.error { color: #c4262e; margin-top: var(--s-2); }
@media (prefers-color-scheme: dark) { .error { color: #ff8a8f; } }

/* chips: things you pick */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chips button {
  min-height: 44px; padding: 0 var(--s-3); border: 0; border-radius: var(--r-s);
  background: var(--surface); font-size: var(--t-m); font-weight: 500; text-transform: capitalize;
  transition: background .12s, color .12s;
}
.chips button:hover { background: var(--accent-soft); }
.chips button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.chips.tall { display: grid; grid-template-columns: repeat(2, 1fr); }
.chips.tall button { min-height: 52px; text-align: left; text-transform: none; padding-inline: var(--s-3); }

input[type="text"] { width: 100%; min-height: 56px; padding: 0 var(--s-3); background: var(--surface); border: 0; border-bottom: 2px solid var(--line); border-radius: var(--r-s) var(--r-s) 0 0; font-size: var(--t-l); letter-spacing: -.01em; }
input::placeholder { color: var(--ink-2); opacity: .55; }
input:focus { outline: none; border-bottom-color: var(--accent); background: var(--accent-soft); }

/* ---- 1 · pitch ---- */
.pitch-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .pitch-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s-6); } }
.pitch-copy .lede { margin: var(--s-4) 0 var(--s-5); max-width: 22em; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.proof { margin-top: var(--s-4); font-variant-numeric: tabular-nums; }
.proof b { color: var(--ink); font-weight: 600; }

.mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.mosaic li:nth-child(3n + 2) { transform: translateY(var(--s-4)); }
.mosaic img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-s); background: var(--surface); }
@media (max-width: 899px) {
  .mosaic li:nth-child(n + 4) { display: none; }
  .mosaic li:nth-child(3n + 2) { transform: none; }
}
@media (max-width: 899px) and (max-height: 700px) { .mosaic { display: none; } }

/* ---- 2 · the game ---- */
.game { display: grid; gap: var(--s-4); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) {
  .game { grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr); gap: var(--s-6); }
  .look { position: sticky; top: calc(var(--header) + var(--s-4)); }
}
.look { margin: 0; }
.frame { height: var(--stage); display: flex; align-items: center; justify-content: center; padding: var(--s-4); background: var(--surface); border-radius: var(--r-m); }
.frame img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 24px rgba(0, 0, 0, .12); }
.look figcaption { margin-top: var(--s-3); display: flex; justify-content: space-between; gap: var(--s-3); }
#score { color: var(--ink); font-weight: 500; }
@media (max-width: 879px) {
  .frame { height: clamp(180px, 28dvh, 300px); padding: var(--s-3); }
}

.panel { display: flex; flex-direction: column; min-height: var(--stage); }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-5); min-height: 24px; }
.steps { display: inline-flex; align-items: center; gap: var(--s-3); }
.segs { display: inline-flex; gap: 3px; }
.segs i { width: 20px; height: 4px; border-radius: 2px; background: var(--line); transition: background .2s; }
.segs i.done { background: var(--ink); }
.segs i.now { background: var(--accent); }

/* All steps share one grid cell, so the panel is always as tall as its tallest step. */
.panel-body { flex: 1; display: grid; align-content: start; }
.step { grid-area: 1 / 1; min-width: 0; }
.step[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.step.reveal[hidden] { display: none !important; }
.q { margin-bottom: var(--s-2); }
.hint { margin-bottom: var(--s-4); }
.step > :last-child { margin-bottom: 0; }

.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-2); margin-top: var(--s-5); }
.scale button { height: 72px; border-radius: var(--r-s); border: 0; background: var(--surface); font-size: var(--t-l); font-weight: 600; transition: background .12s, color .12s; }
.scale button:hover { background: var(--accent-soft); }
.scale button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.scale-ends { display: flex; justify-content: space-between; margin-top: var(--s-2); }

.panel-actions { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-top: var(--s-5); }
.panel-actions .btn { flex: 0 0 auto; min-width: 6.5rem; }
#next { min-width: 11rem; }
.panel-actions .btn.quiet[hidden] { display: inline-flex !important; visibility: hidden; }
@media (max-width: 879px) {
  .panel { min-height: 0; }
  .panel-top { margin-bottom: var(--s-4); }
  #next { flex: 1; min-width: 0; }
}

/* reveal (lives inside the same panel) */
.reveal-title { margin-bottom: var(--s-2); }
.crowd-block { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.crowd-block h4 { margin-bottom: var(--s-1); }
.crowd-block > .verdict { font-size: var(--t-l); line-height: 1.3; letter-spacing: -.015em; font-weight: 600; margin-bottom: var(--s-1); }
.crowd-block > .verdict .right { color: var(--accent); }
.crowd-block > p { color: var(--ink-2); margin-bottom: var(--s-3); }
.crowd-block > p.verdict { color: var(--ink); margin-bottom: var(--s-1); }

/* horizontal bars: label, bar, number */
.bars { display: grid; gap: var(--s-2); }
.bar-row { display: grid; grid-template-columns: minmax(0, 9.5rem) 1fr 3rem; align-items: center; gap: var(--s-3); font-size: var(--t-s); }
.bar-row .name { display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
.bar-row .name span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row .track { height: 8px; background: var(--surface); border-radius: 4px; overflow: hidden; }
.bar-row .fill { display: block; height: 100%; border-radius: 4px; background: var(--bar); min-width: 2px; }
.bar-row.truth .fill { background: var(--accent); }
.bar-row .num { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tag { flex: none; font-size: 11px; font-weight: 600; line-height: 1; padding: 3px 5px; border-radius: 4px; background: var(--ink); color: var(--bg); }
.tag.answer { background: var(--accent); color: var(--accent-ink); }
.legend { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); font-size: var(--t-s); color: var(--ink-2); margin-top: var(--s-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--bar); }
.legend i.a { background: var(--accent); }
.legend i.tick { width: 2px; height: 12px; border-radius: 0; background: var(--ink); }

.wordline { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); font-size: var(--t-l); letter-spacing: -.01em; }
.wordline span { color: var(--ink); } .wordline small { font-size: var(--t-s); color: var(--ink-2); margin-left: 3px; }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.quotes li { font-size: var(--t-l); letter-spacing: -.015em; line-height: 1.3; }
.quotes li::before { content: "\201C"; color: var(--accent); } .quotes li::after { content: "\201D"; color: var(--accent); }

#done .q { margin-bottom: var(--s-2); }
#done .lede { margin-bottom: var(--s-4); }

/* ---- 3 · insights ---- */
.insights { border-top: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: var(--s-5); }
.section-head h2 { margin-bottom: var(--s-3); font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -.04em; }
.section-head .lede { color: var(--ink-2); }

/* each result is its own screen: full height, centred, and the page settles on it as you scroll */
html { scroll-snap-type: y proximity; }
.screen, .insights .block { scroll-snap-align: start; }
.insights .block { min-height: 100dvh; padding: calc(var(--header) + var(--s-4)) 0 var(--s-5); display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); }
.insights .block.thin { min-height: 0; padding-block: var(--s-6); }
.insights .block.first { border-top: 0; }
.block-head { max-width: 38em; margin-bottom: var(--s-5); }
.block-head h3 { font-size: clamp(1.375rem, 2.6vw, 1.875rem); line-height: 1.15; letter-spacing: -.03em; margin-bottom: var(--s-2); }
.block-head p { color: var(--ink-2); text-wrap: pretty; }
.block-head b { color: var(--ink); font-weight: 600; }
.sub { font-size: var(--t-s); font-weight: 600; color: var(--ink-2); margin: 0 0 var(--s-3); letter-spacing: 0; }

/* headline numbers */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-4); padding-block: var(--s-4); border-block: 1px solid var(--line); margin-bottom: var(--s-5); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat .n { display: block; font-size: var(--t-stat); line-height: 1; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stat .meter { height: 4px; background: var(--surface); border-radius: 2px; margin-top: var(--s-3); overflow: hidden; }
.stat .meter i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.stat .l { display: block; margin-top: var(--s-2); font-size: var(--t-s); color: var(--ink-2); }

.you { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-5); padding: var(--s-3) var(--s-4); background: var(--accent-soft); border-radius: var(--r-m); margin: 0; }
.you b { font-weight: 600; } .you .tag { align-self: center; }

.split { display: grid; gap: var(--s-5) var(--s-6); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }

/* world map */
.map { position: relative; }
.map svg { display: block; width: 100%; height: auto; }
.map path { fill: var(--land); stroke: var(--bg); stroke-width: .6; vector-effect: non-scaling-stroke; }
.map path.has { fill: color-mix(in oklab, var(--accent) calc(var(--v) * 100%), var(--land)); }
.map path.has:hover { stroke: var(--ink); stroke-width: 1.5; }
.ramp { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-s); color: var(--ink-2); margin-top: var(--s-3); }
.ramp i { width: 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 12%, var(--land)), var(--accent)); }
.rank { display: grid; gap: var(--s-3); }

/* activity */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .bar { fill: var(--accent); }
.chart .bar.off { fill: var(--bar); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart text { fill: var(--ink-2); font: 500 11px var(--font); font-variant-numeric: tabular-nums; }
.chart .peak { fill: var(--ink); font-weight: 600; }
.chart .hit { fill: transparent; }
.chart .hit:hover + .bar, .chart g:hover .bar { fill: var(--ink); }

/* expected vs actual */
.vs { display: grid; gap: var(--s-3); }
.vs-row { display: grid; grid-template-columns: minmax(0, 11rem) 1fr 5.5rem; align-items: center; gap: var(--s-3); font-size: var(--t-m); }
.vs-row .name { font-weight: 500; line-height: 1.2; }
.vs-track { position: relative; height: 12px; background: var(--surface); border-radius: 4px; }
.vs-fill { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--accent); }
.vs-tick { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); border-radius: 1px; }
.vs-diff { text-align: right; font-size: var(--t-s); font-weight: 600; font-variant-numeric: tabular-nums; }
.vs-diff.up { color: var(--accent); } .vs-diff.down { color: var(--ink-2); }
@media (max-width: 640px) {
  .vs-row { grid-template-columns: 1fr 4.5rem; row-gap: var(--s-1); }
  .vs-row .vs-track { grid-column: 1 / -1; grid-row: 2; }
}

/* segmented control */
.seg { display: inline-flex; padding: 3px; background: var(--surface); border-radius: 8px; gap: 2px; margin-bottom: var(--s-4); }
.seg button { border: 0; background: none; padding: 0 var(--s-3); min-height: 36px; border-radius: 6px; font-size: var(--t-s); font-weight: 600; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.seg button:hover:not([aria-pressed="true"]) { color: var(--ink); }

/* heatmap tables */
.heat-wrap { overflow-x: auto; margin-inline: calc(-1 * var(--s-4)); padding-inline: var(--s-4); }
.heat { border-collapse: separate; border-spacing: 3px; width: 100%; min-width: 520px; table-layout: fixed; }
.heat caption { text-align: left; font-size: var(--t-s); color: var(--ink-2); padding-bottom: var(--s-2); caption-side: top; }
.heat th { font-size: var(--t-s); font-weight: 500; color: var(--ink-2); }
.heat tbody th { text-align: right; padding-right: var(--s-2); width: 8.5rem; line-height: 1.2; color: var(--ink); }
.heat thead th { vertical-align: bottom; height: 7.5rem; padding: 0; }
.heat thead th span { display: block; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; margin-inline: auto; padding-top: var(--s-1); }
.heat thead th:first-child { width: 8.5rem; }
.heat td { height: 48px; padding: 0; text-align: center; font-size: var(--t-s); font-weight: 600; font-variant-numeric: tabular-nums; border-radius: 4px; background: color-mix(in oklab, var(--accent) calc(var(--v, 0) * 100%), var(--surface)); color: var(--ink); }
.heat td.hi { color: var(--accent-ink); }
.heat td.diag { box-shadow: inset 0 0 0 2px var(--ink); }
.heat td.empty { background: var(--surface); }
.heat td:hover { outline: 2px solid var(--ink); outline-offset: -2px; }
.heat.feel td { height: 40px; }
.axis-note { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); font-size: var(--t-s); color: var(--ink-2); margin-top: var(--s-3); }
.axis-note .key { display: inline-flex; align-items: center; gap: 6px; }
.axis-note .key i { width: 14px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 2px var(--ink); background: var(--surface); }
.axis-note .key i.ramp-i { box-shadow: none; width: 64px; background: linear-gradient(90deg, var(--surface), var(--accent)); }

.mixups { display: grid; gap: var(--s-3); margin-top: var(--s-5); max-width: 40em; }
.mixups li { list-style: none; font-size: var(--t-l); line-height: 1.3; letter-spacing: -.015em; padding-left: var(--s-3); border-left: 3px solid var(--accent); }
.mixups ul { margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.mixups b { font-weight: 600; }

/* how good are we */

/* words */
.cloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-4); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.cloud span { cursor: default; }
.cloud .w1 { font-size: 1.125rem; color: var(--ink-2); font-weight: 500; }
.cloud .w2 { font-size: 1.625rem; color: var(--ink); }
.cloud .w3 { font-size: 2.5rem; color: var(--ink); }
.cloud .w4 { font-size: clamp(2.75rem, 6vw, 4rem); color: var(--accent); letter-spacing: -.045em; }

/* works */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s-4) var(--s-3); }
.work { margin: 0; }
.work img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-s); background: var(--surface); }
.work figcaption { margin-top: var(--s-2); font-size: var(--t-s); line-height: 1.35; color: var(--ink-2); }
.work strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: var(--t-s); color: var(--ink); }
.work .figure { display: block; margin-top: 2px; color: var(--accent); font-weight: 600; }
.pair { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-4); }
.pair .work { flex: 0 1 190px; }
.pair .and { flex: none; color: var(--ink-2); text-align: center; max-width: 8em; font-size: var(--t-s); line-height: 1.3; }
@media (max-width: 560px) { .pair { gap: var(--s-3); } .pair .work { flex-basis: 0; flex-grow: 1; } }
.hush { padding: var(--s-5); background: var(--surface); border-radius: var(--r-m); max-width: 34em; }
.hush p { margin-bottom: var(--s-3); } .hush p:last-child { margin: 0; }

.tip { position: fixed; z-index: 40; pointer-events: none; max-width: 16rem; padding: var(--s-2) var(--s-3); border-radius: var(--r-s); background: var(--ink); color: var(--bg); font-size: var(--t-s); line-height: 1.35; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.tip b { font-weight: 600; }

.foot { padding: var(--s-5) 0 var(--s-6); color: var(--ink-2); font-size: var(--t-s); border-top: 1px solid var(--line); }
.foot p { margin: 0 0 var(--s-2); max-width: 46em; }

@media (max-width: 640px) {
  .bar-row { grid-template-columns: minmax(0, 7rem) 1fr 2.5rem; gap: var(--s-2); }

}

.seg + p { margin-bottom: var(--s-4); }
