/* Ver.5: clinic name first, 1.8s withdrawal with an existing sunrise afterglow. */
.v5 .fv-study{background:linear-gradient(180deg,var(--paper),#fcfaef 75%,#f8faf6)}
.v5 .fv-scene{background:transparent}
.v5 .fv-study .fv-photo{opacity:.12;transform:translateX(.8%)}
.v5 .fv-study .fv-name{opacity:1;transform:translate(-50%,-50%) scale(.84);transform-origin:50% 50%;}
.v5 .fv-study.playing .fv-name{animation:v5ClinicWithdraw 1.8s ease-in-out both}
.v5 .fv-study.playing.motion-b .fv-photo{animation:v5SunAfterglow 1.8s ease-in-out both}
.v5 .v5-quick-links{position:absolute;z-index:3;bottom:28px;left:50%;transform:translateX(-50%);display:flex;gap:12px;max-width:calc(100% - 144px);justify-content:center}
.v5 .v5-quick-links a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 22px;border:1px solid #ccd7c2;border-radius:999px;text-decoration:none;background:#f8faf6f2;color:var(--ink);font:16px/1.5 var(--sans);white-space:nowrap}
.v5 .v5-quick-links a:last-child{background:var(--nature-cta);border-color:#dac16b}
.v5 .v5-quick-links a:hover{background:var(--ink);color:var(--paper)}
.v5 .fv-skip{z-index:4;bottom:28px}
@keyframes v5ClinicWithdraw{0%,22%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:1;transform:translate(-50%,-50%) scale(.84)}}
@keyframes v5SunAfterglow{0%,22%{opacity:0;transform:translateX(-.8%)}65%{opacity:.2}100%{opacity:.12;transform:translateX(.8%)}}
@media(max-width:700px){.v5 .v5-quick-links{bottom:24px;gap:6px;max-width:none;width:calc(100% - 36px)}.v5 .v5-quick-links a{font-size:13px;min-height:46px;padding:9px 12px}.v5 .fv-skip{bottom:86px;right:18px;width:44px;height:44px;font-size:21px}.v5 .fv-study .fv-name{transform:translate(-50%,-50%) scale(.88)}@keyframes v5ClinicWithdraw{0%,22%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:1;transform:translate(-50%,-50%) scale(.88)}}}
@media(prefers-reduced-motion:reduce){.v5 .fv-study.playing .fv-photo,.v5 .fv-study.playing .fv-name{animation:none!important}.v5 .v5-quick-links a{transition:none}.v5 .fv-skip{display:none}}
/* Local QA fixtures freeze the actual initial state or run the same reduced-motion branch. */
.v5[data-qa-scene=name] .fv-name{animation:none!important;transform:translate(-50%,-50%) scale(1)!important}
.v5[data-qa-scene=name] .fv-photo{animation:none!important;opacity:0!important}
.v5 .fv-study .fv-name{inset:auto;left:50%;top:50%;width:max-content;max-width:100%;height:max-content;padding:0;justify-content:flex-start;align-items:flex-start}

/* Final limited adjustment: explicit skip label; motion and type unchanged. */
.v5 .fv-study .fv-skip{width:auto;min-width:44px;padding:0 16px;border-radius:999px;font:15px/1.4 var(--sans);white-space:nowrap}
@media(max-width:700px){.v5 .fv-study .fv-skip{font-size:14px;padding:0 14px}}

/* Limited mobile consultation spacing and semantic line wrapping. Desktop unchanged. */
.stage2.v3.v4 .consultation-heading .consultation-phrase{display:contents}
@media(max-width:700px){
 .stage2.v3.v4 .site-main>section:has(+.consultation-area){padding-bottom:24px;margin-bottom:0}
 .stage2.v3.v4 .consultation-area{margin-top:0}
 .stage2.v3.v4 .consultation-area .section{padding-top:28px}
 .stage2.v3.v4 .consultation-area .consultation-heading{font-size:clamp(20px,5.6vw,24px);line-height:1.65;letter-spacing:.02em;max-width:32rem;margin:0 auto 24px}
 .stage2.v3.v4 .consultation-heading br{display:none}
 .stage2.v3.v4 .consultation-heading .consultation-phrase{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
}
/* Responsive refinement: soft phrase grouping with an emergency wrap, no text shrink. */
.service-mobile-summary{display:none}
.stage2.v3.v4 .semantic-heading .responsive-phrase{display:contents}
@media(max-width:700px){
 .stage2.v3.v4 .consultation-heading{overflow-wrap:anywhere;word-break:normal;text-wrap:pretty}
 .stage2.v3.v4 .semantic-heading .responsive-phrase{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
 .stage2.v3.v4 .info-card,.stage2.v3.v4 .consultation-card,.stage2.v3.v4 .route-card,.stage2.v3.v4 .facts dd,.stage2.v3.v4 .grid-two>*{min-width:0}
 .stage2.v3.v4 .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
 .stage2.v3.v4 .consultation-card .consultation-number{white-space:normal;overflow-wrap:anywhere}
 .stage2.v3.v4 .service-page .page-lead{padding-block:24px}
 .stage2.v3.v4.service-page .page-lead{padding-block:24px}
 .stage2.v3.v4.service-page .page-lead .breadcrumbs{margin-bottom:16px}
 .stage2.v3.v4.service-page .page-lead p{margin-top:16px}
 .service-mobile-summary{display:block;margin-top:18px;padding-top:16px;border-top:1px solid var(--v4-rule)}
 .stage2.v3.v4.service-page .service-mobile-summary p{margin:0 0 10px;font-size:17px;line-height:1.8}
 .service-mobile-summary .cta-row{margin-top:16px;gap:14px;align-items:center}
 .stage2.v3.v4 .page-lead h1{overflow-wrap:anywhere;word-break:normal}
}
.v5 .v5-quick-links{left:calc(50% + 40px)}
@media(max-width:700px){.v5 .v5-quick-links{left:50%}}
