/* Homepage support explorer. Inline content remains readable without JavaScript. */
.home-page .support-explorer { padding: clamp(64px, 8vw, 112px) 0; background: #fff; }
.support-explorer__heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 38px; }
.support-explorer__heading h2 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.14; margin-bottom: 0; }
.support-explorer__heading h2 span { color: var(--red-700); }
.support-explorer__heading > p { max-width: 370px; color: var(--muted); line-height: 1.8; margin: 0 0 3px; }
.support-explorer__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; }
.support-options { display: grid; gap: 14px; }
.support-option { display: flex; align-items: center; gap: 18px; padding: 26px 22px; border: 1px solid var(--line); border-radius: 16px; color: var(--navy); text-decoration: none; transition: background .25s, border-color .25s, box-shadow .25s; }
.support-option__number { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: #f0f3f8; color: #66758a; font-size: 12px; font-weight: 700; }
.support-option strong { display: block; font-size: 15px; line-height: 1.5; }
.support-option small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.support-option > .i { margin-left: auto; flex-shrink: 0; width: 18px; }
.support-option:hover, .support-option[aria-selected="true"] { background: #fff6f7; border-color: #edb9c3; box-shadow: 0 8px 28px #9b173308; }
.support-option[aria-selected="true"] .support-option__number { background: var(--red); color: #fff; }
.support-option[aria-selected="true"] > .i { color: var(--red); }
.support-panel { overflow: hidden; border: 1px solid #e4e9f1; border-radius: 22px; background: #fff; box-shadow: 0 16px 48px #10244808; margin-bottom: 20px; }
.support-panel[hidden], .home-page .proc-mini[hidden], .procedure-filters[hidden] { display: none !important; }
.support-panel__visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 220px; background: radial-gradient(ellipse at 50% 60%, #fff 15%, #edf3fa 100%); overflow: hidden; }
.support-panel__visual > .support-motion { width: min(100%, 400px); height: auto; mix-blend-mode: multiply; }
.support-panel__visual--heart { height: 220px; }
.support-heart { position: absolute; width: 230px; height: 230px; object-fit: cover; mix-blend-mode: multiply; mask-image: radial-gradient(ellipse at center, #000 48%, transparent 73%); }
.support-panel__visual--heart > .support-motion { position: absolute; width: 100%; max-width: 440px; bottom: -12px; opacity: .8; mask-image: linear-gradient(transparent, #000 22%, #000 80%, transparent); }
.support-visual-label { position: absolute; bottom: 15px; font-size: 11px; font-weight: 700; color: #66758a; letter-spacing: .06em; }
.support-panel__copy { padding: 25px 30px 30px; }
.support-panel__tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--red-700); }
.support-panel__copy h3 { margin: 10px 0; font-size: 22px; line-height: 1.35; }
.support-panel__copy p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.support-panel__copy .text-link { font-size: 13px; }
.procedure-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 30px; }
.procedure-filters button { min-height: 42px; padding: 10px 20px; border-radius: 24px; border: 1px solid #dfe5ee; background: #fff; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.procedure-filters button:hover { border-color: var(--red); color: var(--red-700); }
.procedure-filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.support-option:focus-visible, .procedure-filters button:focus-visible, .support-panel:focus-visible { outline: 3px solid #295eac; outline-offset: 5px; }
.home-page .support-panel.is-entering { animation: support-panel-in .4s ease both; }
@keyframes support-panel-in { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.home-page.motion-paused .support-panel { animation: none; }
@media (max-width: 760px) {
  .support-explorer__heading { display: block; margin-bottom: 28px; }
  .support-explorer__heading > p { margin-top: 20px; max-width: 520px; font-size: 14px; }
  .support-explorer__layout { grid-template-columns: 1fr; gap: 22px; }
  .support-option { padding: 17px; gap: 13px; border-radius: 12px; }
  .support-option strong { font-size: 14px; }
  .support-option small { font-size: 11px; }
  .support-panel__copy { padding: 22px; }
  .support-panel__visual { height: 190px; }
  .support-panel__copy h3 { font-size: 21px; }
  .procedure-filters { gap: 8px; }
  .procedure-filters button { padding-inline: 14px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .home-page .support-panel { animation: none; } }
@media print { .support-panel[hidden] { display: block !important; } .procedure-filters { display: none; } }

/* Legacy trace styling; the journey now uses a dedicated anatomical animation. */
.home-page :is(.scene__motion, .scene__trace) {
  position: absolute; z-index: 1; left: 4%; top: 35%; width: 88%; height: 48%;
  object-fit: contain; pointer-events: none;
  filter: grayscale(1) contrast(1.5) invert(1);
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.home-page .scene__trace {
  fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 4px #ee315f); mix-blend-mode: normal;
}
.home-page .stage__num { z-index: 1; pointer-events: none; }
.home-page .support-panel { background: linear-gradient(160deg, #fff 75%, #fafbfd); }
.home-page .support-panel__visual { border-bottom: 1px solid #e8edf5; }
.home-page .support-option { transition: transform .3s var(--motion-ease), background .25s, border-color .25s, box-shadow .3s; }
.home-page .support-option__number, .home-page .support-option > .i { transition: transform .3s var(--motion-ease), background .25s, color .25s; }
.home-page .support-option[aria-selected="true"] { box-shadow: 0 12px 30px -20px #ac123b40; }
.home-page .support-option[aria-selected="true"] > .i { transform: rotate(-35deg); }
.home-page .stage { transition: border-color .35s, box-shadow .35s; }
.home-page .scene--heart {
  background: radial-gradient(ellipse at 58% 48%, #f5e2e8, transparent 70%), linear-gradient(160deg, #fff, #f2f6fb);
}
/* Layered cardiac illustration: the heart and trace move independently. */
.home-page .scene.scene--cardiac {
  isolation: isolate; padding: 0; min-height: 420px; border-color: #e1e8ef;
  background: radial-gradient(ellipse at 50% 46%, #e8f0f7 0, #f5f8fb 56%, #fcfdff 100%);
}
.home-page .scene__cardiac-image {
  position: absolute; z-index: 2; top: 20%; left: 20%; width: 60%; height: 59%;
  min-height: 0; object-fit: contain; transform-origin: 50% 58%;
  filter: drop-shadow(0 18px 18px #5b263b20);
}
.cardiac-orbit {
  position: absolute; z-index: 0; top: 49%; left: 50%; width: 68%; aspect-ratio: 1;
  border: 1px solid #b8cbdc55; border-radius: 50%; transform: translate(-50%, -50%);
}
.cardiac-orbit--inner { width: 53%; background: #ffffff35; border-color: #ffffffd0; }
.cardiac-orbit--outer::after {
  content: ''; position: absolute; top: 15%; left: 14%; width: 5px; height: 5px;
  border: 3px solid #f5f8fb; box-sizing: content-box; border-radius: 50%; background: #9fb5ca;
}
.cardiac-caption {
  position: absolute; z-index: 3; top: 25px; left: 28px; right: 28px;
  display: flex; align-items: center; gap: 12px; color: #193551;
}
.cardiac-caption__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid #eedde2; border-radius: 12px; background: #fff9fa; }
.cardiac-caption .i { width: 21px; height: 21px; color: #bd2345; }
.cardiac-caption strong { display: block; color: #193551; font-size: 18px; font-weight: 750; line-height: 1.35; letter-spacing: -.025em; }
.cardiac-caption small { display: block; margin-top: 3px; color: #60738a; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .01em; }
.cardiac-trace { position: absolute; z-index: 1; top: 33%; left: 0; width: 100%; height: 30%; overflow: visible; }
.cardiac-trace path { stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.cardiac-trace__base { stroke: #cf6684; opacity: .18; }
.cardiac-trace__signal { stroke: #c8103d; stroke-dasharray: .16 .84; stroke-dashoffset: .16; opacity: .5; }
.cardiac-shadow {
  position: absolute; z-index: 1; top: 78%; left: 36%; width: 28%; height: 3%;
  background: #25456e20; border-radius: 50%; filter: blur(9px);
}
.cardiac-footnote {
  position: absolute; z-index: 3; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 11px; padding: 17px 28px;
  border-top: 1px solid #dfe7ef; background: #ffffffc9;
  color: #536b85;
}
.cardiac-footnote > .i { width: 20px; height: 20px; flex: none; color: #738aa2; }
.cardiac-footnote strong { display: block; color: #304962; font-size: 12px; font-weight: 700; line-height: 1.5; }
.cardiac-footnote small { display: block; margin-top: 2px; color: #6d7e90; font-size: 10px; line-height: 1.5; }
.cardiac-footnote > .cardiac-footnote__heart { margin-left: auto; color: #bd2345; opacity: .65; }
@keyframes cardiac-gentle-beat {
  0%, 40%, 100% { transform: scale(1); }
  12% { transform: scale(1.035); }
  20% { transform: scale(1.008); }
  29% { transform: scale(1.022); }
}
@keyframes cardiac-trace-travel { to { stroke-dashoffset: -1.84; } }
@keyframes cardiac-shadow-beat { 0%, 40%, 100% { scale: 1; opacity: .7; } 12%, 29% { scale: 1.12; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  html.motion-ok .home-page:not(.motion-paused) .scene--cardiac.is-in-view:is(.stage .is-active, .chapter.is-active .scene, .no-js .scene) .scene__cardiac-image {
    animation: cardiac-gentle-beat 2.4s ease-in-out infinite;
  }
  html.motion-ok .home-page:not(.motion-paused) .scene--cardiac.is-in-view:is(.stage .is-active, .chapter.is-active .scene) .cardiac-trace__signal { animation: cardiac-trace-travel 4.8s linear infinite; }
  html.motion-ok .home-page:not(.motion-paused) .scene--cardiac.is-in-view:is(.stage .is-active, .chapter.is-active .scene) .cardiac-shadow { animation: cardiac-shadow-beat 2.4s ease-in-out infinite; }
}
@media (max-width: 959px) {
  .home-page .story.is-slider .chapter .scene.scene--cardiac { height: 320px; min-height: 0; padding: 0; }
  .cardiac-caption { top: 18px; left: 20px; right: 20px; gap: 10px; }
  .cardiac-caption__icon { width: 34px; height: 34px; border-radius: 10px; }
  .cardiac-caption strong { font-size: 16px; }
  .cardiac-caption small { margin-top: 1px; font-size: 11px; }
  .cardiac-footnote { padding: 12px 20px; }
  .cardiac-footnote strong { font-size: 11px; }
  .cardiac-footnote small { font-size: 9px; }
}
.home-page .stage__beat {
  display: grid; place-items: center; flex: 1; min-width: 0; height: 44px;
  padding: 0 8px; border: 1px solid transparent; border-radius: 9px; background: transparent; cursor: pointer;
  transition: background .2s, transform .2s;
}
.home-page .stage__beat:hover { background: #d9082c0a; }
.home-page .stage__beat:hover path { stroke: var(--red); }
.home-page .stage__beat:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.home-page .stage__beat[aria-current="step"] { background: #d9082c06; }
.home-page .stage__beat .stage__ecg { width: 100%; height: 24px; }
@media (min-width: 960px) {
  .home-page .stage__bars { align-items: center; gap: 0; width: clamp(150px, 16vw, 224px); }
  .home-page .stage .scene--heart { inset: 64px 0 12px; background: radial-gradient(ellipse at 58% 48%, #f5e2e8, transparent 70%), linear-gradient(160deg, #fff, #f2f6fb); }
  .home-page .stage .scene__heart { width: min(65%, 360px); max-height: 90%; object-fit: contain; }
  .home-page .stage .scene-chip { z-index: 2; padding: 10px 13px; font-size: clamp(10px, 1vw, 14px); }
  .home-page .stage .scene-chip--a { top: 10%; right: 6%; }
  .home-page .stage .scene-chip--b { top: 51%; right: 3%; }
  .home-page .stage .scene-chip--c { bottom: 6%; left: 6%; }
}
@media (max-width: 959px) {
  .home-page .story.is-slider :is(.scene__motion, .scene__trace) { left: 10%; top: 22%; width: 80%; height: 65%; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-page:not(.motion-paused) .support-option:hover { transform: translateX(4px); }
  .home-page:not(.motion-paused) .support-option:hover .support-option__number { transform: scale(1.08); }
  .home-page:not(.motion-paused) .stage:hover { border-color: #e8b8c3; box-shadow: 0 40px 80px -50px #75142c45; }
  .home-page:not(.motion-paused) .stage__beat:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .stage__beat, .home-page .support-option, .home-page .support-option__number { transition: none; }
}

/* A calmer, more readable care journey, with the existing navigation intact. */
.home-page .story-intro {
  margin-top: clamp(32px, 4vw, 64px);
  padding-block: clamp(40px, 5vw, 72px);
  border-top: 1px solid #e8edf5;
  background: linear-gradient(120deg, #fff 15%, #f7f9fc);
}
.home-page .story-intro__layout { gap: clamp(32px, 5vw, 72px); }
.home-page .story-intro h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; }
.home-page .story-intro__copy > p { font-size: 16px; line-height: 1.8; }
.home-page .story-intro__note { border-radius: 10px; box-shadow: none; }
.home-page .story { padding-top: 32px; }
.home-page .chapter h3 { line-height: 1.22; text-wrap: balance; }
.home-page .chapter p { line-height: 1.75; }
.home-page .chapter__link { align-self: flex-start; margin-top: 8px; font-size: 14px; }
.home-page .chapter__aside { border-radius: 0 10px 10px 0; }
.home-page .stage { border-radius: 22px; box-shadow: 0 20px 55px -35px #18365755; }
.home-page .stage:hover { box-shadow: 0 20px 55px -35px #18365755; }
.home-page .stage__beat { min-height: 44px; }
.home-page .stage__beat[aria-current="step"] { background: #fff3f5; border-color: #f1d7df; }
.home-page .stage__ecg path.is-current { filter: none; }
/* Keep the title readable throughout a scene change. */
html.motion-ok .home-page .story .chapter h3 .w > span { transform: none; }
@media (min-width: 960px) {
  .home-page .story.is-staged .chapter {
    min-height: clamp(520px, 72vh, 760px); padding-block: 48px;
    opacity: .6; transition: opacity .35s ease;
  }
  .home-page .story.is-staged .chapter.is-active { opacity: 1; }
  .home-page .chapter h3 { max-width: 23ch; margin-bottom: 20px; font-size: clamp(27px, 2.5vw, 37px); }
  .home-page .chapter p { max-width: 46ch; font-size: 16px; }
  .home-page .chapter p.chapter__label { margin-bottom: 22px; gap: 12px; font-size: 11px; letter-spacing: .12em; }
  .home-page .chapter__num { width: 32px; height: 32px; border-radius: 10px; background: #fff0f3; color: var(--red-700); box-shadow: none; }
  .home-page .stage__top {
    display: grid; grid-template-columns: auto 1fr; gap: 6px 16px;
    top: 0; left: 0; right: 0; padding: 17px 22px 12px;
    background: #ffffffed; border-bottom: 1px solid #e5ebf2;
  }
  .home-page .stage__count { font-size: 10px; letter-spacing: .1em; }
  .home-page .stage__title { font-size: 11px; }
  .home-page .stage__title { text-align: right; }
  .home-page .stage__bars { grid-column: 1 / -1; width: 100%; height: 44px; gap: 6px; }
  .home-page .stage .scene { inset-block-start: 100px; }
  .home-page .stage .scene--heart { inset-block-start: 100px; }
  .home-page .stage .scene-chip { border: 1px solid #eef0f5; border-radius: 10px; box-shadow: 0 8px 22px -14px #18365740; }
  .home-page .stage__num { font-size: 120px; opacity: .5; }
}
@media (max-width: 959px) {
  .home-page .story-intro { margin-top: 28px; }
  .home-page .story.is-slider { padding-top: 12px; }
  .home-page .story.is-slider .chapter { border-radius: 18px; box-shadow: 0 10px 25px -20px #18365740; }
  .home-page .story.is-slider .chapter .scene,
  .home-page .story.is-slider .chapter .scene--photo .scene-photo { height: 196px; }
  .home-page .story.is-slider .chapter .scene__heart { height: 170px; }
  .home-page .story.is-slider .chapter h3 { line-height: 1.3; }
  .home-page .story.is-slider .story-nav { border-radius: 12px; }
  .home-page .story.is-slider .story-dot { min-height: 28px; }
  .home-page .story.is-slider .story-dot::before,
  .home-page .story.is-slider .story-dot::after { top: 12px; }
}


/* ---------- Spec copy restored on the home page: trust line, feature cards, process preview ---------- */
/* Homepage process preview: spec heading and text, centred. */
.home-page .process-preview {
  padding-block: clamp(40px, 4.5vw, 64px) clamp(32px, 3.5vw, 48px);
  margin-bottom: 0;
  border-block: 1px solid #e8edf4;
  background: linear-gradient(115deg, #f6f8fc, #fcfdff 65%, #f8f9fc);
}
.process-preview__layout { max-width: 760px; margin-inline: auto; text-align: center; }
.home-page .process-preview .section-head { max-width: none; margin: 0; text-align: center; }
.home-page .process-preview .eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 20px;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em;
}
.process-preview .eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--red); }
.home-page .process-preview h2 {
  max-width: none; margin-bottom: 22px; font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.12; letter-spacing: -.035em; text-wrap: balance;
}
.home-page .process-preview__intro > p:not(.eyebrow) { font-size: 1rem; line-height: 1.8; }
.home-page .process-preview .process-section__more { margin: 28px 0 14px; }
.home-page .process-preview .btn { gap: 20px; }
.home-page .process-preview__intro .process-preview__reassurance {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: .79rem;
  color: #586780; line-height: 1.5;
}
.process-preview__reassurance .i { width: 14px; height: 14px; flex: none; }

/* stepper-intro: pink note and swoosh under the section heading */
.home-page .story-intro__note { border-color: #f4c9d2; background: #fdecef; }
.home-page .story-intro__heading h2 { position: relative; padding-bottom: 20px; }
.home-page .story-intro__heading h2::after { content: ""; position: absolute; left: 4px; bottom: 0; width: 170px; height: 11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M2 12C70 3 170 2 298 9' fill='none' stroke='%23c4002a' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }

/* Procedure filter chips: one tidy row on phones (swipe if needed) instead of a wrapped, lopsided second line. */
@media (max-width: 639px) {
  .procedure-filters { flex-wrap: nowrap; justify-content: flex-start; gap: 8px; margin-inline: -16px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .procedure-filters::-webkit-scrollbar { display: none; }
  .procedure-filters button { flex: none; min-height: 40px; padding: 8px 16px; font-size: 12.5px; white-space: nowrap; scroll-snap-align: start; }
}
