/* ══════════════════════════════════════════════════════════
   Rivers AMR Audience Research Matrix — Design System
   ══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&display=swap');

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  /* Primary greens */
  --green-deep: #1a3a2a;
  --green-dark: #2d5a3f;
  --green-mid: #3d8c5c;
  --green-light: #5cb87a;
  --green-pale: #e8f5ee;
  --green-wash: #f4faf6;

  /* Signal colours */
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --amber-dark: #d97706;
  --coral: #ef6c4a;
  --coral-light: #fef0ec;
  --coral-dark: #c0392b;
  --blue-soft: #3b82f6;
  --blue-light: #eff6ff;
  --purple-soft: #8b5cf6;
  --purple-light: #f3f0ff;

  /* Neutrals */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Fonts */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  /* Layout */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--slate-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── LAYOUT ── */
.container { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
section { padding: 60px 0; }

/* ── COVER ── */
.cover {
  background: var(--green-deep);
  color: var(--white);
  padding: 80px 60px 60px;
  position: relative;
  overflow: hidden;
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.cover::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 80%; height: 140%;
  background: radial-gradient(ellipse, rgba(93,184,122,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cover::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92,184,122,0.4), transparent);
}
.cover-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp .6s ease forwards .2s;
}
.cover-logo {
  height: 60px;
  width: auto;
}
.footer-logo {
  height: 40px;
  width: auto;
  vertical-align: middle;
}
.cover h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  max-width: 700px;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp .6s ease forwards .4s;
}
.cover-initiative {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp .6s ease forwards .5s;
}
.cover-sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp .6s ease forwards .6s;
}
.cover-meta {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .6s ease forwards .8s;
}
.cover-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(92,184,122,0.15);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green-light);
}
.cover-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-light);
}
.cover-status.amber {
  background: rgba(245,158,11,0.15);
  color: var(--amber);
}
.cover-status.amber::before {
  background: var(--amber);
}
.platform-pct {
  font-weight: 600;
  opacity: 0.9;
}
.platform-pct.low  { color: var(--amber); }
.platform-pct.high { color: rgba(92,184,122,0.85); }
.platform-pct.full { color: var(--green-light); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── VIDEO COVER ── */
.cover-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.cover-video iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh;  /* 16/9 × 100vh */
  height: 56.25vw;  /* 9/16 × 100vw */
  min-width: 100%;
  min-height: 100%;
}
.cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 42, 0.6);
  z-index: 1;
}
.cover--video .cover-label,
.cover--video h1,
.cover--video p,
.cover--video .cover-sub,
.cover--video .cover-meta,
.cover--video .back-link {
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .cover-video { display: none; }
}
@media print {
  .cover-video, .cover-overlay { display: none; }
}

/* ── ABOUT BAND ── */
.about-band {
  background: var(--green-wash);
  border-bottom: 1px solid var(--green-pale);
  padding: 28px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: baseline;
}
.about-band-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-mid);
}
.about-band-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate-600);
}
.about-band-text strong {
  color: var(--slate-700);
  font-weight: 600;
}

/* ── EXECUTIVE SUMMARY ── */
.exec-summary {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 60px 0;
}
.exec-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.exec-label {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--green-deep);
  position: sticky;
  top: 24px;
}
.exec-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate-700);
  margin-bottom: 16px;
}
.exec-content p:last-child { margin-bottom: 0; }
.exec-content strong { color: var(--slate-900); font-weight: 600; }

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stats-bar.inline { margin: 40px 0 0; }
.stat-card {
  background: var(--white);
  padding: 24px 20px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.1;
}
.stat-number.alert { color: var(--coral); }
.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 6px;
}

/* ── SECTION HEADERS ── */
.section-header {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 32px;
}
.section-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--green-mid);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--green-deep);
}
.section-desc {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.65;
  max-width: 700px;
}

/* ── MATRIX TABLE ── */
.matrix-section { padding: 60px 0; }
.matrix-scroll {
  overflow-x: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}
.matrix-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.matrix-table thead th {
  background: var(--green-deep);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 18px;
  text-align: left;
  position: sticky;
  top: 0;
  z-index: 10;
}
.matrix-table thead th:first-child {
  border-radius: var(--radius) 0 0 0;
  width: 120px;
}
.matrix-table thead th:nth-child(2) { width: 170px; } /* Opportunity Sizing */
.matrix-table thead th:nth-child(3) { width: 160px; } /* Awareness Gap */
.matrix-table thead th:nth-child(4) { width: 140px; } /* Platform Intelligence */
.matrix-table thead th:nth-child(5) { width: 170px; } /* Value Mapping */
.matrix-table thead th:nth-child(6) { width: 170px; } /* Entry Points */
.matrix-table thead th:nth-child(7) { width: 160px; } /* Authenticity Calibration */
.matrix-table thead th:nth-child(8) { width: 190px; } /* Message Hooks */
.matrix-table thead th:last-child {
  border-radius: 0 var(--radius) 0 0;
}
.matrix-table thead th .th-q {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  line-height: 1.4;
}
.matrix-table tbody td {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 14px 12px;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate-700);
  overflow: hidden;
  word-wrap: break-word;
}
.matrix-table tbody td .tag {
  white-space: normal;
}
.matrix-table tbody td:first-child {
  border-left: 3px solid var(--green-mid);
  font-weight: 600;
  color: var(--green-deep);
}
.matrix-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius);
}
.matrix-table tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--radius) 0;
}
.matrix-table tbody tr.placeholder td {
  background: var(--slate-50);
  color: var(--slate-400);
  font-style: italic;
  text-align: center;
  border-left-color: var(--slate-300);
}
.cell-hl {
  font-weight: 600;
  color: var(--slate-900);
  font-size: 13.5px;
  margin-bottom: 8px;
}
.cell-b { margin-bottom: 10px; }
.cell-b:last-child { margin-bottom: 0; }
.cell-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-mid);
}
.cell-link:hover { text-decoration: underline; }
.community-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.community-label .name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--green-deep);
}
.community-label .name a {
  color: inherit;
  text-decoration: none;
}
.community-label .name a:hover {
  text-decoration: underline;
  color: var(--green-mid);
}
.community-label .platform {
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── SCORE BADGES ── */
.sb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
  flex-shrink: 0;
}
.sb-1 { background: var(--coral-light); color: var(--coral); }
.sb-2 { background: #fef0ec; color: #e05a3a; }
.sb-3 { background: #fef9c3; color: #a16207; }
.sb-4 { background: #d1fae5; color: #047857; }
.sb-5 { background: var(--green-pale); color: var(--green-dark); }

.score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.score-row:last-child { margin-bottom: 0; }
.score-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}
.score-dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 4px;
}
.score-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--slate-200);
}
.score-dot.filled { background: var(--green-mid); }
.score-dot.filled.low { background: var(--coral); }
.score-dot.filled.med { background: var(--amber); }

/* ── TAGS ── */
.tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  margin: 2px 2px 2px 0;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.tag-green { background: var(--green-pale); color: var(--green-dark); }
.tag-amber { background: var(--amber-light); color: var(--amber-dark); }
.tag-coral { background: var(--coral-light); color: var(--coral); }
.tag-blue { background: var(--blue-light); color: var(--blue-soft); }
.tag-purple { background: var(--purple-light); color: var(--purple-soft); }
.tag-grey { background: var(--slate-100); color: var(--slate-500); }

/* ── PANELS ── */
.deep-section {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  padding: 60px 0;
}
.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.panel {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s;
}
.panel:hover { box-shadow: var(--shadow-md); }
.panel-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.panel-icon.green { background: var(--green-pale); }
.panel-icon.amber { background: var(--amber-light); }
.panel-icon.coral { background: var(--coral-light); }
.panel-icon.blue { background: var(--blue-light); }
.panel-icon.purple { background: var(--purple-light); }
.panel h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 10px;
}
.panel p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate-600);
}
.panel .ev {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-200);
  font-size: 13px;
  color: var(--slate-500);
}
.panel .ev strong { color: var(--slate-700); }

/* ── QUOTE CARDS ── */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.qc {
  background: var(--white);
  border-left: 3px solid var(--green-mid);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
}
.qc p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-700);
}
.qc .qt {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.qc.alert { border-left-color: var(--coral); }
.qc.alert .qt { color: var(--coral); }
.qc.signal { border-left-color: var(--amber); }
.qc.signal .qt { color: var(--amber-dark); }
.qc.info { border-left-color: var(--blue-soft); }
.qc.info .qt { color: var(--blue-soft); }

/* ── MESSAGING PATHWAYS / ACCORDIONS ── */
.pathway {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
}
.pw-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
  transition: background .15s;
}
.pw-header:hover { background: var(--slate-50); }
.pw-header h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-900);
}
.pw-risk {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.pw-risk.high { background: var(--coral-light); color: var(--coral); }
.pw-risk.moderate { background: var(--amber-light); color: var(--amber-dark); }
.pw-risk.low { background: var(--green-pale); color: var(--green-dark); }
.pw-toggle {
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  transition: transform .2s;
  font-size: 18px;
}
.pathway.open .pw-toggle { transform: rotate(180deg); }
.pw-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.pathway.open .pw-body { max-height: 4000px; }
.pw-content { padding: 0 28px 28px; }
.pw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.pw-field-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 6px;
}
.pw-field p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-700);
}
.hook-card {
  background: var(--green-wash);
  border: 1px solid var(--green-pale);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.hook-card .hook-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1.55;
  font-style: italic;
}
.hook-card .hook-why {
  font-size: 12.5px;
  color: var(--slate-500);
  margin-top: 8px;
  line-height: 1.5;
}
.pw-avoid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.pw-avoid .tag { font-size: 11px; }

/* ── TRUST GRID ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.trust-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.trust-item h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-item p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate-500);
}
.trust-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.trust-dot.high { background: var(--green-mid); }
.trust-dot.moderate { background: var(--amber); }
.trust-dot.low { background: var(--coral); }
.trust-dot.hostile { background: var(--coral-dark); }

/* ── RISK BAR ── */
.risk-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.risk-item {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.risk-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.risk-item h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 4px;
}
.risk-item p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate-600);
}

/* ── LANGUAGE GUIDANCE ── */
.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.lang-panel {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
}
.lang-panel.use { border-left: 3px solid var(--green-mid); }
.lang-panel.avoid { border-left: 3px solid var(--coral); }
.lang-panel h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
}
.lang-panel.use h4 { color: var(--green-dark); }
.lang-panel.avoid h4 { color: var(--coral); }
.lang-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ── LANGUAGE GUIDANCE — TERMS, BULLETS & REGISTER NOTE ── */
.lang-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.lang-term {
  font-size: 11px;
}
.guidance-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guidance-bullets li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate-600);
  padding-left: 18px;
  position: relative;
}
.guidance-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--slate-400);
  font-size: 11px;
  top: 3px;
}
.guidance-prose-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--slate-600);
  margin: 0;
}
.lang-register-note {
  margin-top: 20px;
  padding: 12px 14px;
  background: var(--slate-100);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate-600);
}
.lang-register-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 5px;
}

/* ── PLATFORM COMPARISON ── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.platform-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.platform-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.platform-card .platform-stat {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 4px;
}
.platform-card .platform-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-500);
  font-weight: 500;
}
.platform-card .platform-detail {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate-600);
  margin-top: 12px;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.platform-badge.priority { background: var(--green-pale); color: var(--green-dark); }
.platform-badge.secondary { background: var(--amber-light); color: var(--amber-dark); }
.platform-badge.pending { background: var(--slate-100); color: var(--slate-400); }
.platform-card--pending {
  background: var(--slate-50);
  border: 1px dashed var(--slate-300);
}
.platform-card--pending h4 { color: var(--slate-400); }
.platform-card--pending .platform-pending-msg {
  font-size: 13px;
  color: var(--slate-400);
  font-style: italic;
  margin-top: 20px;
  line-height: 1.5;
}

/* ── PLATFORM KEY INSIGHTS LIST ── */
.key-insights-block {
  margin-top: 12px;
}

.key-insights-heading {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.insights-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.insight-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: var(--slate-50, #f8f9fa);
  border-left: 3px solid var(--blue-soft, #6b9fd4);
  border-radius: 0 4px 4px 0;
}

.insight-item .insight-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  display: inline-block;
}

.insight-item .insight-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate-700);
}

/* ── CONTENT THEMES BAR CHART ── */
.theme-list { margin-top: 20px; }
.theme-row {
  display: grid;
  grid-template-columns: 140px 1fr 50px;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.theme-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-700);
  text-align: right;
}
.theme-bar-bg {
  height: 20px;
  background: var(--slate-100);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.theme-bar {
  height: 100%;
  border-radius: 4px;
  background: var(--green-mid);
  transition: width .4s ease;
}
.theme-bar.amr-relevant { background: var(--amber); }
.theme-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-500);
}

/* ── METHODOLOGY ── */
.methodology {
  background: var(--slate-100);
  border-top: 1px solid var(--slate-200);
  padding: 48px 0;
}
.methodology h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 16px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.method-item h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 6px;
}
.method-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-700);
}

/* ── FOOTER ── */
.report-footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.5);
  padding: 32px 0;
  font-size: 13px;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner strong { color: rgba(255,255,255,0.8); }

/* ── BACK LINK ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-mid);
  padding: 8px 0;
  margin-bottom: 20px;
}
.back-link:hover { text-decoration: none; color: var(--green-dark); }
.back-link span { transition: transform .2s; }
.back-link:hover span { transform: translateX(-4px); }

/* ── CROSS-COMMUNITY INSIGHTS ── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.insight-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 24px;
}
.insight-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 10px;
}
.insight-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate-600);
}

/* ── LOADING STATE ── */
.loading-placeholder {
  text-align: center;
  padding: 40px;
  color: var(--slate-400);
  font-size: 14px;
}
.loading-placeholder::before {
  content: '';
  display: block;
  width: 28px; height: 28px;
  border: 3px solid var(--slate-200);
  border-top-color: var(--green-mid);
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── NEWSLETTER CTA ── */
.newsletter-cta {
  background: var(--green-pale);
  border-top: 1px solid rgba(92,184,122,0.2);
  border-bottom: 1px solid rgba(92,184,122,0.2);
  padding: 44px 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: center;
}
.newsletter-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 8px;
}
.newsletter-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}
.newsletter-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-600);
}
.newsletter-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-row {
  display: flex;
  gap: 10px;
}
.newsletter-input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--slate-800);
  background: var(--white);
  transition: border-color .15s;
  outline: none;
  min-width: 0;
}
.newsletter-input:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(61,140,92,0.1);
}
.newsletter-input::placeholder { color: var(--slate-400); }
.newsletter-btn {
  height: 42px;
  padding: 0 22px;
  background: var(--green-mid);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.newsletter-btn:hover { background: var(--green-dark); }
.newsletter-privacy {
  font-size: 12px;
  color: var(--slate-400);
}

/* ── FOOTER UPPER (GET IN TOUCH) ── */
.footer-upper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-cta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}
.footer-cta-heading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
  line-height: 1.35;
}
.footer-cta-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.footer-cta-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  text-decoration: none;
}
.footer-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-about-logo {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.75;
  align-self: flex-start;
}
.footer-about-tagline {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-bottom: 10px;
}
.footer-about-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.32);
  line-height: 1.65;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .cover { padding: 48px 24px 40px; }
  .exec-grid,
  .section-header { grid-template-columns: 1fr; gap: 16px; }
  .panel-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .pw-grid { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .risk-bar { grid-template-columns: 1fr; }
  .theme-row { grid-template-columns: 100px 1fr 40px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-upper { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .newsletter-row:last-of-type { flex-direction: column; }
  .newsletter-btn { width: 100%; justify-content: center; }
}

/* ── EXPANDABLE TEXT / READ MORE ── */
.expandable-text {
  display: inline;
}
.text-preview,
.text-full {
  display: inline;
}
/* Ensure the hidden attribute actually hides these spans
   (our display:inline rule would otherwise override it) */
.text-preview[hidden],
.text-full[hidden] {
  display: none !important;
}
.read-more-btn {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin-left: 3px;
  color: var(--green-mid);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s;
}
.read-more-btn:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

/* ── PRINT ── */
@media print {
  body { background: white; }
  .cover { min-height: auto; padding: 40px; }
  .pw-body { max-height: none !important; }
  .pathway.open .pw-toggle,
  .pw-toggle { display: none; }
  .matrix-scroll { overflow: visible; }
  .matrix-table { min-width: 0; }
  .panel:hover { box-shadow: none; }
  section { padding: 30px 0; }
  .back-link { display: none; }
  /* Always show full text when printing */
  .text-preview { display: none !important; }
  .text-full { display: inline !important; }
  .read-more-btn { display: none !important; }
  @page { margin: 1.5cm; }
}
