/* Shared, deliberately compact page introductions. */
.patient-surface{--sm-intro-title:clamp(38px,3.45vw,54px);--sm-visual-ink:#292827;--sm-visual-wine:#ac0038;--sm-visual-paper:#faf8f5}
.patient-surface :is(.cd-page,.cl-page,.sv-page,.dp-page,.ab-page,.ct-page) h1{font-size:var(--sm-intro-title);line-height:1.12;letter-spacing:-.045em;font-weight:500}
.patient-surface :is(.cd-crumbs,.cl-crumbs,.sv-crumbs,.dp-crumbs,.ab-crumbs,.ct-crumbs){font-size:12px;line-height:1.6;gap:10px}
.patient-surface :is(.cd-kicker,.cl-kicker,.sv-kicker,.dp-kicker,.ab-kicker,.ct-kicker){letter-spacing:.13em}

/* The same M-shaped ribbon, with a quieter material than the homepage hero. */
.sm-brand-ribbon{position:absolute;inset:auto 0 0;height:66px;pointer-events:none;z-index:2;overflow:hidden}
.sm-brand-ribbon svg{display:block;width:100%;height:100%;overflow:visible}
.sm-brand-ribbon path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.sm-ribbon-shadow{stroke:#660021;stroke-width:5;opacity:.17;transform:translateY(1.8px)}
.sm-ribbon-body{stroke-width:3.5}
.sm-ribbon-edge{stroke:#f4c9cc;stroke-width:.75;opacity:.7;transform:translateY(-.9px)}
.sm-ribbon-glint{stroke:#fff6ed;stroke-width:1.9;stroke-dasharray:38 1000;stroke-dashoffset:1000;opacity:0}
.sm-brand-ribbon.is-drawn .sm-ribbon-draw{animation:sm-ribbon-enter 1.8s cubic-bezier(.2,.5,.3,1) both}
.sm-brand-ribbon.is-drawn .sm-ribbon-glint{animation:sm-ribbon-light 2s .9s ease-in-out both}
@keyframes sm-ribbon-enter{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes sm-ribbon-light{0%{stroke-dashoffset:1000;opacity:0}15%,80%{opacity:.9}100%{stroke-dashoffset:-60;opacity:0}}

/* Directory art sits above the form, never behind a field or a result. */
.patient-surface .cd-hero{position:relative;isolation:isolate;border:0;padding-bottom:61px;background:radial-gradient(ellipse at 88% 5%,#eadfd1a8,transparent 60%),#faf8f5}
.cd-hero>.cd-wrap{position:relative;z-index:3}
.cd-hero .sm-brand-ribbon{height:48px;opacity:.9}
.patient-surface .cd-hero-grid{grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);gap:45px;min-height:112px;position:relative}
.patient-surface .cd-crumbs{padding-bottom:22px}
.patient-surface .cd-intro{border:0;padding-left:0;font-size:15px;line-height:1.65;max-width:400px}
.patient-surface .cd-hero-grid.sm-has-art{grid-template-columns:minmax(0,1fr) 330px;gap:44px}
.sm-has-art .sm-directory-copy{display:grid;align-content:center;gap:14px}
.patient-surface .sm-directory-copy .cd-intro{max-width:660px;justify-self:start}
.patient-surface .sm-directory-copy h1{max-width:800px}
.sm-directory-art{height:144px;position:relative;justify-self:end;width:100%;max-width:330px}
.sm-directory-photo{border-radius:24px;overflow:hidden;box-shadow:0 12px 28px #624c3210;outline:1px solid #fff9;outline-offset:4px}
.sm-directory-photo>img{display:block;width:100%;height:100%;object-fit:cover;object-position:83% 50%;transform:scale(1.65);transform-origin:95% 50%}
.sm-directory-custom>img{transform:none;object-position:center}
.sm-directory-orbit{display:flex;align-items:center;justify-content:center;gap:8px;isolation:isolate}
.sm-orbit-ring{position:absolute;width:275px;height:120px;border:1px solid #bda79c66;border-radius:50%;transform:rotate(-15deg);z-index:-1}
.sm-orbit-item{display:grid;place-items:center;width:91px;height:91px;background:linear-gradient(145deg,#fffdf9ef,#f3ece3);border:1px solid #fff9;border-radius:50%;box-shadow:0 12px 24px #735c3f0c}
.sm-orbit-item:nth-of-type(2){transform:translateY(17px)}
.sm-orbit-item:nth-of-type(3){transform:translateY(-17px);width:107px;height:107px}
.sm-orbit-item:nth-of-type(4){transform:translateY(10px)}
.sm-directory-icon{width:76%;height:76%;object-fit:contain}
.patient-surface .cd-search{margin-top:20px}
.patient-surface .cd-search-box{border-radius:15px;border-color:#d9ccc0;box-shadow:0 9px 24px #5a402a06}
.patient-surface .cd-search-submit{border-radius:10px}
.patient-surface .cd-side-note{border-left:0;padding:17px;background:#f2ece5;border-radius:12px}
.patient-surface .cd-quick nav>a{border-bottom:0;border-radius:8px}
.patient-surface .cd-card,.patient-surface .dd-card{box-shadow:none;border-color:#e9e0d7}
.patient-surface .cd-card-bottom{border-top:0;padding-top:8px}

/* Photographic introductions: a continuous background and one glass edge. */
.patient-surface :is(.ab-hero,.ct-hero){padding-bottom:73px;background:radial-gradient(ellipse at 85% 20%,#e7dccd90,transparent 65%),#faf8f5}
.patient-surface :is(.ab-hero-grid,.ct-hero-grid){grid-template-columns:1fr 1.16fr;gap:60px}
.patient-surface :is(.ab-hero-photo,.ct-hero-photo){border:0;border-radius:24px;height:370px;box-shadow:0 18px 36px #55422d0c;outline:1px solid #ffffffc4;outline-offset:5px}
.patient-surface :is(.ab-hero-photo,.ct-hero-photo)::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px #fff6}
.patient-surface .ab-hero-photo figcaption{left:18px;right:18px;bottom:18px;border-radius:10px;box-shadow:none}
.patient-surface .ct-hero-copy{padding-bottom:0}
.patient-surface :is(.ab-jump,.cl-anchor-nav,.sv-nav){border-top:0}
.patient-surface :is(.ab-purpose article,.ab-standards article){border-top:0}
.patient-surface .ab-purpose article{padding:24px;border-radius:14px;background:#f1ece5}
.patient-surface .ab-standards article{padding:8px 0 8px 22px;border-left:1px solid #ffffff38}

/* Detail pages retain the space needed by the photograph and booking panel. */
.patient-surface .cl-hero-inner{padding-bottom:65px}
.patient-surface .cl-hero .sm-brand-ribbon{height:54px}
.patient-surface .sv-hero{position:relative;padding-bottom:66px;overflow:hidden;background:radial-gradient(ellipse at 88% 20%,#e9dfd0a0,transparent 65%),#faf8f5}
.patient-surface .sv-hero-image{border-radius:24px;outline:1px solid #fff9;outline-offset:4px}
.patient-surface .sv-image-note{backdrop-filter:blur(12px);background:#fffaf2ed;border:0}
.patient-surface .dp-hero{position:relative;padding-bottom:38px}
.dp-hero .sm-brand-ribbon{height:31px;opacity:.6}
.dp-hero .sm-ribbon-body{stroke-width:2.4}
.dp-hero .sm-ribbon-shadow{stroke-width:3.3}
.patient-surface .dp-anchor-nav{border-top:0}
.patient-surface .dp-portrait-shell{box-shadow:none;border-color:#e9dfd4}

/* Visual explanations use the existing, meaning-matched outline icon system. */
.sv-visual-journey .sv-stage-art{height:112px;margin:0 auto 16px;position:relative;isolation:isolate;color:#a30035}
.sv-visual-journey .sv-stage-art:before{content:'';position:absolute;width:104px;height:104px;border-radius:50%;background:radial-gradient(circle,#fffdf8 0%,#fffdf800 72%);z-index:-1}
.sv-visual-journey .sv-stage-art svg{width:86px;height:86px;stroke-width:1.55}
.sv-visual-journey li{grid-template-rows:128px auto auto 1fr}
.sv-visual-journey[data-motion-ready] .sv-stage-art{opacity:1;transform:none}
.sv-visual-journey h3{font-size:20px}
.sv-visual-journey li>p{max-width:260px;color:#655e58}
.patient-surface .sv-at-glance>article{border:0;border-radius:14px;background:#f0e9e1}
.patient-surface .sv-concern{border:0;background:#f5f0ea}
.patient-surface .sv-concern-important{background:#eee4db}
.patient-surface .sv-section{border-top:0}
.patient-surface .sv-visual-preparation{padding:32px;border:0;background:linear-gradient(115deg,#eee4d9,#f6f0e9);border-radius:18px}
.sm-preparation-symbol{display:block;width:76px;height:76px;color:#ac0038;margin-bottom:18px}
.sm-preparation-symbol svg{width:100%;height:100%}
.patient-surface .sv-prep-list li{padding:10px 0;border-bottom:1px solid #d9cbbd77}
.patient-surface .sv-prep-list li:last-child{border-bottom:0}
.patient-surface .sv-after{background:#f3ece4;border-radius:18px;padding:30px;margin-block:26px}
.patient-surface .sv-after-heading>span{width:64px;height:64px}
.patient-surface .dp-visit-steps{border:0;gap:18px;padding-top:0}
.patient-surface .dp-visit-steps li{padding:18px;background:#fffaf5;border-radius:14px;position:relative}
.sm-step-symbol{display:block;width:56px;height:56px;color:#ac0038;margin-bottom:12px}
.sm-step-symbol svg{width:100%;height:100%;display:block}
.patient-surface .dp-visit-steps li>.sm-step-symbol{width:49px;height:49px}
.patient-surface .cl-journey .sm-step-symbol{color:#ffe7e7;width:60px;height:60px}
.patient-surface .cl-journey li{border-left-color:#ffffff30}
.patient-surface .ab-care-steps .sm-step-symbol{margin:0 auto 20px}
.patient-surface .ab-care-steps li:before{top:97px}
.patient-surface .dp-preparation{border:0;border-radius:18px;background:#f0e9e1}
.patient-surface :is(.dp-needs li,.cl-needs li){border-color:#ebe2d9}
.patient-surface :is(.dp-editorial,.cl-editorial,.sv-knowledge){border-top:0}
.doctors-pulse .pulse-base{stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.doctors-pulse .pulse-light{stroke-width:1.1}

@media(max-width:1100px){
 .patient-surface .cd-hero-grid.sm-has-art{grid-template-columns:minmax(0,1fr) 260px;gap:28px}
 .sm-directory-art{max-width:260px;height:144px}
 .sm-orbit-item{width:76px;height:76px}.sm-orbit-item:nth-of-type(3){width:90px;height:90px}
 .patient-surface :is(.ab-hero-grid,.ct-hero-grid){gap:32px}
 .patient-surface :is(.ab-hero-photo,.ct-hero-photo){height:330px}
}
@media(max-width:900px){
 .patient-surface .cd-hero-grid,.patient-surface .cd-hero-grid.sm-has-art{grid-template-columns:1fr;gap:14px;min-height:0}
 .sm-directory-art{display:none}
 .patient-surface .cd-intro{justify-self:start;max-width:620px}
 .sm-directory-copy{gap:14px}
 .patient-surface .cd-hero{padding-bottom:51px}
 .cd-hero .sm-brand-ribbon{height:38px}
}
@media(max-width:767px){
 .patient-surface{--sm-intro-title:36px}
 .patient-surface :is(.cd-crumbs,.cl-crumbs,.sv-crumbs,.dp-crumbs,.ab-crumbs,.ct-crumbs){font-size:11px;gap:8px}
 .patient-surface :is(.ab-hero-grid,.ct-hero-grid){grid-template-columns:1fr;gap:25px}
 .patient-surface :is(.ab-hero-photo,.ct-hero-photo){height:245px;border-radius:20px;outline-offset:3px}
 .patient-surface :is(.ab-hero,.ct-hero){padding-bottom:48px}
 .sm-brand-ribbon{height:38px}
 .sm-ribbon-body{stroke-width:2.3}.sm-ribbon-shadow{stroke-width:3}.sm-ribbon-edge{stroke-width:.65}
 .patient-surface .cd-intro{font-size:14px;line-height:1.65}
 .patient-surface .cl-hero-inner{padding-bottom:0}
 .patient-surface .cl-hero .sm-brand-ribbon{height:35px}
 .patient-surface .sv-hero{padding-bottom:48px}
 .patient-surface .sv-hero-image{border-radius:20px}
 .patient-surface .dp-hero{padding-bottom:29px}
 .patient-surface .dp-page h1{font-size:clamp(28px,8.6vw,36px);overflow-wrap:anywhere}
 .patient-surface .dp-identity{min-width:0}
 .dp-hero .sm-brand-ribbon{height:25px}
 .sv-visual-journey li{grid-template-columns:30px 54px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px}
 .sv-visual-journey .sv-stage-art{height:58px;width:54px;margin:0}
 .sv-visual-journey .sv-stage-art:before{width:62px;height:62px}
 .sv-visual-journey .sv-stage-art svg{width:49px;height:49px}
 .sv-visual-journey h3{font-size:18px}
 .sv-visual-journey li>p{max-width:none}
 .patient-surface .sv-visual-preparation{padding:23px}
 .sm-preparation-symbol{width:50px;height:50px;margin-bottom:12px}
 .patient-surface .sv-after{padding:23px}
 .patient-surface .dp-visit-steps li{display:grid;grid-template-columns:45px minmax(0,1fr);gap:4px 14px;padding:17px}
 .dp-visit-steps .sm-step-symbol{grid-row:1/3;margin:0}
 .dp-visit-steps li>span:not(.sm-step-symbol){grid-column:2}
 .dp-visit-steps li>div{grid-column:2}
 .patient-surface .ab-purpose article{padding:21px}
}
@media(max-width:760px){
 .patient-surface .ab-care-steps .sm-step-symbol{position:absolute;left:66px;top:0;width:42px;height:42px;margin:0}
 .patient-surface .ab-care-steps li:before{top:20px}
 .patient-surface .ab-care-steps h3{padding-left:56px;min-height:44px;display:flex;align-items:center;padding-top:0}
}
@media(max-width:360px){.patient-surface{--sm-intro-title:33px}.sv-visual-journey li{column-gap:9px;grid-template-columns:28px 45px minmax(0,1fr)}.sv-visual-journey .sv-stage-art,.sv-visual-journey .sv-stage-art svg{width:43px}}
@media(prefers-reduced-motion:reduce){.sm-brand-ribbon *{animation:none!important}.sm-ribbon-glint{display:none}.sm-ribbon-draw{clip-path:none!important}}

/* Warm page background continues behind the glass header without a hard seam. */
.patient-surface .cd-page,.patient-surface .sv-page{background:radial-gradient(ellipse 1100px 530px at 88% 145px,#eadfd1a8,transparent 76%),#faf8f5}
.patient-surface .cd-hero,.patient-surface .sv-hero{background:transparent}

/* Entire panels stay reachable through the main page scroll. */
.patient-surface .dp-booking-card,.patient-surface .cd-sidebar-inner{max-height:none;overflow:visible;scrollbar-width:auto}
.patient-surface .sm-sidebar-tall{position:static}
@media(min-width:1001px){
 .patient-surface .dp-booking-card{padding:20px}
 .patient-surface .dp-booking-card h2{font-size:24px;line-height:1.2;margin-bottom:18px}
}

/* Distinct photographic introductions: device detail and surgical instruments. */
.patient-surface .od-page[data-mode=services] .cd-hero-grid.sm-has-art{grid-template-columns:minmax(0,1fr) 420px}
.od-page[data-mode=services] .sm-directory-art{height:180px;max-width:420px}
.sm-directory-stock>img{transform:none;object-position:50% 60%}
.od-page[data-kind=procedure] .sm-directory-stock>img{object-position:center}
@media(min-width:901px) and (max-width:1100px){
 .patient-surface .od-page[data-mode=services] .cd-hero-grid.sm-has-art{grid-template-columns:minmax(0,1fr) 300px}
 .od-page[data-mode=services] .sm-directory-art{height:160px;max-width:300px}
}
@media(max-width:900px){
 .patient-surface .od-page[data-mode=services] .cd-hero-grid.sm-has-art{grid-template-columns:1fr}
}
