/* =====================================================================
   ABLEFIND — brutalist minimal design system
   Ink on paper. One accent: Citation Yellow, used only where a brand
   gets found (a citation, a selection, a primary action under the cursor).
   ===================================================================== */

:root {
  --ink: #000000;
  --paper: #ffffff;
  --grey-1: #f3f3f3;
  --grey-2: #d6d6d6;
  --grey-3: #7a7a7a;
  --cite: #ffe600;            /* Citation Yellow */

  --rule: 2px solid var(--ink);
  --rule-thin: 1px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --space: clamp(48px, 8vw, 120px);

  --t-fast: 120ms;
  --ease: cubic-bezier(.2, .9, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--cite); color: var(--ink); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--cite); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; font-stretch: 95%; letter-spacing: -0.03em; line-height: 1; }
h1 { font-size: clamp(2.4rem, 6.5vw, 5.6rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); letter-spacing: -0.04em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.1; }
p  { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.4; max-width: 38ch; }
.measure { max-width: 62ch; }

.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: var(--rule);
  padding: 4px 8px;
  line-height: 1;
  background: var(--paper);
}
.label--fill { background: var(--ink); color: var(--paper); }
.label--cite { background: var(--cite); }

.mono { font-family: var(--font-mono); }
.upper { text-transform: uppercase; }

.hl { background: var(--cite); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  padding: 16px 22px;
  border: var(--rule);
  background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--cite); color: var(--ink); }
.btn--ghost { box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: none; box-shadow: none; }
.btn--lg { padding: 20px 28px; font-size: 0.95rem; }
.btn--block { width: 100%; justify-content: center; }
.btn .arrow { font-family: var(--font-display); font-weight: 800; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-weight: 800; font-stretch: 90%; letter-spacing: -0.04em; font-size: 1.35rem; line-height: 1;
}
.logo .mark { width: 26px; height: 26px; flex: none; }
.logo:hover .mark rect.dot { fill: var(--cite); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; padding: 10px 12px;
  border: 2px solid transparent;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav .btn { margin-left: 12px; padding: 12px 16px; }

.nav-toggle {
  display: none; border: var(--rule); background: var(--paper);
  width: 48px; height: 48px; padding: 0; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.nav-toggle span { display: block; width: 22px; height: 3px; background: var(--ink); margin: 4px auto; transition: transform var(--t-fast); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 0 0; z-index: 49;
    background: var(--paper);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 24px var(--gutter);
    border-top: var(--rule);
    transform: translateX(100%);
    transition: transform 200ms var(--ease);
  }
  .nav-open .nav { transform: translateX(0); }
  .nav a:not(.btn) { font-size: 1.2rem; padding: 18px 0; border: 0; border-bottom: var(--rule-thin); }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { border-color: var(--ink); background: transparent; color: var(--ink); }
  .nav .btn { margin: 24px 0 0; justify-content: center; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-open body { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space); border-top: var(--rule); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .label { border-color: var(--paper); background: var(--ink); color: var(--paper); }
.section--ink .label--cite { background: var(--cite); color: var(--ink); border-color: var(--cite); }
.section--grey { background: var(--grey-1); }

.section-head {
  display: grid; gap: 20px; margin-bottom: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .section-head .lede { justify-self: end; }
}
.section-head .label { margin-bottom: 16px; }
.section-head--center { grid-template-columns: 1fr !important; text-align: center; justify-items: center; }
.section-head--center > div { width: 100%; }
@media (min-width: 900px) { .fit-width { white-space: nowrap; } }

.grid { display: grid; gap: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 640px)  { .grid--2, .grid--4, .grid--5 { grid-template-columns: 1fr; } }

/* Bordered cell grid: cells share borders like a table */
.cells { border: var(--rule); background: var(--ink); gap: 2px; }
.cells > * { background: var(--paper); padding: clamp(20px, 3vw, 36px); }
.section--ink .cells { background: var(--paper); border-color: var(--paper); }
.section--ink .cells > * { background: var(--ink); }

.card {
  border: var(--rule); background: var(--paper); color: var(--ink);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow);
}

.num {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em;
  display: block; margin-bottom: 18px;
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 96px) clamp(48px, 7vw, 110px); overflow: hidden; }
.wordmark {
  font-weight: 800; font-stretch: 85%;
  font-size: clamp(2.8rem, 15vw, 17rem);
  letter-spacing: -0.05em;
  line-height: 0.82;
  margin: 0 0 clamp(28px, 4vw, 56px) -0.04em;
  display: flex; align-items: flex-end; gap: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wordmark .find { position: relative; display: inline-block; }
.wordmark .find::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.02em;
  height: 0.07em; background: var(--cite);
  transform: scaleX(0); transform-origin: left;
  animation: underline 700ms 600ms var(--ease) forwards;
}
.wordmark .cursor {
  display: inline-block; width: 0.12em; height: 0.78em; background: var(--ink);
  margin-left: 0.06em; margin-bottom: 0.02em;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes underline { to { transform: scaleX(1); } }
@keyframes blink { to { visibility: hidden; } }

.hero-grid { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero .lede { margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-side { display: grid; gap: 14px; }
.hero-note {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: .04em;
  border-left: var(--rule); padding-left: 14px; color: var(--grey-3);
}
.hero-side .card { box-shadow: var(--shadow); }

/* Answer preview card in hero */
.answer-card { padding: 0; }
.answer-card .bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: var(--rule);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.answer-card .bar i { width: 10px; height: 10px; border: 2px solid var(--ink); display: inline-block; }
.answer-card .bar i:first-child { background: var(--ink); }
.answer-card .body { padding: 16px; font-size: .95rem; }
.answer-card .q { font-family: var(--font-mono); font-size: .8rem; color: var(--grey-3); margin-bottom: 12px; }
.answer-card ol { margin: 0; padding-left: 1.4em; }
.answer-card li { margin: 4px 0; }
.answer-card li strong { background: var(--cite); padding: 0 .15em; }

/* Hero scroll scene */
.hero-pin { position: relative; }
.hero-pin.is-scene .hero { position: sticky; top: 0; }
.hero-copy { position: relative; z-index: 2; }
.hero-pin.is-scene .wordmark { will-change: opacity; }
.hero-pin.is-scene .hero-side { position: absolute; z-index: 3; overflow: visible; }
.hero-pin.is-scene .ex-stage { height: 100%; grid-template-rows: 1fr auto; }
.hero-pin.is-scene .ex-visual { min-height: 0; }
.hero-pin.is-scene .ex-panel > * { transform: scale(var(--mock-scale, 1)); transform-origin: 50% 50%; }
.hero-pin.is-scene .ex-caption h3 { font-size: calc(1.3rem * var(--mock-scale, 1)); }
.hero-pin.is-scene .hero-copy { will-change: opacity; }

/* Compact explainer inside the hero */
.hero-side .ex-stage { grid-template-columns: 1fr; }
.hero-side .ex-visual { min-height: var(--stage-h, 340px); }
.hero-side .ex-captions { min-height: 84px; }
.hero-side .ex-caption { padding: 16px 20px; display: flex; align-items: center; }
.hero-side .ex-caption .num { margin-bottom: 8px; }
.hero-side .ex-caption h3 { font-size: 1.3rem; margin: 0; }
.hero-side .ex-caption p { font-size: .92rem; max-width: none; }
.hero-side .ex-panel { padding: 16px; }
.hero-side .ex-controls { padding: 14px 16px; }
.hero-side .chat-body { min-height: 150px; }
.hero-side .msg.user { font-size: .78rem; }
.hero-side .scan-row { padding: 8px 12px; font-size: .76rem; }
.hero-side .money .v { font-size: 1.9rem; }
.hero-side .tiles .t-name { font-size: .95rem; }

/* ---------- Ticker ---------- */
.ticker { border-top: var(--rule); border-bottom: var(--rule); overflow: hidden; background: var(--ink); color: var(--paper); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 28px; white-space: nowrap; border-right: 1px solid var(--grey-3);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Proof strip ---------- */
.proof { display: grid; gap: 2px; background: var(--ink); border: var(--rule); grid-template-columns: repeat(3, 1fr); }
.proof > div { background: var(--paper); padding: clamp(20px, 3vw, 36px); }
.proof .big { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 900; letter-spacing: -0.05em; line-height: .95; }
.proof .big em { font-style: normal; background: var(--cite); padding: 0 .08em; }
.proof small { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grey-3); }
@media (max-width: 720px) { .proof { grid-template-columns: 1fr; } }

.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; background: var(--ink); border: var(--rule); margin-top: 2px; }
.logos > div {
  background: var(--paper); padding: 22px 12px; text-align: center;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-3);
}
.logos > div:hover { color: var(--ink); }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Explainer ---------- */
.explainer { --stage-h: 520px; }
.ex-stage {
  display: grid; gap: 2px; background: var(--ink); border: var(--rule); box-shadow: var(--shadow);
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .ex-stage { grid-template-columns: 1.35fr 1fr; } }
.ex-visual { background: var(--paper); position: relative; min-height: var(--stage-h); overflow: hidden; }
.ex-copy { background: var(--paper); position: relative; display: flex; flex-direction: column; }
.ex-captions { position: relative; flex: 1; min-height: 260px; }
.ex-caption {
  position: absolute; inset: 0; padding: clamp(24px, 3vw, 40px);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease), visibility 0s 240ms;
}
.ex-caption.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ex-caption .num { margin-bottom: 14px; }
.ex-caption h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 14px; letter-spacing: -0.035em; }
.ex-caption p { font-size: 1.02rem; max-width: 34ch; margin: 0; }

.ex-controls { border-top: var(--rule); padding: 14px clamp(16px, 2vw, 24px); display: grid; gap: 12px; }
.ex-progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.ex-progress button {
  height: 16px; border: var(--rule); background: var(--paper); padding: 0; cursor: pointer; position: relative; overflow: hidden;
}
.ex-progress button::after {
  content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: left;
}
.ex-progress button.is-done::after { transform: scaleX(1); }
.ex-progress button:hover { background: var(--cite); }
.ex-buttons { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.ex-buttons div { display: flex; gap: 6px; grid-column: 2; justify-content: center; }
.ex-buttons .ex-step-count { grid-column: 1; grid-row: 1; }
.ex-buttons button {
  border: var(--rule); background: var(--paper); padding: 16px 24px; cursor: pointer;
  font-family: var(--font-mono); font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast), color var(--t-fast);
}
.ex-buttons button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.ex-buttons button:active { transform: translate(4px, 4px); box-shadow: none; }
.ex-buttons button.is-next { background: var(--ink); color: var(--paper); padding-inline: 32px; }
.ex-buttons button.is-next:hover { background: var(--cite); color: var(--ink); }
.ex-buttons div { gap: 10px; }
.hero-pin.is-scene .ex-buttons button { font-size: calc(.95rem * var(--mock-scale, 1)); padding: calc(16px * var(--mock-scale, 1)) calc(24px * var(--mock-scale, 1)); }
.hero-pin.is-scene .ex-buttons button.is-next { padding-inline: calc(32px * var(--mock-scale, 1)); }
.hero-pin.is-scene .ex-progress button { height: calc(16px * var(--mock-scale, 1)); }
.ex-buttons .ex-step-count { color: var(--grey-3); }

.ex-panel {
  position: absolute; inset: 0; padding: clamp(18px, 2.5vw, 32px);
  opacity: 0; visibility: hidden; transition: opacity 240ms var(--ease), visibility 0s 240ms;
  display: flex; flex-direction: column; justify-content: center;
}
.ex-panel.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.is-paused .ex-panel *, .is-paused .ex-panel *::after, .is-paused .ex-panel *::before { animation-play-state: paused !important; }

/* Chat window */
.chat { border: var(--rule); background: var(--paper); box-shadow: var(--shadow-sm); max-width: 560px; width: 100%; margin: 0 auto; }
.chat-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: var(--rule);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.chat-bar i { width: 10px; height: 10px; border: 2px solid var(--ink); display: inline-block; }
.chat-bar i:first-child { background: var(--ink); }
.chat-body { padding: 16px; display: grid; gap: 12px; min-height: 180px; }
.msg { max-width: 92%; padding: 10px 14px; border: var(--rule); font-size: .95rem; line-height: 1.35; }
.msg.user { justify-self: end; background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: .85rem; width: 100%; max-width: 44ch; min-height: 2.6em; }
@media (max-width: 520px) { .msg.user { font-size: .7rem; } }
.msg.ai { justify-self: start; }
.msg .type {
  display: inline-block; white-space: nowrap; overflow: hidden; width: 0; vertical-align: bottom;
  border-right: 2px solid var(--paper);
}
.is-active .msg .type { animation: typing 1.8s steps(40) .3s forwards, caret 700ms steps(1) infinite; }
@keyframes typing { to { width: 40ch; } }
@keyframes caret { 50% { border-color: transparent; } }
.msg.ai { opacity: 0; }
.is-active .msg.ai { animation: appear 200ms 2.4s forwards; }
.dots { display: inline-flex; gap: 6px; padding: 4px 2px; }
.dots i { width: 8px; height: 8px; background: var(--ink); display: block; animation: dot 900ms steps(1) infinite; }
.dots i:nth-child(2) { animation-delay: 300ms; }
.dots i:nth-child(3) { animation-delay: 600ms; }
@keyframes dot { 50% { opacity: .15; } }
@keyframes appear { to { opacity: 1; } }

/* Source scan */
.scan { border: var(--rule); background: var(--paper); box-shadow: var(--shadow-sm); max-width: 560px; width: 100%; margin: 0 auto; position: relative; overflow: hidden; }
.scan-head { padding: 10px 14px; border-bottom: var(--rule); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; display: flex; justify-content: space-between; }
.scan-rows { display: grid; }
.scan-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  padding: 10px 14px; border-bottom: var(--rule-thin);
  font-family: var(--font-mono); font-size: .82rem;
  opacity: 0; transform: translateX(-6px);
}
.scan-row:last-child { border-bottom: 0; }
.scan-row .st { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; border: var(--rule); padding: 3px 7px; opacity: 0; }
.scan-row .st.ok { background: var(--ink); color: var(--paper); }
.scan-row .st.no { background: var(--paper); color: var(--ink); border-style: dashed; }
.scan-row.you { background: repeating-linear-gradient(45deg, var(--grey-1) 0 6px, var(--paper) 6px 12px); }
.scan-row.you.found { background: var(--cite); }
.scan-row.you.found .st { background: var(--ink); color: var(--paper); }
.is-active .scan-row { animation: rowin 220ms var(--ease) forwards; }
.is-active .scan-row .st { animation: appear 150ms forwards; }
.is-active .scan-row:nth-child(1) { animation-delay: .2s; } .is-active .scan-row:nth-child(1) .st { animation-delay: .9s; }
.is-active .scan-row:nth-child(2) { animation-delay: .4s; } .is-active .scan-row:nth-child(2) .st { animation-delay: 1.3s; }
.is-active .scan-row:nth-child(3) { animation-delay: .6s; } .is-active .scan-row:nth-child(3) .st { animation-delay: 1.7s; }
.is-active .scan-row:nth-child(4) { animation-delay: .8s; } .is-active .scan-row:nth-child(4) .st { animation-delay: 2.1s; }
.is-active .scan-row:nth-child(5) { animation-delay: 1s; }  .is-active .scan-row:nth-child(5) .st { animation-delay: 2.5s; }
.is-active .scan-row:nth-child(6) { animation-delay: 1.2s; } .is-active .scan-row:nth-child(6) .st { animation-delay: 2.9s; }
@keyframes rowin { to { opacity: 1; transform: none; } }
.scanline { position: absolute; left: 0; right: 0; top: 40px; height: 3px; background: var(--ink); opacity: 0; }
.is-active .scanline { animation: scan 2.8s .6s linear forwards; }
@keyframes scan { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 1; transform: translateY(240px); } }

/* Answer with stamp */
.answer { border: var(--rule); background: var(--paper); box-shadow: var(--shadow-sm); max-width: 560px; width: 100%; margin: 0 auto; position: relative; }
.answer .chat-body { min-height: 0; }
.answer ol { margin: 0; padding-left: 1.5em; font-size: 1rem; display: grid; gap: 6px; }
.answer li { opacity: 0; }
.is-active .answer li { animation: appear 160ms forwards; }
.is-active .answer li:nth-child(1) { animation-delay: .4s; }
.is-active .answer li:nth-child(2) { animation-delay: .8s; }
.is-active .answer li:nth-child(3) { animation-delay: 1.2s; }
.answer li.you strong { background: var(--cite); padding: 0 .15em; }
.answer .ghost { color: var(--grey-3); text-decoration: line-through; }
.stamp {
  position: absolute; right: 14px; bottom: 14px;
  font-family: var(--font-mono); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem;
  border: 3px solid var(--ink); padding: 8px 12px; background: var(--paper);
  transform: rotate(-6deg) scale(1.8); opacity: 0;
}
.stamp.cite { background: var(--cite); }
.is-active .stamp { animation: stamp 220ms 1.9s var(--ease) forwards; }
@keyframes stamp { to { transform: rotate(-6deg) scale(1); opacity: 1; } }

/* Money compare */
.money { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ink); border: var(--rule); box-shadow: var(--shadow-sm); max-width: 600px; width: 100%; margin: 0 auto; }
.money > div { background: var(--paper); padding: 18px; display: grid; gap: 8px; align-content: start; }
.money > div.cite { background: var(--cite); }
.money .k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.money .v { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.money .s { font-family: var(--font-mono); font-size: .75rem; color: var(--grey-3); }
.money .cite .s { color: var(--ink); }
.money .bar { height: 10px; border: var(--rule); position: relative; overflow: hidden; background: var(--paper); }
.money .bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.is-active .money .bar i { animation: grow 4s linear .3s forwards; }
.money .bar.flat i { transform: scaleX(0.04); animation: none !important; }
@keyframes grow { to { transform: scaleX(1); } }
@media (max-width: 480px) { .money { grid-template-columns: 1fr; } }

/* Services tiles in explainer */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--ink); border: var(--rule); box-shadow: var(--shadow-sm); width: 100%; max-width: 620px; margin: 0 auto; }
.tiles > div { background: var(--paper); padding: 14px 10px; text-align: center; opacity: 0; transform: scale(.9); }
.tiles .t-num { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .1em; display: block; margin-bottom: 8px; color: var(--grey-3); }
.tiles .t-name { font-weight: 800; letter-spacing: -0.02em; font-size: clamp(.9rem, 1.6vw, 1.15rem); }
.is-active .tiles > div { animation: tile 180ms var(--ease) forwards; }
.is-active .tiles > div:nth-child(1) { animation-delay: .2s; }
.is-active .tiles > div:nth-child(2) { animation-delay: .5s; }
.is-active .tiles > div:nth-child(3) { animation-delay: .8s; }
.is-active .tiles > div:nth-child(4) { animation-delay: 1.1s; }
.is-active .tiles > div:nth-child(5) { animation-delay: 1.4s; }
.is-active .tiles > div:last-child { background: var(--cite); }
@keyframes tile { to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tiles > div:last-child { grid-column: 1 / -1; } }

/* Chatbot (frame 4) */
.bot { border: var(--rule); background: var(--paper); box-shadow: var(--shadow-sm); max-width: 560px; width: 100%; margin: 0 auto; }
.bot-body { padding: 12px; display: grid; gap: 8px; }
.bmsg { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; line-height: 1.3; opacity: 0; transform: translateY(6px); }
.bmsg.user { justify-self: end; background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: .72rem; padding: 8px 12px; max-width: 85%; }
.bmsg.ai > div { border: var(--rule); padding: 7px 10px; max-width: 88%; }
.bmsg.ai b { background: var(--cite); padding: 0 .15em; }
.bmsg .av { width: 24px; height: 24px; flex: none; background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: .6rem; font-weight: 700; display: grid; place-items: center; }
.bmsg.typing .dots { padding: 6px 4px; }
.bot-input { border-top: var(--rule); display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-family: var(--font-mono); font-size: .7rem; color: var(--grey-3); }
.bot-input b { border: var(--rule); width: 24px; height: 24px; display: grid; place-items: center; color: var(--ink); }
.is-active .bmsg { animation: rowin 220ms var(--ease) forwards; }
.is-active .bmsg:nth-child(1) { animation-delay: .2s; }
.is-active .bmsg:nth-child(2) { animation-delay: 1.4s; }
.is-active .bmsg:nth-child(3) { animation-delay: 2.7s; }
.is-active .bmsg:nth-child(4) { animation-delay: 4s; }
.is-active .bmsg:nth-child(5) { animation-delay: 5.3s; }
.is-active .bmsg:nth-child(6) { animation-delay: 6.6s; }
.is-active .bmsg.typing { animation: rowin 200ms .8s var(--ease) forwards, vanish 200ms 7.6s forwards; }
@keyframes vanish { to { opacity: 0; } }
.no-motion .bmsg { opacity: 1; transform: none; }
.no-motion .bmsg.typing { display: none; }

/* Reduced-motion final states */
.no-motion .msg .type { width: auto; white-space: normal; border-right: 0; }
.no-motion .msg.ai, .no-motion .scan-row, .no-motion .scan-row .st, .no-motion .answer li, .no-motion .tiles > div { opacity: 1; transform: none; }
.no-motion .stamp { opacity: 1; transform: rotate(-6deg); }
.no-motion .money .bar i { transform: scaleX(1); }
.no-motion .scanline { display: none; }
.no-motion .ex-panel *, .no-motion .ex-panel *::after { animation: none !important; }

/* ---------- Math / calculator ---------- */
.math { display: grid; gap: 2px; background: var(--ink); border: var(--rule); grid-template-columns: 1fr; }
@media (min-width: 900px) { .math { grid-template-columns: 1.1fr 1fr; } }
.math > div { background: var(--paper); padding: clamp(20px, 3vw, 40px); }
.math .cite-col { background: var(--cite); }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; display: flex; justify-content: space-between; }
.field output { font-weight: 800; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--ink); height: 28px; }
.stat { border-top: var(--rule); padding-top: 14px; margin-top: 14px; }
.stat .k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.stat .v { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 900; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .s { font-family: var(--font-mono); font-size: .75rem; color: var(--grey-3); margin-top: 6px; }
.cite-col .stat .s { color: var(--ink); }
.cite-col .stat { border-color: var(--ink); }
.assumption { font-family: var(--font-mono); font-size: .72rem; color: var(--grey-3); margin-top: 24px; }

/* ---------- Services ---------- */
.service { display: grid; gap: 14px; align-content: start; }
.service h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.service p { margin: 0; font-size: .98rem; }
.service ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-family: var(--font-mono); font-size: .78rem; }
.service li::before { content: "— "; }
.cells > .service:hover { background: var(--grey-1); }
.cells > .service:hover .num { background: var(--cite); display: inline-block; padding: 2px 6px; margin-bottom: 14px; }

/* Home page services: one row per service, read top to bottom */
.services-list { display: grid; grid-template-columns: 1fr; }
.service--row { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
.service--row .num { margin-bottom: 12px; }
.service--row h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.service--row p { font-size: 1.05rem; max-width: 46ch; }
.service--row ul { margin: 0; }
@media (max-width: 900px) { .service--row { grid-template-columns: 1fr; gap: 12px; } }
ul.tier { list-style: none; }

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--paper); border: 2px solid var(--paper); }
.timeline > div { background: var(--ink); color: var(--paper); padding: clamp(20px, 3vw, 36px); position: relative; }
.timeline .day { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--paper); display: inline-block; padding: 4px 8px; margin-bottom: 16px; }
.timeline h3 { font-size: 1.35rem; margin-bottom: 10px; }
.timeline p { margin: 0; font-size: .95rem; color: var(--grey-2); }
.timeline > div:last-child .day { background: var(--cite); color: var(--ink); border-color: var(--cite); }
@media (max-width: 1000px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- Results ---------- */
.result { display: grid; gap: 12px; align-content: start; }
.result .big { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 900; letter-spacing: -0.06em; line-height: .9; }
.result .big em { font-style: normal; background: var(--cite); padding: 0 .06em; }
.result .who { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.result p { margin: 0; font-size: .98rem; }
.result a { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Testimonials ---------- */
.testimonial { display: grid; gap: 20px; align-content: start; grid-template-rows: auto 1fr auto; }
.testimonial .headshot {
  width: 120px; aspect-ratio: 1; border: var(--rule); overflow: hidden;
  background: repeating-linear-gradient(45deg, var(--grey-1) 0 6px, var(--paper) 6px 12px);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-3);
}
.testimonial .headshot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial .headshot:has(img) span { display: none; }
.testimonial blockquote { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.35; letter-spacing: -0.01em; }
.testimonial blockquote strong { background: var(--cite); padding: 0 .1em; font-weight: 700; }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; border-top: var(--rule); padding-top: 14px; align-self: end; }
.testimonial .avatar {
  width: 44px; height: 44px; flex: none; border: var(--rule); background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: .8rem; font-weight: 700;
}
.testimonial .who { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; line-height: 1.5; }
.testimonial .who b { display: block; font-size: 1rem; letter-spacing: -0.01em; font-family: var(--font-display); font-weight: 800; }
.testimonial .metric { position: absolute; top: -2px; right: -2px; }
.stars { font-family: var(--font-mono); letter-spacing: .1em; font-size: .8rem; }

/* ---------- Pricing ---------- */
.tier { display: grid; gap: 18px; align-content: start; position: relative; }
.tier .price { font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.tier .price small { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; font-weight: 400; margin-left: 6px; }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.tier li { padding-left: 1.4em; position: relative; }
.tier li::before { content: "■"; position: absolute; left: 0; top: .1em; font-size: .7em; }
.tier .for { font-family: var(--font-mono); font-size: .78rem; color: var(--grey-3); }
.tier.featured { background: var(--cite); }
.tier.featured .btn--primary:hover { background: var(--paper); }
.tier .flag { position: absolute; top: -2px; right: -2px; }

table.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.compare th, table.compare td { border: var(--rule-thin); padding: 12px 14px; text-align: left; vertical-align: top; }
table.compare th { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--grey-1); }
table.compare td.yes { font-weight: 800; }
table.compare td.no { color: var(--grey-3); }
.table-scroll { overflow-x: auto; border: var(--rule); }

/* ---------- FAQ ---------- */
.faq { border: var(--rule); background: var(--paper); }
.faq details { border-bottom: var(--rule); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px clamp(16px, 2vw, 28px); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.6rem; line-height: 1; flex: none; }
.faq details[open] summary { background: var(--ink); color: var(--paper); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 18px clamp(16px, 2vw, 28px) 24px; max-width: 70ch; }
.faq .a p:last-child { margin: 0; }

/* ---------- CTA block ---------- */
.cta-block { display: grid; gap: 2px; background: var(--paper); border: 2px solid var(--paper); grid-template-columns: 1fr; }
@media (min-width: 900px) { .cta-block { grid-template-columns: 1fr 1fr; } }
.cta-block > div { background: var(--ink); color: var(--paper); padding: clamp(24px, 4vw, 56px); }
.cta-block h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.cta-block h2 em { font-style: normal; background: var(--cite); color: var(--ink); padding: 0 .08em; }
.cta-block ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-family: var(--font-mono); font-size: .82rem; color: var(--grey-2); }
.cta-block li::before { content: "→ "; color: var(--cite); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.form input, .form select, .form textarea {
  font: inherit; font-family: var(--font-display); font-size: 1rem;
  padding: 14px; border: var(--rule); background: var(--paper); color: var(--ink); width: 100%; border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--cite); outline-offset: 0; }
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form .fine { font-family: var(--font-mono); font-size: .72rem; color: var(--grey-2); }
.form-success { display: none; padding: 24px; border: 2px solid var(--cite); background: var(--cite); color: var(--ink); }
.form.is-sent { display: none; }
.form.is-sent + .form-success { display: block; }
.section--ink .form input, .section--ink .form select, .section--ink .form textarea { background: var(--ink); color: var(--paper); border-color: var(--paper); }
.section--ink .form select { background-image: linear-gradient(45deg, transparent 50%, var(--paper) 50%), linear-gradient(135deg, var(--paper) 50%, transparent 50%); }
.section--ink .form .btn--primary { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: 4px 4px 0 var(--cite); }
.section--ink .form .btn--primary:hover { background: var(--cite); }

/* ---------- Footer ---------- */
.site-footer { border-top: var(--rule); padding-block: 40px; }
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { background: var(--cite); }
.site-footer .fine { font-family: var(--font-mono); font-size: .72rem; color: var(--grey-3); margin-top: 20px; }
.site-footer .logo { font-size: 1.6rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 90px); }
.page-hero h1 { margin-top: 18px; }
.page-hero .lede { margin-top: 20px; }

/* ---------- Compact pages (services) ---------- */
.page--compact .page-hero { padding-block: clamp(24px, 3.5vw, 48px); }
.page--compact .page-hero h1 { font-size: clamp(2rem, 5vw, 4.2rem); margin-top: 12px; }
.page--compact .page-hero .lede { margin-top: 12px; }
.page--compact .section { padding-block: clamp(22px, 3vw, 40px); }
.page--compact .section h2 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); }
.page--compact .section .measure { font-size: 1rem; line-height: 1.4; }
.page--compact .card { padding: clamp(14px, 2vw, 22px); box-shadow: var(--shadow-sm); }
.page--compact .card .num { margin-bottom: 10px; }
.page--compact .card ul { gap: 6px !important; font-size: .92rem; }
.page--compact .card .mono { margin-top: 12px !important; }
.page--compact .grid--2 { gap: clamp(16px, 2.5vw, 40px) !important; }
.page--compact .cta-block > div { padding: clamp(20px, 3vw, 36px); }

/* ---------- Brand page ---------- */
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--ink); border: var(--rule); }
.swatches > div { padding: 24px 14px; min-height: 160px; display: grid; align-content: end; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; }
.swatches b { display: block; font-size: .8rem; margin-bottom: 4px; }
@media (max-width: 720px) { .swatches { grid-template-columns: repeat(2, 1fr); } }
.type-specimen { display: grid; gap: 2px; background: var(--ink); border: var(--rule); }
.type-specimen > div { background: var(--paper); padding: 24px; }
.type-specimen .k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-3); margin-bottom: 8px; display: block; }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ink); border: var(--rule); }
.do-dont > div { background: var(--paper); padding: 24px; }
.do-dont h3 { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.do-dont ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .95rem; }
@media (max-width: 640px) { .do-dont { grid-template-columns: 1fr; } }

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: left; }
  .hero-cta .btn, .cta-block .btn { width: 100%; justify-content: center; text-align: center; }
  .ex-buttons { grid-template-columns: 1fr; justify-items: center; }
  .ex-buttons div, .ex-buttons .ex-step-count { grid-column: 1; grid-row: auto; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 320ms var(--ease), transform 320ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .wordmark .find::after { animation: none; transform: scaleX(1); }
  .wordmark .cursor { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Engines page ---------- */

/* ---------- Contact: what you'll receive (side panel) ---------- */
.next { background: var(--grey-1); border: var(--rule); border-radius: var(--radius, 0); padding: clamp(24px, 3vw, 40px); display: grid; gap: clamp(20px, 2.4vw, 28px); }
@media (min-width: 900px) { .next { position: sticky; top: 100px; } }
.next-title { font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin: 8px 0 0; }
.next-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: var(--rule); }
.next-stats li { display: grid; align-content: start; gap: 6px; padding: 16px 12px 16px 0; font-size: .8rem; line-height: 1.4; }
.next-stats li + li { padding-left: 14px; border-left: var(--rule); }
.next-stats b { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: var(--gold, var(--ink)); }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 18px; }
.next-steps li { counter-increment: step; position: relative; padding-left: 44px; }
.next-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--gold, var(--ink)); border-radius: 50%; color: var(--gold, var(--ink)); font-size: .78rem; background: var(--paper); }
.next-steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: -16px; width: 1px; background: var(--grey-2); }
.next-steps .when { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-3); }
.next-steps b { display: block; font-weight: 500; margin-top: 2px; }
.next-steps p { margin: 4px 0 0; font-size: .9rem; line-height: 1.55; }
.next-promise { margin: 0; padding: 16px 18px; background: var(--paper); border: 1px solid var(--gold, var(--ink)); border-radius: calc(var(--radius, 0px) * .6); font-size: .92rem; }
.next-foot { margin: 0; font-size: .82rem; color: var(--grey-3); }

/* ---------- Blog (unlinked; index at blog.html) ---------- */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 1.6vw, 22px); }
.post-card { display: grid; gap: 10px; padding: clamp(22px, 3vw, 36px); background: var(--paper); border: var(--rule); border-radius: var(--radius, 0); color: inherit; text-decoration: none; transition: box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.post-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.post-card h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }
.post-card p { margin: 0; max-width: 62ch; }
.post-meta { margin: 0; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-3); }
.post-more { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.post-wrap { max-width: 760px; }
.post-back { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--grey-3); }
.post-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 10px 0 18px; }
.byline { margin: 0 0 clamp(28px, 4vw, 44px); padding-bottom: 22px; border-bottom: var(--rule); font-size: .88rem; color: var(--grey-3); }
.prose { font-size: 1.06rem; line-height: 1.75; }
.prose > p:first-child { font-size: 1.2rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1.8em 0 .5em; }
.prose p, .prose ul { margin: 0 0 1.1em; }
.prose li { margin-bottom: .5em; }
.post-author { display: flex; gap: 18px; align-items: center; margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: var(--rule); }
.post-author p { margin: 0; font-size: .95rem; }
.post-av { flex: 0 0 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--grey-1); border: 1px solid var(--gold, var(--ink)); font-family: var(--font-display); font-size: 1.3rem; }

/* ---------- Explainer frame 6: search vs AI, 5-year projection ---------- */
.shift { width: 100%; max-width: 600px; margin: 0 auto; background: var(--paper); border: var(--rule); border-radius: var(--radius, 0); box-shadow: var(--shadow-sm); padding: 14px 16px 10px; }
.shift-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.shift-title { flex: 1 0 100%; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.shift-key { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; letter-spacing: .06em; }
.shift-key i { width: 14px; height: 3px; border-radius: 2px; background: var(--grey-3); }
.shift-key.k-ai i { background: var(--gold, var(--ink)); }
.shift-key em { font-style: normal; color: var(--grey-3); }
.shift-chart { display: block; width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.shift-chart .ax line { stroke: var(--grey-2); stroke-width: 1; }
.shift-chart .ax-t text { fill: var(--grey-3); font-size: 11px; font-family: var(--font-mono); }
.shift-chart .xo-line { stroke: var(--gold, var(--ink)); stroke-width: 1; stroke-dasharray: 3 4; opacity: .5; }
.shift-chart .ln { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.shift-chart .ln-search { stroke: var(--grey-3); stroke-width: 2.5; }
.shift-chart .ln-ai { stroke: var(--gold, var(--ink)); }
.shift-chart .area { fill: var(--gold, var(--ink)); opacity: 0; }
.shift-chart .late { opacity: 0; }
.shift-chart .xo { fill: var(--paper); stroke: var(--gold, var(--ink)); stroke-width: 2; }
.shift-chart .xo-t { fill: var(--gold, var(--ink)); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-mono); }
.shift-chart .v-start { fill: var(--grey-3); font-size: 12px; font-family: var(--font-mono); }
.shift-chart .v-end { font-size: 14px; font-weight: 500; font-family: var(--font-mono); }
.shift-chart .v-ai { fill: var(--gold, var(--ink)); } .shift-chart .v-search { fill: var(--grey-3); }
.shift-note { margin: 4px 0 0; font-size: .66rem; letter-spacing: .04em; color: var(--grey-3); }
@keyframes shift-draw { to { stroke-dashoffset: 0; } }
@keyframes shift-area { to { opacity: .12; } }
.is-active .shift-chart .ln { animation: shift-draw 2.2s var(--ease) .3s forwards; }
.is-active .shift-chart .area { animation: shift-area .6s ease 2.3s forwards; }
.is-active .shift-chart .late { animation: appear .4s ease 2.3s forwards; }
.no-motion .shift-chart .ln { stroke-dashoffset: 0; }
.no-motion .shift-chart .area { opacity: .12; }
.no-motion .shift-chart .late { opacity: 1; }
