/* ============================================================
   FUTURE LAB — STYLES-EXTRA v2 (page-specific)
   ============================================================ */

/* ============== REVEAL ANIMATIONS ============== */
/* Defensive: never hide content with opacity:0. Use a small upward
   translate as the only entry transition. If the JS or browser fails to
   add the .in class, the content is still visible — just not animated. */
[data-reveal] { transform: translateY(10px); transition: transform .7s ease; will-change: transform; }
[data-reveal].in { transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .06s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .12s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .18s; }
/* Honour reduced motion: skip the entry transition entirely. */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: none; transition: none; }
}

/* ============== SERVICE BLOCK (the proper service breakdown) ============== */
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line-on-light);
  align-items: start;
}
.service-block:last-of-type { border-bottom: 1px solid var(--line-on-light); }
@media (max-width: 880px) { .service-block { grid-template-columns: 1fr; gap: 28px; } }

.service-num {
  font-family: var(--f-display);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.service-title {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300; line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 18px;
}
.service-tagline {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 300;
  color: var(--gold-deep);
  line-height: 1.45;
  margin-bottom: 8px;
  max-width: 28ch;
}
.service-body p { color: var(--muted-on-light); font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.service-body p:last-child { margin-bottom: 0; }

/* ============== PLATFORM BLOCK ============== */
.platform-block {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: clamp(40px, 5vw, 64px);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.platform-block + .platform-block { margin-top: 24px; }
.platform-block .service-title { color: var(--text-on-dark); }
.platform-block .service-num { color: var(--gold-warm); }
.platform-block .service-tagline { color: var(--gold-warm); }
.platform-block .service-body p { color: var(--muted-on-dark); }
.platform-block .when-list li { color: var(--text-on-dark); border-color: var(--line-on-dark); }

/* ============== STAT GRID (Heritage) ============== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 32px; }
@media (max-width: 880px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 640px) {
  .stat-grid { grid-template-columns: 1fr; gap: 24px; }
}
.stat { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line-on-light); }
.stat-num { font-family: var(--f-display); font-weight: 300; font-size: clamp(38px, 4.4vw, 60px); line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.stat-label { font-size: 13.5px; color: var(--muted-on-light); line-height: 1.6; max-width: 30ch; }

/* ============== STEPS (Contact, How We Work) ============== */
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line-on-light);
  align-items: start;
}
.step:last-of-type { border-bottom: 1px solid var(--line-on-light); }
.step-title {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 400; color: var(--ink);
  margin-bottom: 10px;
}
.step-body { color: var(--muted-on-light); font-size: 15.5px; line-height: 1.7; }

@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }
}

/* ============== SECTOR CARDS ============== */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-on-light); }
.sector-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .sector-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1100px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sector-grid, .sector-grid-4 { grid-template-columns: 1fr; } }

.sector-card {
  background: var(--paper);
  padding: 36px;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: var(--text-on-light);
  transition: background 0.2s ease;
  min-height: 240px;
}
.sector-card:hover { background: var(--cream); }
.sector-card .sector-num {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 16px;
}
.sector-card .sector-name {
  font-family: var(--f-display);
  font-size: 22px; font-weight: 400;
  color: var(--ink); margin-bottom: 12px;
  line-height: 1.2;
}
.sector-card .sector-blurb {
  font-size: 14.5px; line-height: 1.65;
  color: var(--muted-on-light);
  flex-grow: 1;
}
.sector-card .sector-arrow {
  margin-top: 20px;
  font-size: 13px; font-weight: 500;
  color: var(--gold-deep);
}

/* Ecosystem variant of sector-card — used on client-facing pages to mark
   the entry point into the specialists & ventures track. Carries the teal
   --supply palette token without flipping the whole page. */
.sector-card.is-supply {
  background: var(--supply);
  border-color: var(--supply-deep);
  color: var(--text-on-dark);
}
.sector-card.is-supply:hover { background: var(--supply-soft); }
.sector-card.is-supply .sector-num,
.sector-card.is-supply .sector-arrow { color: var(--supply-warm); }
.sector-card.is-supply .sector-name { color: var(--text-on-dark); }
.sector-card.is-supply .sector-blurb { color: var(--muted-on-dark); }

/* ============== ARCHETYPE CARDS (forms) ============== */
.archetype-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
@media (max-width: 1100px) { .archetype-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .archetype-grid { grid-template-columns: 1fr; } }

.archetype-card {
  background: var(--paper);
  border: 1px solid var(--line-on-light);
  padding: 22px 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  display: flex; flex-direction: column;
  position: relative;
}
.archetype-card:hover { border-color: var(--gold); }
.archetype-card.is-active {
  border-color: var(--gold);
  background: var(--cream);
  box-shadow: inset 3px 0 0 var(--gold);
}

/* ============== INSIGHT CARDS ============== */
.insight-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: var(--paper);
  border: 1px solid var(--line-on-light);
  padding: clamp(24px, 3vw, 32px);
  transition: border-color 0.3s, transform 0.3s;
}
.insight-card:hover { transform: translateY(-2px); border-color: var(--gold); }

/* ============== ARTICLE LAYOUT ============== */
.article-header { padding: clamp(80px, 10vw, 140px) 0 60px; background: var(--cream); }
.article-h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.06; color: var(--ink); margin: 16px 0 24px; max-width: 22ch; font-family: var(--f-display); font-weight: 280; letter-spacing: -0.018em; }
.article-byline { font-size: 13px; color: var(--muted-on-light); }
.article-body { padding: 60px 0 100px; background: var(--paper); }
.article-lede { font-family: var(--f-italic); font-style: italic; font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--ink); margin-bottom: 36px; max-width: 60ch; font-weight: 300; }
.article-body p { font-size: 17px; line-height: 1.78; color: var(--ink); margin-bottom: 22px; max-width: 65ch; }
.article-h2 { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; color: var(--ink); margin: 48px 0 18px; letter-spacing: -0.012em; max-width: 30ch; }
.pull-quote { font-family: var(--f-italic); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; color: var(--ink); border-left: 2px solid var(--gold); padding: 4px 0 4px 28px; margin: 36px 0; max-width: 56ch; }

/* ============== HERITAGE / PARTNER LOGO BLOCKS ============== */
.firm-mark { margin-bottom: 48px; display: flex; align-items: center; }
.firm-mark-img { height: 64px; width: auto; display: block; }
@media (max-width: 880px) { .firm-mark-img { height: 48px; } }

.partner-logo-block {
  margin-bottom: 28px;
}
.partner-logo-img { height: 56px; width: auto; display: block; }
.partner-logo-img.is-sankofa { height: 32px; }
.partner-logo-img.is-ivg { height: 64px; }

/* On dark surfaces, invert partner logos to monochrome white */
.bg-ink .partner-logo-img,
.bg-ink-deep .partner-logo-img,
.bg-supply .partner-logo-img,
.hero .partner-logo-img { filter: brightness(0) invert(1); opacity: 0.92; }

/* ============================================================
   VISUALISATIONS — diagrams, matrices, anatomy
   No AI imagery; CSS/SVG only.
   ============================================================ */

/* ============== WHY WE EXIST — context strip ============== */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; gap: 36px; } }

.why-tenets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0;
}
.why-tenets li {
  position: relative;
  padding: 22px 0 22px 56px;
  border-top: 1px solid var(--line-on-light);
  font-family: var(--f-display);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 350;
  line-height: 1.4;
  color: var(--ink);
}
.why-tenets li:last-child { border-bottom: 1px solid var(--line-on-light); }
.why-tenets li::before {
  content: counter(why-tenet, decimal-leading-zero);
  counter-increment: why-tenet;
  position: absolute; left: 0; top: 24px;
  font-family: var(--f-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
}
.why-tenets { counter-reset: why-tenet; }
.why-tenets li em {
  font-family: var(--f-italic);
  font-style: italic; font-weight: 300;
  color: var(--gold-deep);
}

/* ============== CONTEXTS & PARTNERSHIPS ============== */
.matrix-wrap {
  margin-top: 36px;
  border: 1px solid var(--line-on-light);
  background: var(--paper);
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}
.matrix th, .matrix td {
  text-align: left;
  padding: 22px 22px;
  vertical-align: top;
  border-top: 1px solid var(--line-on-light);
  border-left: 1px solid var(--line-on-light);
}
.matrix th:first-child, .matrix td:first-child { border-left: none; }
.matrix thead th {
  background: var(--cream);
  border-top: none;
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--ink);
  font-size: 13.5px;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: bottom;
}
.matrix thead th .m-eyebrow {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.matrix thead th .m-head-title {
  font-family: var(--f-display);
  font-size: 17px; font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  display: block;
}
.matrix tbody th {
  background: var(--cream);
  width: 22%;
  vertical-align: top;
}
.matrix tbody th .m-row-eyebrow {
  display: block;
  font-family: var(--f-display);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.matrix tbody th .m-row-title {
  font-family: var(--f-display);
  font-size: 18px; font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  display: block;
}
.matrix td {
  color: var(--text-on-light);
  line-height: 1.55;
}
.matrix td.is-fit {
  background: rgba(200,147,46,0.06);
  position: relative;
}
.matrix td.is-fit::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.matrix td .m-cell-label {
  display: block;
  font-family: var(--f-display);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.matrix td.is-fit .m-cell-label { color: var(--gold-deep); }
.matrix td .m-cell-body {
  font-size: 13.5px;
  color: var(--muted-on-light);
  line-height: 1.55;
}
.matrix-legend {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted-on-light);
  display: flex; gap: 18px; flex-wrap: wrap;
  align-items: center;
}
.matrix-legend .swatch {
  display: inline-block;
  width: 14px; height: 8px;
  margin-right: 6px;
  vertical-align: middle;
  background: rgba(200,147,46,0.18);
  border-top: 2px solid var(--gold);
}

/* ============== MATRIX — MOBILE STACK ==============
   At <=880px the table loses its column structure and becomes
   a vertical sequence of "context" cards. Each row's <th> becomes
   a card heading; each <td> becomes a labelled mini-row whose
   partnership name comes from data-partnership. */
@media (max-width: 880px) {
  .matrix-wrap { overflow-x: visible; border: none; background: transparent; }
  .matrix { min-width: 0; display: block; }
  .matrix thead { display: none; }
  .matrix tbody, .matrix tr { display: block; }
  .matrix tr {
    background: var(--paper);
    border: 1px solid var(--line-on-light);
    margin-bottom: 14px;
  }
  .matrix th, .matrix td {
    display: block;
    border-left: none;
    border-top: 1px solid var(--line-on-light);
    padding: 18px 20px;
  }
  .matrix tbody th {
    width: auto;
    background: var(--cream);
    border-top: none;
  }
  .matrix tbody th .m-row-eyebrow { font-size: 11px; }
  .matrix tbody th .m-row-title { font-size: 17px; }
  .matrix td::before {
    content: attr(data-partnership);
    display: block;
    font-family: var(--f-display);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
  }
  .matrix td.is-fit::before {
    /* Reset desktop top-stripe positioning so the data-partnership label can render normally. */
    position: static;
    height: auto;
    background: transparent;
    color: var(--gold-deep);
  }
  .matrix td.is-fit { padding-left: 20px; }
  .matrix td.is-fit::after {
    /* Replace the desktop top-border accent with a left-border accent on stack. */
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gold);
  }
  .matrix td { position: relative; }
  /* Disable the desktop top-stripe on .is-fit cells. */
  .matrix td.is-fit::before ~ * { /* no-op selector to keep specificity context */ }
}

/* ============== WORKING SESSION → ENGAGEMENT FLOW ============== */
.flow-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 36px;
}
@media (max-width: 880px) { .flow-line { grid-template-columns: 1fr; gap: 12px; } }

.flow-step {
  padding: 28px 26px 32px;
  background: var(--paper);
  border: 1px solid var(--line-on-light);
  border-right: none;
  position: relative;
}
.flow-step:last-child { border-right: 1px solid var(--line-on-light); }
@media (max-width: 880px) {
  .flow-step { border-right: 1px solid var(--line-on-light); border-bottom: none; }
  .flow-step:last-child { border-bottom: 1px solid var(--line-on-light); }
}
.flow-step.is-entry { background: var(--cream); }
.flow-step.is-entry::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.flow-step .fs-eyebrow {
  font-family: var(--f-mono);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.flow-step .fs-title {
  font-family: var(--f-display);
  font-size: 18px; font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 10px;
}
.flow-step .fs-body {
  font-size: 13.5px; line-height: 1.6;
  color: var(--muted-on-light);
}
.flow-step .fs-arrow {
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  background: var(--paper);
  border: 1px solid var(--line-on-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: var(--gold-deep);
  z-index: 2;
}
.flow-step:last-child .fs-arrow { display: none; }
@media (max-width: 880px) { .flow-step .fs-arrow { display: none; } }

/* ============== PLATFORM ANATOMY DIAGRAM ============== */
.anatomy {
  border: 1px solid var(--line-on-light);
  background: var(--paper);
  padding: clamp(28px, 4vw, 44px);
  margin-top: 28px;
}
.anatomy-title {
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.anatomy-stack {
  display: grid;
  gap: 1px;
  background: var(--line-on-light);
  border: 1px solid var(--line-on-light);
}
.anatomy-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: var(--paper);
}
@media (max-width: 880px) {
  .anatomy-row { grid-template-columns: 1fr; }
}
.anatomy-row .ar-label {
  padding: 18px 22px;
  background: var(--cream);
  font-family: var(--f-display);
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
  border-right: 1px solid var(--line-on-light);
}
.anatomy-row .ar-body {
  padding: 18px 22px;
  font-size: 14px; line-height: 1.65;
  color: var(--muted-on-light);
}
.anatomy-row.is-divider .ar-label {
  background: var(--ink);
  color: var(--gold-warm);
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.anatomy-row.is-divider .ar-body {
  background: var(--ink);
  color: var(--text-on-dark);
  font-size: 14px;
}

/* ============== CAPABILITY TRANSFER FLOW (alongside / beside / behind / leave) ============== */
.transfer-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 28px;
  border: 1px solid var(--line-on-light);
  background: var(--paper);
}
@media (max-width: 880px) { .transfer-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .transfer-flow { grid-template-columns: 1fr; } }

.transfer-cell {
  padding: 28px 22px;
  border-right: 1px solid var(--line-on-light);
  position: relative;
}
.transfer-cell:last-child { border-right: none; }
.transfer-cell .tc-eyebrow {
  font-family: var(--f-mono);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.transfer-cell .tc-position {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.transfer-cell .tc-position em {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 300;
}
.transfer-cell .tc-body {
  font-size: 13px; line-height: 1.65;
  color: var(--muted-on-light);
}
.transfer-bar {
  margin-top: 12px;
  height: 4px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.transfer-bar .tb-fl {
  position: absolute; top: 0; bottom: 0;
  background: var(--gold);
  transition: width 0.4s ease;
}
.transfer-bar .tb-cl {
  position: absolute; top: 0; bottom: 0; right: 0;
  background: var(--ink);
  transition: width 0.4s ease;
}
.transfer-legend {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted-on-light);
}
.transfer-legend .swatch-fl {
  display: inline-block; width: 14px; height: 8px;
  background: var(--gold);
  margin-right: 6px;
  vertical-align: middle;
}
.transfer-legend .swatch-cl {
  display: inline-block; width: 14px; height: 8px;
  background: var(--ink);
  margin-right: 6px;
  vertical-align: middle;
}

.eco-arch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}
@media (max-width: 880px) { .eco-arch-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .eco-arch-grid { grid-template-columns: 1fr; } }

.eco-arch-cell {
  background: var(--ink);
  padding: 28px 22px;
  position: relative;
}
.eco-arch-cell .eax-tier {
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 12px;
}
.eco-arch-cell .eax-title {
  font-family: var(--f-display);
  font-size: 17px; font-weight: 400;
  color: var(--text-on-dark);
  margin-bottom: 8px;
  line-height: 1.25;
}
.eco-arch-cell .eax-body {
  font-size: 12.5px; line-height: 1.6;
  color: var(--muted-on-dark);
}

/* ============== RECAST DEMAND vs SUPPLY MAP ============== */
.recast-map {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-on-light);
}
@media (max-width: 880px) { .recast-map { grid-template-columns: 1fr; } }

.recast-side {
  padding: clamp(32px, 4vw, 44px);
  position: relative;
}
.recast-side + .recast-side {
  border-left: 1px solid var(--line-on-light);
}
@media (max-width: 880px) {
  .recast-side + .recast-side { border-left: none; border-top: 1px solid var(--line-on-light); }
}
.recast-side.is-demand { background: var(--cream); }
.recast-side.is-supply { background: var(--paper); }
.recast-side .rs-eyebrow {
  font-family: var(--f-mono);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.recast-side .rs-title {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 350;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 14px;
  max-width: 24ch;
}
.recast-side .rs-body {
  font-size: 14.5px; line-height: 1.7;
  color: var(--muted-on-light);
  margin-bottom: 18px;
}
.recast-side .rs-list {
  list-style: none; padding: 0; margin: 0;
}
.recast-side .rs-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line-on-light);
  font-size: 13.5px;
  color: var(--text-on-light);
  line-height: 1.55;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
}
.recast-side .rs-list li:last-child { border-bottom: 1px solid var(--line-on-light); }
.recast-side .rs-list li::before {
  content: "›";
  font-family: var(--f-display);
  font-size: 16px; font-weight: 300;
  color: var(--gold-deep);
  line-height: 1.4;
}

/* ============== JOIN PAGE — TABS, CATEGORY GRID, FORMS ============== */
.join-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line-on-light);
  margin-bottom: 56px;
}
.join-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 18px 26px 16px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted-on-light);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
  margin-bottom: -1px;
}
.join-tab:hover { color: var(--ink); }
.join-tab.active {
  color: var(--ink);
  border-bottom-color: var(--gold);
  font-weight: 600;
}
.join-panel { display: none; }
.join-panel.active { display: block; }

/* Vantage 7-category grid */
.vantage-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}
.vantage-cat {
  background: var(--paper);
  border: 1px solid var(--line-on-light);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s;
}
.vantage-cat:hover { border-color: var(--gold); }
.vantage-cat .vc-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.vantage-cat .vc-title {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 12px;
}
.vantage-cat .vc-body {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted-on-light);
  margin-bottom: 22px;
  flex: 1;
}
.vantage-cat .vc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  align-self: flex-start;
}
.vantage-cat .vc-cta:hover { color: var(--ink); }
.vantage-cat .vc-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  border: 1px solid var(--line-on-light);
  padding: 5px 10px;
  border-radius: 2px;
  align-self: flex-start;
}
.vantage-cat[data-mode="invitation"] {
  background: var(--cream);
  border-style: dashed;
}
.vantage-cat[data-mode="invitation"]:hover { border-color: var(--line-on-light); }

/* Vantage shared form */
.vantage-form-shell {
  border-top: 1px solid var(--line-on-light);
  padding-top: 56px;
  display: none;
}
.vantage-form-shell.is-active { display: block; }
.vantage-form-shell .vfs-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ============== ROW UTILITIES ============== */
.row-justify-between {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 640px) {
  .row-justify-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .row-justify-between > .btn { align-self: flex-start; }
}

.grid-text-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .grid-text-cta {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .grid-text-cta > .btn { justify-self: flex-start; }
}

/* ============== ACCESSIBILITY: SKIP LINK ============== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 9999;
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 12px 18px;
  text-decoration: none;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  border: 2px solid var(--gold);
  border-radius: 3px;
  transition: top 0.16s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 8px;
  outline: none;
}

/* ============== ACCESSIBILITY: VISIBLE FOCUS ============== */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-primary:focus-visible {
  outline-color: var(--ink);
  outline-offset: 2px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.nav-link:focus-visible,
.nav-side-switch a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* Visually hidden, but available to screen readers */
.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;
}


/* ============== BREADCRUMBS ============== */
/* Sits between the nav and hero. Subtle, single-line, easy to skip past on
   first read. The hero's eyebrow already shows where you are; breadcrumbs
   just make the parent reachable in one click. */
.breadcrumb {
  background: var(--cream, #f4ecdf);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px 0;
}
.breadcrumb .container {
  display: flex;
  align-items: center;
}
.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}
.breadcrumb-list li + li::before {
  content: "›";
  margin: 0 10px;
  color: rgba(0, 0, 0, 0.3);
  font-size: 14px;
  line-height: 1;
}
.breadcrumb-list a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s ease;
  border-bottom: 1px solid transparent;
}
.breadcrumb-list a:hover {
  color: var(--ink);
}
.breadcrumb-list a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.breadcrumb-list [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 640px) {
  .breadcrumb { padding: 12px 0; }
  .breadcrumb-list { font-size: 12px; }
  .breadcrumb-list li + li::before { margin: 0 7px; }
}
/* Print: hide breadcrumbs (the URL/title is enough on paper) */
@media print {
  .breadcrumb { display: none; }
}

/* ============== PAGE TL;DR (60-second version) ==============
   Quick-read entry block at the top of long pages. Depth follows below.
   ============================================================ */
.page-tldr {
  background: var(--cream, #f6f1e6);
  border-top: 1px solid var(--line-on-light);
  border-bottom: 1px solid var(--line-on-light);
  padding: clamp(28px, 4vw, 48px) 0;
}
.page-tldr-inner {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}
.page-tldr-label {
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-light, #6b6258);
  padding-top: 6px;
  border-top: 2px solid var(--gold, #c8a86b);
  display: inline-block;
}
.page-tldr-body {
  font-family: var(--f-display, 'Fraunces', serif);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink, #1a1815);
}
.page-tldr-body p { margin: 0 0 14px; }
.page-tldr-body p:last-child { margin-bottom: 0; }
.page-tldr-body em {
  font-family: var(--f-italic, 'Fraunces', serif);
  font-style: italic;
  color: var(--gold-deep, #8a6a26);
}
.page-tldr-anchors {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 13px;
}
.page-tldr-anchors a {
  color: var(--ink, #1a1815);
  text-decoration: none;
  border-bottom: 1px solid var(--line-on-light);
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.page-tldr-anchors a:hover,
.page-tldr-anchors a:focus-visible {
  color: var(--gold-deep, #8a6a26);
  border-color: var(--gold, #c8a86b);
}
@media (max-width: 880px) {
  .page-tldr-inner { grid-template-columns: 1fr; gap: 14px; }
  .page-tldr-label { padding-top: 4px; }
}
@media print {
  .page-tldr { background: transparent; }
}

/* ============== ARTICLE TOC (long-form essays) ============== */
.article-toc {
  margin: 36px 0 48px;
  padding: 24px 28px;
  background: var(--cream, #f6f1e6);
  border-left: 3px solid var(--gold, #c8a86b);
  font-family: var(--f-sans, 'Jost', sans-serif);
}
.article-toc-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-light, #6b6258);
  margin: 0 0 14px;
}
.article-toc-list {
  list-style: decimal;
  padding-left: 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink, #1a1815);
}
.article-toc-list li { margin-bottom: 4px; }
.article-toc-list a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.article-toc-list a:hover,
.article-toc-list a:focus-visible {
  color: var(--gold-deep, #8a6a26);
  border-color: var(--gold, #c8a86b);
}
.article-toc-foot {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-on-light);
  font-size: 13px;
}
.article-toc-foot a {
  color: var(--gold-deep, #8a6a26);
  text-decoration: none;
  font-weight: 500;
}
.article-toc-foot a:hover,
.article-toc-foot a:focus-visible {
  text-decoration: underline;
}
@media print {
  .article-toc { background: transparent; border-left: 2px solid #999; }
}

/* ============== METHODOLOGY TERM GLOSS (E1) ==============
   <dfn class="term-gloss" data-gloss="...">Term</dfn> shows a plain-
   language gloss on hover/focus. Dotted underline signals it's glossable.
   ============================================================ */
.term-gloss {
  font-style: inherit;
  border-bottom: 1px dotted var(--gold, #c8a86b);
  cursor: help;
  position: relative;
  text-decoration: none;
  outline: none;
}
.term-gloss:focus-visible {
  outline: 2px solid var(--gold, #c8a86b);
  outline-offset: 2px;
  border-radius: 2px;
}
.term-gloss::after {
  content: attr(data-gloss);
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  width: max-content;
  max-width: min(360px, calc(100vw - 32px));
  background: var(--ink, #1a1815);
  color: var(--text-on-dark, #f5efe2);
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  padding: 10px 14px;
  border-radius: 4px;
  border-left: 2px solid var(--gold, #c8a86b);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease, transform .12s ease;
  transform: translateY(-4px);
  white-space: normal;
}
.term-gloss:hover::after,
.term-gloss:focus::after,
.term-gloss:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
/* Right-edge guard: if the term sits near the right edge, anchor right */
.term-gloss[data-align="right"]::after {
  left: auto;
  right: 0;
}
/* Dark-background variant: invert popup colours for legibility */
.bg-ink .term-gloss::after,
.bg-supply .term-gloss::after,
.hero .term-gloss::after {
  background: var(--cream, #f6f1e6);
  color: var(--ink, #1a1815);
  border-left-color: var(--gold-deep, #8a6a26);
}
.bg-ink .term-gloss,
.bg-supply .term-gloss,
.hero .term-gloss {
  border-bottom-color: var(--gold-light, #d9c08e);
}
/* Print: hide popups; show gloss inline as a parenthetical fallback */
@media print {
  .term-gloss { border-bottom: none; }
  .term-gloss::after {
    content: " (" attr(data-gloss) ")";
    position: static;
    display: inline;
    background: transparent;
    color: inherit;
    box-shadow: none;
    border: none;
    padding: 0;
    font-size: inherit;
    opacity: 1;
    transform: none;
  }
}
/* Reduced motion: kill the slide-up */
@media (prefers-reduced-motion: reduce) {
  .term-gloss::after { transition: opacity .1s ease; transform: none; }
}
