/* ==========================================================
   Worwood Classroom — prototype stylesheet
   Plain CSS, no frameworks, no external fonts.
   ========================================================== */

/* ---------- Brand tokens (from the Brand Style Sheet) ---------- */
:root {
  --orange: #F15A2D;        /* Primary brand colour */
  --navy: #17324D;          /* Accent colour */
  --cream: #F5F1EA;         /* Website background */
  --charcoal: #263238;      /* Primary text */

  /* Accessibility helpers derived from the brand colours.
     --orange-text is a deeper shade of the brand orange used ONLY for
     small orange text, because #F15A2D on cream is too low-contrast
     to read at small sizes (WCAG AA needs 4.5:1). */
  --orange-text: #B83D18;
  --white: #FFFFFF;
  --navy-soft: #24476A;
  --line: #E4DCCF;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --space-section: clamp(56px, 9vw, 104px);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 10;
}
.skip-link:focus { top: 16px; color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 18px;
}
.brand img { width: clamp(190px, 30vw, 260px); }

.nav-list {
  display: flex;
  gap: 4px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-list a {
  font-weight: 600;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { border-bottom-color: var(--orange); color: var(--navy); }
.nav-list { align-items: center; }

/* Connect: a navy pill at the far right that jumps to this page's
   #connect section (smooth scrolling and reduced motion are set on html). */
.nav-connect { margin-left: 4px; }
.nav-list .nav-connect a {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 7px 18px;
  border: 0;
  border-radius: 999px;
}
.nav-list .nav-connect a:hover { background: var(--orange-text); color: var(--white); }
.nav-list .nav-connect a:focus-visible { border-radius: 999px; }
/* Keep the Connect heading clear of the top edge after the jump */
.connect { scroll-margin-top: 16px; }

/* Phones: the menu gets its own full-width row under the logo. The links
   wrap onto two lines, left-aligned, with Connect at the right of line two. */
@media (max-width: 480px) {
  .site-header nav { flex: 1 1 100%; }
  .nav-list { justify-content: flex-start; gap: 6px 20px; }
  .nav-list a { font-size: 0.9375rem; }
  .nav-connect { margin-left: auto; }
}

/* Tablets (menu on its own line under the logo): slightly tighter spacing so the
   menu, with its longer "Ideas & Practice" label, still fits on one line from about
   760px wide, as it did before the rename. */
@media (min-width: 601px) and (max-width: 899px) {
  .nav-list { column-gap: 14px; }
}

/* ---------- Buttons ---------- */
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.button {
  display: inline-block;
  /* 19px bold counts as "large text" in WCAG, so white on brand orange passes AA */
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.button-primary { background: var(--orange); color: var(--white); }
.button-primary:hover { background: var(--navy); color: var(--white); }
.button-secondary { border-color: var(--navy); color: var(--navy); }
.button-secondary:hover { background: var(--navy); color: var(--white); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) var(--space-section); }

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}

.eyebrow {
  color: var(--orange-text);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero h1:has(+ .hero-tagline) { margin-bottom: 0.15em; }

/* The brand tagline under the homepage name. Large bold text, but the deeper
   --orange-text keeps contrast comfortable at every screen size. */
.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--orange-text);
  margin-bottom: 0.8em;
  text-wrap: balance;
}

.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 36em; }

/* Photo framed by an orange outline that echoes the "screen" in the logo */
.hero-photo {
  position: relative;
  /* leave room for the 18px offset frame so it never causes sideways scrolling */
  width: min(420px, calc(100% - 18px));
  margin-inline: auto;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 5px solid var(--orange);
  border-radius: calc(var(--radius) + 6px);
}
.hero-photo img {
  position: relative;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(23, 50, 77, 0.18);
}

/* ---------- Section titles ---------- */
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 800;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  margin-top: 14px;
  background: var(--orange);
  border-radius: 3px;
}
.section-title.on-dark { color: var(--white); }

/* ---------- About (navy band) ---------- */
.about {
  background: var(--navy);
  color: #E9EEF3;
  padding-block: var(--space-section);
}
.about-intro { font-size: 1.2rem; max-width: 44em; margin-bottom: 40px; }

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li {
  background: var(--navy-soft);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  padding: 20px 22px;
}
.facts strong {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.facts span { font-size: 0.975rem; }

/* ---------- Specialties ---------- */
.specialties { padding-block: var(--space-section); }

.card-grid {
  display: grid;
  gap: 24px;
  margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
}
.card-icon { width: 48px; height: 48px; color: var(--orange); margin-bottom: 18px; }
.card h3 { font-size: 1.45rem; }
.card p { margin: 0; }

/* ---------- Speaking feature ---------- */
.feature {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding-block: var(--space-section);
}
.feature-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.feature-photo { margin: 0; }
.feature-photo img {
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(23, 50, 77, 0.15);
}

/* ---------- Connect ---------- */
.connect { padding-block: var(--space-section); text-align: center; }
.connect-inner { max-width: 720px; }
.connect .section-title::after { margin-inline: auto; }
.connect p { font-size: 1.2rem; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #C9D4DF;
  padding-block: 36px;
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--orange);
  margin: 0;
}
.footer-tagline { margin: 0; color: var(--white); }
.footer-meta { margin: 0; text-align: right; }
.footer-note { font-size: 0.85rem; opacity: 0.85; }
.footer-link { color: var(--white); font-weight: 600; }
.footer-link:hover { color: var(--white); text-decoration-color: var(--orange); }

@media (max-width: 560px) {
  .footer-meta { text-align: left; }
}

/* ---------- Shared helpers ---------- */
/* Text read by screen readers but not shown on screen */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Marks the current page in the main navigation */
.nav-list a[aria-current="page"] { border-bottom-color: var(--orange); }

/* ==========================================================
   Books page
   ========================================================== */

/* ---------- Page introduction ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(8px, 2vw, 16px); }
.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.page-hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 16px;
  background: var(--orange);
  border-radius: 3px;
}

.page-intro p:last-child { margin-bottom: 0; }

.book-jump {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.book-jump a {
  display: inline-block;
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.book-jump a::after { content: " \2193"; color: var(--orange-text); }
.book-jump a:hover { border-color: var(--orange); color: var(--navy); }

/* ---------- Book sections ---------- */
.book {
  padding-block: var(--space-section);
  scroll-margin-top: 16px;
}
.book-alt {
  background: var(--white);
  border-block: 1px solid var(--line);
}

/* Each book has three parts in this HTML order: .book-head (label, title,
   subtitle), .book-cover, .book-body (description and everything after).
   Phones/tablets: stacked in that order, so the title sits above the cover.
   Desktop: grid areas put the cover in its own column beside the text,
   with the text block vertically centred against the cover (the 1fr rows). */
.book-grid { display: grid; gap: 0; }
@media (min-width: 860px) {
  .book-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      "cover ."
      "cover head"
      "cover body"
      "cover .";
    column-gap: 72px;
    row-gap: 0;
  }
  /* Alternate sides: the second book's cover sits on the right */
  .book-alt .book-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas:
      ".    cover"
      "head cover"
      "body cover"
      ".    cover";
  }
  .book-head  { grid-area: head; }
  .book-body  { grid-area: body; }
  /* .book-grid prefix: must beat the stacked-layout margins set on .book-cover below */
  .book-grid .book-cover { grid-area: cover; align-self: center; margin: 0 auto; }
}

/* Cover with an offset frame, echoing the homepage photo treatment.
   The cover artwork itself is shown exactly as designed. */
.book-cover {
  position: relative;
  /* stacked layout: small gap under the subtitle, room below for the frame */
  margin: 8px auto 56px;
  /* leave room for the offset frame so it never causes sideways scrolling */
  width: min(360px, calc(100% - 22px));
}
.book-cover::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 5px solid var(--orange);
  border-radius: 12px;
}
.book-cover-navy::before { border-color: var(--navy); }
.book-cover img {
  position: relative;
  border-radius: 3px 6px 6px 3px;
  box-shadow:
    0 26px 50px rgba(23, 50, 77, 0.28),
    0 6px 12px rgba(23, 50, 77, 0.16);
}

.book-title {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.2em;
}
.book-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--orange-text);
  line-height: 1.3;
  margin-bottom: 24px;
}
.book-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.3rem);
  color: var(--navy);
  font-weight: 500;
}

/* Featured chapter: a light subsection (no background box) */
.book-chapter {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  /* breathing room above the heading when jumped to via #convenience-trap
     (the header is not fixed, so nothing can cover it) */
  scroll-margin-top: 24px;
}
.book-chapter-title {
  font-size: clamp(1.3rem, 2.2vw, 1.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.4em;
}
.book-chapter cite { font-style: italic; color: var(--navy); }
.book-chapter-link-row { margin: 0; }

/* Orange text links. --orange-text is the darker brand orange that meets
   WCAG contrast for normal-size text; underline uses the brand orange. */
.book-chapter-link,
.intro-link,
.episode-link,
.card-link {
  display: inline-block;
  font-weight: 700;
  color: var(--orange-text);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  padding-block: 6px;   /* comfortable tap target */
}
.book-chapter-link:hover,
.intro-link:hover,
.episode-link:hover,
.card-link:hover { color: var(--navy); }
.book-chapter-arrow { margin-left: 6px; text-decoration: none; display: inline-block; }
.page-intro cite { font-style: italic; }
/* A link with no href yet (e.g. the podcast page isn't built) reads as plain text */
a:not([href]) { color: inherit; text-decoration: none; }
.intro-link { font-size: 1.0625rem; }

.book-audience {
  margin: 28px 0;
  padding: 18px 22px;
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
}
.book-alt .book-audience { background: var(--cream); }
.book-audience strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.book-details {
  display: grid;
  gap: 14px 28px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .book-details { grid-template-columns: 1.4fr 1.2fr 0.8fr; }
}
.book-details dt {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.book-details dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); }

/* ==========================================================
   Podcast page
   (The introduction reuses the Books page .book-grid / .book-head /
   .book-cover / .book-body layout; the co-hosts block reuses the
   homepage .feature-grid.)
   ========================================================== */

.section-intro { font-size: 1.15rem; max-width: 44em; margin: 0; }

/* ---------- Introduction ---------- */
.podcast-hero { padding-block: clamp(40px, 6vw, 72px) var(--space-section); }
.podcast-title {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.25em;
}
.podcast-cover img { border-radius: 10px; }

.podcast-schedule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  margin: 4px 0 0;
}
.podcast-schedule-icon { width: 20px; height: 20px; color: var(--orange-text); flex: none; }

/* ---------- Awards ---------- */
.awards {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding-block: var(--space-section);
}
.award-grid {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .award-grid { grid-template-columns: repeat(2, 1fr); } }
.award {
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.award-icon { width: 52px; height: 52px; color: var(--orange); margin-bottom: 14px; }
.award-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 6px;
}
.award-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0; }

/* ---------- Key figures (navy band) ---------- */
.podcast-stats {
  background: var(--navy);
  color: #E9EEF3;
  padding-block: var(--space-section);
}
.stat-grid {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) { .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.stat {
  background: var(--navy-soft);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  padding: 22px 20px;
}
/* White numbers: brand orange on this navy is below WCAG contrast */
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 10px;
}
.stat-label { display: block; font-size: 0.975rem; line-height: 1.4; }
.stat-note { margin: 28px 0 0; font-weight: 600; color: var(--white); }

/* ---------- Co-hosts ---------- */
.cohosts { padding-block: var(--space-section); }

/* ---------- Featured episodes ---------- */
.episodes {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding-block: var(--space-section);
}
.episode-grid {
  display: grid;
  gap: 24px;
  margin-top: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.episode {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 28px 26px 22px;
}
.episode-topic {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 8px;
}
.episode-title { font-size: 1.35rem; margin-bottom: 0.35em; }
.episode-meta { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.episode-link { margin-top: auto; align-self: flex-start; }

/* ---------- Listen anywhere + newsletter ---------- */
.listen {
  padding-block: var(--space-section);
  border-bottom: 1px solid var(--line);
}
.platform-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.platform-list a {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 11px 22px;
}
.platform-list a:hover { background: var(--navy); color: var(--white); }

.newsletter {
  margin-top: 48px;
  background: var(--navy);
  color: #E9EEF3;
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 760px) { .newsletter { grid-template-columns: 1fr auto; gap: 40px; } }
.newsletter-title { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-bottom: 0.3em; }
.newsletter p { margin: 0; }
/* the default navy hover would vanish against the navy box */
.newsletter .button-primary:hover { background: var(--white); color: var(--navy); }

/* ==========================================================
   Training & Consulting page
   (Reuses .page-hero h1, .card-grid/.card, the navy .about/.facts
   band, .book-subtitle and .book-lead from other pages.)
   ========================================================== */

/* ---------- Introduction ---------- */
.tc-hero { padding-block: clamp(40px, 6vw, 72px) var(--space-section); }
.tc-hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) {
  .tc-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; }
  /* the introduction is long, so keep the photo up beside the heading */
  .tc-hero-grid > .photo-frame { align-self: start; margin-top: 64px; }
}
.tc-hero .lead { color: var(--navy); font-weight: 500; margin-top: 8px; }

/* Landscape photo with the offset frame used across the site */
.photo-frame {
  position: relative;
  margin: 0 18px 18px 0;   /* room for the frame, so it never causes sideways scrolling */
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 5px solid var(--orange);
  border-radius: calc(var(--radius) + 6px);
}
.photo-frame-navy::before { border-color: var(--navy); }
.photo-frame img {
  position: relative;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(23, 50, 77, 0.18);
}
/* A captioned photo: the frame wraps the photo only, caption sits below */
.photo-figure { margin: 0; }
.photo-figure .photo-frame { margin-bottom: 0; }
.photo-figure figcaption {
  margin-top: 30px;
  font-size: 0.925rem;
  line-height: 1.5;
}

/* ---------- Overview cards ---------- */
.services-overview {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding-block: var(--space-section);
  scroll-margin-top: 16px;
}
.services-overview .section-intro { margin-top: 4px; }
.services-overview .card {
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.card-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--orange-text);
  margin: 0 0 4px;
}
.card-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }

/* ---------- Experience and testimonials (navy band) ---------- */
.experience-intro { max-width: 46em; font-size: 1.15rem; }
.experience-intro p:last-child { margin-bottom: 0; }


/* Carousel. --visible = how many cards show at once; the script reads it. */
.testimonials { --visible: 1; margin-top: clamp(48px, 7vw, 72px); }
@media (min-width: 600px) { .testimonials { --visible: 2; } }
@media (min-width: 900px) { .testimonials { --visible: 3; } }

.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.testimonials-title {
  color: var(--white);
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  margin: 0;
}
/* Without the script: a plain grid showing every testimonial */
.testimonial-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* With the script: one row of --visible cards */
.testimonials.is-enhanced .testimonial-grid {
  grid-template-columns: repeat(var(--visible), minmax(0, 1fr));
}
.testimonial[hidden],
.carousel-controls[hidden] { display: none; }

/* Subtle round arrow buttons on the navy band */
.carousel-controls { display: flex; gap: 10px; flex: none; }
.carousel-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.carousel-button svg { width: 20px; height: 20px; }
.carousel-button:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.carousel-button:focus-visible { border-radius: 50%; }
.testimonial {
  margin: 0;
  background: var(--navy-soft);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 22px 26px 26px;
  display: flex;
  flex-direction: column;
}
/* Large decorative quotation mark (brand orange is fine at this size) */
.testimonial-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  line-height: 0.8;
  height: 0.55em;
  color: var(--orange);
}
.testimonial blockquote { margin: 0 0 20px; }
.testimonial blockquote p {
  margin: 0;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.6;
}
.testimonial figcaption {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.925rem;
  font-weight: 600;
  color: #C9D4DF;
}

/* ---------- Service sections ----------
   HTML order: .service-head, .service-photo, .service-body.
   Phones/tablets: stacked in that order. Desktop: the photo gets its own
   column, alternating sides, with the text centred against it. */
.service { padding-block: var(--space-section); scroll-margin-top: 16px; }
.service-alt {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.service-grid { display: grid; }
.service-title {
  font-size: clamp(2rem, 4.4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.2em;
}
.service-photo { margin-block: 4px 48px; }
@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      "photo ."
      "photo head"
      "photo body"
      "photo .";
    column-gap: 72px;
  }
  .service-alt .service-grid {
    grid-template-areas:
      ".    photo"
      "head photo"
      "body photo"
      ".    photo";
  }
  .service-head { grid-area: head; }
  .service-body { grid-area: body; }
  .service-grid .service-photo { grid-area: photo; align-self: center; margin-block: 0; }
}

/* Checklist with orange tick circles (drawn in CSS, no images) */
.check-list-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
  margin: 24px 0 12px;
}
.check-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 6px;
  height: 11px;
  border: solid var(--white);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.service-meta {
  margin: 0;
  display: grid;
  gap: 14px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
}
.service-alt .service-meta { background: var(--cream); }
.service-meta dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.service-meta dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); line-height: 1.45; }

/* ---------- Framework pillars ---------- */
.pillars { margin-top: clamp(48px, 7vw, 80px); }
.pillars-title { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.pillar-grid {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 600px)  { .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pillar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: 10px;
  padding: 22px 20px;
}
.pillar-title {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 8px;
}
.pillar p { margin: 0; font-size: 0.975rem; }

/* ---------- Call to action ---------- */
.connect-band {
  background: var(--white);
  border-top: 1px solid var(--line);
}

/* ==========================================================
   Speaking page
   (Reuses .tc-hero, .photo-frame, .services-overview, the navy
   .about/.facts band, .intro-link, the .book layout and .connect-band.)
   ========================================================== */

/* ---------- What is The Future Creative? ---------- */
.concept-text { max-width: 46em; margin-top: 28px; }
.concept-text p:last-child { margin-bottom: 0; }
.concept-callout {
  margin-top: 32px;
  padding: 4px 0 4px 22px;
  border-left: 5px solid var(--orange);
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

/* ---------- Four key questions: two columns, not four ---------- */
@media (min-width: 1100px) { .question-grid { grid-template-columns: repeat(2, 1fr); } }
.question-grid strong { margin-bottom: 8px; line-height: 1.3; }

/* ---------- Cross-reference to Training & Consulting ----------
   Deliberately quiet: a thin rule and body-size text, not a button. */
.concept-next {
  max-width: 46em;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}
.concept-next .intro-link { padding-block: 0; }

/* ---------- Call to action: the LinkedIn invitation line ---------- */
.connect .connect-invite { margin-top: -12px; font-weight: 600; color: var(--navy); }

/* ==========================================================
   Blog (pages generated by scripts/build-blog.py)
   Article page, blog index, topic pages. No JavaScript.
   ========================================================== */

.eyebrow-link { color: inherit; text-decoration: none; }
.eyebrow-link:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Topic tags (clickable pills) ---------- */
.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.tag:hover { border-color: var(--orange); color: var(--orange-text); }
.tag:focus-visible { border-radius: 999px; }
.tag-current, .tag-current:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Article page ---------- */
/* A narrow column keeps lines a comfortable reading length (~70 characters). */
.post-container { max-width: calc(720px + 2 * var(--gutter)); }
.post-header { padding-block: clamp(40px, 6vw, 72px) 8px; }
.post-title {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.post-date { color: var(--charcoal); font-weight: 600; margin-bottom: 16px; }

.at-a-glance {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 12px;
}
.at-a-glance-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 10px;
}
.at-a-glance ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.at-a-glance li { line-height: 1.55; }
.at-a-glance li::marker { color: var(--orange); }

/* The article text */
.prose { margin-top: clamp(36px, 5vw, 52px); font-size: 1.125rem; line-height: 1.75; }
.prose p { margin: 0 0 1.25em; }
.prose h2 {
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  margin: 1.9em 0 0.6em;
}
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 0.5em; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose a {
  color: var(--orange-text);
  font-weight: 600;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}
.prose a:hover { color: var(--navy); }
.prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 4px solid var(--line); }
.prose .pull-quote {
  margin: 0 0 2em;
  padding: 4px 0 4px 24px;
  border-left: 5px solid var(--orange);
}
.prose .pull-quote p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
}

/* Editorial note at the end of an article (e.g. "Further Reading"): quiet, not a call to action */
.prose .further-reading {
  margin: 2em 0 0;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.975rem;
  line-height: 1.6;
}
.prose .further-reading p { margin: 0; }
.further-reading-label { font-weight: 700; color: var(--navy); }

/* Subtle book promotion at the end of an article */
.book-promo {
  margin-block: clamp(40px, 6vw, 64px) clamp(56px, 8vw, 88px);
  padding: 22px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.book-promo img { width: 84px; border-radius: 2px 4px 4px 2px; box-shadow: 0 8px 18px rgba(23, 50, 77, 0.22); }
.book-promo-label {
  margin: 0 0 2px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.book-promo-title { font-size: 1.3rem; margin: 0 0 4px; }
.book-promo-title cite { font-style: normal; }
.book-promo p { margin: 0; font-size: 0.975rem; }
.book-promo .card-link { padding-block: 4px 0; margin-top: 6px; }

/* ---------- Article cards (Continue Exploring, index, topics) ---------- */
.continue {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-block: var(--space-section);
}
.post-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.post-grid-two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
}
.continue .post-card { background: var(--cream); }
.post-card > * { margin: 0; }
.post-card-date {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.post-card-title { font-size: 1.4rem; line-height: 1.25; }
.post-card-title a { color: var(--navy); text-decoration: none; }
.post-card-title a:hover { color: var(--orange-text); text-decoration: underline; }
.post-card-summary { font-size: 1rem; line-height: 1.6; }
.post-card .tag-list { margin-top: auto; padding-top: 6px; }
.post-card .card-link { margin-top: auto; }
.post-card-site { border-top-color: var(--navy); }
.continue-all { margin: 24px 0 0; }

/* ---------- Blog index and topic pages ---------- */
.blog-hero { padding-bottom: 8px; }
.blog-hero .lead { margin-top: 8px; }
.topic-nav { margin-top: 24px; }
.blog-list { padding-block: 8px var(--space-section); }
.blog-count { margin: 0; font-weight: 600; color: var(--charcoal); }
.blog-list .post-grid { margin-top: 16px; }

/* ---------- Featured image (16:9) ----------
   Wider than the text column. object-fit: cover keeps the picture's own
   proportions (never stretched); any image not exactly 16:9 is trimmed evenly. */
.post-image-container { max-width: calc(960px + 2 * var(--gutter)); }
.post-image { margin: 28px 0 0; }
.post-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(23, 50, 77, 0.16);
}

/* ---------- Inline "Continue Exploring" recommendation ----------
   Small and quiet: one line inside the article, not a card. */
.prose .inline-rec {
  margin: 0 0 1.25em;
  padding: 10px 16px;
  border-left: 4px solid var(--orange);
  background: var(--white);
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
  line-height: 1.5;
}
.inline-rec-label { font-weight: 700; color: var(--navy); margin-right: 4px; }
.inline-rec-placeholder { border: 2px dashed var(--line); border-left: 4px dashed var(--orange); background: transparent; }
.inline-rec-pending { color: var(--charcoal); font-style: italic; }
.inline-rec-note {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-text);
}

/* ---------- Standard article layout: book promotion inside the article ----------
   Sits after the first paragraph, so it is compact and quiet. */
.prose .book-promo {
  margin: 0 0 1.5em;
  padding: 18px 0;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
}
.prose .book-promo img { width: 72px; }
.book-promo .book-promo-label { margin: 0 0 2px; }
.book-promo .book-promo-title {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
.book-promo .book-promo-text { margin: 0; font-size: 0.975rem; line-height: 1.55; }
.prose .book-promo .card-link { font-size: 1rem; }

/* ==========================================================
   "Follow My Work" social icons (partials/follow.html)
   Under the LinkedIn button in every Connect section. Kept small so
   LinkedIn stays the main call to action. Icons are inline SVG using
   currentColor, so the colours come from here.
   ========================================================== */
.follow { margin-top: 32px; }
.connect .follow-title {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.follow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.follow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;                 /* comfortable tap target */
  height: 44px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.follow-link svg { width: 22px; height: 22px; display: block; }
.follow-link:hover,
.follow-link:focus-visible {
  background: var(--navy);
  border-color: var(--orange);
  color: var(--white);
}
.follow-link:focus-visible { border-radius: 50%; }
@media (prefers-reduced-motion: reduce) {
  .follow-link { transition: none; }
}

/* ==========================================================
   Guiding Philosophies (template in scripts/build-blog.py)
   A text-focused, editorial layout: one narrow reading column in a
   system serif (no web fonts), brand headings, minimal decoration.
   ========================================================== */
:root {
  /* Reading text for long-form statements. All are fonts already on the device. */
  --font-reading: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

/* ~68 characters per line at the reading size */
.philosophy-container { max-width: calc(680px + 2 * var(--gutter)); }
.philosophy-header { padding-block: clamp(44px, 7vw, 88px) 0; }
.philosophy-title {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
/* "Guiding Philosophy:" on its own line above the subject (one heading for screen readers) */
.philosophy-kicker {
  display: block;
  margin-bottom: 0.3em;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--orange-text);
}
.philosophy-subject { display: block; }
.philosophy-byline { margin: 0 0 28px; font-size: 0.975rem; font-weight: 600; color: var(--charcoal); }
.philosophy-byline time, .philosophy-card-meta time { white-space: nowrap; }

.philosophy-contents { padding-block: 16px 18px; border-block: 1px solid var(--line); }
.philosophy-contents-title {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.philosophy-contents ol { margin: 0; padding-left: 1.5em; display: grid; gap: 4px; }
.philosophy-contents li::marker { color: var(--orange-text); font-weight: 700; }
.philosophy-contents a { font-weight: 600; text-decoration-color: var(--line); text-decoration-thickness: 2px; }
.philosophy-contents a:hover { text-decoration-color: var(--orange); }

.philosophy-prose {
  margin-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(48px, 7vw, 80px);
  font-family: var(--font-reading);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  line-height: 1.75;
}
.philosophy-prose p { margin: 0 0 1.3em; }
/* The opening paragraph reads as a standfirst */
.philosophy-prose > p:first-child { font-size: 1.12em; line-height: 1.65; color: var(--navy); }
.philosophy-prose h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 1.9rem);
  margin: 2.1em 0 0.7em;
  scroll-margin-top: 24px;
}
/* A short orange rule marks each new section */
.philosophy-prose > h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-bottom: 16px;
  background: var(--orange);
  border-radius: 2px;
}
.philosophy-prose a {
  color: var(--orange-text);
  font-weight: 600;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}
.philosophy-prose a:hover { color: var(--navy); }
.philosophy-prose .note-ref { text-decoration: none; padding-inline: 1px; }
.philosophy-statement {
  padding: 0.15em 0 0.15em 22px;
  border-left: 5px solid var(--orange);
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.8vw, 1.6rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}
.philosophy-statement strong { font-weight: 800; }
.philosophy-list { margin: 0 0 1.3em; padding-left: 1.6em; }
.philosophy-list li { margin-bottom: 0.5em; padding-left: 0.2em; }
.philosophy-list li::marker { color: var(--orange-text); font-family: var(--font-heading); font-weight: 800; }

/* Footnote (e.g. the Four C Framework) */
.philosophy-note {
  margin-top: 2.6em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
}
.philosophy-prose .philosophy-note-title { margin: 0 0 0.4em; font-size: 1.05rem; }
.philosophy-note p { margin: 0; }

/* Training & Consulting invitation, about halfway through */
.philosophy-invite {
  margin: 2.4em 0 2.6em;
  padding: clamp(22px, 4vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 12px;
  font-family: var(--font-body);
}
.philosophy-prose .philosophy-invite-title { margin: 0 0 0.5em; font-size: clamp(1.25rem, 2.6vw, 1.45rem); }
.philosophy-invite p { margin: 0 0 20px; font-size: 1.05rem; line-height: 1.6; }
.philosophy-prose .button { text-decoration: none; font-weight: 700; }
.philosophy-prose .button-secondary { color: var(--navy); }
.philosophy-prose .button-secondary:hover { color: var(--white); }

/* The Future Creative feature at the end */
.philosophy-book { padding-block: 0 var(--space-section); }
/* Framed as a white card so it reads as separate from the article above.
   The card's own width leaves the page gutter on each side. */
.philosophy-book-inner {
  display: grid;
  gap: 28px;
  align-items: center;
  width: calc(100% - 2 * var(--gutter));
  max-width: 860px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
}
.philosophy-book-inner > * { min-width: 0; }
.philosophy-book-cover { width: 150px; }
.philosophy-book-cover img { border-radius: 2px 5px 5px 2px; box-shadow: 0 18px 36px rgba(23, 50, 77, 0.26), 0 4px 10px rgba(23, 50, 77, 0.14); }
.philosophy-book-text .section-title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.philosophy-book-title { margin: 0 0 4px; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; line-height: 1.3; color: var(--navy); }
.philosophy-book-title cite { font-style: normal; }
.philosophy-book-authors { margin: 0 0 12px; font-weight: 600; color: var(--orange-text); }
.philosophy-book-text p:not([class]) { margin: 0 0 22px; }
@media (min-width: 700px) {
  .philosophy-book-inner { grid-template-columns: 200px minmax(0, 1fr); gap: 48px; }
  .philosophy-book-cover { width: 200px; }
}

/* ---------- Blog page: Guiding Philosophies (always first) ---------- */
.philosophies-featured { padding-block: clamp(36px, 5vw, 56px) clamp(44px, 6vw, 72px); }
.philosophies-featured .section-intro { margin-top: 4px; }
.philosophy-cards {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.philosophy-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 4vw, 36px);
  background: var(--navy);
  color: var(--white);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
}
.philosophy-card > * { margin: 0; }
.philosophy-card-title { font-size: clamp(1.55rem, 3vw, 1.95rem); line-height: 1.2; }
.philosophy-card-title a { color: var(--white); text-decoration: none; }
.philosophy-card-title a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); }
/* On navy the kicker is cream: small orange text would be too low-contrast here */
.philosophy-card .philosophy-kicker {
  margin-bottom: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}
.philosophy-card-summary { color: var(--cream); font-size: 1.05rem; line-height: 1.6; }
.philosophy-card-meta { color: #C9D4DF; font-size: 0.9rem; font-weight: 600; }
.philosophy-card-link {
  margin-top: auto;
  padding-block: 6px;
  color: var(--white);
  font-weight: 700;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  align-self: flex-start;
}
.philosophy-card-link:hover { color: var(--cream); }
.blog-list .section-title { margin-bottom: 8px; }
.blog-list .topic-nav { margin: 0 0 20px; }
/* The Blog page with Guiding Philosophies: articles start below a dividing line */
.philosophies-featured + .blog-list { padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }

/* ---------- Printing a Guiding Philosophy (and a future PDF) ----------
   Only the article itself: no menu, invitation, book feature, Connect or footer. */
@media print {
  @page { margin: 2cm; }
  body:has(.philosophy) { background: #fff; color: #000; }
  body:has(.philosophy) :is(.skip-link, .site-header, .site-footer, .connect, .philosophy-book,
    .philosophy-invite, .philosophy-contents, .eyebrow) { display: none !important; }
  .philosophy-container { max-width: none; padding-inline: 0; }
  .philosophy-header { padding-top: 0; }
  .philosophy-title { font-size: 26pt; }
  .philosophy-prose { margin-top: 16pt; padding-bottom: 0; font-size: 11.5pt; line-height: 1.55; }
  .philosophy-prose a { color: inherit; font-weight: inherit; text-decoration: none; }
  .philosophy-prose h2 { break-after: avoid; }
  .philosophy-prose p, .philosophy-prose li { orphans: 3; widows: 3; }
}

/* ==========================================================
   Teacher Roundtables (film cards, overview and film pages) and the
   Ideas & Practice sections. Trailer thumbnails are plain links to
   YouTube: no video player or third-party code is loaded here.
   ========================================================== */

/* ---------- Trailer thumbnail with a play button ---------- */
.film-trailer {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(23, 50, 77, 0.18);
}
.film-trailer img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity 0.2s ease; }
/* The thumbnails carry the film title on their left third, so the play button sits
   just right of centre, clear of the title text. */
.film-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-left: 22%;
}
.film-play svg { width: 68px; height: 48px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); }
.film-play-bg { fill: var(--orange); transition: fill 0.2s ease; }
.film-play-arrow { fill: var(--white); }
.film-trailer:hover .film-play-bg,
.film-trailer:focus-visible .film-play-bg { fill: var(--navy); }
.film-trailer:hover img { opacity: 0.92; }
.film-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(23, 50, 77, 0.88);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
}
@media (prefers-reduced-motion: reduce) {
  .film-trailer img, .film-play-bg { transition: none; }
}

/* ---------- Film cards (Ideas & Practice and the overview page) ---------- */
.film-cards {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.film-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  overflow: hidden;
}
.film-card-media { padding: 22px 22px 0; }
.film-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 26px 24px; flex: 1; }
.film-card-body > * { margin: 0; }
.film-card-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.film-card-title { font-size: 1.5rem; line-height: 1.2; }
.film-card-title a { color: var(--navy); text-decoration: none; }
.film-card-title a:hover { color: var(--orange-text); text-decoration: underline; }
.film-card-summary { font-size: 1rem; line-height: 1.6; }
.film-card .card-link { margin-top: auto; }
.film-card .film-play svg { width: 58px; height: 41px; }

/* ---------- Ideas & Practice: section bands ---------- */
.roundtables-featured {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-block: clamp(44px, 6vw, 72px);
}
.roundtables-featured .film-card { background: var(--cream); }
.roundtables-featured .film-card-media .film-trailer { box-shadow: none; }
.section-more { margin: 24px 0 0; }
.roundtables-featured + .blog-list { border-top: 1px solid var(--line); }

/* ---------- Teacher Roundtables overview ---------- */
.films-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-block: var(--space-section);
}
.films-section .film-card { background: var(--cream); }
.films-section .film-card-media .film-trailer { box-shadow: none; }

/* ---------- Film pages and project text ---------- */
.film-container { max-width: calc(760px + 2 * var(--gutter)); }
.film-hero { padding-block: clamp(40px, 6vw, 72px) 8px; }
.film-feature { margin: 32px 0 0; }
.film-feature figcaption { margin-top: 12px; font-size: 0.925rem; font-weight: 600; color: var(--charcoal); }
.film-trailer-large .film-play svg { width: 88px; height: 62px; }
.film-about { padding-block: clamp(40px, 6vw, 64px) var(--space-section); }
.film-about p { font-size: 1.0625rem; }
.film-subheading { font-size: clamp(1.4rem, 2.8vw, 1.7rem); margin: 1.9em 0 0.6em; }
.film-subheading-small { font-size: 1.25rem; margin-top: 1.6em; }
.film-quote {
  margin: 0 0 1.4em;
  padding: 4px 0 4px 24px;
  border-left: 5px solid var(--orange);
}
.film-quote p {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
}
.film-quote footer { font-size: 0.925rem; font-weight: 600; color: var(--orange-text); }
.film-themes { list-style: none; margin: 0 0 1em; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.film-themes li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy);
}
.film-themes li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: 0.1em;
}
.film-versions { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.film-version {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.film-version h3 { font-size: 1.2rem; margin: 0 0 6px; }
.film-version-time { margin-left: 6px; font-size: 0.9rem; font-weight: 700; color: var(--orange-text); }
.film-version p { margin: 0 0 10px; font-size: 1rem; }
.film-clips { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.film-clips li::marker { color: var(--orange); }
.film-clips a { font-weight: 600; text-decoration-color: var(--line); text-decoration-thickness: 2px; }
.film-clips a:hover { text-decoration-color: var(--orange); }
.film-clip-time { font-size: 0.875rem; font-weight: 600; color: var(--orange-text); white-space: nowrap; }
.film-links, .film-next { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; }
.film-next { padding-top: 24px; border-top: 1px solid var(--line); }
.film-about cite, .film-card cite { font-style: italic; }

/* Training & Consulting invitation (same look as on the Guiding Philosophies) */
.film-invite {
  margin: 2.4em 0 0;
  padding: clamp(22px, 4vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 12px;
}
.film-invite-title { margin: 0 0 0.5em; font-size: clamp(1.25rem, 2.6vw, 1.45rem); }
.film-invite p { margin: 0 0 20px; font-size: 1.05rem; line-height: 1.6; }

/* ---------- Video tiles (no thumbnail image): a branded 16:9 play tile ---------- */
.video-tile {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  color: var(--white);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(241, 90, 45, 0.28), rgba(241, 90, 45, 0) 55%),
    var(--navy);
}
.video-tile .film-play { padding-left: 0; }
.video-tile-title {
  position: relative;
  max-width: 70%;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}
.video-tile-note {
  position: relative;
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}
.video-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* ---------- Video clips list ---------- */
.video-clips-section { padding-block: var(--space-section); }
.video-clips {
  display: grid;
  gap: 20px;
  margin-top: 28px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.video-clip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  border-radius: var(--radius);
}
.video-clip > * { margin: 0; }
.video-clip-title { font-size: 1.15rem; line-height: 1.3; }
.video-clip-title a { color: var(--navy); text-decoration: none; }
.video-clip-title a:hover { color: var(--orange-text); text-decoration: underline; }
.video-clip-date { font-size: 0.875rem; font-weight: 600; color: var(--charcoal); }
.video-clip-text { font-size: 0.975rem; line-height: 1.6; }
.video-clip .card-link { margin-top: auto; }

/* Draft pages only (drafts/, never deployed) */
.draft-banner {
  margin: 0;
  padding: 10px var(--gutter);
  background: var(--orange-text);
  color: var(--white);
  text-align: center;
  font-weight: 600;
}

/* ==========================================================
   Phones (up to 600px). Tablets and desktops are unaffected.
   ========================================================== */

/* ---------- Phone menu: the "Menu" button (partials/header.html, js/menu.js) ----------
   The button appears only after menu.js has run (it adds .has-menu-toggle). Without
   JavaScript the full menu stays visible, as on any other screen. The open menu sits
   in the page flow under the logo, so it pushes the page down instead of covering it. */
.menu-toggle { display: none; }

@media (max-width: 600px) {
  .has-menu-toggle .header-inner { row-gap: 0; }
  .has-menu-toggle .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: -8px;            /* lines the icon up with the page edge */
    padding: 0;
    color: var(--navy);
    background: transparent;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
  }
  .has-menu-toggle .menu-toggle:hover { background: rgba(23, 50, 77, 0.07); }

  /* Three bars that turn into an X while the menu is open */
  .menu-toggle-icon,
  .menu-toggle-icon::before,
  .menu-toggle-icon::after {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  .menu-toggle-icon { position: relative; }
  .menu-toggle-icon::before,
  .menu-toggle-icon::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-icon::before { top: -8px; }
  .menu-toggle-icon::after { top: 8px; }
  .menu-open .menu-toggle-icon { background-color: transparent; }
  .menu-open .menu-toggle-icon::before { transform: translateY(8px) rotate(45deg); }
  .menu-open .menu-toggle-icon::after { transform: translateY(-8px) rotate(-45deg); }

  /* Closed: the menu is hidden (and skipped by the keyboard). Open: a full-width list. */
  .has-menu-toggle:not(.menu-open) #main-menu { display: none; }
  .has-menu-toggle #main-menu {
    flex: 1 1 100%;
    margin-top: 14px;
    border-top: 1px solid var(--line);
  }
  .has-menu-toggle .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .has-menu-toggle .nav-list a {
    display: block;
    padding: 13px 4px;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--line);
  }
  .has-menu-toggle .nav-list a:hover { color: var(--orange-text); border-bottom-color: var(--line); }
  .has-menu-toggle .nav-list a[aria-current="page"] {
    color: var(--orange-text);
    border-bottom-color: var(--line);
    box-shadow: inset 4px 0 0 var(--orange);
    padding-left: 16px;
  }
  .has-menu-toggle .nav-connect { margin: 16px 0 4px; }
  .has-menu-toggle .nav-list .nav-connect a { text-align: center; padding: 12px 18px; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle-icon,
  .menu-toggle-icon::before,
  .menu-toggle-icon::after { transition: none; }
}

/* ---------- Phones: centered page and section headings ----------
   Page titles (H1), their eyebrow, subtitle and short introduction, and section
   headings (H2) with their short intros are centered. Body text, longer
   introductions, lists, and the headings inside articles stay left-aligned. */
@media (max-width: 600px) {
  main .eyebrow,
  main h1,
  .hero-tagline,
  .hero .lead,
  .tc-hero .lead,
  .tc-hero .book-subtitle,
  .blog-hero .lead,
  .page-intro > p:first-child,
  .book-head,
  .service-head,
  .section-title,
  .section-intro,
  .about-intro,
  .blog-count,
  .post-date,
  .philosophy-byline { text-align: center; }

  .section-title::after,
  .page-hero h1::after { margin-inline: auto; }
  .hero .button-row,
  .tc-hero .button-row,
  .book-jump,
  .topic-nav .tag-list,
  .post-header .tag-list { justify-content: center; }

  /* Guiding Philosophy: the book feature reads as one centered card */
  .philosophy-book-cover { margin-inline: auto; }
  .philosophy-book-text { text-align: center; }

  /* Ideas & Practice and Teacher Roundtables */
  .film-hero .book-subtitle,
  .film-feature figcaption,
  .section-more { text-align: center; }
  .film-card-media { padding: 16px 16px 0; }
  .film-card-body { padding: 18px 20px 22px; }
}

/* ---------- Analytics consent notice (partials/analytics.html, js/analytics.js) ----------
   Only on pages while analytics is switched on (content/site.json). Hidden until the
   script shows it. Accept and Decline look the same on purpose (no nudging). */
.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.consent[hidden] { display: none; }
.consent-inner {
  pointer-events: auto;
  max-width: 760px;
  margin-inline: auto;
  padding: 20px 22px;
  background: var(--white);
  color: var(--charcoal);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(23, 50, 77, 0.22);
}
.consent-title {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}
.consent-text { margin: 0 0 16px; font-size: 1rem; line-height: 1.55; }
.consent-text a { color: var(--orange-text); font-weight: 600; }
.consent-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-button {
  min-width: 140px;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
}
.consent-button:hover { background: var(--navy-soft); }
@media (max-width: 600px) {
  .consent { padding-inline: 10px; }
  .consent-inner { padding: 16px; }
  .consent-button { flex: 1 1 0; min-width: 0; }
}

/* "Your analytics choice" box on the Privacy page (shown by js/analytics.js) */
.consent-settings {
  margin: 0 0 1.25em;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 12px;
}
.consent-settings[hidden], .consent-settings [hidden] { display: none; }
.consent-settings p { margin: 0 0 12px; }
.consent-settings-title { font-weight: 700; color: var(--navy); }
.consent-settings .button { font-family: inherit; font-size: 1rem; padding: 10px 22px; cursor: pointer; background: transparent; }
.consent-settings .button:hover { background: var(--navy); color: var(--white); }
.privacy-updated { font-size: 0.95rem; color: #55626B; }
