/* ============================================================
   NorthArc — Briefing page design system
   Cream-surface editorial layout used by all /briefings/[slug] pages.
   Brand reconciliation: Tailwind indigo → Arc (#5B6CF2 / #A8B2F7),
   spec near-black → Ink (#15171B), slate scale → ink-with-opacity.
   ============================================================ */

:root {
  --cream: #F5F1E8;
  --ink: #15171B;
  --arc: #5B6CF2;
  --arc-hover: #6E7DF5;
  --arc-light: #A8B2F7;
  --card-border: #E5E1D5;
  --soft-divider: #D6D0C0;
  --warning-bg: #FEF3C7;
  --warning-border: rgba(245,158,11,0.4);
  --warning-strong: #B45309;
  --warning-label: #92400E;
  --warning-text: #78350F;
}

html { scroll-behavior: smooth; }
body.briefing-page {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Geist', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.briefing-page main { padding-top: 68px; }

/* ── Skip-to-content ─────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--ink);
  color: #FFFFFF;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 0 0 6px 6px;
  z-index: 100;
  text-decoration: none;
  transition: top 200ms;
}
.skip-link:focus { top: 0; }

/* ── Header (light variant) ──────────────────────────────── */
.briefing-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 40;
  background: rgba(245, 241, 232, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--soft-divider);
}
.briefing-header nav { height: 68px; }
.briefing-header .wm-north { color: var(--ink); }
.briefing-header .wm-arc { color: var(--arc); }
.briefing-header .wm-dot { color: var(--arc); }
.briefing-header .nav-link {
  font-size: 14px;
  color: rgba(21,23,27,0.65);
  text-decoration: none;
  transition: color 200ms;
}
.briefing-header .nav-link:hover { color: var(--ink); }
.briefing-header .header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 200ms;
}
.briefing-header .header-cta:hover { background: #2A2D34; }
@media (max-width: 767px) {
  .briefing-header .header-cta { display: none; }
}

/* Mobile hamburger menu (light variant) */
.mobile-menu { position: relative; align-self: center; }
.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu .menu-icon { width: 24px; height: 16px; position: relative; display: inline-block; }
.mobile-menu .menu-icon span {
  position: absolute;
  left: 0;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 200ms cubic-bezier(0.2,0,0,1), opacity 200ms;
  border-radius: 1px;
}
.mobile-menu .menu-icon span:nth-child(1) { top: 0; }
.mobile-menu .menu-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu .menu-icon span:nth-child(3) { bottom: 0; }
.mobile-menu[open] .menu-icon span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mobile-menu[open] .menu-icon span:nth-child(2) { opacity: 0; }
.mobile-menu[open] .menu-icon span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }
.mobile-menu .menu-panel {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--cream);
  border-top: 0.5px solid var(--soft-divider);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 39;
  animation: menu-slide 200ms cubic-bezier(0.2,0,0,1);
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}
@keyframes menu-slide {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.mobile-menu .menu-panel a {
  font-size: 18px;
  font-weight: 500;
  padding: 18px 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 0.5px solid var(--soft-divider);
}
.mobile-menu .menu-panel a[aria-current="page"] { color: var(--arc); }
.mobile-menu .menu-panel .menu-cta {
  margin-top: 24px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 6px;
  text-align: center;
  padding: 16px;
  border-bottom: none;
  font-size: 15px;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  margin-top: 35px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.breadcrumb-link { color: rgba(21,23,27,0.45); text-decoration: none; transition: color 200ms; }
.breadcrumb-link:hover { color: var(--ink); }
.breadcrumb-sep { color: rgba(21,23,27,0.30); margin: 0 10px; }
.breadcrumb-current { color: rgba(21,23,27,0.65); }

/* ── Masthead ────────────────────────────────────────────── */
.briefing-masthead { margin-top: 80px; }
.masthead-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--arc);
  margin: 0;
}
.masthead-eyebrow::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.masthead-title {
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
  margin: 28px 0 0;
  max-width: 22ch;
}
.masthead-title .accent {
  font-style: italic;
  color: var(--arc);
}
.masthead-standfirst {
  font-size: clamp(14px, 1.4vw, 20px);
  line-height: 1.5;
  color: rgba(21,23,27,0.65);
  margin: 50px 0 0;
  max-width: 60ch;
  font-weight: 400;
}

/* ── Metadata strip ──────────────────────────────────────── */
.metadata-strip {
  margin-top: 60px;
  padding: 28px 0;
  border-top: 0.5px solid var(--soft-divider);
  border-bottom: 0.5px solid var(--soft-divider);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.metadata-cell .label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21,23,27,0.45);
  margin: 0 0 8px;
}
.metadata-cell .value {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

/* ── Body region ─────────────────────────────────────────── */
.briefing-body {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

/* Sticky chapter rail (desktop) */
.chapter-rail {
  position: sticky;
  top: 100px;
}
.rail-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21,23,27,0.45);
  margin: 0 0 30px;
}
.chapter-list { list-style: none; padding: 0; margin: 0 0 50px; }
.chapter-list li { margin-bottom: 26px; }
.chapter-list a {
  position: relative;
  display: block;
  padding-left: 16px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(21,23,27,0.55);
  text-decoration: none;
  transition: color 200ms;
}
.chapter-list a:hover { color: var(--ink); }
.chapter-list a.is-active {
  color: var(--ink);
  font-weight: 500;
}
.chapter-list a.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 25px;
  background: var(--arc);
}
.rail-divider {
  border: none;
  border-top: 0.5px solid var(--soft-divider);
  margin: 0 0 26px;
}
.rail-link {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--arc);
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 14px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: color 200ms;
}
.rail-link:hover { color: var(--ink); }

/* Briefing prose column — body-prose paragraphs only, so exhibit overrides win */
.briefing-prose { max-width: 720px; }
.briefing-prose .chapter-section > p:not([class]) {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(21,23,27,0.85);
  margin: 0 0 1.5em;
}
.briefing-prose .chapter-section > h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 2.4em 0 0.7em;
  letter-spacing: -0.005em;
}

/* ── Chapter section ─────────────────────────────────────── */
.chapter-section { margin-bottom: 100px; scroll-margin-top: 96px; }
.chapter-section:last-of-type { margin-bottom: 0; }
.chapter-eyebrow {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21,23,27,0.45);
  margin: 0 0 25px;
}
.chapter-title {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 60px;
}
.chapter-close {
  text-align: center;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.30em;
  color: rgba(21,23,27,0.40);
  margin: 60px 0 0;
}
.chapter-continue {
  display: block;
  margin: 50px auto 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--arc);
  text-decoration: none;
  transition: color 200ms;
}
.chapter-continue:hover { color: var(--ink); }

/* ── Exhibit: Pull-quote ─────────────────────────────────── */
.exhibit-pullquote {
  margin: 60px 0;
  padding: 4px 0 4px 30px;
  border-left: 3px solid var(--arc);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--ink);
  quotes: none;
}
.exhibit-pullquote p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; font-style: inherit; }

/* ── Exhibit: Definition tooltip ─────────────────────────── */
.def-trigger {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-bottom: 1px dashed var(--arc);
  position: relative;
  white-space: normal;
}
.def-trigger:focus-visible {
  outline: 2px solid var(--arc);
  outline-offset: 4px;
  border-radius: 2px;
}
.def-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 5px;
  border: 1px solid var(--arc);
  border-radius: 50%;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--arc);
  font-style: normal;
  line-height: 1;
  vertical-align: 1px;
}
.def-tooltip {
  position: absolute;
  z-index: 50;
  background: var(--ink);
  border-radius: 8px;
  padding: 20px;
  width: 380px;
  max-width: calc(100vw - 40px);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.35);
}
.def-tooltip[hidden] { display: none; }
.def-tooltip::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 24px;
  width: 14px;
  height: 14px;
  background: var(--ink);
  transform: rotate(45deg);
}
.def-tooltip-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--arc-light);
  margin: 0 0 10px;
}
.def-tooltip-term {
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0 0 10px;
}
.def-tooltip-body {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
  margin: 0;
}
.def-tooltip-close {
  display: none;
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

/* ── Exhibit: Comparison block ───────────────────────────── */
.exhibit-comparison { margin: 60px 0; }
.exhibit-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21,23,27,0.45);
  margin: 0 0 12px;
}
.exhibit-subhead {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 40px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.comparison-rejected,
.comparison-recommended {
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.comparison-rejected {
  background: transparent;
  border: 1px solid var(--card-border);
  padding: 25px;
}
.comparison-recommended {
  background: var(--ink);
  padding: 25px;
  padding-top: 56px;
  overflow: hidden;
}
.comp-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--arc);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.comp-title {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.comparison-rejected .comp-title { color: rgba(21,23,27,0.45); }
.comparison-recommended .comp-title { color: var(--arc-light); }
.comp-strapline {
  font-size: 14px;
  font-style: italic;
  margin: 0 0 18px;
}
.comparison-rejected .comp-strapline { color: rgba(21,23,27,0.55); }
.comparison-recommended .comp-strapline { color: rgba(255,255,255,0.78); }
.comp-divider {
  border: none;
  border-top: 0.5px solid;
  margin: 0 0 18px;
}
.comparison-rejected .comp-divider { border-color: var(--card-border); }
.comparison-recommended .comp-divider { border-color: rgba(255,255,255,0.16); }
.comp-list { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.comp-list li {
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}
.comparison-rejected .comp-list li { color: rgba(21,23,27,0.65); }
.comparison-rejected .comp-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(21,23,27,0.45);
}
.comparison-recommended .comp-list li { color: rgba(255,255,255,0.85); }
.comparison-recommended .comp-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--arc-light);
}
.comp-footer {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin: 0;
}
.comparison-rejected .comp-footer { color: rgba(21,23,27,0.45); }
.comparison-recommended .comp-footer { color: var(--arc-light); }

/* ── Exhibit: Process diagram ────────────────────────────── */
.exhibit-process {
  margin: 60px 0;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 30px;
}
.process-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--arc);
  margin: 0 0 32px;
}
.process-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.process-step {
  flex: 1 1 0;
  text-align: center;
  min-width: 0;
  padding: 0 4px;
}
.process-node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--arc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  color: var(--arc);
}
.process-step-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin: 16px 0 4px;
}
.process-step-desc {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(21,23,27,0.55);
  margin: 0;
}
.process-arrow {
  flex: 0 0 60px;
  position: relative;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-arrow-gate {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(21,23,27,0.45);
  margin-bottom: 6px;
  white-space: nowrap;
}
.process-arrow-line {
  width: 50px;
  height: 1.5px;
  background: var(--arc-light);
  position: relative;
}
.process-arrow-line.dashed {
  background: none;
  border-top: 1.5px dashed var(--arc-light);
}
.process-arrow-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--arc-light);
}

/* ── Exhibit: Cautionary callout ─────────────────────────── */
.exhibit-callout {
  margin: 60px 0;
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: 8px;
  padding: 25px;
}
.callout-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}
.callout-icon {
  flex: none;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--warning-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--warning-strong);
  line-height: 1;
}
.callout-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warning-label);
  margin: 0;
}
.callout-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--warning-text);
  margin: 0;
}

/* ── Bad-advice 2x2 grid ─────────────────────────────────── */
.bad-advice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 40px 0;
}
.bad-advice-card {
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 22px;
}
.bad-advice-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21,23,27,0.45);
  margin: 0 0 10px;
}
.bad-advice-text {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(21,23,27,0.78);
  margin: 0;
  font-weight: 500;
}

/* ── Outcome highlights ──────────────────────────────────── */
.outcome-highlights {
  margin: 40px 0;
  padding: 28px 0;
  border-top: 0.5px solid var(--soft-divider);
  border-bottom: 0.5px solid var(--soft-divider);
}
.outcome-highlights-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--arc);
  margin: 0 0 18px;
}
.outcome-highlights ul { list-style: none; padding: 0; margin: 0; }
.outcome-highlights li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
}
.outcome-highlights li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--arc);
}

/* ── Inline testimonial ──────────────────────────────────── */
.inline-testimonial {
  margin: 80px 0;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 35px;
}
.testimonial-eyebrow {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--arc);
  margin: 0 0 25px;
}
.testimonial-quote {
  border-left: 2px solid var(--arc);
  padding: 4px 0 4px 30px;
  margin: 0 0 30px;
}
.testimonial-quote p {
  font-size: 17px;
  font-style: italic;
  line-height: 1.45;
  color: rgba(21,23,27,0.85);
  margin: 0;
}
.testimonial-attribution { margin: 0; }
.testimonial-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 4px;
}
.testimonial-meta {
  font-size: 12px;
  color: rgba(21,23,27,0.45);
  margin: 0;
}

/* ── Contextual CTA ──────────────────────────────────────── */
.contextual-cta {
  margin: 100px 0 0;
  background: var(--ink);
  border-radius: 12px;
  padding: 40px;
  max-width: 720px;
}
.cta-eyebrow {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--arc-light);
  margin: 0 0 35px;
}
.cta-title {
  font-size: 28px;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 25px;
  max-width: 22ch;
}
.cta-title .accent {
  font-style: italic;
  color: var(--arc-light);
}
.cta-subhead {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 25px;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--arc);
  color: #FFFFFF;
  height: 40px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 200ms;
}
.cta-button:hover { background: var(--arc-hover); }

/* ── Related briefing ────────────────────────────────────── */
.related-section { margin-top: 100px; }
.related-divider {
  border: none;
  border-top: 0.5px solid var(--soft-divider);
  margin: 0 0 50px;
}
.related-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21,23,27,0.45);
  margin: 0 0 30px;
}
.related-card {
  display: block;
  border: 1px solid var(--soft-divider);
  border-radius: 12px;
  padding: 35px;
  text-decoration: none;
  color: inherit;
  transition: border-color 220ms cubic-bezier(.2,.7,.2,1);
}
.related-card:hover { border-color: rgba(91,108,242,0.5); }
.related-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 35px;
}
.related-card-num {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21,23,27,0.45);
}
.related-card-sector {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--arc);
}
.related-card-title {
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 22px;
  max-width: 26ch;
}
.related-card-hook {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(21,23,27,0.65);
  margin: 0;
  max-width: 60ch;
}
.related-card-cta {
  display: block;
  text-align: right;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--arc);
}

/* ── Toast ───────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 13px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: transform 250ms, opacity 250ms;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Mobile: chapter pill bar + drawer ───────────────────── */
.chapter-pill-bar { display: none; }
.chapter-pill {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  font-size: 13px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.chapter-pill-meta {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21,23,27,0.45);
  margin-right: 14px;
  flex: none;
}
.chapter-pill-title {
  flex: 1 1 auto;
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.chapter-pill-toggle {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--arc);
  margin-left: 14px;
  flex: none;
}
.chapter-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms;
  z-index: 60;
}
.chapter-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.chapter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--cream);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 18px 22px 32px;
  transform: translateY(100%);
  transition: transform 250ms cubic-bezier(.2,.7,.2,1);
  z-index: 70;
  max-height: 80vh;
  overflow-y: auto;
}
.chapter-drawer.is-open { transform: translateY(0); }
.drawer-handle {
  width: 36px;
  height: 4px;
  background: var(--soft-divider);
  border-radius: 2px;
  margin: 0 auto 22px;
}
.drawer-title {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21,23,27,0.45);
  margin: 0 0 18px;
}
.drawer-list { list-style: none; padding: 0; margin: 0; }
.drawer-list li { margin-bottom: 6px; }
.drawer-list a {
  display: block;
  padding: 14px 16px;
  font-size: 15px;
  color: rgba(21,23,27,0.75);
  text-decoration: none;
  border-radius: 8px;
  transition: background 200ms, color 200ms;
}
.drawer-list a:hover { background: #FFFFFF; }
.drawer-list a.is-active {
  background: var(--ink);
  color: #FFFFFF;
}
.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  color: rgba(21,23,27,0.45);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Responsive: Tablet (≤1023px) ────────────────────────── */
@media (max-width: 1023px) {
  .briefing-body {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .chapter-rail { display: none; }
  .chapter-pill-bar {
    display: block;
    position: sticky;
    top: 68px;
    z-index: 30;
    background: var(--cream);
    padding: 12px 0;
    margin: 0 0 30px;
  }
  .chapter-pill { height: 40px; }
  .briefing-prose { max-width: 100%; }
  .metadata-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .metadata-cell:nth-child(4) { grid-column: 1; }
  .metadata-cell:nth-child(5) { grid-column: 2; }
  .briefing-masthead { margin-top: 70px; }
  .briefing-body { margin-top: 80px; }
}

/* ── Responsive: Mobile (≤767px) ─────────────────────────── */
@media (max-width: 767px) {
  body.briefing-page main { padding-top: 60px; }
  .breadcrumb { margin-top: 24px; }
  .briefing-masthead { margin-top: 48px; }
  .masthead-title { font-size: clamp(28px, 8vw, 36px); }
  .masthead-standfirst { margin-top: 32px; }
  .metadata-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding: 22px 0;
  }
  .metadata-cell:nth-child(4) { grid-column: 1; }
  .metadata-cell:nth-child(5) { display: none; }
  .briefing-body { margin-top: 60px; }
  .chapter-section { margin-bottom: 70px; }
  .chapter-title { margin-bottom: 40px; }
  .briefing-prose p { font-size: 15px; }
  .briefing-prose h3 { font-size: 18px; margin: 1.8em 0 0.6em; }
  .exhibit-pullquote {
    margin: 40px 0;
    padding-left: 22px;
    font-size: 20px;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .exhibit-process { padding: 22px; }
  .process-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .process-step {
    text-align: left;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: center;
    padding: 0;
  }
  .process-step-title { margin: 0 0 4px; }
  .process-arrow {
    flex: 0 0 auto;
    margin: 14px 0 14px 32px;
    flex-direction: row;
    align-items: center;
  }
  .process-arrow-line {
    width: 1.5px;
    height: 28px;
  }
  .process-arrow-line.dashed {
    background: none;
    border-left: 1.5px dashed var(--arc-light);
    border-top: none;
    width: 0;
  }
  .process-arrow-line::after {
    right: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(50%);
    border-top: 6px solid var(--arc-light);
    border-bottom: none;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
  }
  .process-arrow-gate {
    margin-bottom: 0;
    margin-left: 12px;
    align-self: center;
  }
  .bad-advice-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bad-advice-card { padding: 18px; }
  .related-card { padding: 26px; }
  .related-card-title { font-size: 22px; }
  .contextual-cta { padding: 28px; margin-top: 80px; }
  .cta-title { font-size: 22px; }
  .inline-testimonial { padding: 26px; }
  .testimonial-quote { padding-left: 22px; }
  .testimonial-quote p { font-size: 15px; }
  /* Tooltip becomes inline expanding card */
  .def-tooltip {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100%;
    margin: 12px 0;
  }
  .def-tooltip::before { display: none; }
  .def-tooltip-close { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Site footer (shared across all pages) ───────────── */
.site-footer {
  background: var(--ink);
  color: #FAF7F2;
  border-top: 1px solid rgba(250,247,242,0.10);
  padding: 80px 0 40px;
  margin-top: 0;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 40px 20px;
}
.site-footer .footer-col { display: flex; flex-direction: column; gap: 32px; }
.site-footer .footer-block { display: flex; flex-direction: column; }
.site-footer .footer-eyebrow {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(168, 178, 247, 0.60);
  margin: 0 0 14px;
  list-style: none;
}
.site-footer .footer-eyebrow::-webkit-details-marker { display: none; }
.site-footer .wordmark {
  font-family: 'Geist', ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
}
.site-footer .wordmark .wm-north { color: #FAF7F2; }
.site-footer .wordmark .wm-arc   { color: #5B6CF2; }
.site-footer .wordmark .wm-dot   { color: #5B6CF2; margin-left: 1px; }
.site-footer .footer-tagline {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(250,247,242,0.65);
  max-width: 22ch;
}
.site-footer .footer-address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(250,247,242,0.85);
  margin: 0;
}
.site-footer .footer-company-number {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(250,247,242,0.55);
}
.site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-links li { margin-bottom: 4px; line-height: 1.35; }
.site-footer .footer-links a,
.site-footer .footer-question {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(250,247,242,0.85);
  text-decoration: none;
  transition: color 200ms;
}
.site-footer .footer-links a:hover,
.site-footer .footer-question:hover { color: #FFFFFF; }
.site-footer .footer-question { margin-bottom: 8px; }
.site-footer .footer-price { color: #FFFFFF; font-weight: 500; }
.site-footer .footer-links li.footer-tier { margin-bottom: 14px; }
.site-footer .footer-links li.footer-tier:last-child { margin-bottom: 0; }
.site-footer .footer-links .footer-tier a { line-height: 1.25; }
.site-footer .footer-tier-price { display: block; font-weight: 500; }
.site-footer .footer-email { font-variant-numeric: tabular-nums; }
.site-footer .footer-email:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-accreditations { display: flex; gap: 12px; }
.site-footer .footer-accreditations img {
  width: 78px;
  height: 78px;
  border-radius: 6px;
  background: #FFFFFF;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
.site-footer .footer-accreditations img:nth-child(1) { padding: 2px; }
.site-footer .footer-accreditations img:nth-child(2) { padding: 3px; }
.site-footer .footer-regulatory {
  margin: 30px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(250,247,242,0.65);
}
.site-footer .footer-bottom {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(250,247,242,0.10);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .footer-bottom-left p {
  font-size: 11px;
  color: rgba(250,247,242,0.45);
  margin: 0 0 4px;
  line-height: 1.6;
}
.site-footer .footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 11px;
}
.site-footer .footer-legal li { display: inline-flex; align-items: center; }
.site-footer .footer-legal li:not(:last-child)::after {
  content: "\00B7";
  color: rgba(250,247,242,0.30);
  margin: 0 12px;
}
.site-footer .footer-legal a {
  color: rgba(250,247,242,0.65);
  text-decoration: none;
  transition: color 200ms;
}
.site-footer .footer-legal a:hover { color: #FFFFFF; }

@media (max-width: 1023px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 32px;
  }
}

@media (max-width: 767px) {
  .site-footer { padding: 50px 0 32px; }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .site-footer .footer-col { display: contents; }
  .site-footer .footer-block { border-bottom: 1px solid rgba(250,247,242,0.10); }
  .site-footer .footer-block.footer-brand-block {
    border-bottom: 1px solid rgba(250,247,242,0.10);
    padding: 22px 0 28px;
  }
  .site-footer .footer-tagline { margin-top: 24px; }
  .site-footer .footer-eyebrow {
    cursor: pointer;
    margin: 0;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .site-footer .footer-eyebrow::after {
    content: "+";
    font-family: 'Geist', ui-sans-serif, system-ui, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #A8B2F7;
    line-height: 1;
  }
  .site-footer .footer-block[open] > .footer-eyebrow::after { content: "\2212"; }
  .site-footer .footer-block[open] > *:not(.footer-eyebrow) { padding: 4px 0 22px; }
  .site-footer .footer-bottom {
    margin-top: 32px;
    padding-top: 28px;
    flex-direction: column;
    gap: 18px;
  }
}
