/* Spartan · Dynamic page styles
 * Used by the TSX-rendered home, portability, and talk routes.
 * Class names ported VERBATIM from the design-prototype HTML so visual fidelity holds.
 * Loaded via <link> in src/app/layout.tsx so server components can rely on static CSS.
 */

/* ===== Home · Section + chapter heads ===== */
/* When a .chap eyebrow is present the head splits into a 2-col grid (label left,
 * h2 right). When it is omitted — the canonical home + about layout as of
 * 2026-05-15 — the head collapses to a single column so the h2 anchors flush left. */
/* 2026-06-12 alignment normalization: .section-head always renders INSIDE a
 * padded 1480 container (.home-section / .phases / etc.), so it carries no
 * horizontal box of its own. The old max-width + 56px side padding double-
 * indented every heading 56px right of its section body. One content edge,
 * every section, no exceptions. */
.section-head {
  margin: 0 0 48px;
  padding: 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: baseline;
}
.section-head:not(:has(.chap)) {
  grid-template-columns: 1fr;
  gap: 0;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  /* canonical H2 token — single source of truth for every section break */
  font-size: var(--t-h2);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ivory);
  text-wrap: balance;
}
.section-head h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.section-head .chap {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--fog);
}
.section-head .chap .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  color: var(--gold);
  margin-bottom: 6px;
  font-style: normal;
}

.home-section {
  max-width: 1480px;
  margin: 0 auto;
  /* canonical section rhythm token (was 100px → too much between sections) */
  padding: var(--section-y) 56px;
}

/* V7.1 · .section-lead retired (Matt 2026-06-12 PM): section-break headers
 * stand alone — no decks/subheads under the h2, anywhere. */

/* Chapter I · 3 columns of editorial */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.col h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--ivory);
}
.col p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245, 239, 228, 0.78);
  margin-bottom: 12px;
}
.col .cue {
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.drop-cap {
  float: left;
  font-family: var(--serif);
  font-size: 76px;
  line-height: 0.82;
  padding: 6px 10px 0 0;
  color: var(--gold);
  font-weight: 400;
}

/* Chapter II · Three modules */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-module {
  background: var(--navy-3);
  padding: 36px 32px 32px;
  border: 1px solid var(--rule);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.25s, border-color 0.25s;
  color: var(--ivory);
  text-decoration: none;
}
.svc-module:hover {
  background: #1a2c4d;
  border-color: var(--gold-dim);
}
.svc-module .plate {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 36px;
}
.svc-module .plate .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 42px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
}
.svc-module h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ivory);
}
.svc-module .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 28px;
}
.svc-module ul {
  list-style: none;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 239, 228, 0.85);
}
.svc-module ul li {
  padding: 6px 0;
  border-top: 1px dotted var(--rule-2);
}
.svc-module ul li:first-child {
  border-top: none;
}
.svc-module .arr {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  color: var(--gold);
}

/* Chapter III · Firm Matcher */
.matcher {
  background: var(--navy-2);
  color: var(--ivory);
  padding: 72px 56px;
  margin: 40px 0 0;
  border-top: 4px double rgba(201, 169, 110, 0.35);
  border-bottom: 4px double rgba(201, 169, 110, 0.35);
}
.matcher-inner {
  max-width: 1248px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
}
.matcher h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.matcher h2 em {
  font-style: italic;
  color: var(--gold);
}
.matcher .intro p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15px;
  color: rgba(245, 239, 228, 0.7);
  margin-top: 18px;
  line-height: 1.6;
}
.match-card {
  background: var(--navy-3);
  padding: 40px;
  min-height: 420px;
  position: relative;
  border: 1px solid var(--rule-2);
}
.q-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.question {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  color: var(--ivory);
}
.opts {
  display: grid;
  gap: 10px;
}
.opt {
  text-align: left;
  padding: 16px 20px;
  background: transparent;
  border: 1px solid var(--rule-2);
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
}
.opt:hover {
  background: rgba(201, 169, 110, 0.1);
  border-color: var(--gold);
}
.opt .k {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.55;
  flex: none;
  margin-left: 16px;
}
.progress {
  display: flex;
  gap: 6px;
  margin-top: 32px;
}
.progress span {
  flex: 1;
  height: 2px;
  background: rgba(245, 239, 228, 0.12);
}
.progress span.done {
  background: var(--gold);
}
.result-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.result-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  color: var(--ivory);
}
.result-name em {
  font-style: italic;
  color: var(--gold);
}
.result-desc {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(245, 239, 228, 0.85);
  max-width: 48ch;
  margin-bottom: 24px;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  margin-bottom: 32px;
}
.result-grid > div {
  background: var(--navy-3);
  padding: 18px;
}
.result-grid .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.result-grid .v {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 20px;
  color: var(--ivory);
}
.reset-btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog);
  padding: 10px 0;
  margin-left: 16px;
  cursor: pointer;
  background: transparent;
  border: none;
}
.reset-btn:hover {
  color: var(--gold);
}

/* Chapter IV · Numbers */
.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.numbers > div {
  padding: 56px 32px;
  border-right: 1px solid var(--rule);
  text-align: left;
}
.numbers > div:last-child {
  border-right: none;
}
.numbers .n {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 140px;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.numbers .n sup {
  font-family: var(--serif);
  font-size: 32px;
  vertical-align: top;
  margin-left: 4px;
  font-weight: 300;
  color: var(--gold-dim);
}
.numbers .l {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(245, 239, 228, 0.78);
  margin-top: 16px;
  max-width: 24ch;
  font-weight: 300;
}
.numbers .l em {
  color: var(--gold);
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Chapter V · Letter */
.letter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.letter-left .label {
  margin-bottom: 24px;
}
.letter-left h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ivory);
}
.letter-left h2 em {
  font-style: italic;
  color: var(--gold);
}
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 36px;
  line-height: 1.2;
  color: var(--ivory);
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 28px 0;
}
.letter-body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(245, 239, 228, 0.88);
}
.letter-body p {
  margin-bottom: 14px;
}
.letter-body em {
  font-style: italic;
  color: var(--gold);
}
.letter-body .sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  margin-top: 24px;
}

/* Chapter VI · Library */
.shelf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.book {
  aspect-ratio: 3 / 4;
  background: var(--navy-3);
  padding: 24px;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  color: var(--ivory);
  text-decoration: none;
}
.book:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dim);
}
.book.a {
  background: var(--navy-2);
  border-color: rgba(201, 169, 110, 0.25);
}
.book.b {
  background: var(--oxblood);
  /* ivory on oxblood was ~3.5:1, failed AA. Navy on oxblood ≈ 7:1, passes AAA
   * and gives book.b a magazine-inset feel that reinforces the "warm editorial mark"
   * positioning of the oxblood color in the system. */
  color: var(--navy);
  border-color: transparent;
}
.book.b h4 { color: var(--navy); }
/* Override opacity-based dim on .kind / .meta so axe's contrast computation reads
 * the resolved color (not the blended opacity) at full AAA on oxblood. */
.book.b .kind, .book.b .meta {
  color: var(--navy);
  opacity: 1;
}
.book.c {
  background: var(--ivory);
  color: var(--navy);
  border-color: transparent;
}
.book.d {
  background: #070c16;
  border-color: var(--rule-2);
}
.book .kind {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* Audit · 0.7 opacity on oxblood + ivory book variants failed WCAG AA contrast.
   * 0.9 keeps the visual hierarchy (kind label is quieter than title) while
   * passing AA on all four book backgrounds. */
  opacity: 0.9;
}
.book h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  margin-top: auto;
  letter-spacing: -0.01em;
}
.book .meta {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* Same a11y fix as .kind · 0.7 → 0.9 for contrast on tinted book backgrounds. */
  opacity: 0.9;
  margin-top: 12px;
}

/* Chapter VII · Testimonials grid (3 quote blocks) */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--navy-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  padding: 36px 32px;
  margin: 0;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ivory);
  margin: 0;
}
.testimonial figcaption {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

/* Chapter VIII · Questions list */
.questions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.questions-list li {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ivory);
  padding: 22px 24px 22px 64px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.questions-list li:nth-child(odd) {
  border-right: 1px solid var(--rule);
}
.questions-list li::before {
  content: "?";
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 32px;
  color: var(--gold);
  position: absolute;
  left: 24px;
  top: 18px;
}
.questions-foot {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fog);
  margin-top: 32px;
  max-width: 60ch;
}

/* Awards line under end-CTA · refined typographic treatment.
 * Reads as a quiet distinction tile: thin gold rule above, serif italic prose,
 * award titles set in non-italic roman serif (same family, no mono/caps) so
 * the line keeps its rhythm and feels like a tribute, not a press release. */
.awards-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--fog);
  margin: 56px auto 0;
  max-width: 62ch;
  text-align: center;
  letter-spacing: 0;
  position: relative;
  padding-top: 32px;
}
.awards-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 1px;
  background: var(--gold-dim);
}
.awards-line b {
  font-style: normal;
  font-family: var(--serif);
  font-weight: 400;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold);
}

/* Home end-CTA · centered, magazine-cover-style closing band */
.endcta-cover {
  background: var(--navy-2);
  /* canonical section rhythm token; navy-2 ground is the separator
   * (no hairlines between sections, Matt 2026-06-12). */
  padding: var(--section-y) 56px;
  text-align: center;
}
.endcta-cover h2 {
  font-family: var(--serif);
  font-weight: 300;
  /* finale on the H1 token (was 96px — bigger than the hero H1; the ladder
   * now caps it at H1 so nothing outranks the page title) */
  font-size: var(--t-h1);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 auto 40px;
  color: var(--ivory);
}
.endcta-cover h2 em {
  font-style: italic;
  color: var(--gold);
}
.endcta-cover .ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
/* Bigger finale buttons (Matt 2026-06-13: "make the buttons bigger as the
 * CTA") — only the end-CTA cover, not every button site-wide. */
.endcta-cover .ctas .btn {
  font-size: 14px;
  letter-spacing: 0.2em;
  padding: 22px 40px;
}

/* ===== /firms/[slug] · per-firm in-research page (TSX) ===== */
.crumb {
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 56px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
  border-bottom: 1px solid var(--rule);
}
.crumb a { color: var(--gold); }
.crumb b { color: var(--ivory); }

.ubs-hero {
  max-width: 1480px;
  margin: 0 auto;
  padding: 80px 56px 64px;
}
.ubs-hero .head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.ubs-hero .firm-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 160px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ivory);
}
.ubs-hero .firm-name em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.ubs-hero .meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
}
.ubs-hero .meta b { color: var(--ivory); }
.ubs-hero .lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.55;
  color: var(--fog);
  margin-top: 32px;
  max-width: 64ch;
}

.firm-research {
  max-width: 1480px;
  margin: 0 auto;
  padding: 80px 56px;
  border-bottom: 1px solid var(--rule);
}
.firm-research-i {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.firm-research-i h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin-bottom: 28px;
  max-width: 22ch;
}
.firm-research-i h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.firm-research-i p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ivory);
  margin-bottom: 18px;
  max-width: 60ch;
}
.firm-research-i p:last-child { margin-bottom: 0; }
.firm-research-stamp {
  background: var(--navy-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  padding: 32px;
}
.firm-research-stamp .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.firm-research-stamp p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fog);
}

/* /firms/[slug] CTA pair (reuses .cta-pair from prototype, ensures it works in TSX context) */
.cta-pair {
  max-width: 1480px;
  margin: 0 auto;
  padding: 80px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta-pair .b {
  background: var(--navy);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  min-height: 280px;
}
.cta-pair .b.warm { background: var(--navy-2); }
.cta-pair .b .eb { margin-bottom: 0; }
.cta-pair .b h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--ivory);
}
.cta-pair .b h3 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.cta-pair .b p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  color: var(--fog);
  max-width: 42ch;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .ubs-hero { padding: 48px 24px; }
  .ubs-hero .head { grid-template-columns: 1fr; gap: 24px; }
  .ubs-hero .firm-name { font-size: 72px; }
  .ubs-hero .meta { text-align: left; }
  .firm-research { padding: 48px 24px; }
  .firm-research-i { grid-template-columns: 1fr; gap: 32px; }
  .firm-research-i h2 { font-size: 32px; }
  .cta-pair { padding: 48px 24px; grid-template-columns: 1fr; }
  .cta-pair .b { padding: 32px 24px; min-height: auto; }
  .crumb { padding: 14px 24px; }
}

/* ===== /portability page (TSX) ===== */
.px-hero {
  padding: 88px 56px 0;
  max-width: 1480px;
  margin: 0 auto;
}
.px-hero .meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.px-hero .meta b {
  color: var(--ivory);
}
.px-hero .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 64px 0;
}
.px-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 84px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 13ch;
}
.px-hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.px-hero .lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5;
  color: var(--fog);
  margin-top: 28px;
  max-width: 46ch;
}
.px-hero .right {
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.px-hero .right .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.px-hero .right .stat {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 96px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.px-hero .right .stat sup {
  font-size: 42px;
  color: var(--gold-dim);
}
.px-hero .right p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--fog);
  max-width: 36ch;
  line-height: 1.5;
}

.check {
  padding: 80px 0;
  max-width: 1480px;
  margin: 0 auto;
}
.check-head {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 48px;
  align-items: end;
  padding: 0 56px 32px;
  border-bottom: 1px solid var(--rule);
}
.check-head .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.check-head .chap {
  font-family: var(--serif);
  font-style: italic;
  color: var(--fog);
  font-size: 15px;
  font-weight: 300;
}
.check-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.018em;
}
.check-head h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.check-head .progress {
  justify-self: end;
  text-align: right;
}
.check-head .progress .step {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 8px;
}
.check-head .progress .step b {
  color: var(--gold);
}
.progress-bar {
  width: 280px;
  height: 2px;
  background: var(--rule-2);
  position: relative;
}
.progress-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--gold);
  width: var(--p, 20%);
  transition: width 0.3s ease;
}

.qpanel {
  padding: 64px 56px;
  background: var(--navy-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.qkick {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.qtitle {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.018em;
  max-width: 24ch;
  margin-bottom: 36px;
  color: var(--ivory);
}
.qtitle em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.qopts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.qopts button {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 18px;
  background: var(--navy-3);
  border: 1px solid var(--rule-2);
  color: var(--ivory);
  padding: 32px 22px;
  text-align: left;
  cursor: pointer;
  transition: 0.18s;
  line-height: 1.3;
}
.qopts button:hover {
  border-color: var(--gold);
  background: var(--navy-4);
  color: var(--gold);
}
.qopts button .lbl {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.qnav {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.qnav button {
  background: none;
  border: none;
  color: var(--fog);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0;
}
.qnav button:hover {
  color: var(--gold);
}
.qnav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.result {
  padding: 80px 56px;
}
.res-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.res-head .left .kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.res-head .left .num-big {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 200px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--gold);
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.res-head .left .num-big .band {
  font-size: 96px;
  color: var(--ivory);
  font-style: italic;
}
.res-head .left .scale {
  display: flex;
  gap: 6px;
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.res-head .left .scale span {
  padding: 8px 12px;
  border: 1px solid var(--rule);
  color: var(--fog);
}
.res-head .left .scale span.cur {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.res-head .right h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin-bottom: 24px;
  color: var(--ivory);
}
.res-head .right h3 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.res-head .right .body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.55;
  color: var(--fog);
}
.res-head .right .body p {
  margin-bottom: 14px;
}
.res-head .right .body em {
  font-style: italic;
  color: var(--gold);
}
.res-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.res-deeper {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.res-deeper .card-2 {
  padding: 28px;
}
.res-deeper .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.res-deeper h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.15;
  color: var(--ivory);
}
.res-deeper p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fog);
}

.meth-strip {
  padding: 48px 56px;
  background: var(--navy-2);
  border-top: 1px solid var(--rule);
  max-width: 1480px;
  margin: 0 auto;
}
.meth-strip-i {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.meth-strip h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--ivory);
}
.meth-strip h4 em {
  font-style: italic;
  color: var(--gold);
}
.meth-strip p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fog);
  margin-bottom: 8px;
}

/* /portability · dynamic-UX additions: card transition, keyboard hint, dimension breakdown */
@keyframes pxQcardEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.qcard {
  animation: pxQcardEnter 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.qhint {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  font-weight: 500;
}
.qhint b {
  color: var(--gold);
  font-weight: 600;
}
.scale-hint {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold);
  margin-left: 8px;
}
.progress-bar::after {
  transition: width 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Dimension breakdown · 7 rows, animated bar fills */
.dim-grid {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.dim-row {
  display: grid;
  grid-template-columns: 180px 1fr 64px;
  gap: 16px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
  font-weight: 500;
}
.dim-row.weak .dim-name {
  color: var(--gold);
}
.dim-row.weak .dim-fill {
  background: var(--gold);
}
.dim-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ivory);
  line-height: 1.2;
}
.dim-bar {
  height: 4px;
  background: var(--rule-2);
  position: relative;
  display: block;
  overflow: hidden;
}
.dim-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--gold-dim);
  width: 0%;
  transition: width 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.dim-score {
  text-align: right;
  color: var(--gold);
  font-weight: 600;
  font-size: 12px;
}
.dim-score .dim-max {
  color: var(--fog);
  font-weight: 400;
}

/* Weakest-dimension call-out card on the result page */
.dim-card {
  margin-top: 36px;
  padding: 24px 24px 26px;
  background: var(--navy-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
}
.dim-card-head .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}
.dim-card-head h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 24px;
  letter-spacing: -0.012em;
  color: var(--gold);
  line-height: 1.15;
  margin-bottom: 12px;
}
.dim-card p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fog);
  max-width: 48ch;
}
@media (max-width: 900px) {
  .dim-row {
    grid-template-columns: 1fr 56px;
    grid-template-rows: auto auto;
    gap: 6px 12px;
  }
  .dim-name {
    grid-column: 1 / 2;
    grid-row: 1;
  }
  .dim-score {
    grid-column: 2 / 3;
    grid-row: 1;
  }
  .dim-bar {
    grid-column: 1 / 3;
    grid-row: 2;
  }
}

/* /talk · primary CTA row (above the form) · Spec §8.5 makes phone the primary CTA */
.talk-cta-row {
  max-width: 1480px;
  margin: 0 auto;
  padding: 32px 56px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
}
.talk-cta-phone b {
  font-family: var(--mono);
  letter-spacing: 0.06em;
}
@media (max-width: 900px) {
  .talk-cta-row {
    padding: 24px;
    flex-direction: column;
  }
  .talk-cta-row .btn {
    justify-content: center;
  }
}

/* ===== /talk page (TSX) ===== */
.talk-hero {
  padding: 96px 56px 72px;
  max-width: 1480px;
  margin: 0 auto;
}
.talk-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 128px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ivory);
}
.talk-hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.talk-hero .lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 24px;
  line-height: 1.45;
  color: var(--fog);
  margin-top: 32px;
  max-width: 54ch;
}
.talk-hero .meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
}
.talk-hero .meta b {
  color: var(--ivory);
}
.talk-grid {
  max-width: 1480px;
  margin: 0 auto;
  padding: 80px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  border-bottom: 1px solid var(--rule);
}
.talk-form {
  background: var(--navy-2);
  padding: 48px;
  border: 1px solid var(--rule);
}
.talk-form .kick {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.talk-form h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin-bottom: 28px;
  color: var(--ivory);
}
.talk-form h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.talk-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.talk-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.talk-form .field.full {
  grid-column: span 2;
}
.talk-form label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.talk-form label .opt {
  color: var(--fog);
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  margin-left: 6px;
  font-style: italic;
}
.talk-form input,
.talk-form select,
.talk-form textarea {
  background: var(--navy-3);
  border: 1px solid var(--rule-2);
  color: var(--ivory);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  transition: 0.18s;
}
.talk-form input:focus,
.talk-form select:focus,
.talk-form textarea:focus {
  border-color: var(--gold);
  background: var(--navy-4);
}
.talk-form textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
}
.talk-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.talk-form .helper {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  color: var(--fog);
  margin-top: 2px;
}
.talk-form .form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
  gap: 18px;
}

.talk-rail {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.talk-rail .block {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.talk-rail .block:last-child {
  border-bottom: none;
}
.talk-rail .num-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.talk-rail h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--ivory);
}
.talk-rail h3 em {
  font-style: italic;
  color: var(--gold);
}
.talk-rail p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fog);
}

.pete-card {
  background: var(--navy-3);
  border: 1px solid var(--rule);
  padding: 32px;
  margin-bottom: 8px;
}
.pete-card .pete-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: center;
}
.pete-card .ph {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy-4), var(--gold-dim));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--ivory);
}
.pete-card .name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ivory);
}
.pete-card .role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.pete-card blockquote {
  margin-top: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ivory);
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}

.talk-success {
  max-width: 1480px;
  margin: 0 auto;
  padding: 96px 56px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.talk-success h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ivory);
  margin-bottom: 24px;
}
.talk-success h2 em {
  font-style: italic;
  color: var(--gold);
}
.talk-success p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.55;
  color: var(--fog);
  max-width: 56ch;
  margin: 0 auto 16px;
}

/* ===== Team grid · About page senior-operators section =====
 * Editorial card pattern: monogram disk, name, role label, short bio, and a
 * small inline logo strap of the firms that team member has worked at.
 * Sits in the navy + gold system without competing with Pete's founder block.
 */
.team-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--navy-3);
  border: 1px solid var(--rule);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.team-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}
.team-mono {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-2);
  border: 1px solid var(--rule-2);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.team-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ivory);
}
.team-pending {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxblood);
  font-weight: 500;
}
.team-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.team-bio {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fog);
  margin-top: 4px;
}
.team-firms {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

/* ===== Responsive (mobile · 900px breakpoint) ===== */
@media (max-width: 900px) {
  .testimonials {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testimonial {
    padding: 24px 22px;
  }
  .questions-list {
    grid-template-columns: 1fr;
  }
  .questions-list li {
    border-right: none !important;
    font-size: 18px;
    padding: 18px 18px 18px 56px;
  }
  .questions-list li::before {
    font-size: 26px;
    left: 18px;
    top: 14px;
  }
  .home-section,
  .px-hero,
  .talk-hero,
  .talk-grid,
  .meth-strip {
    padding-left: 24px;
    padding-right: 24px;
  }
  /* mobile section rhythm (tighter than desktop) */
  .home-section {
    padding-top: var(--section-y-m);
    padding-bottom: var(--section-y-m);
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 0 24px;
  }
  .section-head h2 {
    font-size: 36px;
  }
  .cols-3,
  .modules-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .matcher {
    padding: 32px 24px;
  }
  .matcher-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .match-card {
    padding: 24px;
    min-height: 0;
  }
  .question {
    font-size: 24px;
  }
  .numbers {
    grid-template-columns: 1fr;
  }
  .numbers > div {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 32px 24px;
  }
  .numbers .n {
    font-size: 80px;
  }
  .letter-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .letter-left h2 {
    font-size: 36px;
  }
  .pullquote {
    font-size: 24px;
  }
  .shelf {
    grid-template-columns: 1fr 1fr;
  }
  .endcta-cover {
    padding: var(--section-y-m) 24px;
  }
  /* h2 follows the H1 token (floors at 48 on mobile) — no flat override */
  .px-hero h1,
  .talk-hero h1 {
    font-size: 48px;
  }
  .px-hero .row {
    grid-template-columns: 1fr;
    padding: 32px 0;
    gap: 32px;
  }
  .check-head {
    grid-template-columns: 1fr;
    padding: 0 24px 24px;
  }
  .check-head .progress {
    justify-self: start;
  }
  .qpanel {
    padding: 32px 24px;
  }
  .qtitle {
    font-size: 28px;
  }
  .qopts {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .qopts button {
    padding: 18px 16px;
  }
  .result {
    padding: 48px 24px;
  }
  .res-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .res-head .left .num-big {
    font-size: 96px;
  }
  .res-deeper {
    grid-template-columns: 1fr;
  }
  .meth-strip-i {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .talk-grid {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 48px;
  }
  .talk-form {
    padding: 28px;
  }
  .talk-form h2 {
    font-size: 26px;
  }
  .talk-form .row {
    grid-template-columns: 1fr;
  }
  .talk-form .field.full {
    grid-column: span 1;
  }
  .talk-success h2 {
    font-size: 42px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .team-card {
    padding: 26px 22px 24px;
  }
  .team-name {
    font-size: 20px;
  }
}

/* ============================================================================
 * Destinations wall · top-50 firms our advisors have moved to.
 * Pete slide-15 directive: "Need brand for the firms we work with, all of them."
 * Dense 5-col grid, mixed rendering: monochrome logo where /public/logos/ asset
 * exists, typographic firm-name fallback for the rest. Phase A.
 * ============================================================================ */
.dest-wall {
  max-width: 1480px;
  margin: 0 auto;
  padding: 80px 56px 100px;
  border-bottom: 1px solid var(--rule);
}
.dest-wall-label {
  font-family: var(--mono);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fog);
  text-align: center;
  margin-bottom: 56px;
}
.dest-wall-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.dest-cell {
  background: var(--ivory);
  min-height: 108px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.2s ease;
}
.dest-cell:hover {
  background: #ebe4d4;
}
.dest-logo {
  max-height: 72px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.94;
  transition: opacity 0.2s ease;
}
.dest-cell:hover .dest-logo {
  opacity: 1;
}
.dest-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(245, 239, 228, 0.78);
  letter-spacing: 0.01em;
}
.dest-wall-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fog);
  text-align: center;
  margin: 40px auto 0;
  max-width: 64ch;
}

/* ============================================================================
 * Process rail · six-step engagement scaffold.
 * Replaces inline FirmMatcher on home per Pete slide-10. Vertical step rail
 * with mono numeral, serif title, sans body. Dense and operator-blunt.
 * ============================================================================ */
.process-rail {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.process-step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 32px 32px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
  transition: background 0.2s ease;
}
.process-step:hover {
  background: var(--navy-3);
}
.process-num {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-top: 8px;
  border-top: 1px solid var(--gold-dim);
  align-self: start;
  text-align: left;
}
.process-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin: 0 0 12px;
}
.process-body p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fog);
  margin: 0;
  max-width: 52ch;
}

/* (V3 · Removed: .confidentiality-line. The awards line now sits directly
 * below the CTA stack. The "no intake form" claim is preserved in the
 * Process section step 01 and Chapter I confidentiality pillar.) */

/* ============================================================================
 * Responsive · process rail + dest wall collapse below 900px / 560px.
 * ============================================================================ */
@media (max-width: 900px) {
  .dest-wall {
    padding: 48px 24px 64px;
  }
  .dest-wall-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dest-cell {
    min-height: 84px;
    padding: 14px 12px;
  }
  .dest-logo {
    max-height: 40px;
  }
  .dest-name {
    font-size: 13px;
  }
  .process-rail {
    grid-template-columns: 1fr;
  }
  .process-step {
    padding: 24px 20px 28px;
    grid-template-columns: 72px 1fr;
    gap: 18px;
  }
  .process-body h3 {
    font-size: 22px;
  }
  .process-body p {
    font-size: 15px;
  }
}
@media (max-width: 560px) {
  .dest-wall-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================================================
 * V3 · Numbers section · Galloway-muted (no h2; mono eyebrow only)
 * Replaces the "Numbers attached to names we cannot print" clever headline.
 * ============================================================================= */
.numbers-section {
  /* Same outer rhythm as other .home-section blocks (padding inherited). */
}
/* V6.1 · .numbers-eyebrow retired — the section now opens with the
 * canonical .section-head h2 like every other section break. */

/* =============================================================================
 * V3 · Letter section · resume credentials hybrid.
 * Left col tightens to ~360px and stacks: portrait → "33 yrs in wealth management"
 * label → MS + JPM logo strip → 3-row role timeline → Top-10 honor line.
 * Right col still has the narrative letter (pullquote moved into it).
 * ============================================================================= */
.letter-grid-v3 {
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}

.letter-grid-v3 .letter-left {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.pete-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--rule-2);
  background: var(--navy-3);
}

.cred-label {
  font-family: var(--mono);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-top: 24px;
  margin-bottom: 16px;
}

/* V4.3.2 · Bump section-level .eb eyebrows further (V3.1 set 16px; user
 * feedback 2026-05-16 PM: every header needs meaningfully bigger). */
.letter-body > .eb,
.endcta-cover > .eb {
  font-size: 20px;
  letter-spacing: 0.14em;
}

.cred-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule-2);
}

.cred-logo {
  display: block;
  width: auto;
  height: 28px;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.78);
  transition: opacity 0.2s ease;
}

.cred-logo:hover {
  opacity: 1;
}

.cred-timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cred-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: baseline;
}

.cred-years {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.cred-role {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cred-firm {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13.5px;
  color: rgba(245, 239, 228, 0.62);
}

.cred-honor {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gold);
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--gold-dim);
  max-width: 32ch;
}

/* In V3 the pullquote moves into letter-body (above the paragraphs). Tighten it. */
.letter-grid-v3 .letter-body .pullquote {
  margin: 20px 0 28px;
}

@media (max-width: 900px) {
  .letter-grid-v3 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pete-portrait {
    max-width: 280px;
    margin: 0 auto;
  }
  .cred-label,
  .cred-strip,
  .cred-timeline,
  .cred-honor {
    max-width: 100%;
  }
}

/* =============================================================================
 * V4 · Portability assessment embedded on home.
 * Intro paragraph above the PortabilityCheck component; the component itself
 * carries its own .check / .qpanel / .qcard / .dim-grid styles globally.
 * ============================================================================= */
.portability-embed .portability-intro {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fog);
  max-width: 62ch;
  margin: 0 auto 40px;
  text-align: center;
}

/* =============================================================================
 * V4 · Live composite score during the answer phase of PortabilityCheck.
 * Sits between the question-counter line and the progress bar. Updates each
 * time the advisor picks an answer; key change retriggers the pulse keyframe.
 * ============================================================================= */
.live-score {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
  padding: 16px 22px;
  background: var(--navy-2);
  border-left: 3px solid var(--gold);
}
.live-score-kicker {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fog);
}
.live-score-display {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.live-score-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
  display: inline-block;
  animation: liveScorePulse 0.45s ease-out;
}
.live-score-out {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--fog);
}
.live-score-band {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-left: 8px;
  padding: 4px 10px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
}
.live-score-band.band-A { color: var(--gold); border-color: var(--gold); }
.live-score-band.band-B { color: var(--gold); border-color: var(--gold-dim); }
.live-score-band.band-C { color: var(--fog); border-color: var(--fog); }
.live-score-band.band-D { color: var(--fog); border-color: var(--rule-2); }
@keyframes liveScorePulse {
  0% { transform: scale(1.18); color: var(--ivory); }
  60% { transform: scale(1.02); color: var(--gold); }
  100% { transform: scale(1); color: var(--gold); }
}
@media (prefers-reduced-motion: reduce) {
  .live-score-num { animation: none; }
}
@media (max-width: 640px) {
  .live-score { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
  .live-score-num { font-size: 32px; }
}

/* =============================================================================
 * V4.2 · Portability polish
 *  - Score progress bar inside the live-score block (during quiz)
 *  - Score progress bar inside the results panel (after completion)
 *  - "/ 100" suffix styling next to the percentile number
 *  - Question-counter pulse animation on advance (key={qIdx} retriggers)
 *  - A/B/C/D grade UI is no longer rendered (band classes remain dormant in CSS)
 * ============================================================================= */
.live-score-bar {
  width: 100%;
  height: 6px;
  background: rgba(245, 239, 228, 0.10);
  border-radius: 3px;
  margin-top: 14px;
  overflow: hidden;
}
.live-score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim) 0%, var(--gold) 100%);
  border-radius: 3px;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.num-pct {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  color: var(--fog);
  margin-left: 10px;
  vertical-align: baseline;
}

.result-bar {
  width: 100%;
  max-width: 360px;
  height: 8px;
  background: rgba(245, 239, 228, 0.10);
  border-radius: 4px;
  margin: 20px 0 8px;
  overflow: hidden;
}
.result-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim) 0%, var(--gold) 100%);
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-num {
  display: inline-block;
  color: var(--gold);
  animation: stepNumPulse 0.4s ease-out;
}
@keyframes stepNumPulse {
  0% { transform: scale(1.25); color: var(--ivory); }
  100% { transform: scale(1); color: var(--gold); }
}
@media (prefers-reduced-motion: reduce) {
  .step-num,
  .live-score-bar-fill,
  .result-bar-fill { animation: none; transition: none; }
}

/* =============================================================================
 * V4.3 · Cohesive Portability score module
 * Replaces the V4.2 .live-score block (which floated in flex and overlapped).
 * One module at the top of the instrument: label + question counter on a
 * top rule, prominent score number, full-width gold progress bar.
 * ============================================================================= */
.port-score-module {
  background: var(--navy-2);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  padding: 24px 32px 28px;
  margin-bottom: 36px;
  display: grid;
  gap: 14px;
}
.port-score-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  gap: 24px;
  flex-wrap: wrap;
}
.port-score-label {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.port-step-counter {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--fog);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.port-step-counter b {
  font-size: 24px;
  color: var(--gold);
  font-weight: 700;
  display: inline-block;
}
.port-step-counter .scale-hint {
  color: var(--fog);
  font-family: var(--mono);
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 14px;
}
.port-score-body {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 4px 0;
}
.port-score-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 88px;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-block;
  min-width: 2ch;
  animation: portScoreBeat 0.5s ease-out;
}
.port-score-out {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  color: var(--fog);
}
.port-score-bar {
  height: 7px;
  background: rgba(245, 239, 228, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.port-score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim) 0%, var(--gold) 100%);
  border-radius: 4px;
  transition: width 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes portScoreBeat {
  0% { transform: scale(1.16); color: var(--ivory); opacity: 0.75; }
  60% { transform: scale(1.02); color: var(--gold); opacity: 1; }
  100% { transform: scale(1); color: var(--gold); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .port-score-num,
  .port-score-fill { animation: none; transition: none; }
}
@media (max-width: 640px) {
  .port-score-module { padding: 20px 22px 22px; margin-bottom: 28px; }
  .port-score-header { padding-bottom: 12px; }
  .port-score-num { font-size: 62px; }
  .port-score-out { font-size: 22px; }
}

