/* ==========================================================================
   NYC IVF — page sections
   ========================================================================== */

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 5vw, 72px) var(--section); }
.hero__leaf { position: absolute; width: clamp(220px, 28vw, 420px); left: -60px; top: 40px; opacity: 0.35; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__trust { display: grid; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 0.875rem; font-weight: 400; color: var(--ink-2); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage-soft); box-shadow: 0 0 0 3px rgba(202, 213, 200, 0.4); }
.hero__media { position: relative; }
.hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-lg); }
@media (min-width: 861px) {
  .hero__grid { align-items: stretch; }
  .hero__img { height: 100%; aspect-ratio: auto; }
}
.hero__badge {
  position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 0; translate: 0 45%; max-width: 250px; padding: 18px 20px; border-radius: 18px;
  background: rgba(251, 250, 246, 0.8); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75); box-shadow: var(--shadow-lg);
}
.hero__badge .hero__badge-title { margin: 0; font-family: var(--font-display-text); font-weight: 500; font-size: 1.35rem; line-height: 1.2; color: var(--sage); }
.hero__badge p { margin: 6px 0 0; font-size: 0.875rem; font-weight: 400; line-height: 1.45; color: var(--ink); }

/* ---------- Welcome banner (home) ---------- */
.welcome { position: relative; height: clamp(380px, 68vh, 760px); overflow: hidden; background: var(--sage-deep); isolation: isolate; }
/* Full width comes first, so the height is worked out from the photo's own 3:2 shape at the current
   width (aspect-ratio would shrink the band instead). The caps keep it from swallowing the screen. */
@media (min-width: 861px) { .welcome { height: min(calc(100vw * 985 / 1475), 92vh, 960px); } }
.welcome__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
/* A soft scrim keeps the white title legible over the bright office windows */
.welcome::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(34, 31, 30, 0.66) 0%, rgba(34, 31, 30, 0.28) 34%, rgba(34, 31, 30, 0) 60%); }
.welcome__inner { display: flex; align-items: flex-end; height: 100%; padding-bottom: clamp(32px, 6vw, 72px); }
.welcome__title { margin: 0; max-width: 16em; font-family: var(--font-display); font-style: italic; font-size: clamp(2.25rem, 5.4vw, 4.75rem); line-height: 1.05; letter-spacing: -0.005em; color: #fff; text-wrap: balance; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 88px); }
.page-hero__leaf { position: absolute; width: clamp(200px, 24vw, 340px); right: -30px; top: 10px; opacity: 0.4; pointer-events: none; transform: scaleX(-1); }
.page-hero .container { position: relative; }
.page-hero--split .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.page-hero__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
/* Square social images keep their full frame, logo and all, rather than being cropped to the column */
.page-hero__img.is-square { aspect-ratio: 1 / 1; align-self: end; }
/* The founder portrait is a small original, so it stays close to its native size */
.page-hero__img.is-portrait { justify-self: end; width: min(100%, 340px); aspect-ratio: 4 / 5; }

/* ---------- Promise statement + pillars ---------- */
.statement { font-family: var(--font-headline); font-weight: 500; font-size: clamp(1.75rem, 3.2vw, 2.65rem); line-height: 1.22; letter-spacing: -0.004em; margin: 0; max-width: 24em; text-wrap: balance; }
.statement em { font-style: italic; color: var(--sage); }
.promise__lede { max-width: 46em; }
/* Five pillars sit three over two on a hairline grid */
.pillars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin-top: clamp(48px, 6vw, 80px); background: var(--line); border-block: 1px solid var(--line); }
.pillar { grid-column: span 2; background: var(--paper); padding: 32px 28px 36px 0; }
.pillar:nth-child(n+4) { grid-column: span 3; }
.pillar + .pillar { padding-left: 28px; }
.pillar:nth-child(4) { padding-left: 0; }
.section--cream .pillar { background: var(--cream); }
.pillar__num { font-family: var(--font-display-text); font-size: 1rem; color: var(--sage); letter-spacing: 0.1em; }
.pillar h3 { font-family: var(--font-display-text); font-weight: 500; font-size: 1.3rem; line-height: 1.25; margin: 14px 0 10px; }
.pillar p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* ---------- Path cards ---------- */
.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.path {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; padding: 12px;
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); isolation: isolate;
  transition: transform 500ms var(--ease-out);
}
.path:active { transform: scale(0.985); transition-duration: 120ms; }
/* --fx pins the crop to the subject's faces; --lift extends the photo upward so faces clear the text panel */
.path img { position: absolute; inset: auto 0 0; z-index: -1; width: 100%; height: calc(100% + var(--lift, 0%)); object-fit: cover; object-position: var(--fx, 50%) 50%; transition: transform 900ms var(--ease-out); }
.path:hover img { transform: scale(1.04); }
.path__body { padding: 20px; border-radius: 14px; background: rgba(251, 250, 246, 0.84); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.path__body h3 { font-family: var(--font-display-text); font-weight: 500; font-size: 1.3rem; line-height: 1.2; margin: 0 0 6px; }
.path__body p { margin: 0 0 12px; font-size: 0.9375rem; font-weight: 400; color: var(--ink-2); line-height: 1.5; }

.paths__note { margin: 20px 0 0; font-size: 0.875rem; font-style: italic; color: var(--ink-2); }

/* ---------- Outcomes teaser (dark sage) ---------- */
.results { background: var(--sage); color: #fff; }
.results .eyebrow { color: var(--sage-soft); }
.results .display-lg, .results .display-md { color: #fff; }
.results .display-lg em { color: var(--sage-soft); }
.results .lede { color: rgba(255, 255, 255, 0.78); }
.results__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.results__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.results .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.results .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.pledges { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.pledges li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.pledges__num { padding-top: 4px; font-family: var(--font-display-text); font-size: 1rem; letter-spacing: 0.1em; color: var(--sage-soft); }
.pledges h3 { margin: 0 0 6px; font-family: var(--font-display-text); font-weight: 500; font-size: 1.3rem; line-height: 1.25; color: #fff; }
.pledges p { margin: 0; font-size: 1rem; color: rgba(255, 255, 255, 0.78); }

/* ---------- Doctor spotlight ---------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.spotlight__media { position: relative; }
.spotlight__media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius-lg); object-position: 43% 22%; }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-family: var(--font-headline); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; text-wrap: balance; }
.quote figcaption { margin-top: 16px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); }
.credentials { list-style: none; margin: 32px 0; padding: 0; display: grid; gap: 12px; }
.credentials li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 1rem; }
.credentials li::before { content: ""; width: 14px; height: 1px; margin-top: 0.8em; background: var(--sage); }

/* ---------- Stories carousel: drag with momentum, snaps to cards ---------- */
.stories__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.stories__controls { display: flex; gap: 8px; }
.stories__controls .icon-btn { width: 48px; height: 48px; background: transparent; border: 1px solid var(--line-strong); }
.stories__controls .icon-btn:disabled { opacity: 0.35; cursor: default; }
.track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px var(--gutter) 24px; margin-top: 40px; cursor: grab; overscroll-behavior-x: contain;
  scroll-padding-inline: var(--gutter);
}
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.track.is-dragging a, .track.is-dragging img { pointer-events: none; }
@media (min-width: 1240px) { .track { padding-inline: calc((100vw - 1240px) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - 1240px) / 2 + var(--gutter)); } }
.story {
  flex: none; width: clamp(280px, 30vw, 380px); scroll-snap-align: start; display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden;
}
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; -webkit-user-drag: none; }
.story__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.story blockquote { margin: 0 0 20px; font-family: var(--font-display-text); font-weight: 500; font-size: 1.2rem; line-height: 1.4; }
.story figcaption { margin-top: auto; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); }
.story--text { background: var(--sage-mist); box-shadow: none; }
.story--text .story__body { padding: 32px 28px; }
.story--text blockquote { font-family: var(--font-headline); font-weight: 600; font-size: 1.55rem; line-height: 1.3; }
.story--text blockquote::before { content: "“"; display: block; font-size: 3.5rem; line-height: 0.6; margin-bottom: 12px; color: var(--sage); }
.reviews { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; font-size: 0.9375rem; font-weight: 400; color: var(--ink-2); }
.reviews a { font-weight: 600; color: var(--sage); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 104px); }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display-text); font-weight: 500; font-size: 1.2rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-body); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--sage); transition: transform 300ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { margin: -8px 0 24px; max-width: 40em; color: var(--ink-2); }

/* ---------- Treatments ---------- */
.subnav {
  position: sticky; top: var(--nav-h); z-index: 40; background: rgba(251, 250, 246, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
}
.subnav__inner { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 0.875rem; font-weight: 400;
  text-decoration: none; color: var(--ink-2); border: 1px solid var(--line); transition: background-color 200ms, color 200ms, border-color 200ms;
}
.subnav a:hover { color: var(--sage); border-color: var(--sage-soft); }
.subnav a[aria-current="true"] { background: var(--sage); border-color: var(--sage); color: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
/* Five-step journeys; the narrower breakpoints below still collapse it to two columns, then one */
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display-text); color: var(--sage); letter-spacing: 0.1em; }
.step h3 { font-family: var(--font-display-text); font-weight: 500; font-size: 1.2rem; margin: 12px 0 8px; }
.step p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.step__time { display: inline-block; margin-top: 14px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 1rem; }
.checklist li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%234d6860' stroke-width='1.6'/%3E%3C/svg%3E") center no-repeat; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.feature__media img.is-collage { aspect-ratio: 1200 / 608; }
.feature__media img.is-portrait { aspect-ratio: 4 / 5; }
.feature__media img.is-wide { aspect-ratio: 3 / 2; }
/* A group shot that fills the frame side to side reads better short and wide than cropped to 3:2 */
.page-hero__img.is-panorama { aspect-ratio: 16 / 9; }
/* 3:2 stands taller beside the copy than 16:9, without cropping anyone out of a group shot */
.page-hero__img.is-three-two { aspect-ratio: 3 / 2; }
/* Wrapping the hero photo lets it zoom on hover without spilling past its rounded corners,
   the same slow push the patient story cards use */
.page-hero__media { overflow: hidden; border-radius: var(--radius-lg); align-self: end; }
.page-hero__media .page-hero__img { display: block; border-radius: 0; transition: transform 900ms var(--ease-out); }
@media (hover: hover) {
  .page-hero__media:hover .page-hero__img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__media .page-hero__img { transition: none; }
  .page-hero__media:hover .page-hero__img { transform: none; }
}
.options { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.option { padding: 18px 0; border-bottom: 1px solid var(--line); }
.option h3 { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 4px; font-family: var(--font-display-text); font-weight: 500; font-size: 1.15rem; }
.option h3 span { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--sage); white-space: nowrap; }
.option p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.section--cream .tile { background: var(--white); border-color: transparent; }
.tile h3 { font-family: var(--font-display-text); font-weight: 500; font-size: 1.2rem; margin: 0 0 8px; }
.tile p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.tile .tile__link { margin-top: 14px; }

/* Links from treatments into the matching blog articles */
.read-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.read-more__label { margin-right: 6px; font: 600 0.75rem/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.read-more a {
  display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 0.875rem; font-weight: 400; line-height: 1.3; text-decoration: none; color: var(--ink);
  transition: border-color 160ms, color 160ms, background-color 160ms, transform 90ms;
}
.read-more a:hover { border-color: var(--sage); color: var(--sage); background: rgba(77, 104, 96, 0.05); }
.read-more a:active { transform: scale(0.97); }
.articles-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.articles-cta .display-sm { max-width: 26em; }
.articles-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- About ---------- */
.expect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.member { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.member--lead { grid-column: 1 / -1; gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 4vw, 40px); }
.member__photo { display: block; width: 180px; height: 200px; object-fit: cover; border-radius: 14px; background: var(--sage-mist); }
.member__photo--pending { background: var(--sage-mist) url("../img/leaf.png") 62% 45% / 130px no-repeat; }
.member h3 { margin: 4px 0 0; font-family: var(--font-display-text); font-weight: 500; font-size: 1.3rem; line-height: 1.25; }
.member--lead h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.member__role { margin: 6px 0 14px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }
.member p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.member--lead p { font-size: 1.0625rem; }
.member p + p { margin-top: 12px; }

/* ---------- Success rates page ---------- */
.panel { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.rates { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.data-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }

/* Segmented control: the selection pill springs from wherever it is */
.segmented { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(62, 55, 53, 0.07); isolation: isolate; }
.segmented__indicator {
  position: absolute; top: 4px; bottom: 4px; left: 0; z-index: 0; width: 0; border-radius: 999px;
  background: var(--white); box-shadow: 0 1px 2px rgba(40, 36, 34, 0.08), 0 3px 10px rgba(40, 36, 34, 0.08);
}
.segmented__option {
  position: relative; z-index: 1; height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent;
  font-size: 0.875rem; font-weight: 400; color: var(--ink-2); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color 200ms var(--ease-out), transform 90ms var(--ease-out);
}
.segmented__option:active { transform: scale(0.96); }
.segmented__option[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.no-js .segmented { display: none; }
.tab-panel:not([hidden]) { animation: fade-in 260ms var(--ease-out) both; }

.data-status { margin: 0 0 20px; padding: 16px 20px; border-left: 2px solid var(--sage); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--sage-mist); font-size: 0.9375rem; font-weight: 400; color: var(--ink-2); }
.data-status b { color: var(--ink); }
.data-card { --pad: clamp(22px, 3.5vw, 40px); padding: var(--pad); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.data-card + .data-card { margin-top: 20px; }
.data-card h3 { margin: 0; font-family: var(--font-display-text); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
.data-card__sub { margin: 6px 0 16px; font-size: 0.9375rem; color: var(--ink-2); }
.data-table { overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); overscroll-behavior-x: contain; }
.data-table:focus-visible { outline-offset: -2px; }
.data-table table { width: 100%; min-width: 600px; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.data-table th, .data-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.data-table thead th { font: 600 0.75rem/1.3 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); border-bottom-color: var(--line-strong); }
.data-table thead th:first-child, .data-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--white); text-align: left; white-space: normal; }
.data-table thead th:first-child { min-width: 190px; padding-left: 0; font-weight: 400; letter-spacing: 0.02em; text-transform: none; font-size: 0.8125rem; color: var(--ink-2); }
.data-table tbody th { padding-left: 0; font-size: 0.9375rem; font-weight: 400; line-height: 1.4; color: var(--ink); }
.data-table td { font-size: 1rem; font-weight: 400; color: var(--ink); }
.data-table tr.is-count td { color: var(--ink-2); }
.data-table tr.is-key th, .data-table tr.is-key td { font-weight: 600; }
.data-table tr.is-key td { color: var(--sage); }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.source { margin: 16px 0 0; font-size: 0.875rem; font-weight: 400; line-height: 1.55; color: var(--ink-2); }
.source a { color: var(--sage); font-weight: 600; }
.disclaimer { padding: 20px 24px; border-left: 2px solid var(--sage-soft); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.9375rem; color: var(--ink); }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Success rates: charts ---------- */
/* Sage ramps are ordered light to dark and were validated on white; every chart has a table twin with SART's exact values */
.data-card { --dot-on: #52705f; --dot-off: #d5ded8; --stage-0: #9fb5ab; --stage-1: #52705f; --stage-2: #2f4a41; --grid: #e6ebe7; }
.data-card > .eyebrow { margin-bottom: 10px; }
.data-card h4 { margin: 24px 0 4px; font: 600 1rem/1.35 var(--font-body); color: var(--ink); }
.data-card h3 + .data-card__sub + h4 { margin-top: 8px; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 0.875rem; font-weight: 400; color: var(--ink-2); }
.viz-legend li { display: inline-flex; align-items: center; gap: 8px; }
.viz-note { margin: 16px 0 0; max-width: 72ch; font-size: 0.8125rem; font-weight: 400; line-height: 1.55; color: var(--ink-2); }
.swatch { flex: none; width: 14px; height: 10px; border-radius: 0 3px 3px 0; }

/* Dot matrix: one dot per transfer, so small groups read as the fractions SART shows */
.dots { display: grid; gap: 2px; }
.dots__row, .journey__row, .journey__axis { display: grid; grid-template-columns: 64px minmax(0, 1fr) 170px; gap: 16px; align-items: center; }
.dots__row { margin-inline: -10px; padding: 10px; border-radius: 12px; outline: none; transition: background-color 150ms; }
.dots__row.is-hover, .dots__row:focus-visible { background: var(--sage-mist); }
.dots__age, .journey__age { font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.dots__field { display: flex; flex-wrap: wrap; gap: 4px; }
.dot { display: block; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--dot-off); }
.dot.is-on { background: var(--dot-on); }
.dots__empty { font-size: 0.875rem; font-weight: 400; color: var(--ink-2); }
.dots__value, .journey__rate { display: grid; gap: 2px; justify-items: end; text-align: right; font-size: 0.8125rem; font-weight: 400; line-height: 1.4; color: var(--ink-2); }
.dots__value strong, .journey__rate strong { font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.small-n { display: inline-flex; align-items: center; gap: 5px; font-size: 0.75rem; }
.small-n::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid currentColor; }

/* Cycle journey: three steps per age group on one fixed scale */
.journey__row { padding: 12px 0; border-top: 1px solid var(--line); }
.journey__bars { display: grid; gap: 3px; padding-block: 2px; background: linear-gradient(to right, var(--grid) 1px, transparent 1px) 0 0 / 20% 100% repeat-x; box-shadow: inset -1px 0 var(--grid); }
.journey__line { display: flex; align-items: center; gap: 6px; min-height: 14px; border-radius: 4px; outline: none; }
.jbar { display: block; height: 12px; border-radius: 0 4px 4px 0; transition: filter 150ms; }
.jbar.s0, .swatch.s0 { background: var(--stage-0); }
.jbar.s1, .swatch.s1 { background: var(--stage-1); }
.jbar.s2, .swatch.s2 { background: var(--stage-2); }
.journey__line.is-hover .jbar, .journey__line:focus-visible .jbar { filter: brightness(1.15); }
.journey__line:focus-visible { box-shadow: 0 0 0 2px var(--sage); }
.jbar__label { font-size: 0.75rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.journey__axis { padding-top: 6px; border-top: 1px solid var(--line); }
.journey__ticks { position: relative; height: 18px; font-size: 0.75rem; font-weight: 400; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.journey__ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.journey__ticks span:first-child { transform: none; }
.journey__ticks span:last-child { transform: translateX(-100%); }
.journey__unit { font-size: 0.75rem; font-weight: 400; color: var(--ink-2); text-align: right; }

/* Table twin under each chart */
.viz-table { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.viz-table summary { cursor: pointer; font-size: 0.875rem; font-weight: 600; color: var(--sage); }
.viz-table .data-table { margin-top: 8px; }

/* One tooltip for every chart: the value leads, the label follows */
.viz-tip {
  position: fixed; z-index: 95; display: grid; gap: 2px; max-width: 290px; padding: 10px 12px; border-radius: 10px;
  background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); pointer-events: none; font-size: 0.8125rem; font-weight: 400; line-height: 1.4;
}
.viz-tip[hidden] { display: none; }
.viz-tip strong { font-size: 1rem; font-weight: 600; }
.tile p a { color: var(--sage); font-weight: 600; }

@media (max-width: 600px) {
  .dots__row, .journey__row, .journey__axis { grid-template-columns: 52px minmax(0, 1fr); }
  .dots__value, .journey__rate { grid-column: 2; justify-items: start; text-align: left; }
  .journey__unit { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .jbar, .dots__row { transition: none; }
}

/* ---------- Home: Personalized Care Method cards (same drag/momentum carousel as the stories) ---------- */
.method__track { padding-top: 14px; }
.method-card {
  flex: none; width: clamp(290px, 31vw, 400px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px;
  padding: 32px 30px 36px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out), background-color 300ms var(--ease-out);
}
.method-card__num { font-family: var(--font-display-text); font-size: 1rem; letter-spacing: 0.1em; color: var(--sage); transition: color 300ms var(--ease-out); }
.method-card h3 { margin: 0; font-family: var(--font-display-text); font-weight: 500; font-size: 1.35rem; line-height: 1.25; color: var(--ink); transition: color 300ms var(--ease-out); }
.method-card p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink-2); transition: color 300ms var(--ease-out); }
@media (hover: hover) {
  .method-card:hover { transform: translateY(-6px); background: var(--sage); box-shadow: 0 26px 60px rgba(40, 36, 34, 0.22); }
  .method-card:hover h3 { color: #fff; }
  .method-card:hover p { color: rgba(255, 255, 255, 0.9); }
  .method-card:hover .method-card__num { color: var(--sage-mist); }
}

/* ---------- Google rating badge ---------- */
.rating {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 9px 16px; border-radius: 999px;
  background: var(--white); box-shadow: var(--shadow-sm); text-decoration: none; transition: box-shadow 300ms var(--ease-out), transform 90ms;
}
.rating:hover { box-shadow: var(--shadow-lg); }
.rating:active { transform: scale(0.98); }
.rating__stars { font-size: 1rem; letter-spacing: 1px; color: #e3a300; }
.reviews .rating { margin-top: 0; }
.rating .rating__score { font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.rating .rating__label { font-size: 0.875rem; font-weight: 400; color: var(--ink-2); }

/* ---------- Patient stories: video strip that drifts on its own ---------- */
/* Each tile appears twice so the loop is seamless; it pauses on hover, keyboard focus, or once a video plays */
.marquee { overflow: hidden; padding-block: 14px 30px; -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; padding-right: 20px; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.vcard {
  flex: none; width: clamp(260px, 28vw, 360px); margin: 0; padding: 12px 12px 16px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out);
}
.vcard .video__play, .vcard .video__frame { border-radius: 14px; }
.vcard figcaption { margin: 12px 6px 0; }
@media (hover: hover) {
  .vcard:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(40, 36, 34, 0.22); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; padding-inline: var(--gutter); }
  .marquee__track > [aria-hidden="true"] { display: none; }
  .method-card, .vcard, .rating { transition: none; }
  .method-card:hover, .vcard:hover { transform: none; }
}

/* ---------- Patient stories ---------- */
.story-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.story-filter[hidden] { display: none; }
.story-filter button {
  height: 38px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent;
  font-size: 0.875rem; font-weight: 400; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms, color 160ms, border-color 160ms, transform 90ms;
}
.story-filter button:hover { border-color: var(--sage); color: var(--sage); }
.story-filter button:active { transform: scale(0.96); }
.story-filter button[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: #fff; font-weight: 600; }
.story-filter__count { margin-left: auto; font-size: 0.875rem; font-weight: 400; color: var(--ink-2); }
/* Masonry: photos keep their own shape, so each column flows at its natural height */
.testimonials { columns: 3 300px; column-gap: 20px; }
.tcard {
  break-inside: avoid; display: block; margin: 0 0 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out);
}
.tcard[hidden] { display: none; }
.tcard__media { overflow: hidden; }
.tcard img { width: 100%; height: auto; transition: transform 900ms var(--ease-out); }
.tcard__body { transition: background-color 300ms var(--ease-out); }
.tcard blockquote p, .tcard__more p, .tcard figcaption, .tcard__eyebrow, .tcard__more summary { transition: color 300ms var(--ease-out); }
/* Hover fills the quote area with deep sage so the card under the pointer clearly stands out.
   Only on devices that truly hover, so a tap never leaves a card stuck highlighted. */
@media (hover: hover) {
  .tcard:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(40, 36, 34, 0.22); }
  .tcard:hover img { transform: scale(1.035); }
  .tcard:hover .tcard__body { background: var(--sage); }
  .tcard:hover blockquote p, .tcard:hover .tcard__more p { color: #fff; }
  .tcard:hover figcaption, .tcard:hover .tcard__eyebrow, .tcard:hover .tcard__more summary, .tcard--text:hover blockquote::before { color: var(--sage-mist); }
}
.tcard__body { padding: 22px 24px 24px; }
.tcard__eyebrow { margin: 0 0 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.tcard blockquote { margin: 0; }
.tcard blockquote p { margin: 0; font-size: 1rem; font-weight: 400; line-height: 1.65; color: var(--ink); }
.tcard--text { background: var(--sage-mist); box-shadow: none; }
.tcard--text blockquote::before { content: "“"; display: block; margin: 4px 0 8px; font-family: var(--font-headline); font-size: 3rem; line-height: 0.6; color: var(--sage); }
.tcard--doctor, .tcard--card { background: var(--cream); box-shadow: none; }
.tcard--doctor blockquote p { font-style: italic; }
.tcard figcaption { margin-top: 16px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); }
.tcard__more { margin-top: 12px; }
.tcard__more summary { display: inline-flex; gap: 6px; cursor: pointer; list-style: none; font-size: 0.875rem; font-weight: 600; color: var(--sage); }
.tcard__more summary::-webkit-details-marker { display: none; }
.tcard__more summary::after { content: "+"; font-weight: 400; }
.tcard__more[open] summary::after { content: "−"; }
.tcard__more p { margin: 10px 0 0; font-size: 0.9375rem; font-weight: 400; line-height: 1.65; color: var(--ink-2); }
/* Open the full review and the short excerpt steps aside, so the review reads from its first line */
.tcard__body:has(.tcard__more[open]) .tcard__quote { display: none; }
.tcard__more-hide, .tcard__more[open] .tcard__more-show { display: none; }
.tcard__more[open] .tcard__more-hide { display: inline; }
.stories-note { margin: 12px 0 0; max-width: 62em; font-size: 0.875rem; font-weight: 400; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) {
  .story-filter button, .tcard, .tcard img { transition: none; }
  .tcard:hover { transform: none; }
  .tcard:hover img { transform: none; }
}

/* ---------- Contact ---------- */
/* Official MTA route colors, lettered the way the MTA signs them */
.transit { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.mta { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font: 700 0.9375rem/1 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.mta--red { background: #ee352e; }
.mta--green { background: #00933c; }
.mta--blue { background: #0039a6; }
.mta--orange { background: #ff6319; }
.mta--yellow { background: #fccc0a; color: #000; }
.mta-bus { display: grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 4px; background: #0039a6; color: #fff; font: 700 0.8125rem/1 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.info { display: grid; gap: 16px; }
.info__card { padding: 24px 28px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.info__card h2 { margin: 0 0 8px; font: 600 0.75rem/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.info__card p { margin: 0; }
.info__card a { font-weight: 400; }
.info__big { font-family: var(--font-display-text); font-weight: 500; font-size: 1.35rem; line-height: 1.35; text-decoration: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pills span { padding: 6px 12px; border-radius: 999px; background: var(--sage-mist); font-size: 0.8125rem; font-weight: 400; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); filter: grayscale(0.85) sepia(0.12); }

/* ---------- Blog: article pages ---------- */
.article-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.article-hero .container { position: relative; }
.article-hero__inner { max-width: 820px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 0.875rem; font-weight: 400; color: var(--ink-2); }
.crumbs a { color: var(--sage); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article-meta { margin: 20px 0 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding-bottom: var(--section); }
.article-aside { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 28px; }
.article-toc__title { margin: 0 0 12px; font: 600 0.75rem/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.article-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-strong); }
.article-toc a {
  display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent;
  font-size: 0.9375rem; font-weight: 400; line-height: 1.4; color: var(--ink-2); text-decoration: none; transition: color 160ms, border-color 160ms;
}
.article-toc a:hover { color: var(--sage); }
.article-toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--sage); }
.article-aside__card { display: grid; justify-items: start; padding: 22px; border-radius: var(--radius); background: var(--sage-mist); }
.article-aside__card .eyebrow { margin-bottom: 8px; }
.article-aside__card p { margin: 0 0 12px; font-size: 0.9375rem; font-weight: 400; line-height: 1.5; color: var(--ink-2); }
.article-aside__card .btn { margin-top: 18px; }
.article-toc-mobile { display: none; }

/* Long-form reading: a ~70-character measure and generous leading */
.prose { max-width: 720px; font-size: 1.0625rem; font-weight: 400; line-height: 1.75; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin: 2.2em 0 0; font-family: var(--font-headline); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2;
  letter-spacing: -0.003em; color: var(--ink); text-wrap: balance; scroll-margin-top: calc(var(--nav-h) + 24px);
}
.prose > h2:first-child, .prose > .article-toc-mobile + h2 { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font: 600 1.125rem/1.4 var(--font-body); letter-spacing: 0.01em; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { padding-left: 0.2em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--sage); }
.prose ol > li::marker { font-weight: 600; }
.prose li > ul, .prose li > ol { margin-top: 0.45em; }
.prose a { color: var(--sage); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(77, 104, 96, 0.35); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 600; }
.prose .pull-quote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--sage-soft); }
.pull-quote blockquote { margin: 0; }
.pull-quote blockquote p { font-family: var(--font-headline); font-weight: 600; font-size: 1.35rem; line-height: 1.45; color: var(--ink); }
.pull-quote figcaption { margin-top: 12px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); }
.callout { padding: 20px 24px; border-radius: var(--radius-sm); background: var(--cream); }
.callout p { margin: 0; }
.prose .callout, .prose .video, .prose .prose-figure { margin-block: 2em; }
.prose-figure img { width: 100%; border-radius: var(--radius); }
.prose-figure figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--ink-2); }
.prose .article-note { margin-top: 3em; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.875rem; line-height: 1.6; color: var(--ink-2); }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related__all { margin: 28px 0 0; }
.card-link {
  display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--ink); transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-link:active { transform: scale(0.985); transition-duration: 120ms; }
.card-link__eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.card-link__title { font-family: var(--font-display-text); font-weight: 600; font-size: 1.3rem; line-height: 1.25; }
.card-link__summary { font-size: 0.9375rem; font-weight: 400; line-height: 1.55; color: var(--ink-2); }
.card-link .link-arrow { margin-top: auto; padding-top: 8px; }

/* ---------- Blog: articles table of contents ---------- */
.toc { padding-top: clamp(40px, 5vw, 64px); }
.toc-group { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-strong); scroll-margin-top: calc(var(--nav-h) + 40px); }
.toc-group:first-child { border-top: 0; padding-top: 0; }
.toc-group__head .eyebrow { margin-bottom: 10px; }
.toc-group__head p:not(.eyebrow) { margin: 12px 0 0; max-width: 30em; color: var(--ink-2); }
.toc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.toc-list li { border-bottom: 1px solid var(--line); }
.toc-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 20px 4px; text-decoration: none; color: var(--ink); }
.toc-item__title { font-family: var(--font-display-text); font-weight: 600; font-size: 1.25rem; line-height: 1.3; transition: color 160ms; }
.toc-item__summary { grid-column: 1; font-size: 0.9375rem; font-weight: 400; line-height: 1.5; color: var(--ink-2); }
.toc-item__meta { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 0.8125rem; font-weight: 600; color: var(--sage); white-space: nowrap; }
.toc-item__meta::after { content: " →"; transition: margin 240ms var(--ease-out); }
.toc-item:hover .toc-item__title { color: var(--sage); }
.toc-item:hover .toc-item__meta::after { margin-left: 4px; }
.research-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.research-list a {
  display: grid; align-content: start; gap: 6px; height: 100%; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--white);
  font-size: 0.9375rem; font-weight: 400; line-height: 1.45; text-decoration: none; color: var(--ink); transition: color 160ms, box-shadow 300ms var(--ease-out);
}
.research-list a:hover { color: var(--sage); box-shadow: var(--shadow-sm); }
.research-list span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); }

/* ---------- Blog: FAQs ---------- */
.faq-page { padding-top: clamp(40px, 5vw, 64px); }
.faq-page__inner { display: grid; gap: clamp(56px, 7vw, 96px); }
.faq-group { scroll-margin-top: calc(var(--nav-h) + 64px); }
.faq__answer { margin: -8px 0 24px; max-width: 42em; font-weight: 400; color: var(--ink-2); }
.faq__answer p, .faq__answer ul, .faq__answer ol { margin: 0; }
.faq__answer > * + * { margin-top: 0.8em; }
.faq__answer ul, .faq__answer ol { padding-left: 1.3em; }
.faq__answer li + li { margin-top: 0.35em; }
.faq__answer a { color: var(--sage); font-weight: 600; }

/* ---------- Blog: teaching videos (poster first, YouTube loads on play) ---------- */
.video-group + .video-group { margin-top: clamp(48px, 6vw, 72px); }
.video-group h2 { margin-bottom: 20px; }
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video { margin: 0; }
.video__play, .video__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video__play { cursor: pointer; transition: transform 260ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.video__play:active { transform: scale(0.985); transition-duration: 90ms; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 700ms var(--ease-out), opacity 200ms; }
.video__play:hover img { transform: scale(1.03); opacity: 1; }
.video__icon {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; translate: -50% -50%; border-radius: 50%;
  background: rgba(251, 250, 246, 0.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease-out);
}
.video__play:hover .video__icon { transform: scale(1.06); }
.video__icon::after { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--sage); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { margin-top: 12px; font-family: var(--font-display-text); font-weight: 500; font-size: 1.15rem; line-height: 1.3; color: var(--ink); }

/* ---------- Small titles: one Didot cut everywhere, with a hair of tracking so it stays even at small sizes ---------- */
:is(.tile h3, .pillar h3, .option h3, .member h3, .step h3, .faq summary, .data-card h3, .method-card h3, .path__body h3,
    .card-link__title, .toc-item__title, .story blockquote, .video figcaption, .mega__feature-title, .hero__badge-title, .info__big) { letter-spacing: 0.008em; }

/* ---------- Carousel navigation: arrows and position dots under the cards ---------- */
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 4px; }
.carousel-nav .icon-btn { width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-strong); }
.carousel-nav .icon-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-nav + .reviews { margin-top: 28px; }
.carousel-dots { display: flex; align-items: center; gap: 8px; min-height: 20px; }
.carousel-dots[hidden] { display: none; }
.carousel-dots button {
  position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line-strong); cursor: pointer;
  transition: width 400ms var(--ease-out), background-color 250ms var(--ease-out);
}
/* The dot stays small but its tap target doesn't */
.carousel-dots button::before { content: ""; position: absolute; inset: -12px -5px; }
.carousel-dots button:hover { background: var(--sage-soft); }
.carousel-dots button[aria-current="true"] { width: 28px; background: var(--sage); }
@media (prefers-reduced-motion: reduce) {
  .carousel-dots button { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar, .pillar:nth-child(n+4) { grid-column: auto; }
  .pillar:nth-child(5) { grid-column: 1 / -1; }
  .pillar, .pillar + .pillar { padding: 28px 24px 32px 0; }
  .pillar:nth-child(even) { padding-left: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles, .expect { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: 1fr; }
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero__grid, .results__grid, .spotlight, .faq, .feature, .rates, .contact, .page-hero--split .container, .toc-group { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .hero__img { aspect-ratio: 4 / 3; }
  .hero__badge { left: 12px; }
  .spotlight__media img { aspect-ratio: 4 / 3; }
  .page-hero__img.is-portrait { justify-self: start; }
  .stories__head { align-items: flex-start; flex-direction: column; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { display: none; }
  .article-toc-mobile { display: block; margin-bottom: 36px; border-radius: var(--radius-sm); background: var(--cream); }
  .article-toc-mobile summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 0.9375rem; }
  .article-toc-mobile summary::-webkit-details-marker { display: none; }
  .article-toc-mobile summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--sage); transition: transform 240ms var(--ease-out); }
  .article-toc-mobile[open] summary::after { transform: rotate(45deg); }
  .article-toc-mobile ol { margin: 0; padding: 0 20px 18px 40px; }
  .article-toc-mobile li + li { margin-top: 6px; }
  .article-toc-mobile a { color: var(--ink); font-weight: 400; text-decoration: none; }
  .related, .research-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .paths { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .path { flex: none; width: 82%; min-height: 400px; scroll-snap-align: start; }
  .pillars, .steps, .tiles, .expect, .checklist, .team, .videos { grid-template-columns: 1fr; }
  .pillar:nth-child(5) { grid-column: auto; }
  .pillar, .pillar + .pillar, .pillar:nth-child(even) { padding: 24px 0; }
  .member { grid-template-columns: 1fr; gap: 18px; }
  .stories__controls { display: none; }
  .story { width: 80vw; } /* next card peeks in, inviting a swipe */
  .tiles--2 { grid-template-columns: 1fr; }
  .toc-item { grid-template-columns: 1fr; }
  .toc-item__meta { grid-column: 1; grid-row: auto; }
  .data-table table { min-width: 500px; }
  .data-table th, .data-table td { padding: 12px 10px; }
  .data-table thead th:first-child { min-width: 128px; }
  .data-table tbody th { font-size: 0.875rem; }
  /* pinned labels get a hairline so scrolled numbers slide cleanly beneath */
  .data-table thead th:first-child, .data-table tbody th { box-shadow: 1px 0 0 var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .path, .path img, .mega__feature img, .card-link, .video__play, .video__play img, .video__icon { transition: none; }
  .path:hover img, .video__play:hover img { transform: none; }
  .card-link:hover { transform: none; }
}

/* ---------- Landing pages: laboratory results, price, pull quotes ---------- */
/* Our own bench measures, one bar each. Deliberately plain, and never mixed with SART outcomes. */
.labstats { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 64em; }
.labstat { display: grid; grid-template-columns: minmax(0, 17em) minmax(0, 1fr) 3.4em; gap: clamp(12px, 2vw, 28px); align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.labstat:last-child { padding-bottom: 0; border-bottom: 0; }
.labstat__label { font-size: 1rem; font-weight: 600; }
.labstat__note { display: block; margin-top: 4px; font-size: 0.8125rem; font-weight: 400; color: var(--ink-2); }
.labstat__bar { height: 10px; border-radius: 999px; background: var(--sage-mist); overflow: hidden; }
.labstat__bar > span { display: block; height: 100%; border-radius: 999px; background: var(--sage); }
.labstat__value { font-family: var(--font-display-text); font-size: 1.5rem; text-align: right; font-variant-numeric: tabular-nums; }
.labstats__note { margin: 28px 0 0; max-width: 64em; font-size: 0.875rem; font-weight: 400; color: var(--ink-2); }
.price-tag { margin: 16px 0 0; font-family: var(--font-display-text); font-size: 1.35rem; }
.price-tag strong { font-weight: 700; color: var(--sage); }
.quote-tile { margin: 0; }
.quote-tile blockquote { margin: 0; }
.quote-tile blockquote p { margin: 0; font-size: 1rem; font-weight: 400; line-height: 1.6; color: var(--ink-2); }
.quote-tile figcaption { margin-top: 16px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); }
@media (max-width: 700px) {
  .labstat { grid-template-columns: minmax(0, 1fr) 3.4em; row-gap: 12px; }
  .labstat__bar { grid-column: 1 / -1; }
}

/* ---------- Landing hero: the phone number leads, above the title ---------- */
.phone-card {
  display: inline-flex; align-items: center; gap: 16px; margin: 0 0 28px; padding: 12px 26px 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.55); text-decoration: none; color: inherit;
  transition: transform 450ms var(--ease-out), border-color 300ms var(--ease-out), background-color 300ms var(--ease-out);
}
.phone-card__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 1px solid var(--sage-soft); border-radius: 50%; color: var(--sage); }
.phone-card__text { padding-left: 18px; border-left: 1px solid var(--line); }
.phone-card__label { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.phone-card__num { display: block; margin-top: 2px; font-family: var(--font-display-text); font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.1; color: var(--sage); }
@media (hover: hover) {
  .phone-card:hover { transform: translateY(-2px); border-color: var(--sage); background: var(--white); }
}
/* Landing heroes: the photo fills the height of the text column beside it */
.page-hero--media-match .container { align-items: stretch; }
.page-hero--media-match .page-hero__img { height: 100%; min-height: 340px; aspect-ratio: auto; }

/* ---------- Tiles and steps: the same sage fill and lift as the home page's method cards ---------- */
.tile, .step { transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out), background-color 300ms var(--ease-out), border-color 300ms var(--ease-out); }
.tile h3, .tile p, .tile a, .step h3, .step p, .step__time, .step::before { transition: color 300ms var(--ease-out); }
.step { padding: 32px 28px 36px; }
.step h3 { font-size: 1.3rem; }
@media (hover: hover) {
  .tile:hover, .step:hover { transform: translateY(-6px) scale(1.02); background: var(--sage); border-color: var(--sage); box-shadow: 0 26px 60px rgba(40, 36, 34, 0.22); }
  .tile:hover h3, .step:hover h3, .quote-tile:hover blockquote p { color: #fff; }
  .tile:hover p, .step:hover p { color: rgba(255, 255, 255, 0.9); }
  .tile:hover a, .tile:hover figcaption, .step:hover .step__time, .step:hover::before { color: var(--sage-mist); }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .step, .phone-card { transition: none; }
  .tile:hover, .step:hover, .phone-card:hover { transform: none; }
}

/* ---------- Small headings in the sans ----------
   Didot is a hairline face: lovely at display sizes, thin and hard to read at card size on a screen
   (agency notes 3339 and 3340). Card titles, FAQ questions and the landing sub-headline use the body
   sans at 600; every display-size heading keeps Didot. */
:is(.tile, .step, .pillar, .path__body, .method-card, .member, .option, .pledges, .data-card) h3,
.mega__feature-title, .hero__badge .hero__badge-title, .card-link__title, .toc-item__title,
.video figcaption, .info__big, .faq summary, .story blockquote {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.004em;
}
.story blockquote { font-weight: 400; }

/* ---------- Photo stack (Treatments): three photos, one column, matched to the text beside them ---------- */
.feature--stretch { align-items: stretch; }
.photo-stack { display: grid; grid-template-rows: auto auto; gap: 14px; align-content: start; min-height: 0; }
/* This photo carries the logo in its corner, so it keeps its own square shape and is never cropped */
.photo-stack img.is-logo-top { height: auto; aspect-ratio: 1 / 1; }
.photo-stack img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--radius-lg); }
.photo-stack img.is-collage { height: auto; aspect-ratio: 1200 / 608; }
/* Once the two columns stack, "fill the row" has nothing to fill, so each photo takes its own shape again */
@media (max-width: 860px) {
  .feature--stretch { align-items: start; }
  .photo-stack { grid-template-rows: auto auto; }
  .photo-stack img { height: auto; aspect-ratio: 4 / 3; }
  .photo-stack img.is-collage { aspect-ratio: 1200 / 608; }
}

/* ---------- Laboratory results on the dark outcomes band (home) ---------- */
.results__lab-title { margin: 0 0 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-soft); }
.results .labstat { border-bottom-color: rgba(255, 255, 255, 0.18); }
.results .labstat__label { color: #fff; }
.results .labstat__note { color: rgba(255, 255, 255, 0.72); }
.results .labstat__bar { background: rgba(255, 255, 255, 0.22); }
.results .labstat__bar > span { background: var(--sage-soft); }
.results .labstat__value { color: #fff; }
/* On the band the label column squeezed the bars, so label and value share a row and the bar spans below */
.results .labstat { grid-template-columns: minmax(0, 1fr) 3.4em; grid-template-areas: "label value" "bar bar"; row-gap: 12px; }
.results .labstat__label { grid-area: label; }
.results .labstat__value { grid-area: value; }
.results .labstat__bar { grid-area: bar; }
.results__lab-note { margin: 24px 0 0; font-size: 0.8125rem; font-weight: 400; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }

/* ---------- Ready to book (Treatments) ---------- */
.ready { text-align: center; max-width: 42em; margin: 0 auto; }
.ready h2 { margin: 12px 0 0; }
.ready p.small { margin: 16px 0 0; color: var(--ink-2); }
.ready__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
