:root{--navy:#172b70;--indigo:#34378d;--teal:#4ca8a2;--duck:#d9f0f1;--duck2:#c9e8e9;--page:#eef1ef;--line:#d5dce4;--muted:#65748c;--shadow:0 12px 28px rgba(34,49,77,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--navy);background:var(--page);font-size:15px}
.site-header{background:linear-gradient(90deg,var(--duck),#e7f6f6 48%,var(--duck2));border-bottom:1px solid #bddcde;position:relative;z-index:10}
.head{min-height:158px;max-width:1360px;margin:auto;padding:10px 34px;display:flex;align-items:center;justify-content:space-between;gap:34px}
.brand{display:flex;align-items:center;width:330px;height:138px;text-decoration:none}.brand img{display:block;max-width:320px;max-height:132px;width:auto;height:auto;object-fit:contain}
nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(22px,2.8vw,40px);font-size:clamp(16px,1.2vw,18px);font-weight:700;flex-wrap:wrap}nav a,summary{color:var(--navy);text-decoration:none;cursor:pointer;white-space:nowrap}.nav-drop{position:relative}.nav-drop summary{list-style:none}.nav-drop summary::-webkit-details-marker{display:none}.nav-drop summary:after{content:''}.nav-panel{position:absolute;top:36px;left:-24px;width:345px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:18px;display:grid;gap:5px;color:var(--navy)}.nav-panel span{color:var(--muted);font-weight:400;font-size:13px;line-height:1.45;margin-bottom:8px}
.header-actions{display:flex;align-items:center;gap:18px;font-size:18px;font-weight:700;white-space:nowrap}
main{padding-bottom:30px}.hero{text-align:center;padding:42px 20px 18px}.eyebrow{font-size:12px;letter-spacing:.22em;font-weight:700;color:var(--teal);margin-bottom:16px}.hero h1{font-size:clamp(34px,3.5vw,56px);font-weight:650;line-height:1.14;margin:0;letter-spacing:-.04em}.hero p{font-size:18px;line-height:1.55;color:#46546c;max-width:820px;margin:16px auto 0}
.library-strip{max-width:1020px;margin:10px auto 24px;padding:0;border:1px solid #7fc6c1;border-radius:12px;background:linear-gradient(100deg,#e8f8f5,#edf9f8);box-shadow:0 6px 16px rgba(67,132,127,.06);overflow:hidden}.library-strip a{display:flex;align-items:center;justify-content:center;gap:16px;text-decoration:none;color:var(--navy);font-size:17px;font-weight:700;text-align:left;padding:15px 22px;min-height:64px}.library-strip .book{font-size:34px;line-height:1;color:var(--teal)}
.shell{max-width:1110px;margin:auto;padding:0 0 34px}.card{background:#fff;border:1px solid #cfd7e0;border-radius:14px;padding:20px;box-shadow:var(--shadow)}h2{font-size:18px;font-weight:750;margin:0}h2 small{font-weight:400;color:var(--muted)}p{color:var(--muted)}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.tall{min-height:680px;display:flex;flex-direction:column}.feet{display:grid;grid-template-columns:1fr 1fr}.feet>div{text-align:center;font-size:11px}.foot{width:145px;height:245px}.small .foot{height:215px}.mirror{transform:scaleX(-1)}.view{text-align:center;font-size:10px;font-weight:800;margin-top:2px}.hot circle{fill:#fff;stroke:var(--teal);stroke-width:3;stroke-dasharray:3 3;cursor:pointer}.hot circle.active{fill:#c7f1ea;stroke:#168f87;stroke-width:4}.selected{margin-top:auto;background:#f2f5f7;border:1px solid #e0e5ea;border-radius:9px;padding:10px 12px;font-size:12px}
.needs{display:grid;gap:8px}.needs label{min-height:51px;border:1px solid #cbd5e1;border-radius:8px;padding:9px 13px;display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;column-gap:14px;cursor:pointer}.needs label>span{min-width:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.needs label b{font-size:14px;font-weight:700}.needs label small{font-weight:400;color:#687b99}.needs input[type=checkbox]{appearance:none;-webkit-appearance:none;width:18px;height:18px;margin:0;justify-self:end;border:1.5px solid #8795aa;border-radius:2px;background:#fff;display:grid;place-content:center}.needs input[type=checkbox]:checked{background:var(--teal);border-color:var(--teal)}.needs input[type=checkbox]:checked:after{content:'✓';color:#fff;font-size:13px;font-weight:700;line-height:1}.needs label:has(input:checked){background:#f0faf7;border-color:#79c9bf}.needs .well{background:linear-gradient(145deg,#f3fffb,#eaf8f4);border-color:#79c9bf}.needs .well b{color:#277f79}
.contact{margin-top:0}.contact>p{margin:6px 0 10px}.contacts{display:grid;grid-template-columns:repeat(4,1fr);gap:11px 16px;margin-top:12px}.span2{grid-column:span 2}.span4{grid-column:1/-1}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #c8d2df;border-radius:7px;background:#fff;color:#24395f;font:inherit}textarea{min-height:74px;resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid rgba(78,169,162,.18);border-color:var(--teal)}.field-label{font-size:12px;font-weight:700;color:#334563;display:grid;gap:5px}.radio-row{display:flex;align-items:center;gap:22px;min-height:42px}.radio-row label{display:flex;align-items:center;gap:6px;font-size:13px}.radio-row input{width:15px;height:15px}
.consent{margin-top:16px;padding-top:14px;border-top:1px solid #e1e8ee;display:grid;grid-template-columns:1fr auto;align-items:end;gap:14px}.consent-copy{display:grid;gap:7px}.consent-copy label{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.45}.consent-copy input{width:16px;margin-top:2px}.consent-copy small{color:#687b8c;line-height:1.4}.form-status{margin-top:8px;font-size:14px;font-weight:600}.form-status.success{color:#216e4a}.form-status.error{color:#9b4643}.cta{min-width:215px;border:0;border-radius:8px;background:linear-gradient(90deg,#343e95,#2d327f);color:#fff;padding:14px 20px;font-size:15px;font-weight:700;box-shadow:0 8px 20px rgba(47,53,137,.18)}.cta:disabled{opacity:.65;cursor:wait}.hp-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.about-preview{max-width:1110px;margin:10px auto 30px;padding:22px 28px;border-top:1px solid #cfd7e0;text-align:center}.about-preview b{font-size:18px}.about-preview p{max-width:690px;margin:8px auto 0;line-height:1.6}
@media(max-width:1050px){nav{gap:24px;font-size:16px}.brand{width:260px}.brand img{max-width:250px}.header-actions{font-size:15px}.contacts{grid-template-columns:1fr 1fr}.span4{grid-column:1/-1}}
@media(max-width:850px){nav{display:none}.header-actions{display:none}.head{min-height:120px;justify-content:center}.brand{height:100px;width:260px}.brand img{max-height:96px}.shell,.library-strip{margin-left:16px;margin-right:16px}.grid{grid-template-columns:1fr}.tall{min-height:auto}.contacts{grid-template-columns:1fr 1fr}.consent{grid-template-columns:1fr}.cta{width:100%}}
@media(max-width:600px){.head{padding:8px 14px;min-height:108px}.hero{padding-top:28px}.hero h1{font-size:37px}.hero p{font-size:16px}.shell{margin:0;padding:0 12px 24px}.library-strip{margin:0 12px 16px}.library-strip a{font-size:15px}.card{padding:16px}.contacts{grid-template-columns:1fr}.span2,.span4{grid-column:auto}.foot{height:205px;width:112px}.small .foot{height:190px}.needs label>span{display:grid;gap:2px}.about-preview{margin:0 12px 28px}}

/* V12 — Robin interactive anatomy integration */
.anatomy-card{overflow:hidden}
.anatomy-frame-wrap{margin:8px -4px 12px;background:#fff;border:1px solid #e1e8ee;border-radius:10px;overflow:hidden}
.anatomy-frame{display:block;width:100%;height:560px;border:0;background:#fff}
@media(max-width:850px){.anatomy-frame{height:520px}}
@media(max-width:600px){.anatomy-frame{height:430px}}

/* V13 integrated site refinements */
.hero{text-align:center;padding:46px 20px 20px}
.hero h1{font-size:clamp(42px,4.2vw,62px);font-weight:680;line-height:1.08;margin:0;letter-spacing:-.04em}
.hero p{font-size:clamp(21px,2vw,28px);line-height:1.42;color:#66738d;max-width:980px;margin:22px auto 0;font-weight:600}
.library-strip{max-width:970px;margin:22px auto 26px;border:1px solid #7fc6c1;border-radius:12px;background:linear-gradient(100deg,#e8f8f5,#edf9f8);box-shadow:0 6px 16px rgba(67,132,127,.06)}
.library-strip a{display:flex;align-items:center;justify-content:center;gap:18px;text-decoration:none;color:#0d766f;font-size:clamp(18px,1.65vw,24px);font-weight:750;text-align:center;padding:16px 24px;min-height:66px;white-space:nowrap}
.library-strip .book{font-size:35px;line-height:1}.library-strip .arrow{font-size:30px}
.anatomy-frame-wrap{overflow:hidden}
.anatomy-frame{height:558px;overflow:hidden}
.selected{margin-top:10px}
.consent-copy a{color:var(--teal);font-weight:700}
@media(max-width:1050px){.library-strip a{white-space:normal}}
@media(max-width:600px){.hero p{font-size:19px}.library-strip a{font-size:17px;gap:10px}.library-strip .book{font-size:28px}}

.selection-note{margin-top:-4px!important;margin-bottom:12px!important;font-size:14px!important;color:#168f86!important;font-weight:700}
.library-strip .book{display:none!important}
@media(max-width:600px){
  .hero{padding:34px 18px 18px}
  .hero h1{font-size:clamp(40px,11.5vw,50px);line-height:1.05;letter-spacing:-.035em}
  .hero p{font-size:18px;line-height:1.38;margin-top:24px}
  .library-strip{margin:18px 0 26px}
  .library-strip a{min-height:auto;padding:18px 22px;font-size:17px;line-height:1.25;white-space:normal}
  .grid{grid-template-columns:1fr!important}
  .anatomy-frame-wrap{margin-top:10px}
  .anatomy-frame{height:430px!important}
  .selected{margin-top:8px!important}
}

/* V15.1: clarify patient communication preference */
.contact-note{display:block;margin-top:7px;font-size:12px;line-height:1.4;color:#667085;font-weight:400;}
.contact-requirement{margin-top:-4px;font-size:12px;line-height:1.45;color:#667085;font-weight:500;}

/* V21 — Footpath Health brand refresh (homepage only) */
.home-brand-spacer{width:330px;min-width:330px;height:1px}
.footpath-home-hero{padding-top:22px}
.footpath-hero-brand{width:min(760px,92vw);margin:0 auto 26px;text-align:center;color:var(--navy)}
.footpath-hero-symbol{display:block;width:170px;height:auto;margin:0 auto -4px;mix-blend-mode:multiply}
.footpath-wordmark{font-family:Inter,Arial,sans-serif;font-size:clamp(58px,6vw,86px);font-weight:700;line-height:.98;letter-spacing:-.045em;white-space:nowrap}
.footpath-wordmark span:first-child{color:#172b70}.footpath-wordmark span:last-child{color:#4aa7da;font-weight:600}
.footpath-tagline{margin:14px auto 0;display:flex;align-items:center;justify-content:center;gap:18px;font-size:clamp(16px,1.55vw,22px);font-weight:600;letter-spacing:.22em;white-space:nowrap}
.footpath-tagline i{display:block;width:56px;height:3px;background:#159990;border-radius:2px}.footpath-tagline b{color:#159990;font-size:20px;letter-spacing:0}
.footpath-descriptor{margin-top:10px;display:flex;align-items:center;justify-content:center;gap:18px;font-size:clamp(12px,1.15vw,16px);font-weight:600;letter-spacing:.14em;white-space:nowrap}.footpath-descriptor b{color:#159990;font-weight:500}
.footpath-home-hero h1{margin-top:4px}
@media(max-width:1050px){.home-brand-spacer{width:260px;min-width:260px}.footpath-hero-brand{width:min(700px,94vw)}}
@media(max-width:850px){.home-brand-spacer{display:none}.footpath-home-hero{padding-top:24px}.footpath-hero-symbol{width:140px}.footpath-wordmark{font-size:clamp(48px,10vw,68px)}.footpath-tagline{gap:11px;letter-spacing:.14em}.footpath-tagline i{width:34px}.footpath-descriptor{gap:10px;letter-spacing:.08em;white-space:normal;flex-wrap:wrap}}
@media(max-width:600px){.footpath-hero-brand{margin-bottom:22px}.footpath-hero-symbol{width:118px}.footpath-wordmark{font-size:clamp(43px,12.8vw,58px)}.footpath-tagline{font-size:13px;gap:8px;letter-spacing:.08em}.footpath-tagline i{width:18px;height:2px}.footpath-descriptor{font-size:10px;gap:7px;line-height:1.5}.footpath-home-hero h1{font-size:clamp(36px,10.5vw,46px)}}


/* V22 homepage copy and header refinements */
.footpath-home-hero h1{max-width:1400px;margin-left:auto;margin-right:auto;color:#252a8a;}
.footpath-home-hero p{display:none;}
.library-strip a{font-size:18px;}
@media(max-width:850px){.footpath-home-hero h1{font-size:clamp(30px,6.3vw,44px);line-height:1.18}.library-strip{max-width:calc(100% - 32px);} }


/* V23 — tighter hero scale and mobile-first header */
.mobile-home-brand{display:none}
.footpath-home-hero{padding-top:18px}
.footpath-hero-brand{width:min(700px,90vw);margin:0 auto 20px}
.footpath-hero-symbol{width:128px;margin-bottom:-3px}
.footpath-wordmark{font-size:clamp(54px,5.3vw,78px)}
.footpath-tagline{margin-top:9px;gap:11px;font-size:clamp(9px,.82vw,12px);letter-spacing:.18em}
.footpath-tagline i{width:36px;height:2px}.footpath-tagline b{font-size:12px}
.footpath-descriptor{margin-top:6px;gap:10px;font-size:clamp(8px,.7vw,10px);letter-spacing:.12em}
.footpath-home-hero h1{max-width:1460px;font-size:clamp(33px,3.0vw,48px);line-height:1.17;margin-top:12px}
.library-strip{margin-top:18px}

@media(max-width:850px){
  .head{min-height:88px;padding:7px 16px;justify-content:space-between}
  .home-brand-spacer{display:none}
  .mobile-home-brand{display:flex;align-items:center;width:155px;height:70px;text-decoration:none;flex:0 0 auto}
  .mobile-home-brand img{display:block;max-width:150px;max-height:66px;width:auto;height:auto;object-fit:contain}
  .menu-toggle{display:flex;margin-left:auto}
  .footpath-home-hero{padding:22px 14px 10px}
  .footpath-hero-brand{width:min(560px,96vw);margin-bottom:18px}
  .footpath-hero-symbol{width:92px}
  .footpath-wordmark{font-size:clamp(42px,11vw,56px)}
  .footpath-tagline{margin-top:8px;gap:7px;font-size:9px;letter-spacing:.10em}
  .footpath-tagline i{width:20px;height:2px}.footpath-tagline b{font-size:9px}
  .footpath-descriptor{margin-top:5px;gap:6px;font-size:7.5px;letter-spacing:.075em;white-space:nowrap;flex-wrap:nowrap}
  .footpath-home-hero h1{font-size:clamp(25px,6.6vw,32px);line-height:1.2;letter-spacing:-.03em;max-width:720px;margin-top:12px}
  .library-strip{margin-top:18px}
  .library-strip a{font-size:15px;line-height:1.25;padding:13px 16px;min-height:58px}
}
@media(max-width:480px){
  .head{min-height:80px;padding:6px 12px}
  .mobile-home-brand{width:138px;height:62px}.mobile-home-brand img{max-width:134px;max-height:58px}
  .menu-toggle{width:44px;height:40px}
  .footpath-home-hero{padding-top:18px}
  .footpath-hero-symbol{width:78px}
  .footpath-wordmark{font-size:clamp(37px,10.8vw,49px)}
  .footpath-tagline{font-size:8px;gap:6px}.footpath-tagline i{width:14px}.footpath-tagline b{font-size:8px}
  .footpath-descriptor{font-size:6.4px;gap:5px;letter-spacing:.055em}
  .footpath-home-hero h1{font-size:clamp(23px,6.2vw,29px);line-height:1.2;margin-top:11px}
  .library-strip{margin-left:10px;margin-right:10px}.library-strip a{font-size:14px;padding:12px 13px}
}

/* V44: concise free-service notice */
.service-note{max-width:1180px;margin:18px auto 0;padding:12px 16px;border:1px solid #cfe4df;border-radius:10px;background:#f3faf8;color:#31485e;font-size:14px;line-height:1.45;text-align:center;box-sizing:border-box}
.service-note strong{color:#172b70}
@media(max-width:1220px){.service-note{margin-left:20px;margin-right:20px}}
@media(max-width:600px){.service-note{margin:14px 14px 0;padding:11px 13px;font-size:13px}}

/* V47: keep form tracks within the viewport and wrap contact choices. */
.home-page .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-page .contacts{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-page .grid>* ,.home-page .contacts>* ,.home-page .consent-copy{min-width:0}
.home-page .field-label{min-width:0}
.home-page input,.home-page select,.home-page textarea{min-width:0;max-width:100%}
.home-page .radio-row{flex-wrap:wrap;gap:12px 20px}
.home-page .radio-row input{flex:0 0 15px}
.home-page .consent-copy input{flex:0 0 16px}
.home-page .contact{position:relative}
.home-page .hp-trap{left:0!important;top:0!important;clip-path:inset(50%);pointer-events:none}
.home-page .matching-intro{font-size:18px;font-weight:400;max-width:800px;line-height:1.5;margin:16px auto 0}
.home-page .matching-note{line-height:1.5;font-size:14px;margin:20px 0 0}
.home-page .site-footer{margin-top:0}
.home-page .footer-links{display:flex;flex-wrap:wrap;gap:16px}
.home-page .back-to-top{display:inline-block;padding:10px 14px;border:1px solid #8cbcb6;border-radius:8px}
.home-page .anatomy-frame{height:auto!important;aspect-ratio:3604.8 / 3989.28}
@media(max-width:1050px){.home-page .contacts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.home-page .grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.home-page .contacts{grid-template-columns:minmax(0,1fr)}.home-page .radio-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-page .radio-row label{min-width:0}.home-page input,.home-page select,.home-page textarea{font-size:16px}.home-page .matching-intro{font-size:16px}.home-page .footer-links{justify-content:center}.home-page .shell{padding-bottom:12px}.home-page main{padding-bottom:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Successful enquiries replace the form with a visible, keyboard-accessible receipt. */
#form[hidden], #enquirySuccess[hidden] { display: none !important; }
.enquiry-success { box-sizing: border-box; margin: 24px auto 36px; padding: clamp(24px, 5vw, 48px); background: #f0f8f5; border: 2px solid #28785c; border-radius: 16px; text-align: center; color: #173f33; scroll-margin: 24px; }
.enquiry-success:focus { outline: 3px solid #343e95; outline-offset: 4px; }
.enquiry-success-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: #28785c; color: white; font-size: 32px; font-weight: 700; }
.enquiry-success h2 { margin: 0 auto 18px; max-width: 760px; color: #272170; font-size: clamp(23px, 4vw, 32px); line-height: 1.3; }
.enquiry-success p { max-width: 670px; margin: 12px auto; font-size: 16px; line-height: 1.65; }
.enquiry-success .cta { margin-top: 18px; max-width: 100%; min-width: 0; cursor: pointer; }
