/* Patient Guide hero v11 — Calm Companion / Patient Journey.
   Loaded only by /patient-guide/. Every rule is scoped to .patient-guide-page .pgx; the header and the rest of the guide are untouched. */
.patient-guide-page .pgx{overflow-x:clip;--pgx-emerald:#173f2c;--pgx-sage:#dfe9d2;--pgx-leaf:#6f9a6a;--pgx-gold:#a88a58;position:relative;isolation:isolate;padding:150px var(--pg-pad) 0;background:radial-gradient(ellipse 55% 60% at 78% 52%,#e4ecd9b3,transparent 70%),linear-gradient(180deg,#f7f6ee,#f3f4ea)}
.patient-guide-page .pgx .pg-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.patient-guide-page .pgx .pg-hero-top{position:relative;z-index:2}

.patient-guide-page .pgx-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:clamp(30px,4vw,72px);align-items:center;padding:18px 0 0}
.patient-guide-page .pgx-copy{position:relative;z-index:2;padding-bottom:30px}
.patient-guide-page .pgx-kicker{display:flex;align-items:center;gap:14px;margin:0 0 28px;font-size:13px;color:#5b6f61;letter-spacing:.02em}
.patient-guide-page .pgx-kicker>span{width:42px;height:1px;background:linear-gradient(90deg,var(--pgx-gold),transparent)}
.patient-guide-page .pg-hero.pgx h1{font-size:clamp(58px,6.4vw,108px);line-height:.98;letter-spacing:-.052em;margin:0 0 30px}
.patient-guide-page .pgx h1>span{display:block;white-space:nowrap}
.patient-guide-page .pgx-intro{max-width:470px;font-size:18px;line-height:1.7;color:var(--pg-muted);margin:0 0 34px}
.patient-guide-page .pgx-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.patient-guide-page .pgx-hint{margin:0;max-width:220px;font-size:13px;line-height:1.6;color:#6a7b6e;padding-left:22px;border-left:1px solid #a88a5866}

/* Visual: arch portrait, journey line, Before / During / After. */
.patient-guide-page .pgx-visual{margin:0;justify-self:end;width:min(100%,640px,calc((100svh - 336px) * 1.032));min-width:min(100%,420px);position:relative}
.patient-guide-page .pgx-stage{position:relative;width:100%;aspect-ratio:640/620}
.patient-guide-page .pgx-stage>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.patient-guide-page .pgx-back{z-index:0}.patient-guide-page .pgx-front{z-index:2;pointer-events:none}
.patient-guide-page .pgx-ring{fill:none;stroke:var(--pgx-gold);stroke-width:1;opacity:.55}
.patient-guide-page .pgx-ring-out{stroke:#2a4d34;opacity:.12}
.patient-guide-page .pgx-hand .pgx-draw{fill:none;stroke:#5f8a63;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;opacity:.38;stroke-dasharray:1;stroke-dashoffset:0}
.patient-guide-page .pgx-hand .pgx-hand-soft{opacity:.14;stroke-width:1}
.patient-guide-page .pgx-hand .pgx-hand-nerve{stroke:var(--pgx-gold);opacity:.5}
.patient-guide-page .pgx-arch{position:absolute;z-index:1;left:32.8125%;top:14.516%;width:46.875%;height:85.484%;border-radius:999px 999px 0 0;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#eef3e4 0,#d5e2c7 58%,#bfd2b0 100%);box-shadow:inset 0 0 0 1px #2a4d341a,0 40px 70px -50px #173f2c99}
.patient-guide-page .pgx-arch:before{content:'';position:absolute;inset:7% 9% auto;aspect-ratio:1;border-radius:50%;border:1px solid #ffffff80;box-shadow:0 0 0 18px #ffffff14}
.patient-guide-page .pgx-arch img{position:absolute;left:50%;bottom:0;width:120%;max-width:none;height:auto;transform:translateX(-50%);filter:saturate(.9)}
.patient-guide-page .pgx-path,.patient-guide-page .pgx-path-shadow{fill:none;stroke-linecap:round}
.patient-guide-page .pgx-path-shadow{stroke:#f6f5ed;stroke-width:7;opacity:.9}
.patient-guide-page .pgx-path{stroke:var(--pgx-emerald);stroke-width:1.6;stroke-dasharray:1;stroke-dashoffset:0}
.patient-guide-page .pgx-traveller{fill:var(--pgx-gold);filter:drop-shadow(0 0 6px #d6b47a)}

.patient-guide-page .pgx-node{position:absolute;z-index:3;left:var(--x);top:var(--y);display:flex;align-items:flex-start;gap:12px;text-decoration:none;color:var(--pg-ink);transform:translate(-11px,-11px)}
.patient-guide-page .pgx-dot{position:relative;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#f8f8f1;border:1px solid var(--pgx-emerald);box-shadow:0 0 0 6px #f6f5edcc;transition:transform .45s cubic-bezier(.2,.8,.2,1),background .3s}
.patient-guide-page .pgx-dot:after{content:'';position:absolute;inset:5px;border-radius:50%;background:var(--pgx-emerald);transition:inset .35s}
.patient-guide-page .pgx-node-during .pgx-dot:after{background:var(--pgx-gold)}
.patient-guide-page .pgx-label{display:flex;flex-direction:column;gap:2px;padding:6px 14px 8px;border-radius:3px;background:#f8f8f1e6;box-shadow:0 10px 30px -18px #173f2c80,inset 0 0 0 1px #2a4d341a;white-space:nowrap;margin-top:-6px;transition:box-shadow .35s,background .35s}
.patient-guide-page .pgx-label b{font:400 23px/1.1 var(--serif);letter-spacing:-.02em}
.patient-guide-page .pgx-label small{font-size:11px;color:#62756a;letter-spacing:.02em}
.patient-guide-page .pgx-node-during{flex-direction:row-reverse}
.patient-guide-page .pgx-node-during{transform:translate(calc(-100% + 11px),-11px)}
.patient-guide-page .pgx-node-after{flex-direction:column;align-items:flex-end;transform:translate(calc(-100% + 11px),-11px);gap:10px}
.patient-guide-page .pgx-node-after .pgx-label{margin:0;align-items:flex-end}
.patient-guide-page .pgx-node:hover .pgx-dot,.patient-guide-page .pgx-node:focus-visible .pgx-dot{transform:scale(1.18)}
.patient-guide-page .pgx-node:hover .pgx-label,.patient-guide-page .pgx-node:focus-visible .pgx-label{background:#fff;box-shadow:0 14px 34px -16px #173f2c99,inset 0 0 0 1px #2a4d3433}
.patient-guide-page .pgx-visual figcaption{position:absolute;right:0;bottom:16px;z-index:3;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#f4f6ec;writing-mode:vertical-rl;transform:rotate(180deg);opacity:.85;right:22%}

/* Chapter markers */
.patient-guide-page .pgx-markers{position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(24px,3vw,48px);min-height:92px;border-top:1px solid var(--pg-line);border-bottom:1px solid var(--pg-line);background:#f6f5edcc}
.patient-guide-page .pgx-count{display:flex;align-items:center;gap:14px;margin:0}
.patient-guide-page .pgx-count>span{font:400 54px/1 var(--serif);letter-spacing:-.04em;color:transparent;-webkit-text-stroke:1px var(--pgx-gold)}
.patient-guide-page .pgx-count small{font-size:11px;line-height:1.5;color:#5b6f61}
.patient-guide-page .pgx-markers ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));position:relative}
.patient-guide-page .pgx-markers ol:before{content:'';position:absolute;left:5%;right:5%;top:14px;height:1px;background:linear-gradient(90deg,#6f9a6a66,#a88a5888 40%,#173f2c55)}
.patient-guide-page .pgx-markers li{margin:0;display:flex;justify-content:center}
.patient-guide-page .pgx-markers ol a{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:44px;min-height:48px;padding:7px 0 0;text-decoration:none;color:#5b6f61;font-size:10px;letter-spacing:.08em}
.patient-guide-page .pgx-m-dot{width:13px;height:13px;border-radius:50%;background:#f6f5ed;border:1px solid var(--pgx-leaf);transition:transform .3s,background .3s}
.patient-guide-page .pgx-m-during .pgx-m-dot{border-color:var(--pgx-gold)}
.patient-guide-page .pgx-m-after .pgx-m-dot{border-color:var(--pgx-emerald)}
.patient-guide-page .pgx-markers ol a:after{content:attr(data-title);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%,6px);padding:7px 11px;border-radius:3px;background:var(--pgx-emerald);color:#f3f5ea;font-size:11px;letter-spacing:0;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .25s,transform .3s}
.patient-guide-page .pgx-markers ol a:hover:after,.patient-guide-page .pgx-markers ol a:focus-visible:after{opacity:1;transform:translate(-50%,0)}
.patient-guide-page .pgx-markers li:first-child a:after{left:0;transform:translate(0,6px)}.patient-guide-page .pgx-markers li:first-child a:hover:after,.patient-guide-page .pgx-markers li:first-child a:focus-visible:after{transform:none}
.patient-guide-page .pgx-markers li:last-child a:after{left:auto;right:0;transform:translate(0,6px)}.patient-guide-page .pgx-markers li:last-child a:hover:after,.patient-guide-page .pgx-markers li:last-child a:focus-visible:after{transform:none}
.patient-guide-page .pgx-markers ol a:hover .pgx-m-dot,.patient-guide-page .pgx-markers ol a:focus-visible .pgx-m-dot{transform:scale(1.35);background:var(--pgx-emerald)}
.patient-guide-page .pgx-markers ol a:hover{color:var(--pg-ink)}
.patient-guide-page .pgx-urgent{flex-direction:row;font-size:12px;letter-spacing:.06em;padding:14px 0;min-height:44px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}

/* One orchestrated arrival: arch rises, portrait settles, the journey draws, markers appear in turn. */
@media(prefers-reduced-motion:no-preference){
.patient-guide-page .pgx-copy>*{animation:pgx-rise 1s cubic-bezier(.2,.8,.2,1) both}
.patient-guide-page .pgx-copy>:nth-child(2){animation-delay:.08s}.patient-guide-page .pgx-copy>:nth-child(3){animation-delay:.18s}.patient-guide-page .pgx-copy>:nth-child(4){animation-delay:.26s}
.patient-guide-page .pgx-arch{animation:pgx-arch 1.4s cubic-bezier(.2,.8,.2,1) .15s both}
.patient-guide-page .pgx-arch img{animation:pgx-portrait 1.6s cubic-bezier(.2,.8,.2,1) .35s both}
.patient-guide-page .pgx-ring{animation:pgx-fade 1.6s ease .5s both}
.patient-guide-page .pgx-hand .pgx-draw{animation:pgx-draw 3.2s cubic-bezier(.45,.05,.2,1) .7s both}
.patient-guide-page .pgx-path{animation:pgx-draw 2.4s cubic-bezier(.45,.05,.2,1) .8s both}
.patient-guide-page .pgx-path-shadow{animation:pgx-fade 1s ease .8s both}
.patient-guide-page .pgx-node{animation:pgx-node .7s cubic-bezier(.2,.8,.2,1) both}
.patient-guide-page .pgx-node-before{animation-delay:1.05s}.patient-guide-page .pgx-node-during{animation-delay:1.65s}.patient-guide-page .pgx-node-after{animation-delay:2.55s}
.patient-guide-page .pgx-traveller{animation:pgx-fade 1s ease 3s both}
.patient-guide-page .pgx-markers li{animation:pgx-fade .6s ease both;animation-delay:calc(1.2s + var(--i,0) * 60ms)}
}
@keyframes pgx-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes pgx-arch{from{clip-path:inset(100% 0 0 0 round 999px 999px 0 0)}to{clip-path:inset(0 0 0 0 round 999px 999px 0 0)}}
@keyframes pgx-portrait{from{opacity:0;transform:translate(-50%,28px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes pgx-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes pgx-fade{from{opacity:0}}
@keyframes pgx-node{from{opacity:0;scale:.8}to{opacity:1;scale:1}}
.patient-guide-page .pgx-markers li:nth-child(2){--i:1}.patient-guide-page .pgx-markers li:nth-child(3){--i:2}.patient-guide-page .pgx-markers li:nth-child(4){--i:3}.patient-guide-page .pgx-markers li:nth-child(5){--i:4}.patient-guide-page .pgx-markers li:nth-child(6){--i:5}.patient-guide-page .pgx-markers li:nth-child(7){--i:6}.patient-guide-page .pgx-markers li:nth-child(8){--i:7}.patient-guide-page .pgx-markers li:nth-child(9){--i:8}.patient-guide-page .pgx-markers li:nth-child(10){--i:9}

@media(min-width:1700px){.patient-guide-page .pgx{padding-left:max(var(--pg-pad),calc((100vw - 1400px)/2));padding-right:max(var(--pg-pad),calc((100vw - 1400px)/2))}}
@media(max-width:1050px){
.patient-guide-page .pgx{padding-top:140px}
.patient-guide-page .pgx-label b{font-size:19px}.patient-guide-page .pgx-label small{font-size:10px}.patient-guide-page .pgx-label{padding:5px 10px 6px}
.patient-guide-page .pgx-hint{display:none}
.patient-guide-page .pgx-markers{grid-template-columns:minmax(0,1fr) auto;row-gap:0}
.patient-guide-page .pgx-count{display:none}
}
@media(max-width:760px){
.patient-guide-page .pgx{padding-top:125px}
.patient-guide-page .pgx-grid{grid-template-columns:1fr;gap:6px;padding-top:24px}
.patient-guide-page .pgx-copy{padding-bottom:0}
.patient-guide-page .pgx-kicker{margin-bottom:22px;font-size:12px}
.patient-guide-page .pg-hero.pgx h1{font-size:clamp(50px,13.4vw,84px);margin-bottom:22px}
.patient-guide-page .pgx-intro{font-size:17px;margin-bottom:26px}
.patient-guide-page .pgx-visual{justify-self:center;width:min(100%,460px);min-width:0;margin-top:22px}
.patient-guide-page .pgx-label b{font-size:16px}.patient-guide-page .pgx-label small{font-size:9px}.patient-guide-page .pgx-label{padding:4px 8px 5px}
.patient-guide-page .pgx-dot{flex-basis:18px;width:18px;height:18px;box-shadow:0 0 0 4px #f6f5edcc}.patient-guide-page .pgx-dot:after{inset:4px}
.patient-guide-page .pgx-node{gap:7px;transform:translate(-9px,-9px)}.patient-guide-page .pgx-node-during,.patient-guide-page .pgx-node-after{transform:translate(calc(-100% + 9px),-9px)}.patient-guide-page .pgx-node-after{flex-direction:column-reverse;gap:6px;transform:translate(calc(-100% + 9px),calc(-100% + 9px))}
.patient-guide-page .pgx-visual figcaption{display:none}
.patient-guide-page .pgx-markers{grid-template-columns:1fr;gap:4px;padding:16px 0 6px}
.patient-guide-page .pgx-markers ol a{min-width:32px;font-size:9px;letter-spacing:.02em}
.patient-guide-page .pgx-markers ol a:after{display:none}
.patient-guide-page .pgx-urgent{justify-self:end;font-size:11px}
}
@media(max-width:360px){.patient-guide-page .pg-hero.pgx h1{font-size:46px}.patient-guide-page .pgx-label small{display:none}}
@media(prefers-reduced-motion:reduce){.patient-guide-page .pgx-traveller{display:none}}
@media print{.patient-guide-page .pgx-visual,.patient-guide-page .pgx-markers,.patient-guide-page .pgx-hint{display:none!important}.patient-guide-page .pgx-grid{display:block}.patient-guide-page .pgx{background:white}}
