/* ══════════════════════════════════════════════════════════════════════════
   css/patients-served.css — PATIENTS SERVED  (fw-psv)
   /patients-served, built 10 Oct 2026 (Manage › Success Stories › Stats &
   Impact › Patients Served). Hybrid, no form.

   Its idea is HOW IT ADDS UP, a sibling of Babies Born with its own
   centrepiece:
     §1  the opening on the tools-page pattern, the figure as a SUM
         (appointments booked + served earlier = patients served, the total a
         Canvas counter) beside a photograph
     §2  year by year: ruled columns, each with both parts marked
     §3  how booked patients met us (in clinic, video, phone) with clay icons,
         then the countries on a line
     §4  how we count: four rules beside every source
     §5  questions beside the invitation
   PALETTE: blue is the voice, pink the actions, green the live dot. No
   decorative charts, no boxes on photographs, colour from :root only.
   ══════════════════════════════════════════════════════════════════════════ */

/* 00 · TOKENS & PRIMITIVES */
.fw-psv-page{
	--pad:28px;
	--ink:var(--dk-d);
	--line:color-mix(in srgb, var(--dk) 10%, transparent);
	--fade:linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
	--fade-v:linear-gradient(180deg, transparent, var(--line) 14%, var(--line) 86%, transparent);
	--sec:clamp(32px, 5.8vh, 64px);
	--gap:clamp(28px, 5vw, 80px);
	--glow:0 8px 20px -8px color-mix(in srgb, var(--pk-dd) 70%, transparent);
	--glow-lg:0 14px 28px -10px color-mix(in srgb, var(--pk-dd) 75%, transparent);
	--ease:cubic-bezier(.22,1,.36,1);
	background:var(--wh);
}
.fw-psv{display:block;position:relative;background:var(--wh)}
.fw-psv em{font-family:var(--ff);font-style:normal}
.fw-psv .fw-ico{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fw-psv-inner{position:relative;z-index:1;width:100%;padding-inline:var(--pad)}
.fw-psv-sec{position:relative;padding:var(--sec) 0}
.fw-psv-sec::before{content:"";position:absolute;left:var(--pad);right:var(--pad);top:0;z-index:1;height:1px;background:var(--fade)}
.fw-psv-head{display:flex;flex-direction:column;gap:8px;margin-bottom:clamp(18px, 2.8vh, 30px)}
.fw-psv-head--row{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:12px 40px;flex-wrap:wrap}
.fw-psv-head--row > div:first-child{display:flex;flex-direction:column;gap:8px;min-width:0}
.fw-psv-head--row > .fw-psv-sub{flex:0 1 38%;min-width:260px;text-align:right}
.fw-psv-eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--bl-ink)}
.fw-psv-eyebrow img{width:34px;height:34px;object-fit:contain;flex:none}
.fw-psv-sample{display:inline-block;margin-left:6px;padding:1px 9px;border-radius:999px;background:var(--go-l);color:var(--go-ink);font-size:11.5px;font-weight:700;vertical-align:2px}
.fw-psv-h2{margin:0;font-family:var(--ff);font-weight:600;color:var(--ink);font-size:clamp(26px, 4.2vh, 40px);line-height:1.12;letter-spacing:-.02em;text-wrap:balance}
.fw-psv-h3{margin:clamp(26px, 4vh, 40px) 0 6px;font-family:var(--ff);font-size:19px;font-weight:600;color:var(--ink)}
.fw-psv-sub{margin:0;font-size:clamp(14.5px, 1.9vh, 16.5px);line-height:1.6;color:var(--g6);text-wrap:pretty}
.fw-psv-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:50px;padding:0 26px;border-radius:999px;background:linear-gradient(150deg, var(--pk-d), var(--pk-dd));box-shadow:var(--glow);color:var(--wh);font-size:15px;font-weight:600;white-space:nowrap;transition:transform .25s var(--ease), box-shadow .25s var(--ease)}
.fw-psv-btn:hover{color:var(--wh);transform:translateY(-2px);box-shadow:var(--glow-lg)}
.fw-psv-btn .fw-ico{width:18px;height:18px}
.fw-psv-link{display:inline-flex;align-items:center;gap:8px;font-size:14.5px;font-weight:600;color:var(--pk-dd);transition:color .2s var(--ease)}
.fw-psv-link .bi-arrow-right{transition:transform .25s var(--ease)}
.fw-psv-link:hover{color:var(--pk-ink)}
.fw-psv-link:hover .bi-arrow-right{transform:translateX(4px)}
.fw-psv-act{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px;margin-top:6px}
@keyframes fw-psv-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}

/* 01 · THE OPENING */
.fw-psv .fw-psv-mast{position:relative;padding-bottom:clamp(26px, 4.4vh, 48px)}
.fw-psv-open{display:grid;grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);align-items:center;gap:clamp(30px, 5vw, 90px);margin-top:4px}
.fw-psv-open.is-one{grid-template-columns:minmax(0, 1fr)}
.fw-psv-open__copy{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0}
.fw-psv-rings{display:flex;margin-bottom:2px}
.fw-psv-rings img{width:clamp(50px, 6.6vh, 60px);aspect-ratio:1;object-fit:contain;padding:6px;border-radius:50%;background:var(--wh);box-shadow:0 8px 22px var(--pk-ring), 0 0 0 3px var(--wh);animation:fw-psv-float 6s ease-in-out infinite}
.fw-psv-rings img + img{margin-left:-12px}
.fw-psv-rings img:nth-child(2){animation-delay:-2s}
.fw-psv-rings img:nth-child(3){animation-delay:-4s}
.fw-psv .fw-psv-h1{margin:0;font-size:clamp(38px, 6.6vh, 64px);line-height:1.02;letter-spacing:-.035em;background:linear-gradient(100deg, var(--dk-d) 35%, var(--bl-d) 72%, var(--pk-d));-webkit-background-clip:text;background-clip:text;color:transparent}
.fw-psv-lead{margin:0;font-size:clamp(16px, 2.2vh, 19px);line-height:1.6;color:var(--g6);text-wrap:pretty}
.fw-psv-lead b{color:var(--bl-d)}
.fw-psv-wait{display:flex;align-items:center;gap:12px;margin:6px 0 0;font-size:16px;color:var(--g7)}
.fw-psv-wait img{width:46px;height:46px;object-fit:contain}
.fw-psv-photo{position:relative;margin:0;min-height:clamp(320px, 50vh, 500px);align-self:stretch;overflow:hidden}
.fw-psv-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:60% 30%}

/* 02 · YEAR BY YEAR — ruled columns */
.fw-psv-years{background:linear-gradient(180deg, var(--bl-wash), var(--wh) 75%)}
.fw-psv-yearlist{display:grid;grid-template-columns:repeat(auto-fit, minmax(170px, 1fr));gap:0;margin:0;padding:0;list-style:none}
.fw-psv-yearlist li{position:relative;display:flex;flex-direction:column;gap:4px;padding:6px clamp(16px, 2vw, 28px) 10px}
.fw-psv-yearlist li:first-child{padding-left:0}
.fw-psv-yearlist li + li::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:1px;background:var(--fade-v)}
.fw-psv-yearlist__y{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--g5)}
.fw-psv-yearlist b{font-family:var(--ff);font-size:clamp(34px, 5.4vh, 48px);font-weight:700;line-height:1;letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums}
.fw-psv-yearlist__k{font-size:14px;font-weight:600;color:var(--g7)}
.fw-psv-yearlist small{margin-top:6px;font-size:12.5px;color:var(--g6)}
.fw-psv-yearlist li.is-open .fw-psv-yearlist__y::after{content:"In progress";margin-left:8px;padding:1px 8px;border-radius:999px;background:var(--pk-l);color:var(--pk-ink);font-size:10.5px;letter-spacing:.04em}

/* 03 · WHERE THEY WERE TREATED */
.fw-psv-stops{position:relative;display:grid;grid-template-columns:repeat(var(--n, 5), minmax(0, 1fr));gap:clamp(10px, 1.6vw, 24px);margin:0;padding:0;list-style:none}
.fw-psv-n1{--n:1}.fw-psv-n2{--n:2}.fw-psv-n3{--n:3}.fw-psv-n4{--n:4}.fw-psv-n5{--n:5}.fw-psv-n6{--n:6}.fw-psv-n7{--n:7}
.fw-psv-stops::before{content:"";position:absolute;left:calc(50% / var(--n));right:calc(50% / var(--n));top:46px;height:3px;border-radius:3px;background:linear-gradient(90deg, var(--pk-l2), var(--bl-l2), var(--mt-l2))}
.fw-psv-n1::before{display:none}
.fw-psv-stop{position:relative;display:grid;justify-items:center;gap:4px;width:100%;padding:0 4px 6px;text-align:center;color:inherit}
.fw-psv-stop__dot{position:relative;width:94px;height:94px;margin-bottom:6px;border-radius:50%;background:var(--pk-l);box-shadow:0 0 0 5px var(--wh), inset 0 0 0 2px var(--pk-l2), 0 14px 28px -16px var(--pk);transition:transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .25s var(--ease)}
.fw-psv-stop__dot > img:first-child{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
.fw-psv-stop__flag{position:absolute;right:-2px;bottom:2px;width:30px;height:30px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 3px var(--wh), 0 4px 10px -4px var(--dk)}
.fw-psv-stop b{font-family:var(--ff);font-size:24px;font-weight:700;line-height:1.1;color:var(--ink);font-variant-numeric:tabular-nums}
.fw-psv-stop small{font-size:13.5px;font-weight:600;color:var(--g6);transition:color .2s var(--ease)}
.fw-psv-stop:hover .fw-psv-stop__dot{transform:translateY(-4px);box-shadow:0 0 0 5px var(--wh), inset 0 0 0 3px var(--pk-d), 0 18px 34px -14px var(--pk)}
.fw-psv-stop:hover small{color:var(--pk-dd)}
.fw-psv-clinics__n{font-family:var(--ff);font-size:22px;font-weight:700;color:var(--pk-l2);font-variant-numeric:tabular-nums}
.fw-psv-clinics__t{display:flex;flex-direction:column;gap:2px;min-width:0}
.fw-psv-clinics__t a,.fw-psv-clinics__t b{overflow:hidden;font-size:14.5px;font-weight:600;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;transition:color .2s var(--ease)}
.fw-psv-clinics__t a:hover{color:var(--pk-dd)}
.fw-psv-clinics__t small{font-size:12.5px;color:var(--g6)}
.fw-psv-clinics__v{display:flex;flex-direction:column;align-items:flex-end}
.fw-psv-clinics__v b{font-family:var(--ff);font-size:20px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.fw-psv-clinics__v small{font-size:11.5px;color:var(--g5)}

/* 04 · HOW WE COUNT */
.fw-psv-rules-sec{background:linear-gradient(180deg, var(--pk-wash), var(--wh) 75%)}
.fw-psv-rules-sec__grid{display:grid;grid-template-columns:minmax(0, 7fr) minmax(0, 5fr);gap:var(--gap);align-items:start}
.fw-psv-rules-sec__grid > div{display:flex;flex-direction:column;gap:10px}
.fw-psv-rules{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:0 clamp(22px, 3vw, 44px);margin:12px 0 0;padding:0;list-style:none}
.fw-psv-rules li{position:relative;display:grid;grid-template-columns:52px minmax(0, 1fr);gap:14px;align-items:start;padding:16px 0}
.fw-psv-rules li::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--fade)}
.fw-psv-rules img{width:52px;height:52px;object-fit:contain}
.fw-psv-rules div{display:flex;flex-direction:column;gap:4px}
.fw-psv-rules b{font-family:var(--ff);font-size:16px;font-weight:600;color:var(--ink)}
.fw-psv-rules span{font-size:14px;line-height:1.6;color:var(--g6)}
.fw-psv-sources{display:flex;flex-direction:column;gap:12px;padding:clamp(20px, 3vh, 28px) clamp(20px, 2vw, 28px);border-radius:22px;background:var(--wh);box-shadow:inset 0 0 0 1.5px var(--bl-l2), 0 22px 40px -32px var(--bl)}
.fw-psv-sources__k{margin:0;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--bl-ink)}
.fw-psv-sources ul{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.fw-psv-sources li{display:flex;gap:8px;font-size:14px;line-height:1.55;color:var(--g7)}
.fw-psv-sources li .bi{color:var(--mt-ink);margin-top:2px}

/* 05 · QUESTIONS AND THE INVITATION */
.fw-psv-end{background:linear-gradient(180deg, var(--pk-wash), var(--wh) 70%)}
.fw-psv-end__grid{display:grid;grid-template-columns:minmax(0, 7fr) minmax(0, 5fr);gap:var(--gap);align-items:stretch}
.fw-psv-end__grid.is-one{grid-template-columns:minmax(0, 1fr)}
.fw-psv-end__qa{display:flex;flex-direction:column;gap:8px}
.fw-psv-end__qa .fw-psv-h2{margin-bottom:10px}
.fw-psv-end__story{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:100%}
.fw-psv-qa details{position:relative}
.fw-psv-qa details::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--fade)}
.fw-psv-qa summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;list-style:none;cursor:pointer;font-size:16px;font-weight:600;color:var(--ink);transition:color .2s var(--ease)}
.fw-psv-qa summary::-webkit-details-marker{display:none}
.fw-psv-qa summary:hover,.fw-psv-qa details[open] summary{color:var(--pk-dd)}
.fw-psv-qa summary .bi{width:30px;height:30px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--pk-l);color:var(--pk-ink);font-size:14px;transition:transform .3s var(--ease), background .2s var(--ease), color .2s var(--ease)}
.fw-psv-qa details[open] summary .bi{transform:rotate(45deg);background:var(--pk-dd);color:var(--wh)}
.fw-psv-qa p{margin:0 46px 15px 0;font-size:15px;line-height:1.65;color:var(--g6)}

/* 06 · RESPONSIVE (the phone is designed as an app) */
@media (max-width:1200px){
	.fw-psv-rules{grid-template-columns:minmax(0, 1fr)}
}
@media (max-width:1024px){
	.fw-psv-open,.fw-psv-rules-sec__grid,.fw-psv-end__grid{grid-template-columns:minmax(0, 1fr)}
	.fw-psv-photo{min-height:0;aspect-ratio:4/3}
	.fw-psv-head--row{align-items:flex-start}
	.fw-psv-head--row > .fw-psv-sub{flex-basis:100%;text-align:left}
	.fw-psv-stops{grid-template-columns:repeat(var(--n, 5), 112px);overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(var(--pad) * -1);padding:6px var(--pad) 8px;scrollbar-width:none}
	.fw-psv-stops::-webkit-scrollbar{display:none}
	.fw-psv-stops::before{display:none}
	.fw-psv-stops li{scroll-snap-align:start}
}
@media (max-width:760px){
	.fw-psv-yearlist{grid-template-columns:repeat(2, minmax(0, 1fr))}
	.fw-psv-yearlist li{padding-left:0}
	.fw-psv-yearlist li + li::before{display:none}
	.fw-psv-yearlist li{border-top:1px dashed var(--g2);padding-top:12px}
}
@media (max-width:640px){
	.fw-psv-page{--pad:14px}
	.fw-psv .fw-psv-h1{font-size:clamp(32px, 9vw, 42px)}
	.fw-psv-h2{font-size:clamp(24px, 6.6vw, 30px)}
	.fw-psv-act .fw-psv-btn{width:100%}
	.fw-psv-qa p{margin-right:0}
}

/* ── patients served: the sum, the year parts, how patients met us ── */
.fw-psv-sum{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;width:100%;margin-top:8px;padding:18px 0 4px;position:relative}
.fw-psv-sum::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--fade)}
.fw-psv-sum__part{display:flex;flex-direction:column;gap:2px}
.fw-psv-sum__part b{font-family:var(--ff);font-size:clamp(26px, 4vh, 36px);font-weight:700;line-height:1;color:var(--ink);font-variant-numeric:tabular-nums}
.fw-psv-sum__part span{display:flex;flex-direction:column;font-size:13.5px;font-weight:600;color:var(--g7)}
.fw-psv-sum__part small{font-size:12px;font-weight:500;color:var(--g5)}
.fw-psv-sum__op{font-style:normal;font-family:var(--ff);font-size:clamp(26px, 4vh, 34px);font-weight:300;color:var(--g4)}
.fw-psv-sum__total{display:flex;flex-direction:column;gap:2px;padding:10px 18px;border-radius:18px;background:linear-gradient(150deg, var(--bl-l), var(--wh));box-shadow:inset 0 0 0 1.5px var(--bl-l2)}
.fw-psv-sum__total > b.counter{font-family:var(--ff);font-size:clamp(40px, 7vh, 64px);font-weight:700;line-height:1;letter-spacing:-.04em;color:var(--bl-d);font-variant-numeric:tabular-nums}
.fw-psv-sum__total > span{font-size:14px;font-weight:700;color:var(--ink)}
.fw-psv-dot{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:var(--g3);vertical-align:1px}
.fw-psv-dot--live{background:var(--mt-d)}
.fw-psv-modes{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));gap:0 clamp(22px, 3vw, 44px);margin:0;padding:0;list-style:none}
.fw-psv-modes li{position:relative;display:grid;grid-template-columns:64px minmax(0, 1fr);grid-template-rows:auto auto auto;column-gap:16px;align-items:center;padding:16px 0}
.fw-psv-modes li::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--fade)}
.fw-psv-modes img{grid-row:1 / 4;width:64px;height:64px;object-fit:contain}
.fw-psv-modes b{font-family:var(--ff);font-size:28px;font-weight:700;line-height:1;color:var(--ink);font-variant-numeric:tabular-nums}
.fw-psv-modes span{font-size:15px;font-weight:600;color:var(--g8)}
.fw-psv-modes small{font-size:12.5px;color:var(--g6)}
.fw-psv-note{margin:14px 0 0;font-size:13.5px;color:var(--g6)}
.fw-psv-eyebrow--plain::before{content:"";width:22px;height:1px;background:currentColor}
.fw-psv-end__story{justify-content:center}
.fw-psv-end__art{width:clamp(80px, 12vh, 110px);aspect-ratio:1;object-fit:contain;animation:fw-psv-float 6s ease-in-out infinite}
