/* =====================================================================
   The Missing Capability — site theme
   ---------------------------------------------------------------------
   One shared design system for every public page.

   Older stylesheets (brand.css, styles.css, lab/lab.css) are imported
   into the "legacy" cascade layer by each page. Everything here is
   unlayered, so it always wins over legacy rules without specificity
   battles. Legacy still supplies layout for components this file does
   not restyle.

   The idea: orange is "the missing piece" — the same orange that sits
   inside the C of the TMC logo. It is used for one meaning only:
   reasoning, the capability that is missing. Navy carries everything
   else.
   ===================================================================== */

/* Self-hosted fonts (SIL Open Font License; see /assets/fonts) */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Colour */
  --tmc-navy: #1b3047;          /* logo ink: headlines, text, structure */
  --tmc-navy-deep: #12233a;     /* chalkboard bands */
  --tmc-ink: #22364d;           /* body text */
  --tmc-muted: #56657a;         /* secondary text */
  --tmc-orange: #f83f10;        /* the missing piece: marks, underlines */
  --tmc-orange-strong: #d6350b; /* orange that passes contrast for text/buttons */
  --tmc-orange-tint: #fff1eb;
  --tmc-paper: #ffffff;
  --tmc-mist: #f0f3f7;          /* alternate sections */
  --tmc-line: #dae1ea;
  --tmc-chalk: #f3f5f2;         /* text on chalkboard */
  --tmc-chalk-muted: #b7c2cf;

  /* Type */
  --tmc-display: "Bricolage Grotesque", "Figtree", ui-sans-serif, system-ui, sans-serif;
  --tmc-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --tmc-shell: 1180px;
  --tmc-gutter: clamp(20px, 4vw, 40px);
  --tmc-section: clamp(64px, 9vw, 112px);
  --tmc-radius: 14px;
  --tmc-radius-sm: 10px;

  /* Legacy tokens, remapped so older rules inherit the new palette */
  --ink: var(--tmc-ink);
  --muted: var(--tmc-muted);
  --paper: var(--tmc-paper);
  --soft: var(--tmc-mist);
  --line: var(--tmc-line);
  --reasoning-red: var(--tmc-orange);
  --orange: var(--tmc-orange);
  --orange-dark: var(--tmc-orange-strong);
  --warm: var(--tmc-orange-tint);
  --tmc-red: var(--tmc-orange);
  --tmc-red-tint: var(--tmc-orange-tint);
  --tmc-red-hover: var(--tmc-orange-strong);
  --tmc-soft: var(--tmc-mist);
  --tmc-bg: var(--tmc-paper);
  --tmc-line-legacy: var(--tmc-line);
  --radius: var(--tmc-radius);
  --shadow: none;
}

/* ---------------------------------------------------------------------
   Base
   --------------------------------------------------------------------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.brand-site {
  margin: 0;
  background: var(--tmc-paper);
  color: var(--tmc-ink);
  font-family: var(--tmc-body);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}

body.brand-site h1,
body.brand-site h2,
body.brand-site h3,
body.brand-site .page-hero h1,
body.brand-site .page-section h2,
body.brand-site .section-heading h2,
body.brand-site .cta-inner h2 {
  font-family: var(--tmc-display);
  color: var(--tmc-navy);
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

body.brand-site h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
body.brand-site h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; }
body.brand-site h3 { font-size: 21px; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; }
body.brand-site p { text-wrap: pretty; }

body.brand-site strong { font-weight: 650; color: var(--tmc-navy); }

/* Links inside running text: navy with the missing-piece underline */
body.brand-site main p a,
body.brand-site main li a,
body.brand-site figcaption a {
  color: var(--tmc-navy);
  text-decoration: underline;
  text-decoration-color: var(--tmc-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color .15s ease;
}
body.brand-site main p a:hover,
body.brand-site main li a:hover,
body.brand-site figcaption a:hover { color: var(--tmc-orange-strong); }

body.brand-site :focus-visible {
  outline: 3px solid var(--tmc-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--tmc-orange); color: #fff; }

.topline { display: none; }

.shell,
body.brand-site .shell {
  width: min(var(--tmc-shell), calc(100% - 2 * var(--tmc-gutter)));
  margin-inline: auto;
}

/* ---------------------------------------------------------------------
   The missing piece: a quarter-round wedge, echoing the orange in the C
   --------------------------------------------------------------------- */
body.brand-site .eyebrow,
body.brand-site .test-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--tmc-body);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tmc-muted);
}
body.brand-site .eyebrow::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--tmc-orange);
  border-radius: 0 100% 0 0;
}

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
body.brand-site .brand-header,
body.brand-site .brand-header.is-scrolled {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 72px;
  height: auto;
  margin: 0;
  padding: 0 max(var(--tmc-gutter), calc((100% - var(--tmc-shell)) / 2));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--tmc-line);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
body.brand-site .brand-header .tmc-brand-image,
body.brand-site .brand-header.is-scrolled .tmc-brand-image {
  width: clamp(176px, 17vw, 228px);
  max-height: 40px;
}
body.brand-site .brand-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
}
body.brand-site .brand-nav a {
  position: relative;
  padding: 10px 14px;
  color: var(--tmc-navy);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
body.brand-site .brand-nav a:hover { background: var(--tmc-mist); color: var(--tmc-navy); }
body.brand-site .brand-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--tmc-orange);
}
body.brand-site .menu-toggle {
  display: none;
  border: 1.5px solid var(--tmc-navy);
  border-radius: var(--tmc-radius-sm);
  background: #fff;
  color: var(--tmc-navy);
  padding: 8px 14px;
  font: 600 15px/1 var(--tmc-body);
  cursor: pointer;
}

@media (max-width: 880px) {
  body.brand-site .brand-header,
  body.brand-site .brand-header.is-scrolled { min-height: 64px; height: 64px; }
  body.brand-site .menu-toggle { display: block; }
  body.brand-site .brand-nav,
  body.brand-site .brand-header .brand-nav,
  body.brand-site .brand-header.is-scrolled .brand-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--tmc-gutter) 18px;
    background: #fff;
    border-bottom: 1px solid var(--tmc-line);
    box-shadow: 0 18px 30px rgba(18, 35, 58, .08);
    border-radius: 0;
  }
  body.brand-site .brand-nav.open { display: flex; }
  body.brand-site .brand-nav a { padding: 13px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--tmc-line); }
  body.brand-site .brand-nav a:last-child { border-bottom: 0; }
  body.brand-site .brand-nav a:hover { background: none; }
  body.brand-site .brand-nav a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 12px; height: 12px; margin-top: -6px; border-radius: 0 100% 0 0; }
}

/* ---------------------------------------------------------------------
   Buttons and link-ish controls
   --------------------------------------------------------------------- */
body.brand-site .button,
body.brand-site .book-preview-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--tmc-radius-sm);
  font: 650 16px/1.1 var(--tmc-body);
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
body.brand-site .button.primary {
  background: var(--tmc-orange-strong);
  border-color: var(--tmc-orange-strong);
  color: #fff;
}
body.brand-site .button.primary:hover { background: var(--tmc-navy); border-color: var(--tmc-navy); color: #fff; }
body.brand-site .button.secondary,
body.brand-site .book-preview-open {
  background: #fff;
  border-color: var(--tmc-navy);
  color: var(--tmc-navy);
}
body.brand-site .button.secondary:hover,
body.brand-site .book-preview-open:hover { background: var(--tmc-navy); color: #fff; }
body.brand-site .button:active { transform: translateY(1px); }
body.brand-site .button[disabled],
body.brand-site .button:disabled { opacity: .5; cursor: not-allowed; }

body.brand-site .text-link,
body.brand-site .info-card > a:not(.button),
body.brand-site .resource-unavailable-link {
  font-weight: 650;
  color: var(--tmc-navy);
  text-decoration: underline;
  text-decoration-color: var(--tmc-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
body.brand-site .resource-unavailable-link { color: var(--tmc-muted); text-decoration-color: var(--tmc-line); cursor: default; }

/* In-page section links: a quiet row, not pills */
body.brand-site .page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--tmc-line);
}
body.brand-site .page-tabs a {
  padding: 4px 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--tmc-navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
body.brand-site .page-tabs a::after { content: " ↓"; color: var(--tmc-orange-strong); }
body.brand-site .page-tabs a:hover,
body.brand-site .page-tabs a:focus-visible { background: none; border-bottom-color: var(--tmc-orange); }

/* ---------------------------------------------------------------------
   Page structure
   --------------------------------------------------------------------- */
body.brand-site .page-hero,
body.brand-site .test-intro,
body.brand-site .lab-access-intro {
  background: transparent;
}
body.brand-site main > .page-hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
  max-width: none;
}
body.brand-site .page-hero h1 { max-width: 15ch; margin: 0; }
body.brand-site .lede,
body.brand-site .page-hero .lede {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--tmc-muted);
}

body.brand-site .page-section,
body.brand-site .strategy-section,
body.brand-site .decision-unit-section,
body.brand-site .architecture-section {
  padding: var(--tmc-section) 0;
  background: var(--tmc-paper);
  border-top: 0;
}
body.brand-site .page-section.soft,
body.brand-site .strategy-section.soft { background: var(--tmc-mist); }

body.brand-site .section-heading { max-width: 760px; margin: 0 0 44px; }
body.brand-site .section-heading.centred { text-align: left; margin-left: 0; margin-right: 0; }
body.brand-site .section-heading h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; }
body.brand-site .section-heading > p:not(.eyebrow) {
  margin: 18px 0 0;
  max-width: 64ch;
  font-size: 18px;
  line-height: 1.65;
  color: var(--tmc-muted);
}

body.brand-site .two-col { gap: clamp(36px, 6vw, 80px); }
body.brand-site .two-col h2 { margin: 0 0 22px; }
body.brand-site .three-col { gap: 18px; }

body.brand-site .content-copy { color: var(--tmc-muted); font-size: 17px; line-height: 1.7; }
body.brand-site .content-copy p { margin: 0 0 18px; }
body.brand-site .content-copy strong { color: var(--tmc-navy); }

/* Cards: flat, bordered, one radius. No shadows. */
body.brand-site .info-card,
body.brand-site .strategy-principle,
body.brand-site .training-card {
  padding: clamp(22px, 2.4vw, 32px);
  background: #fff;
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius);
  box-shadow: none;
}
body.brand-site .info-card h3 { margin: 0 0 10px; font-size: 21px; }
body.brand-site .info-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--tmc-muted); }
body.brand-site .info-card .button { margin-top: 26px; }

body.brand-site .resource-card { display: flex; flex-direction: column; gap: 10px; }
body.brand-site .resource-card h3 { margin: 0; }
body.brand-site .resource-card > a,
body.brand-site .resource-card > .resource-unavailable-link { margin-top: auto; padding-top: 14px; font-size: 15px; }

/* Small labels (badges, tags, indices): sentence case, no shouting */
body.brand-site .status-badge,
body.brand-site .tag,
body.brand-site .strategy-label,
body.brand-site .consulting2-index,
body.brand-site .consulting2-services strong,
body.brand-site .decision-class-journey-step > span,
body.brand-site .book-marketplace-label,
body.brand-site .chapter-microheading {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  font-family: var(--tmc-body);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tmc-orange-strong);
}

/* Callouts: one orange rule, nothing else */
body.brand-site .callout {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--tmc-orange-tint);
  border: 0;
  border-left: 4px solid var(--tmc-orange);
  border-radius: 0 var(--tmc-radius-sm) var(--tmc-radius-sm) 0;
}
body.brand-site .callout strong { display: block; margin-bottom: 6px; color: var(--tmc-navy); font-size: 17px; }
body.brand-site .callout p { margin: 0; color: var(--tmc-ink); font-size: 16px; line-height: 1.6; }

/* Numbered lists are real sequences: keep the numbers, make them readable */
body.brand-site .numbered-list { gap: 0; margin: 8px 0 0; }
body.brand-site .numbered-list > div {
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--tmc-line);
}
body.brand-site .numbered-list > div::before {
  font: 700 15px/1.4 var(--tmc-display);
  color: var(--tmc-orange-strong);
  letter-spacing: 0;
}
body.brand-site .numbered-list h3 { margin: 0 0 4px; font-size: 18px; }
body.brand-site .numbered-list p { font-size: 15.5px; }

/* ---------------------------------------------------------------------
   Chalkboard bands: calls to action and the dark section.
   They bookend each page with the hero's chalkboard.
   --------------------------------------------------------------------- */
body.brand-site .cta-band,
body.brand-site .page-section.dark {
  position: relative;
  padding: clamp(64px, 8vw, 104px) 0;
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(255, 255, 255, .06), transparent 60%),
    var(--tmc-navy-deep);
  color: var(--tmc-chalk);
  border: 0;
}
body.brand-site .cta-band h2,
body.brand-site .page-section.dark h2,
body.brand-site .page-section.dark h3 { color: #fff; }
body.brand-site .cta-band p,
body.brand-site .page-section.dark p { color: var(--tmc-chalk-muted); }
body.brand-site .cta-band .eyebrow,
body.brand-site .page-section.dark .eyebrow { color: var(--tmc-chalk-muted); }
body.brand-site .cta-band strong { color: #fff; }
body.brand-site .cta-band p a,
body.brand-site .page-section.dark p a { color: #fff; }
body.brand-site .cta-band p a:hover { color: #ffd2c4; }

body.brand-site .cta-inner { gap: clamp(28px, 5vw, 64px); align-items: center; }
body.brand-site .cta-inner > div:first-child { max-width: 680px; }
body.brand-site .cta-inner h2 { margin: 0 0 16px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; }
body.brand-site .cta-inner p:last-child { margin-bottom: 0; }
body.brand-site .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
body.brand-site .cta-band .button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
body.brand-site .cta-band .button.secondary:hover { background: #fff; border-color: #fff; color: var(--tmc-navy); }
body.brand-site .cta-band .button.primary:hover { background: #fff; border-color: #fff; color: var(--tmc-navy); }

body.brand-site .page-section.dark .info-card {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .14);
}
body.brand-site .page-section.dark .info-card p { color: var(--tmc-chalk-muted); }
body.brand-site .page-section.dark .resource-unavailable-link { color: #8b98a8; text-decoration-color: rgba(255, 255, 255, .2); }

/* ---------------------------------------------------------------------
   Footer (markup injected by brand.js)
   --------------------------------------------------------------------- */
body.brand-site .tmc-site-footer {
  margin: 0;
  padding: clamp(48px, 6vw, 72px) 0 28px;
  background: var(--tmc-mist);
  border-top: 1px solid var(--tmc-line);
  color: var(--tmc-muted);
  font-family: var(--tmc-body);
}
.tmc-site-footer .tmc-footer-inner { width: min(var(--tmc-shell), calc(100% - 2 * var(--tmc-gutter))); margin: 0 auto; }
.tmc-site-footer .tmc-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.tmc-site-footer .tmc-footer-identity p { max-width: 34ch; margin: 18px 0 0; font-size: 15px; line-height: 1.6; }
.tmc-site-footer .tmc-footer-brand img { display: block; width: 230px; max-width: 100%; height: auto; mix-blend-mode: multiply; }
.tmc-site-footer .tmc-footer-column { display: flex; flex-direction: column; gap: 10px; }
.tmc-site-footer .tmc-footer-column h2 {
  margin: 0 0 4px;
  font: 650 14px/1.3 var(--tmc-body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--tmc-navy);
}
.tmc-site-footer .tmc-footer-column a {
  width: fit-content;
  color: var(--tmc-muted);
  font-size: 15px;
  text-decoration: none;
}
.tmc-site-footer .tmc-footer-column a:hover { color: var(--tmc-navy); text-decoration: underline; text-decoration-color: var(--tmc-orange); text-underline-offset: 4px; }
.tmc-site-footer .tmc-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--tmc-line);
  font-size: 13px;
  color: var(--tmc-muted);
}
@media (max-width: 760px) {
  .tmc-site-footer .tmc-footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .tmc-site-footer .tmc-footer-identity { grid-column: 1 / -1; }
}

/* =====================================================================
   HOME
   ===================================================================== */

/* The hero: the child's chalkboard is full of intelligence. The page
   writes the missing piece onto it. */
body.landing-page .landing-main { overflow-x: clip; }

body.landing-page .reasoning-intro,
body.landing-page .reasoning-intro.shell {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: min(84vh, 760px);
  display: grid;
  align-items: center;
  background: var(--tmc-navy-deep);
  isolation: isolate;
  overflow: hidden;
}
body.landing-page .reasoning-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(72%, 1180px);
  height: 100%;
  margin: 0;
  background: transparent;
  z-index: -1;
}
body.landing-page .reasoning-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 58% 30%;
  /* fade the photo's left edge into the chalkboard band */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}
body.landing-page .reasoning-photo::after {
  /* cool the warm chalkboard towards the brand navy, leave the child natural */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 35, 58, .85) 0%, rgba(18, 35, 58, .35) 34%, rgba(18, 35, 58, 0) 52%);
  pointer-events: none;
}
body.landing-page .reasoning-copy {
  width: min(var(--tmc-shell), calc(100% - 2 * var(--tmc-gutter)));
  max-width: none;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 0;
}
body.landing-page .human-line {
  max-width: 13.5ch;
  margin: 0;
  font-family: var(--tmc-display);
  font-size: clamp(40px, 5.6vw, 78px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--tmc-chalk);
  text-wrap: balance;
}
body.landing-page .transition-line {
  max-width: 30ch;
  margin: 28px 0 0;
  font-family: var(--tmc-body);
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.45;
  color: var(--tmc-chalk-muted);
}
body.landing-page .transition-line strong {
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: #fff;
}
/* the missing piece, chalked in: a hand-drawn orange stroke under the answer */
body.landing-page .chalk-underline {
  position: absolute;
  left: -2%;
  bottom: -0.42em;
  width: 104%;
  height: 0.5em;
  overflow: visible;
  pointer-events: none;
}
body.landing-page .chalk-underline path {
  fill: none;
  stroke: var(--tmc-orange);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: tmc-chalk 1.1s cubic-bezier(.6, .1, .3, 1) .5s forwards;
}
@keyframes tmc-chalk { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  body.landing-page .chalk-underline path { animation: none; stroke-dashoffset: 0; }
}

@media (max-width: 880px) {
  body.landing-page .reasoning-intro,
  body.landing-page .reasoning-intro.shell { display: block; min-height: 0; }
  body.landing-page .reasoning-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    z-index: 0;
  }
  body.landing-page .reasoning-photo img {
    object-position: 50% 30%;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  body.landing-page .reasoning-photo::after {
    background: linear-gradient(180deg, rgba(18, 35, 58, 0) 55%, rgba(18, 35, 58, .7) 100%);
  }
  body.landing-page .reasoning-copy { margin-top: -18px; padding: 0 0 64px; position: relative; }
  body.landing-page .human-line { max-width: 14ch; }
}

/* The book: a chalkboard band that echoes the hero, with the cover as the hero object */
body.landing-page .home-book {
  padding: clamp(64px, 8vw, 104px) 0;
  background:
    radial-gradient(900px 420px at 18% 50%, rgba(255, 255, 255, .07), transparent 65%),
    var(--tmc-navy-deep);
  color: var(--tmc-chalk);
}
body.landing-page .home-book-inner {
  display: grid;
  grid-template-columns: minmax(200px, 320px) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}
body.landing-page .home-book-cover { display: block; }
body.landing-page .home-book-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px 8px 8px 3px;
  box-shadow:
    inset 6px 0 10px -6px rgba(0, 0, 0, .25),
    0 40px 70px -24px rgba(0, 0, 0, .7),
    0 14px 28px -14px rgba(0, 0, 0, .5);
  transform: rotate(-3deg);
  transition: transform .4s ease;
}
body.landing-page .home-book-cover:hover img { transform: rotate(0deg) translateY(-6px); }
@media (prefers-reduced-motion: reduce) { body.landing-page .home-book-cover img { transform: none; transition: none; } }
body.landing-page .home-book .eyebrow { color: var(--tmc-chalk-muted); }
body.landing-page .home-book-copy h2 { margin: 0; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.02; color: #fff; }
body.landing-page .home-book-copy h2 em { font-style: normal; }
body.landing-page .home-book-copy h2 span {
  display: block;
  margin-top: 10px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--tmc-orange);
}
body.landing-page .home-book-author { margin: 16px 0 0; font-size: 17px; font-weight: 600; color: #fff; }
body.landing-page .home-book-lede { max-width: 56ch; margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: var(--tmc-chalk-muted); }
body.landing-page .home-book-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
body.landing-page .home-book .button.primary:hover { background: #fff; border-color: #fff; color: var(--tmc-navy); }
body.landing-page .home-book .button.secondary { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
body.landing-page .home-book .button.secondary:hover { background: #fff; border-color: #fff; color: var(--tmc-navy); }
body.landing-page .home-book-meta { margin: 16px 0 0; font-size: 15px; color: var(--tmc-chalk-muted); }
body.landing-page .home-book-meta a { color: #fff; }
@media (max-width: 760px) {
  body.landing-page .home-book-inner { grid-template-columns: 1fr; gap: 40px; }
  body.landing-page .home-book-cover { width: 60%; max-width: 240px; margin: 0 auto; }
  body.landing-page .home-book-actions { flex-direction: column; }
  body.landing-page .home-book-actions .button { width: 100%; }
}

/* What Enterprise Reasoning is */
body.landing-page .enterprise-anchor-section { padding: var(--tmc-section) 0; background: var(--tmc-paper); }
body.landing-page .enterprise-anchor {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(36px, 6vw, 88px);
  align-items: start;
  margin: 0;
  padding: 0;
  border: 0;
}
body.landing-page .enterprise-anchor > .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
body.landing-page .enterprise-anchor h1 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(44px, 6vw, 80px);
  line-height: .98;
  color: var(--tmc-navy);
  max-width: 9ch;
}
body.landing-page .anchor-lede {
  grid-column: 2;
  margin: 8px 0 0;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--tmc-ink);
}
body.landing-page .anchor-note {
  grid-column: 1 / -1;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 clamp(36px, 6vw, 88px);
  margin: 32px 0 0;
  padding: 36px 0 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--tmc-line);
  border-radius: 0;
}
body.landing-page .anchor-note p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--tmc-muted); }
body.landing-page .anchor-note p strong { font-weight: 650; }
body.landing-page .anchor-note p:first-child { grid-row: span 2; font-size: 20px; line-height: 1.5; }
body.landing-page .anchor-note p:first-child strong { font-family: var(--tmc-display); font-weight: 600; letter-spacing: -0.01em; color: var(--tmc-navy); }
body.landing-page .anchor-note p:last-child {
  margin-top: 20px;
  padding-left: 18px;
  border-left: 4px solid var(--tmc-orange);
}
body.landing-page .anchor-note p:last-child strong { color: var(--tmc-navy); }

@media (max-width: 880px) {
  body.landing-page .enterprise-anchor,
  body.landing-page .anchor-note { grid-template-columns: 1fr; }
  body.landing-page .enterprise-anchor h1,
  body.landing-page .anchor-lede { grid-column: 1; }
  body.landing-page .anchor-note p:first-child { grid-row: auto; margin-bottom: 18px; }
}

/* One decision: what intelligence gives you vs what reasoning must settle */
body.landing-page .home-example { padding: var(--tmc-section) 0; background: var(--tmc-mist); }
body.landing-page .home-example-heading { max-width: 760px; margin-bottom: 40px; }
body.landing-page .home-example-heading h2 { margin: 0; }
body.landing-page .home-example-heading > p:not(.eyebrow) { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: var(--tmc-muted); }
body.landing-page .home-example-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: stretch;
}
body.landing-page .home-example-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--tmc-radius); }
body.landing-page .home-example-card h3 { margin: 0 0 18px; font-size: clamp(21px, 2vw, 25px); }
body.landing-page .home-example-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
body.landing-page .home-example-card li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.55; }
body.landing-page .home-example-intelligence {
  background:
    radial-gradient(500px 260px at 20% 0%, rgba(255, 255, 255, .07), transparent 70%),
    var(--tmc-navy-deep);
  color: var(--tmc-chalk);
}
body.landing-page .home-example-intelligence h3 { color: #fff; }
body.landing-page .home-example-intelligence li { color: var(--tmc-chalk-muted); }
body.landing-page .home-example-intelligence li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--tmc-chalk-muted);
}
body.landing-page .home-example-reasoning { background: #fff; border: 1px solid var(--tmc-line); }
body.landing-page .home-example-reasoning li { color: var(--tmc-ink); }
body.landing-page .home-example-reasoning li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  width: 12px;
  height: 12px;
  background: var(--tmc-orange);
  border-radius: 0 100% 0 0;
}
body.landing-page .home-example-close { max-width: 70ch; margin: 32px 0 0; font-size: 18px; line-height: 1.6; color: var(--tmc-ink); }
@media (max-width: 880px) {
  body.landing-page .home-example-grid { grid-template-columns: 1fr; }
}

/* The journey: four real stages in order */
body.landing-page .landing-journey { padding: var(--tmc-section) 0; background: var(--tmc-mist); border: 0; }
body.landing-page .landing-journey-heading { max-width: 760px; margin-bottom: 48px; }
body.landing-page .landing-journey-heading h2 { margin: 0; }
body.landing-page .landing-journey-heading > p:not(.eyebrow) { margin: 18px 0 0; font-size: 18px; color: var(--tmc-muted); }
body.landing-page .landing-journey-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
body.landing-page .landing-journey-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius);
  box-shadow: none;
  color: var(--tmc-ink);
  text-decoration: none;
  transition: border-color .15s ease, transform .2s ease;
}
body.landing-page .landing-journey-card:hover { border-color: var(--tmc-navy); transform: translateY(-3px); }
body.landing-page .landing-journey-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font: 650 14px/1.2 var(--tmc-body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--tmc-muted);
}
body.landing-page .landing-journey-step span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tmc-navy);
  color: #fff;
  font: 700 16px/1 var(--tmc-display);
}
body.landing-page .landing-journey-card:hover .landing-journey-step span { background: var(--tmc-orange-strong); }
body.landing-page .landing-journey-card h3 { margin: 0 0 10px; font-size: 24px; color: var(--tmc-navy); font-family: var(--tmc-display); font-weight: 700; }
body.landing-page .landing-journey-card p { margin: 0 0 24px; font-size: 16px; line-height: 1.55; color: var(--tmc-muted); }
body.landing-page .landing-journey-action {
  margin-top: auto;
  padding: 0;
  border: 0;
  display: inline-flex;
  gap: 6px;
  font-size: 15px;
  font-weight: 650;
  color: var(--tmc-navy);
  text-decoration: underline;
  text-decoration-color: var(--tmc-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
body.landing-page .landing-journey-action span { color: var(--tmc-orange-strong); text-decoration: none; }
@media (min-width: 1001px) {
  /* a line joining the four stages */
  body.landing-page .landing-journey-grid::before {
    content: "";
    position: absolute;
    top: 48px;
    left: 44px;
    right: 44px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--tmc-line) 0 8px, transparent 8px 14px);
    z-index: 0;
  }
  body.landing-page .landing-journey-card { z-index: 1; }
}
@media (max-width: 1000px) {
  body.landing-page .landing-journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body.landing-page .landing-journey-grid { grid-template-columns: 1fr; gap: 12px; }
  body.landing-page .landing-journey-card { padding: 22px 20px; }
  body.landing-page .landing-journey-step { margin-bottom: 14px; }
}

/* =====================================================================
   OUR APPROACH
   ===================================================================== */
body.brand-site .approach-sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 32px;
}
body.brand-site .approach-sequence span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius-sm);
  background: #fff;
  font-size: 15px;
  font-weight: 650;
  color: var(--tmc-navy);
}
body.brand-site .approach-sequence span::before {
  counter-increment: approach-step;
  content: counter(approach-step);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tmc-navy);
  color: #fff;
  font: 700 13px/1 var(--tmc-display);
}
body.brand-site .approach-sequence { counter-reset: approach-step; }
body.brand-site .approach-sequence span::after { content: none; }
body.brand-site .approach-sequence-arrow {
  font: 700 22px/1 var(--tmc-body);
  color: var(--tmc-orange-strong);
}
@media (max-width: 600px) {
  body.brand-site .approach-sequence { flex-direction: column; align-items: flex-start; gap: 8px; }
  body.brand-site .approach-sequence-arrow { transform: rotate(90deg); margin-left: 22px; }
}

body.brand-site .strategy-intro { max-width: 760px; margin-bottom: 44px; }
body.brand-site .strategy-intro h2 { margin: 0 0 18px; }
body.brand-site .strategy-intro > p:not(.eyebrow) { color: var(--tmc-muted); font-size: 18px; line-height: 1.65; }
body.brand-site .strategy-principles { gap: 18px; }
body.brand-site .strategy-principle h3 { margin: 14px 0 12px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
body.brand-site .strategy-principle p { margin: 0; color: var(--tmc-muted); font-size: 16px; line-height: 1.65; }
body.brand-site .strategy-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 14px;
  margin-top: 18px;
  padding: 24px 28px;
  border: 0;
  border-radius: var(--tmc-radius);
  background: var(--tmc-navy-deep);
  font-family: var(--tmc-display);
  font-size: clamp(18px, 1.8vw, 22px);
  color: #fff;
  text-align: left;
}
body.brand-site .strategy-equation strong { font-family: var(--tmc-display); font-size: inherit; color: #fff; font-weight: 600; }
body.brand-site .strategy-equation b { font-size: inherit; color: var(--tmc-orange); font-weight: 700; }

body.brand-site .roadmap-book-reference { font-size: 16px; color: var(--tmc-muted); }
body.brand-site .capability-roadmap-figure {
  margin: 8px 0 0;
  padding: clamp(14px, 2vw, 24px);
  background: #fff;
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius);
  box-shadow: none;
}
body.brand-site .capability-roadmap-figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
body.brand-site .capability-roadmap-figure figcaption { margin-top: 14px; font-size: 14px; color: var(--tmc-muted); }

body.brand-site .decision-unit-section { background: var(--tmc-mist); }
body.brand-site .decision-unit-heading { max-width: 760px; margin-bottom: 44px; }
body.brand-site .decision-unit-heading h2 { margin: 0 0 18px; }
body.brand-site .decision-unit-heading > p:not(.eyebrow) { color: var(--tmc-muted); font-size: 18px; line-height: 1.65; }
body.brand-site .decision-class-journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  background: none;
  border: 0;
}
body.brand-site .decision-class-journey-step {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius);
  box-shadow: none;
}
body.brand-site .decision-class-journey-step::before { content: none; }
body.brand-site .decision-class-journey-step h3 { margin: 14px 0 10px; font: 700 22px/1.25 var(--tmc-display); letter-spacing: -0.01em; color: var(--tmc-navy); }
body.brand-site .decision-class-journey-step p { margin: 0; color: var(--tmc-muted); font-size: 16px; line-height: 1.6; }
body.brand-site .decision-class-takeaway {
  max-width: 70ch;
  margin: 32px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--tmc-ink);
}
@media (max-width: 880px) {
  body.brand-site .decision-class-journey { grid-template-columns: 1fr; }
}

/* =====================================================================
   THE BOOK
   ===================================================================== */
body.brand-site .page-hero.book-cover-feature {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
  max-width: none;
}
body.brand-site .book-cover-feature > div:first-child { position: sticky; top: 104px; }
body.brand-site .book-cover-actual {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px 8px 8px 3px;
  box-shadow:
    inset 6px 0 10px -6px rgba(0, 0, 0, .25),
    0 1px 0 rgba(0, 0, 0, .04),
    0 30px 60px -20px rgba(18, 35, 58, .45),
    0 12px 24px -12px rgba(18, 35, 58, .3);
  transform: rotate(-1.5deg);
  transition: transform .4s ease;
}
body.brand-site .book-cover-actual:hover { transform: rotate(0deg) translateY(-4px); }
@media (prefers-reduced-motion: reduce) { body.brand-site .book-cover-actual { transform: none; transition: none; } }

body.brand-site .book-hero-description p {
  margin: 0 0 18px;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--tmc-ink);
}
body.brand-site .book-hero-description p:first-child {
  font-family: var(--tmc-display);
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 1.35;
  font-weight: 450;
  letter-spacing: -0.015em;
  color: var(--tmc-navy);
}
body.brand-site .book-hero-description p:first-child em { font-style: normal; font-weight: 700; }
body.brand-site .book-strategy-emphasis {
  color: var(--tmc-navy);
  font-weight: 700;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--tmc-orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  text-decoration-skip-ink: none;
}

body.brand-site .book-preview-action { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 6px 0 28px; }
body.brand-site .book-preview-action > span { font-size: 15px; color: var(--tmc-muted); }

body.brand-site .book-publication-strip,
body.brand-site .book-publication-strip.compact {
  margin: 0 0 28px;
  padding: 18px 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--tmc-line);
  border-bottom: 1px solid var(--tmc-line);
  border-radius: 0;
}
body.brand-site .book-publication-grid { gap: 16px; }
body.brand-site .book-spec { text-align: left; align-items: flex-start; }
body.brand-site .book-spec-icon { display: none; }
body.brand-site .book-spec span { font-size: 13px; color: var(--tmc-muted); letter-spacing: 0; text-transform: none; }
body.brand-site .book-spec strong { font-size: 15px; color: var(--tmc-navy); font-weight: 650; }

body.brand-site .book-marketplace {
  padding: 24px;
  margin: 0 0 28px;
  background: var(--tmc-mist);
  border: 0;
  border-radius: var(--tmc-radius);
}
body.brand-site .book-marketplace p { margin: 4px 0; font-size: 16px; color: var(--tmc-ink); }
body.brand-site .book-marketplace p strong { font-family: var(--tmc-display); font-size: 22px; font-weight: 700; color: var(--tmc-navy); }
body.brand-site .book-buy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 12px; }
body.brand-site .book-marketplace small { font-size: 13px; color: var(--tmc-muted); }
body.brand-site .book-cover-feature .page-tabs { margin-top: 0; }

@media (max-width: 880px) {
  body.brand-site .page-hero.book-cover-feature { grid-template-columns: 1fr; }
  body.brand-site .book-cover-feature > div:first-child { position: static; max-width: 260px; }
}

body.brand-site .book-shifts-section { background: var(--tmc-paper); }
body.brand-site .book-shifts-top .section-heading { max-width: 780px; margin-bottom: 36px; }
body.brand-site .book-shifts-top .section-heading h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; }
body.brand-site .section-heading > p.book-shifts-highlight {
  margin: 16px 0 0;
  font-family: var(--tmc-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  color: var(--tmc-orange-strong);
}
body.brand-site .section-heading > p.book-shifts-intro { margin-top: 14px; font-size: 17px; color: var(--tmc-muted); line-height: 1.7; }
body.brand-site .book-shifts-vector-panel {
  margin: 0;
  padding: clamp(12px, 2vw, 24px);
  background: #fff;
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius);
  box-shadow: none;
  max-width: 980px;
}
body.brand-site .book-shifts-vector-panel img { display: block; width: 100%; height: auto; }
body.brand-site .book-shifts-vector-panel figcaption {
  margin: 12px 0 0;
  padding: 0;
  background: none;
  border: 0;
  font-size: 14px;
}

/* Chapter explorer */
body.brand-site .chapter-list { gap: 10px; margin-top: 0; }
body.brand-site .chapter-list details {
  background: #fff;
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius);
  transition: border-color .15s ease;
}
body.brand-site .chapter-list details[open] { border-color: var(--tmc-navy); }
body.brand-site .chapter-list summary {
  grid-template-columns: 52px 1fr 24px;
  gap: 14px;
  padding: 20px 22px;
  font-family: var(--tmc-display);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 650;
  color: var(--tmc-navy);
}
body.brand-site .chapter-list summary strong { font-weight: 650; }
body.brand-site .chapter-list summary span:first-child {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tmc-mist);
  color: var(--tmc-navy);
  font: 700 15px/1 var(--tmc-display);
  letter-spacing: 0;
}
body.brand-site .chapter-list details[open] summary span:first-child { background: var(--tmc-orange-strong); color: #fff; }
body.brand-site .chapter-list summary::after { content: "+"; font: 400 26px/1 var(--tmc-body); color: var(--tmc-navy); text-align: center; }
body.brand-site .chapter-list details[open] summary::after { content: "−"; color: var(--tmc-orange-strong); }
body.brand-site .chapter-body { padding: 0 24px 24px 88px; color: var(--tmc-muted); font-size: 16px; line-height: 1.7; }
body.brand-site .chapter-body p { margin: 0 0 12px; }
body.brand-site .chapter-body .chapter-prompt { font-size: 18px; color: var(--tmc-navy); }
body.brand-site .chapter-microheading { margin-right: 6px; font-size: inherit; }
@media (max-width: 600px) {
  body.brand-site .chapter-list summary { grid-template-columns: 40px 1fr 20px; gap: 12px; padding: 16px; }
  body.brand-site .chapter-list summary span:first-child { width: 34px; height: 34px; font-size: 14px; }
  body.brand-site .chapter-body { padding: 0 16px 18px; }
}

/* About the author */
body.brand-site .book-author-inner {
  display: grid;
  grid-template-columns: minmax(200px, 340px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
body.brand-site .book-author-photo { position: relative; margin: 0; }
body.brand-site .book-author-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--tmc-radius);
}
/* the missing piece, tucked into the portrait's corner */
body.brand-site .book-author-photo::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 64px;
  height: 64px;
  background: var(--tmc-orange);
  border-radius: 0 100% 0 0;
  z-index: -1;
}
body.brand-site .book-author-photo { isolation: isolate; }
body.brand-site .book-author-copy h2 { margin: 0; }
body.brand-site .book-author-role { margin: 8px 0 22px; font-size: 17px; font-weight: 600; color: var(--tmc-orange-strong); }
body.brand-site .book-author-copy p:not(.eyebrow):not(.book-author-role) {
  max-width: 60ch;
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--tmc-muted);
}
body.brand-site .book-author-copy .text-link { display: inline-block; margin-top: 8px; font-size: 16px; }
@media (max-width: 760px) {
  body.brand-site .book-author-inner { grid-template-columns: 1fr; }
  body.brand-site .book-author-photo { max-width: 240px; }
}

/* Sample reader dialog */
body.brand-site .book-preview-dialog { border-radius: var(--tmc-radius); border: 0; font-family: var(--tmc-body); }
body.brand-site .book-preview-paper { font-family: Georgia, "Times New Roman", serif; }

/* =====================================================================
   LEARN & EXPERIENCE, APPLICATIONS, TRAINING
   ===================================================================== */
body.brand-site .page-hero.consulting2-hero,
body.brand-site .page-hero.training-hero { max-width: none; }
body.brand-site .consulting2-hero .content-copy { max-width: 64ch; margin-top: 18px; }

body.brand-site .consulting2-phases { gap: 18px; margin-top: 0; }
body.brand-site .consulting2-phase {
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, .8fr);
  gap: 36px;
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius);
}
body.brand-site .consulting2-phase h3 {
  margin: 10px 0 12px;
  font-family: var(--tmc-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
body.brand-site .consulting2-phase p { color: var(--tmc-muted); font-size: 16.5px; line-height: 1.65; }
body.brand-site .consulting2-services { border-left: 1px solid var(--tmc-line); gap: 12px; font-size: 16px; }
body.brand-site .consulting2-services span { font-weight: 600; color: var(--tmc-navy); padding-left: 20px; position: relative; }
body.brand-site .consulting2-services span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 9px;
  height: 9px;
  background: var(--tmc-orange);
  border-radius: 0 100% 0 0;
}
body.brand-site .consulting2-foundations { gap: 18px; margin-top: 0; }
body.brand-site .consulting2-foundations .info-card { min-height: 0; }
body.brand-site .consulting2-foundations .info-card h3 { margin-top: 12px; font-size: 22px; }
body.brand-site .consulting2-start .content-copy p { margin: 0 0 18px; }
@media (max-width: 760px) {
  body.brand-site .consulting2-phase { grid-template-columns: 1fr; gap: 20px; }
  body.brand-site .consulting2-services { border-left: 0; border-top: 1px solid var(--tmc-line); padding: 20px 0 0; }
}

/* Training note at the foot of Applications */
body.brand-site .applications-training-note { padding: 36px 0; background: var(--tmc-mist); border-top: 0; }
body.brand-site .applications-training-note .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
}
body.brand-site .applications-training-note p { margin: 0; max-width: 70ch; font-size: 16px; color: var(--tmc-muted); }

/* Training */
body.brand-site .hero-thesis {
  margin: 18px 0 0;
  font-family: var(--tmc-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--tmc-orange-strong);
}
body.brand-site .training-grid { gap: 18px; }
body.brand-site .training-card h2 { margin: 12px 0 14px; font-size: clamp(24px, 2.6vw, 32px); }
body.brand-site .training-card p { color: var(--tmc-muted); font-size: 16px; line-height: 1.6; }
body.brand-site .training-card ul { margin: 18px 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
body.brand-site .training-card li { position: relative; padding-left: 22px; font-size: 16px; color: var(--tmc-ink); }
body.brand-site .training-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 9px;
  height: 9px;
  background: var(--tmc-orange);
  border-radius: 0 100% 0 0;
}
body.brand-site .programme-availability { font-size: 14px; color: var(--tmc-muted); }
body.brand-site .training-agenda { display: grid; gap: 10px; }
body.brand-site .training-agenda details {
  background: #fff;
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius);
  padding: 0;
}
body.brand-site .training-agenda details[open] { border-color: var(--tmc-navy); }
body.brand-site .training-agenda summary {
  padding: 20px 22px;
  font-family: var(--tmc-display);
  font-size: 19px;
  font-weight: 650;
  color: var(--tmc-navy);
  cursor: pointer;
}
body.brand-site .training-agenda details p { margin: 0; padding: 0 22px 22px; color: var(--tmc-muted); font-size: 16px; line-height: 1.7; }

/* =====================================================================
   READER TEST AND LAB (app pages: styles.css + lab.css underneath)
   ===================================================================== */
body.brand-site .test-main,
body.brand-site .lab-access-main { padding: clamp(48px, 7vw, 88px) 0 var(--tmc-section); background: var(--tmc-paper); }
body.brand-site .test-intro h1,
body.brand-site .lab-access-intro h1 {
  margin: 0 0 18px;
  font-family: var(--tmc-display);
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--tmc-navy);
}
body.brand-site .test-intro > p { max-width: 62ch; font-size: 19px; line-height: 1.6; color: var(--tmc-muted); }
body.brand-site .privacy-note {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--tmc-mist);
  border: 0;
  border-left: 4px solid var(--tmc-navy);
  border-radius: 0 var(--tmc-radius-sm) var(--tmc-radius-sm) 0;
  color: var(--tmc-ink);
  font-size: 16px;
}

body.brand-site .assessment-card,
body.brand-site .lab-access-card {
  background: #fff;
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius);
  box-shadow: 0 1px 0 rgba(18, 35, 58, .03);
}
body.brand-site .assessment-card > header strong { font-family: var(--tmc-display); color: var(--tmc-navy); font-size: 18px; }
body.brand-site .progress { background: var(--tmc-mist); border-radius: 99px; }
body.brand-site .progress span { background: var(--tmc-orange); border-radius: 99px; }

body.brand-site .lab-access-card h2,
body.brand-site .lab-access-card h3 { font-family: var(--tmc-display); color: var(--tmc-navy); letter-spacing: -0.02em; }
body.brand-site .lab-access-card h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; }

body.brand-site .lab-policy-strip {
  border: 0;
  border-top: 1px solid var(--tmc-line);
  border-bottom: 1px solid var(--tmc-line);
  border-radius: 0;
  background: none;
}
body.brand-site .lab-policy-strip > div { border-color: var(--tmc-line); }
body.brand-site .lab-policy-strip strong { font-family: var(--tmc-display); font-size: 20px; color: var(--tmc-navy); }
body.brand-site .lab-policy-strip span { color: var(--tmc-muted); font-size: 14px; }
body.brand-site .lab-privacy { color: var(--tmc-muted); font-size: 14px; }

/* Lab modules: Module 1 open, Modules 2 and 3 paid and not yet available */
body.brand-site .lab-modules { margin: 36px 0 28px; }
body.brand-site .lab-modules .lab-modules-title {
  margin: 0 0 14px;
  font-family: var(--tmc-body);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--tmc-navy);
}
body.brand-site .lab-modules-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.brand-site .lab-module {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius);
}
body.brand-site .lab-module.is-open { border: 2px solid var(--tmc-navy); }
body.brand-site .lab-module.is-locked { background: var(--tmc-mist); border-style: dashed; }
body.brand-site .lab-module-num { font: 650 13px/1.3 var(--tmc-body); color: var(--tmc-muted); }
body.brand-site .lab-module h3 { margin: 0; font-size: 18px; line-height: 1.25; color: var(--tmc-navy); }
body.brand-site .lab-module.is-locked h3 { color: var(--tmc-ink); }
body.brand-site .lab-module p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--tmc-muted); }
body.brand-site .lab-module-status {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 10px;
  border-radius: 999px;
  font: 650 12.5px/1.3 var(--tmc-body);
}
body.brand-site .lab-module.is-open .lab-module-status { background: var(--tmc-orange-tint); color: var(--tmc-orange-strong); }
body.brand-site .lab-module.is-locked .lab-module-status { background: #e3e8ef; color: var(--tmc-muted); }
@media (max-width: 760px) {
  body.brand-site .lab-modules-list { grid-template-columns: 1fr; }
}

/* Form controls */
body.brand-site input[type="text"],
body.brand-site input[type="email"],
body.brand-site input:not([type]),
body.brand-site select,
body.brand-site textarea {
  font: 400 16px/1.4 var(--tmc-body);
  color: var(--tmc-ink);
  background: #fff;
  border: 1.5px solid #c7d0db;
  border-radius: var(--tmc-radius-sm);
  min-height: 48px;
  padding: 10px 14px;
}
body.brand-site textarea { min-height: 120px; }
body.brand-site input:focus,
body.brand-site select:focus,
body.brand-site textarea:focus {
  outline: none;
  border-color: var(--tmc-navy);
  box-shadow: 0 0 0 3px rgba(248, 63, 16, .25);
}
body.brand-site input[type="checkbox"],
body.brand-site input[type="radio"] { accent-color: var(--tmc-orange-strong); width: 18px; height: 18px; }
body.brand-site label { color: var(--tmc-navy); }

/* Quiz options */
body.brand-site .option {
  border: 1.5px solid var(--tmc-line);
  border-radius: var(--tmc-radius-sm);
  background: #fff;
  transition: border-color .15s ease, background-color .15s ease;
}
body.brand-site .option:hover { border-color: var(--tmc-navy); }
body.brand-site .option:has(input:checked) { border-color: var(--tmc-orange-strong); background: var(--tmc-orange-tint); }
body.brand-site .question-text { font-family: var(--tmc-display); color: var(--tmc-navy); font-weight: 600; }
body.brand-site .question-meta { color: var(--tmc-muted); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 650; }

/* Results */
body.brand-site .result h2 { font-family: var(--tmc-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; color: var(--tmc-navy); }
body.brand-site .result .score { font-family: var(--tmc-display); font-weight: 800; letter-spacing: -0.04em; color: var(--tmc-orange-strong); }
body.brand-site .missed-review {
  text-align: left;
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius);
  background: #fff;
  overflow: hidden;
}
body.brand-site .missed-review-head { background: var(--tmc-mist); border-bottom: 1px solid var(--tmc-line); }
body.brand-site .missed-review-head > span,
body.brand-site .missed-chapter {
  font: 650 14px/1.35 var(--tmc-body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--tmc-orange-strong);
}
body.brand-site .missed-review-head strong { color: var(--tmc-navy); font-size: 18px; }
body.brand-site .missed-review-head p { color: var(--tmc-muted); font-size: 15px; }
body.brand-site .missed-question { color: var(--tmc-ink); font-size: 16px; }
body.brand-site .missed-review.perfect { text-align: center; background: var(--tmc-mist); border-color: transparent; }
body.brand-site .name-form label { font-weight: 650; }
body.brand-site .badge-output canvas {
  max-width: min(100%, 720px);
  border: 1px solid var(--tmc-line);
  border-radius: var(--tmc-radius-sm);
  box-shadow: 0 24px 48px -28px rgba(18, 35, 58, .45);
}
body.brand-site .badge-wait { color: var(--tmc-muted); }

/* =====================================================================
   Shared responsive adjustments
   ===================================================================== */
@media (max-width: 880px) {
  body.brand-site .two-col { grid-template-columns: 1fr; }
  body.brand-site .three-col { grid-template-columns: 1fr 1fr; }
  body.brand-site .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  body.brand-site { font-size: 16px; }
  body.brand-site .three-col { grid-template-columns: 1fr; }
  body.brand-site .cta-actions { width: 100%; flex-direction: column; }
  body.brand-site .cta-actions .button,
  body.brand-site .book-buy-actions .button { width: 100%; }
  body.brand-site .info-card .button { width: 100%; }
}
