/* ==========================================================================
   The First Seven Years — design system
   Brand: navy #2B3C56 + mint #A6D6B0 (sampled from the logo)
   Type: ZOE Typography (https://zoe.com/)
         Headlines / Display: Nantes (Book & Book Italic)
         Body / UI: Lota Grotesque Alt 1 (Light, Regular, SemiBold)
   ========================================================================== */

/* --- Nantes (Normal: 100-900) --- */
@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --- Nantes (Italic: 100-900) --- */
@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* --- Lota Grotesque Alt 1 (Light: 100-300) --- */
@font-face {
  font-family: "Lota Grotesque Alt 1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Light.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lota Grotesque Alt 1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Light.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lota Grotesque Alt 1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --- Lota Grotesque Alt 1 (Regular: 400-500) --- */
@font-face {
  font-family: "Lota Grotesque Alt 1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lota Grotesque Alt 1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Regular.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- Lota Grotesque Alt 1 (SemiBold/Bold: 600-900) --- */
@font-face {
  font-family: "Lota Grotesque Alt 1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lota Grotesque Alt 1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lota Grotesque Alt 1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lota Grotesque Alt 1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --- Alias: LotaGrotesqueAlt1 --- */
@font-face {
  font-family: "LotaGrotesqueAlt1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Light.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Light.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Regular.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --- Fallback Alias: Fraunces -> Nantes --- */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-Book.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/NantesWeb-BookItalic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* --- Fallback Alias: Figtree -> Lota Grotesque --- */
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Light.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Light.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Regular.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* --- Direct Family: LotaGrotesqueAlt1-Regular --- */
@font-face {
  font-family: "LotaGrotesqueAlt1-Regular";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Regular.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1-Regular";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Regular.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1-Regular";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Regular.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1-Regular";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1-Regular";
  src: url("/assets/fonts/LotaGrotesqueAlt1-Regular.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1-Regular";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1-Regular";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1-Regular";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LotaGrotesqueAlt1-Regular";
  src: url("/assets/fonts/LotaGrotesqueAlt1-SemiBold.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand */
  --navy: #2b3c56;
  --navy-deep: #1e2b40;
  --navy-soft: #3d5173;
  --mint: #a6d6b0;
  --mint-soft: #d8eedc;
  --mint-ink: #2f6b44;
  /* accessible green text on cream: 6.1:1 */
  --brand: var(--mint);
  /* logo green #a6d6b0 */
  --sage: #74a680;
  /* rich sage green */
  --fresh: #9fdf6a;
  /* fresh green (pistachio cube): section markers, accents */
  --fresh-soft: #c4ec9f;
  /* soft fresh green for large shapes (doctor circle) */
  --fresh-ink: #4f9e2c;
  /* deeper fresh green for small marks on cream */
  --brand-ink: #328548;
  /* deep logo green for highlighted words (4.6:1 on cream) */

  /* warm supporting palette — for mothers, not for "kids' app" */
  --cream: #fffcf7;
  /* our lighter cream page base */
  --oat: #f3ecdf;
  --oat-deep: #e8dcc6;
  --peach: #f5c7ae;
  --peach-soft: #fbe3d5;
  --butter: #f4d88a;
  --butter-soft: #fbefcb;
  --lilac: #cfc6ee;
  --lilac-soft: #ebe7f9;
  --clay: #c96f4f;
  /* accent text on cream: 4.6:1 */

  /* semantic */
  --bg: var(--cream);
  --surface: #ffffff;
  --ink: #1f2a3d;
  --ink-2: #4a556a;
  /* 7.2:1 on cream */
  --ink-3: #6b7486;
  /* 4.7:1 on cream — metadata only */
  --line: #e4e8ec;
  --line-strong: #cfd6dc;
  --focus: #2f6b44;

  /* type: Zoe fonts */
  --font-display: 'LotaGrotesqueAlt1-Regular', 'Lota Grotesque Alt 1', sans-serif;
  --font-text: "Lota Grotesque Alt 1", "LotaGrotesqueAlt1", sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.8rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.4vw, 3.7rem);
  --step-5: clamp(2.7rem, 1.9rem + 4vw, 5.4rem);

  /* space & shape */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --section: clamp(2.75rem, 2rem + 2.6vw, 4.75rem);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --max: 1240px;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 160ms;
  --t-med: 320ms;

  --shadow-soft: 0 1px 2px rgba(43, 60, 86, 0.06), 0 8px 24px -12px rgba(43, 60, 86, 0.18);
  --shadow-lift: 0 2px 4px rgba(43, 60, 86, 0.06), 0 22px 40px -18px rgba(43, 60, 86, 0.32);

  color-scheme: light;
}

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

html {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fffcf7;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: .7rem 1rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout ---------- */
.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.wrap--narrow,
.wrap-narrow {
  width: min(100% - 2 * var(--gutter), 760px);
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: calc(var(--section) * 0.55);
}

/* homepage: one even rhythm between all sections */
.home main>section:not(.hero-banner) {
  padding-block: clamp(2.75rem, 4.6vw, 4.25rem);
}

.home main>section:has(.doctor) {
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
}

/* room for his head, which rises above the circle */
.home main>section:last-child {
  padding-bottom: 0;
}

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-2);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--fresh, #9fdf6a);
  box-shadow: 14px 0 0 var(--fresh, #9fdf6a), 28px 0 0 var(--fresh, #9fdf6a);
  margin-right: 30px;
}

.pill {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-2);
}

.display {
  font-size: var(--step-5);
  font-weight: 500;
}

.h1 {
  font-size: var(--step-4);
}

.h2 {
  font-size: var(--step-3);
}

.h3 {
  font-size: var(--step-2);
}

.lede {
  font-size: var(--step-1);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 60ch;
}

em.accent,
.accent-i {
  font-style: italic;
  color: var(--brand-ink);
}

.muted {
  color: var(--ink-3);
}

.prose {
  max-width: 66ch;
}

.prose>*+* {
  margin-top: 1.1em;
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: 2em;
}

.prose h3 {
  font-size: var(--step-1);
  margin-top: 1.6em;
  font-weight: 600;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li+li {
  margin-top: .45em;
}

.prose li::marker {
  color: var(--mint-ink);
}

.prose a {
  color: var(--mint-ink);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--navy);
  --b-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.35rem;
  border-radius: 999px;
  border: 0;
  background: var(--b-bg);
  color: var(--b-fg);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.1;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 6px 16px -8px rgba(30, 43, 64, .55);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background var(--t-fast);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 12px 22px -10px rgba(30, 43, 64, .6);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18), 0 2px 6px -4px rgba(30, 43, 64, .5);
}

.btn--mint {
  --b-bg: var(--mint);
  --b-fg: var(--navy-deep);
}

.btn--ghost {
  --b-bg: transparent;
  --b-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--navy);
}

.btn--light {
  --b-bg: #fff;
  --b-fg: var(--navy);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--mint);
  padding-bottom: 2px;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast) var(--ease-out);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- logo lockup (vector recreation of supplied logo) ---------- */
.logo {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  background: var(--navy);
  color: #eaf8ef;
  border-radius: 14px;
  aspect-ratio: 1;
  width: var(--logo, 64px);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .86;
  text-align: center;
  font-size: calc(var(--logo, 64px) * 0.235);
  padding-top: 4%;
}

.logo span {
  display: block;
}

.logo .l-sm {
  font-size: .56em;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: .12em;
}

.logo .l-sq {
  display: flex;
  gap: .07em;
  justify-content: center;
  margin-top: .3em;
}

.logo .l-sq i {
  width: .19em;
  height: .19em;
  background: var(--mint);
  display: block;
  border-radius: 1px;
}

/* ---------- medical notice strip (every page) ---------- */
.med-strip {
  background: var(--navy);
  color: rgba(255, 255, 255, .88);
  font-size: .86rem;
}

.med-strip__in {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 40px;
  padding-block: .45rem;
}

.med-strip svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--mint);
}

.med-strip p {
  flex: 1;
  line-height: 1.4;
}

.med-strip strong {
  color: #fff;
  font-weight: 600;
}

.med-strip a {
  color: var(--mint);
  font-weight: 600;
  white-space: nowrap;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {

  .med-strip p span,
  .med-strip__in p {
    font-size: .8rem;
  }
}

/* ---------- site bar + mega menu ---------- */
.bar {
  min-height: 78px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 247, .96);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-med), background var(--t-med);
}

.bar.is-scrolled {
  background: #fffcf7;
  box-shadow: 0 8px 24px -18px rgba(30, 43, 64, .35);
}

.bar__in {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 78px;
}

.bar__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}

.logo-img {
  display: block;
  border-radius: 12px;
}

.bar__brand .logo-img {
  width: 56px;
  height: 56px;
}

.bar__tools {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-left: auto;
}

.bar__search {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.bar__search:hover {
  border-color: var(--navy);
}

.bar__search svg {
  width: 20px;
  height: 20px;
}

.menu-btn {
  display: none;
}

.mega {
  margin-left: .5rem;
}

.mega__menu {
  list-style: none;
  display: flex;
  gap: .15rem;
}

.mega__trigger,
.mega__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 44px;
  padding: .55rem .8rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  text-decoration: none;
  font-weight: 400;
  font-size: .97rem;
  color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}

.mega__trigger svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t-med) var(--ease-out);
}

.mega__trigger:hover,
.mega__link:hover,
.mega__trigger[aria-expanded="true"] {
  background: var(--oat);
  color: var(--ink);
}

.mega__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mega__trigger[data-current],
.mega__link[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--mint-ink);
  border-radius: 0;
}

.mega__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(30, 43, 64, .35);
  padding-block: 1.75rem 2rem;
  animation: megaIn 220ms var(--ease-out);
}

@keyframes megaIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.mega__grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
}

.mega__grid--simple {
  grid-template-columns: 1fr;
}

.mega__kicker {
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
  margin-bottom: .9rem;
}

.mega__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 1.5rem;
}

.mega__cols ul {
  list-style: none;
  display: grid;
  gap: .15rem;
  align-content: start;
}

.mega__cols a {
  display: flex;
  gap: .7rem;
  align-items: start;
  padding: .55rem .6rem;
  border-radius: 12px;
  text-decoration: none;
}

.mega__cols a:hover {
  background: var(--oat);
}

.mega__cols i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex: none;
  margin-top: .35rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}

.mega__cols span {
  font-weight: 600;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.mega__cols small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  font-size: .82rem;
  color: var(--ink-3);
  margin-top: .1rem;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: break-word;
}

.mega__aside {
  background: var(--mint-soft);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  display: grid;
  gap: .8rem;
  align-content: start;
}

.mega__aside--peach {
  background: var(--peach-soft);
}

.mega__aside p {
  font-size: .95rem;
  color: var(--ink-2);
}

.mega__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  font-weight: 600;
}

.mega__cta svg {
  width: 18px;
  height: 18px;
  color: var(--mint-ink);
}

.mega__cta:hover {
  box-shadow: var(--shadow-soft);
}

.mega__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .2rem 1.5rem;
}

.mega__list a {
  display: block;
  padding: .6rem .6rem;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.3;
}

.mega__list a:hover {
  background: var(--oat);
}

.mega__list--plain {
  grid-template-columns: repeat(4, auto);
  justify-content: start;
}

.mega__more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.mega__more svg {
  width: 16px;
  height: 16px;
}

.mega__fmts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}

.mega__fmt {
  display: grid;
  gap: .45rem;
  align-content: start;
  height: 100%;
  padding: 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.mega__fmt:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lift);
}

.mega__fmt b {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.mega__fmt b small {
  font-family: var(--font-text);
  font-size: .8rem;
  color: var(--ink-3);
  font-weight: 500;
}

.mega__fmt>span:last-child {
  font-size: .88rem;
  color: var(--ink-2);
}

.mega__feature {
  display: grid;
  gap: .45rem;
  text-decoration: none;
}

.mega__feature img {
  border-radius: var(--r-md);
  aspect-ratio: 16/9;
  object-fit: cover;
}

.mega__feature b {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
}

.mega__feature small {
  color: var(--ink-3);
}

.mega__people {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem 1rem;
}

.mega__person {
  display: flex;
  gap: .8rem;
  align-items: center;
  padding: .6rem;
  border-radius: 14px;
  text-decoration: none;
}

.mega__person:hover {
  background: var(--oat);
}

.mega__person b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.mega__person small {
  color: var(--ink-3);
  font-size: .82rem;
}

.avatar {
  width: var(--s, 40px);
  height: var(--s, 40px);
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex: none;
  background: var(--c, var(--swatch, var(--mint-soft, #cce5ff)));
}

.avatar--ini {
  display: inline-grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 1180px) {

  .mega__trigger,
  .mega__link {
    padding-inline: .6rem;
    font-size: .93rem;
  }

  .bar__cta {
    display: none;
  }
}

@media (max-width: 1040px) {
  .mega {
    display: none;
  }

  .menu-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: var(--navy);
    color: #fff;
  }

  .menu-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 1041px) and (max-width: 1180px) {
  .bar__cta {
    display: none;
  }
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--navy-deep);
  color: #fff;
  padding: 1.25rem var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  clip-path: circle(0% at calc(100% - 44px) 36px);
  transition: clip-path 520ms var(--ease-out);
  visibility: hidden;
}

.drawer.is-open {
  clip-path: circle(150% at calc(100% - 44px) 36px);
  visibility: visible;
}

.drawer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer__close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: grid;
  place-items: center;
}

.drawer__close svg {
  width: 20px;
  height: 20px;
}

.drawer nav {
  margin-top: 1.25rem;
}

.drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer li a {
  text-decoration: none;
  color: #fff;
}

.drawer li > a.drawer__link-direct,
.drawer__link-main {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: .75rem 0 !important;
  font-family: var(--font-display) !important;
  font-size: 1.45rem !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
}

.drawer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  user-select: none;
}

.drawer__row .drawer__link-main {
  border-bottom: none !important;
  padding: 0 !important;
  flex: 1;
}

.drawer__toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 0.5rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.drawer__toggle-btn:hover,
.drawer__toggle-btn:active {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.drawer__toggle-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.drawer__toggle-btn.is-expanded svg {
  transform: rotate(180deg);
}

/* Submenu container */
.drawer-sub {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 0.5rem 0.4rem;
  margin: 0.45rem 0 0.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-left: none;
  border-top: 3px solid var(--mint, #c4ec9f);
  overflow: hidden;
  animation: drawerSubFadeIn 0.22s ease-out;
}

@keyframes drawerSubFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.drawer-sub__lead {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.5rem 0.7rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  font-family: var(--font-sans) !important;
  color: var(--mint, #c4ec9f) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-bottom: 0.25rem !important;
  border-radius: 6px !important;
}

.drawer-sub__lead svg {
  width: 14px;
  height: 14px;
}

.drawer-sub__item {
  display: flex !important;
  align-items: center !important;
  gap: 0.7rem !important;
  padding: 0.55rem 0.7rem !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none !important;
  font-size: 0.92rem !important;
  font-family: var(--font-sans) !important;
  border-bottom: none !important;
  line-height: 1.3 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.drawer-sub__item:hover,
.drawer-sub__item:active {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

.drawer-sub__item--highlight {
  background: rgba(196, 236, 159, 0.12) !important;
  border: 1px solid rgba(196, 236, 159, 0.25) !important;
  margin-bottom: 0.25rem !important;
}

.drawer-sub__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.drawer-sub__q-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(196, 236, 159, 0.2);
  color: var(--mint, #c4ec9f);
  font-weight: 700;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.drawer-sub__bullet {
  color: var(--mint, #c4ec9f);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.drawer-sub__avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.drawer-sub__avatar-ini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1f2d3d;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.drawer-sub__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.drawer-sub__text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}

.drawer-sub__text small {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-sub .fmt-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

/* Search button and bottom drawer actions */
.drawer__search-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.92rem;
  margin: 1.25rem 0 0.5rem 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.drawer__search-btn:hover,
.drawer__search-btn:active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.drawer__search-btn svg {
  width: 17px;
  height: 17px;
  color: var(--mint, #c4ec9f);
}

.drawer__bottom {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer__profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s ease;
}

.drawer__profile-pill:hover {
  background: rgba(255, 255, 255, 0.2);
}

.drawer__signup-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--mint, #c4ec9f);
  background: rgba(196, 236, 159, 0.15);
  border: 1px solid rgba(196, 236, 159, 0.35);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s ease;
}

.drawer__cta-btn {
  margin-top: 0.5rem !important;
  width: 100% !important;
  text-align: center !important;
  justify-content: center !important;
}

.drawer .btn {
  margin-top: 1.5rem;
}

/* ==========================================================================
   HOME HERO — split masthead (per reference) + clay block stage
   ========================================================================== */













.socials {
  display: flex;
  gap: .5rem;
  list-style: none;
}

.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform var(--t-fast) var(--ease-spring), background var(--t-fast);
}

.socials a:hover {
  transform: translateY(-3px) rotate(-6deg);
  background: var(--mint-soft);
}

.socials svg {
  width: 20px;
  height: 20px;
}

/* the stage */

.stack {
  --u: clamp(62px, 8.2vw, 118px);
  position: relative;
  width: calc(var(--u) * 4.36);
  height: calc(var(--u) * 3.3);
  margin-bottom: calc(var(--u) * 0.55);
}

.block {
  --c1: var(--mint);
  --c2: #8cc79a;
  --tilt: 0deg;
  position: absolute;
  width: var(--u);
  height: var(--u);
  border-radius: calc(var(--u) * 0.26);
  /* smooth cube: subtle inner glow, crisp edges, no outer glow */
  background:
    radial-gradient(70% 60% at 50% 42%, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow:
    inset 0 0 calc(var(--u) * 0.07) rgba(255, 255, 255, .45),
    inset 0 calc(var(--u) * -0.06) calc(var(--u) * 0.1) rgba(0, 0, 0, .08),
    0 calc(var(--u) * 0.04) calc(var(--u) * 0.06) rgba(43, 60, 86, .16);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(var(--u) * 0.46);
  color: rgba(30, 43, 64, .72);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
  transform: rotate(var(--tilt));
  animation: drop 900ms var(--ease-spring) both;
  animation-delay: calc(var(--i) * 110ms + 200ms);
}

/* glossy highlight (replaces the old knit texture) */
.block::after {
  content: "";
  position: absolute;
  left: 12%;
  top: 7%;
  width: 50%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.buddy::after {
  top: 3%;
  height: 16%;
  left: 18%;
}

/* "macaron" block colours — brighter, fresher take on the brand pastels */
.block--mint {
  --c1: #d8f6b5;
  --c2: #9bd862;
}

/* pistachio (1 + buddy) */
.block--peach {
  --c1: #ffb6cb;
  --c2: #ff6f9c;
}

/* raspberry (2) */
.block--butter {
  --c1: #fff3a3;
  --c2: #ffdc45;
}

/* lemon (3, 7) */
.block--lilac {
  --c1: #cdd1ff;
  --c2: #8c96ff;
}

/* periwinkle (4) */
.block--oat {
  --c1: #ffdab5;
  --c2: #ffad62;
}

/* apricot (5) */
.block--navy {
  --c1: #c995f2;
  --c2: #9550d6;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

/* plum (6) */

@keyframes drop {
  0% {
    opacity: 0;
    transform: translateY(-120%) rotate(calc(var(--tilt) * -3));
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(var(--tilt));
  }
}

/* the character — top block with a face */
.buddy {
  z-index: 3;
  width: calc(var(--u) * 1.32);
  height: calc(var(--u) * 1.22);
  border-radius: calc(var(--u) * 0.44) calc(var(--u) * 0.44) calc(var(--u) * 0.3) calc(var(--u) * 0.3);
  font-size: 0;
  animation: drop 1000ms var(--ease-spring) both, breathe 4.2s ease-in-out 1.9s infinite;
  animation-delay: 1s, 1.9s;
  transform-origin: 50% 100%;
}

@keyframes breathe {

  0%,
  100% {
    transform: rotate(var(--tilt)) scale(1, 1);
  }

  50% {
    transform: rotate(var(--tilt)) scale(1.025, .975);
  }
}

.buddy__face {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 50%;
}

.eye {
  position: absolute;
  top: 18%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 38%, #f1f1f1 70%, #dcdcdc 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .18), inset 0 -2px 3px rgba(0, 0, 0, .08);
  overflow: hidden;
  animation: blink 5.6s infinite 3s;
}

.eye--l {
  left: 4%;
}

.eye--r {
  right: 4%;
}

.pupil {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #5a6278 0 8%, #121826 30%);
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)));
  transition: transform 180ms var(--ease-out);
}

.pupil::after {
  content: "";
  position: absolute;
  left: 22%;
  top: 18%;
  width: 26%;
  height: 26%;
  border-radius: 50%;
  background: #fff;
}

@keyframes blink {

  0%,
  94%,
  100% {
    transform: scaleY(1);
  }

  96% {
    transform: scaleY(.08);
  }
}

.brow {
  position: absolute;
  top: -4%;
  width: 26%;
  height: 11%;
  border-radius: 999px;
  background: #d9a05e;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12);
}

.brow--l {
  left: 8%;
  transform: rotate(-10deg);
}

.brow--r {
  right: 8%;
  transform: rotate(10deg);
}

.smile {
  position: absolute;
  left: 50%;
  bottom: -2%;
  width: 30%;
  height: 22%;
  transform: translateX(-50%);
  border: calc(var(--u) * 0.035) solid #d9a05e;
  border-top: 0;
  border-radius: 0 0 999px 999px;
}

.cheek {
  position: absolute;
  bottom: 4%;
  width: 16%;
  height: 10%;
  border-radius: 50%;
  background: rgba(238, 150, 120, .55);
  filter: blur(1px);
}

.cheek--l {
  left: 0;
}

.cheek--r {
  right: 0;
}

.shadow-floor {
  position: absolute;
  left: 50%;
  bottom: calc(var(--u) * 0.32);
  width: calc(var(--u) * 5.4);
  height: calc(var(--u) * .55);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 60, 86, .22), rgba(43, 60, 86, 0));
}

/* hero ask bar — overlaps stage */
/* hero highlight: "first seven years" in bold, upright green */
.hero-banner h1 em.accent {
  font-style: normal;
  font-weight: 700;
  color: var(--brand-ink);
}

/* ---------- question search ---------- */
.qsearch {
  position: relative;
  width: min(100%, 720px);
  margin-inline: auto;
}

.qsearch__field {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border-radius: 999px;
  padding: .45rem .45rem .45rem 1.3rem;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-lift);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.qsearch__field:focus-within {
  border-color: var(--navy);
}

.qsearch__field>svg {
  width: 22px;
  height: 22px;
  color: var(--ink-3);
  flex: none;
}

.qsearch input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1.08rem;
  padding: .7rem .2rem;
  text-overflow: ellipsis;
}

.qsearch input::placeholder {
  color: var(--ink-3);
  transition: opacity 240ms;
}

.qsearch input.is-swapping::placeholder {
  opacity: 0;
}

.qsearch .btn {
  min-height: 50px;
}

.qsearch__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + .5rem);
  z-index: 20;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  list-style: none;
  padding: .4rem;
  max-height: 60vh;
  overflow: auto;
  text-align: left;
}

.qsearch__results[hidden] {
  display: none;
}

.qsearch__results li a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .1rem .8rem;
  align-items: center;
  padding: .7rem .8rem;
  border-radius: 12px;
  text-decoration: none;
}

.qsearch__results li a:hover,
.qsearch__results li a[aria-selected="true"] {
  background: var(--oat);
}

.qsearch__results .kind {
  grid-row: span 2;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .25rem .5rem;
  border-radius: 6px;
  background: var(--mint-soft);
  color: var(--mint-ink);
}

.qsearch__results .kind--episode {
  background: var(--lilac-soft);
  color: #4b3f8a;
}

.qsearch__results .kind--topic {
  background: var(--butter-soft);
  color: #7a5a0c;
}

.qsearch__results .kind--expert {
  background: var(--peach-soft);
  color: #8a3e22;
}

.qsearch__results .t {
  font-weight: 600;
  line-height: 1.3;
}

.qsearch__results .s {
  font-size: .85rem;
  color: var(--ink-3);
}

.qsearch__empty {
  padding: 1rem;
  color: var(--ink-2);
}

.qsearch__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .45rem .95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: .93rem;
  color: var(--ink-2);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}

.chip:hover {
  background: #fff;
  border-color: var(--line-strong);
  transform: translateY(-1px);
  color: var(--ink);
}

@media (max-width: 560px) {
  .qsearch__field {
    padding-left: 1rem;
  }

  .qsearch input {
    font-size: 1rem;
  }

  .qsearch .btn span {
    display: none;
  }

  .qsearch .btn {
    width: 50px;
    padding: 0;
  }
}

/* ==========================================================================
   AGE STRIP — seven squares from the logo, as navigation
   ========================================================================== */
.ages {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.ages h2 {
  font-size: var(--step-3);
  color: #fff;
}

.ages .lede {
  color: rgba(255, 255, 255, .78);
}

.ages__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
}

.ages__tabs {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: .55rem;
  margin-top: 2rem;
}

.age-tab {
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  min-height: 88px;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: .1rem;
  padding: .7rem .8rem;
  text-align: left;
  position: relative;
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-out);
}

.age-tab::before {
  content: "";
  position: absolute;
  top: .75rem;
  left: .8rem;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--fresh);
  opacity: .4;
  transition: opacity var(--t-fast), transform var(--t-med) var(--ease-spring);
}

.age-tab b {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
}

.age-tab span {
  font-size: .78rem;
  color: rgba(255, 255, 255, .7);
}

.age-tab:hover {
  background: rgba(255, 255, 255, .12);
}

.age-tab[aria-selected="true"] {
  background: var(--fresh);
  color: var(--navy-deep);
}

.age-tab[aria-selected="true"] span {
  color: rgba(30, 43, 64, .75);
}

.age-tab[aria-selected="true"]::before {
  background: var(--navy);
  opacity: 1;
  transform: rotate(45deg) scale(.8);
}

.ages__panel {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.ages__panel[hidden] {
  display: none;
}

.ages__panel h3 {
  font-size: var(--step-2);
  color: #fff;
}

.ages__panel p {
  color: rgba(255, 255, 255, .78);
  margin-top: .6rem;
}

.ages__qs {
  list-style: none;
  display: grid;
  gap: .5rem;
}

.ages__qs a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .95rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-out);
}

.ages__qs a:hover {
  background: rgba(255, 255, 255, .16);
  transform: translateX(4px);
}

.ages__qs svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--fresh);
}

/* age panel (option B, navy version): a soft panel with a pointer up to the chosen age; three answers side by side */
.ages__panel {
  position: relative;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-top: 1.4rem;
  padding: 1.6rem 1.75rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, .07);
}

.ages__panel::before {
  content: "";
  position: absolute;
  top: -11px;
  left: var(--nx, 30%);
  width: 24px;
  height: 11px;
  background: rgba(255, 255, 255, .07);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transition: left var(--t-med) var(--ease-out);
}

.ages__qs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.ages__qs a {
  height: 100%;
  align-items: flex-start;
  gap: .75rem;
}

/* square, text and arrow line up with the first line */
.ages__qs a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--tc, var(--fresh));
  flex: none;
  margin-top: .45em;
}

.ages__qs a>svg {
  margin-top: .2em;
}

.ages__qs a span {
  flex: 1;
}

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

  .ages__panel {
    padding: 1.25rem;
  }

  .ages__panel::before {
    display: none;
  }
}

/* tabs wrap to two rows on phones, so no pointer */
@media (max-width: 860px) {
  .ages__tabs {
    grid-template-columns: repeat(4, 1fr);
  }

  .ages__panel {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TOPIC INDEX — editorial list, not a card grid
   ========================================================================== */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.section-head h2 {
  font-size: var(--step-4);
  max-width: 16ch;
}

.section-head .lede {
  max-width: 42ch;
}

.topic-index {
  list-style: none;
  border-top: 1px solid var(--line-strong);
  counter-reset: t;
}

.topic-index li {
  border-bottom: 1px solid var(--line-strong);
}

.topic-row {
  --sw: var(--mint);
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1.2fr) minmax(0, 1fr) 9.5rem auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.15rem .25rem;
  text-decoration: none;
  position: relative;
  transition: padding var(--t-med) var(--ease-out);
}

.topic-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sw);
  opacity: 0;
  border-radius: 14px;
  transform: scaleY(.6);
  transition: opacity var(--t-med), transform var(--t-med) var(--ease-out);
  z-index: -1;
}

.topic-row:hover {
  padding-inline: 1.25rem;
}

.topic-row:hover::before {
  opacity: .5;
  transform: none;
}

.topic-row .n {
  font-family: var(--font-display);
  color: var(--ink-2);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}

/* topic colour square — always visible (also on phones) */
.topic-row .n::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--sw);
  box-shadow: inset 0 0 3px rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(0, 0, 0, .08);
}

.topic-row .name {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.topic-row .desc {
  color: var(--ink-2);
  font-size: .95rem;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: break-word;
}

.topic-row .count {
  font-size: .85rem;
  color: var(--ink-3);
  white-space: nowrap;
  text-align: left;
}

.topic-row .go {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  transition: background var(--t-fast), transform var(--t-med) var(--ease-spring);
}

.topic-row .go svg {
  width: 18px;
  height: 18px;
}

.topic-row:hover .go {
  background: var(--navy);
  color: #fff;
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .topic-row {
    grid-template-columns: 3rem 1fr auto;
    gap: .2rem 1rem;
  }

  .topic-row .desc {
    display: none;
  }

  .topic-row .go {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .topic-row .count {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }
}

/* ==========================================================================
   DOCTOR FEATURE
   ========================================================================== */
.doctor {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.doctor__photo {
  position: relative;
  aspect-ratio: 1 / 1;
}

/* fresh green circle behind the cut-out photo: shoulders stay inside the circle, head pops out over the top */
.doctor__photo .blob {
  position: absolute;
  inset: 0;
  background: var(--mint-soft);
  border-radius: 50%;
}

.doctor__photo img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 875;
  /* visible = top part (head) + everything inside the circle */
  -webkit-mask-image: linear-gradient(#000, #000), radial-gradient(ellipse 50% 45.71% at 50% 54.29%, #000 99.4%, transparent 100%);
  mask-image: linear-gradient(#000, #000), radial-gradient(ellipse 50% 45.71% at 50% 54.29%, #000 99.4%, transparent 100%);
  -webkit-mask-size: 100% 49.7%, 100% 100%;
  mask-size: 100% 49.7%, 100% 100%;
  -webkit-mask-position: top, center;
  mask-position: top, center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.doctor__tag {
  position: absolute;
  right: 2%;
  bottom: 10%;
  background: #fff;
  border-radius: 16px;
  padding: .8rem 1rem;
  box-shadow: var(--shadow-lift);
  display: grid;
  gap: .1rem;
  transform: rotate(3deg);
  max-width: 220px;
}

.doctor__tag b {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.doctor__tag span {
  font-size: .82rem;
  color: var(--ink-3);
}

.doctor blockquote {
  margin: 1.4rem 0 0;
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.15;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.doctor blockquote::before {
  content: "\201C";
  color: var(--fresh-ink);
  margin-right: .05em;
}

.doctor blockquote::after {
  content: "\201D";
  color: var(--fresh-ink);
}

.doctor__facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1rem 2rem;
  margin: 2rem 0;
  justify-content: start;
}

.doctor__facts b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1;
}

.doctor__facts span {
  font-size: .85rem;
  color: var(--ink-3);
}

/* colour square above each stat, in the cube colours */
.doctor__facts>div::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-bottom: .6rem;
  background: var(--dot, var(--fresh));
  box-shadow: inset 0 0 3px rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(0, 0, 0, .08);
}

.doctor__facts>div:nth-child(1) {
  --dot: #9bd862;
}

/* pistachio */
.doctor__facts>div:nth-child(2) {
  --dot: #ff6f9c;
}

/* raspberry */
.doctor__facts>div:nth-child(3) {
  --dot: #8c96ff;
}

/* periwinkle */
@media (max-width: 860px) {
  .doctor {
    grid-template-columns: 1fr;
  }

  .doctor__photo {
    max-width: 460px;
  }
}

/* ==========================================================================
   EPISODES
   ========================================================================== */
.ep-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

/* thin, quiet scroll bar under the episode row */
.ep-row::-webkit-scrollbar {
  height: 4px;
}

.ep-row::-webkit-scrollbar-track {
  background: transparent;
}

.ep-row::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

.ep-row::-webkit-scrollbar-thumb:hover {
  background: var(--ink-3);
}

.ep-row>* {
  scroll-snap-align: start;
}

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem 1.25rem;
}

.ep-card {
  display: grid;
  gap: .7rem;
  text-decoration: none;
}

.ep-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--oat);
}

.ep-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.ep-card:hover .ep-card__thumb img {
  transform: scale(1.04);
}

.ep-card__badge {
  position: absolute;
  left: .7rem;
  top: .7rem;
  background: var(--navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .55rem;
  border-radius: 6px;
  letter-spacing: .03em;
}

.ep-card__badge--clip {
  background: #fff;
  color: var(--navy);
}

.ep-card__play {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  display: grid;
  place-items: center;
  color: var(--navy);
  transform: scale(.9);
  transition: transform var(--t-med) var(--ease-spring), background var(--t-fast);
}

.ep-card:hover .ep-card__play {
  transform: scale(1.05);
  background: var(--fresh);
  color: var(--navy-deep);
}

.ep-card__play svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}

.ep-card h3 {
  font-family: var(--font-text);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  min-height: calc(2 * 1.35em);
}

/* titles always take two lines so the text below lines up */
.ep-card__meta {
  font-size: .85rem;
  color: var(--ink-3);
  display: grid;
  gap: .25rem;
  justify-items: start;
}

/* expert, then topic: same position on every card */
/* topic name with its topic colour square */
.ep-topic {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.ep-topic::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--sw);
  flex: none;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(0, 0, 0, .08);
}

/* prev / next arrows for the episode row */
.ep-nav {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.ep-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  transition: background var(--t-fast), opacity var(--t-fast), transform var(--t-fast) var(--ease-out);
}

.ep-nav__btn svg {
  width: 18px;
  height: 18px;
}

.ep-nav__btn:hover:not(:disabled) {
  background: var(--fresh);
  border-color: var(--fresh);
  transform: translateY(-1px);
}

.ep-nav__btn:disabled {
  opacity: .35;
  cursor: default;
}

.ep-nav .link-arrow {
  margin-left: .75rem;
}

@media (max-width: 760px) {
  .ep-nav__btn {
    display: none;
  }

  .ep-nav .link-arrow {
    margin-left: 0;
  }
}

/* filter bar (library) */
.filters {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 2.5rem;
}

.filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.filters__label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3);
  margin-right: .5rem;
  min-width: 4.5rem;
}

.fchip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 40px;
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  text-decoration: none;
  font-size: .9rem;
  color: var(--ink-2);
}

.fchip small {
  color: var(--ink-3);
  font-size: .78rem;
}

.fchip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.fchip[aria-current="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.fchip[aria-current="true"] small {
  color: var(--mint);
}

/* Episodes filters (Option 1): Show = one rounded switch; Topic = chips filled with their own soft colour */
.seg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  flex: none;
}

.seg .fchip {
  border: 0;
  background: transparent;
  min-height: 34px;
  padding: .3rem .9rem;
}

.seg .fchip:hover {
  background: #fff;
}

.seg .fchip[aria-current="true"] {
  background: var(--navy);
  color: #fff;
}

.fchip small {
  border-radius: 999px;
  padding: .05rem .45rem;
  font-weight: 600;
  font-size: .74rem;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .85);
}

.seg .fchip[aria-current="true"] small {
  background: rgba(255, 255, 255, .14);
  color: var(--mint);
}

.fchip[style*="--sw"] {
  background: color-mix(in srgb, var(--sw) 32%, #fff);
  border-color: transparent;
  color: var(--ink);
}

.fchip[style*="--sw"]:hover {
  background: color-mix(in srgb, var(--sw) 60%, #fff);
  border-color: transparent;
  color: var(--ink);
}

.filters__row:last-child .fchip {
  background: var(--cream);
  border-color: transparent;
}

/* guests: neutral */
.filters__row:last-child .fchip small {
  background: #fff;
}

.filters__row:last-child .fchip:hover {
  background: var(--mint-soft);
}

.fchip--guest {
  padding-left: .3rem;
  gap: .5rem;
}

.fchip--guest .av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--navy);
  background: var(--c);
  transition: transform var(--t-fast);
}

.fchip--guest:hover .av {
  transform: scale(1.06);
}

.fchip--guest .av {
  overflow: hidden;
}

.fchip--guest .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media (min-width: 641px) {

  /* wrapped chips line up under the first chip, not under the label */
  .filters__row {
    position: relative;
    padding-left: 6.5rem;
    min-height: 40px;
  }

  .filters__label {
    position: absolute;
    left: 0;
    top: 0;
    height: 42px;
    display: flex;
    align-items: center;
    margin: 0;
  }
}

.eps-all {
  padding-top: clamp(1rem, 2.5vw, 2rem);
  padding-bottom: 0;
}

/* Episodes: less empty space above the footer */
@media (max-width: 640px) {

  /* Episodes filters: one swipeable line per row on phones */
  .filters {
    gap: .75rem;
    padding: 1rem;
  }

  .filters__row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }

  .filters__row::-webkit-scrollbar {
    display: none;
  }

  .filters__label {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    min-width: 0;
    flex: none;
    margin-right: 0;
    padding-right: .6rem;
    align-self: stretch;
    display: flex;
    align-items: center;
  }

  .fchip {
    flex: none;
    white-space: nowrap;
  }
}

@media (max-width: 603px) {
  .ep-grid .ep-card h3 {
    min-height: 0;
  }
}

/* one card per row: no need to reserve a second title line */

.pager {
  display: flex;
  gap: .4rem;
  justify-content: center;
  margin-top: 3rem;
  list-style: none;
}

.pager a,
.pager span {
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0 .9rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
}

.pager [aria-current="page"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ==========================================================================
   ASK BAND + FORMS
   ========================================================================== */
.ask-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  background: var(--mint-soft);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.ask-band h2 {
  font-size: var(--step-4);
}

.ask-band .lede {
  margin-top: 1rem;
}

.ask-band__card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lift);
  transform: rotate(-1.5deg);
  display: grid;
  gap: 1rem;
}

.ask-band__card .q {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
}

.ask-band__card .from {
  font-size: .85rem;
  color: var(--ink-3);
}

.ask-band__card .ans {
  display: flex;
  gap: .8rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px dashed var(--line-strong);
}

.ask-band__card .ans img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 6%;
  background: var(--fresh-soft);
}

.ask-band__card .ans p {
  font-size: .9rem;
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .ask-band {
    grid-template-columns: 1fr;
  }
}

.form {
  display: grid;
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: .4rem;
  align-content: start;
}

.field label,
.field legend {
  font-weight: 600;
  font-size: .95rem;
}

.field .hint {
  font-size: .85rem;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .8rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(166, 214, 176, .55);
}

.field [aria-invalid="true"] {
  border-color: #b3261e;
}

.field .err {
  color: #b3261e;
  font-size: .85rem;
  font-weight: 500;
}

.field .err:empty {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

/* name and email boxes line up */
@media (max-width: 640px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
}

.age-pick {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: .4rem;
}

.age-pick input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.age-pick label {
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  cursor: pointer;
  transition: all var(--t-fast);
}

.age-pick input:checked+label {
  background: var(--mint);
  border-color: var(--mint-ink);
}

.age-pick input:focus-visible+label {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .age-pick {
    grid-template-columns: repeat(4, 1fr);
  }
}

.check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: .7rem;
  align-items: start;
  font-size: .93rem;
  color: var(--ink-2);
}

.check input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}

.counter {
  font-size: .8rem;
  color: var(--ink-3);
  justify-self: end;
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--butter-soft);
  border: 1px solid #efd98f;
  font-size: .92rem;
  color: #5b4509;
}

.notice svg {
  width: 22px;
  height: 22px;
}

.notice--urgent {
  background: #fdecea;
  border-color: #f3c3bd;
  color: #7a1f16;
}

/* Ask the Doctor: calm emergency banner (option B) */
.notice--calm {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  background: #fff3a3;
  border: 0;
  border-radius: 22px;
  padding: .8rem 1.4rem .8rem .8rem;
  color: #4a3a06;
  font-size: .95rem;
  line-height: 1.5;
}

.notice--calm strong {
  color: #3a2c00;
}

.notice__badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #b5470f;
  display: grid;
  place-items: center;
}

.notice__badge svg {
  width: 22px;
  height: 22px;
}

/* How it works: icon tiles joined by a dotted line (option B) */
.steps.steps--icons {
  position: relative;
}

.steps.steps--icons::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 40px;
  bottom: 40px;
  border-left: 2px dashed var(--line-strong);
}

.steps.steps--icons li {
  grid-template-columns: 46px 1fr;
  position: relative;
}

.steps.steps--icons li::before {
  content: none;
}

.steps--icons .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--pc);
  color: var(--navy);
  box-shadow: 0 0 0 5px #fff;
  position: relative;
}

.steps--icons .ico svg {
  width: 24px;
  height: 24px;
}

/* Thank-you: a note from Dr. Murray (option B) */
.success.success--note {
  text-align: left;
  grid-template-columns: auto 1fr;
  align-items: start;
  justify-items: start;
  gap: 1.4rem;
  padding: .5rem 0;
}

.success.success--note:focus {
  outline: none;
}

.success__av {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--fresh-soft);
  animation: pop 600ms var(--ease-spring);
}

.success__av img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.success__ok {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--fresh);
  border: 3px solid #fff;
  color: #fff;
  display: grid;
  place-items: center;
}

.success__ok svg {
  width: 16px;
  height: 16px;
}

.card .success--note .h2 {
  font-size: var(--step-2);
  font-family: var(--font-display);
  font-weight: 600;
}

.success__bubble {
  background: var(--cream);
  border-radius: 4px 18px 18px 18px;
  padding: 1rem 1.2rem;
  margin: .8rem 0 1.1rem;
  color: var(--ink-2);
  max-width: 52ch;
}

@media (max-width: 560px) {
  .success.success--note {
    grid-template-columns: 1fr;
  }
}

[hidden] {
  display: none !important;
}

/* hidden messages (urgent warning, thank-you) stay hidden until needed */
.success {
  text-align: center;
  padding: 2rem 1rem;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.success .tick {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--mint);
  display: grid;
  place-items: center;
  animation: pop 600ms var(--ease-spring);
}

@keyframes pop {
  from {
    transform: scale(.4) rotate(-20deg);
    opacity: 0;
  }
}

/* ==========================================================================
   BOOK
   ========================================================================== */
.book {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.book__cover-wrap {
  perspective: 1400px;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.book__cover {
  width: min(78%, 340px);
  aspect-ratio: 2 / 3;
  border-radius: 4px 14px 14px 4px;
  background: var(--navy);
  position: relative;
  transform: rotateY(-22deg) rotateX(4deg);
  transform-style: preserve-3d;
  box-shadow: 30px 30px 60px -20px rgba(30, 43, 64, .55), inset 8px 0 12px -6px rgba(0, 0, 0, .4);
  transition: transform 900ms var(--ease-out);
  color: #eaf8ef;
  padding: 12% 10%;
  display: flex;
  flex-direction: column;
}

.book__cover:hover {
  transform: rotateY(-8deg) rotateX(2deg);
}

.book__cover::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, .12);
}

.book__cover .t1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.book__cover .t2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: .9;
  margin-top: .2rem;
}

.book__cover .sq {
  display: flex;
  gap: 6px;
  margin-top: 1rem;
}

.book__cover .sq i {
  width: 14px;
  height: 14px;
  background: var(--mint);
  border-radius: 2px;
}

.book__cover .by {
  margin-top: auto;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mint);
}

.book__cover .sub {
  font-size: .9rem;
  margin-top: 1rem;
  color: rgba(234, 248, 239, .8);
  font-style: italic;
  font-family: var(--font-display);
}

.book__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0;
}

.inline-form {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.inline-form input {
  flex: 1 1 240px;
  min-height: 52px;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
}

.inline-form input:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(166, 214, 176, .55);
}

.form-msg {
  margin-top: .8rem;
  font-weight: 600;
  color: var(--mint-ink);
  min-height: 1.5em;
}

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

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.trust>div {
  background: var(--cream);
  padding: 1.6rem 1.4rem;
  display: grid;
  gap: .5rem;
  align-content: start;
}

.trust svg {
  width: 28px;
  height: 28px;
  color: var(--mint-ink);
}

.trust h3 {
  font-family: var(--font-text);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
}

.trust p {
  font-size: .92rem;
  color: var(--ink-2);
}

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

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

/* ==========================================================================
   INNER PAGES — page head, breadcrumbs, answer, episode, expert
   ========================================================================== */
.page-head {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  position: relative;
}

.page-head h1 {
  font-size: var(--step-5);
  max-width: 18ch;
}

.page-head .lede {
  margin-top: 1.25rem;
}

.page-head .qsearch {
  margin-inline: 0;
  width: 100% !important;
  max-width: 100% !important;
}

/* search bar lines up with the heading on inner pages */
.topics-all {
  padding-bottom: 0;
}

/* Topics page: less empty space above the footer */
/* Topics page: shorter header, intro and search use the full width */
.page-head__search {
  margin-top: 2rem;
}

.page-head--compact {
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3vw, 2rem);
}

.page-head--compact .crumbs {
  margin-bottom: 1rem;
}

.page-head--compact h1 {
  max-width: none;
}

.page-head--compact .lede {
  margin-top: .6rem;
  max-width: none;
}

/* intro runs the full page width */
.page-head--compact .page-head__search {
  margin-top: 1.4rem;
}

.page-head--compact .qsearch {
  width: 100%;
}

.page-head--compact+section {
  padding-top: clamp(1rem, 2.5vw, 2rem);
}

/* content starts right under the shorter header */
.page-head--tint {
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint, var(--mint-soft)) 62%, var(--cream)) 0%, rgba(255, 252, 247, 0) 100%);
}

.page-head--tint[style*="--tint:#"] {
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 30%, var(--cream)) 0%, rgba(255, 252, 247, 0) 100%);
}

/* topic hubs: lighter wash of the topic colour */
.crumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  font-size: .88rem;
  color: var(--ink-3);
  margin-bottom: 1.5rem;
}

.crumbs li+li::before {
  content: "/";
  margin-right: .35rem;
  color: var(--line-strong);
}

.crumbs a {
  color: var(--ink-2);
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.layout-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1.25rem;
}

@media (max-width: 960px) {
  .layout-2 {
    grid-template-columns: 1fr;
  }

  .aside {
    position: static;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem;
}

.card h2,
.card h3 {
  font-size: 1.15rem;
  font-family: var(--font-text);
  font-weight: 700;
  letter-spacing: 0;
}

/* quick answer — the block AI engines and skimmers read first */
.quick {
  background: var(--mint-soft);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin: 0 0 2.5rem;
  border-left: none !important;
  border-top: 6px solid var(--mint-ink) !important;
}

.quick h2 {
  font-family: var(--font-text);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mint-ink);
}

.quick p {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  margin-top: .6rem;
}

/* Answer page question title typography */
.answer__title {
  font-size: var(--step-4) !important;
  line-height: 1.15 !important;
  max-width: none !important;
  width: 100% !important;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.5rem;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  margin: 1.5rem 0 2rem;
  font-size: .9rem;
}

.byline__who {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.byline__who img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: var(--mint);
}

.byline__who a {
  font-weight: 600;
  text-decoration: none;
}

.byline__who a:hover {
  text-decoration: underline;
}

.byline__who small {
  display: block;
  color: var(--ink-3);
}

.byline__dates {
  color: var(--ink-3);
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.byline__dates b {
  color: var(--ink);
  font-weight: 600;
}

.byline__dates a {
  color: var(--ink);
  text-decoration: none;
}

.byline__dates a:hover {
  text-decoration: underline;
}

.badge-review {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  color: var(--mint-ink);
}

.badge-review svg {
  width: 16px;
  height: 16px;
}

.badge-draft {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 6px;
  background: var(--butter-soft);
  color: #7a5a0c;
  letter-spacing: .03em;
}

/* video facade */
.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #111;
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
  cursor: pointer;
}

.yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
  transition: opacity var(--t-med), transform 900ms var(--ease-out);
}

.yt:hover img {
  opacity: 1;
  transform: scale(1.02);
}

.yt__btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  display: grid;
  place-items: center;
  color: var(--navy);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5);
  transition: transform var(--t-med) var(--ease-spring);
}

.yt:hover .yt__btn {
  transform: translate(-50%, -50%) scale(1.08);
}

.yt__btn svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
}

.yt__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  background: rgba(0, 0, 0, .5);
  padding: .3rem .7rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.disclosure {
  font-size: .85rem;
  color: var(--ink-2);
  background: var(--oat);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: grid;
  gap: .3rem;
}

.disclosure b {
  font-size: .75rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.related {
  list-style: none;
  display: grid;
  gap: .1rem;
}

.related a {
  display: block;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.35;
}

.related li:last-child a {
  border-bottom: 0;
  padding-bottom: 0;
}

/* no line under the last question */
.related a:hover {
  color: var(--mint-ink);
}

.related small {
  display: block;
  font-weight: 400;
  color: var(--ink-3);
  font-size: .82rem;
  margin-top: .15rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
}

.tags a {
  font-size: .82rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--oat);
  text-decoration: none;
  color: var(--ink-2);
}

.tags a:hover {
  background: var(--mint-soft);
  color: var(--ink);
}

.transcript {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}

.transcript summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.transcript summary::-webkit-details-marker {
  display: none;
}

.transcript summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--mint-ink);
  transition: transform var(--t-fast);
}

.transcript[open] summary::after {
  transform: rotate(45deg);
}

.transcript>div {
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-2);
  font-size: .95rem;
}

/* answer cards (hub, lists) */
.answers {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.answer-card {
  display: grid;
  gap: .8rem;
  height: 100%;
  padding: 1.4rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--sw, var(--line));
  /* topic colour edge */
  text-decoration: none;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med), border-color var(--t-med);
}

.answer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--mint);
  border-top-color: var(--sw, var(--mint));
}

.answer-card .q {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.2;
}

.answer-card .who {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .85rem;
  color: var(--ink-3);
  margin-top: auto;
}

.answer-card .who i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--mint);
}

/* experts */
.experts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  list-style: none;
}

.expert-card {
  display: grid;
  gap: .8rem;
  text-decoration: none;
}

.expert-card__img {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c, var(--mint-soft));
  display: grid;
  place-items: center;
}

.expert-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* cut-out photo on the card colour: no tint on the face */
.expert-card__img .ini {
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--navy);
  opacity: .8;
}

.expert-card b {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
}

.expert-card span {
  font-size: .88rem;
  color: var(--ink-3);
}

.expert-card:hover b {
  text-decoration: underline;
  text-decoration-color: var(--mint);
  text-underline-offset: 3px;
}

/* Experts page: 3 per row, navy names, photos on the card colour */
.experts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

@media (max-width: 760px) {
  .experts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }
}

.expert-card b {
  color: var(--ink);
}

@media (max-width: 600px) {
  .profile__img {
    max-width: 240px;
  }
}

/* phones: smaller photo so the name shows straight away */

.profile {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.profile__img {
  border-radius: var(--r-xl);
  background: var(--fresh-soft);
  overflow: hidden;
  aspect-ratio: 4/4.4;
  position: sticky;
  top: 96px;
}

.profile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.creds {
  list-style: none;
  display: grid;
  gap: .5rem;
  margin-top: 1.5rem;
}

.creds li {
  display: flex;
  gap: .7rem;
  align-items: start;
}

.creds svg {
  width: 20px;
  height: 20px;
  color: var(--mint-ink);
  flex: none;
  margin-top: 3px;
}

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

  .profile__img {
    position: static;
    max-width: 380px;
  }
}

/* hub hero stats */
.hub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}

/* steps (ask page) */
.steps {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  counter-reset: s;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  counter-increment: s;
}

.steps li::before {
  content: counter(s);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}

.steps b {
  display: block;
}

.steps p {
  color: var(--ink-2);
  font-size: .95rem;
}

/* about principles */
.principles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  counter-reset: p;
}

.principles li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  counter-increment: p;
}

.principles li::before {
  content: "0" counter(p);
  font-family: var(--font-display);
  color: var(--mint-ink);
  font-size: 1.1rem;
}

.principles h3 {
  font-size: 1.3rem;
  margin: .6rem 0 .5rem;
}

.principles p {
  color: var(--ink-2);
  font-size: .95rem;
}

/* About page */
em.accent--strong {
  font-style: normal;
  font-weight: 700;
  color: var(--brand-ink);
}

/* same as the homepage headline */
.about-sec {
  padding-block: clamp(1.75rem, 4vw, 3.25rem);
}

.about-intro {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.principles--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

@media (max-width: 600px) {
  .principles--3 {
    grid-template-columns: 1fr;
  }
}

.principles--3 li:nth-child(1) {
  --pc: #d8f6b5;
}

.principles--3 li:nth-child(2) {
  --pc: #fff3a3;
}

.principles--3 li:nth-child(3) {
  --pc: #ffb6cb;
}

.principles--3 li:nth-child(4) {
  --pc: #c9e6ff;
}

.principles--3 li:nth-child(5) {
  --pc: #cdd1ff;
}

.principles--3 li:nth-child(6) {
  --pc: #ffdab5;
}

.page-head--wide .lede,
.page-head--wide h1 {
  max-width: none;
}

/* About: header text uses the full page width */
.about-intro__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.about-intro__cols .lede {
  max-width: none;
}

@media (max-width: 760px) {
  .about-intro__cols {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.principles--icons li {
  border-top: 1px solid var(--line);
}

.principles--icons li::before {
  content: none;
}

.ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--pc, var(--fresh-soft));
  color: var(--navy);
}

.ico svg {
  width: 24px;
  height: 24px;
}

.principles--icons h3 {
  margin-top: 1rem;
}

/* Relationships & disclosure: heading on the left, four cards on the right */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.about-split__head h2 {
  font-size: var(--step-3);
}

.about-split__head p {
  margin-top: .9rem;
  color: var(--ink-2);
}

.disclose {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.disclose li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  display: grid;
  gap: .9rem;
  align-content: start;
}

.disclose li:nth-child(1) {
  --pc: #fff3a3;
}

.disclose li:nth-child(2) {
  --pc: #ffb6cb;
}

.disclose li:nth-child(3) {
  --pc: #cdd1ff;
}

.disclose li:nth-child(4) {
  --pc: #ffdab5;
}

.disclose p {
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.55;
}

.disclose strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: .25rem;
}

.disclose--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .disclose--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#disclosure .section-head .lede {
  max-width: none;
}

/* Accessibility: soft band with four feature tiles */
.about-last {
  padding-bottom: 0;
}

.a11y-band {
  background: var(--mint-soft);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.a11y-band__ask {
  font-weight: 600;
  color: var(--ink) !important;
}

.a11y-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.a11y-list li {
  background: #fff;
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  font-weight: 600;
  color: var(--ink);
}

.a11y-list .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  --pc: var(--fresh-soft);
}

.a11y-list .ico svg {
  width: 21px;
  height: 21px;
}

@media (max-width: 860px) {
  .about-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {

  .disclose,
  .a11y-list {
    grid-template-columns: 1fr;
  }
}

.section-head--stack {
  display: block;
}

.section-head--stack h2 {
  max-width: none;
}

.section-head--stack .lede {
  margin-top: .75rem;
  max-width: none;
}

.section-head--center {
  text-align: center;
}

/* Book page: details strip + "Inside the book" journey */
.book__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.5rem 0;
}

.book__facts li {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem 1rem .35rem .35rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
}

.book__facts .ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.book__facts .ico svg {
  width: 18px;
  height: 18px;
}

.journey {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
}

.journey::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 12.5%;
  right: 12.5%;
  border-top: 2px dashed var(--line-strong);
}

.journey li {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  text-align: center;
}

.journey__stop {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--pc);
  color: var(--navy);
  box-shadow: 0 0 0 8px var(--cream), inset 0 -3px 0 rgba(0, 0, 0, .06);
  transition: transform var(--t-med) var(--ease-out);
}

.journey__stop svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.6;
}

.journey li:hover .journey__stop {
  transform: translateY(-4px) rotate(-4deg);
}

.journey__card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--pc);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.25rem;
  width: 100%;
  height: 100%;
}

.journey__card h3 {
  font-size: 1.25rem;
  margin-bottom: .45rem;
}

.journey__card p {
  color: var(--ink-2);
  font-size: .95rem;
}

@media (max-width: 860px) {
  .journey {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .journey::before {
    content: none;
  }

  .journey li {
    grid-template-columns: 68px 1fr;
    justify-items: start;
    align-items: start;
    text-align: left;
    gap: 1rem;
    position: relative;
  }

  .journey li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 33px;
    top: 76px;
    bottom: -1rem;
    border-left: 2px dashed var(--line-strong);
  }
}

/* newsletter + footer */
.newsletter {
  background: var(--mint-soft);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.newsletter h2 {
  font-size: var(--step-3);
}

.newsletter .inline-form input {
  border-color: rgba(30, 43, 64, .25);
}

.newsletter .form-msg {
  color: var(--navy-deep);
}

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

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .8);
  margin-top: calc(var(--section) * .6);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  text-decoration-color: var(--mint);
  text-underline-offset: 3px;
}

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

.footer h2 {
  font-family: var(--font-text);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: .55rem;
  font-size: .95rem;
}

.footer__brand p {
  margin-top: 1.25rem;
  max-width: 34ch;
  font-size: .95rem;
}

.footer .logo {
  --logo: 84px;
  border-radius: 18px;
}

.footer__legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: .8rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
}

.footer__legal p {
  max-width: 110ch;
}

.footer .socials a {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
}

.footer .socials {
  margin-top: 1.25rem;
  display: flex;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 13vw, 12rem);
  line-height: .85;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, .06);
  margin-top: 3rem;
  white-space: nowrap;
  user-select: none;
  overflow: hidden;
}

@media (max-width: 560px) {
  .wordmark {
    font-size: calc((100vw - 2 * var(--gutter)) / 7.6);
  }
}

/* phones: whole wordmark fits, not cut off */
@media (max-width: 860px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}


/* ==========================================================================
   HERO BANNER (white) — copy left, clay-block art panel right
   ========================================================================== */
.hero-banner {
  padding-block: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  z-index: 5;
}

.hero-banner__in {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-banner h1 {
  font-size: clamp(2.3rem, 1.6rem + 2.6vw, 4.1rem);
  margin-top: 1.1rem;
  max-width: 17ch;
}

.hero-banner .lede {
  margin: 1.1rem 0 1.75rem;
}

.hero-banner .qsearch {
  margin-inline: 0;
}

.hero-banner .qsearch__chips {
  justify-content: flex-start;
}

.pill--mint {
  background: var(--mint-soft);
  border-color: transparent;
  color: var(--mint-ink);
  font-weight: 600;
}

.trio {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.trio__faces {
  display: flex;
}

.trio__faces .avatar {
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(30, 43, 64, .15);
}

.trio__faces .avatar+.avatar {
  margin-left: -12px;
}

.trio p {
  font-size: .95rem;
  color: var(--ink-2);
}

.trio a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--mint);
}

.hero-art {
  position: relative;
  border-radius: var(--r-xl);
  min-height: clamp(400px, 40vw, 580px);
  align-self: stretch;
  background:
    radial-gradient(70% 60% at 50% 85%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(160deg, #e3f3e6 0%, #d3ebd8 55%, #c6e4cd 100%);
  overflow: hidden;
  display: grid;
  place-items: end center;
}

.hero-art::before {
  /* faint grid of squares, echoing the logo */
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(43, 60, 86, .12) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}

.hero-art__stage {
  position: relative;
  z-index: 1;
  padding-bottom: 1.5rem;
}

.hero-art .stack {
  --u: clamp(54px, 6.4vw, 92px);
  margin-bottom: 0;
}

.hero-art__card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .6rem .9rem .6rem .6rem;
  text-decoration: none;
  animation: floatIn 900ms var(--ease-spring) both;
}

.hero-art__card--video {
  top: 1.4rem;
  left: 1.4rem;
  max-width: 330px;
  animation-delay: 1.3s;
  transition: transform var(--t-med) var(--ease-out);
}

.hero-art__card--video:hover {
  transform: translateY(-3px);
}

.hero-art__card--video img {
  width: 104px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
}

.hero-art__card--video b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
  margin-top: .3rem;
}

.hero-art__card--video small {
  color: var(--ink-3);
  font-size: .8rem;
}

.hero-art__card--trust {
  right: 1.4rem;
  top: 7.2rem;
  animation-delay: 1.6s;
  padding: .7rem 1rem;
}

.hero-art__card--trust svg {
  width: 26px;
  height: 26px;
  color: var(--mint-ink);
}

.hero-art__card--trust b {
  display: block;
  font-size: .92rem;
}

.hero-art__card--trust small {
  color: var(--ink-3);
  font-size: .8rem;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.96);
  }
}

@media (max-width: 960px) {
  .hero-banner__in {
    grid-template-columns: 1fr;
  }

  .hero-banner h1 {
    max-width: 20ch;
  }

  .hero-art {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .hero-art__card--trust {
    display: none;
  }

  .hero-art__card--video {
    left: .8rem;
    right: .8rem;
    top: .8rem;
    max-width: none;
  }
}

/* ==========================================================================
   FEATURED EXPERT — Dr. Bill Sears
   ========================================================================== */
.sears__band {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.sears__media .yt {
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}

.sears__copy .eyebrow {
  color: var(--mint);
}

.sears__copy .eyebrow::before {
  background: var(--mint);
  box-shadow: 14px 0 0 var(--mint), 28px 0 0 var(--mint);
}

.sears__who {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.sears__who .avatar {
  border: 3px solid var(--mint);
}

.sears__who h2 {
  font-size: var(--step-4);
  color: #fff;
}

.sears__who p {
  color: var(--mint);
  font-weight: 600;
  font-size: .92rem;
  margin-top: .2rem;
}

.sears__copy .lede {
  color: rgba(255, 255, 255, .85);
  margin-top: 1.1rem;
}

.cred-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1.25rem;
}

.cred-chips li {
  font-size: .84rem;
  font-weight: 600;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.75rem;
}

.sears__copy .btn {
  --b-bg: var(--mint);
  --b-fg: var(--navy-deep);
}

.sears__copy .link-arrow {
  color: #fff;
}

.sears__more {
  margin-top: 2.5rem;
}

.sears__more h3 {
  margin-bottom: 1.25rem;
}

.sponsor-note {
  display: flex;
  gap: .6rem;
  align-items: start;
  margin-top: 1.5rem;
  font-size: .88rem;
  color: var(--ink-2);
  background: var(--oat);
  border-radius: 12px;
  padding: .8rem 1rem;
}

.sponsor-note svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--ink-3);
}

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

/* ==========================================================================
   VIDEO FORMATS — badges, tabs, sections, columns, social clips
   ========================================================================== */
.fmt-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .28rem .55rem;
  border-radius: 6px;
  line-height: 1.1;
  white-space: nowrap;
}

.fmt-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
  opacity: .8;
}

.fmt-badge--episode {
  background: var(--navy);
  color: #fff;
}

.fmt-badge--video {
  background: var(--mint);
  color: var(--navy-deep);
}

.fmt-badge--social {
  background: var(--peach);
  color: #6b2a12;
}

.fmt-badge--lg {
  font-size: .76rem;
  padding: .35rem .7rem;
}

.ep-card__thumb .fmt-badge {
  position: absolute;
  left: .7rem;
  top: .7rem;
}

.ep-card__dur {
  position: absolute;
  right: .7rem;
  top: .7rem;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .45rem;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

.fmt-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin-bottom: 2.5rem;
}

.fmt-tab {
  display: grid;
  gap: .1rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  border-top: 6px solid var(--line) !important;
  border-left: 1.5px solid var(--line) !important;
  text-decoration: none;
  background: #fff;
  transition: border-color var(--t-fast);
}

.fmt-tab b {
  font-weight: 700;
}

.fmt-tab small {
  color: var(--ink-3);
}

.fmt-tab:hover {
  border-color: var(--line-strong);
}

.fmt-tab[aria-current="page"] {
  border-color: var(--navy);
  border-top-color: var(--navy) !important;
  background: var(--navy);
  color: #fff;
}

.fmt-tab[aria-current="page"] small {
  color: var(--mint);
}

.fmt-tab--episode {
  border-left: 1.5px solid var(--line) !important;
  border-top: 6px solid var(--navy) !important;
}

.fmt-tab--episode:hover {
  border-top-color: var(--navy) !important;
}

.fmt-tab--video {
  border-left: 1.5px solid var(--line) !important;
  border-top: 6px solid var(--mint) !important;
}

.fmt-tab--video:hover {
  border-top-color: var(--mint) !important;
}

.fmt-tab--social {
  border-left: 1.5px solid var(--line) !important;
  border-top: 6px solid var(--peach) !important;
}

.fmt-tab--social:hover {
  border-top-color: var(--peach) !important;
}

.fmt-tab--video[aria-current="page"] {
  border-top-color: var(--mint) !important;
}

.fmt-tab--social[aria-current="page"] {
  border-top-color: var(--peach) !important;
}

.fmt-tab--social[aria-current="page"] small {
  color: var(--peach);
}

@media (max-width: 720px) {
  .fmt-tabs {
    grid-template-columns: 1fr 1fr;
  }
}

.fmt-section+.fmt-section {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.fmt-section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.fmt-section__head h2 {
  margin: .6rem 0 .3rem;
}

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

.fmt-col {
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  background: var(--oat);
  border-top: 6px solid var(--navy);
}

.fmt-col--video {
  border-top-color: var(--mint);
}

.fmt-col--social {
  border-top-color: var(--peach);
}

.fmt-col h3 {
  font-size: var(--step-2);
  margin-top: .3rem;
}

.fmt-col>p {
  color: var(--ink-2);
  font-size: .95rem;
}

.fmt-col ul {
  list-style: none;
  display: grid;
  grid-auto-rows: 1fr;
  gap: .5rem;
  margin: .4rem 0 .6rem;
}

.fmt-col>.link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

.fmt-col>p {
  min-height: 3.2em;
}

.fmt-col ul a {
  display: flex;
  gap: .7rem;
  align-items: center;
  text-decoration: none;
  padding: .4rem;
  border-radius: 12px;
  background: #fff;
}

.fmt-col ul a:hover {
  box-shadow: var(--shadow-soft);
}

.fmt-col ul img {
  width: 84px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
}

.fmt-col--social ul img {
  width: 40px;
  height: 64px;
}

.fmt-col ul span {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
}

.fmt-col ul small {
  display: block;
  font-weight: 400;
  color: var(--ink-3);
  font-size: .8rem;
}

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

.social-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 180px);
  gap: .9rem;
  overflow-x: auto;
  padding-bottom: .75rem;
  scroll-snap-type: x mandatory;
}

.social-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  scroll-snap-align: start;
  background: #111;
}

.social-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.social-card:hover img {
  transform: scale(1.05);
}

.social-card .fmt-badge {
  position: absolute;
  left: .55rem;
  top: .55rem;
}

.social-card__txt {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem .7rem .7rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0));
}

.social-card__txt b {
  display: block;
  font-size: .88rem;
  line-height: 1.25;
}

.social-card__txt small {
  font-size: .74rem;
  opacity: .85;
}

.hub-fmt+.hub-fmt {
  margin-top: 2.25rem;
}

.hub-fmt h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

.hub-fmt h3 small {
  color: var(--ink-3);
  font-weight: 500;
}

.hub-note,
.profile-disclosure {
  display: flex;
  gap: .7rem;
  align-items: start;
  margin-top: 2.5rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--oat);
  font-size: .9rem;
  color: var(--ink-2);
}

.hub-note svg,
.profile-disclosure svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--mint-ink);
  margin-top: 1px;
}

.profile-disclosure {
  margin-top: 1.5rem;
  background: var(--butter-soft);
}

.profile-disclosure b {
  display: block;
  color: var(--ink);
  margin-bottom: .2rem;
}

/* ==========================================================================
   MEDICAL DISCLAIMERS
   ========================================================================== */
.med-notice {
  border: 1.5px solid #cfe3d4;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 0 0 2rem;
  background: #fff;
}

.med-notice__main,
.med-notice__urgent {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .9rem;
  padding: 1.2rem 1.3rem;
}

.med-notice__main {
  background: var(--mint-soft);
}

.med-notice svg {
  width: 26px;
  height: 26px;
  color: var(--mint-ink);
}

.med-notice h2 {
  font-family: var(--font-text);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mint-ink);
  margin-bottom: .35rem;
}

.med-notice p {
  font-size: .95rem;
  color: var(--ink);
}

.med-notice a {
  color: var(--mint-ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

.med-notice__urgent {
  background: #fdf0ee;
  border-top: 1.5px solid #f3cdc6;
}

.med-notice__urgent svg {
  color: #b3261e;
}

.med-notice__urgent h3 {
  font-family: var(--font-text);
  font-size: .95rem;
  font-weight: 700;
  color: #7a1f16;
  letter-spacing: 0;
}

.med-notice__urgent ul {
  margin-top: .45rem;
  padding-left: 1.1rem;
  font-size: .9rem;
  color: #5c1a12;
  display: grid;
  gap: .15rem;
}

.med-notice--compact {
  margin: 1.25rem 0 0;
}

.med-notice--compact .med-notice__main {
  padding: 1rem 1.2rem;
}

.med-notice--compact p {
  font-size: .9rem;
}

.footer__disclaimer {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .9rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  margin-bottom: 3rem;
  font-size: .92rem;
}

.footer__disclaimer svg {
  width: 26px;
  height: 26px;
  color: var(--mint);
}

.footer__disclaimer strong {
  color: #fff;
}

.footer__disclaimer a {
  text-decoration: underline;
  text-decoration-color: var(--mint);
  text-underline-offset: 3px;
}

/* misc */
.btn--sm {
  min-height: 44px;
  padding: .6rem 1.1rem;
  font-size: .92rem;
}

.book__note {
  font-size: .78rem;
  text-align: center;
  margin-top: 1rem;
  max-width: 30ch;
}

.book__cover-wrap {
  flex-direction: column;
}

.book__cover .by {
  margin-top: auto;
}

.book__cover .sub {
  font-style: normal;
  font-family: var(--font-text);
  font-size: .78rem;
  letter-spacing: .02em;
  color: rgba(234, 248, 239, .75);
  margin-top: .4rem;
}

.book-role {
  margin-top: .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--mint-ink);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer .logo-img {
  border-radius: 16px;
}

.drawer .logo-img {
  border-radius: 12px;
}

.watch {
  background: linear-gradient(180deg, #fff 0%, var(--oat) 100%);
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1 !important;
  transform: none !important;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- reduced motion ---------- */
/* ==========================================================================
   MOTION — subtle, purposeful; all switched off for reduced-motion users
   ========================================================================== */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* hero: headline, search and quick-link chips arrive just after the cubes start dropping */
.masthead__left,
.masthead__right {
  animation: rise 700ms var(--ease-out) 100ms both;
}

.hero-ask h1 {
  animation: rise 750ms var(--ease-out) 250ms both;
}

.hero-ask .qsearch {
  animation: rise 750ms var(--ease-out) 400ms both;
}

.qsearch__chips .chip {
  animation: rise 600ms var(--ease-out) both;
  animation-delay: 550ms;
}

.qsearch__chips .chip:nth-child(2) {
  animation-delay: 610ms;
}

.qsearch__chips .chip:nth-child(3) {
  animation-delay: 670ms;
}

.qsearch__chips .chip:nth-child(4) {
  animation-delay: 730ms;
}

.qsearch__chips .chip:nth-child(5) {
  animation-delay: 790ms;
}

/* lists and card rows: items fade up one after another when they scroll into view */
.reveal.stg {
  opacity: 1;
  transform: none;
}

.stg>* {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms);
}

.stg.stg-in>* {
  opacity: 1;
  transform: none;
}

/* age picker: the questions slide in when you pick an age */
.ages__panel:not([hidden])>div {
  animation: rise 420ms var(--ease-out) both;
}

.ages__panel:not([hidden]) .ages__qs li {
  animation: rise 420ms var(--ease-out) both;
}

.ages__panel:not([hidden]) .ages__qs li:nth-child(2) {
  animation-delay: 70ms;
}

.ages__panel:not([hidden]) .ages__qs li:nth-child(3) {
  animation-delay: 140ms;
}

/* topics: the colour square gives a small wiggle on hover */
.topic-row .n::before {
  transition: transform var(--t-med) var(--ease-spring);
}

.topic-row:hover .n::before {
  transform: scale(1.3) rotate(-10deg);
}

/* doctor (homepage): the circle pops in, then he rises up out of it, then his name card swings in.
   While scrolling he drifts a little faster than the circle (gentle parallax). */
.doctor__photo.reveal {
  opacity: 1;
  transform: none;
}

.doctor__photo .blob {
  transform: scale(.55);
  opacity: 0;
  transition: transform 900ms var(--ease-spring), opacity 500ms var(--ease-out);
  translate: 0 calc(var(--py, 0px) * -.35);
}

.doctor__photo img {
  transform: translateY(14%) scale(.94);
  opacity: 0;
  transform-origin: 50% 100%;
  transition: transform 1000ms var(--ease-spring) 260ms, opacity 600ms var(--ease-out) 260ms, scale 500ms var(--ease-out);
  translate: 0 var(--py, 0px);
}

.doctor__photo .doctor__tag {
  opacity: 0;
  transform: translateY(18px) rotate(10deg);
  transition: transform 800ms var(--ease-spring) 650ms, opacity 500ms var(--ease-out) 650ms;
}

.doctor__photo.is-in .blob,
.no-js .doctor__photo .blob {
  transform: none;
  opacity: 1;
}

.doctor__photo.is-in img,
.no-js .doctor__photo img {
  transform: none;
  opacity: 1;
}

.doctor__photo.is-in .doctor__tag,
.no-js .doctor__photo .doctor__tag {
  transform: rotate(3deg);
  opacity: 1;
}

.doctor__photo:hover img {
  scale: 1.025;
}

/* every inner page: breadcrumb, heading, intro and search arrive one after another */
.page-head .wrap>* {
  animation: rise 700ms var(--ease-out) both;
}

.page-head .wrap> :nth-child(2) {
  animation-delay: 70ms;
}

.page-head .wrap> :nth-child(3) {
  animation-delay: 140ms;
}

.page-head .wrap> :nth-child(4) {
  animation-delay: 210ms;
}

.page-head .wrap> :nth-child(5) {
  animation-delay: 280ms;
}

.book>div:last-child>*,
.profile>div:last-child>* {
  animation: rise 700ms var(--ease-out) both;
}

.book>div:last-child> :nth-child(2),
.profile>div:last-child> :nth-child(2) {
  animation-delay: 80ms;
}

.book>div:last-child> :nth-child(3),
.profile>div:last-child> :nth-child(3) {
  animation-delay: 160ms;
}

.book>div:last-child> :nth-child(n+4),
.profile>div:last-child> :nth-child(n+4) {
  animation-delay: 240ms;
}

/* experts: each card arrives, then the person rises gently out of their colour */
.expert-card__img img {
  opacity: 1;
  transform: none;
  transform-origin: 50% 100%;
  transition: opacity 600ms var(--ease-out), transform 900ms var(--ease-spring), scale var(--t-med) var(--ease-out);
}

.experts.stg-in .expert-card__img img,
.no-js .expert-card__img img {
  opacity: 1;
  transform: none;
}

.expert-card:hover .expert-card__img img {
  transform: none;
  scale: 1.04;
  transition-delay: 0ms;
}

.profile__img img {
  animation: photoUp 1000ms var(--ease-spring) 120ms both;
  transform-origin: 50% 100%;
}

@keyframes photoUp {
  from {
    opacity: 0;
    transform: translateY(10%) scale(.95);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* soft cross-fade between pages in browsers that support it */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 260ms;
  animation-timing-function: ease;
}

/* book: a gentle idle float */
.book__cover-wrap {
  animation: floaty 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .stg>* {
    opacity: 1;
    transform: none;
  }

  .doctor__photo .blob,
  .doctor__photo img {
    transform: none !important;
    opacity: 1 !important;
    translate: none !important;
  }

  .doctor__photo .doctor__tag {
    opacity: 1 !important;
    transform: rotate(3deg) !important;
  }

  .expert-card__img img,
  .profile__img img {
    opacity: 1 !important;
    transform: none !important;
  }

  @view-transition {
    navigation: none;
  }
}

@media print {

  .bar,
  .footer,
  .drawer,
  .newsletter,
  .ask-band {
    display: none !important;
  }
}

.mega__fmt .fmt-badge,
.mega__feature .fmt-badge,
.fmt-col .fmt-badge,
.hero-art__card .fmt-badge {
  justify-self: start;
  width: max-content;
}

.show-sm {
  display: none;
}

@media (max-width: 720px) {
  .hide-sm {
    display: none;
  }

  .show-sm {
    display: inline;
  }

  .med-strip__in {
    gap: .5rem;
  }
}

/* ---------- competitor-informed components ---------- */
.review-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .6rem;
  margin: -1rem 0 2rem;
  font-size: .9rem;
  color: var(--ink-2);
}

.review-line>svg {
  width: 18px;
  height: 18px;
  color: var(--mint-ink);
}

.review-line b {
  color: var(--ink);
}

.review-line details {
  flex-basis: 100%;
}

.review-line summary {
  cursor: pointer;
  color: var(--mint-ink);
  font-weight: 600;
  width: max-content;
}

.review-line details p {
  margin-top: .5rem;
  padding: .9rem 1rem;
  background: var(--oat);
  border-radius: 12px;
}

.refs {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.refs h2 {
  font-family: var(--font-text);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .6rem;
}

.refs ol {
  padding-left: 1.3rem;
  font-size: .9rem;
  color: var(--ink-2);
  display: grid;
  gap: .4rem;
}

.helpful {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.helpful p:first-child {
  font-weight: 600;
}

.helpful [role="group"] {
  display: flex;
  gap: .5rem;
}

.helpful .chip {
  cursor: pointer;
  font: inherit;
  font-size: .92rem;
}

.helpful .chip[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.helpful__thanks {
  color: var(--mint-ink);
  font-weight: 600;
  font-size: .92rem;
}

.expert-card-lg {
  display: flex;
  gap: 1.1rem;
  align-items: start;
  margin-top: 2rem;
  padding: 1.3rem;
  border-radius: var(--r-lg);
  background: var(--oat);
}

.expert-card-lg b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-top: .3rem;
}

.expert-card-lg b a {
  text-decoration: none;
}

.expert-card-lg small {
  color: var(--ink-3);
}

.expert-card-lg p {
  margin-top: .5rem;
  font-size: .95rem;
  color: var(--ink-2);
}

.ep-tabs__list {
  display: flex;
  gap: .3rem;
  border-bottom: 1px solid var(--line);
}

.ep-tabs__list button {
  border: 0;
  background: none;
  padding: .8rem 1rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.ep-tabs__list button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--mint-ink);
}

.ep-tabs__panel {
  padding: 1.2rem 0;
  color: var(--ink-2);
}

/* ---------- logo + dismissible strip ---------- */
.bar__brand .logo-img {
  width: 76px;
  height: 76px;
  border-radius: 14px;
}

.bar__in {
  min-height: 92px;
}

@media (max-width: 720px) {
  .bar__brand .logo-img {
    width: 60px;
    height: 60px;
  }

  .bar__in {
    min-height: 76px;
  }
}

.med-strip__in {
  min-height: 36px;
  padding-block: .3rem;
}

.med-strip__in p {
  font-size: .85rem;
}

.med-strip__in p a {
  margin-left: .3rem;
}

.med-strip__close {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.med-strip__close:hover {
  background: rgba(255, 255, 255, .12);
}

.med-strip__close svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.med-strip[hidden] {
  display: none;
}

/* ---------- hero panel: welcome video + "Parents are asking" ---------- */
.hero-panel {
  position: relative;
  display: grid;
  gap: 0;
  align-self: center;
}

.grow {
  position: absolute;
  right: 6%;
  top: -50px;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.grow i {
  --s: calc(10px + var(--n) * 5px);
  width: var(--s);
  height: var(--s);
  border-radius: 4px;
  display: block;
  transform: rotate(calc((var(--n) - 3) * 4deg));
  animation: growIn 700ms var(--ease-spring) both;
  animation-delay: calc(var(--n) * 70ms + 200ms);
}

.grow i:nth-child(1) {
  background: #3d5173;
}

.grow i:nth-child(2) {
  background: #7cc0e8;
}

.grow i:nth-child(3) {
  background: #f2cf4a;
}

.grow i:nth-child(4) {
  background: #f2a03d;
}

.grow i:nth-child(5) {
  background: #ec7b6b;
}

.grow i:nth-child(6) {
  background: var(--mint);
}

.grow i:nth-child(7) {
  background: #9a5fe0;
}

@keyframes growIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.4);
  }
}

.welcome {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #2b3c56;
  box-shadow: var(--shadow-lift);
}

.welcome .yt {
  border-radius: 0;
  height: 100%;
  aspect-ratio: auto;
}

.welcome--soon img {
  position: absolute;
  right: -4%;
  bottom: -6%;
  height: 112%;
  width: auto;
  mix-blend-mode: multiply;
  transition: transform 900ms var(--ease-out);
}

.welcome--soon:hover img {
  transform: scale(1.03);
}

.welcome__play {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -10px rgba(30, 43, 64, .5);
  transition: transform var(--t-med) var(--ease-spring);
}

.welcome:hover .welcome__play {
  transform: scale(1.08);
}

.welcome__play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.welcome__txt,
.welcome__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  padding: 0 1.5rem 4.4rem;
  background: none;
  display: grid;
  gap: .25rem;
  max-width: 100%;
  color: var(--ink);
}

.welcome__tag {
  justify-self: start;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #9bcba5;
  color: var(--navy-deep);
  padding: .25rem .55rem;
  border-radius: 6px;
}

.welcome__txt b {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem);
  font-weight: 600;
  line-height: 1.15;
}

.welcome__txt small {
  font-size: .9rem;
  opacity: .9;
  max-width: 36ch;
}

.asking {
  position: relative;
  z-index: 2;
  margin: -2.25rem 1.25rem 0;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
  padding: 1rem 1rem .6rem;
}

.asking__h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 .4rem .5rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.asking__h a {
  text-transform: none;
  letter-spacing: 0;
  font-size: .85rem;
  color: var(--mint-ink);
  font-weight: 600;
  text-decoration: none;
}

.asking ul {
  list-style: none;
  display: grid;
}

.asking li+li {
  border-top: 1px solid var(--line);
}

.asking a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .8rem;
  align-items: center;
  padding: .7rem .4rem;
  text-decoration: none;
  border-radius: 12px;
  transition: background var(--t-fast);
}

.asking a:hover {
  background: var(--oat);
}

.asking b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.25;
}

.asking small {
  color: var(--ink-3);
  font-size: .8rem;
}

.asking a>svg {
  width: 18px;
  height: 18px;
  color: var(--mint-ink);
  transition: transform var(--t-fast) var(--ease-out);
}

.asking a:hover>svg {
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .hero-panel {
    margin-top: 1.5rem;
  }
}

@media (max-width: 560px) {
  .asking {
    margin: 1rem 0 0 0 !important;
    box-shadow: 0 4px 18px rgba(43, 60, 86, 0.08), 0 1px 3px rgba(43, 60, 86, 0.04) !important;
    border: 1px solid rgba(43, 60, 86, 0.1) !important;
  }

  .welcome {
    aspect-ratio: 4 / 3;
  }

  .welcome--soon img {
    right: -9%;
    bottom: -11%;
  }

  .welcome__txt,
  .welcome__text {
    padding: 0 0.5rem 3.9rem;
  }

  .welcome__txt small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grow i {
    animation: none;
  }
}

/* ==========================================================================
   OUR DESIGN GUIDELINE, applied to the new layout
   ========================================================================== */
/* warm hairlines to sit on the cream page */
:root {
  --line: #e6dfd2;
  --line-strong: #d3c8b4;
}

/* buttons stay navy — header "Ask the Doctor" and the menu button included */
.bar__cta,
.drawer .btn--mint {
  --b-bg: var(--navy);
  --b-fg: #fff;
}

.drawer .btn--mint {
  --b-bg: #fff;
  --b-fg: var(--navy);
}

/* on the navy drawer it needs to be light to show */

/* hero: soft macaron glow, lighter than the page */
.hero-banner {
  background:
    radial-gradient(38% 55% at 4% 12%, #ffe7ee 0%, rgba(255, 231, 238, 0) 70%),
    radial-gradient(34% 50% at 98% 6%, #edf9df 0%, rgba(237, 249, 223, 0) 70%),
    radial-gradient(30% 45% at 2% 96%, #eff1ff 0%, rgba(239, 241, 255, 0) 70%),
    radial-gradient(30% 45% at 60% 100%, #fff7d8 0%, rgba(255, 247, 216, 0) 70%),
    var(--cream);
}

/* the seven little growing squares: our macaron cube colours */
.grow i:nth-child(1) {
  background: #9fdf6a;
}

.grow i:nth-child(2) {
  background: #ffb1c9;
}

.grow i:nth-child(3) {
  background: #fff08a;
}

.grow i:nth-child(4) {
  background: #c3c3ff;
}

.grow i:nth-child(5) {
  background: #ffc08a;
}

.grow i:nth-child(6) {
  background: #a7d8ff;
}

.grow i:nth-child(7) {
  background: #dcc0f8;
}

/* welcome card: Dr. Murray cut out on the fresh-green panel (same treatment as the rest of the site) */
.welcome--soon {
  background: var(--mint-soft);
}

.welcome--soon img {
  mix-blend-mode: normal;
  right: -2%;
  bottom: -8%;
  height: 100%;
}

@media (max-width: 560px) {
  .welcome--soon img {
    right: -9%;
    bottom: -11%;
  }
}

/* photo avatars: cut-out on the expert's colour */
.avatar--cut {
  object-fit: cover;
  object-position: top;
}

.trio__faces .avatar--cut,
.sears__who .avatar--cut {
  object-position: 50% 0;
}

.mega__person .avatar--cut {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}

/* experts page: who checks the answers — four icon cards */
.principles--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principles--4 li:nth-child(1) {
  --pc: #d8f6b5;
}

.principles--4 li:nth-child(2) {
  --pc: #fff3a3;
}

.principles--4 li:nth-child(3) {
  --pc: #cdd1ff;
}

.principles--4 li:nth-child(4) {
  --pc: #ffb6cb;
}

@media (max-width: 980px) {
  .principles--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .principles--4 {
    grid-template-columns: 1fr;
  }
}

/* format columns and tabs: same soft card language as the rest of the site */
.watch {
  background: linear-gradient(180deg, var(--cream) 0%, var(--oat) 100%);
}

.fmt-col ul a,
.fmt-tab {
  border-radius: 14px;
}

.fmt-tab:not([aria-current="page"]) {
  background: #fff;
}

/* sponsor note and hub notes sit on the warm oat */
.sponsor-note,
.hub-note {
  background: var(--oat);
}

.sears__copy .eyebrow::before {
  background: var(--fresh);
  box-shadow: 14px 0 0 var(--fresh), 28px 0 0 var(--fresh);
}

.sears__copy .eyebrow,
.sears__who p {
  color: var(--fresh);
}

.hero-banner {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0) 70%, var(--cream) 100%),
    radial-gradient(38% 55% at 4% 12%, #ffe7ee 0%, rgba(255, 231, 238, 0) 70%),
    radial-gradient(34% 50% at 98% 6%, #edf9df 0%, rgba(237, 249, 223, 0) 70%),
    radial-gradient(30% 45% at 2% 80%, #eff1ff 0%, rgba(239, 241, 255, 0) 70%),
    radial-gradient(30% 45% at 60% 90%, #fff7d8 0%, rgba(255, 247, 216, 0) 70%),
    var(--cream);
}

.watch {
  background: none;
}

/* fix: a sideways-scrolling row of clips inside a two-column layout no longer pushes the page wider than the screen */
.layout-2>*,
.profile>* {
  min-width: 0;
}

.hero-banner {
  overflow-x: clip;
}

/* Home · Watch & listen: centred heading; cards without the boxed rows */
.watch .section-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .9rem;
}

.watch .section-head h2 {
  max-width: none;
}

.watch .section-head .lede {
  max-width: 60ch;
  margin-inline: auto;
}

.fmt-col {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--navy);
  box-shadow: 0 18px 40px -32px rgba(30, 43, 64, .35);
  padding: 1.6rem 1.5rem 1.4rem;
}

.fmt-col--video {
  border-top-color: var(--mint);
}

.fmt-col--social {
  border-top-color: var(--peach);
}

.fmt-col ul {
  gap: 0;
  grid-auto-rows: auto;
  margin: .3rem 0 .8rem;
  border-top: 1px solid var(--line);
}

.fmt-col ul li {
  border-bottom: 1px solid var(--line);
}

.fmt-col ul a {
  background: transparent;
  border-radius: 10px;
  padding: .75rem .35rem;
  margin-inline: -.35rem;
  gap: .85rem;
  transition: background var(--t-fast);
}

.fmt-col ul a:hover {
  background: var(--oat);
  box-shadow: none;
}

.fmt-col ul img {
  width: 92px;
  height: 52px;
  border-radius: 10px;
  background: var(--oat);
}

.fmt-col--social ul img {
  width: 42px;
  height: 66px;
}

.fmt-col ul span {
  font-size: .93rem;
}

/* ==========================================================================
   FAQ PAGE — Accordions, Filters, Search & Editorial CTA
   ========================================================================== */
.faq-toolbar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 16px);
  padding: 1.15rem 1.4rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px -6px rgba(30, 43, 64, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.faq-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-family: var(--font-text);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--cream);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.15s ease;
}

.faq-pill-btn:hover {
  background: var(--cream-deep);
  border-color: #cbd5e1;
  color: var(--navy);
}

.faq-pill-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 43, 64, 0.2);
}

.faq-pill-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
}

.faq-pill-btn.is-active .faq-pill-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.faq-toolbar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  font-family: var(--font-text);
  font-size: 0.88rem;
  color: var(--ink-2);
}

.faq-text-action {
  background: none;
  border: none;
  color: var(--navy);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s ease;
}

.faq-text-action:hover {
  opacity: 0.75;
}

.faq-sep {
  margin: 0 0.5rem;
  color: var(--line);
}

.faq-groups-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.faq-group-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--line);
  margin-bottom: 0.35rem;
}

.faq-group-heading__left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.faq-group-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.faq-group-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.faq-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.faq-item-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 14px);
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.faq-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px -4px rgba(30, 43, 64, 0.08);
}

.faq-item-card.is-expanded {
  border-color: var(--mint);
  box-shadow: 0 6px 20px -4px rgba(122, 208, 160, 0.22);
}

.faq-item-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  cursor: pointer;
  font-family: inherit;
}

.faq-item-header {
  flex: 1;
}

.faq-item-meta-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

.faq-category-label {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--cream);
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 6px;
}

.faq-topic-tag-pill {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: capitalize;
  background: var(--mint-soft);
  color: var(--mint-ink);
  padding: 2px 8px;
  border-radius: 6px;
}

.faq-item-question {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
  margin: 0;
  transition: color 0.15s ease;
}

.faq-item-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.faq-chevron {
  transition: transform 0.25s ease;
}

.faq-item-card.is-expanded .faq-item-icon-wrap {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--mint);
}

.faq-item-card.is-expanded .faq-chevron {
  transform: rotate(180deg);
}

.faq-item-body {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.faq-answer-rich {
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink);
}

.faq-answer-rich p {
  margin: 0 0 0.95rem;
}

.faq-answer-rich p:last-child {
  margin-bottom: 0;
}

.faq-answer-rich ul {
  margin: 0.5rem 0 1rem 1.4rem;
  padding: 0;
}

.faq-answer-rich li {
  margin-bottom: 0.35rem;
}

.faq-answer-rich a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.faq-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 1.25rem;
  padding-top: 0.95rem;
  font-family: var(--font-text);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.faq-deep-dive-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  font-family: var(--font-text);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.faq-deep-dive-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.faq-item-footer-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.faq-feedback-widget {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-2);
  font-size: 0.82rem;
}

.faq-feedback-buttons {
  display: flex;
  gap: 0.25rem;
}

.faq-feedback-btn {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.faq-feedback-btn:hover {
  background: var(--cream-deep);
  transform: translateY(-1px);
}

.faq-feedback-thanks {
  color: #166534;
  font-weight: 600;
  font-size: 0.82rem;
}

.faq-share-link {
  background: none;
  border: none;
  color: var(--ink-2);
  font-family: var(--font-text);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.faq-share-link:hover {
  color: var(--navy);
}

.faq-empty-state {
  background: #ffffff;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-lg, 16px);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.faq-empty-icon {
  font-size: 2.4rem;
  margin-bottom: 0.85rem;
}

.faq-empty-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.faq-empty-desc {
  font-family: var(--font-text);
  color: var(--ink-2);
  font-size: 0.98rem;
  max-width: 540px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.faq-ask-banner {
  margin-top: 4.5rem;
  background: linear-gradient(
    135deg,
    var(--mint-soft) 0%,
    var(--cream) 100%
  );
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg, 20px);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 10px 30px -8px rgba(30, 43, 64, 0.08);
}

.faq-ask-banner__content {
  flex: 1;
}

.faq-ask-banner__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0.35rem 0 0.75rem;
}

.faq-ask-banner__desc {
  font-family: var(--font-text);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 1.5rem;
  max-width: 580px;
}

.faq-ask-banner__links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.faq-ask-banner__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  background: #ffffff;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px -4px rgba(30, 43, 64, 0.06);
  flex-shrink: 0;
  min-width: 220px;
}

.faq-ask-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  border: 2px solid var(--mint);
}

.faq-ask-badge-text strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.faq-ask-badge-text small {
  display: block;
  font-family: var(--font-text);
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .faq-toolbar-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .faq-ask-banner {
    flex-direction: column;
    padding: 1.75rem;
    align-items: stretch;
  }

  .faq-ask-banner__badge {
    width: 100%;
  }

  .faq-ask-banner__links {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-ask-banner__links .btn {
    width: 100%;
    text-align: center;
  }

  .faq-item-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-item-footer-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   DYNAMIC CMS PAGE LAYOUTS (Left Layout vs Center Layout)
   The page-head (breadcrumbs, title, lede) remains static & identical across all pages.
   Layout selection aligns the body content container:
   - Center Layout: Body container is centered on page (margin-inline: auto)
   - Left Layout: Body container starts from the left (margin-inline-start: 0)
   ========================================================================== */

/* Center Layout Styles: container is centered on screen */
.page-layout--center .wrap,
.page-layout--center .wrap-narrow,
.page-layout--center .prose,
.cms-body--center .wrap,
.cms-body--center .wrap-narrow,
.cms-body--center .prose {
  margin-inline: auto !important;
  text-align: left !important;
}

.page-layout--center .prose h1,
.page-layout--center .prose h2,
.page-layout--center .prose h3,
.page-layout--center .prose h4,
.page-layout--center .prose p,
.cms-body--center h1,
.cms-body--center h2,
.cms-body--center h3,
.cms-body--center h4,
.cms-body--center p {
  text-align: left !important;
}

/* Full Width / Left Layout Styles: container is anchored to the left */
.page-layout--left .wrap-narrow,
.page-layout--left .prose,
.page-layout--full .wrap-narrow,
.page-layout--full .prose,
.cms-body--left .wrap-narrow,
.cms-body--left .prose,
.cms-body--full .wrap-narrow,
.cms-body--full .prose {
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
  text-align: left !important;
}

.page-layout--left .prose h1,
.page-layout--left .prose h2,
.page-layout--left .prose h3,
.page-layout--left .prose h4,
.page-layout--left .prose p,
.page-layout--full .prose h1,
.page-layout--full .prose h2,
.page-layout--full .prose h3,
.page-layout--full .prose h4,
.page-layout--full .prose p,
.cms-body--left h1,
.cms-body--left h2,
.cms-body--left h3,
.cms-body--left h4,
.cms-body--left p,
.cms-body--full h1,
.cms-body--full h2,
.cms-body--full h3,
.cms-body--full h4,
.cms-body--full p {
  text-align: left !important;
}

/* Embedded Media (Images & YouTube Videos) in Dynamic Pages */
.page-content img,
.prose img,
.content-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.content-figure {
  margin: 1.75rem 0;
}

.content-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-3, #758195);
  font-style: italic;
}

.content-video-card {
  margin: 1.75rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: #000;
}

.content-video-card iframe {
  display: block;
  width: 100%;
  border: 0;
}


/* ============================================================
   VIDEO SEARCH & FILTER STYLES
   ============================================================ */
.video-search-container {
  margin: 1.5rem 0 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.video-search-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.video-search-box {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1.5px solid var(--line, #e3dcd1);
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  box-shadow: 0 3px 12px rgba(31, 42, 61, 0.05);
  transition: all 0.2s ease;
  position: relative;
}

.video-search-box:focus-within {
  border-color: var(--navy, #2b3c56);
  box-shadow: 0 6px 18px rgba(43, 60, 86, 0.12);
}

.video-search-box__icon {
  width: 20px;
  height: 20px;
  color: var(--ink-3, #758195);
  flex-shrink: 0;
}

.video-search-box input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.98rem;
  color: var(--ink, #1f2a3d);
  font-family: inherit;
}

.video-search-box input::placeholder {
  color: var(--ink-3, #758195);
}

.video-search-box__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef2f6;
  border: none;
  cursor: pointer;
  color: var(--ink-2, #4a556a);
  font-size: 0.78rem;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.video-search-box__clear:hover {
  background: #e2e8f0;
  color: var(--navy-deep, #1e2b40);
}

.video-search-selects {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.video-search-select {
  appearance: none;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234a556a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  padding: 0.65rem 2.2rem 0.65rem 1rem;
  border: 1.5px solid var(--line, #e3dcd1);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy, #2b3c56);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(31, 42, 61, 0.04);
  outline: none;
  font-family: inherit;
}

.video-search-select:hover {
  border-color: var(--line-strong, #c9beaf);
}

.video-search-select:focus {
  border-color: var(--navy, #2b3c56);
  box-shadow: 0 0 0 3px rgba(43, 60, 86, 0.12);
}

@media (max-width: 720px) {
  .video-search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .video-search-box {
    width: 100%;
    min-width: 100%;
    flex: none;
  }

  .video-search-selects {
    width: 100%;
  }

  .video-search-select {
    width: 100%;
    min-width: 100%;
  }
}

.video-topic-pills-wrap {
  position: relative;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
  padding-bottom: 4px;
}

.video-topic-pills-wrap::-webkit-scrollbar {
  height: 5px;
}

.video-topic-pills-wrap::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 999px;
}

.video-topic-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding: 2px 2px 4px 2px;
}

.video-topic-pill {
  flex-shrink: 0;
  border: 1px solid var(--line, #e3dcd1);
  background: #ffffff;
  color: var(--ink-2, #4a556a);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
  user-select: none;
}

.video-topic-pill:hover {
  border-color: var(--line-strong, #c9beaf);
  background: #f8fafc;
  color: var(--navy, #2b3c56);
}

.video-topic-pill.is-active {
  background: var(--navy, #2b3c56);
  border-color: var(--navy, #2b3c56);
  color: #ffffff;
}

.video-topic-pill.is-active .video-topic-pill__count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.video-topic-pill__count {
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  color: var(--ink-3, #758195);
}

.video-search-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--ink-2, #4a556a);
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border-radius: 10px;
  border-left: 4px solid var(--navy, #2b3c56);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.video-search-feedback__text {
  flex: 1;
  min-width: 240px;
}

.video-search-feedback__reset {
  background: #ffffff;
  border: 1px solid var(--line, #e3dcd1);
  color: var(--mint-ink, #2f6b44);
  font-weight: 700;
  cursor: pointer;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  transition: all 0.15s ease;
}

.video-search-feedback__reset:hover {
  background: #eaf5ed;
  border-color: #86efac;
}

.video-empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #ffffff;
  border-radius: var(--r-lg, 16px);
  border: 1px dashed var(--line-strong, #c9beaf);
  margin: 1.5rem 0;
}

.video-empty-state__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.video-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy, #2b3c56);
  margin: 0 0 0.5rem;
}

.video-empty-state p {
  font-size: 0.95rem;
  color: var(--ink-2, #4a556a);
  max-width: 480px;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
}

.video-empty-state__btn {
  background: var(--navy, #2b3c56);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.video-empty-state__btn:hover {
  opacity: 0.9;
}

/* ============================================================
   VIDEO LOAD MORE STYLES
   ============================================================ */
.video-load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2.25rem;
  margin-bottom: 1.5rem;
  gap: 0.65rem;
}

.video-load-more-btn {
  background: #ffffff;
  border: 1.5px solid var(--navy, #2b3c56);
  color: var(--navy, #2b3c56);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(43, 60, 86, 0.08);
}

.video-load-more-btn:hover {
  background: var(--navy, #2b3c56);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(43, 60, 86, 0.16);
}

.video-load-more-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.video-load-more-btn:hover svg {
  transform: translateY(2px);
}

.video-load-more-status {
  font-size: 0.84rem;
  color: var(--ink-3, #758195);
  font-weight: 500;
}

.social-grid,
.social-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  grid-auto-flow: row !important;
  gap: 1.25rem;
  overflow-x: visible !important;
  padding-bottom: 0 !important;
}

@media (max-width: 600px) {
  .social-grid,
  .social-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem;
  }
}

/* ============================================================
   FOLLOWED EXPERT BADGE & PREFERENCE STYLES
   ============================================================ */
.fav-expert-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #fff1f2;
  color: #e11d48;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #fecdd3;
  line-height: 1.2;
}

.fav-expert-tag--social {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: rgba(225, 29, 72, 0.95);
  color: #ffffff;
  border: none;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

/* ============================================================
   MOBILE RESPONSIVENESS & UI POLISH ENHANCEMENTS
   ============================================================ */

/* Prevent horizontal overflow on mobile devices */
html,
body.home,
main#main {
  overflow-x: clip;
}

@media (max-width: 960px) {
  .hero-banner {
    padding-top: 1.25rem !important;
    padding-bottom: 1.75rem !important;
  }
  .hero-banner__in {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .hero-panel {
    margin-top: 0.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    padding-top: 0.75rem !important;
    padding-bottom: 1.5rem !important;
  }
  .hero-banner__in {
    gap: 0.85rem !important;
  }
  .hero-panel {
    margin-top: 0 !important;
    gap: 0.75rem !important;
  }
  /* Welcome card on mobile */
  .welcome {
    aspect-ratio: 16 / 10 !important;
    min-height: 190px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 18px rgba(43, 60, 86, 0.08) !important;
  }
  .welcome--soon img {
    right: -2% !important;
    bottom: -4% !important;
    height: 108% !important;
    width: auto !important;
    max-width: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    z-index: 1 !important;
  }
  .welcome__play {
    width: 40px !important;
    height: 40px !important;
    left: 1rem !important;
    top: 0.85rem !important;
    z-index: 2 !important;
    box-shadow: 0 4px 12px rgba(30, 43, 64, 0.25) !important;
  }
  .welcome__play svg {
    width: 15px !important;
    height: 15px !important;
  }
  .welcome__txt,
  .welcome__text {
    position: absolute !important;
    left: 1rem !important;
    right: auto !important;
    top: 46% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    max-width: 48% !important;
    padding: 0 !important;
    background: transparent !important;
    z-index: 2 !important;
  }
  .welcome__txt b {
    font-size: 1.05rem !important;
    line-height: 1.22 !important;
    color: var(--navy) !important;
    display: block !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .welcome__txt small {
    display: none !important;
  }

  /* Parents Are Asking card — cleanly stacked without negative overlap and with subtle clean shadow */
  .asking {
    margin: 0.75rem 0 0 0 !important;
    border-radius: var(--r-lg) !important;
    padding: 1rem 1rem 0.6rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(43, 60, 86, 0.08), 0 1px 3px rgba(43, 60, 86, 0.04) !important;
    border: 1px solid rgba(43, 60, 86, 0.1) !important;
  }
  .asking__h {
    padding: 0 0.25rem 0.6rem !important;
    font-size: 0.75rem !important;
  }
  .asking a {
    padding: 0.65rem 0.4rem !important;
    gap: 0.75rem !important;
  }
  .asking .avatar {
    width: 36px !important;
    height: 36px !important;
    --s: 36px !important;
    flex-shrink: 0;
  }
  .asking b {
    font-size: 0.94rem !important;
    line-height: 1.25 !important;
  }
  .asking small {
    font-size: 0.78rem !important;
  }
  .asking a > svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  /* Site Header Bar */
  .bar {
    min-height: 60px !important;
  }
  .bar__in {
    min-height: 60px !important;
    gap: 0.65rem !important;
  }
  .bar__brand .logo-img {
    width: 44px !important;
    height: 44px !important;
  }
  .bar__tools {
    gap: 0.45rem !important;
  }
  .bar__search {
    width: 38px !important;
    height: 38px !important;
  }
  .bar__search svg {
    width: 18px !important;
    height: 18px !important;
  }
  .menu-btn {
    width: 38px !important;
    height: 38px !important;
  }

  /* Hero Headline & Copy */
  .hero-banner {
    padding-top: 1.15rem !important;
    padding-bottom: 1.75rem !important;
  }
  .hero-banner h1 {
    font-size: clamp(1.85rem, 1.45rem + 2.2vw, 2.35rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    max-width: 100% !important;
    margin-top: 0.7rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .hero-banner .lede {
    font-size: 1.02rem !important;
    line-height: 1.45 !important;
    margin: 0.75rem 0 1.25rem !important;
  }

  /* Hero Search Input & Button */
  .qsearch__field {
    min-height: 48px !important;
    padding: 0.35rem 0.35rem 0.35rem 1rem !important;
    border-radius: 999px !important;
  }
  .qsearch input {
    font-size: 0.96rem !important;
    padding: 0.55rem 0.25rem !important;
  }
  .qsearch .btn {
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
  }
  .qsearch .btn span {
    display: none !important;
  }
  .qsearch .btn svg {
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
  }

  /* Search chips */
  .qsearch__chips {
    gap: 0.4rem !important;
    margin-top: 0.85rem !important;
    justify-content: flex-start !important;
  }
  .chip {
    min-height: 34px !important;
    padding: 0.3rem 0.75rem !important;
    font-size: 0.82rem !important;
  }

  /* Trio experts */
  .trio {
    margin-top: 1.35rem !important;
    padding-top: 1rem !important;
    gap: 0.75rem !important;
  }
  .trio__faces .avatar {
    width: 36px !important;
    height: 36px !important;
    --s: 36px !important;
  }
  .trio__faces .avatar + .avatar {
    margin-left: -10px !important;
  }
  .trio p {
    font-size: 0.86rem !important;
    line-height: 1.35 !important;
  }

  /* Section Spacing & Headings */
  .section {
    padding-block: 2.25rem !important;
  }
  .section--tight {
    padding-block: 1.65rem !important;
  }
  .section-head h2 {
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.1rem) !important;
    line-height: 1.2 !important;
  }
  .section-head .lede {
    font-size: 0.98rem !important;
    margin-top: 0.45rem !important;
  }

  /* Featured Expert Sears Band */
  .sears__band {
    padding: 1.25rem 1rem !important;
    border-radius: 18px !important;
    gap: 1.25rem !important;
  }
  .sears__who .avatar {
    width: 50px !important;
    height: 50px !important;
    --s: 50px !important;
  }
  .sears__who h2 {
    font-size: 1.35rem !important;
  }
  .cred-chips {
    gap: 0.35rem !important;
  }
  .cred-chips li {
    font-size: 0.76rem !important;
    padding: 0.2rem 0.55rem !important;
  }

  /* Topics Section rows */
  .topic-row {
    grid-template-columns: 2.4rem 1fr auto !important;
    gap: 0.25rem 0.65rem !important;
    padding: 0.85rem 0.2rem !important;
  }
  .topic-row .name {
    font-size: 1.15rem !important;
  }
  .topic-row .go {
    width: 38px !important;
    height: 38px !important;
  }

  /* Recently Answered cards */
  .answers {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .answer-card {
    padding: 1.15rem !important;
  }
  .answer-card .q {
    font-size: 1.15rem !important;
  }

  /* Watch & listen formats */
  .fmt-col {
    padding: 1.25rem 1rem !important;
  }
  .fmt-col ul a {
    grid-template-columns: 88px 1fr !important;
    gap: 0.65rem !important;
    padding: 0.55rem !important;
  }
  .fmt-col ul a img {
    width: 88px !important;
    height: 52px !important;
    object-fit: cover;
  }
  .fmt-col ul b {
    font-size: 0.9rem !important;
    line-height: 1.25 !important;
  }

  /* Ask Doctor Band */
  .ask-band {
    padding: 1.5rem 1.15rem !important;
    border-radius: 18px !important;
    gap: 1.5rem !important;
  }
  .ask-band h2 {
    font-size: 1.65rem !important;
  }
  .ask-band__card {
    padding: 1.15rem !important;
    transform: none !important;
  }
  .ask-band__card .q {
    font-size: 1.1rem !important;
  }

  /* Book Section */
  .book {
    gap: 1.75rem !important;
  }
  .book h2 {
    font-size: 1.65rem !important;
  }
  .book__cover {
    max-width: 200px !important;
    margin: 0 auto;
  }

  /* Trust Section */
  .trust {
    grid-template-columns: 1fr !important;
  }

  /* Newsletter Section */
  .newsletter {
    padding: 1.5rem 1.15rem !important;
  }
}

@media (max-width: 480px) {
  /* Compact Parent Badge in Header */
  .bar__parent-link-text {
    display: none !important;
  }
  .bar__parent-link {
    padding: 0.35rem 0.5rem !important;
  }
}

/* Topic Hub & "Start here" Spacing Refinement */
.page-head:has(.hub-meta),
.page-head--tint:has(.hub-meta) {
  padding-bottom: 1.25rem !important;
}

.page-head:has(.hub-meta) + .section--tight,
.page-head--tint:has(.hub-meta) + .section--tight {
  padding-top: 1.25rem !important;
}

@media (max-width: 768px) {
  .page-head:has(.hub-meta),
  .page-head--tint:has(.hub-meta) {
    padding-bottom: 0.85rem !important;
  }
  .page-head:has(.hub-meta) + .section--tight,
  .page-head--tint:has(.hub-meta) + .section--tight {
    padding-top: 1rem !important;
  }
}


