/* =========================================================
   BioRenew Landing Page
   Single stylesheet — organized top-to-bottom by section.
   ========================================================= */


/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  --color-navy: #1d2836;
  --color-cream: #f3f0ea;
  --color-green: #3e4d42;
  --color-green-hover: #4f6354;
  --color-white: #ffffff;

  --font-display: "optima-lt-pro", "Optima", "Optima Nova", Georgia, "Times New Roman", serif;
  --font-body: "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;

  --radius-pill: 999px;
  --radius-card: 24px;
  --container-max: 1280px;
  --header-height: 88px;

  --letter-spacing-caps: 0.08em;
}


/* ---------- 2. RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-navy);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* <picture> wrappers (WebP + fallback) must be transparent to layout so the
   inner <img>'s sizing/object-fit resolves against the real parent (e.g. the
   figure box), not the inline <picture>. Without this, object-fit:cover images
   stop filling their containers once wrapped. */
picture {
  display: contents;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.heading-optima {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  line-height: 1.15;
}

h1, h2, h3, h4, h5, h6,
.heading-optima {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 3.4vw, 44px);
  margin-bottom: clamp(32px, 5vw, 64px);
}


/* ---------- 3. BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-green);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--color-green-hover);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.85);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}


/* ---------- 4. HEADER / NAVIGATION ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: transparent;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: rgba(61, 47, 37, 0.55);
}

.site-header.is-scrolled {
  /* Frosted-glass header, used site-wide. A strong backdrop blur turns
     whatever scrolls underneath (including large light-on-navy hero
     headlines) into a soft, abstract wash rather than legible text that
     reads as an "overlap." Paired with a high cream opacity so the bar
     still reads as a solid premium surface. The low scroll threshold in
     script.js (frosts almost immediately on scroll) keeps the transparent
     window — where un-frosted content could touch the header — to a sliver. */
  background-color: rgba(243, 240, 234, 0.82);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
}

.site-header.is-scrolled::after {
  background: rgba(61, 47, 37, 0.55);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-inline: clamp(20px, 4vw, 48px);
}

.site-header__logo img {
  height: 60px;
  width: auto;
  transition: filter 0.3s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.5vw, 48px);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

/* Direct children only. The Therapies dropdown lives inside this list but
   sits on its own light panel, so header-state colouring (cream nav over a
   dark hero, for instance) must never reach it. */
.site-nav__list > li > a,
.site-nav__subtoggle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  color: #3d2f25;
  transition: opacity 0.2s ease, color 0.3s ease;
}
.site-nav__list > li > a:hover {
  opacity: 0.75;
}
.site-header.is-scrolled .site-nav__list > li > a,
.site-header.is-scrolled .site-nav__subtoggle {
  color: #3d2f25;
}

.site-header .btn--outline {
  color: #3d2f25;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(61, 47, 37, 0.70);
}
.site-header .btn--outline:hover {
  background: rgba(255, 255, 255, 0.82);
}
.site-header.is-scrolled .btn--outline {
  background: var(--color-green);
  color: var(--color-white);
  border-color: var(--color-green);
}
.site-header.is-scrolled .btn--outline:hover {
  background: var(--color-green-hover);
  border-color: var(--color-green-hover);
}

.nav-toggle span {
  background: rgba(61, 47, 37, 0.9);
}
.site-header.is-scrolled .nav-toggle span {
  background: rgba(61, 47, 37, 0.9);
}

.site-nav__cta {
  padding: 13px 28px;
  font-size: 16px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: auto;
  background: rgba(243, 240, 234, 0.94);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  padding: 8px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  z-index: 60;
  box-shadow: 0 12px 30px rgba(29, 40, 54, 0.12);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.mobile-menu__list li {
  width: 100%;
  border-bottom: 1px solid rgba(61, 47, 37, 0.12);
}
.mobile-menu__list li:last-child {
  border-bottom: 0;
}
.mobile-menu__list a {
  display: block;
  padding: 14px 4px;
  font-size: 18px;
  color: rgba(61, 47, 37, 1);
}
.mobile-menu__cta {
  margin-top: 12px;
  align-self: center;
}


/* ---------- 5. HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: var(--color-cream);
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(243, 240, 234, 0.62) 0%,
    rgba(243, 240, 234, 0.32) 38%,
    rgba(243, 240, 234, 0) 65%
  );
  z-index: 1;
}

.hero__panel--left {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  z-index: 2;
  pointer-events: none;
}
.hero__panel--left .hero__copy {
  pointer-events: auto;
}

.hero__panel--right {
  display: none;
}

.hero__copy {
  padding: clamp(24px, 5vw, 80px);
  padding-right: 0;
  max-width: 800px;
}

.hero__title {
  font-size: clamp(40px, 4vw + 16px, 66px);
  line-height: 1.15;
  color: var(--color-navy);
  margin-bottom: clamp(14px, 1.6vw, 18px);
  max-width: 800px;
}
.hero__title em {
  font-style: italic;
}

.hero__supporting {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 0.5vw + 14px, 20px);
  line-height: 1.55;
  color: rgba(29, 40, 54, 0.82);
  margin: 0 0 clamp(24px, 3vw, 36px);
  max-width: 575px;
  text-wrap: pretty;
}

.hero__book-note {
  margin: 16px 0 12px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(29, 40, 54, 0.82);
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero .book-actions .btn--outline,
.consultation-card .book-actions .btn--outline {
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(29, 40, 54, 0.45);
}

.hero .book-actions .btn--outline:hover,
.consultation-card .book-actions .btn--outline:hover {
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.92);
}


/* ---------- 6. HOW IT WORKS ---------- */
#how-it-works {
  scroll-margin-top: var(--header-height);
}

.steps {
  background: var(--color-cream);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(72px, 10vw, 128px);
  color: var(--color-navy);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 5vw, 72px);
}

.steps__grid--four {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.steps__grid--four .step {
  text-align: left;
  padding: clamp(22px, 2vw, 30px);
  background: #fbf9f4;
  border: 1px solid rgba(29, 40, 54, 0.08);
  border-radius: 6px;
  box-shadow:
    0 1px 2px rgba(29, 40, 54, 0.04),
    0 12px 32px rgba(29, 40, 54, 0.05);
  padding-inline: clamp(22px, 2vw, 30px);
}

.steps__grid--four .step__num {
  width: 32px;
  height: 32px;
  font-size: 15px;
  margin: 0 0 18px;
}

.steps__grid--four .step__title {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.2;
  margin-bottom: 10px;
}

.steps__grid--four .step__body {
  font-size: 15px;
  line-height: 1.55;
  max-width: none;
  margin-inline: 0;
  color: rgba(29, 40, 54, 0.72);
}

.steps__cta {
  margin-top: clamp(36px, 4.5vw, 56px);
  text-align: center;
}

.steps__cta-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--color-green);
  text-decoration: none;
  border-bottom: 1px solid rgba(62, 77, 66, 0.35);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.steps__cta-link:hover {
  color: var(--color-green-hover);
  border-bottom-color: var(--color-green-hover);
}

.steps__cta-arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.steps__cta-link:hover .steps__cta-arrow {
  transform: translateX(3px);
}

.step {
  text-align: center;
  padding-inline: clamp(8px, 2vw, 24px);
}

.step__num {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  border: 1px solid var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}
.step__num span {
  transform: translateY(-1px);
  display: block;
}

.step__title {
  font-size: clamp(22px, 2vw, 28px);
  margin-bottom: var(--space-md);
}

.step__body {
  font-size: 16px;
  line-height: 1.55;
  max-width: 280px;
  margin-inline: auto;
}


/* ---------- 7. WHAT CAN STEM CELLS HELP WITH? — STATIC GLASS BUBBLES ---------- */
.bubbles {
  background: var(--color-navy);
  color: var(--color-white);
  padding-top: 72px;
  padding-bottom: 72px;
}

.bubbles__title {
  color: var(--color-white);
  margin-bottom: 14px;
}

/* CTA under the replaced (formerly disease-list) section. */
.bubbles__cta {
  text-align: center;
  margin-top: 8px;
}

.bubbles__lede {
  max-width: 56ch;
  margin: 0 auto 32px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.bubble-cloud {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 1100px;
  margin-inline: auto;
}

.bubble-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;

  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 6px 16px rgba(0, 0, 0, 0.22);

  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.bubble:hover,
.bubble:focus-visible {
  transform: translateY(-2px) scale(1.03);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.14) 100%);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.40),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.28);
  outline: none;
}


/* ---------- 8. PROCESS — FROM SOURCE TO CLINIC ---------- */
.process {
  background: #EEF4EC;
  color: var(--color-navy);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(72px, 10vw, 128px);
  /* Hairline on both edges so the band is bracketed the same way top and
     bottom — without the top rule it just bled out of the RISE list above. */
  border-top: 1px solid rgba(29, 40, 54, 0.08);
  border-bottom: 1px solid rgba(29, 40, 54, 0.08);
}

.process__title {
  color: var(--color-navy);
  margin-bottom: 12px;
}

.process__subtitle {
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto clamp(36px, 4vw, 52px);
  color: rgba(29, 40, 54, 0.74);
  text-wrap: pretty;
  hyphens: none;
}

.process__flow {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(8px, 1.4vw, 22px);
  align-items: start;
  max-width: 1240px;
  margin-inline: auto;
}

.process__flow::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: calc(clamp(140px, 13vw, 176px) + 14px + 16px);
  height: 1px;
  background: rgba(29, 40, 54, 0.18);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 6px;
}

.process-step__art {
  width: clamp(140px, 13vw, 176px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.process-step__icon {
  display: block;
  width: 78%;
  height: 78%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 768px) {
  .process-step:nth-child(2) .process-step__icon {
    width: 100%;
    height: 100%;
  }
  .process-step:nth-child(4) .process-step__icon {
    width: 68%;
    height: 68%;
  }
  .process-step:nth-child(5) .process-step__icon {
    transform: translateY(6%);
  }
}

.process-step__num {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EEF4EC;
  color: rgba(29, 40, 54, 0.78);
  border: 1px solid rgba(29, 40, 54, 0.22);
  border-radius: 50%;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.process-step__title {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--color-navy);
  text-wrap: balance;
  max-width: 210px;
}

.process-step__body {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
  color: rgba(29, 40, 54, 0.66);
  max-width: 220px;
  text-wrap: pretty;
}


/* ---------- 9. THE SCIENCE ---------- */
.science {
  background: var(--color-navy);
  color: var(--color-white);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(72px, 10vw, 128px);
}

.science__title {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.science__intro {
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: clamp(32px, 4vw, 48px);
  text-wrap: pretty;
  hyphens: none;
}

.science__diagram {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}

.science__orbit {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}

.science__sphere-wrap {
  --core-label-x: 50%;
  --core-label-y: 43%;
  position: relative;
  width: 60%;
  max-width: 620px;
  margin-inline: auto;
}

.science__sphere {
  display: block;
  width: 100%;
  height: auto;
  animation: sphereGlow 8s ease-in-out infinite;
}
@keyframes sphereGlow {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.12); }
}

.science__core-label {
  position: absolute;
  top: var(--core-label-y);
  left: var(--core-label-x);
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--color-white);
  line-height: 1.05;
  pointer-events: none;
  z-index: 1;
}

.science__core-label small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(10px, 0.95vw, 13px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 8px;
  line-height: 1.3;
}

.node {
  position: absolute;
  width: 18%;
  max-width: 210px;
  color: var(--color-white);
}

.node__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: var(--letter-spacing-caps);
  margin-bottom: 8px;
}

.node__body {
  font-size: 14px;
  line-height: 1.55;
}

.node--tl {
  top: 14%;
  left: 2%;
  text-align: right;
}
.node--tr {
  top: 14%;
  right: 2%;
  text-align: left;
}
.node--bl {
  top: 58%;
  left: 2%;
  text-align: right;
}
.node--br {
  top: 58%;
  right: 2%;
  text-align: left;
}

.science__callout {
  text-align: center;
  width: 100%;
  max-width: 460px;
  margin: -2% auto 0;
}
.science__footnote {
  font-size: 14px;
  line-height: 1.55;
  padding: 15px 0 0;
}


/* ---------- 10. LAB CREDIBILITY ---------- */
.lab {
  background: var(--color-cream);
  color: var(--color-navy);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: 32px;
}

.lab__inner {
  text-align: center;
}

.lab__title {
  margin: 0 0 14px;
}

.lab__body {
  max-width: 64ch;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(29, 40, 54, 0.78);
}

.lab__badges {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3.2vw, 44px);
  max-width: 1160px;
  margin: 0 auto 32px;
  padding-inline: clamp(16px, 2.5vw, 32px);
}
.lab__badges img {
  height: clamp(64px, 7vw, 92px);
  width: auto;
  min-width: 0;
}


/* ---------- 11. LEGAL DISCLAIMER ---------- */
.legal-disclaimer {
  background: var(--color-cream);
  padding-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid rgba(29, 40, 54, 0.08);
}

.legal-disclaimer__inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: left;
}

/* F-02 (CRITICAL) — Utah statutory notice presentation.
   Utah Code 58-1-512(5)(c) requires the notice in non-print advertising to be
   "clearly legible in a font size no smaller than the largest font size used in
   the advertisement," or clearly spoken. The largest font on this site is the
   hero headline at up to 66px, so the sizes below do NOT yet satisfy a literal
   reading of the statute — this is an interim legibility improvement only
   (12px/55% opacity -> 17px/full contrast, bordered, full-width emphasis).
   Final sizing is pending Utah counsel's determination. Do not treat this as
   compliant until that determination is documented. */
.legal-disclaimer p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(29, 40, 54, 0.85);
  margin: 0 0 14px;
}

/* The statutory notice itself carries more weight than the FDA note. */
.legal-disclaimer p.legal-disclaimer__statutory {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(29, 40, 54, 0.25);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 0;
}
.legal-disclaimer p:last-child {
  margin-bottom: 0;
}


/* ---------- 12. TESTIMONIALS (PLACEHOLDER) ---------- */
.testimonials {
  background: var(--color-navy);
  color: var(--color-white);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.testimonials__title {
  color: var(--color-white);
  margin-bottom: 14px;
}

.testimonials__intro {
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto clamp(40px, 5vw, 56px);
  color: rgba(255, 255, 255, 0.68);
  text-wrap: pretty;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1100px;
  margin-inline: auto;
}

.testimonial-card {
  padding: 8px clamp(24px, 2.5vw, 36px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}
.testimonial-card:first-child {
  border-left: 0;
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-wrap: pretty;
}

.testimonial-card__attrib {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.testimonials__dots {
  display: none;
}


/* ---------- 13. BOTTOM CTA ---------- */
.cta-final {
  position: relative;
  min-height: clamp(360px, 36vw, 460px);
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(32px, 6vw, 80px);
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: image-set(
    url("assets/images/cta-bubbles.webp") type("image/webp"),
    url("assets/images/cta-bubbles.jpg") type("image/png")
  );
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  z-index: 0;
}

.cta-final__card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-card);
  padding: clamp(32px, 5vw, 64px);
  width: min(560px, 100%);
  text-align: center;
}

.cta-final__title {
  font-size: clamp(26px, 3vw, 40px);
  color: var(--color-navy);
  margin-bottom: clamp(24px, 3vw, 36px);
  text-align: center;
}
.cta-final__title em {
  font-style: italic;
}


/* ---------- 14. FOOTER ---------- */
.site-footer {
  background: #0c121b;
  color: var(--color-white);
  padding-top: clamp(56px, 6vw, 80px);
  padding-bottom: clamp(28px, 3vw, 40px);
}

.site-footer__inner {
  display: block;
}

.site-footer__logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.footer-tagline {
  margin-top: 18px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col--signup .footer-heading--lg {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-white);
  margin-bottom: 12px;
}
.footer-signup-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 18px;
  max-width: 48ch;
}
.footer-signup {
  display: flex;
  gap: 10px;
  max-width: 440px;
  flex-wrap: wrap;
}
.footer-signup__input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.footer-signup__input::placeholder { color: rgba(255, 255, 255, 0.45); }
.footer-signup__input:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.09);
}
.footer-signup__btn {
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: var(--color-green);
  color: var(--color-white);
  border: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.footer-signup__btn:hover { background: var(--color-green-hover); }

.footer-mid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 56px);
}

.footer-heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: var(--letter-spacing-caps);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--color-white); }

.footer-links--contact li {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.footer-contact__label {
  color: rgba(255, 255, 255, 0.5);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: clamp(36px, 4vw, 56px) 0 clamp(20px, 2vw, 28px);
}
.footer-disclaimer {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.50);
  max-width: 80ch;
  margin-bottom: 20px;
}
.site-footer__legal {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.50);
  margin-top: 0;
}


/* =========================================================
   RESPONSIVE — TABLET (<= 1023px)
   ========================================================= */
@media (max-width: 1023px) {

  .site-header__logo img { height: 50px; }

  .site-nav { gap: 14px; }
  .site-nav__list { gap: 14px; }
  .site-nav__list > li > a,
  .site-nav__subtoggle { white-space: nowrap; }
  .site-nav__cta {
    padding: 11px 16px;
    font-size: 15px;
  }

  .hero__image {
    object-position: 35% center;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(243, 240, 234, 0.68) 0%,
      rgba(243, 240, 234, 0.45) 52%,
      rgba(243, 240, 234, 0.18) 100%
    );
  }

  .lab__badges {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    align-items: center;
    gap: 36px 64px;
    max-width: none;
    padding-inline: 0;
  }
  .lab__badges img { height: 72px; }

  .process__flow {
    grid-template-columns: repeat(3, 1fr);
    row-gap: clamp(48px, 7vw, 64px);
  }
  .process__flow::before {
    display: none;
  }

  .steps__grid--four {
    grid-template-columns: repeat(2, 1fr);
    row-gap: clamp(20px, 3vw, 28px);
    column-gap: clamp(20px, 3vw, 28px);
    max-width: 760px;
    margin-inline: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-mid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 40px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-width: 480px;
    gap: 0;
    position: relative;
  }
  .testimonial-card {
    grid-area: 1 / 1;
    border-left: 0;
    border-top: 0;
    padding: 8px 4px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 600ms ease, transform 600ms ease;
    pointer-events: none;
  }
  .testimonial-card:first-child {
    border-top: 0;
    padding-top: 8px;
  }
  .testimonial-card.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
  }
  .testimonials__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.26);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
  }
  .testimonials__dot::after {
    content: "";
    position: absolute;
    inset: -10px;
  }
  .testimonials__dot.is-active {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.15);
  }

  @media (prefers-reduced-motion: reduce) {
    .testimonial-card,
    .testimonials__dot { transition: none; }
  }
}


/* Below ~1320px the hero photo is shorter than the copy, including
   the call/text buttons. Let the copy set the height so those
   buttons are not clipped by the photo. */
@media (max-width: 1320px) {
  .hero {
    height: auto;
    min-height: clamp(520px, 70vw, 720px);
  }
  .hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 35% center;
  }
  .hero__panel--left {
    position: relative;
    align-items: flex-start;
    padding-top: calc(var(--header-height) + 36px);
    padding-bottom: clamp(40px, 6vw, 72px);
  }
}

/* =========================================================
   RESPONSIVE — MOBILE (<= 767px)
   ========================================================= */
@media (max-width: 767px) {

  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header__logo img { height: 42px; }

  .site-header:not(.is-scrolled)::after {
    background: rgba(61, 47, 37, 0.55);
  }
  .site-header:not(.is-scrolled) .nav-toggle span {
    background: rgba(61, 47, 37, 0.9);
  }

  /* Hero grows with its content instead of a fixed height. Previously a
     fixed-height hero + vertically-centered copy meant that on short
     viewports the (tall) copy overflowed UPWARD and the headline's first
     line rendered behind the fixed 88px header. Now the copy column is
     in normal flow and top-anchored just below the header, and the image
     fills the hero absolutely — no overlap, no clipping of the CTA. */
  .hero {
    height: auto;
    min-height: clamp(460px, 100vw, 600px);
  }
  .hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
  }
  .hero__panel--left {
    position: relative;        /* in-flow → drives hero height, prevents clipping */
    align-items: flex-start;   /* anchor copy to the top, just under the header */
    padding-top: calc(var(--header-height) + 28px);  /* clears the 88px fixed header with breathing room */
    padding-bottom: clamp(48px, 12vw, 88px);
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(243, 240, 234, 0.86) 0%,
      rgba(243, 240, 234, 0.62) 50%,
      rgba(243, 240, 234, 0.28) 100%
    );
  }
  .hero__copy {
    padding: 0 28px;
    max-width: 100%;
    text-align: left;
  }

  .hero__title {
    max-width: 100%;
    font-size: clamp(34px, 9vw, 38px);
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .hero__supporting {
    max-width: 300px;
    font-size: 16px;
    line-height: 1.5;
  }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .process {
    padding-block: clamp(40px, 8vw, 56px);
  }
  .process__subtitle {
    font-size: 16px;
    margin-bottom: 20px;
    padding-inline: 16px;
  }
  .process__flow {
    grid-template-columns: 1fr;
    row-gap: 0;
    max-width: 360px;
    margin-inline: auto;
  }
  .process__flow::before {
    display: none;
  }
  .process-step {
    padding-inline: 0;
    padding-bottom: 22px;
  }
  .process-step__art {
    width: 92px;
    margin-bottom: 4px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }
  .process-step__icon {
    width: 100%;
    height: 100%;
  }
  .process-step__num {
    margin-bottom: 6px;
  }
  .process-step__title {
    font-size: 17px;
    margin-bottom: 6px;
    max-width: none;
  }
  .process-step__body {
    font-size: 14px;
    line-height: 1.5;
    max-width: 280px;
    margin-inline: auto;
  }

  .process-step:nth-child(2) .process-step__art {
    margin-bottom: -10px;
  }
  .process-step:nth-child(2) .process-step__num {
    margin-bottom: 4px;
  }

  .steps {
    padding-block: clamp(48px, 9vw, 64px);
  }
  .steps .section-title {
    margin-bottom: clamp(20px, 5vw, 28px);
  }
  .steps__grid--four {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
    margin-inline: 0;
  }
  .steps__grid--four .step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 6px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 14px;
    box-shadow:
      0 1px 2px rgba(29, 40, 54, 0.04),
      0 4px 16px rgba(29, 40, 54, 0.04);
  }
  .steps__grid--four .step__num {
    grid-column: 1;
    grid-row: 1;
    width: 28px;
    height: 28px;
    font-size: 13px;
    margin: 0;
  }
  .steps__grid--four .step__title {
    grid-column: 2;
    grid-row: 1;
    font-size: 17px;
    margin: 0;
    line-height: 1.2;
  }
  .steps__grid--four .step__body {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 14px;
    line-height: 1.45;
    max-width: none;
    margin-inline: 0;
  }

  .science__diagram {
    max-width: 100%;
  }
  .science__title {
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: normal;
    margin-bottom: 16px;
  }
  .science__intro {
    font-size: 17px;
    line-height: 1.45;
    max-width: 360px;
    letter-spacing: normal;
    margin-inline: auto;
    padding-inline: 8px;
  }
  .science__orbit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .science__sphere-wrap {
    width: clamp(280px, 90vw, 460px);
    order: 1;
  }

  .node {
    position: static !important;
    width: 100% !important;
    max-width: 360px;
    text-align: center !important;
  }
  .node--tl { order: 2; }
  .node--tr { order: 3; }
  .node--bl { order: 4; }
  .node--br { order: 5; }

  .science__callout {
    margin-top: var(--space-md);
  }

  .lab__badges {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 28px 36px;
    max-width: none;
    padding-inline: 0;
  }
  .lab__badges img { height: 56px; }

  .bubble-cloud {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-inline: 8px;
  }
  .bubble-row {
    display: contents;
  }
  .bubble {
    padding: 11px 20px;
    font-size: 14px;
  }

  .cta-final {
    justify-content: center;
    padding: 24px;
  }

  .lab__title,
  .cta-final__title {
    font-size: 28px;
    line-height: 1.15;
  }

  .footer-top {
    display: block;
    margin-bottom: 32px;
  }
  .footer-col--signup {
    display: none;
  }
  .footer-tagline {
    margin-top: 12px;
  }
  .footer-mid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .footer-heading {
    font-size: 12px;
    margin-bottom: 14px;
  }
  .footer-links li,
  .footer-links a {
    font-size: 14px;
  }
  .footer-divider {
    margin: 28px 0 16px;
  }
  .footer-disclaimer {
    font-size: 11.5px;
    line-height: 1.55;
  }
  .legal-disclaimer p {
    font-size: 11px;
  }
}


/* =========================================================
   FORM STATUS MESSAGES (injected by analytics.js)
   Status slot is now only used for inline error feedback —
   success swaps the form for a confirmation panel below.
   ========================================================= */
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
}
.form-status--error {
  background: rgba(180, 60, 60, 0.08);
  color: #8b2a2a;
  border: 1px solid rgba(180, 60, 60, 0.30);
}
form.is-submitting button[type="submit"] {
  opacity: 0.7;
  cursor: wait;
}


/* =========================================================
   FORM SUCCESS PANEL (replaces the form on successful submit)
   Lives wherever the form was (.consultation-form,
   .info-form, etc.) so the surrounding section styling
   carries over. Centered, calm, on-brand.
   ========================================================= */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 40px);
  outline: none;
  /* Subtle entrance — keeps the swap from feeling abrupt */
  animation: form-success-in 320ms ease-out;
}
@keyframes form-success-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-success__check {
  color: var(--color-green);
  margin-bottom: clamp(16px, 2vw, 24px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.form-success__check svg {
  width: clamp(48px, 6vw, 64px);
  height: clamp(48px, 6vw, 64px);
}

.form-success__title {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  color: var(--color-navy);
  margin: 0 0 clamp(12px, 1.6vw, 18px);
  max-width: 28ch;
}

.form-success__body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: rgba(29, 40, 54, 0.78);
  margin: 0 0 12px;
  max-width: 44ch;
}
.form-success__body--muted {
  color: rgba(29, 40, 54, 0.55);
  margin-bottom: 18px;
}

.form-success__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--color-green);
  border-bottom: 1px solid rgba(62, 77, 66, 0.35);
  padding-bottom: 3px;
  margin-top: 4px;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.form-success__link:hover {
  color: var(--color-green-hover);
  border-bottom-color: var(--color-green-hover);
}
.form-success__link:hover span {
  transform: translateX(3px);
  display: inline-block;
  transition: transform 0.2s ease;
}

/* Footer newsletter inline confirmation — replaces the small signup form
   with a quiet line that fits the footer's compressed visual rhythm. */
.newsletter-confirm {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  padding: 13px 4px;
}


/* =========================================================
   ACCESSIBILITY — reduce motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   THERAPIES WE OFFER (homepage grid)
   ========================================================= */
.therapies { padding-block: clamp(56px, 7vw, 96px); }
.therapies__lede {
  text-align: center;
  max-width: 62ch;
  margin: -16px auto clamp(32px, 4vw, 52px);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(29, 40, 54, 0.75);
  text-wrap: pretty;
}
.therapy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 1120px;
  margin-inline: auto;
}
.therapy-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--color-white);
  border: 1px solid rgba(29, 40, 54, 0.10);
  border-radius: 18px;
  padding: clamp(22px, 2.6vw, 28px);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.therapy-card:hover {
  border-color: rgba(62, 77, 66, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(29, 40, 54, 0.08);
}
.therapy-card__title {
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.25;
  color: var(--color-navy);
}
.therapy-card__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(29, 40, 54, 0.75);
  flex: 1;
}
.therapy-card__link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-green);
  margin-top: 4px;
}


/* =========================================================
   THERAPIES SUB-MENU (desktop dropdown + mobile accordion)
   ========================================================= */
.site-nav__list .has-sub { position: relative; }

.site-nav__subtoggle,
.mobile-menu__subtoggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  color: #3d2f25;
  /* Matches the colour transition on the sibling nav links so the whole
     bar fades together when the header frosts on scroll. */
  transition: opacity 0.2s ease, color 0.3s ease;
}
.site-nav__subtoggle:hover,
.mobile-menu__subtoggle:hover { opacity: 0.75; }

.site-nav__caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
[aria-expanded="true"] > .site-nav__caret { transform: rotate(-135deg) translateY(-2px); }

.site-nav__sub {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 248px;
  background: rgba(243, 240, 234, 0.97);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(29, 40, 54, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(29, 40, 54, 0.16);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 70;
}
.has-sub:hover .site-nav__sub,
.has-sub:focus-within .site-nav__sub,
.site-nav__subtoggle[aria-expanded="true"] + .site-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Hover bridge so the pointer can travel to the panel. */
.has-sub::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}
.site-nav__sub a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 15.5px;
  color: var(--color-navy);
  transition: background 0.15s ease;
}
.site-nav__sub a:hover { background: rgba(62, 77, 66, 0.10); }

/* --- Mobile accordion --- */
.mobile-menu__group { width: 100%; border-bottom: 1px solid rgba(61, 47, 37, 0.12); }
.mobile-menu__subtoggle {
  width: 100%;
  justify-content: space-between;
  padding: 14px 4px;
  /* Matches .mobile-menu__list a exactly, so Therapies sits in the drawer
     at the same size, colour and row height as How it Works, Our Science
     and Our Story. The shared .site-nav__subtoggle rule sets 17px for the
     desktop bar; the drawer needs 18px. */
  font-size: 18px;
  line-height: 1.5;
}
.mobile-menu__sub { padding: 0 0 8px 14px; }
.mobile-menu__sub[hidden] { display: none; }
.mobile-menu__sub li { border-bottom: 0; }
.mobile-menu__sub a {
  display: block;
  padding: 10px 4px;
  font-size: 15px;
  color: rgba(29, 40, 54, 0.82);
}


/* =========================================================
   RISE UP list (stem cells page)
   ========================================================= */
.rise {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.rise__row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: baseline;
  background: var(--color-white);
  border: 1px solid rgba(29, 40, 54, 0.10);
  border-radius: 14px;
  padding: 16px 20px;
}
/* The letter is an index, not a heading — it sits on the same baseline as
   the title it labels, so the eye reads letter → title → detail rather
   than being pulled to a large green character floating above the line. */
.rise__letter {
  font-size: 27px;
  line-height: 1;
  color: var(--color-green);
  text-align: center;
  letter-spacing: 0.01em;
}
.rise__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  color: var(--color-navy);
  margin-bottom: 2px;
}
.rise__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(29, 40, 54, 0.78);
}
@media (max-width: 560px) {
  .rise__row { grid-template-columns: 30px 1fr; gap: 13px; padding: 14px 16px; }
  .rise__letter { font-size: 24px; }
  .rise__body { font-size: 14.5px; }
}


/* =========================================================
   MECHANISM OF ACTION (sits inside the dark .science section)
   ========================================================= */
.moa {
  margin: clamp(28px, 4vw, 44px) auto 0;
  max-width: 940px;
  text-align: center;
}
.moa__art {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  padding: clamp(26px, 4vw, 44px);
}
.moa__img {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-inline: auto;
}
/* The supplied chart is a light artwork; give it a white plate so it
   reads correctly on the dark section and let it run full width. */
.moa__art--chart {
  background: #fff;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(29, 40, 54, 0.10);
}
.science .moa__art--chart { border-color: rgba(255, 255, 255, 0.14); }
.moa__art--chart img { width: 100%; max-width: none; height: auto; }

/* Default: the chart sits on a light page (stem cells). */
.moa__caption {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(29, 40, 54, 0.78);
  text-wrap: pretty;
}
/* Inside the dark homepage section, flip to light type. */
.science .moa__caption { color: rgba(255, 255, 255, 0.76); }

.moa__lead {
  margin: clamp(40px, 5vw, 60px) 0 clamp(20px, 2.5vw, 28px);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--color-white);
}

.moa-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 1040px;
  margin-inline: auto;
}
.moa-action {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: clamp(22px, 2.6vw, 28px);
  text-align: left;
}
.moa-action__num {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-caps);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}
.moa-action__title {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 8px;
}
.moa-action__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   CALL / TEXT CHOOSER — tap any phone number
   Bottom sheet on mobile, centered modal on desktop.
   Markup is injected by script.js; styles live here.
   ========================================================= */
.phone-sheet[hidden] { display: none; }

.phone-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;          /* bottom sheet on mobile */
  justify-content: center;
}

.phone-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 40, 54, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.phone-sheet.is-open .phone-sheet__backdrop { opacity: 1; }

.phone-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--color-cream);
  color: var(--color-navy);
  border-radius: 24px 24px 0 0;
  padding: 26px 22px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -18px 50px rgba(29, 40, 54, 0.28);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
}
.phone-sheet.is-open .phone-sheet__panel { transform: translateY(0); }

.phone-sheet__eyebrow {
  margin: 0 0 2px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-caps);
  color: var(--color-green);
}
.phone-sheet__number {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--color-navy);
}

.phone-sheet__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.phone-sheet__action svg { width: 20px; height: 20px; flex: none; }

.phone-sheet__panel:focus { outline: none; }
.phone-sheet__action:focus-visible,
.phone-sheet__cancel:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 3px;
}

.phone-sheet__action--call {
  background: var(--color-green);
  color: var(--color-white);
}
.phone-sheet__action--call:hover,
.phone-sheet__action--call:focus-visible { background: var(--color-green-hover); }

.phone-sheet__action--text {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.phone-sheet__action--text:hover,
.phone-sheet__action--text:focus-visible { background: rgba(29, 40, 54, 0.06); }

.phone-sheet__cancel {
  display: block;
  width: 100%;
  margin: 2px 0 0;
  padding: 12px;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-navy);
  opacity: 0.6;
  cursor: pointer;
}
.phone-sheet__cancel:hover,
.phone-sheet__cancel:focus-visible { opacity: 1; }

/* Desktop — centered modal instead of a bottom sheet */
@media (min-width: 768px) {
  .phone-sheet { align-items: center; }
  .phone-sheet__panel {
    border-radius: var(--radius-card);
    box-shadow: 0 28px 70px rgba(29, 40, 54, 0.32);
    transform: translateY(14px) scale(0.98);
    opacity: 0;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }
  .phone-sheet.is-open .phone-sheet__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-sheet__backdrop,
  .phone-sheet__panel { transition: none; }
}
