/* Partners in Physical Therapy: "Neighborhood Clinic" */
:root { --ink:#1b2a33; --mute:#46535b; --line:#d9ddd6; --brand:#3a6a88; --brand-d:#2b5069; --accent:#e1b16a; --on-accent:#1c2a33; --dark:#1c3342; --light:#faf8f3; --tint:#e8eeea; --link-dark:#bfe3f5; --r:14px; --btn-r:14px; --img-r:14px; --btn-case:none; --disp:'Bricolage Grotesque',system-ui,-apple-system,'Segoe UI',sans-serif; --body:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif; --disp-w:600; --disp-case:none; --h1:64px; --h2:40px; --body-px:17px; --space:clamp(56px,8vw,96px); }
*,*::before,*::after { box-sizing:border-box; }
html { scroll-padding-top:110px; scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { margin:0; font:400 var(--body-px)/1.65 var(--body); color:var(--ink); background:var(--light); }
img { max-width:100%; height:auto; display:block; }
a { color:var(--brand); text-decoration-color:color-mix(in srgb,var(--brand) 40%,transparent); text-underline-offset:3px; text-decoration-thickness:2px; }
a:hover { color:var(--brand-d); text-decoration-color:currentColor; }
h1,h2,h3,.btn,.mh,.by-n { font-family:var(--disp); }
h1,h2,h3 { font-weight:var(--disp-w); text-transform:var(--disp-case); text-wrap:balance; }
h1,h2 { line-height:1.12; letter-spacing:-.012em; margin:0 0 .5em; }
h1 { font-size:clamp(34px,4.6vw,var(--h1)); }
h2 { font-size:clamp(28px,3.4vw,var(--h2)); }
h3 { font-size:clamp(20px,1.8vw,24px); line-height:1.2; margin:0 0 .4em; }
p { margin:0 0 1em; text-wrap:pretty; }
.wrap { width:min(1180px,100% - 40px); margin-inline:auto; }
.sr,.skip:not(:focus) { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip:focus { position:fixed; top:8px; left:8px; z-index:99; background:var(--brand); color:#fff; padding:10px 16px; border-radius:8px; font-weight:700; }
:focus-visible { outline:3px solid var(--brand); outline-offset:2px; border-radius:4px; }
.sec--dark :focus-visible,.ft :focus-visible { outline-color:#fff; }

/* buttons */
.btn { display:inline-block; background:var(--brand); color:#fff; border:0; font-weight:600; font-size:17px; line-height:1.1; padding:15px 24px; border-radius:var(--btn-r); text-decoration:none; cursor:pointer; white-space:nowrap; text-transform:var(--btn-case); transition:background .15s,color .15s; }
.btn:hover { background:var(--brand-d); color:#fff; }
.btn--ghost,.btn--line { background:transparent; color:var(--brand); box-shadow:inset 0 0 0 2px currentColor; }
.btn--ghost:hover,.btn--line:hover { background:var(--brand); color:#fff; box-shadow:inset 0 0 0 2px var(--brand); }
.sec--dark .btn { background:var(--accent); color:var(--on-accent); }
.sec--dark .btn:hover { background:#fff; color:var(--on-accent); }
.sec--dark .btn--line,.sec--dark .btn--ghost { background:transparent; color:#fff; box-shadow:inset 0 0 0 2px #fff; }
.sec--dark .btn--line:hover,.sec--dark .btn--ghost:hover { background:#fff; color:var(--on-accent); box-shadow:none; }
.acts { display:flex; flex-wrap:wrap; gap:12px 14px; align-items:center; margin:26px 0 0; }

/* header and menus */
.util { background:var(--dark); color:#e8e8ee; font-size:14.5px; } .util .wrap { display:flex; gap:22px; justify-content:flex-end; padding:8px 0; } .util a { color:#e8e8ee; } .util a:hover { color:#fff; }
.hd { background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:40; }
.hd-in { display:flex; align-items:center; gap:22px; padding:10px 0; }
.logo { display:block; flex:none; } .logo-crop { display:block; width:190px; overflow:hidden; } .logo-crop img { width:100%; height:auto; }
.nav { flex:1; } .nav > ul { display:flex; gap:2px; list-style:none; margin:0; padding:0; justify-content:center; }
.has-menu, .nav > ul > li { position:relative; display:flex; align-items:center; }
.nav .top { padding:14px 12px; font-weight:600; font-size:16px; color:var(--ink); text-decoration:none; } .nav .top:hover { color:var(--brand); }
.tg { display:none; }
.menu { display:none; position:absolute; top:100%; left:0; background:#fff; border:1px solid var(--line); border-radius:0 0 var(--r) var(--r); min-width:240px; padding:20px 24px; box-shadow:0 22px 48px rgba(0,0,0,.14); }
.has-menu:hover > .menu,.has-menu:focus-within > .menu,.has-menu.open > .menu { display:block; }
.menu.wide { width:min(920px,92vw); left:-140px; } .menu.wide:has(.mgrid--2) { width:min(640px,92vw); left:-40px; }
.mgrid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px 30px; } .mgrid--1 { grid-template-columns:1fr; } .mgrid--2 { grid-template-columns:repeat(2,1fr); } .menu:not(.wide) { width:max-content; max-width:min(360px,92vw); }
.mh { font-weight:700; font-size:14px; letter-spacing:.1em; text-transform:uppercase; color:var(--brand); margin:0 0 8px; }
.menu ul { list-style:none; margin:0; padding:0; } .menu li a { display:block; padding:5px 0; text-decoration:none; font-size:16px; line-height:1.3; color:var(--ink); } .menu li a:hover { color:var(--brand); text-decoration:underline; }
.mall { margin:16px 0 0; padding-top:12px; border-top:1px solid var(--line); font-weight:600; }
.burger { display:none; background:none; border:0; width:44px; height:44px; margin-left:auto; cursor:pointer; padding:10px; } .burger i { display:block; height:3px; border-radius:2px; background:var(--ink); margin:5px 0; }
.hd-cta { display:flex; align-items:center; gap:16px; flex:none; } .hd-phones { display:flex; flex-direction:column; } .hd-phone { font-weight:700; color:var(--ink); text-decoration:none; white-space:nowrap; }

/* sections */
.sec { padding:var(--space) 0; }
.sec--tight { padding:36px 0; }
.sec--light { background:var(--light); } .sec--tint { background:var(--tint); }
.sec--dark { background:var(--dark); color:#fff; } .sec--dark h2,.sec--dark h3 { color:#fff; } .sec--dark a { color:var(--link-dark); }
.sec--warn { background:var(--light); }
.lede { font-size:19.5px; color:var(--mute); max-width:62ch; } .sec--dark .lede { color:rgba(255,255,255,.84); }
.prose { max-width:760px; } .prose ul { padding-left:1.2em; } .prose li { margin:0 0 .4em; }
.phero { background:var(--tint); padding:clamp(40px,6vw,72px) 0 clamp(36px,5vw,56px); } .phero h1 { max-width:20ch; } .phero .lead { font-size:20px; color:var(--mute); max-width:62ch; }
.crumbs { font-size:15px; color:var(--mute); margin:0 0 18px; } .crumbs a { color:var(--mute); } .crumbs span { margin:0 4px; }
.splithead { display:grid; grid-template-columns:1fr 1.4fr; gap:clamp(24px,5vw,64px); } .sh-r .row { padding:0 0 18px; margin:0 0 18px; border-bottom:1px solid var(--line); } .sec--dark .sh-r .row { border-color:rgba(255,255,255,.22); }
.cards { display:grid; gap:20px; margin-top:24px; } .c2 { grid-template-columns:repeat(2,1fr); } .c3 { grid-template-columns:repeat(3,1fr); } .c4 { grid-template-columns:repeat(4,1fr); }
.card { background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:24px; } .sec--dark .card { background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.22); } .card ul { padding-left:1.2em; margin:0; } .card h3 a { text-decoration:none; color:inherit; }
.steps { list-style:none; counter-reset:s; display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; padding:0; margin:24px 0 0; }
.steps li { counter-increment:s; background:#fff; border-radius:var(--r); padding:22px 22px 18px; border:1px solid var(--line); } .steps li::before { content:counter(s); display:block; font:var(--disp-w) 28px/1 var(--disp); color:var(--brand); margin:0 0 10px; }
.acc details { border-bottom:1px solid var(--line); } .acc summary { cursor:pointer; padding:18px 4px; font-weight:600; font-size:18px; } .acc details > div { padding:0 4px 14px; max-width:70ch; }
.flag { background:#fff8f2; border:1px solid #e3bfae; border-radius:var(--r); padding:26px clamp(20px,3vw,36px); max-width:900px; } .fnote { font-size:15.5px; color:var(--mute); }
.twocol { display:grid; grid-template-columns:1fr 1.2fr; gap:clamp(24px,5vw,64px); align-items:start; }
.checks { list-style:none; margin:0; padding:0; } .checks li { padding:12px 0 12px 34px; border-bottom:1px solid var(--line); position:relative; } .checks li::before { content:"\2713"; position:absolute; left:4px; color:var(--brand); font-weight:700; } .sec--dark .checks li { border-color:rgba(255,255,255,.22); }
.media { display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(24px,5vw,64px); align-items:center; } .media.flip .mimg { order:-1; } .ph { width:100%; border-radius:var(--img-r); object-fit:cover; }
.chip,.chips li { display:inline-block; padding:9px 16px; background:#fff; border:1px solid var(--line); border-radius:99px; font-weight:500; font-size:16.5px; line-height:1.25; } .chips { list-style:none; display:flex; flex-wrap:wrap; gap:10px; padding:0; margin:20px 0 0; }
.bandtxt { max-width:760px; } .bandtxt p { color:rgba(255,255,255,.88); }
.rel { list-style:none; display:flex; flex-wrap:wrap; gap:10px; padding:0; margin:12px 0 0; } .rel a { display:inline-block; padding:9px 16px; border:1px solid var(--line); background:#fff; border-radius:99px; text-decoration:none; font-weight:500; }

/* people */
.staff--card { display:grid; gap:28px; } .pcard { display:grid; grid-template-columns:240px 1fr; gap:28px; background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:24px; } .pimg img,.pimg .ini { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:var(--img-r); }
.ini { display:grid; place-items:center; background:var(--tint); color:var(--brand); font:700 36px var(--disp); } .role { color:var(--mute); font-weight:600; margin:0 0 12px; } .bio { white-space:pre-line; }
.staff--strip { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:20px; } .pstrip img,.pstrip .ini { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:var(--img-r); margin:0 0 10px; } .pstrip { position:relative; } .pstrip h3 { margin:0; font-size:19px; } .pstrip-link { color:inherit; text-decoration:none; } .pstrip-link::after { content:""; position:absolute; inset:0; } .pstrip:hover .pstrip-link,.pstrip-link:focus-visible { text-decoration:underline; color:var(--brand); } .pstrip:focus-within { outline:2px solid var(--brand); outline-offset:2px; border-radius:var(--img-r); }
.staff--chips { display:flex; flex-wrap:wrap; gap:10px; }
.by { background:#fff; border-bottom:1px solid var(--line); } .by-in { display:flex; gap:20px; align-items:center; width:min(1180px,100% - 40px); margin:0 auto; padding:22px 0; } .by-in img,.by-in .ini { width:80px; height:100px; object-fit:cover; border-radius:var(--img-r); flex:none; font-size:26px; }
.by-k { font-size:14px; letter-spacing:.08em; text-transform:uppercase; color:var(--mute); margin:0; } .by-n { font-size:20px; font-weight:700; margin:0; } .by-b { margin:6px 0 4px; color:var(--mute); max-width:70ch; } .by-l { margin:0; font-weight:600; }
.who { font-weight:600; }

/* clinics, workshops */
.clinic h2,.clinic h3 { font-size:22px; margin:0 0 10px; } .clinic a { text-decoration-thickness:1px; }
.hrs-t th { text-align:left; padding:3px 18px 3px 0; font-weight:600; } .hrs-t td { padding:3px 0; }
.locgrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:24px; }
.ws-list { display:grid; gap:16px; } .ws { display:flex; justify-content:space-between; gap:20px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:20px 24px; } .ws h2 { font-size:22px; margin:0 0 4px; } .ws-empty { font-size:19px; }

/* home */
.hero { background:var(--dark); color:#fff; padding:clamp(56px,9vw,120px) 0 clamp(48px,7vw,88px); } .hero h1 { color:#fff; max-width:18ch; } .hero .lead { font-size:21px; color:rgba(255,255,255,.88); max-width:56ch; }
.hero .btn { background:var(--accent); color:var(--on-accent); } .hero .btn--ghost { background:transparent; color:#fff; box-shadow:inset 0 0 0 2px #fff; } .hero .btn--ghost:hover { background:#fff; color:var(--on-accent); }
.hero--split .wrap { display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(24px,5vw,64px); align-items:center; } .hero--photo { background-size:cover; background-position:center; position:relative; } .hero--photo .wrap { position:relative; }
.hero--light { background:var(--tint); color:var(--ink); } .hero--light h1 { color:var(--ink); } .hero--light .lead { color:var(--mute); } .hero--light .btn { background:var(--brand); color:#fff; } .hero--light .btn--ghost { background:transparent; color:var(--brand); box-shadow:inset 0 0 0 2px currentColor; } .hero--light .btn--ghost:hover { background:var(--brand); color:#fff; }
.heroimg img { border-radius:var(--img-r); width:auto; max-width:100%; height:auto; max-height:540px; margin-inline:auto; }
.reviews { display:grid; grid-template-columns:repeat(auto-fit,minmax(330px,1fr)); gap:20px; } .rv blockquote { margin:0; } .rv .stars { margin:0 0 10px; } .stars { color:#c58b00; letter-spacing:3px; font-size:20px; line-height:1; margin:0 0 8px; } .sec--dark .stars { color:var(--accent); } .rating-line { display:flex; align-items:center; gap:12px; flex-wrap:wrap; font-size:19px; margin:0 0 22px; } .rating-line .stars { margin:0; font-size:24px; } .also { margin:34px 0 14px; font-size:20px; }
.rv { color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:24px; margin:0; } .rv p { font-size:18px; } .rv cite { font-style:normal; font-weight:600; color:var(--mute); }
.cond-group { margin:0 0 28px; } .cond-group h3 { margin:0 0 10px; }
.ft { background:var(--dark); color:rgba(255,255,255,.86); padding:56px 0 0; border-top:6px solid var(--accent); } .ft a { color:#fff; } .ft h2,.ft h3,.ft .mh { color:#fff; } .ft-in { display:grid; grid-template-columns:1fr; gap:36px; }
.ft-brand { display:flex; flex-direction:column; align-items:flex-start; gap:18px; } .ft-brand p { margin:0; } .ft-brand .tag { font-size:18px; line-height:1.45; max-width:30ch; } .ft-brand .logo-crop { width:210px; filter:brightness(0) invert(1); } .ft-cta { margin:6px 0 0 !important; }
.ft .btn { background:var(--accent); color:var(--on-accent); } .soc { display:flex; gap:12px; } .soc a { color:#fff; display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border:1.5px solid rgba(255,255,255,.6); border-radius:50%; transition:background .15s,color .15s; } .soc a:hover { background:#fff; color:var(--dark); } .ft--light .soc a { color:var(--ink); border-color:rgba(0,0,0,.35); } .ft--light .soc a:hover { background:var(--ink); color:#fff; }
.ft-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1.5fr) minmax(0,1.25fr); gap:0; align-items:start; } .ft-grid > * { padding:0 40px; } .ft-grid > :first-child { padding-left:0; } .ft-grid > :last-child { padding-right:0; } .ft-grid > * + * { border-left:1px solid rgba(255,255,255,.18); }
.ft-clinics { display:grid; grid-template-columns:1fr; gap:30px; }
.ft-links { display:grid; grid-template-columns:1fr 1fr; gap:26px 28px; } .ft-links ul { list-style:none; margin:0; padding:0; } .ft-links li { margin:0 0 8px; } .ft-links a { text-decoration:none; } .ft-links a:hover { text-decoration:underline; }
.copy { margin:36px auto 0; padding:22px 0 28px; border-top:1px solid rgba(255,255,255,.2); font-size:14.5px; } .legal { float:right; display:flex; gap:18px; } .legal a { color:rgba(255,255,255,.86); }
.callbar { display:none; }

@media (max-width:980px) {
  .burger { display:block; } .hd-cta { display:none; } .util .wrap { justify-content:center; flex-wrap:wrap; gap:6px 18px; } .logo-crop { width:150px; }
  .nav { display:none; position:absolute; left:0; right:0; top:100%; background:var(--dark); padding:8px 20px 20px; max-height:80vh; overflow:auto; } .nav.open { display:block; }
  .nav > ul { flex-direction:column; align-items:stretch; } .has-menu { flex-wrap:wrap; border-bottom:1px solid rgba(255,255,255,.2); } .nav .top { color:#fff; flex:1; } .nav .top:hover { color:#fff; }
  .nav > ul > li:not(.has-menu) { display:flex; border-bottom:1px solid rgba(255,255,255,.2); } .tg { display:block; width:44px; height:44px; background:none; border:0; cursor:pointer; position:relative; } .tg::after { content:"+"; color:#fff; font-size:24px; } .has-menu.open .tg::after { content:"\2212"; }
  .menu,.menu.wide { position:static; width:100%; min-width:0; background:transparent; border:0; box-shadow:none; padding:0 0 12px; } .menu li a { color:#fff; } .menu .mh { color:var(--accent); } .mgrid { grid-template-columns:1fr; }
  .has-menu:hover > .menu { display:none; } .has-menu.open > .menu { display:block; }
  .splithead,.twocol,.media,.hero--split .wrap,.pcard { grid-template-columns:1fr; } .c3,.c4 { grid-template-columns:1fr 1fr; } .legal { float:none; margin-top:10px; }
  .callbar { display:flex; position:fixed; left:0; right:0; bottom:0; z-index:50; background:var(--dark); gap:8px; padding:8px; } .callbar a { flex:1; text-align:center; color:#fff; padding:10px 8px; font-weight:700; text-decoration:none; border-radius:var(--btn-r); box-shadow:inset 0 0 0 2px rgba(255,255,255,.4); } .callbar small { display:block; font-weight:400; opacity:.8; } .callbar .cb-main { background:var(--accent); color:var(--on-accent); box-shadow:none; flex:1.4; }
  body { padding-bottom:76px; } html { scroll-padding-bottom:90px; }
}
.cpanel { display:grid; grid-template-columns:minmax(300px,1fr) minmax(0,1.5fr); gap:32px; align-items:stretch; }
.cp-info { background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:30px 34px; } .cp-info h2 { font-size:28px; margin:0 0 14px; }
.cp-list { margin:0; } .cp-list > div { display:grid; grid-template-columns:84px 1fr; gap:12px; padding:15px 0; border-top:1px solid var(--line); } .cp-list dt { font:700 13px/1.6 var(--body); letter-spacing:.08em; text-transform:uppercase; color:var(--mute); } .cp-list dd { margin:0; } .cp-phone { font:var(--disp-w) 24px/1.2 var(--disp); text-decoration:none; } .cp-dir { display:inline-block; margin-top:6px; font-weight:600; }
.cp-list .hrs-t th { padding-right:22px; } .cp-info .acts { margin-top:22px; }
.cp-map { margin:0; display:flex; flex-direction:column; } .cp-map img { width:100%; height:100%; min-height:380px; object-fit:cover; object-position:center; border-radius:var(--img-r); } .cp-map iframe { width:100%; height:100%; min-height:440px; border:0; border-radius:var(--img-r); background:var(--tint); }
.cp-map figcaption { font-size:14px; color:var(--mute); margin-top:10px; }
@media (max-width:900px) { .cp-map iframe { min-height:340px; } .cpanel { grid-template-columns:1fr; } .cp-map img { min-height:0; height:auto; } .cp-info { padding:24px 22px; } }
.fullmap { position:relative; background:var(--tint); } .fullmap > .ph { display:block; width:100%; height:560px; object-fit:cover; object-position:64% 50%; border-radius:0; }
.fm-over { position:absolute; inset:0; display:flex; align-items:center; pointer-events:none; } .fm-panel { pointer-events:auto; margin-left:max(20px,calc((100% - 1180px) / 2)); width:min(360px,calc(100% - 40px)); background:#fff; border-radius:var(--r); padding:26px 28px; box-shadow:0 18px 50px rgba(0,16,48,.25); }
.fm-panel h2 { font-size:28px; margin:0 0 6px; } .fm-c { padding:14px 0; border-top:1px solid var(--line); } .fm-c h3 { font-size:19px; margin:0 0 4px; } .fm-c h3 a { color:inherit; text-decoration:none; } .fm-c p { margin:0; line-height:1.55; } .fm-panel .acts { margin:16px 0 0; }
@media (max-width:900px) { .fullmap > .ph { height:300px; } .fm-over { position:static; display:block; } .fm-panel { margin:-56px 20px 0; position:relative; width:auto; } }
@media (max-width:980px) { .ft-grid { grid-template-columns:1fr 1fr; gap:36px 0; } .ft-grid > * { padding:0 28px; } .ft-grid > :first-child { padding-left:0; } .ft-grid > :nth-child(2) { padding-right:0; } .ft-grid > :nth-child(3) { grid-column:1 / -1; border-left:0; border-top:1px solid rgba(255,255,255,.18); padding:28px 0 0; } }
@media (max-width:640px) { .c2,.c3,.c4 { grid-template-columns:1fr; } .ft-grid { grid-template-columns:1fr; gap:30px; } .ft-grid > * { padding:0 !important; border-left:0 !important; } .ft-grid > * + * { border-top:1px solid rgba(255,255,255,.18); padding-top:28px !important; } .soc { margin-left:0 !important; } }

[data-f="phone"],[data-f="tel"] { white-space:nowrap; }
body { overflow-x:hidden; }

/* the proof bar's own section: under the tiles look it overlaps the hero */
.sec--proof-tiles { padding:1px 0 30px; background:transparent; position:relative; z-index:2; } .sec--proof-band { padding:36px 0; } .sec--proof-rule { padding:28px 0; }
/* structural looks (profile 'look'): header classic|two-row|dark|tint, footer split|centered|light, proof tiles|band|rule */
@media (min-width:981px) { .hd--two-row .hd-in { flex-wrap:wrap; row-gap:0; } .hd--two-row .logo { order:1; } .hd--two-row .hd-cta { order:2; margin-left:auto; } .hd--two-row .nav { order:3; flex:0 0 100%; border-top:1px solid var(--line); } .hd--two-row .nav > ul { justify-content:flex-start; } }
.hd--dark { background:var(--dark); border-bottom:0; } .hd--dark .nav .top,.hd--dark .hd-phone { color:#fff; } .hd--dark .nav .top:hover { color:var(--accent); } .hd--dark .burger i { background:#fff; } .hd--dark .logo { background:#fff; border-radius:var(--r); padding:4px 8px; } .hd--dark .btn { background:var(--accent); color:var(--on-accent); } .hd--dark :focus-visible { outline-color:#fff; }
.hd--tint { background:var(--tint); border-bottom:4px solid var(--accent); }
.ft--light { background:var(--tint); color:var(--ink); border-top-color:var(--brand); } .ft--light a,.ft--light h2,.ft--light h3,.ft--light .mh,.ft--light .soc a,.ft--light .legal a { color:var(--ink); } .ft--light .ft-grid > *,.ft--light .ft-brand,.ft--light .ft-links,.ft--light .copy { border-color:rgba(0,0,0,.18); }
.ft--light .ft-brand .logo-crop { filter:none; } .ft--light .btn { background:var(--brand); color:#fff; } .ft--light :focus-visible { outline-color:var(--brand); }
.proof { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); }
.proof li > .pt,.proof li > a { display:block; padding:22px 24px; text-decoration:none; color:inherit; } .proof b { display:block; font:var(--disp-w) 30px/1.1 var(--disp); color:var(--brand); } .proof span { display:block; margin-top:6px; color:var(--mute); font-size:16px; } .proof a:hover b { text-decoration:underline; }
.proof--tiles { margin:-46px 0 0; background:#fff; border-radius:var(--r); box-shadow:0 18px 44px rgba(0,0,0,.16); border-top:5px solid var(--accent); } .proof--tiles li { border-right:1px solid var(--line); } .proof--tiles li:last-child { border-right:0; }
.proof--band { background:var(--brand); border-radius:var(--r); } .proof--band li + li { border-left:1px solid rgba(255,255,255,.28); } .proof--band b,.proof--band span { color:#fff; } .proof--band b { font-size:34px; }
.proof--rule { border-top:1px solid var(--line); border-bottom:1px solid var(--line); } .proof--rule li { padding:6px 0; } .proof--rule b { font-size:28px; display:inline; } .proof--rule span { display:inline; margin-left:8px; } .proof--rule li > .pt,.proof--rule li > a { padding:14px 18px; }
.proof-note { margin:16px 0 0; color:var(--mute); text-align:center; }
@media (max-width:900px) { .proof--tiles { margin-top:-30px; } .proof--tiles li,.proof--band li { border-bottom:1px solid var(--line); } .proof--band li + li { border-left:0; } .proof--band li { border-bottom-color:rgba(255,255,255,.28); } }

/* people who ask for less motion get none */
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto !important; } *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; } }
.ft--top .ft-grid { grid-template-columns:minmax(0,2.7fr) minmax(0,1fr); gap:30px 0; } .ft--top .ft-grid > * { padding:0; border:0; } .ft--top .ft-brand { grid-column:1 / -1; flex-direction:row; flex-wrap:wrap; align-items:center; gap:18px 36px; padding-bottom:30px; border-bottom:1px solid rgba(255,255,255,.2); } .ft--top .ft-brand .tag { flex:1 1 280px; max-width:48ch; } .ft--top .ft-cta { margin:0 0 0 auto !important; } .ft--top .ft-clinics { grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); padding-right:44px; } .ft--top .ft-links { grid-template-columns:1fr; padding-left:36px; border-left:1px solid rgba(255,255,255,.2); }
.ft--flip .ft-clinics { order:1; } .ft--flip .ft-links { order:2; } .ft--flip .ft-brand { order:3; align-items:flex-end; text-align:right; } .ft--flip .ft-grid { grid-template-columns:minmax(0,1.5fr) minmax(0,1.25fr) minmax(0,1.05fr); } .ft--flip .ft-grid > * { border:0; padding:0 40px; } .ft--flip .ft-clinics { padding-left:0; } .ft--flip .ft-brand { padding-right:0; } .ft--flip .ft-links,.ft--flip .ft-brand { border-left:1px solid rgba(255,255,255,.18); } .ft--flip .soc { justify-content:flex-end; }
@media (max-width:980px) { .ft--top .ft-grid { grid-template-columns:1fr; } .ft--top .ft-clinics { padding-right:0; } .ft--top .ft-links { grid-template-columns:1fr 1fr; padding:26px 0 0; border-left:0; border-top:1px solid rgba(255,255,255,.2); } .ft--top .ft-cta { margin-left:0 !important; } .ft--flip .ft-brand { align-items:flex-start; text-align:left; order:0; } .ft--flip .ft-clinics { order:1; } .ft--flip .ft-links { order:2; } .ft--flip .soc { justify-content:flex-start; } .ft--flip .ft-grid > * { padding:0 28px 0 0; border:0; } .ft--flip .ft-links,.ft--flip .ft-brand { border:0; } .ft--flip .ft-brand { padding:0; } }
.ft-badges { grid-column:1 / -1; display:flex; gap:14px; margin:6px 0 0; } .ft-badges img { display:block; height:66px; width:auto; }

/* news and blog cards and articles */
.post-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); gap:24px; }
.post-card { display:flex; flex-direction:column; gap:8px; background:#fff; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; text-decoration:none; color:var(--ink); padding:0 0 18px; }
.post-card img { width:100%; aspect-ratio:16/10; object-fit:cover; display:block; }
.post-card time,.post-card h2,.post-card h3,.post-card p,.post-card span { margin:0 18px; }
.post-card:first-child > :first-child:not(img) { margin-top:18px; }
.post-card time { font-size:14px; color:#4b5563; margin-top:8px; }
.post-card h2,.post-card h3 { font-size:21px; line-height:1.25; }
.post-card span { font-weight:700; color:var(--brand); text-decoration:underline; margin-top:auto; }
.post-card:hover h2,.post-card:hover h3 { color:var(--brand); }
.post-article { max-width:46em; } .post-feature { margin:0 0 24px; } .post-feature img { width:100%; border-radius:var(--r); display:block; } .postmeta { color:#4b5563; margin:0 0 12px; }
.proof .pbadge { flex:none; display:block; } .proof .pbadge img { height:84px; width:auto; display:block; margin:0; } .proof li:has(.pbadge) > a,.proof li:has(.pbadge) > .pt { display:flex; align-items:center; gap:18px; } .proof .ptxt { display:flex; flex-direction:column; } .proof .ptxt b { display:block; } .proof .ptxt span { display:block; }

.card--img { padding-top:0; overflow:hidden; } .card-img { margin:0 -24px 16px; } .card-img img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
/* top-split footer with one clinic: the clinic and the two link lists share the width, no empty middle */
.ft--top .ft-grid:has(.ft-clinics > :only-child) { grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); }
.ft--top .ft-grid:has(.ft-clinics > :only-child) .ft-links { grid-template-columns:1fr 1fr; padding-left:56px; }
@media (max-width:980px) { .ft--top .ft-grid:has(.ft-clinics > :only-child) { grid-template-columns:1fr; } .ft--top .ft-grid:has(.ft-clinics > :only-child) .ft-links { padding-left:0; } }
/* the page never scrolls sideways: long web addresses wrap, and a scrolling box holds its own hidden text */
.prose a, .post a { overflow-wrap:anywhere; }
[role="region"][tabindex] { position:relative; }

/* ---- pictures from the old pages (engine/Photos.php): always inside a text section ---- */
.pfloat, .pfull, .pbanner, .photorow figure, .pmosaic figure { margin:0; } .pfloat img, .pfull img, .pbanner img, .photorow img, .pmosaic img { width:100%; border-radius:var(--r); display:block; }
/* one picture beside the words: its own column, with room around it; below the title on a phone */
.prose--pic { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,440px); column-gap:72px; align-items:start; max-width:none; }
.prose--pic > *:not(.pfloat) { grid-column:1; } .prose--pic > .pfloat { grid-column:2; grid-row:1 / span 12; margin:6px 0 0; }
.prose--pic-left { grid-template-columns:minmax(0,440px) minmax(0,1fr); } .prose--pic-left > .pfloat { grid-column:1; } .prose--pic-left > *:not(.pfloat) { grid-column:2; }
.prose--pic-sticky > .pfloat { position:sticky; top:96px; align-self:start; } .prose--pic-sticky > .pfloat img { aspect-ratio:4/5; object-fit:cover; }
@media (max-width:900px) { .prose--pic, .prose--pic-left { display:block; } .prose--pic > .pfloat { margin:0 0 22px; position:static; } }
/* under a title: a wide banner, or a medium picture */
.pbanner { margin:10px 0 28px; } .pbanner img { aspect-ratio:21/9; object-fit:cover; } .pfull { margin:6px 0 28px; max-width:620px; }
/* two or more */
.photorow { display:grid; gap:20px; margin-top:40px; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); align-items:start; } .photorow img { aspect-ratio:4/3; object-fit:cover; }
.photorow--2 { grid-template-columns:repeat(2,minmax(0,1fr)); } .photorow--3 img, .photorow--4 img { aspect-ratio:1/1; } @media (max-width:640px) { .photorow--2 { grid-template-columns:1fr; } }
.photorow--fit { display:flex; align-items:stretch; } .photorow--fit figure { min-width:0; } .photorow--fit img { height:100%; aspect-ratio:auto; object-fit:cover; }
@media (max-width:760px) { .photorow--fit { flex-direction:column; } .photorow--fit figure { flex:none !important; } .photorow--fit img { height:auto; } }
.pmosaic { display:grid; grid-template-columns:2fr 1fr; grid-template-rows:1fr 1fr; gap:20px; height:440px; margin-top:40px; } .pmosaic figure { min-height:0; } .pmosaic img { height:100%; object-fit:cover; } .pmosaic figure:first-child { grid-row:1 / span 2; }
@media (max-width:760px) { .pmosaic { display:block; height:auto; } .pmosaic figure + figure { margin-top:16px; } .pmosaic img { height:auto; aspect-ratio:4/3; } }

/* rates and fees (block type "prices"): the amount is the first thing you see */
.prices { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:18px; margin-top:26px; } .price { background:#fff; border:1px solid var(--line); border-top:4px solid var(--accent); border-radius:var(--r); padding:22px 24px 24px; }
.price .amt { margin:0 0 6px; font-size:46px; line-height:1; font-weight:800; letter-spacing:-.02em; color:var(--brand); } .price h3 { margin:0; font-size:17px; font-weight:600; line-height:1.3; } .price .pnote { margin:10px 0 0; font-size:15px; color:var(--muted,#4b5563); }

/* a page that names two or three clinicians: the heading once, then the people side by side (stacked on a phone) */
.by[data-many] .by-k--all { width:min(1180px,100% - 40px); margin:0 auto; padding:22px 0 0; } .by[data-many] .by-row { display:flex; flex-wrap:wrap; gap:0 32px; width:min(1180px,100% - 40px); margin:0 auto; } .by[data-many] .by-in { flex:1 1 320px; width:auto; margin:0; padding:14px 0 22px; align-items:flex-start; }

@media (max-width:600px) { .cp-map iframe { min-height:420px; } }
@media (min-width:901px) { .hero--split { padding-block:72px 76px; } .hero--split .heroimg img { max-height:520px; } }
.sec--proof-band { padding:0; background:var(--brand); } .proof--band { border-radius:0; background:transparent; } .proof--band li > .pt,.proof--band li > a { padding:18px 24px; } .proof--band b { font-size:28px; } .proof--band span { margin-top:2px; font-size:15px; }
/* Home page background pictures from the old site (vendor stock), under a scrim so text keeps its contrast */
.hero--split ~ section:nth-of-type(5) { background:linear-gradient(rgba(255,255,255,.92),rgba(255,255,255,.92)),url(https://btprod01.blob.core.windows.net/container01/partners-in-physical-therapy/images/181ab714-1796342718.jpg) center/cover no-repeat; }
.hero--split ~ section:nth-of-type(9) { background:linear-gradient(rgba(28,51,66,.86),rgba(28,51,66,.86)),url(https://btprod01.blob.core.windows.net/container01/partners-in-physical-therapy/images/159019a2-1796342721.jpg) center/cover no-repeat; }
.hero--split ~ section:nth-of-type(11) { background:linear-gradient(rgba(28,51,66,.84),rgba(28,51,66,.84)),url(https://btprod01.blob.core.windows.net/container01/partners-in-physical-therapy/images/48cdd43f-1796342714.jpg) center/cover no-repeat; }
/* BEGIN card icons */
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card > h3 { display:flex; align-items:center; gap:14px; }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card > h3::before { content:""; flex:none; width:38px; height:38px; background:var(--brand); -webkit-mask:var(--ic) center/contain no-repeat; mask:var(--ic) center/contain no-repeat; }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/back-pain/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%229%22%20y%3D%222%22%20width%3D%226%22%20height%3D%224%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%228%22%20width%3D%226%22%20height%3D%224%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%2214%22%20width%3D%226%22%20height%3D%224%22%20rx%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M10%2020.5h4%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/sciatica/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2012h5l2-6%204%2012%202-6h5%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/neck-pain/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%225%22%2F%3E%3Cpath%20d%3D%22M9%2013v3c0%201.5-1.5%202.5-4%203.5M15%2013v3c0%201.5%201.5%202.5%204%203.5%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/tmj-jaw-pain/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%208c0-3%203-5%208-5s8%202%208%205c0%206-3%2011-8%2011S4%2014%204%208z%22%2F%3E%3Cpath%20d%3D%22M8%2014c2%202%206%202%208%200%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/shoulder-pain/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M12%2011.5v9M4%205l4.5%201.5M20%205l-4.5%201.5%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/elbow-pain/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205l8%207-1%209%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222.5%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/hand-wrist-pain/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2021v-6L5%2011M8%2015V6.5a1.5%201.5%200%20013%200V13M11%2013V4.5a1.5%201.5%200%20013%200V13M14%2013V6.5a1.5%201.5%200%20013%200V15c0%203-1.5%206-4%206H8%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/carpal-tunnel/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2021v-5h12v5M8%2016V8M12%2016V4M16%2016V8M3%209l2%201M21%209l-2%201%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/hip-pain/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2210%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M13%2012.5l5%203V21M5%2015.5L4%2021M12%203V6%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/knee-pain/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%202l2%208M15%2022l-2-8%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/foot-ankle-pain/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203c-2%204-2%209%200%2013l1%204h9c1%200%202-1%202-2l-1.5-3c-1-2-1-4%200-6%200-3-2-6-5-6-2%200-4%201-5%200z%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/vestibular-rehab-dizziness-balance/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2012a1.5%201.5%200%20013%200%204%204%200%2001-8%200%206.5%206.5%200%200113%200%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/vertigo-bppv/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2012a8%208%200%2001-14%205M4%2012a8%208%200%200114-5%22%2F%3E%3Cpath%20d%3D%22M18%203v4h-4M6%2021v-4h4%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/peripheral-neuropathy/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2012h5l2-6%204%2012%202-6h5%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/stroke-recovery/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%204a3%203%200%2000-4%202%203%203%200%2000-2%203%203%203%200%20001.5%202.5A3%203%200%20006%2016a3%203%200%20004%203zM14%204a3%203%200%20014%202%203%203%200%20012%203%203%203%200%2001-1.5%202.5A3%203%200%200118%2016a3%203%200%2001-4%203zM12%204v15%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/incontinence/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203c4%205%206%208%206%2011a6%206%200%2001-12%200c0-3%202-6%206-11z%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/pelvic-pain/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%208c3-3%206-2%209%202%203-4%206-5%209-2v4c0%204-3%206-6%206l-3-3-3%203c-3%200-6-2-6-6z%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/chronic-pain/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M13%202L5%2014h6l-1%208%208-12h-6z%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/fibromyalgia/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209c3-3%206%203%209%200s6%203%209%200M3%2015c3-3%206%203%209%200s6%203%209%200%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/arthritis-joint-pain/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%229%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2215%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M5%204l2%202M3%208h2M19%2020l-2-2M21%2016h-2%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/sports-injury-rehab/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%224.5%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M10%2021l3-6-3-3%202-5%204%203%203%201M8%2011l4-3%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/post-surgical-rehab/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%208v8M8%2012h8%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/work-injuries-workers-comp/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2016h16M5%2016a7%207%200%200114%200M12%205v6M3%2019.5h18%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> h3 > a[href="/conditions/auto-accident-personal-injury/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2015v-3l2-5h14l2%205v3zM3%2015v3h3v-3M18%2015v3h3v-3M3%2012h18%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> ul > li:first-child > a[href="/services/pediatrics/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%226%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M12%209v6M7%2011l5%201%205-1M9%2021l3-6%203%206%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> ul > li:first-child > a[href="/conditions/autism/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2018h6M10%2021h4M12%203a6%206%200%2000-4%2010c1%201%201%202%201%203h6c0-1%200-2%201-3a6%206%200%2000-4-10z%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> ul > li:first-child > a[href="/conditions/plagiocephaly-brachycephaly-and-scaphocephaly/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021V4M6%2010l6-6%206%206M5%2021h14%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> ul > li:first-child > a[href="/conditions/neurological-disorders/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%204a3%203%200%2000-4%202%203%203%200%2000-2%203%203%203%200%20001.5%202.5A3%203%200%20006%2016a3%203%200%20004%203zM14%204a3%203%200%20014%202%203%203%200%20012%203%203%203%200%2001-1.5%202.5A3%203%200%200118%2016a3%203%200%2001-4%203zM12%204v15%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> ul > li:first-child > a[href="/conditions/lymphedema-swelling/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203c4%205%206%208%206%2011a6%206%200%2001-12%200c0-3%202-6%206-11z%22%2F%3E%3C%2Fsvg%3E"); }
html:has(link[rel="canonical"][href$="/conditions/"]) .cards .card:has(> ul > li:first-child > a[href="/conditions/pre-surgical-rehab/"]) > h3 { --ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M4%2010h16M9%203v4M15%203v4%22%2F%3E%3C%2Fsvg%3E"); }
/* END card icons */

/* Footer on tablet and mobile: the logo, intro, social icons and button come first, then the links, then the clinic, nothing sits side by side that does not fit */
@media (max-width:980px) {
  .ft--flip .ft-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:34px 40px; }
  .ft--flip .ft-grid > * { padding:0; border:0; }
  .ft--flip .ft-links { order:1; grid-column:auto; grid-template-columns:1fr; gap:22px; } .ft--flip .ft-clinics { order:2; }
  .ft--flip .ft-brand { order:0; grid-column:1 / -1; flex-direction:row; flex-wrap:wrap; align-items:center; gap:18px 32px; padding:0 0 30px; border-bottom:1px solid rgba(255,255,255,.18); }
  .ft--flip .ft-brand .tag { flex:1 1 260px; }
  .ft--flip .ft-brand .soc { margin:0; } .ft--flip .ft-brand .ft-cta { margin:0 0 0 auto !important; }
  .ft--flip .ft-badges { margin:0; }
  .ft .legal { flex-wrap:wrap; gap:8px 22px; }
}
@media (max-width:640px) {
  .ft--flip .ft-grid { grid-template-columns:minmax(0,1fr); gap:28px; }
  .ft--flip .ft-links { grid-template-columns:1fr 1fr; gap:22px 20px; } .ft--flip .ft-clinics { border-top:1px solid rgba(255,255,255,.18); }
  .ft--flip .ft-brand { flex-direction:column; align-items:flex-start; gap:18px; } .ft--flip .ft-brand .tag { flex:none; } .ft--flip .ft-brand { padding-bottom:30px !important; }
  .ft--flip .ft-brand .ft-cta { margin:6px 0 0 !important; }
  .ft .copy { margin-top:28px; }
}

/* Footer on laptop and desktop: logo, intro, social icons and button on the left, then the menu, the clinic last */
@media (min-width:981px) {
  .ft--flip .ft-grid { grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1.05fr); }
  .ft--flip .ft-brand { order:1; align-items:flex-start; text-align:left; padding:0 32px 0 0; border-left:0; }
  .ft--flip .ft-links { order:2; padding:0 32px; border-left:1px solid rgba(255,255,255,.18); }
  .ft--flip .ft-clinics { order:3; padding:0 0 0 32px; border-left:1px solid rgba(255,255,255,.18); }
  .ft--flip .soc { justify-content:flex-start; }
}

/* Closing call-to-action on every page that has one: the same photo under a dark scrim as the home page's closing section */
section.sec--dark:has(.bandtxt) { background:linear-gradient(rgba(28,51,66,.84),rgba(28,51,66,.84)),url(https://btprod01.blob.core.windows.net/container01/partners-in-physical-therapy/images/48cdd43f-1796342714.jpg) center/cover no-repeat; }

/* Breathing room: small gaps that left things touching (bullet lists, name and role, opening-hours rows) get a little more space on every page */
.card ul li, .mtxt ul li, .flag ul li, .prose ul li, .twocol ul:not(.checks) li { margin-top:6px; }
.card ul li:first-child, .mtxt ul li:first-child, .flag ul li:first-child, .prose ul li:first-child { margin-top:0; }
.role { margin:6px 0 14px; }
.hrs-t th, .hrs-t td { padding-top:6px; padding-bottom:6px; }
.checks li { padding-top:14px; padding-bottom:14px; }
.acts { gap:12px 14px; }

/* What We Treat and How We Treat pages: less empty space between the sections */
html:has(link[rel="canonical"][href*="/conditions/"]), html:has(link[rel="canonical"][href*="/services/"]) { --space:clamp(40px,5.5vw,68px); }
/* Subheadings inside a section (a bold line of the old page): smaller than the section heading, larger than the paragraph text */
h3.subhead { font-size:clamp(20px,1.7vw,22px); line-height:1.3; margin:1.1em 0 .5em; }
h3.subhead--sm { font-size:clamp(18px,1.4vw,19px); font-weight:700; line-height:1.4; margin:1.1em 0 .6em; }
.prose > h2 + h3.subhead { margin-top:.3em; }
