/* ============================================
   Center for AI Oversight — Consolidated Styles
   ============================================ */

:root {
  --navy: #0C1B2E;
  --navy-mid: #142D4A;
  --navy-light: #1A3A5C;
  --slate: #2E4A6B;
  --steel: #6B8299;
  --ink: #56697D;        /* AA-compliant body text on light backgrounds */
  --accent-ink: #8C6128; /* AA-compliant gold for small text/labels on light */
  --silver: #A8BAC8;
  --pearl: #E8EDF2;
  --white: #FFFFFF;
  --cream: #F7F8FA;
  --accent: #C8965A;
  --accent-light: #D4A96E;
  --accent-glow: rgba(200, 150, 90, 0.10);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--navy); background: var(--white); overflow-x: hidden; }

/* ── NAV ──────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(12, 27, 46, 0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 150, 90, 0.12);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-mark { width: 36px; height: 36px; }
.nav-name { font-family: var(--serif); font-size: 16.5px; font-weight: 600; color: var(--white); line-height: 1.2; }
.nav-name span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--silver);
  text-decoration: none; letter-spacing: 0.2px; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: none; cursor: pointer;
  padding: 4px; z-index: 1010;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: var(--silver);
  border-radius: 2px; transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile overlay */
.nav-overlay {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(12, 27, 46, 0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: 60px; gap: 8px; z-index: 999;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  color: var(--silver); text-decoration: none; padding: 16px 40px;
  transition: color 0.2s; letter-spacing: 0.3px;
}
.nav-overlay a:hover, .nav-overlay a.active { color: var(--white); }

/* ── SECTION LABELS ───────────────────────── */
.section-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--accent); margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif); font-size: 36px; font-weight: 600;
  color: var(--navy); margin-bottom: 16px; line-height: 1.18;
}
.section-desc {
  font-size: 16px; color: var(--ink); line-height: 1.65;
  max-width: 600px; margin-bottom: 44px;
}

/* ── PAGE HEADER (about, contact, publications) ── */
.page-header {
  margin-top: 68px; padding: 80px 40px 60px;
  background: var(--navy); text-align: center; position: relative;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%);
}
.page-header-inner { max-width: 700px; margin: 0 auto; }
.page-header h1 {
  font-family: var(--serif); font-size: 44px; font-weight: 600;
  color: var(--white); margin-bottom: 16px;
}
.page-header p {
  font-size: 17px; color: var(--silver); line-height: 1.65; font-weight: 300;
}

/* ── HERO (index) ─────────────────────────── */
.hero {
  margin-top: 68px; padding: 120px 40px 100px;
  background: var(--navy); position: relative; overflow: hidden; text-align: center;
}
.hero::before {
  content: ''; position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 520px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(200,150,90,0.16) 0%, rgba(200,150,90,0.06) 38%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%);
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--serif); font-size: 56px; font-weight: 600;
  line-height: 1.1; color: var(--white); margin-bottom: 10px; letter-spacing: -0.3px;
}
.hero h1 span { color: var(--accent); }
.hero-rule { width: 60px; height: 2px; background: var(--accent); margin: 32px auto; }
.hero-mission {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  line-height: 1.55; color: var(--silver); max-width: 640px;
  margin: 0 auto 40px; font-style: italic;
}
.hero-desc {
  font-size: 16px; line-height: 1.7; color: var(--ink);
  max-width: 580px; margin: 0 auto;
}

/* ── CREDIBILITY BAR (index) ──────────────── */
.credibility {
  padding: 28px 40px; background: var(--cream);
  border-bottom: 1px solid var(--pearl);
}
.credibility-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 36px; flex-wrap: wrap;
}
.credibility-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--ink); white-space: nowrap;
}
.cred-logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.cred-logo {
  padding: 6px 14px; background: var(--white); border: 1px solid var(--pearl);
  border-radius: 4px; font-size: 12px; font-weight: 600; color: var(--slate);
  letter-spacing: 0.2px; white-space: nowrap;
}

/* ── ADVISORY BOARD (index + about) ───────── */
.advisory {
  padding: 88px 40px; background: var(--white);
  border-bottom: 1px solid var(--pearl);
}
.advisory-inner { max-width: 1140px; margin: 0 auto; }
.institution-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 44px; padding-bottom: 40px;
  border-bottom: 1px solid var(--pearl);
}
.inst-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--ink); width: 100%; margin-bottom: 6px;
}
.inst-badge {
  padding: 10px 20px; border: 1px solid var(--pearl);
  border-radius: 5px; font-size: 13.5px; font-weight: 600;
  color: var(--navy); background: var(--cream); letter-spacing: 0.2px;
}
.advisor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.advisor-card {
  border: 1px solid var(--pearl); border-radius: 8px;
  padding: 28px; transition: all 0.25s;
}
.advisor-card:hover {
  box-shadow: 0 6px 24px rgba(12,27,46,0.06);
  border-color: var(--silver);
}
.advisor-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.advisor-photo {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--pearl);
  flex-shrink: 0; background: var(--cream); font-size: 0;
}
.advisor-info { flex: 1; min-width: 0; }
.advisor-name {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  color: var(--navy); margin-bottom: 4px;
}
.advisor-title { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.advisor-bio { font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.advisor-linkedin, .leader-linkedin {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--ink); text-decoration: none;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--pearl);
  transition: color 0.2s; font-weight: 500;
}
.advisor-linkedin:hover, .leader-linkedin:hover { color: var(--accent); }

/* Fellows / Senior Fellows */
.fellows-section {
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid var(--pearl);
}
.fellows-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--accent); margin-bottom: 24px;
}
.fellows-desc {
  font-size: 14px; color: var(--silver); line-height: 1.6;
  max-width: 600px; margin-bottom: 32px;
}
.fellows-section .advisor-grid { grid-template-columns: repeat(3, 1fr); }

/* Former advisory board */
.former-section {
  margin-top: 48px; padding-top: 36px;
  border-top: 1px solid var(--pearl);
}
.former-grid { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
.former-member {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: rgba(12, 27, 46, 0.03);
  border: 1px solid var(--pearl); border-radius: 8px; min-width: 300px;
}
.former-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; filter: grayscale(30%); }
.former-name { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--navy); }
.former-title { font-size: 12.5px; color: var(--ink); margin-top: 2px; }
.former-linkedin {
  font-size: 11.5px; color: var(--ink); text-decoration: none;
  margin-top: 4px; display: inline-block; transition: color 0.2s;
}
.former-linkedin:hover { color: var(--accent); }

/* About-page advisory overrides (dark bg) */
.advisory--dark { padding: 80px 40px; background: var(--navy); position: relative; }
.advisory--dark::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%);
}
.advisory--dark .section-title { color: var(--white); }
.advisory--dark .advisory-desc {
  font-size: 16px; color: var(--silver); line-height: 1.65;
  max-width: 620px; margin-bottom: 44px;
}
.advisory--dark .institution-bar {
  border-bottom-color: rgba(255,255,255,0.08);
}
.advisory--dark .inst-badge {
  border-color: rgba(255,255,255,0.12); color: var(--white);
  background: rgba(255,255,255,0.03);
}
.advisory--dark .advisor-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
.advisory--dark .advisor-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(200,150,90,0.25);
}
.advisory--dark .advisor-photo {
  border-color: rgba(200,150,90,0.3); background: var(--navy-light);
}
.advisory--dark .advisor-name { color: var(--white); }
.advisory--dark .advisor-title { font-size: 13px; }
.advisory--dark .advisor-bio { font-size: 14px; color: var(--silver); }
.advisory--dark .advisor-linkedin {
  border-top-color: rgba(255,255,255,0.06);
}
.advisory--dark .advisor-grid { grid-template-columns: repeat(2, 1fr); }
.advisory--dark .fellows-section {
  margin-top: 56px; padding-top: 48px;
  border-top-color: rgba(255,255,255,0.08);
}
.advisory--dark .former-section {
  border-top-color: rgba(255,255,255,0.08);
}

/* ── WHAT WE DO (index) ──────────────────── */
.what-we-do {
  padding: 88px 40px; background: var(--cream);
  border-bottom: 1px solid var(--pearl);
}
.wwd-inner { max-width: 1140px; margin: 0 auto; }
.wwd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.wwd-card {
  background: var(--white); border: 1px solid var(--pearl);
  border-radius: 8px; padding: 36px 28px;
}
.wwd-card h3 {
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  color: var(--navy); margin-bottom: 12px; line-height: 1.25;
}
.wwd-card p { font-size: 14.5px; line-height: 1.65; color: var(--ink); }

/* ── THE AI OVERSIGHT PROGRAM (index) ─────── */
.framework {
  padding: 88px 40px; background: var(--navy); position: relative;
}
.framework::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%);
}
.framework-inner-wide { max-width: 1140px; margin: 0 auto; }
.framework .section-label { color: var(--accent); }
.framework .section-title { color: var(--white); max-width: 700px; margin-bottom: 18px; }
.framework .section-desc { color: var(--silver); margin-bottom: 36px; max-width: 760px; }

.program-intro {
  padding-bottom: 48px; margin-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.program-stats { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.program-stat { display: flex; align-items: baseline; gap: 12px; }
.program-stat-num {
  font-family: var(--serif); font-size: 38px; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.program-stat-label {
  font-size: 13px; color: var(--silver); text-transform: uppercase;
  letter-spacing: 1.5px; font-weight: 600;
}
.program-stat-wide {
  flex-direction: column; align-items: flex-start; gap: 4px;
  padding-left: 36px; border-left: 1px solid rgba(255,255,255,0.12);
}
.program-stat-label-lead {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  color: var(--white); line-height: 1.3;
}
.program-stat-sublabel {
  font-size: 12px; color: var(--silver); letter-spacing: 0.3px; line-height: 1.5;
}

.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pillar-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 32px; transition: all 0.25s;
}
.pillar-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(200,150,90,0.3);
}
.pillar-header {
  display: flex; align-items: flex-start; gap: 18px;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pillar-num {
  font-family: var(--serif); font-size: 28px; font-weight: 700;
  color: var(--accent); line-height: 1; flex-shrink: 0; min-width: 32px;
}
.pillar-name {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  color: var(--white); line-height: 1.2; margin-bottom: 4px;
}
.pillar-nick {
  font-size: 12px; color: var(--accent); font-style: italic; letter-spacing: 0.3px;
}
.domain-list { list-style: none; margin: 0; padding: 0; }
.domain-list li {
  font-size: 13.5px; color: var(--silver); line-height: 1.5;
  padding: 7px 0 7px 16px; position: relative;
}
.domain-list li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

/* ── PUBLICATIONS PREVIEW (index) ─────────── */
.publications {
  padding: 88px 40px; background: var(--white);
  border-bottom: 1px solid var(--pearl);
}
.pub-inner { max-width: 1140px; margin: 0 auto; }
.pub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.pub-card {
  border: 1px solid var(--pearl); border-radius: 10px;
  padding: 40px; position: relative; overflow: hidden; transition: all 0.25s;
}
.pub-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--navy-light));
}
.pub-card:hover { box-shadow: 0 8px 30px rgba(12,27,46,0.06); }
.pub-badge {
  display: inline-block; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; color: var(--accent);
  background: var(--accent-glow); padding: 5px 12px;
  border-radius: 3px; margin-bottom: 18px;
}
.pub-title {
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  color: var(--navy); margin-bottom: 12px; line-height: 1.25;
}
.pub-desc { font-size: 14.5px; color: var(--ink); line-height: 1.6; margin-bottom: 20px; }
.pub-partner {
  font-size: 12.5px; font-weight: 600; color: var(--slate);
  padding-top: 16px; border-top: 1px solid var(--pearl);
}
.pub-partner span { color: var(--accent); }

/* ── CORE IDEAS (index) ──────────────────── */
.ideas { padding: 88px 40px; background: var(--cream); }
.ideas-inner { max-width: 1140px; margin: 0 auto; }
.ideas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.idea-card {
  background: var(--white); border: 1px solid var(--pearl);
  border-radius: 8px; padding: 36px 28px;
}
.idea-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); margin-bottom: 14px;
}
.idea-card h3 {
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  color: var(--navy); margin-bottom: 12px; line-height: 1.25;
}
.idea-card p { font-size: 14.5px; line-height: 1.65; color: var(--ink); }

/* ── MISSION (about) ─────────────────────── */
.mission {
  padding: 80px 40px; background: var(--white);
  border-bottom: 1px solid var(--pearl);
}
.mission-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.mission-text { font-size: 16px; color: var(--ink); line-height: 1.75; margin-bottom: 20px; }
.mission-values { list-style: none; margin-top: 32px; }
.mission-values li { padding: 16px 0; border-bottom: 1px solid var(--pearl); }
.mission-values li:last-child { border-bottom: none; }
.mission-values h3 {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
}
.mission-values p { font-size: 14.5px; color: var(--ink); line-height: 1.6; }

/* ── LEADERSHIP (about) ──────────────────── */
.leadership {
  padding: 80px 40px; background: var(--cream);
  border-bottom: 1px solid var(--pearl);
}
.leadership-inner { max-width: 1140px; margin: 0 auto; }
.leadership-desc {
  font-size: 16px; color: var(--ink); line-height: 1.65;
  max-width: 720px; margin-bottom: 12px;
}
.leader-profile {
  display: grid; grid-template-columns: 280px 1fr; gap: 56px;
  align-items: start; margin-top: 44px;
}
.leader-photo {
  width: 280px; height: 340px; background: var(--navy);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.leader-photo::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: var(--accent); z-index: 1;
}
.leader-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leader-name {
  font-family: var(--serif); font-size: 32px; font-weight: 600;
  color: var(--navy); margin-bottom: 4px;
}
.leader-title-line { font-size: 15px; color: var(--accent); font-weight: 600; margin-bottom: 24px; }
.leader-bio { font-size: 15.5px; color: var(--ink); line-height: 1.75; margin-bottom: 16px; }
.leader-credentials { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--pearl); }
.cred-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); margin-bottom: 14px;
}
.cred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cred-item {
  padding: 14px 18px; background: var(--white);
  border: 1px solid var(--pearl); border-radius: 6px;
}
.cred-item-role { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.cred-item-org { font-size: 13px; color: var(--ink); }
.leader-divider { height: 1px; background: var(--pearl); margin: 64px 0 0; }

/* ── PARTNERS (about) ────────────────────── */
.partners {
  padding: 80px 40px; background: var(--white);
  border-bottom: 1px solid var(--pearl);
}
.partners-inner { max-width: 1140px; margin: 0 auto; }
.partners-desc {
  font-size: 16px; color: var(--ink); line-height: 1.65;
  max-width: 600px; margin-bottom: 44px;
}
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner-card {
  border: 1px solid var(--pearl); border-radius: 8px;
  padding: 28px; transition: all 0.25s;
}
.partner-card:hover { box-shadow: 0 4px 20px rgba(12,27,46,0.05); }
.partner-name {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  color: var(--navy); margin-bottom: 8px;
}
.partner-type {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--accent); margin-bottom: 10px;
}
.partner-desc { font-size: 13.5px; color: var(--ink); line-height: 1.55; }

/* ── NONPROFIT (about) ───────────────────── */
.nonprofit {
  padding: 60px 40px; background: var(--cream);
  border-bottom: 1px solid var(--pearl);
}
.nonprofit-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.nonprofit-title {
  font-family: var(--serif); font-size: 26px; font-weight: 600;
  color: var(--navy); margin-bottom: 14px; line-height: 1.25;
}
.nonprofit-text { font-size: 15px; color: var(--ink); line-height: 1.65; }
.nonprofit-details {
  background: var(--white); border: 1px solid var(--pearl);
  border-radius: 8px; padding: 28px;
}
.np-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--pearl);
}
.np-row:last-child { border-bottom: none; }
.np-label { font-size: 13px; font-weight: 600; color: var(--slate); }
.np-value { font-size: 13px; color: var(--ink); }

/* ── ABOUT CONTACT CTA ───────────────────── */
.contact-cta {
  padding: 72px 40px; background: var(--navy); text-align: center;
}
.contact-cta-inner { max-width: 560px; margin: 0 auto; }
.contact-cta h2, .contact h2 {
  font-family: var(--serif); font-size: 30px; font-weight: 600;
  color: var(--white); margin-bottom: 14px;
}
.contact-cta p, .contact p {
  font-size: 15px; color: var(--silver); line-height: 1.65; margin-bottom: 8px;
}
.contact-email {
  font-size: 17px; color: var(--accent); font-weight: 600;
  text-decoration: none; display: inline-block; margin-top: 12px;
  padding-bottom: 2px; border-bottom: 1px solid rgba(200,150,90,0.3);
  transition: border-color 0.2s;
}
.contact-email:hover { border-color: var(--accent); }

/* ── INQUIRY PATHS (contact) ─────────────── */
.inquiries {
  padding: 88px 40px; background: var(--white);
  border-bottom: 1px solid var(--pearl);
}
.inquiries-inner { max-width: 1140px; margin: 0 auto; }
.inquiry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.inquiry-card {
  border: 1px solid var(--pearl); border-radius: 10px;
  padding: 36px; transition: all 0.25s;
}
.inquiry-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(12,27,46,0.05);
}
.inquiry-type {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); margin-bottom: 14px;
}
.inquiry-card h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px; line-height: 1.25;
}
.inquiry-card p { font-size: 14.5px; color: var(--ink); line-height: 1.6; margin-bottom: 20px; }
.inquiry-email {
  font-size: 14px; font-weight: 600; color: var(--accent);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.inquiry-email:hover { gap: 12px; }

/* ── DIRECT CONTACT (contact) ────────────── */
.direct {
  padding: 72px 40px; background: var(--cream);
  border-bottom: 1px solid var(--pearl);
}
.direct-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.direct-info h2 {
  font-family: var(--serif); font-size: 30px; font-weight: 600;
  color: var(--navy); margin-bottom: 16px;
}
.direct-info > p {
  font-size: 15px; color: var(--ink); line-height: 1.65; margin-bottom: 32px;
}
.contact-detail {
  padding: 16px 0; border-bottom: 1px solid var(--pearl);
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--accent);
  width: 100px; flex-shrink: 0; padding-top: 2px;
}
.contact-detail-value { font-size: 15px; color: var(--navy); line-height: 1.5; }
.contact-detail-value a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact-detail-value a:hover { text-decoration: underline; }

/* ── CONTACT FORM (contact) ──────────────── */
.contact-form {
  background: var(--white); border: 1px solid var(--pearl);
  border-radius: 10px; padding: 40px;
}
.form-title {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--navy); margin-bottom: 24px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--slate); margin-bottom: 6px; letter-spacing: 0.3px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--pearl); border-radius: 5px;
  font-size: 14px; color: var(--navy); font-family: var(--sans);
  background: var(--cream); outline: none; transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--accent); }
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row select { cursor: pointer; }
.form-submit {
  padding: 14px 28px; background: var(--accent); color: var(--navy);
  border: none; border-radius: 6px; font-size: 14px; font-weight: 600;
  font-family: var(--sans); cursor: pointer; transition: all 0.2s; width: 100%;
}
.form-submit:hover { background: var(--accent-light); }

/* ── FLAGSHIP PUBLICATIONS (publications) ── */
.flagship {
  padding: 88px 40px; background: var(--white);
  border-bottom: 1px solid var(--pearl);
}
.flagship-inner { max-width: 1140px; margin: 0 auto; }
.pub-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid var(--pearl);
}
.pub-feature:last-child { border-bottom: none; }
.pub-feature-title {
  font-family: var(--serif); font-size: 28px; font-weight: 600;
  color: var(--navy); margin-bottom: 16px; line-height: 1.25;
}
.pub-feature-desc { font-size: 15px; color: var(--ink); line-height: 1.7; margin-bottom: 20px; }
.pub-highlights { list-style: none; margin-bottom: 28px; }
.pub-highlights li {
  font-size: 14px; color: var(--slate); padding: 7px 0;
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.pub-highlights li::before { content: '—'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pub-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--accent); color: var(--navy);
  font-size: 14px; font-weight: 600; text-decoration: none;
  border-radius: 6px; transition: all 0.25s;
}
.pub-cta:hover { background: var(--accent-light); transform: translateY(-1px); }
.pub-feature-visual {
  background: var(--cream); border: 1px solid var(--pearl);
  border-radius: 10px; padding: 44px; position: relative;
  min-height: 320px; display: flex; flex-direction: column; justify-content: center;
}
.pub-feature-visual::before {
  content: ''; position: absolute; top: -1px; left: 36px; right: 36px;
  height: 4px; background: linear-gradient(90deg, var(--accent), var(--navy-light));
  border-radius: 0 0 4px 4px;
}
.pv-type {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); margin-bottom: 20px;
}
.pv-title {
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px; line-height: 1.3;
}
.pv-subtitle { font-size: 14px; color: var(--ink); margin-bottom: 24px; line-height: 1.5; }
.pv-toc-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--slate); margin-bottom: 12px;
}
.pv-toc { list-style: none; }
.pv-toc li {
  font-size: 13.5px; color: var(--ink); padding: 5px 0;
  border-bottom: 1px solid var(--pearl);
  display: flex; align-items: center; gap: 8px;
}
.pv-toc li:last-child { border-bottom: none; }
.pv-toc-num {
  font-family: var(--serif); font-size: 15px; font-weight: 700;
  color: var(--accent); width: 24px; flex-shrink: 0;
}
.pv-logos {
  display: flex; align-items: center; gap: 14px;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--pearl);
}
.pv-logo-tag {
  font-size: 11px; font-weight: 600; color: var(--slate);
  padding: 4px 10px; border: 1px solid var(--pearl); border-radius: 3px;
}

/* Additional publications */
.additional {
  padding: 88px 40px; background: var(--cream);
  border-bottom: 1px solid var(--pearl);
}
.additional-inner { max-width: 1140px; margin: 0 auto; }
.add-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.add-card {
  background: var(--white); border: 1px solid var(--pearl);
  border-radius: 8px; padding: 32px; transition: all 0.25s;
}
.add-card:hover { box-shadow: 0 6px 24px rgba(12,27,46,0.05); }
.add-type {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); margin-bottom: 14px;
}
.add-card h3 {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px; line-height: 1.25;
}
.add-card p { font-size: 14px; color: var(--ink); line-height: 1.6; margin-bottom: 16px; }
.add-status {
  font-size: 12.5px; font-weight: 600; color: var(--slate);
  padding-top: 14px; border-top: 1px solid var(--pearl);
}

/* Notify form (publications) */
.notify { padding: 68px 40px; background: var(--navy); text-align: center; }
.notify-inner { max-width: 540px; margin: 0 auto; }
.notify h2 {
  font-family: var(--serif); font-size: 28px; font-weight: 600;
  color: var(--white); margin-bottom: 12px;
}
.notify p { font-size: 15px; color: var(--silver); margin-bottom: 26px; line-height: 1.6; }
.notify-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.notify-form input {
  flex: 1; padding: 13px 16px; border: 1px solid var(--slate);
  background: rgba(255,255,255,0.04); border-radius: 5px;
  font-size: 14px; color: var(--white); font-family: var(--sans); outline: none;
}
.notify-form input::placeholder { color: var(--ink); }
.notify-form input:focus { border-color: var(--accent); }
.notify-form button {
  padding: 13px 22px; background: var(--accent); color: var(--navy);
  border: none; border-radius: 5px; font-size: 14px; font-weight: 600;
  font-family: var(--sans); cursor: pointer; white-space: nowrap;
}
.notify-form button:hover { background: var(--accent-light); }

/* ── PRIVACY (privacy) ───────────────────── */
.privacy { padding: 80px 40px; background: var(--white); }
.privacy-inner { max-width: 760px; margin: 0 auto; }
.privacy h2 {
  font-family: var(--serif); font-size: 26px; font-weight: 600;
  color: var(--navy); margin: 40px 0 14px; line-height: 1.25;
}
.privacy h2:first-of-type { margin-top: 0; }
.privacy p { font-size: 15px; color: var(--ink); line-height: 1.75; margin-bottom: 16px; }
.privacy ul { list-style: none; margin-bottom: 16px; padding-left: 0; }
.privacy ul li {
  font-size: 15px; color: var(--ink); line-height: 1.75;
  padding: 4px 0 4px 20px; position: relative;
}
.privacy ul li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.privacy-updated {
  font-size: 13px; color: var(--ink); margin-bottom: 32px;
  padding-bottom: 24px; border-bottom: 1px solid var(--pearl);
}
.privacy a { color: var(--accent); text-decoration: none; font-weight: 600; }
.privacy a:hover { text-decoration: underline; }

/* ── NEWSLETTER ──────────────────────────── */
.newsletter { padding: 68px 40px; background: var(--navy); text-align: center; }
.newsletter-inner { max-width: 520px; margin: 0 auto; }
.newsletter-brand {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--accent); margin-bottom: 14px;
}
.newsletter h2 {
  font-family: var(--serif); font-size: 28px; font-weight: 600;
  color: var(--white); margin-bottom: 10px;
}
.newsletter p { font-size: 14.5px; color: var(--silver); margin-bottom: 26px; line-height: 1.6; }
.newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 13px 16px; border: 1px solid var(--slate);
  background: rgba(255,255,255,0.04); border-radius: 5px;
  font-size: 14px; color: var(--white); font-family: var(--sans); outline: none;
}
.newsletter-form input::placeholder { color: var(--ink); }
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  padding: 13px 22px; background: var(--accent); color: var(--navy);
  border: none; border-radius: 5px; font-size: 14px; font-weight: 600;
  font-family: var(--sans); cursor: pointer; white-space: nowrap;
}
.newsletter-form button:hover { background: var(--accent-light); }
.newsletter-link {
  display: inline-block; margin-top: 16px; font-size: 13.5px;
  color: var(--silver); text-decoration: none;
  border-bottom: 1px solid var(--slate); padding-bottom: 1px;
}
.newsletter-link:hover { color: var(--accent); border-color: var(--accent); }

/* ── FOOTER ──────────────────────────────── */
footer {
  padding: 52px 40px 32px; background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand-name {
  font-family: var(--serif); font-size: 15.5px; font-weight: 600;
  color: var(--white); margin-bottom: 10px;
}
.footer-brand-name span { color: var(--accent); }
.footer-mark { width: 48px; height: 48px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--ink); line-height: 1.55; max-width: 250px; }
.footer-col h4 {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--silver); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 13px; color: var(--ink);
  text-decoration: none; padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1140px; margin: 32px auto 0; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p, .footer-bottom span, .footer-bottom a { font-size: 12px; color: var(--ink); text-decoration: none; }

/* ── FORM SUCCESS STATE ──────────────────── */
.form-success { text-align: center; padding: 40px 20px; }
.form-success h3 {
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px;
}
.form-success p { font-size: 15px; color: var(--ink); line-height: 1.6; }
.newsletter-success {
  text-align: center; padding: 12px 0;
  font-size: 14px; color: var(--accent); font-weight: 600;
}

/* ── ANIMATIONS ──────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .page-header h1 { animation: fadeIn 0.7s ease 0.1s both; }
.hero-rule { animation: fadeIn 0.7s ease 0.25s both; }
.hero-mission, .page-header p { animation: fadeIn 0.7s ease 0.35s both; }
.hero-desc { animation: fadeIn 0.7s ease 0.45s both; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 38px; }
  .hero-mission { font-size: 19px; }
  .page-header h1 { font-size: 34px; }
  .section-title { font-size: 28px; }

  /* Index */
  .advisor-grid, .wwd-grid, .ideas-grid { grid-template-columns: 1fr; }
  .framework-inner-wide, .pub-grid, .pillars-grid { grid-template-columns: 1fr; }
  .program-stats { gap: 24px; }
  .institution-bar { justify-content: center; }

  /* About */
  .mission-inner, .nonprofit-inner { grid-template-columns: 1fr; gap: 40px; }
  .leader-profile { grid-template-columns: 1fr; gap: 28px; }
  .leader-photo { width: 100%; max-width: 320px; height: 320px; margin: 0 auto; }
  .advisory--dark .advisor-grid, .partner-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }

  /* Contact */
  .inquiry-grid { grid-template-columns: 1fr; }
  .direct-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Publications */
  .pub-feature { grid-template-columns: 1fr; gap: 32px; }
  .add-grid { grid-template-columns: 1fr; }

  /* Footer & Newsletter */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .newsletter-form, .notify-form { flex-direction: column; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .advisor-photo { width: 72px; height: 72px; }
  .leader-photo { height: 280px; }
}

/* ── ACCESSIBILITY: WCAG AA CONTRAST ADJUSTMENTS ───────────── */
/* Body/secondary text on dark backgrounds uses Silver (steel fails AA on navy). */
.hero-desc,
.footer-brand p,
.footer-col a,
.footer-bottom p,
.footer-bottom span,
.footer-bottom a,
.newsletter-form input::placeholder,
.notify-form input::placeholder { color: var(--silver); }

/* Gold labels/links on LIGHT backgrounds use the darker, AA-compliant gold. */
.section-label,
.idea-label,
.inquiry-type,
.partner-type,
.add-type,
.cred-label,
.pv-type,
.fellows-label,
.leader-title-line,
.advisor-title,
.pub-badge,
.pub-partner span,
.inquiry-email,
.contact-email,
.contact-detail-label,
.contact-detail-value a,
.privacy a { color: var(--accent-ink); }

/* Keep the original warm gold for gold-on-navy (dark) contexts, which pass AA. */
.framework .section-label,
.advisory--dark .section-label,
.advisory--dark .fellows-label,
.advisory--dark .advisor-title { color: var(--accent); }

/* Visible keyboard focus indicator (was suppressed on inputs). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }

/* Skip-to-content link */
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 2000;
  background: var(--accent); color: var(--navy); font-weight: 600;
  font-family: var(--sans); font-size: 14px; padding: 10px 16px;
  border-radius: 5px; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* Program CTA row (home teaser → full Program page) */
.program-cta-row { margin-top: 44px; }

/* Mailto CTA buttons (replace non-functional mailto POST forms) */
.cta-button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; background: var(--accent); color: var(--navy);
  border-radius: 6px; font-size: 14px; font-weight: 600;
  font-family: var(--sans); text-decoration: none; transition: background 0.2s, transform 0.2s;
}
.cta-button:hover { background: var(--accent-light); transform: translateY(-1px); }
.newsletter-cta-row, .notify-cta-row { display: flex; justify-content: center; }
.contact-cta-panel {
  background: var(--white); border: 1px solid var(--pearl);
  border-radius: 10px; padding: 40px;
}
.contact-cta-panel h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--navy); margin-bottom: 12px;
}
.contact-cta-panel p { font-size: 14.5px; color: var(--ink); line-height: 1.65; margin-bottom: 20px; }
.contact-cta-panel .cta-button { width: auto; }
.contact-cta-single {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--pearl);
  font-size: 13.5px; color: var(--ink);
}
.contact-cta-single a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.contact-cta-single a:hover { text-decoration: underline; }
.add-link { color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.add-link:hover { text-decoration: underline; }

/* Form success state (Formspree AJAX) */
.form-ok { font-size: 15px; font-weight: 600; color: var(--navy); text-align: center; padding: 10px 0; line-height: 1.5; }
.newsletter .form-ok, .notify .form-ok { color: var(--accent); }
.newsletter-form input[aria-invalid], .notify-form input[aria-invalid] { border-color: var(--accent); }

/* Authoritative sources: jurisdiction / industry tag groups */
.src-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--pearl);
}
.src-group-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent-ink); margin-bottom: 16px;
}
.src-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.src-tag {
  padding: 8px 16px; border: 1px solid var(--pearl); border-radius: 5px;
  font-size: 13px; font-weight: 600; color: var(--navy); background: var(--white);
}
@media (max-width: 900px) { .src-split { grid-template-columns: 1fr; gap: 32px; } }

/* ── WHAT WE DELIVER (four forms of work) ───── */
.wwd-grid-4 { grid-template-columns: repeat(4, 1fr); }
.wwd-card .wwd-engage {
  display: block; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--pearl);
  font-size: 12.5px; font-weight: 600; color: var(--accent-ink);
}
.deliver-note {
  margin-top: 40px; font-size: 14px; color: var(--ink); line-height: 1.7;
  max-width: 760px;
}
.deliver-note a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.deliver-note a:hover { text-decoration: underline; }

/* ── CORE IDEAS: read-more to essays ───────── */
.idea-readmore {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 600; color: var(--accent-ink); text-decoration: none;
}
.idea-readmore:hover { text-decoration: underline; }

/* ── INSIGHTS LANDING ──────────────────────── */
.insights-list { padding: 64px 40px 88px; background: var(--white); }
.insights-list-inner { max-width: 820px; margin: 0 auto; }
.insight-item {
  display: block; padding: 34px 0; border-bottom: 1px solid var(--pearl);
  text-decoration: none;
}
.insight-item:first-of-type { border-top: 1px solid var(--pearl); }
.insight-cat {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent-ink); margin-bottom: 10px;
}
.insight-h {
  font-family: var(--serif); font-size: 27px; font-weight: 600;
  color: var(--navy); line-height: 1.2; margin-bottom: 10px; transition: color 0.2s;
}
.insight-item:hover .insight-h { color: var(--accent-ink); }
.insight-dek { font-size: 16px; color: var(--ink); line-height: 1.6; margin-bottom: 12px; }
.insight-byline { font-size: 13px; color: var(--ink); }

/* ── ARTICLE (single essay) ────────────────── */
.article { padding: 56px 40px 80px; background: var(--white); }
.article-inner { max-width: 720px; margin: 0 auto; }
.article-back {
  display: inline-block; margin-bottom: 26px;
  font-size: 13px; font-weight: 600; color: var(--accent-ink); text-decoration: none;
}
.article-back:hover { text-decoration: underline; }
.article-cat {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--accent-ink); margin-bottom: 16px;
}
.article-inner h1 {
  font-family: var(--serif); font-size: 40px; font-weight: 600;
  color: var(--navy); line-height: 1.15; margin-bottom: 18px;
}
.article-byline { font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.article-byline strong { color: var(--navy); font-weight: 600; }
.article-date {
  font-size: 13px; color: var(--ink); margin-bottom: 34px;
  padding-bottom: 28px; border-bottom: 1px solid var(--pearl);
}
.article-body p { font-size: 17.5px; color: #2A3645; line-height: 1.8; margin-bottom: 22px; }
.article-body h2 {
  font-family: var(--serif); font-size: 25px; font-weight: 600;
  color: var(--navy); margin: 38px 0 14px; line-height: 1.25;
}
.article-body strong { color: var(--navy); font-weight: 600; }
.article-pullquote {
  font-family: var(--serif); font-style: italic; font-size: 23px;
  line-height: 1.4; color: var(--slate); margin: 32px 0;
  padding-left: 24px; border-left: 3px solid var(--accent);
}
.article-foot {
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--pearl);
  font-size: 15px; color: var(--ink); line-height: 1.7;
}
.article-foot a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.article-foot a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .wwd-grid-4 { grid-template-columns: 1fr; }
  .article-inner h1 { font-size: 31px; }
}

/* ============================================================
   FLAGSHIP PAPER COMPONENTS  (added June 2026)
   Long-form publication pages, e.g. /caremark-ai-liability-roadmap
   ============================================================ */
/* ============================================================
   CFAIO FLAGSHIP PAPER — tiered layout components
   Built on existing brand tokens in /styles.css
   Self-contained; safe to also move into styles.css later
   ============================================================ */

.paper { background: var(--white); padding: 0 0 80px; }

/* --- Cover band --- */
.paper-cover {
  background: var(--navy);
  color: var(--white);
  padding: 64px 40px 56px;
  position: relative;
  overflow: hidden;
}
.paper-cover::after {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.paper-cover-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.paper-cover .paper-eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px; color: var(--accent-light);
  margin-bottom: 22px;
}
.paper-cover h1 {
  font-family: var(--serif); font-weight: 600; color: var(--white);
  font-size: 50px; line-height: 1.08; margin: 0 0 18px;
}
.paper-cover .paper-sub {
  font-family: var(--serif); font-style: italic; font-size: 21px;
  color: var(--silver); line-height: 1.45; margin-bottom: 26px; max-width: 640px;
}
.paper-cover-rule { width: 70px; height: 3px; background: var(--accent); margin-bottom: 24px; }
.paper-cover-meta {
  font-family: var(--sans); font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--silver);
}
.paper-cover-meta strong { color: var(--accent-light); font-weight: 600; }

/* --- Body wrapper --- */
.paper-inner { max-width: 760px; margin: 0 auto; padding: 0 40px; }

/* --- Toolbar: download + reading aids --- */
.paper-toolbar {
  max-width: 760px; margin: 0 auto; padding: 20px 40px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.paper-back {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--accent-ink); text-decoration: none;
}
.paper-back:hover { text-decoration: underline; }
.paper-dl {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  background: var(--accent); color: var(--navy); border: none;
  padding: 10px 18px; border-radius: 4px; cursor: pointer;
  text-decoration: none; transition: background 0.2s, transform 0.2s;
}
.paper-dl:hover { background: var(--accent-light); transform: translateY(-1px); }

/* --- Lead / how-to-read --- */
.paper-lead {
  font-size: 18px; line-height: 1.75; color: #2A3645;
  border-left: 3px solid var(--pearl); padding-left: 22px; margin: 36px 0;
}

/* --- Section heads --- */
.paper-section-label {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2.5px; color: var(--accent-ink);
  margin: 56px 0 10px;
}
.paper h2 {
  font-family: var(--serif); font-size: 30px; font-weight: 600;
  color: var(--navy); line-height: 1.2; margin: 8px 0 20px;
  padding-bottom: 14px; border-bottom: 2px solid var(--accent);
}
.paper h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--navy); margin: 38px 0 6px; line-height: 1.3;
}
.paper p { font-size: 17.5px; color: #2A3645; line-height: 1.8; margin: 0 0 22px; }
.paper p strong { color: var(--navy); font-weight: 600; }

/* --- TIER 1: Board line --- */
.board-line {
  font-family: var(--serif); font-size: 23px; font-weight: 600;
  color: var(--navy); line-height: 1.4;
  border-left: 4px solid var(--accent); padding: 4px 0 4px 22px;
  margin: 22px 0 16px;
}

/* --- TIER 2: Why it matters --- */
.why { font-size: 17px; color: #2A3645; line-height: 1.78; margin: 0 0 18px; }
.why .why-label { font-weight: 700; color: var(--navy-light); }

/* --- TIER 3: Detail block --- */
.detail {
  background: var(--cream); border-left: 4px solid var(--accent);
  padding: 16px 22px; margin: 0 0 26px; border-radius: 0 4px 4px 0;
}
.detail .detail-label {
  display: block; font-family: var(--sans); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.8px; color: var(--accent-ink);
  margin-bottom: 6px;
}
.detail p, .detail span.detail-text {
  font-size: 15px; color: #45556B; line-height: 1.7; margin: 0;
}
.detail p + p { margin-top: 10px; }

/* --- Key Takeaways panel --- */
.takeaways { margin: 30px 0 36px; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(12,27,46,0.08); }
.takeaways-head {
  background: var(--navy); color: var(--white);
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2.5px;
  padding: 14px 24px;
}
.takeaways-body { background: var(--cream); padding: 10px 24px 18px; }
.takeaways-body ol { margin: 0; padding: 0; list-style: none; counter-reset: tk; }
.takeaways-body li {
  position: relative; padding: 12px 0 12px 38px; font-size: 16.5px;
  line-height: 1.6; color: var(--navy); border-bottom: 1px solid var(--pearl);
}
.takeaways-body li:last-child { border-bottom: none; }
.takeaways-body li::before {
  counter-increment: tk; content: counter(tk);
  position: absolute; left: 0; top: 11px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: var(--navy);
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* --- Questions for the Board --- */
.qfb {
  background: #EEF2F6; border-radius: 6px; padding: 6px 26px 22px;
  margin: 32px 0 12px; border-top: 3px solid var(--accent);
}
.qfb-head {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--navy);
  padding: 16px 0 10px;
}
.qfb ul { margin: 0; padding: 0; list-style: none; }
.qfb li {
  position: relative; padding: 10px 0 10px 28px; font-size: 16.5px;
  line-height: 1.6; color: var(--navy); border-left: 3px solid var(--accent);
  padding-left: 18px; margin-bottom: 8px;
}
.qfb li::before { content: "\2192"; color: var(--accent-ink); font-weight: 700; position: absolute; left: -3px; }

/* --- Pull quote --- */
.paper-pullquote {
  font-family: var(--serif); font-style: italic; font-size: 24px;
  line-height: 1.45; color: var(--slate); margin: 38px 0;
  padding-left: 26px; border-left: 3px solid var(--accent);
}

/* --- Provenance / footer note --- */
.paper-note {
  font-size: 14px; color: var(--ink); font-style: italic;
  line-height: 1.7; margin: 14px 0 0;
}

/* --- Sources --- */
.paper-sources { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--pearl); }
.paper-sources p { font-size: 14.5px; color: var(--ink); line-height: 1.7; }

/* --- Sticky contents (desktop) --- */
.paper-layout { display: block; }
.paper-toc { display: none; }
@media (min-width: 1180px) {
  .paper-layout { display: grid; grid-template-columns: 1fr 760px 1fr; gap: 0; align-items: start; }
  .paper-toc {
    display: block; position: sticky; top: 90px;
    justify-self: end; width: 200px; margin-right: 28px;
    font-family: var(--sans); font-size: 13px; line-height: 1.5;
  }
  .paper-toc-head { font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; margin-bottom: 12px; }
  .paper-toc a { display: block; color: var(--ink); text-decoration: none; padding: 5px 0 5px 12px; border-left: 2px solid var(--pearl); transition: all 0.15s; }
  .paper-toc a:hover { color: var(--navy); border-left-color: var(--accent); }
  .paper-spacer { }
}

/* --- Mobile --- */
@media (max-width: 900px) {
  .paper-cover { padding: 44px 24px 40px; }
  .paper-cover h1 { font-size: 34px; }
  .paper-cover .paper-sub { font-size: 18px; }
  .paper-inner, .paper-toolbar { padding-left: 24px; padding-right: 24px; }
  .paper h2 { font-size: 25px; }
  .board-line { font-size: 20px; }
}

/* --- Print / PDF --- */
@media print {
  nav, footer, .paper-toolbar, .nav-overlay, .skip-link, .paper-toc { display: none !important; }
  .paper-cover { background: var(--navy) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .takeaways-head, .takeaways-body, .detail, .qfb, .board-line { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .paper-inner { max-width: 100%; }
  body { font-size: 11pt; }
  h2, h3 { page-break-after: avoid; }
  .detail, .takeaways, .qfb { page-break-inside: avoid; }
}


/* PAPER TOC */
.paper-layout { display: flex; align-items: flex-start; max-width: 1040px; margin: 0 auto; gap: 40px; position: relative; }
.paper-toc { position: sticky; top: 120px; width: 240px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.toc-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--silver); margin-bottom: 8px; font-weight: 600; }
.paper-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--border); padding-left: 16px; }
.paper-toc a { text-decoration: none; color: var(--silver); font-size: 0.9rem; line-height: 1.3; transition: color 0.2s; display: block; }
.paper-toc a:hover { color: var(--ink); }
@media (max-width: 1000px) {
  .paper-layout { flex-direction: column; gap: 0; }
  .paper-toc { display: none; }
}


/* Offset for fixed navigation on anchor links */
h1[id], h2[id], h3[id], .inquiry-card[id] {
  scroll-margin-top: 120px;
}
