/* ============================================================
   The AI-Ready Audit — Clean Monochrome System (v3.1)
   Update:
   - Added IA quiz + modernization scale styles (scoped to body.page-ia)
   - Kept all prior scoping + thesis memory mode rules
   ============================================================ */

/* =========================
   Reset / Base
   ========================= */
*{ margin:0; padding:0; box-sizing:border-box; }

:root{
  --bg:#f6f6f6;
  --surface:#ffffff;
  --surface-2:#f1f1f1;

  --text:#0f0f10;
  --body:#262628;
  --muted:#5f5f63;
  --muted-2:#7b7b80;

  --border: rgba(0,0,0,0.12);
  --border-soft: rgba(0,0,0,0.08);

  /* Accent (warm metallic, minimal) */
  --accent:#8c6f3f;
  --accent-soft: rgba(140,111,63,0.10);

  --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 26px 80px rgba(0,0,0,0.14);

  --radius:18px;
  --radius-sm:12px;

  --container:1120px;
}

html{ scroll-behavior:smooth; }

body{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height:1.65;
  letter-spacing:0.1px;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

a{
  color: inherit;
  text-underline-offset: 3px;
}
a:hover{ color: var(--accent); }

/* =========================
   Header
   ========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,246,246,0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}

/* Brand */
.brand-link{
  text-decoration:none;
  display:inline-block;
}
.brand-title{
  font-weight: 950;
  letter-spacing: -0.4px;
  color: var(--text);
  font-size: 1.15rem;
}
.brand-tagline{
  margin-top: 3px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav-link{
  text-decoration:none;
  color: var(--text);
  font-weight: 850;
  font-size: 0.95rem;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.nav-link:hover{
  background: rgba(255,255,255,0.88);
  border-color: var(--border-soft);
  transform: translateY(-1px);
}
.nav-cta{
  border-color: var(--border);
  background: rgba(255,255,255,0.90);
}

/* =========================
   Sections
   ========================= */
.section{ padding: 44px 0; }

.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.35));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-head{
  display:grid;
  gap:10px;
  margin-bottom:18px;
}

.section-title{
  font-size: 1.6rem;
  color: var(--text);
  letter-spacing: -0.5px;
  font-weight: 980;
}
.section-subtitle{
  color: var(--muted);
  max-width: 92ch;
}

/* =========================
   Hero (homepage)
   ========================= */
.hero{ padding: 60px 0 36px; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items:center;
}

.pill{
  display:inline-block;
  font-size:0.78rem;
  font-weight:900;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color: var(--text);
  background: rgba(255,255,255,0.80);
  border: 1px solid var(--border);
  padding: 7px 10px;
  border-radius: 999px;
}

.hero-title{
  margin-top: 14px;
  font-size: 2.75rem;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--text);
  font-weight: 980;
}
.hero-subtitle{
  margin-top: 14px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 70ch;
}

/* Hero media */
.hero-media{ display:flex; flex-direction:column; gap:10px; }

.banner{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  background: var(--surface);
  height: 330px;
}
.banner-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  filter: grayscale(100%) contrast(1.06) brightness(1.02);
  transform: scale(1.01);
}
.banner-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.00), rgba(0,0,0,0.22));
  pointer-events:none;
}
.media-caption{
  color: var(--muted-2);
  font-size: 0.95rem;
}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-block;
  text-decoration:none;
  font-weight:950;
  border-radius:999px;
  padding:10px 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
  cursor: pointer;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.btn-primary{
  background:#101010;
  border-color:#101010;
  color:#ffffff;
}
.btn-primary:hover{
  background:#2a2a2a;
  border-color:#2a2a2a;
}

.btn-secondary:hover{ color: var(--accent); }

/* =========================
   Cards / Modules
   ========================= */
.path-grid,
.module-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.path-card,
.module{
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.path-card,
.module{
  display:block;
  text-decoration:none;
  color:inherit;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.path-card:hover,
.module:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.path-top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
}
.path-title{
  color: var(--text);
  font-weight:980;
  letter-spacing:-0.3px;
  font-size:1.15rem;
}
.path-tag{
  font-size:0.78rem;
  font-weight:900;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color: var(--muted-2);
  border:1px solid var(--border);
  background: rgba(255,255,255,0.75);
  padding:6px 9px;
  border-radius:999px;
}
.path-text{
  margin-top:12px;
  color: var(--muted);
  line-height:1.7;
}
.path-cta{
  margin-top:14px;
  color: var(--text);
  font-weight:950;
}
.path-card:hover .path-cta{ color: var(--accent); }

.module-kicker{
  font-size:0.78rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color: var(--muted-2);
  font-weight:950;
}
.module-title{
  margin-top:6px;
  font-weight:980;
  font-size:1.18rem;
  letter-spacing:-0.3px;
  color: var(--text);
}
.module-desc{
  margin-top:10px;
  color: var(--muted);
  line-height:1.7;
}

.module-soon{ background: rgba(255,255,255,0.78); }
.soon{
  margin-top:12px;
  display:inline-block;
  font-size:0.78rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-weight:950;
  color: var(--text);
  border:1px solid var(--border);
  background: rgba(255,255,255,0.88);
  padding:6px 9px;
  border-radius:999px;
}

/* =========================
   Metrics (homepage hero)
   ========================= */
.hero-actions{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}


/* =========================
   CTA Panel
   ========================= */
.cta-panel{
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.cta-title{
  color: var(--text);
  font-weight:980;
  letter-spacing:-0.4px;
  font-size:1.25rem;
}
.cta-text{
  margin-top:8px;
  color: var(--muted);
  max-width:92ch;
}
.cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* =========================
   Disclosure blocks (index)
   ========================= */
.disclosure{
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding:14px 16px;
}
.disclosure + .disclosure{ margin-top:12px; }

.disclosure-summary{
  cursor:pointer;
  list-style:none;
  font-weight:950;
  color: var(--text);
  letter-spacing:-0.2px;
}
.disclosure-summary::-webkit-details-marker{ display:none; }

.disclosure[open]{
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.disclosure-body{
  margin-top:12px;
  color: var(--muted);
  line-height:1.7;
}

/* =========================
   Footer
   ========================= */
.footer{
  margin-top:30px;
  border-top:1px solid var(--border-soft);
  background: rgba(246,246,246,0.75);
  padding:22px 0;
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.footer-brand{
  font-weight:980;
  color: var(--text);
  letter-spacing:-0.3px;
}
.footer-note{
  margin-top:6px;
  color: var(--muted);
  max-width:70ch;
}
.footer-link{
  text-decoration:none;
  color: var(--text);
  font-weight:900;
  margin-left:12px;
}
.footer-link:hover{ color: var(--accent); }
.footer-bottom{
  margin-top:14px;
  color: var(--muted-2);
  font-size:0.92rem;
}

/* ============================================================
   Page Variants (scoped)
   ============================================================ */

/* =========================
   Executive Oversight page
   ========================= */
body.page-exec .exec-hero{ padding: 56px 0 18px; }
body.page-exec .exec-hero-inner{ max-width: 980px; }

body.page-exec .exec-kicker{
  display:inline-block;
  font-size:0.78rem;
  font-weight:950;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color: var(--text);
  background: rgba(255,255,255,0.85);
  border:1px solid var(--border);
  padding:7px 10px;
  border-radius:999px;
}
body.page-exec .exec-title{
  margin-top:14px;
  font-size:2.55rem;
  line-height:1.05;
  letter-spacing:-1px;
  color: var(--text);
  font-weight:980;
}
body.page-exec .exec-subtitle{
  margin-top:12px;
  font-size:1.06rem;
  color: var(--muted);
  max-width:82ch;
}
body.page-exec .exec-actions{
  margin-top:16px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

body.page-exec .exec-strip{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  background: rgba(255,255,255,0.92);
  border:1px solid var(--border-soft);
  border-radius: var(--radius);
  padding:14px;
  box-shadow: var(--shadow-sm);
}
body.page-exec .exec-strip-label{
  font-size:0.78rem;
  color: var(--muted-2);
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-weight:900;
}
body.page-exec .exec-strip-value{
  margin-top:6px;
  color: var(--text);
  font-weight:950;
  letter-spacing:-0.2px;
}

/* Executive callout (reusable) */
.exec-callout{
  margin-top:18px;
  background:#101010;
  color:#ffffff;
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow-md);
}
.exec-callout-title{
  font-weight:980;
  letter-spacing:-0.3px;
  font-size:1.12rem;
}
.exec-callout-text{
  margin-top:8px;
  color: rgba(255,255,255,0.78);
  line-height:1.7;
  max-width:90ch;
}
.exec-callout-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.exec-callout .btn{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  color:#fff;
  box-shadow:none;
}
.exec-callout .btn:hover{
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.22);
}
.exec-callout .btn-primary{
  background:#fff;
  color:#101010;
  border-color:#fff;
}
.exec-callout .btn-primary:hover{
  background: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.92);
}

.path-callout{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

/* Make a card stretch full width in a grid */
.full-span{ grid-column: 1 / -1; }

/* Timeline chart */
body.page-exec .timeline-chart{
  position:relative;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:10px;
}
body.page-exec .timeline-track{
  position:absolute;
  left:0; right:0;
  top:18px;
  height:2px;
  background: var(--border);
  opacity:0.7;
}
body.page-exec .timeline-step{ position:relative; padding-top:4px; }
body.page-exec .timeline-dot{
  width:14px; height:14px;
  border-radius:999px;
  background:#101010;
  border:2px solid #101010;
  position:relative;
  z-index:2;
  margin-left:6px;
  margin-bottom:10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
body.page-exec .timeline-card{
  background: rgba(255,255,255,0.95);
  border:1px solid var(--border-soft);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow-sm);
}
body.page-exec .timeline-kicker{
  font-size:0.78rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color: var(--muted-2);
  font-weight:950;
}
body.page-exec .timeline-title{
  margin-top:6px;
  font-weight:980;
  font-size:1.10rem;
  letter-spacing:-0.3px;
  color: var(--text);
}
body.page-exec .timeline-text{
  margin-top:8px;
  color: var(--muted);
  line-height:1.7;
}

/* =========================
   Audit Leadership (IA) page
   ========================= */
body.page-ia .ia-hero{
  padding:64px 0 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.55));
  border-bottom: 1px solid var(--border-soft);
}
body.page-ia .ia-hero-inner{ max-width: 980px; }

body.page-ia .ia-kicker{
  font-size:0.78rem;
  font-weight:950;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color: var(--muted-2);
}
body.page-ia .ia-title{
  margin-top:14px;
  font-size:2.45rem;
  line-height:1.06;
  letter-spacing:-0.9px;
  color: var(--text);
  font-weight:980;
}
body.page-ia .ia-subtitle{
  margin-top:12px;
  font-size:1.06rem;
  color: var(--muted);
  max-width:84ch;
}

/* ============================================================
   IA Quiz + Modernization Scale (scoped)
   ============================================================ */
body.page-ia .quiz-shell{
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.92);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

body.page-ia .quiz-question{
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 10px 26px rgba(0,0,0,0.06);
}
body.page-ia .quiz-question + .quiz-question{ margin-top: 12px; }

body.page-ia .quiz-qtitle{
  color: var(--text);
  font-weight: 980;
  letter-spacing: -0.3px;
  font-size: 1.10rem;
}
body.page-ia .quiz-qtext{
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 95ch;
}

body.page-ia .quiz-option{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.70);
  color: var(--body);
  line-height: 1.55;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
body.page-ia .quiz-option:hover{
  background: rgba(255,255,255,0.92);
  border-color: var(--border-soft);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}
body.page-ia .quiz-option input{
  margin-top: 2px;
  accent-color: #101010;
  flex: 0 0 auto;
}

body.page-ia .quiz-actions{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

/* Results */
body.page-ia .quiz-result{
  margin-top: 16px;
}
body.page-ia .quiz-result-card{
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.95);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-md);
}
body.page-ia .quiz-result-kicker{
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 950;
}
body.page-ia .quiz-result-title{
  margin-top: 8px;
  font-weight: 1000;
  letter-spacing: -0.6px;
  color: var(--text);
  font-size: 1.35rem;
}
body.page-ia .quiz-result-metric{
  margin-top: 8px;
  color: var(--muted);
}
body.page-ia .quiz-result-text{
  margin-top: 10px;
  color: var(--body);
  line-height: 1.75;
  max-width: 95ch;
}
body.page-ia .quiz-result-actions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

/* Modernization Scale */
body.page-ia .scale-shell{
  margin-top: 14px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.92);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: none; /* shown by JS */
}
body.page-ia .scale-title{
  color: var(--text);
  font-weight: 980;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

body.page-ia .scale-track{
  position: relative;
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items:center;
  border-radius: 18px;
  padding: 14px;
  background:
    radial-gradient(900px 260px at 10% 10%, rgba(0,0,0,0.05), transparent 55%),
    radial-gradient(900px 260px at 90% 0%, rgba(0,0,0,0.04), transparent 60%),
    rgba(255,255,255,0.96);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

/* Track line behind steps */
body.page-ia .scale-track::before{
  content:"";
  position:absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: var(--border);
  opacity: 0.75;
  pointer-events:none;
}

body.page-ia .scale-step{
  position: relative;
  z-index: 2;
  text-align:center;
  font-weight: 950;
  color: var(--muted);
  letter-spacing: -0.2px;
  padding: 10px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
  user-select:none;
}

body.page-ia .scale-step.is-active{
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 46px rgba(0,0,0,0.12);
}

/* Marker: placed by JS using left:% */
body.page-ia .scale-marker{
  position:absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #101010;
  box-shadow: 0 12px 28px rgba(0,0,0,0.20);
  z-index: 3;
  display: none;
}

/* a small pointer stem */
body.page-ia .scale-marker::after{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -16px;
  width: 2px;
  height: 14px;
  background: #101010;
  opacity: 0.85;
  border-radius: 2px;
}

body.page-ia .scale-note{
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 95ch;
}

/* ============================================================
   Thesis page (structured view visuals + premium gate)
   Scoped to body.page-thesis where appropriate
   ============================================================ */
body.page-thesis .exec-hero{ padding: 56px 0 18px; }

body.page-thesis .thesis-hero{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items:center;
}

body.page-thesis .exec-kicker{
  display:inline-block;
  font-size:0.78rem;
  font-weight:950;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color: var(--text);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  padding: 7px 10px;
  border-radius: 999px;
}

body.page-thesis .exec-title{
  margin-top: 14px;
  font-size: 2.55rem;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--text);
  font-weight: 980;
}

body.page-thesis .exec-subtitle{
  margin-top: 12px;
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 82ch;
}

body.page-thesis .exec-actions{
  margin-top: 16px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

body.page-thesis .thesis-timeline-visual,
body.page-thesis .thesis-triad-visual{
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow-sm);
}
body.page-thesis .thesis-timeline-visual img,
body.page-thesis .thesis-triad-visual img{
  display:block;
  width:100%;
  height:auto;
}

body.page-thesis .thesis-strip{ margin-top: 26px; }
body.page-thesis .thesis-claim{
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.5;
  color: var(--text);
}

body.page-thesis .thesis-note{
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.86);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
body.page-thesis .thesis-note-text{
  color: var(--muted);
  line-height: 1.7;
}

body.page-thesis .thesis-two-col{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Premium Reading Gate */
body.page-thesis .format-gate{
  padding: 64px 0 42px;
  position: relative;
}
body.page-thesis .format-gate::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 320px at 18% 10%, rgba(0,0,0,0.06), transparent 60%),
    radial-gradient(900px 320px at 82% 0%, rgba(0,0,0,0.05), transparent 62%);
  opacity: 1;
}

body.page-thesis .format-gate-shell{
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.80);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  padding: 26px;
  overflow: hidden;
}
body.page-thesis .format-gate-shell::after{
  content:"";
  position:absolute;
  inset:-40% -40% auto -40%;
  height: 220px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  opacity: 0.35;
  pointer-events:none;
}

body.page-thesis .format-kicker{
  margin: 0 0 8px 0;
  color: var(--muted);
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 0.82rem;
}
body.page-thesis .format-title{
  margin: 0;
  color: var(--text);
  font-weight: 1000;
  letter-spacing: -0.8px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.15;
}
body.page-thesis .format-subtitle{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 92ch;
}

body.page-thesis .format-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-top:18px;
}

body.page-thesis .format-card{
  text-align:left;
  cursor:pointer;
  border-radius:18px;
  border:1px solid var(--border-soft);
  background: rgba(255,255,255,0.92);
  padding:16px;
  display:grid;
  gap:12px;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.03),
    0 10px 26px rgba(0,0,0,0.07);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

body.page-thesis .format-card:hover{
  transform: translateY(-3px);
  border-color: var(--border);
  box-shadow:
    0 2px 0 rgba(0,0,0,0.04),
    0 16px 36px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.98);
}
body.page-thesis .format-card:active{ transform: translateY(-1px); }
body.page-thesis .format-card:focus-visible{
  outline: 3px solid rgba(0,0,0,0.18);
  outline-offset: 3px;
}

body.page-thesis .format-card-top{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
body.page-thesis .format-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--border-soft);
  background: rgba(255,255,255,0.78);
  color: var(--text);
  flex: 0 0 auto;
}
body.page-thesis .format-card-title-wrap{
  display:grid;
  gap:6px;
  align-content:start;
}
body.page-thesis .format-card-title{
  color: var(--text);
  font-weight: 1000;
  letter-spacing: -0.4px;
  font-size: 1.05rem;
  line-height: 1.2;
}
body.page-thesis .format-card-tag{
  display:inline-flex;
  width:fit-content;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border-soft);
  background: rgba(255,255,255,0.72);
  color: var(--muted);
  font-weight: 850;
  font-size: 0.82rem;
}
body.page-thesis .format-card-body{
  color: var(--muted);
  line-height: 1.65;
  font-weight: 650;
}
body.page-thesis .format-card-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:2px;
}
body.page-thesis .format-cta{
  color: var(--text);
  font-weight: 950;
}
body.page-thesis .format-arrow{
  color: var(--muted);
  font-weight: 950;
  transition: transform 160ms ease, color 160ms ease;
}
body.page-thesis .format-card:hover .format-arrow{
  transform: translateX(4px);
  color: var(--text);
}
body.page-thesis .format-gate-note{
  margin-top:14px;
  color: var(--muted-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Collapse gate after selection */
body.page-thesis #reading-gate.is-collapsed{
  padding: 18px 0 0;
}
body.page-thesis #reading-gate.is-collapsed .format-gate-shell{
  padding: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}

/* Traditional thesis injected content */
body.page-thesis .article-native{ margin-top: 14px; }

body.page-thesis .article-loading{
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.86);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

body.page-thesis .article-slot{
  margin-top: 12px;
  color: var(--body);
}

body.page-thesis .article-slot .site-header,
body.page-thesis .article-slot header,
body.page-thesis .article-slot nav,
body.page-thesis .article-slot footer{
  display: none !important;
}

body.page-thesis .article-slot .container{
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page-thesis .article-prose{
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}

body.page-thesis .article-prose h1,
body.page-thesis .article-prose h2,
body.page-thesis .article-prose h3,
body.page-thesis .article-prose h4{
  color: var(--text);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 18px 0 10px;
  font-weight: 980;
}
body.page-thesis .article-prose h2{ font-size: 1.55rem; }
body.page-thesis .article-prose h3{ font-size: 1.25rem; }
body.page-thesis .article-prose h4{ font-size: 1.05rem; }

body.page-thesis .article-prose p{
  margin: 12px 0;
  line-height: 1.75;
  color: var(--body);
}

body.page-thesis .article-prose ul,
body.page-thesis .article-prose ol{
  margin: 12px 0 12px 1.25rem;
  padding-left: 1.15rem;
  line-height: 1.8;
}
body.page-thesis .article-prose li{ margin: 6px 0; }

body.page-thesis .article-prose a{
  color: inherit;
  text-underline-offset: 3px;
}
body.page-thesis .article-prose a:hover{ color: var(--accent); }

body.page-thesis .article-prose .post-header{
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 18px;
}
body.page-thesis .article-prose .post-header h2{ margin-top: 0; }
body.page-thesis .article-prose .post-subtitle{
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   Thesis view memory (URL/localStorage-driven)
   Add classes to <body>: exec-mode | audit-mode
   ============================================================ */
body.page-thesis .exec-only { display: none; }
body.page-thesis .audit-only { display: none; }

body.page-thesis.exec-mode .exec-only { display: block; }
body.page-thesis.exec-mode .audit-only { display: none; }

body.page-thesis.audit-mode .audit-only { display: block; }
body.page-thesis.audit-mode .exec-only { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .path-grid, .module-grid{ grid-template-columns: 1fr; }

  .banner{ height: 260px; }
  .hero-title{ font-size: 2.25rem; }

  body.page-exec .exec-strip{ grid-template-columns: 1fr; }
  body.page-exec .timeline-chart{ grid-template-columns: 1fr; }
  body.page-exec .timeline-track{ display:none; }

  body.page-exec .exec-title,
  body.page-ia .ia-title,
  body.page-thesis .exec-title{ font-size: 2.05rem; }

  body.page-thesis .thesis-hero{ grid-template-columns: 1fr; }
  body.page-thesis .thesis-two-col{ grid-template-columns: 1fr; }

  /* IA quiz spacing */
  body.page-ia .quiz-shell{ padding: 14px; }
  body.page-ia .quiz-question{ padding: 14px; }
  body.page-ia .scale-track{ grid-template-columns: 1fr; }
  body.page-ia .scale-track::before{ display:none; }
  body.page-ia .scale-marker{ display:none !important; } /* marker doesn't map well in stacked layout */
}

@media (max-width: 820px){
  body.page-thesis .format-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .header-inner{ padding: 12px 0; }
  .brand-title{ font-size: 1.05rem; }
  .brand-tagline{ font-size: 0.88rem; }
  .hero{ padding: 46px 0 28px; }
  .banner{ height: 230px; }
  .hero-title{ font-size: 2.0rem; }

  body.page-thesis .article-prose{ padding: 18px; }

  body.page-ia .quiz-option{ padding: 10px; }
  body.page-ia .quiz-qtitle{ font-size: 1.02rem; }
}

/* =========================
   Guided Onboarding (No AI)
   ========================= */
body.guide-lock { overflow: hidden; }

.guide-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-md);
  padding: 10px 14px;
  font-weight: 950;
  color: var(--text);
  cursor: pointer;
}
.guide-fab:hover{ transform: translateY(-1px); }

.guide-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  z-index: 70;
  display: none;
}
.guide-modal{
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

#guide-backdrop[aria-hidden="false"]{ display:block; }
#guide-modal[aria-hidden="false"]{ display:flex; }

.guide-modal-inner{
  width: min(980px, 100%);
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 26px 90px rgba(0,0,0,0.22);
  overflow: hidden;
}

.guide-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding: 18px 18px 10px;
  border-bottom: 1px solid var(--border-soft);
}

.guide-kicker{
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.guide-title{
  margin-top: 6px;
  font-size: 1.35rem;
  letter-spacing: -0.4px;
  font-weight: 980;
  color: var(--text);
}
.guide-sub{
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 80ch;
}

.guide-x{
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.guide-steps{ padding: 16px 18px 0; }
.guide-step{ display:none; }
.guide-step.is-active{ display:block; }

.guide-step-title{
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.3px;
  font-size: 1.05rem;
}

.guide-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.guide-card{
  text-align: left;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.92);
  padding: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}
.guide-card:hover{
  transform: translateY(-2px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}
.guide-card.is-selected{
  border-color: rgba(0,0,0,0.28);
  box-shadow: 0 18px 50px rgba(0,0,0,0.14);
}

.guide-card-title{
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.2px;
}
.guide-card-sub{
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.guide-footer{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border-soft);
  margin-top: 14px;
}

.guide-progress{
  color: var(--muted-2);
  font-weight: 850;
}

.guide-nav{ display:flex; gap: 10px; flex-wrap:wrap; }

.guide-result{
  margin-top: 12px;
  display:grid;
  gap: 12px;
}

.guide-result-block{
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.guide-result-title{
  font-weight: 980;
  color: var(--text);
}
.guide-result-text{
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.guide-result-list{
  margin-top: 10px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}
/* ============================================================
   IA Quiz — Selected state (FIX: match specificity)
   Paste at VERY bottom of style.css
   ============================================================ */

body.page-ia .quiz-card{
  position: relative; /* needed for ::before/::after */
}

/* Strong visible selected state */
body.page-ia .quiz-card.is-selected{
  background: rgba(140,111,63,0.12);
  border-color: rgba(140,111,63,0.45);
  box-shadow: 0 18px 55px rgba(0,0,0,0.14);
}

/* Left accent bar */
body.page-ia .quiz-card.is-selected::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  background: var(--accent);
  border-radius: 18px 0 0 18px;
}

/* Check badge */
body.page-ia .quiz-card.is-selected::after{
  content:"✓";
  position:absolute;
  top:12px;
  right:12px;
  width:28px;
  height:28px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  color:#fff;
  background:#101010;
  border:1px solid rgba(255,255,255,0.18);
}

/* Optional: make the selected title pop a bit */
body.page-ia .quiz-card.is-selected .quiz-card-title{
  color: var(--text);
}
.guide-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 10px;
}

.guide-note{
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 820px){
  .guide-grid{ grid-template-columns: 1fr; }
}
/* =========================
   IA Modernization Guided Quiz (inline)
   ========================= */
body.page-ia .quiz-shell{
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.92);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  padding: 22px;
  overflow: hidden;
}

body.page-ia .quiz-head{
  display:grid;
  gap:8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 14px;
}

body.page-ia .quiz-kicker{
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

body.page-ia .quiz-title{
  font-size: 1.35rem;
  letter-spacing: -0.4px;
  font-weight: 980;
  color: var(--text);
}

body.page-ia .quiz-sub{
  color: var(--muted);
  line-height: 1.7;
  max-width: 92ch;
}

body.page-ia .quiz-step{
  display:none;
}
body.page-ia .quiz-step.is-active{
  display:block;
}

body.page-ia .quiz-q{
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.3px;
  font-size: 1.05rem;
}

body.page-ia .quiz-help{
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 92ch;
}

body.page-ia .quiz-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

body.page-ia .quiz-card{
  text-align:left;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.92);
  padding: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}
body.page-ia .quiz-card:hover{
  transform: translateY(-2px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}
body.page-ia .quiz-card.is-selected{
  border-color: rgba(0,0,0,0.28);
  box-shadow: 0 18px 50px rgba(0,0,0,0.14);
}

body.page-ia .quiz-card-title{
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.2px;
}
body.page-ia .quiz-card-sub{
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

body.page-ia .quiz-footer{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  margin-top: 14px;
}

body.page-ia .quiz-progress{
  color: var(--muted-2);
  font-weight: 850;
}

body.page-ia .quiz-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

body.page-ia .quiz-results{
  margin-top: 16px;
  display:none;
  gap: 12px;
}
body.page-ia .quiz-results.is-visible{
  display:grid;
}

body.page-ia .quiz-result-block{
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
body.page-ia .quiz-result-title{
  font-weight: 980;
  color: var(--text);
}
body.page-ia .quiz-result-text{
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 820px){
  body.page-ia .quiz-grid{ grid-template-columns: 1fr; }
}
/* =========================
   IA Quiz: Selected answer styling
   ========================= */

.quiz-shell{
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.quiz-head{
  padding: 18px 18px 10px;
  border-bottom: 1px solid var(--border-soft);
}

.quiz-title{
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.3px;
  font-size: 1.25rem;
}

.quiz-sub{
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.quiz-step{ display:none; padding: 16px 18px 0; }
.quiz-step.is-active{ display:block; }

.quiz-q{
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.3px;
  font-size: 1.05rem;
}

.quiz-help{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 92ch;
}

.quiz-bullets{
  margin-top: 10px;
  padding-left: 18px;
  line-height: 1.8;
}

.quiz-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

/* Base card */
.quiz-card{
  text-align: left;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.92);
  padding: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
  position: relative;
}
.quiz-card:hover{
  transform: translateY(-2px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}
.quiz-card:focus-visible{
  outline: 3px solid rgba(0,0,0,0.18);
  outline-offset: 3px;
}

.quiz-card-title{
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.2px;
}
.quiz-card-sub{
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

/* ✅ Selected state (high contrast, obvious) */
.quiz-card.is-selected{
  background: rgba(140,111,63,0.12);      /* uses your warm metallic accent */
  border-color: rgba(140,111,63,0.45);
  box-shadow: 0 18px 55px rgba(0,0,0,0.14);
}

/* Optional: a subtle left “selection bar” */
.quiz-card.is-selected::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width: 6px;
  background: var(--accent);
  border-radius: 18px 0 0 18px;
}

/* Optional: add a checkmark badge */
.quiz-card.is-selected::after{
  content:"✓";
  position:absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  color: #fff;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.18);
}

/* Footer + Results */
.quiz-footer{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border-soft);
  margin-top: 14px;
}
.quiz-progress{
  color: var(--muted-2);
  font-weight: 850;
}
.quiz-actions{ display:flex; gap: 10px; flex-wrap:wrap; }

.quiz-results{
  padding: 16px 18px 18px;
  display:grid;
  gap: 12px;
}
.quiz-result-block{
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.quiz-result-title{
  font-weight: 980;
  color: var(--text);
}
.quiz-result-text{
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 820px){
  .quiz-grid{ grid-template-columns: 1fr; }
}

/* ============================================================
   v4.0 Additions — AI-Ready Internal Audit for Electrical Distribution
   New components: mobile nav, pillars, timeline, skills matrix,
   progress path, next-step callout, capacity model, maturity assessment
   ============================================================ */

/* =========================
   Mobile Nav Hamburger
   ========================= */
.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
}
.nav-toggle:hover{ background: rgba(255,255,255,0.88); }

@media (max-width: 820px){
  .nav-toggle{ display: block; }
  .nav{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(246,246,246,0.98);
    border-bottom: 1px solid var(--border-soft);
    backdrop-filter: blur(12px);
    padding: 12px 18px 18px;
    gap: 4px;
    z-index: 40;
  }
  .nav.is-open{ display: flex; }
  .nav-link{
    border-radius: var(--radius-sm);
    text-align: left;
  }
  .site-header{ position: relative; }
}

/* =========================
   Framework Pillars Grid
   ========================= */
.pillars-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pillar-card{
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease;
  position: relative;
  overflow: hidden;
}
.pillar-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pillar-number{
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.pillar-title{
  font-size: 1.05rem;
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.pillar-desc{
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.pillar-card-accent{
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  opacity: 0.45;
  border-radius: var(--radius) 0 0 var(--radius);
}

@media (max-width: 900px){ .pillars-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .pillars-grid{ grid-template-columns: 1fr; } }

/* =========================
   Visual Timeline
   ========================= */
.timeline-track{
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 36px;
}

.timeline-item{
  position: relative;
  padding-bottom: 32px;
}
.timeline-item:last-child{ padding-bottom: 0; }

/* Vertical connecting line */
.timeline-item::before{
  content: "";
  position: absolute;
  left: -26px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--border-soft);
}
.timeline-item:last-child::before{ display: none; }

/* Stage dot */
.timeline-dot{
  position: absolute;
  left: -34px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 0 0 0 3px var(--bg);
}
.timeline-dot.is-accent{
  background: var(--accent);
  border-color: var(--accent);
}

.timeline-stage{
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.timeline-title{
  font-size: 1.05rem;
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.3px;
}

.timeline-desc{
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.7;
}

.timeline-tag{
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(140,111,63,0.2);
}

/* Horizontal timeline variant (for overview) */
.timeline-h{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  position: relative;
  margin-top: 24px;
}
.timeline-h::before{
  content: "";
  position: absolute;
  top: 18px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--border-soft);
}

.timeline-h-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 0 6px;
}

.timeline-h-dot{
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 0 0 0 3px var(--bg);
  flex-shrink: 0;
  z-index: 1;
}
.timeline-h-dot.is-accent{
  background: var(--accent);
  border-color: var(--accent);
}

.timeline-h-label{
  font-size: 0.78rem;
  font-weight: 850;
  color: var(--muted);
  line-height: 1.35;
}
.timeline-h-label strong{
  display: block;
  font-weight: 980;
  color: var(--text);
  font-size: 0.82rem;
}

@media (max-width: 820px){
  .timeline-h{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .timeline-h::before{ display: none; }
}
@media (max-width: 480px){
  .timeline-h{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================
   Skills Matrix
   ========================= */
.skills-matrix{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

.skills-matrix th,
.skills-matrix td{
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.skills-matrix thead tr{
  background: #101010;
}
.skills-matrix thead th{
  color: #fff;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.skills-matrix thead th:first-child{ border-radius: 0; }

.skills-matrix tbody tr{
  border-bottom: 1px solid var(--border-soft);
  transition: background 120ms ease;
}
.skills-matrix tbody tr:last-child{ border-bottom: none; }
.skills-matrix tbody tr:hover{ background: rgba(140,111,63,0.04); }

.skills-matrix td:first-child{
  font-weight: 850;
  color: var(--text);
  font-size: 0.9rem;
  white-space: nowrap;
}

.skills-cell-traditional{ color: var(--muted); font-size: 0.9rem; }
.skills-cell-modern{ color: var(--text); font-size: 0.9rem; }

.skills-dot{
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 6px;
  vertical-align: middle;
}
.skills-dot.dot-accent{ background: var(--accent); }
.skills-dot.dot-muted{ background: var(--muted-2); }

/* =========================
   Progress Path Indicator
   ========================= */
.progress-path{
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 8px;
}

.progress-step{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 850;
  color: var(--muted-2);
}
.progress-step.is-active{ color: var(--text); }
.progress-step.is-complete{ color: var(--accent); }

.progress-step-num{
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}
.progress-step.is-complete .progress-step-num{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.progress-step.is-active .progress-step-num{
  background: #101010;
  border-color: #101010;
  color: #fff;
}

.progress-connector{
  width: 28px;
  height: 2px;
  background: var(--border-soft);
  flex-shrink: 0;
}

/* =========================
   Next-Step Callout
   ========================= */
.next-step-callout{
  margin-top: 44px;
  background: #101010;
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.next-step-label{
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.next-step-title{
  font-size: 1.15rem;
  font-weight: 980;
  color: #fff;
  letter-spacing: -0.3px;
}

.next-step-sub{
  margin-top: 4px;
  color: rgba(255,255,255,0.6);
  font-size: 0.93rem;
}

.btn-next-step{
  display: inline-block;
  text-decoration: none;
  font-weight: 950;
  padding: 11px 22px;
  border-radius: 999px;
  background: #fff;
  color: #101010;
  border: 1px solid rgba(255,255,255,0.18);
  white-space: nowrap;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.btn-next-step:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--accent);
}

/* =========================
   Capacity Model
   ========================= */
.capacity-phases{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.capacity-phase{
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.capacity-phase-label{
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.capacity-phase-title{
  font-weight: 980;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: -0.2px;
  margin-bottom: 8px;
}

.capacity-phase-items{
  list-style: none;
  display: grid;
  gap: 5px;
}

.capacity-phase-items li{
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.capacity-phase-items li::before{
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
}

@media (max-width: 900px){ .capacity-phases{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .capacity-phases{ grid-template-columns: 1fr; } }

/* =========================
   Maturity Assessment
   ========================= */
.maturity-shell{
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.maturity-head{
  padding: 22px 24px 0;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 18px;
}

.maturity-title{
  font-size: 1.25rem;
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.3px;
}

.maturity-sub{
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.maturity-dimensions{
  padding: 18px 24px;
  display: grid;
  gap: 14px;
}

.maturity-dimension{
  display: grid;
  gap: 6px;
}

.maturity-dim-label{
  font-weight: 900;
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: -0.1px;
}

.maturity-scale{
  display: flex;
  gap: 6px;
}

.maturity-btn{
  flex: 1;
  padding: 8px 4px;
  text-align: center;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 850;
  color: var(--muted);
  transition: all 140ms ease;
  line-height: 1.3;
}
.maturity-btn:hover{
  border-color: var(--border);
  background: rgba(255,255,255,0.9);
  color: var(--text);
}
.maturity-btn.is-selected{
  background: #101010;
  border-color: #101010;
  color: #fff;
}

.maturity-level-labels{
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted-2);
  margin-top: 2px;
  font-weight: 850;
}

.maturity-result{
  padding: 18px 24px 22px;
  border-top: 1px solid var(--border-soft);
  display: none;
}
.maturity-result.is-visible{ display: block; }

.maturity-result-level{
  font-size: 1.05rem;
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.3px;
}

.maturity-bar-wrap{
  margin: 10px 0;
  height: 8px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}

.maturity-bar-fill{
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 600ms ease;
}

.maturity-interpretation{
  color: var(--muted);
  line-height: 1.7;
  margin-top: 8px;
}

.maturity-next-steps{
  margin-top: 12px;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}
.maturity-next-steps li{
  color: var(--muted);
  line-height: 1.6;
}
.maturity-next-steps li a{ color: var(--accent); }

/* =========================
   Context / Callout Block
   ========================= */
.context-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.context-block{
  display: grid;
  gap: 10px;
}
.context-block-title{
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.context-list{
  list-style: none;
  display: grid;
  gap: 6px;
}
.context-list li{
  font-size: 0.93rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.context-list li::before{
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

@media (max-width: 700px){ .context-grid{ grid-template-columns: 1fr; } }

/* =========================
   Stat Band
   ========================= */
.stat-band{
  display: flex;
  gap: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat-band-item{
  flex: 1;
  padding: 18px 20px;
  border-right: 1px solid var(--border-soft);
}
.stat-band-item:last-child{ border-right: none; }
.stat-band-label{
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.stat-band-value{
  font-size: 1.35rem;
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.stat-band-sub{
  margin-top: 3px;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 700px){
  .stat-band{ flex-direction: column; }
  .stat-band-item{ border-right: none; border-bottom: 1px solid var(--border-soft); }
  .stat-band-item:last-child{ border-bottom: none; }
}

/* =========================
   Callout / Alert blocks
   ========================= */
.callout{
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}
.callout-title{
  font-weight: 980;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.callout-text{
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.93rem;
}

/* =========================
   Accordion
   ========================= */
.accordion{ display: grid; gap: 8px; }

.accordion-item{
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 980;
  font-size: 0.97rem;
  color: var(--text);
  transition: background 140ms ease;
}
.accordion-trigger:hover{ background: rgba(0,0,0,0.02); }

.accordion-icon{
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--muted-2);
  transition: transform 240ms ease;
  font-style: normal;
}
.accordion-item.is-open .accordion-icon{ transform: rotate(45deg); }

.accordion-body{
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--border-soft);
}
.accordion-item.is-open .accordion-body{ display: block; }

/* =========================
   Tabs
   ========================= */
.tabs{ display: grid; gap: 0; }
.tab-list{
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border-soft);
  overflow-x: auto;
}
.tab-btn{
  padding: 10px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--muted-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 140ms ease, border-color 140ms ease;
}
.tab-btn:hover{ color: var(--text); }
.tab-btn.is-active{
  color: var(--text);
  border-color: var(--accent);
}
.tab-panel{ display: none; padding-top: 20px; }
.tab-panel.is-active{ display: block; }

/* =========================
   Page hero (compact, inner pages)
   ========================= */
.page-hero{
  padding: 44px 0 32px;
  border-bottom: 1px solid var(--border-soft);
}
.page-hero-inner{
  max-width: 780px;
}
.page-kicker{
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.page-title{
  font-size: 2.2rem;
  font-weight: 980;
  color: var(--text);
  letter-spacing: -0.8px;
  line-height: 1.1;
}
.page-subtitle{
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 72ch;
}
.page-actions{
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Two-col layout for content pages */
.content-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}
.content-main{ min-width: 0; }
.content-sidebar{
  position: sticky;
  top: 80px;
}
.sidebar-nav{
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.sidebar-nav-title{
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.sidebar-nav-list{
  list-style: none;
  display: grid;
  gap: 2px;
}
.sidebar-nav-list a{
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 850;
  color: var(--muted);
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}
.sidebar-nav-list a:hover,
.sidebar-nav-list a.is-active{
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 900px){ .content-layout{ grid-template-columns: 1fr; } .content-sidebar{ display: none; } }

/* ============================================================
   Design Polish v4.1
   Visual-only pass — no content or structure changes
   ============================================================ */

/* 1. Header — solid white with shadow, accent brand */
.site-header{
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.06);
  backdrop-filter: none;
}
.brand-title{
  color: var(--accent);
}

/* 2. Nav active state */
.nav-cta{
  color: var(--accent);
  font-weight: 900;
}
.nav-cta:hover{
  color: var(--accent);
  opacity: 0.8;
}

/* 3. Micro-interactions — smooth transitions site-wide */
a, button,
.path-card, .pillar-card, .stat-item,
.accordion-trigger, .tab-btn,
.guide-card, .maturity-btn, .quiz-card,
.metric-card, .mod-card, .phase-card{
  transition: background 0.18s ease, color 0.18s ease,
              box-shadow 0.18s ease, transform 0.18s ease,
              border-color 0.18s ease, opacity 0.18s ease;
}

/* 4. Stat / metric cards — left accent border, hover lift */
.stat-item{
  border-left: 3px solid var(--accent);
  border-top: none;
  border-right: none;
  border-bottom: none;
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
}
.stat-item:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.metric-card{
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.metric-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

/* 5. Section background rhythm */
.section-alt{
  background: #f6f6f6;
}
.section-white{
  background: #fff;
}

/* 6. Image caption as overlay inside .banner */
.media-caption-overlay{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0) 100%);
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.5;
  pointer-events: none;
}
/* Ensure .banner is positioned for the overlay */
.banner{
  position: relative;
  overflow: hidden;
}

/* 7. Dark page-hero bands for all content pages */
.page-hero{
  background: #141416;
  color: #f0ede8;
}
.page-hero .page-hero-eyebrow{
  color: var(--accent);
  opacity: 1;
}
.page-hero .page-hero-title{
  color: #fff;
}
.page-hero .page-hero-sub{
  color: rgba(240,237,232,0.78);
}

/* Dark exec-hero / ia-hero / page-hero variants per body class */
body.page-exec .exec-hero,
body.page-ia .ia-hero,
body.page-thesis .exec-hero,
body.page-resources .exec-hero,
body.page-maturity .exec-hero{
  background: #141416;
  color: #f0ede8;
}
body.page-exec .exec-hero h1,
body.page-ia .ia-hero h1,
body.page-thesis .exec-hero h1,
body.page-resources .exec-hero h1,
body.page-maturity .exec-hero h1{
  color: #fff;
}
body.page-exec .exec-hero p,
body.page-ia .ia-hero p,
body.page-thesis .exec-hero p,
body.page-resources .exec-hero p,
body.page-maturity .exec-hero p{
  color: rgba(240,237,232,0.78);
}
body.page-exec .exec-hero .eyebrow,
body.page-ia .ia-hero .eyebrow,
body.page-thesis .exec-hero .eyebrow,
body.page-resources .exec-hero .eyebrow,
body.page-maturity .exec-hero .eyebrow{
  color: var(--accent);
}

/* 8. Dark footer */
.site-footer{
  background: #141416;
  color: rgba(240,237,232,0.62);
  border-top: none;
}
.site-footer a{
  color: rgba(240,237,232,0.75);
}
.site-footer a:hover{
  color: var(--accent);
}
.site-footer .footer-brand{
  color: #fff;
}
.site-footer .footer-tagline{
  color: rgba(240,237,232,0.50);
}

/* 9. Interactive selection states */
/* Guide path cards */
.guide-card.is-selected{
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 18px rgba(140,111,63,0.28);
}
.guide-card.is-selected *{ color: #fff; }

/* Maturity assessment buttons */
.maturity-btn.is-selected{
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 3px 12px rgba(140,111,63,0.25);
}

/* Quiz cards (audit-leadership) */
.quiz-card.is-selected{
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 18px rgba(140,111,63,0.28);
}
.quiz-card.is-selected *{ color: #fff; }

/* Gold-tint hover for unselected interactive cards */
.guide-card:not(.is-selected):hover,
.maturity-btn:not(.is-selected):hover,
.quiz-card:not(.is-selected):hover,
.path-card:hover{
  background: #f5f0e8;
  border-color: var(--accent);
}

/* Sibling dimming via :has() when a selection exists */
.guide-options:has(.guide-card.is-selected) .guide-card:not(.is-selected){
  opacity: 0.45;
}
.maturity-dimension:has(.maturity-btn.is-selected) .maturity-btn:not(.is-selected){
  opacity: 0.45;
}

/* Accordion open state — accent trigger text */
.accordion-item.is-open .accordion-trigger{
  color: var(--accent);
}

/* Tab active state — accent underline */
.tab-btn.is-active{
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Path cards hover */
.path-card{
  border: 1px solid var(--border-soft);
}
.path-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

/* Pillar cards hover */
.pillar-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  background: #f5f0e8;
}

/* Fix 1: page-hero heading — .page-title class (not .page-hero-title) must be white */
.page-hero h1,
.page-hero h2,
.page-hero .page-title{
  color: #ffffff;
}

/* Fix 2: button row on dark hero — all .btn look identical, accent for primary */
.page-hero .btn{
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: #fff;
  box-shadow: none;
}
.page-hero .btn:hover{
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(140,111,63,0.08);
}
.page-hero .btn-primary{
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.page-hero .btn-primary:hover{
  background: rgba(140,111,63,0.12);
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   Maturity Assessment v2 — one-question-per-screen
   ============================================================ */

.maturity-v2{
  max-width: 700px;
  margin: 0 auto;
}

/* Screens — only active screen visible */
.maturity-screen{ display: none; }
.maturity-screen.is-active{ display: block; }

/* Progress bar */
.mat-progress{
  margin-bottom: 28px;
}
.mat-progress-step{
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.mat-progress-track{
  height: 3px;
  background: var(--border-soft);
  border-radius: 999px;
  overflow: hidden;
}
.mat-progress-fill{
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.35s ease;
}

/* Context screen */
.ctx-title{
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
}
.ctx-sub{
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}
.ctx-field{
  margin-bottom: 28px;
}
.ctx-field-label{
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}
.ctx-field-note{
  font-size: 0.81rem;
  color: var(--muted-2);
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.55;
}
.ctx-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ctx-grid.is-col1{
  grid-template-columns: 1fr;
}
.ctx-card{
  padding: 10px 14px;
  border: 1.5px solid var(--border-soft);
  border-radius: 8px;
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  line-height: 1.4;
}
.ctx-card:hover:not(.is-selected){
  background: #f5f0e8;
  border-color: var(--accent);
}
.ctx-card.is-selected{
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Question title and note */
.mat-q-title{
  font-size: 1.28rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.35;
}
.mat-q-note{
  font-size: 0.83rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 18px;
  padding: 10px 14px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  line-height: 1.55;
}

/* Answer cards */
.mat-cards{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mat-card{
  padding: 15px 44px 15px 17px;
  border: 1.5px solid var(--border-soft);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: all 0.15s ease;
  outline: none;
}
.mat-card:focus-visible{
  box-shadow: 0 0 0 3px rgba(140,111,63,0.35);
}
.mat-card:hover:not(.is-selected){
  background: #f5f0e8;
  border-color: var(--accent);
}
.mat-card.is-selected{
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.mat-card.is-dimmed{
  opacity: 0.62;
}
.mat-card-check{
  position: absolute;
  top: 13px;
  right: 14px;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  display: none;
  pointer-events: none;
}
.mat-card.is-selected .mat-card-check{ display: block; }
.mat-card-label{
  font-size: 0.93rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 4px;
}
.mat-card.is-selected .mat-card-label{ color: #fff; }
.mat-card-desc{
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.mat-card.is-selected .mat-card-desc{ color: rgba(255,255,255,0.82); }
.mat-see-examples{
  display: inline-block;
  margin-top: 5px;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--accent);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mat-card.is-selected .mat-see-examples{ color: rgba(255,255,255,0.78); }
.mat-card-detail{
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.09);
  font-size: 0.81rem;
  color: var(--muted-2);
  line-height: 1.6;
}
.mat-card.is-selected .mat-card-detail{
  border-top-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.72);
}
.mat-card-detail.is-open{ display: block; }

/* Navigation row */
.mat-nav{
  display: flex;
  gap: 10px;
  margin-top: 24px;
  align-items: center;
  flex-wrap: wrap;
}

/* Results context note */
.mat-context-note{
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 22px;
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.65;
}
.mat-context-note p{ margin: 0 0 8px; }
.mat-context-note p:last-child{ margin-bottom: 0; }

@media (max-width: 540px){
  .ctx-grid{ grid-template-columns: 1fr; }
}

/* ============================================================
   Dark Theme — Global Override
   Design reference: executive-assessment.html
   Cormorant Garamond + DM Sans, dark palette, gold accent
   ============================================================ */

:root {
  --bg:           #141416;
  --surface:      #1c1c1f;
  --surface-2:    #242428;
  --text:         #f5f2ec;
  --body:         #e8e4dc;
  --muted:        #9a9490;
  --muted-2:      #6b6760;
  --border:       rgba(140,111,63,0.30);
  --border-soft:  rgba(140,111,63,0.15);
  --accent:       #8c6f3f;
  --accent-soft:  rgba(140,111,63,0.15);
  --shadow-sm:    0 2px 10px rgba(0,0,0,0.30);
  --shadow-md:    0 26px 80px rgba(0,0,0,0.40);
  /* Gold aliases for components that use them directly */
  --gold:         #8c6f3f;
  --gold-light:   #b8924f;
  --gold-dim:     rgba(140,111,63,0.15);
  --gold-border:  rgba(140,111,63,0.30);
  --dark:         #141416;
  --dark-2:       #1c1c1f;
  --dark-3:       #242428;
  --white:        #f5f2ec;
}

/* ---- Base ---- */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--body);
  padding-top: 64px;
}

/* ---- Fixed nav ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(20,20,22,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: none;
  padding: 0;
  z-index: 100;
}
.container.header-inner,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 2rem;
  height: 100%;
  max-width: none;
}
.brand-link { text-decoration: none; display: inline-flex; align-items: center; gap: 0; }
.brand-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}
.brand-tagline { display: none; }

.nav-link {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  background: none;
  border-radius: 0;
  padding: 4px 8px;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--gold-light);
  background: none;
  border-color: transparent;
  transform: none;
  box-shadow: none;
}
.nav-cta {
  color: var(--gold);
  font-weight: 500;
  background: none;
  border-color: transparent;
}
.nav-cta:hover {
  color: var(--gold-light);
  opacity: 1;
}

/* Mobile nav override */
.nav-toggle {
  border-color: var(--gold-border);
  color: var(--muted);
  background: transparent;
}
.nav-toggle:hover { background: rgba(140,111,63,0.10); }

@media (max-width: 820px) {
  .site-header { position: fixed; }
  .nav {
    background: rgba(20,20,22,0.98);
    border-bottom: 1px solid var(--gold-border);
    backdrop-filter: blur(12px);
  }
}

/* ---- Dropdown Nav Groups ---- */
.nav-group {
  position: relative;
}
.nav-group-btn {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  background: none;
  border-radius: 0;
  padding: 4px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-group-btn::after {
  content: '▾';
  font-size: 0.75em;
  opacity: 0.5;
  margin-top: 1px;
}
.nav-group-btn:hover { color: var(--gold-light); }
.nav-group.has-active .nav-group-btn {
  color: var(--gold);
  font-weight: 500;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: #1a1a1c;
  border: 1px solid rgba(140,111,63,0.2);
  border-radius: 6px;
  padding: 0.5rem 0;
  z-index: 200;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.nav-dropdown .nav-link {
  display: block;
  padding: 7px 16px;
  white-space: nowrap;
}
.nav-group.is-open .nav-dropdown { display: block; }

/* Mobile dropdown accordion */
@media (max-width: 820px) {
  .nav-group { width: 100%; }
  .nav-group-btn {
    width: 100%;
    padding: 10px 14px;
    justify-content: space-between;
  }
  .nav-dropdown {
    position: static;
    transform: none;
    border: none;
    border-radius: 0;
    border-top: 1px solid rgba(140,111,63,0.15);
    padding: 2px 0;
    background: rgba(30,30,34,0.98);
    backdrop-filter: none;
    box-shadow: none;
    min-width: 0;
  }
  .nav-dropdown .nav-link { padding: 9px 28px; }
  .nav-group .nav-dropdown { display: none; }
  .nav-group.is-open .nav-dropdown { display: block; }
}

/* ---- Footer ---- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--gold-border);
  margin-top: 0;
}
.footer-brand { color: var(--white); }
.footer-note  { color: var(--muted); }
.footer-link  { color: var(--muted); }
.footer-link:hover { color: var(--gold); }
.footer-bottom { color: var(--muted-2); }

/* site-footer class variant */
.site-footer {
  background: var(--bg);
  color: var(--muted-2);
  border-top: 1px solid var(--gold-border);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-brand { color: var(--white); }
.site-footer .footer-tagline { color: var(--muted-2); }

/* ---- Headings — Cormorant Garamond ---- */
h1, h2, h3,
.hero-title, .page-title, .section-title,
.exec-title, .ia-title,
.cta-title, .path-title, .module-title,
.guide-title, .maturity-title {
  font-family: 'Cormorant Garamond', serif;
}

/* ---- Page hero ---- */
.page-hero {
  background: #141416;
  color: var(--body);
}
.page-hero .page-kicker { color: var(--gold); }
.page-hero h1,
.page-hero h2,
.page-hero .page-title { color: var(--white); font-family: 'Cormorant Garamond', serif; font-weight: 300; }
.page-hero .page-subtitle { color: var(--muted); }
.page-hero .btn {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  box-shadow: none;
}
.page-hero .btn:hover {
  background: rgba(140,111,63,0.10);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: none;
}
.page-hero .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
.page-hero .btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--dark);
}

/* ---- Cards / surfaces ---- */
.card, .path-card, .module, .disclosure,
.pillar-card, .capacity-phase,
.accordion-item, .sidebar-nav {
  background: var(--surface);
  border-color: var(--border-soft);
}
.stat-band { background: var(--surface); border-color: var(--border-soft); }
.stat-band-item { border-right-color: var(--border-soft); }

/* cta-panel */
.cta-panel {
  background: var(--surface);
  border-color: var(--border-soft);
  box-shadow: none;
}

/* callout */
.callout { background: rgba(140,111,63,0.10); border-left-color: var(--gold); }
.callout-title { color: var(--text); }
.callout-text { color: var(--muted); }

/* exec-callout */
.exec-callout {
  background: var(--dark-2);
  border: 1px solid var(--gold-border);
  color: var(--body);
}
.exec-callout-title { color: var(--white); }
.exec-callout-text { color: var(--muted); }
.exec-callout .btn {
  background: rgba(140,111,63,0.10);
  border-color: var(--gold-border);
  color: var(--gold-light);
}
.exec-callout .btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* next-step callout */
.next-step-callout { background: var(--dark-2); border: 1px solid var(--gold-border); }
.btn-next-step {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-next-step:hover { background: var(--gold-light); color: var(--dark); }

/* ---- Buttons ---- */
.btn {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--text);
  box-shadow: none;
}
.btn:hover {
  background: rgba(140,111,63,0.10);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: none;
  box-shadow: none;
}
.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--dark);
}

/* ---- Section bands ---- */
.section-alt  { background: var(--surface-2); border-color: var(--border-soft); }
.section-white{ background: var(--surface); }

/* ---- Hero (homepage) ---- */
.hero { background: var(--bg); }
.hero-title { color: var(--white); font-family: 'Cormorant Garamond', serif; font-weight: 300; }
.hero-subtitle { color: var(--muted); }
.pill {
  background: var(--surface);
  border-color: var(--gold-border);
  color: var(--gold);
}
.banner { border-color: var(--border-soft); }

/* ---- Timeline ---- */
.timeline-dot {
  background: var(--surface);
  border-color: var(--gold-border);
  box-shadow: 0 0 0 3px var(--bg);
}
.timeline-h-dot {
  background: var(--surface);
  border-color: var(--gold-border);
  box-shadow: 0 0 0 3px var(--bg);
}
.timeline-item::before { background: var(--border-soft); }
.timeline-h::before { background: var(--border-soft); }
body.page-exec .timeline-card { background: var(--surface); border-color: var(--border-soft); }
body.page-exec .exec-strip {
  background: var(--surface);
  border-color: var(--border-soft);
}
body.page-exec .timeline-track { background: var(--border-soft); }
body.page-exec .timeline-dot { background: var(--gold); border-color: var(--gold); }

/* ---- Skills matrix ---- */
.skills-matrix { background: var(--surface); border-color: var(--border-soft); }
.skills-matrix thead tr { background: var(--dark-3); }
.skills-matrix tbody tr { border-color: var(--border-soft); }
.skills-matrix tbody tr:hover { background: rgba(140,111,63,0.06); }
.skills-matrix td:first-child { color: var(--text); }

/* ---- Pillars ---- */
.pillar-card { background: var(--surface); border-color: var(--border-soft); box-shadow: none; }
.pillar-card:hover { background: rgba(140,111,63,0.08); border-color: var(--gold-border); box-shadow: none; }

/* ---- Accordion ---- */
.accordion-item { background: var(--surface); border-color: var(--border-soft); box-shadow: none; }
.accordion-trigger { color: var(--text); }
.accordion-trigger:hover { background: rgba(140,111,63,0.06); }
.accordion-body { color: var(--muted); border-top-color: var(--border-soft); }

/* ---- Tabs ---- */
.tab-list { border-color: var(--border-soft); }
.tab-btn { color: var(--muted-2); }
.tab-btn:hover { color: var(--text); }
.tab-btn.is-active { color: var(--gold); border-color: var(--gold); }

/* ---- Maturity assessment (v1 inline) ---- */
.maturity-shell { background: var(--surface); border-color: var(--border-soft); }
.maturity-head { border-color: var(--border-soft); }
.maturity-title { color: var(--text); }
.maturity-sub { color: var(--muted); }
.maturity-dim-label { color: var(--text); }
.maturity-btn {
  background: var(--surface-2);
  border-color: var(--border-soft);
  color: var(--muted);
}
.maturity-btn:hover {
  background: rgba(140,111,63,0.10);
  border-color: var(--gold-border);
  color: var(--text);
}
.maturity-btn.is-selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  box-shadow: none;
}
.maturity-dimension:has(.maturity-btn.is-selected) .maturity-btn:not(.is-selected) { opacity: 0.45; }
.maturity-bar-wrap { background: var(--dark-3); }
.maturity-result { border-color: var(--border-soft); }

/* ---- Maturity v2 (one-per-screen) ---- */
.mat-progress-track { background: var(--border-soft); }
.mat-progress-fill  { background: var(--gold); }
.mat-progress-step  { color: var(--gold); }
.mat-q-title  { color: var(--text); }
.mat-q-note   { background: rgba(140,111,63,0.10); border-left-color: var(--gold); color: var(--muted); }
.ctx-card {
  background: var(--surface);
  border-color: rgba(140,111,63,0.20);
  color: var(--text);
}
.ctx-card:hover:not(.is-selected) {
  background: rgba(140,111,63,0.10);
  border-color: var(--gold);
}
.ctx-card.is-selected { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.mat-card {
  background: var(--surface);
  border-color: rgba(140,111,63,0.20);
}
.mat-card-label { color: var(--text); }
.mat-card-desc  { color: var(--muted); }
.mat-card:hover:not(.is-selected) {
  background: rgba(140,111,63,0.10);
  border-color: var(--gold);
}
.mat-card.is-selected { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.mat-card.is-selected .mat-card-label { color: var(--dark); }
.mat-card.is-selected .mat-card-desc  { color: rgba(20,20,22,0.75); }
.mat-context-note {
  background: rgba(140,111,63,0.10);
  border-left-color: var(--gold);
  color: var(--text);
}

/* ---- Guide modal / FAB ---- */
.guide-fab {
  background: var(--surface);
  border-color: var(--gold-border);
  color: var(--text);
}
.guide-fab:hover { background: rgba(140,111,63,0.12); }
.guide-modal-inner {
  background: var(--dark-2);
  border-color: var(--gold-border);
}
.guide-head { border-color: var(--border-soft); }
.guide-kicker { color: var(--muted-2); }
.guide-title  { color: var(--white); }
.guide-sub    { color: var(--muted); }
.guide-x {
  background: var(--dark-3);
  border-color: var(--border-soft);
  color: var(--muted);
}
.guide-step-title { color: var(--text); }
.guide-card {
  background: var(--dark-3);
  border-color: rgba(140,111,63,0.20);
}
.guide-card:hover {
  background: rgba(140,111,63,0.10);
  border-color: var(--gold);
  box-shadow: none;
  transform: none;
}
.guide-card.is-selected {
  background: rgba(140,111,63,0.20);
  border: 2px solid var(--gold);
  color: var(--white);
  box-shadow: none;
}
.guide-card.is-selected * { color: var(--white); }
.guide-options:has(.guide-card.is-selected) .guide-card:not(.is-selected) { opacity: 0.45; }
.guide-card-title { color: var(--text); }
.guide-card-sub   { color: var(--muted); }
.guide-footer { border-color: var(--border-soft); }
.guide-progress { color: var(--muted-2); }
.guide-result-block {
  background: var(--surface);
  border-color: var(--border-soft);
}
.guide-result-title { color: var(--text); }
.guide-result-text  { color: var(--muted); }
.guide-note { color: var(--muted-2); }

/* ---- IA quiz shell (audit-leadership) ---- */
body.page-ia .quiz-shell { background: var(--surface); border-color: var(--border-soft); box-shadow: none; }
body.page-ia .quiz-question { background: var(--surface); border-color: var(--border-soft); box-shadow: none; }
body.page-ia .quiz-option {
  background: var(--dark-3);
  border-color: transparent;
  color: var(--muted);
}
body.page-ia .quiz-option:hover {
  background: rgba(140,111,63,0.10);
  border-color: var(--gold-border);
  transform: none;
  box-shadow: none;
}
body.page-ia .quiz-result-card  { background: var(--surface); border-color: var(--border-soft); }
body.page-ia .scale-shell        { background: var(--surface); border-color: var(--border-soft); }
body.page-ia .scale-track {
  background: var(--dark-3);
  border-color: var(--border-soft);
}
body.page-ia .scale-track::before { background: var(--border-soft); }
body.page-ia .scale-step {
  background: var(--dark-3);
  border-color: var(--border-soft);
  color: var(--muted);
}
body.page-ia .scale-step.is-active {
  background: var(--surface);
  border-color: var(--gold-border);
  color: var(--text);
}
body.page-ia .scale-marker { background: var(--gold); }
body.page-ia .scale-marker::after { background: var(--gold); }
body.page-ia .quiz-card { background: var(--surface); border-color: var(--border-soft); }
body.page-ia .quiz-card:hover { background: rgba(140,111,63,0.10); border-color: var(--gold-border); transform: none; box-shadow: none; }
body.page-ia .quiz-card.is-selected { background: rgba(140,111,63,0.20); border-color: var(--gold); color: var(--white); }
body.page-ia .quiz-card.is-selected * { color: var(--white); }
body.page-ia .quiz-result-block { background: var(--surface); border-color: var(--border-soft); }
body.page-ia .quiz-head { border-color: var(--border-soft); }
body.page-ia .quiz-footer { border-color: var(--border-soft); }
body.page-ia .quiz-progress { color: var(--muted-2); }

/* ---- Thesis page ---- */
body.page-thesis .article-prose {
  background: var(--surface);
  border-color: var(--border-soft);
  box-shadow: none;
}
body.page-thesis .article-prose h1,
body.page-thesis .article-prose h2,
body.page-thesis .article-prose h3,
body.page-thesis .article-prose h4 { color: var(--text); }
body.page-thesis .article-prose p { color: var(--body); }
body.page-thesis .article-loading { background: var(--surface); border-color: var(--border-soft); box-shadow: none; color: var(--muted); }
body.page-thesis .thesis-note { background: var(--surface); border-color: var(--border-soft); }
body.page-thesis .thesis-note-text { color: var(--muted); }
body.page-thesis .format-gate-shell {
  background: var(--surface);
  border-color: var(--border-soft);
  box-shadow: none;
}
body.page-thesis .format-gate-shell::after { display: none; }
body.page-thesis .format-card {
  background: var(--dark-3);
  border-color: var(--border-soft);
  box-shadow: none;
}
body.page-thesis .format-card:hover {
  background: rgba(140,111,63,0.10);
  border-color: var(--gold-border);
  transform: none;
  box-shadow: none;
}
body.page-thesis .format-icon {
  background: var(--dark-2);
  border-color: var(--border-soft);
  color: var(--gold);
}
body.page-thesis .format-card-title { color: var(--text); }
body.page-thesis .format-card-tag { background: var(--dark-2); border-color: var(--border-soft); color: var(--muted); }
body.page-thesis .format-card-body { color: var(--muted); }
body.page-thesis .format-gate-note { color: var(--muted-2); }

/* ---- Dark hero sections (exec, ia, thesis) ---- */
body.page-exec .exec-hero,
body.page-ia .ia-hero,
body.page-thesis .exec-hero,
body.page-resources .exec-hero,
body.page-maturity .exec-hero {
  background: #141416;
}
body.page-exec .exec-hero h1,
body.page-ia .ia-hero h1,
body.page-thesis .exec-hero h1,
body.page-maturity .exec-hero h1 { color: var(--white); font-family: 'Cormorant Garamond', serif; font-weight: 300; }
body.page-exec .exec-hero p,
body.page-ia .ia-hero p,
body.page-thesis .exec-hero p,
body.page-maturity .exec-hero p { color: var(--muted); }
body.page-exec .exec-kicker,
body.page-ia .ia-kicker,
body.page-thesis .exec-kicker { color: var(--gold); }

/* ---- Disclosure ---- */
.disclosure { background: var(--surface); border-color: var(--border-soft); box-shadow: none; }
.disclosure[open] { border-color: var(--gold-border); box-shadow: none; }
.disclosure-summary { color: var(--text); }
.disclosure-body { color: var(--muted); }

/* ---- Sidebar nav ---- */
.sidebar-nav { background: var(--surface); border-color: var(--border-soft); box-shadow: none; }
.sidebar-nav-title { color: var(--muted-2); }
.sidebar-nav-list a { color: var(--muted); }
.sidebar-nav-list a:hover,
.sidebar-nav-list a.is-active { background: rgba(140,111,63,0.10); color: var(--gold); }

/* ---- Content prose (my-* / practitioner-* posts) ---- */
article h2, article h3, article h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--text);
}
article p, article li { color: var(--body); line-height: 1.75; }
.post-hero { border-radius: 12px; }
.image-caption { color: var(--muted-2); font-size: 0.88rem; }
header h1 { font-family: 'Cormorant Garamond', serif; color: var(--gold-light); }
header .tagline { color: var(--muted); }
header nav a { color: var(--muted); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
header nav a:hover { color: var(--gold-light); }

/* ---- Path / module card text ---- */
.path-title  { color: var(--text); }
.path-tag    { background: var(--surface-2); border-color: var(--border-soft); color: var(--muted-2); }
.path-text   { color: var(--muted); }
.path-cta    { color: var(--gold); }
.path-card:hover .path-cta { color: var(--gold-light); }
.module-kicker { color: var(--muted-2); }
.module-title  { color: var(--text); }
.module-desc   { color: var(--muted); }
.soon { background: var(--surface-2); border-color: var(--border-soft); color: var(--muted); }

/* ---- Global interactive transition reset (no bounce on dark) ---- */
a, button,
.path-card, .pillar-card,
.accordion-trigger, .tab-btn,
.guide-card, .maturity-btn, .quiz-card,
.metric-card, .mod-card, .phase-card {
  transition: background 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, opacity 0.18s ease;
}
.path-card:hover, .pillar-card:hover { transform: none; box-shadow: none; }

/* ---- Hover gold-tint for interactive cards on dark ---- */
.guide-card:not(.is-selected):hover,
.maturity-btn:not(.is-selected):hover,
.quiz-card:not(.is-selected):hover,
.path-card:hover {
  background: rgba(140,111,63,0.10);
  border-color: var(--gold-border);
}

/* ============================================================
   Phase F — Mobile Experience
   ============================================================ */

/* ---- content-cols: two-column layout for content pages ---- */
.content-cols {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2.5rem;
  align-items: start;
}
.content-aside {
  position: sticky;
  top: 88px;
}

/* ---- footer-grid: dark site-footer layout ---- */
.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0 1.25rem;
}
.footer-left {
  flex: 1;
  min-width: 200px;
}
.footer-right {
  display: flex;
  flex-wrap: wrap;
  row-gap: 2px;
  max-width: 400px;
}

/* ---- table scroll wrapper ---- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---- F-2 / F-4: Mobile breakpoints ---- */
@media (max-width: 820px) {
  /* content-cols: collapse to single column */
  .content-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .content-aside {
    position: static;
    top: auto;
  }

  /* Hero image: hide on mobile (text stacks full width) */
  .hero-media { display: none; }

  /* Page hero font scaling */
  .page-title { font-size: 1.9rem; }
  .page-subtitle { font-size: 0.95rem; max-width: 100%; }
  .page-hero { padding: 2rem 0 1.25rem; }

  /* Section title scaling */
  .section-title { font-size: 1.55rem; }

  /* header-inner: reduce horizontal padding */
  .container.header-inner,
  .header-inner { padding: 0 1rem; }
}

@media (max-width: 600px) {
  /* Container: tighter padding */
  .container { padding: 0 1rem; }

  /* Section vertical rhythm */
  .section { padding: 2.5rem 0; }

  /* Hero */
  .hero { padding: 40px 0 24px; }
  .hero-title { font-size: 1.85rem; }

  /* Page hero */
  .page-title { font-size: 1.65rem; }
  .page-subtitle { font-size: 0.9rem; }

  /* Footer links wrap on small screens */
  .footer-right { max-width: 100%; width: 100%; }
}

/* ============================================================
   About — prose width, author grid, closing band
   ============================================================ */

.hero-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.about-prose p {
  max-width: 72ch;
  line-height: 1.85;
  color: rgba(255,255,255,0.82);
  font-size: 0.97rem;
  margin-bottom: 1.25rem;
}
.about-prose p:last-child { margin-bottom: 0; }

.section.about-section { padding: 64px 0; }
@media (max-width: 768px) {
  .section.about-section { padding: 40px 0; }
}

.closing-band {
  background: #0e0e10;
  border-top: 1px solid rgba(140,111,63,0.3);
}
.closing-band .about-prose p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 64ch;
}

/* Author grid */
.author-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}
.author-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.author-photo {
  width: 220px;
  height: 280px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  border: 1px solid rgba(140,111,63,0.3);
  display: block;
  margin-bottom: 1rem;
}
.author-name-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}
.author-title-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9a96e;
  line-height: 1.5;
}
.author-linkedin {
  display: inline-block;
  margin-top: 1.5rem;
  color: #c9a96e;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(140,111,63,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.author-linkedin:hover {
  color: #e8c97e;
  border-color: rgba(140,111,63,0.8);
}
@media (max-width: 768px) {
  .author-grid { grid-template-columns: 1fr; }
  .author-photo {
    width: 160px;
    height: 200px;
    margin: 0 auto 1rem;
  }
}

/* ============================================================
   Auditing AI — glossary, lists, subheads, callout cards
   ============================================================ */

/* Anchor nav */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0;
}
.anchor-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.anchor-nav a:hover { color: #c9a96e; }

/* Glossary */
.glossary-entry { margin-bottom: 1.25rem; }
.glossary-term {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  border-left: 3px solid rgba(140,111,63,0.6);
  padding-left: 0.75rem;
}
.glossary-def {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  padding-left: 1rem;
  margin-bottom: 0;
}

/* Two-column bullet list */
.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  margin: 1rem 0 1.5rem;
  padding-left: 0;
  list-style: none;
}
.two-col-list li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}
.two-col-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: rgba(140,111,63,0.7);
  font-size: 0.75rem;
}
@media (max-width: 768px) {
  .two-col-list { grid-template-columns: 1fr; }
}

/* Single-column indicator list */
.indicator-list {
  margin: 1rem 0 1.5rem;
  padding-left: 0;
  list-style: none;
}
.indicator-list li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.4rem;
}
.indicator-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: rgba(140,111,63,0.7);
  font-size: 0.75rem;
}

/* Section subheading (h4 within content-main) */
.section-subhead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #c9a96e;
  letter-spacing: 0.02em;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(140,111,63,0.2);
}

/* Callout card */
.callout-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(140,111,63,0.25);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.callout-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 0.6rem;
}
.callout-card p,
.callout-card li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

/* Section with aside: wider main content column */
.section-with-aside {
  grid-template-columns: 1fr 280px;
}
@media (max-width: 900px) {
  .section-with-aside { grid-template-columns: 1fr; }
  .section-with-aside .callout-card { margin-top: 0; }
}

/* ============================================================
   Maturity Assessment — executive-assessment visual treatment
   ============================================================ */

/* Standalone exec-hero (dark centered hero, no body-class dependency) */
.exec-hero {
  background: #141416;
  color: #f0ede8;
  padding: 80px 0 64px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a96e;
  border: 1px solid rgba(140,111,63,0.4);
  padding: 0.35rem 1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.hero-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-intro em {
  font-style: italic;
  color: #c9a96e;
}

.hero-framing {
  font-size: 1.0rem;
  color: rgba(240,237,232,0.72);
  max-width: 620px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.75;
}

/* Context card (framing box below hero) */
.hero-context-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(140,111,63,0.25);
  border-left: 3px solid rgba(140,111,63,0.7);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  max-width: 760px;
  margin: 0 auto;
}
.hero-context-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  font-weight: 300;
}

/* ---- mat-card: dark card style (overrides light-mode rules above) ---- */
.mat-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  text-align: left;
  margin-bottom: 0.6rem;
  position: relative;
}

.mat-card:hover,
.mat-card:hover:not(.is-selected) {
  background: rgba(255,255,255,0.06);
  border-color: rgba(140,111,63,0.4);
  transform: translateX(3px);
}

.mat-card.is-selected,
.mat-card[aria-pressed="true"] {
  background: rgba(140,111,63,0.12);
  border-color: rgba(140,111,63,0.7);
  color: inherit;
  transform: none;
}

.mat-card.is-dimmed { opacity: 0.45; }

/* Badge: always visible as a flex item */
.mat-card-check {
  position: static;
  display: flex;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
}

.mat-card.is-selected .mat-card-check,
.mat-card[aria-pressed="true"] .mat-card-check {
  background: rgba(140,111,63,0.3);
  border-color: #c9a96e;
  color: #c9a96e;
}

.mat-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.mat-card-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 0;
}

.mat-card.is-selected .mat-card-label { color: rgba(255,255,255,0.95); }

.mat-card-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.2rem;
  line-height: 1.5;
}

.mat-card.is-selected .mat-card-desc { color: rgba(255,255,255,0.65); }

/* Progress bar */
.mat-progress {
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.mat-progress-track {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.mat-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #8c6f3f, #c9a96e);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.mat-progress-step {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: right;
  margin-bottom: 0.5rem;
}

/* Assessment container */
.maturity-v2 {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.mat-q-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  max-width: 680px;
}

/* Navigation */
.mat-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  max-width: 720px;
}

.mat-next {
  background: linear-gradient(135deg, #8c6f3f, #c9a96e);
  color: #0e0e10;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.mat-next:hover { opacity: 0.88; transform: translateX(2px); }
.mat-next:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.mat-back {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.mat-back:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   body.page-maturity — scoped overrides for maturity-assessment
   ============================================================ */

body.page-maturity .exec-hero {
  text-align: center;
  padding: 72px 0 40px;
}

body.page-maturity .exec-hero .hero-eyebrow,
body.page-maturity .exec-hero .hero-intro,
body.page-maturity .exec-hero .hero-framing {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

body.page-maturity .exec-hero .hero-intro {
  font-size: 2.75rem;
  max-width: 820px;
}

body.page-maturity .exec-hero .hero-framing {
  max-width: 640px;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1rem;
}

body.page-maturity .hero-context-card {
  max-width: 720px;
  margin: 0 auto 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(140,111,63,0.25);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  line-height: 1.75;
}

body.page-maturity .mat-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 720px;
}

body.page-maturity .mat-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  text-align: left;
  grid-column: unset;
}

body.page-maturity .mat-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(140,111,63,0.4);
  transform: translateX(3px);
}

body.page-maturity .mat-card.is-selected {
  background: rgba(140,111,63,0.12);
  border-color: rgba(140,111,63,0.7);
}

body.page-maturity .mat-card-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
  position: static;
}

body.page-maturity .mat-card.is-selected .mat-card-check {
  background: rgba(140,111,63,0.3);
  border-color: #c9a96e;
  color: #c9a96e;
}

body.page-maturity .mat-card-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}

body.page-maturity .mat-card.is-selected .mat-card-label { color: rgba(255,255,255,0.95); }

body.page-maturity .mat-card-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.2rem;
  line-height: 1.5;
}

body.page-maturity .mat-card.is-selected .mat-card-desc { color: rgba(255,255,255,0.65); }

body.page-maturity .mat-q-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  max-width: 680px;
}

body.page-maturity .maturity-v2 {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

body.page-maturity .mat-progress-track {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

body.page-maturity .mat-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #8c6f3f, #c9a96e);
  border-radius: 2px;
  transition: width 0.4s ease;
}

body.page-maturity .mat-progress-step {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: right;
}

body.page-maturity .mat-next {
  background: linear-gradient(135deg, #8c6f3f, #c9a96e);
  color: #0e0e10;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

body.page-maturity .mat-next:hover { opacity: 0.88; transform: translateX(2px); }
body.page-maturity .mat-next:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

body.page-maturity .mat-back {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

body.page-maturity .mat-back:hover { color: rgba(255,255,255,0.7); }

body.page-maturity .mat-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  max-width: 720px;
}

/* ============================================================
   About page — dark-mode section overrides
   ============================================================ */

body.page-about .section-alt {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

body.page-about .section,
body.page-about .section-alt {
  color: rgba(255,255,255,0.82);
}

body.page-about .about-prose p {
  color: rgba(255,255,255,0.82);
}

body.page-about .about-prose {
  max-width: 72ch;
  margin: 0 auto;
}

body.page-about .hero .container {
  max-width: 72ch;
  margin: 0 auto;
}

body.page-about .closing-band .container {
  max-width: 72ch;
  margin: 0 auto;
}

/* ============================================================
   Timeline task lists (erp-transition, technology-stack)
   ============================================================ */
.timeline-tasks { margin-top: 16px; }
.timeline-tasks-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.timeline-task-list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.timeline-task-list li { margin-bottom: 6px; }

/* ============================================================
   Next-step playbook navigation bar
   ============================================================ */
.next-step-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin-bottom: 32px;
}
.next-step-bar .next-step-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.next-step-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.next-step-link:hover {
  text-decoration: underline;
}

/* Reading time indicator */
.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 4px;
}
.reading-time::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9490' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Key takeaways accordion */
details.key-takeaways {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-top: 24px;
  max-width: 860px;
}
details.key-takeaways summary {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  padding: 14px 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.key-takeaways summary::-webkit-details-marker { display: none; }
details.key-takeaways summary::after { content: '+'; font-size: 1.1rem; flex-shrink: 0; }
details[open].key-takeaways summary::after { content: '-'; }
details.key-takeaways .takeaways-body {
  padding: 6px 18px 16px;
  border-top: 1px solid var(--border);
}
details.key-takeaways .takeaways-body ul {
  padding-left: 1.4em;
  line-height: 1.85;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 10px;
}
details.key-takeaways .takeaways-body li {
  margin-bottom: 8px;
}

