*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* This site is designed for light mode. Declaring color-scheme: light
   tells browsers (notably Chrome on a dark-mode OS) not to apply their
   automatic dark-theme colour inversion, which otherwise breaks the
   filled/hollow dot distinction in the "Absent TGB functions" lists
   and inverts several other carefully chosen element colours. */
html { color-scheme: light; }

:root {
  --navy-deep: #0E1B2E;
  --navy: #1A2744;
  --blue-steel: #2D5478;
  --teal-dark: #1B6B7D;
  --teal: #2A8A9A;
  --blue-gray: #7F8FA9;
  --border: #D6DFE8;
  --surface: #F4F7FA;
  --white: #FFFFFF;
  --body-text: #1A2536;

  --accent-steel: #18395A;    /* Book 1 – The Structural Diagnosis */
  --accent-burgundy: #671B30; /* Book 2 – The Governance Mandate   */
  --accent-forest: #1E432B;   /* Book 3 – The Governed Boundary    */
  --accent-amber: #9C6E2C;    /* fourth differentiator              */

  --font-heading: 'Calibri', 'Gill Sans', 'Trebuchet MS', sans-serif;
  --font-serif: 'Source Serif 4', 'Georgia', serif;
  --font-sans: 'DM Sans', 'Segoe UI', sans-serif;

  --section-pad: clamp(4rem, 8vw, 7rem);
  --content-max: 72rem;
  --content-narrow: 48rem;
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-serif);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.label {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.section-pad { padding: var(--section-pad) clamp(1.5rem, 5vw, 4rem); }
.content-wrap { max-width: var(--content-max); margin: 0 auto; }

/* site-wide centring of section text and headings */
.section-pad > .content-wrap { text-align: center; }
.section-pad .content-wrap > p,
.section-pad .opening-para { max-width: var(--content-narrow); margin-left: auto; margin-right: auto; }

/* cards and tiles keep their internal left alignment */
.book-card, .case-card, .wp-card, .track-card { text-align: left; }

/* callouts: block-quote style stays left-aligned but centred as a block */
.callout { text-align: left; margin-left: auto; margin-right: auto; max-width: var(--content-narrow); }

/* narrow content blocks re-centre */
.cases-intro, .cases-closing, .whitepapers-intro, .series-intro,
.training-intro, .publication-intro, .author-content {
  max-width: var(--content-narrow);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--content-max); margin: 0 auto;
  padding: 0.9rem clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  color: var(--navy); text-decoration: none;
}
.nav-brand-current {
  border-bottom: 2px solid var(--teal-dark);
  padding-bottom: 2px;
}

.nav-links { display: flex; gap: 1.5rem; list-style: none; }

.nav-links a {
  font-family: var(--font-sans); font-size: 0.82rem;
  color: var(--blue-gray); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active {
  color: var(--navy);
  border-bottom: 2px solid var(--teal-dark);
  padding-bottom: 2px;
}

.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0;
}

/* ─── HERO (home) ─── */
.hero {
  background: var(--white); position: relative;
  border-bottom: 1px solid var(--border);
}
.hero::after {
  display: none;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: var(--content-max); margin: 0 auto; width: 100%;
  text-align: center;
}

.hero .label {
  color: var(--teal-dark); margin-bottom: 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700;
  color: var(--navy); line-height: 1.12; margin-bottom: 0.7rem;
}

.hero .subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600;
  color: var(--blue-steel); line-height: 1.4; margin-bottom: 2.5rem;
}

.hero-intro {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--body-text);
  max-width: 46rem;
  margin: 1rem auto 0;
}
.hero-intro-beat {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.65;
  margin: 1.2rem auto 0;
  max-width: 46rem;
}
.hero-intro-signpost {
  color: var(--blue-steel);
  margin-bottom: 2.5rem;
}

.hero-thesis {
  list-style: none; padding: 0; margin: 0;
  display: inline-block;
  text-align: left;
}
.hero-thesis li {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.9;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0;
  border: none;
  margin: 0;
}
.hero-book-num { font-weight: 700; min-width: 4.2rem; }
.hero-dot { color: var(--blue-gray); font-weight: 700; }
.hero-book-title { font-weight: 700; font-family: var(--font-heading); }
.hero-thesis-domain { border-left: none; }
.hero-thesis-dest   { border-left: none; }
.hero-thesis-route  { border-left: none; }

.hero-reference {
  font-family: var(--font-sans) !important;
  font-size: 0.88rem !important;
  color: var(--blue-gray) !important;
}

/* ─── ARGUMENT / OPENING ─── */
.argument {
  background: var(--surface); border-bottom: 1px solid var(--border);
  /* First section after the fixed nav — needs extra top clearance */
  padding-top: calc(var(--section-pad) + 3.5rem);
}
.problem-intro { max-width: var(--content-narrow); margin: 0 auto; }

.logics-heading { margin-top: 4.5rem; margin-bottom: 2rem; }
.logics-heading .label { margin-bottom: 1rem; }
.logics-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  max-width: 42rem;
  margin: 0 auto;
  text-wrap: balance;
}

.logics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.logic-card {
  background: var(--white);
  padding: 1.75rem;
  border-top: 3px solid transparent;
  text-align: left;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.logic-card.logic-operator { border-top-color: var(--accent-forest); }
.logic-card.logic-it       { border-top-color: var(--accent-steel); }
.logic-card.logic-vendor   { border-top-color: var(--accent-burgundy); }

.logic-label {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--blue-gray); margin-bottom: 0.5rem;
}
.logic-card.logic-operator .logic-label { color: var(--accent-forest); }
.logic-card.logic-it       .logic-label { color: var(--accent-steel); }
.logic-card.logic-vendor   .logic-label { color: var(--accent-burgundy); }

.logic-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.logic-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
  color: var(--body-text);
}

.logics-closing {
  max-width: var(--content-narrow);
  margin: 2.5rem auto 0;
}
.logics-closing p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--body-text);
}

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

.opening-para {
  font-size: 1.08rem; line-height: 1.72; margin-bottom: 1.6rem;
  color: var(--body-text);
}
.closing-para { margin-top: 1.2rem; }

.route-list {
  list-style: none; padding: 0; margin: 1.5rem 0 0.5rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.route-list li {
  font-size: 1.02rem; line-height: 1.7;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-left: 3px solid transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  color: var(--body-text);
}
.route-list li:nth-child(1) { border-left-color: var(--accent-steel); }
.route-list li:nth-child(2) { border-left-color: var(--accent-burgundy); }
.route-list li:nth-child(3) { border-left-color: var(--accent-forest); }

.route-title {
  display: block;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.02em; margin-bottom: 0.5rem;
}
.deliverables-list {
  list-style: none; padding: 0; margin: 0.5rem 0 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.deliverables-list li {
  font-size: 1.02rem; line-height: 1.6;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border-left: 3px solid transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  color: var(--body-text);
}
.deliverables-list li:nth-child(1) { border-left-color: var(--accent-steel); }
.deliverables-list li:nth-child(2) { border-left-color: var(--accent-burgundy); }
.deliverables-list li:nth-child(3) { border-left-color: var(--accent-forest); }
.deliverables-list .route-title {
  display: inline; margin-right: 0.6em;
}
.route-title--1 { color: var(--accent-steel); }
.route-title--2 { color: var(--accent-burgundy); }
.route-title--3 { color: var(--accent-forest); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── PAGE HERO (subpages) ─── */
.page-hero {
  padding: 8rem clamp(1.5rem, 5vw, 4rem) 3.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.page-hero .label { margin-bottom: 1rem; }

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: 0.8rem;
}

.page-hero .page-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  font-style: italic;
  color: var(--blue-steel);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.page-hero .page-meta {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--blue-gray);
}

/* ─── ARTICLE CONTENT ─── */
.article {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.article-inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.article h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
}

.article h2:first-child { margin-top: 0; }

.article p {
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
  line-height: 1.8;
}

.article blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border-left: 3px solid var(--teal-dark);
  font-style: italic;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.7;
}

.article blockquote p { margin-bottom: 0; }

.article figure {
  margin: 2.5rem 0;
}

.article figure img,
.home-figure img {
  width: 100%;
  height: auto;
  display: block;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.5rem;
  cursor: zoom-in;
  transition: opacity 0.2s;
}

.article figure img:hover,
.home-figure img:hover { opacity: 0.9; }

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 95%;
  max-height: 92vh;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 1rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: #FFFFFF;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-caption {
  display: none;
}

.home-figure figcaption {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--blue-gray);
  margin-top: 0.6rem;
  font-style: italic;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.cta-banner .cta-books {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-banner .cta-book-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.cta-banner .cta-book-link:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

/* ─── SECTIONS (home) ─── */

.callout {
  margin-top: 2rem; padding: 1.5rem 2rem;
  background: var(--surface); border-left: 3px solid var(--accent-steel);
  font-size: 1.05rem; color: var(--navy); line-height: 1.75;
}

.series { background: var(--surface); border-bottom: 1px solid var(--border); text-align: center; }
.series .label { margin-bottom: 1.5rem; }
.series-intro { max-width: var(--content-narrow); margin: 0 auto 3rem; text-align: center; }
.series-intro p { font-size: 1.15rem; margin-bottom: 1.1rem; }
.series-intro p:last-child { margin-bottom: 0; }

.work-epigraph {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.work-epigraph p {
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.5;
  margin-top: 1.1rem;
}
.work-epigraph p:first-child { margin-top: 0; }

.series .callout { text-align: left; max-width: var(--content-narrow); margin-left: auto; margin-right: auto; }

.books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.books-grid .book-card:first-child {
  grid-column: 1 / -1;
}

.book-card {
  background: var(--white);
  padding: 1.4rem 1.75rem;
  border-top: 3px solid transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.book-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

.book-card:nth-child(1) { border-top-color: var(--accent-steel); }
.book-card:nth-child(2) { border-top-color: var(--accent-burgundy); }
.book-card:nth-child(3) { border-top-color: var(--accent-forest); }
.book-card:nth-child(4) { border-top-color: var(--accent-amber); }

.book-label {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.6rem;
}
.book-card:nth-child(1) .book-label { color: var(--accent-steel); }
.book-card:nth-child(2) .book-label { color: var(--accent-burgundy); }
.book-card:nth-child(3) .book-label { color: var(--accent-forest); }
.book-card:nth-child(4) .book-label { color: var(--accent-amber); }

.book-title {
  font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700;
  color: var(--navy); margin-bottom: 1rem; line-height: 1.25;
}

.book-desc {
  font-size: 0.98rem; line-height: 1.55; margin-bottom: 1rem; flex: 1;
}
/* When a book-card holds two .book-desc paragraphs (e.g. the engagement
   cards on the consultancy section, with a "Produces..." line broken
   onto its own paragraph), only the first one flex-grows. The second
   sits naturally and gets a clear visual separation above it. */
.book-desc + .book-desc {
  flex: 0 0 auto;
  margin-top: 0.5rem;
}

.book-audience {
  font-family: var(--font-sans); font-size: 0.8rem; color: var(--blue-gray);
  font-style: italic; border-top: 1px solid var(--border); padding-top: 1rem;
}

/* ─── INTRO DOWNLOAD ─── */
.intro-download { background: var(--white); border-bottom: 1px solid var(--border); }
.intro-download .section-heading { margin-bottom: 1rem; }
.intro-download p { font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; color: var(--blue-gray); }

.intro-excerpt {
  margin: 0 auto 2.5rem;
  max-width: 42rem;
  padding: 2rem 2.25rem;
  background: var(--surface);
  border-left: 3px solid var(--teal-dark);
  text-align: left;
}
.intro-excerpt-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1rem;
}
.intro-excerpt blockquote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--navy);
  margin: 0 0 1.25rem;
  font-style: italic;
  padding: 0;
}
.intro-excerpt .intro-excerpt-continues {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--body-text);
  margin: 0;
}
.intro-download .intro-excerpt .intro-excerpt-continues { color: var(--body-text); margin-bottom: 0; }

.intro-form-row {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}
.intro-form-row input[type="email"] {
  flex: 1; min-width: 220px;
  font-family: var(--font-sans); font-size: 0.95rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border); border-radius: 2px;
  color: var(--text); background: var(--surface);
  outline: none; transition: border-color 0.2s;
}
.intro-form-row input[type="email"]:focus { border-color: var(--accent-steel); }
.intro-form-row button {
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600;
  padding: 0.7rem 1.5rem;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 2px; cursor: pointer;
  transition: background 0.2s, opacity 0.2s; white-space: nowrap;
}
.intro-form-row button:hover { background: var(--accent-steel); }
.intro-form-row button:disabled { opacity: 0.6; cursor: default; }

.intro-form-msg {
  margin-top: 0.85rem; font-family: var(--font-sans); font-size: 0.88rem; min-height: 1.2em;
}
.intro-form-msg.success { color: var(--accent-forest); }
.intro-form-msg.error   { color: #b94a48; }

.intro-form-msg .download-msg {
  display: block;
  margin-bottom: 0.35rem;
}
.intro-form-msg .download-link {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.7rem 1.4rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 3px;
  transition: background 0.2s;
}
.intro-form-msg .download-link:hover {
  background: var(--teal-dark);
}

/* ─── WHITE PAPERS ─── */
.whitepapers { background: var(--white); border-bottom: 1px solid var(--border); }
.whitepapers .label { margin-bottom: 1.5rem; }
.whitepapers-intro { max-width: var(--content-narrow); margin-bottom: 3rem; }
.whitepapers-intro p { font-size: 1.15rem; }

.wp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.wp-card {
  background: var(--surface); padding: 2rem;
  border-left: 3px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wp-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

.wp-card:nth-child(1) { border-left-color: var(--accent-steel); }
.wp-card:nth-child(2) { border-left-color: var(--accent-burgundy); }
.wp-card:nth-child(3) { border-left-color: var(--accent-forest); }

.wp-card .wp-label {
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem;
  color: var(--blue-gray);
}

.wp-card h3 {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.5rem;
}

.wp-card .wp-tagline {
  font-family: var(--font-serif); font-size: 0.92rem; font-style: italic;
  color: var(--blue-steel); margin-bottom: 1rem; line-height: 1.5;
}

.wp-card .wp-link {
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600;
  color: var(--teal-dark); text-decoration: none;
  transition: color 0.2s;
}
.wp-card .wp-link:hover { color: var(--navy); }

/* ─── TGB ─── */
.idsmz-section { background: var(--surface); border-bottom: 1px solid var(--border); }
.idsmz-inner { max-width: var(--content-narrow); margin-left: auto; margin-right: auto; }

.idsmz-diagram {
  max-width: 58rem;
  margin: 3rem auto;
}
.idsmz-diagram img,
.idsmz-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}
.idsmz-diagram figcaption {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--blue-gray);
  line-height: 1.55;
  text-align: center;
  margin-top: 1rem;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.capability-map {
  max-width: 64rem;
  margin: 3rem auto 0;
}
.capability-map img {
  width: 100%;
  height: auto;
  display: block;
}
.capability-map figcaption {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--blue-gray);
  line-height: 1.55;
  text-align: center;
  margin-top: 1rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.logics-venn {
  max-width: 38rem;
  margin: 3rem auto 0;
}
.logics-venn img {
  width: 100%;
  height: auto;
  display: block;
}
.logics-venn figcaption {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--blue-gray);
  line-height: 1.55;
  text-align: center;
  margin-top: 1rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

/* ─── FIGURE CARD ─────────────────────────────────────────────────
   White-backed card for illustrative figures. Keeps diagrams
   legible when the browser/OS forces dark mode on top of the site,
   and adds a subtle raised feel in light mode. Apply by adding the
   `figure-card` class to any <figure> that should render as a card.
   ------------------------------------------------------------------- */
.figure-card {
  background: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.figure-card figcaption {
  /* inside a white card, use the normal body text colour so the caption
     remains legible regardless of the surrounding page background */
  color: var(--body-text);
}
.idsmz-section .label { margin-bottom: 1.5rem; }
.idsmz-section p { font-size: 1.15rem; margin-bottom: 1.5rem; }

.idsmz-functions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem;
}

.idsmz-func {
  padding: 1.5rem; background: var(--white); border-top: 3px solid transparent;
}
.idsmz-func:nth-child(1) { border-top-color: var(--accent-steel); }
.idsmz-func:nth-child(2) { border-top-color: var(--accent-burgundy); }
.idsmz-func:nth-child(3) { border-top-color: var(--accent-forest); }

.idsmz-func h3 {
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.5rem;
}
.idsmz-func p { font-size: 0.95rem; margin-bottom: 0; line-height: 1.6; }

/* ─── TRAINING ─── */
.training, .publication { background: var(--white); border-bottom: 1px solid var(--border); }
.training .label, .publication .label { margin-bottom: 1.5rem; }
.training-intro, .publication-intro { max-width: var(--content-narrow); margin-bottom: 3rem; }
.training-intro p, .publication-intro p { font-size: 1.15rem; }

.training-tracks {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2rem;
}

.track-card {
  padding: 2rem; background: var(--surface);
  border-top: 3px solid transparent;
}
.track-card:nth-child(1) { border-top-color: var(--accent-steel); }
.track-card:nth-child(2) { border-top-color: var(--accent-forest); }
.track-card:nth-child(3) { border-top-color: var(--navy); }

.track-name {
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.4rem;
}
.track-modules {
  font-family: var(--font-sans); font-size: 0.82rem;
  color: var(--blue-gray); margin-bottom: 1rem;
}
.track-desc { font-size: 1rem; line-height: 1.65; }

.standalone-tracks {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2rem; max-width: 50rem;
}

.standalone-card {
  padding: 1.5rem 2rem; background: var(--surface);
  border-left: 3px solid var(--blue-gray);
}
.standalone-card h4 {
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.4rem;
}
.standalone-card p { font-size: 0.95rem; line-height: 1.6; }

.training-note {
  margin-top: 3rem; padding: 1.5rem 2rem;
  border: 1px solid var(--teal); background: var(--white);
  max-width: var(--content-narrow);
}
.training-note p { font-family: var(--font-sans); font-size: 0.95rem; color: var(--navy); }
.training-note .label { margin-bottom: 0.5rem; }

.signup-form { margin: 1.2rem auto 0; display: flex; gap: 0.8rem; max-width: 28rem; }
.signup-form input {
  flex: 1; padding: 0.7rem 1rem; font-family: var(--font-sans); font-size: 0.9rem;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--navy); outline: none; transition: border-color 0.2s;
}
.signup-form input:focus { border-color: var(--teal); }
.signup-form button {
  padding: 0.7rem 1.5rem; font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
  background: var(--navy); color: var(--white); border: none;
  cursor: pointer; transition: background 0.2s;
}
.signup-form button:hover { background: var(--blue-steel); }

/* ─── AUTHOR ─── */
.author { background: var(--white); border-bottom: 1px solid var(--border); }
.author .label { margin-bottom: 1.25rem; }
.author .section-heading {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.author-content { max-width: var(--content-narrow); }
.author p { font-size: 1.1rem; margin-bottom: 1.25rem; }

.author-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-dark);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--white);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.author-linkedin svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.author-linkedin:hover {
  color: var(--navy);
  border-color: var(--teal-dark);
  background: var(--surface);
}

/* ─── WHAT THIS WORK DELIVERS ─── */
.work-delivers {
  max-width: var(--content-narrow);
  margin: 3rem auto 0;
  padding: 2rem 2.25rem;
  background: var(--surface);
  border-left: 3px solid var(--teal-dark);
  text-align: left;
}
.work-delivers h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1.25rem;
}
.work-delivers ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.work-delivers ul li {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.work-delivers ul li:last-child { border-bottom: none; }
.work-delivers ul li:nth-child(1) strong { color: var(--accent-steel); }
.work-delivers ul li:nth-child(2) strong { color: var(--accent-burgundy); }
.work-delivers ul li:nth-child(3) strong { color: var(--accent-forest); }
.work-delivers > p {
  font-size: 1.02rem;
  color: var(--body-text);
  margin: 0;
}

/* ─── FOOTER ─── */
footer { background: var(--navy-deep); padding: 3rem clamp(1.5rem, 5vw, 4rem); }
.footer-inner {
  max-width: var(--content-max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-brand {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600;
  color: var(--blue-gray);
}
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-family: var(--font-sans); font-size: 0.8rem;
  color: var(--blue-gray); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: #D6E4EF; }
.footer-copy {
  width: 100%; margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(90,162,174,0.1);
  font-family: var(--font-sans); font-size: 0.75rem;
  color: rgba(127,143,169,0.6);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .books-grid, .training-tracks, .wp-grid { grid-template-columns: 1fr; }
  .idsmz-functions { grid-template-columns: 1fr; }
  .standalone-tracks { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem; gap: 1rem;
  }
  .nav-hamburger { display: block; }
  .hero h1 { font-size: 2.4rem; }
  .signup-form { flex-direction: column; }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* ─── IN PRACTICE / CASES ─── */
.cases { background: var(--white); border-bottom: 1px solid var(--border); }
.cases .label { margin-bottom: 1.5rem; }
.cases-intro { max-width: var(--content-narrow); margin-bottom: 3rem; }
.cases-intro p { font-size: 1.15rem; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.case-card {
  background: var(--surface);
  padding: 1.75rem;
  border-top: 3px solid transparent;
  display: flex;
  flex-direction: column;
}
.case-card:nth-child(1) { border-top-color: var(--accent-steel); }
.case-card:nth-child(2) { border-top-color: var(--accent-forest); }
.case-card:nth-child(3) { border-top-color: var(--accent-burgundy); }
.case-card:nth-child(4) { border-top-color: var(--accent-amber); }

.case-meta {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--blue-gray); margin-bottom: 0.5rem;
}
.case-name {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.4rem; line-height: 1.25;
}
.case-pattern {
  font-family: var(--font-serif); font-size: 0.92rem; font-style: italic;
  color: var(--blue-steel); margin-bottom: 1rem; line-height: 1.5;
}
.case-text { font-size: 0.98rem; line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }
.case-numbers {
  font-family: var(--font-sans); font-size: 0.82rem;
  color: var(--navy); border-top: 1px solid var(--border);
  padding-top: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
}
.case-functions {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}
.case-fn-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-gray);
  margin-bottom: 0.2rem;
}
.case-fn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue-gray);
  opacity: 0.5;
}
.case-fn.absent {
  color: var(--navy);
  opacity: 1;
}
.case-fn-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--blue-gray);
  background: transparent;
  flex-shrink: 0;
}
.case-fn.absent .case-fn-dot {
  background: var(--navy);
  border-color: var(--navy);
}
.cases-closing {
  max-width: var(--content-narrow); margin-top: 2.5rem;
  font-size: 1.02rem; line-height: 1.7; color: var(--body-text);
}

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

/* ─── HERO TYPE REBALANCE (series listing layout) ─── */
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.18;
}

/* hero book title accents — match The Work colour scheme */
.hero-thesis-domain .hero-book-title { color: var(--accent-steel); }
.hero-thesis-dest   .hero-book-title { color: var(--accent-burgundy); }
.hero-thesis-route  .hero-book-title { color: var(--accent-forest); }

/* white paper description body */
.wp-card .wp-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: var(--body-text);
}

/* ─── LEGAL / POLICY PAGES ─── */
.legal {
  background: var(--white);
  padding-top: calc(var(--section-pad) + 3rem);
}
.legal .content-wrap {
  max-width: var(--content-narrow);
  text-align: left;
}
.legal .label { margin-bottom: 1rem; }

.legal-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
.legal-effective {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--blue-gray);
  letter-spacing: 0.02em;
  margin: 0 0 2.75rem;
}

.legal h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 2.75rem 0 1rem;
}

.legal p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.1rem;
  color: var(--body-text);
}

.legal ul {
  margin: 0.5rem 0 1.5rem;
  padding-left: 1.5rem;
}
.legal ul li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.4rem;
  color: var(--body-text);
}

.legal a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal a:hover { color: var(--navy); }

.legal strong { color: var(--navy); }


/* ═══════════════════════════════════════════════════════════════════
   MULTI-PAGE EXTENSIONS (added for site expansion)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── CHAPTER LISTING ─── */
.chapter-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.chapter-item {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.chapter-item:first-child { border-top: 1px solid var(--border); }

.chapter-num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-gray);
  margin-bottom: 0.3rem;
}
.chapter-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.chapter-teaser {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--body-text);
}

/* ─── BOOK PAGE HERO ─── */
.book-hero {
  padding: 8rem clamp(1.5rem, 5vw, 4rem) 3.5rem;
  border-bottom: 1px solid var(--border);
}
.book-hero.book1-hero { background: var(--white); }
.book-hero.book2-hero { background: var(--white); }
.book-hero.book3-hero { background: var(--white); }

.book-hero-inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
}
.book-hero .book-num {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.book-hero.book1-hero .book-num { color: var(--accent-steel); }
.book-hero.book2-hero .book-num { color: var(--accent-burgundy); }
.book-hero.book3-hero .book-num { color: var(--accent-forest); }

.book-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}
.book-hero .book-position {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--body-text);
  max-width: 46rem;
}
.book-hero .book-position em {
  color: var(--navy);
  font-style: italic;
}

/* ─── BOOK CONTENT SECTIONS ─── */
.book-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.book-section.alt-bg { background: var(--surface); }

.book-section-inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
}
.book-section-inner p {
  font-size: 1.08rem;
  line-height: 1.72;
  margin-bottom: 1.4rem;
  text-align: justify;
  hyphens: auto;
}

/* ─── FIGURE (site-wide for book pages) ─── */
.site-figure {
  max-width: 64rem;
  margin: 3rem auto;
}
.site-figure.narrow { max-width: 42rem; }
.site-figure.medium { max-width: 52rem; }

.site-figure img {
  width: 100%;
  height: auto;
  display: block;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.5rem;
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.site-figure img:hover { opacity: 0.9; }

.site-figure figcaption {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--blue-gray);
  line-height: 1.55;
  margin-top: 0.75rem;
  font-style: italic;
}

/* ─── BOOK NAVIGATION (prev/next) ─── */
.book-nav {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 2rem 0;
}
.book-nav a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.book-nav a:hover { color: var(--navy); }
.book-nav .book-nav-next { margin-left: auto; text-align: right; }

.book-nav-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-gray);
  margin-bottom: 0.25rem;
}

/* ─── ACTOR OUTCOME CARDS (deliverables page) ─── */
.actor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.actor-card {
  background: var(--white);
  padding: 1.75rem;
  border-top: 3px solid transparent;
  text-align: left;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.actor-card:nth-child(1) { border-top-color: var(--accent-forest); }
.actor-card:nth-child(2) { border-top-color: var(--accent-steel); }
.actor-card:nth-child(3) { border-top-color: var(--accent-burgundy); }

.actor-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.actor-card:nth-child(1) .actor-label { color: var(--accent-forest); }
.actor-card:nth-child(2) .actor-label { color: var(--accent-steel); }
.actor-card:nth-child(3) .actor-label { color: var(--accent-burgundy); }

.actor-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.actor-card p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--body-text);
}

/* ─── OUTCOME LIST (deliverables page) ─── */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2.5rem auto;
  max-width: var(--content-max);
}
.outcome-card {
  background: var(--white);
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--teal-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  text-align: left;
}
.outcome-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.outcome-card p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--body-text);
  margin: 0;
}
@media (max-width: 700px) {
  .outcome-grid { grid-template-columns: 1fr; }
}

/* ─── WHITE PAPER REQUEST (inline on book pages) ─── */
.wp-request-inline {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 2rem 2.25rem;
  background: var(--surface);
  border-left: 3px solid var(--teal-dark);
  text-align: left;
}
.wp-request-inline h3 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}
.wp-request-inline p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* ─── ENGAGEMENT CARDS FLEX FIX (from earlier session) ─── */
#consultancy .book-desc {
  flex: 0 0 auto;
}

/* ─── RESPONSIVE: MULTI-PAGE ADDITIONS ─── */
@media (max-width: 900px) {
  .actor-grid { grid-template-columns: 1fr; }
  .book-nav { flex-direction: column; gap: 1rem; }
}

/* ─── INTEGRATED FIGURES (text-wrap layout) ─── */
.figure-inline {
  margin: 0.4rem 0 1.2rem 2rem;
  float: right;
  width: 53%;
  clear: right;
}
.figure-inline.float-left {
  float: left;
  margin: 0.4rem 2rem 1.2rem 0;
  clear: left;
}
.figure-inline img {
  width: 100%;
  height: auto;
  display: block;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.35rem;
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.figure-inline img:hover { opacity: 0.9; }
.figure-inline figcaption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--blue-gray);
  line-height: 1.45;
  margin-top: 0.5rem;
  font-style: italic;
}
.figure-inline.wide { width: 62%; }
.figure-inline.narrow { width: 44%; }

/* clear floats after a section */
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* ─── ARTICLE PROSE (narrative pages) ─── */
.prose {
  max-width: var(--content-narrow);
  margin: 0 auto;
}
.prose p {
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
  text-align: justify;
  hyphens: auto;
}
.prose h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-top: 3rem;
  margin-bottom: 1rem;
  clear: both;
  text-align: left;
}
.prose h2:first-child { margin-top: 0; }
.prose ul {
  margin: 0 0 1.4rem;
  padding-left: 0;
  list-style: none;
}
.prose ul li {
  font-size: 1.08rem;
  line-height: 1.75;
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  text-align: justify;
  hyphens: auto;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-dark);
}
.prose ul li strong {
  font-family: var(--font-heading);
  color: var(--navy);
}

/* ─── ABOUT CARDS (home page orientation) ─── */
.about-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
.about-card {
  flex: 0 1 calc(20% - 1.25rem);
  min-width: 11rem;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border-top: 3px solid var(--blue-gray);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.about-card-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.about-card p {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--body-text);
  margin: 0;
}
.about-card-1 { border-top-color: var(--accent-steel); }
.about-card-1 .about-card-label { color: var(--accent-steel); }
.about-card-2 { border-top-color: var(--accent-burgundy); }
.about-card-2 .about-card-label { color: var(--accent-burgundy); }
.about-card-3 { border-top-color: var(--accent-forest); }
.about-card-3 .about-card-label { color: var(--accent-forest); }
.about-card-4 { border-top-color: var(--accent-amber); }
.about-card-4 .about-card-label { color: var(--accent-amber); }
.about-card-5 { border-top-color: var(--teal-dark); }
.about-card-5 .about-card-label { color: var(--teal-dark); }

/* 3 + 2 wrap: cards grow wider */
@media (max-width: 1100px) {
  .about-card { flex: 0 1 calc(33.33% - 1.25rem); min-width: 14rem; }
}
@media (max-width: 640px) {
  .about-card { flex: 0 1 100%; min-width: 100%; }
}

/* ─── NAV: support longer labels ─── */
.nav-links a {
  line-height: 1.25;
  text-align: center;
}
.nav-links a.current {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px solid var(--teal-dark);
  padding-bottom: 2px;
}

/* ─── BOOK REFERENCE (bottom of narrative pages) ─── */
.book-ref {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 2rem 2.25rem;
  background: var(--surface);
  border-left: 3px solid var(--teal-dark);
  text-align: left;
}
.book-ref .book-ref-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}
.book-ref p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.book-ref p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .figure-inline,
  .figure-inline.float-left,
  .figure-inline.wide,
  .figure-inline.narrow {
    float: none;
    width: 100%;
    margin: 1.5rem 0;
  }
}
