:root{
  --ink:#0E2A3B; --ink-deep:#0A1F2C; --ink-soft:#163B52;
  --teal:#0F7C7A; --teal-dark:#0B5E5C; --teal-light:#9FD8D5;
  --wash:#DCEFEE; --mist:#F4F7F7; --slate:#4A5B66; --line:#D6E0E1; --white:#FFFFFF;
  --display:'Manrope','Helvetica Neue',Arial,sans-serif;
  --body:'Source Sans 3','Helvetica Neue',Arial,sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none !important}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);font-size:18px;line-height:1.55;color:var(--ink);background:var(--white)}
svg{display:block}
a{color:var(--teal)}
a:hover{color:var(--teal-dark)}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
h1,h2,h3{font-family:var(--display);margin:0;letter-spacing:-0.02em}
p{margin:0}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 22px;border-radius:10px;font-family:var(--body);font-weight:600;font-size:17px;text-decoration:none;border:1.5px solid transparent;cursor:pointer}
.btn-teal{background:var(--teal);color:var(--white)} .btn-teal:hover{background:var(--teal-dark);color:var(--white)}
.btn-ink{background:var(--ink);color:var(--white)} .btn-ink:hover{background:var(--ink-soft);color:var(--white)}
.btn-white{background:var(--white);color:var(--ink)} .btn-white:hover{background:var(--wash);color:var(--ink)}
.btn-line{border-color:currentColor;background:transparent;color:inherit}
.btn-line:hover{background:var(--white);color:var(--ink);border-color:var(--white)}

/* Header */
.site-header{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);flex:none}
.brand-word{display:flex;flex-direction:column;line-height:1}
.brand-word b{font-family:var(--display);font-weight:800;font-size:25px;letter-spacing:-0.03em}
.brand-word small{font-family:var(--display);font-weight:700;font-size:9.5px;letter-spacing:0.3em;color:var(--slate);margin-top:3px}
.nav{display:flex;align-items:center;gap:6px 22px;font-weight:600;font-size:16px}
.nav a{color:var(--ink);text-decoration:none;padding:6px 0}
.nav a:hover{color:var(--teal)}
.nav a[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--teal)}
.nav .btn{min-height:44px;padding:10px 18px;font-size:16px;color:var(--white)}
.menu-btn{display:none;font:600 16px var(--body);background:var(--white);border:1.5px solid var(--line);border-radius:10px;min-height:44px;padding:8px 14px;color:var(--ink);cursor:pointer}
@media (max-width:980px){
  .menu-btn{display:inline-flex;align-items:center;gap:8px}
  .site-header .wrap{flex-wrap:wrap}
  .nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:8px 0 4px}
  .nav.open{display:flex}
  .nav a{padding:12px 4px;border-bottom:1px solid var(--mist)}
  .nav a[aria-current="page"]{box-shadow:inset 3px 0 0 var(--teal);padding-left:12px}
  .nav .btn{margin-top:10px;border-bottom:0}
}

/* Hero */
.hero{background:var(--ink);color:var(--white);position:relative;overflow:hidden}
.hero .wrap{position:relative;display:flex;flex-wrap:wrap;gap:48px;align-items:center;padding-top:96px;padding-bottom:96px}
.hero-copy{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:22px}
.hero h1{font-size:clamp(38px,5.6vw,72px);font-weight:800;line-height:1.02;letter-spacing:-0.035em;max-width:15ch}
.hero-lead{font-size:20px;color:#D3DFE3;max-width:36em}
.hero-mark{position:absolute;right:-90px;top:50%;transform:translateY(-50%);width:560px;height:560px;opacity:.07;pointer-events:none}
.crumb{font-weight:600;font-size:16px;color:var(--teal-light)}
.crumb a{color:var(--teal-light)}
.pills{display:flex;flex-wrap:wrap;gap:10px}
.pills a,.pills span{color:var(--white);text-decoration:none;border:1.5px solid rgba(255,255,255,.35);border-radius:999px;padding:9px 16px;font-weight:600;font-size:16px}
.pills a:hover{border-color:var(--teal-light);color:var(--teal-light)}
.hero-card{flex:1 1 340px;min-width:0;background:var(--white);color:var(--ink);border-radius:18px;padding:28px;display:flex;flex-direction:column;gap:14px}
.hero-card h2{font-size:22px;font-weight:800}
.hero-card p{color:var(--slate);font-size:16px}
.hero-card ul{list-style:none;margin:0;padding:0}
.hero-card li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--mist);font-size:17px}
.hero-card li:last-child{border-bottom:0}

/* Sections */
.section{padding:96px 0}
.section-mist{background:var(--mist)}
.section-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 32px;margin-bottom:36px}
.section-head h2{font-size:clamp(30px,3.6vw,44px);font-weight:800;line-height:1.08}
.section-head p{color:var(--slate);max-width:34em}
.intro{display:flex;flex-wrap:wrap;gap:32px 64px;align-items:flex-start;margin-bottom:48px}
.intro h2{flex:1 1 360px;font-size:clamp(30px,3.6vw,44px);font-weight:800;line-height:1.08}
.intro p{flex:1.4 1 420px;color:var(--slate);font-size:19px}

/* Division cards */
.divisions{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.division{border-radius:20px;padding:32px;min-height:340px;display:flex;flex-direction:column;gap:16px;text-decoration:none;color:var(--white);background:var(--ink)}
.division:nth-child(2){background:var(--ink-soft)}
.division:nth-child(3){background:var(--teal-dark)}
.division .num{font-family:var(--display);font-weight:800;font-size:15px;color:var(--teal-light)}
.division h3{font-size:clamp(26px,2.6vw,32px);font-weight:800;line-height:1.1}
.division p{color:#D3DFE3;font-size:17px}
.division ul{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.division li{border:1.5px solid rgba(255,255,255,.3);border-radius:999px;padding:4px 12px;font-size:14px;font-weight:600}
.division .go{display:inline-flex;align-items:center;gap:10px;font-weight:600;color:var(--white)}
.division .go span{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--white);color:var(--ink)}
@media (prefers-reduced-motion: no-preference){.division .go span{transition:transform .2s ease}}
.division:hover .go span{transform:translateX(4px)}

/* Paths */
.paths{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}
.path{border-radius:20px;padding:36px;min-height:260px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;text-decoration:none}
.path-a{background:var(--wash);color:var(--ink)}
.path-b{background:var(--ink);color:var(--white)}
.path .who{font-family:var(--display);font-size:clamp(28px,3vw,36px);font-weight:800;letter-spacing:-0.02em;line-height:1.1}
.path .who em{font-style:normal;color:var(--teal)}
.path-b .who em{color:var(--teal-light)}
.path p{font-size:17px;opacity:.85;max-width:30em}
.path .go{display:inline-flex;align-items:center;gap:10px;font-weight:600}

/* Tiles and groups */
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}
.tile{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:6px}
.section-mist .tile{border-color:var(--white)}
.tile h3{font-size:19px;font-weight:700;display:flex;align-items:center;gap:10px}
.tile h3::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--teal);flex:none}
.tile p{color:var(--slate);font-size:16px}
.groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.group{background:var(--white);border-radius:20px;padding:30px;display:flex;flex-direction:column;gap:14px;border:1px solid var(--line)}
.group h3{font-size:24px;font-weight:800}
.group > p{color:var(--slate);font-size:17px}
.group ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.group li{padding:10px 0;border-bottom:1px solid var(--mist);font-size:17px;display:flex;gap:10px;align-items:baseline}
.group li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--teal);flex:none;transform:translateY(-2px)}
.group li:last-child{border-bottom:0}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chips span{background:var(--white);border:1.5px solid var(--line);border-radius:999px;padding:8px 16px;font-weight:600;font-size:16px}

/* Tabs */
.tabs{display:flex;flex-wrap:wrap;gap:4px 22px;border-bottom:1.5px solid var(--line);margin-bottom:36px}
.tab{font:700 17px var(--display);background:none;border:0;border-bottom:3px solid transparent;margin-bottom:-1.5px;padding:14px 4px;color:var(--slate);cursor:pointer;min-height:44px}
.tab[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--teal)}
.panel{display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.panel-copy{flex:999 1 460px;min-width:0;display:flex;flex-direction:column;gap:18px}
.panel-copy .lede{font-family:var(--display);font-weight:700;font-size:clamp(22px,2.4vw,28px);line-height:1.3;letter-spacing:-0.01em}
.panel-copy p{color:var(--slate)}
.panel-art{flex:1 1 320px;min-height:260px;border-radius:20px;background:var(--wash);display:flex;align-items:center;justify-content:center;padding:32px}
.panel-art ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;width:100%;max-width:340px}
.panel-art li{background:var(--white);border-radius:12px;padding:14px 16px;display:flex;align-items:center;gap:12px;font-weight:600;font-size:16px}
.panel-art li::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 5px var(--ink);flex:none;margin-left:5px}

/* Steps */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;counter-reset:step}
.steps li{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:26px;display:flex;flex-direction:column;gap:10px;counter-increment:step}
.steps li::before{content:counter(step);width:42px;height:42px;border-radius:12px;background:var(--wash);font-family:var(--display);font-weight:800;font-size:19px;display:flex;align-items:center;justify-content:center}
.steps h3{font-size:20px;font-weight:700}
.steps p{color:var(--slate);font-size:16px}

/* Compliance band */
.band{background:var(--ink);color:var(--white)}
.band h2{font-size:clamp(30px,3.6vw,44px);font-weight:800;line-height:1.08;margin-bottom:12px}
.band .lead{color:#D3DFE3;max-width:38em;margin-bottom:44px}
.band .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:28px}
.point{border-top:2px solid var(--teal-light);padding-top:16px;display:flex;flex-direction:column;gap:6px}
.point h3{font-size:19px;font-weight:700}
.point p{color:#C9D7DC;font-size:16px}

/* CTA strip */
.cta{background:var(--teal);color:var(--white)}
.cta .wrap{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;padding-top:56px;padding-bottom:56px}
.cta h2{font-size:clamp(26px,3vw,36px);font-weight:800;max-width:22ch;line-height:1.12}

/* Contact */
.contact .wrap{display:flex;flex-wrap:wrap;gap:48px}
.contact-copy{flex:1 1 340px;display:flex;flex-direction:column;gap:18px}
.contact-copy h2{font-size:clamp(30px,3.6vw,44px);font-weight:800;line-height:1.08}
.contact-copy p{color:var(--slate)}
.contact-copy .direct{display:flex;flex-direction:column;gap:8px;font-weight:600}
form.enquiry{flex:1.4 1 460px;min-width:0;background:var(--white);border:1px solid var(--line);border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:18px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-weight:600;font-size:15px}
.field input,.field select,.field textarea{font:inherit;font-size:17px;color:var(--ink);border:1.5px solid var(--line);border-radius:10px;padding:12px 14px;background:var(--white);min-height:48px;width:100%}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--teal);outline:none;box-shadow:0 0 0 3px var(--wash)}
.iam{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.iam legend{font-weight:600;font-size:15px;margin-bottom:8px;padding:0}
.iam label{position:relative}
.iam input{position:absolute;opacity:0}
.iam span{display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border-radius:999px;border:1.5px solid var(--line);font-weight:600;cursor:pointer}
.iam input:checked + span{background:var(--ink);border-color:var(--ink);color:var(--white)}
.iam input:focus-visible + span{outline:3px solid var(--teal);outline-offset:3px}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px}
.consent{font-size:15px;color:var(--slate);display:flex;gap:10px;align-items:flex-start}
.consent input{margin-top:5px;width:18px;height:18px;flex:none}
.hint{font-size:14px;color:var(--slate)}

.float-cv{position:fixed;right:20px;bottom:20px;z-index:30;box-shadow:0 6px 20px rgba(14,42,59,.25)}

footer.site-footer{background:var(--ink-deep);color:#B9C9CF;font-size:15px}
footer.site-footer .wrap{display:flex;flex-wrap:wrap;gap:24px 48px;justify-content:space-between;padding-top:44px;padding-bottom:44px}
footer.site-footer a{color:#B9C9CF}
footer.site-footer a:hover{color:var(--white)}
footer.site-footer nav{display:flex;flex-direction:column;gap:6px}
footer.site-footer h3{font-size:15px;color:var(--white);margin-bottom:6px;letter-spacing:0}

@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
@media (max-width:640px){
  body{font-size:17px}
  .site-header{position:static}
  .hero .wrap{padding-top:56px;padding-bottom:56px}
  .section{padding:64px 0}
  .path,.hero-card,form.enquiry,.division,.group{padding:24px}
  .hero-mark{display:none}
}

/* ===================== Motion and interaction ===================== */
@keyframes fadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes wordIn{from{opacity:0;transform:translateY(60%)}to{opacity:1;transform:none}}
@keyframes wordOut{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-60%)}}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes popIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}

/* Hero extras */
.hero-xl .wrap{padding-top:104px;padding-bottom:104px}
.hero-rotator{font-family:var(--display);font-weight:700;font-size:clamp(22px,2.6vw,30px);color:#D3DFE3;letter-spacing:-0.01em}
.rotator{display:inline-block;color:var(--teal-light);border-bottom:3px solid var(--teal);padding-bottom:2px}
.rotator.out{animation:wordOut .35s ease forwards}
.rotator.in{animation:wordIn .45s ease}

/* Settings marquee */
.settings-strip{background:var(--teal-dark);color:var(--white);overflow:hidden;border-top:1px solid rgba(255,255,255,.08)}
.marquee{overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.marquee-track{display:flex;gap:14px;width:max-content;padding:16px 0;animation:marquee 38s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-track span{font-family:var(--display);font-weight:700;font-size:17px;white-space:nowrap;display:inline-flex;align-items:center;gap:14px}
.marquee-track span::after{content:"";width:7px;height:7px;border-radius:50%;background:var(--teal-light);margin-left:14px}

/* Scroll reveal */
.reveal{opacity:1}
.js-motion .reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
.js-motion .reveal.shown{opacity:1;transform:none}

/* Card hover lift */
.tile,.group,.division,.path,.steps li,.hero-card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.tile:hover,.group:hover,.steps li:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(14,42,59,.10);border-color:var(--teal-light)}
.division:hover,.path:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(14,42,59,.22)}

/* Tabs: animated panels and underline */
.tab{position:relative;transition:color .2s ease}
.tab::after{content:"";position:absolute;left:0;right:0;bottom:-1.5px;height:3px;background:var(--teal);transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
.tab[aria-selected="true"]{border-bottom-color:transparent}
.tab[aria-selected="true"]::after{transform:scaleX(1)}
.tab:hover{color:var(--ink)}
[role="tabpanel"]:not([hidden]){animation:fadeUp .45s ease}
.panel-art li{animation:fadeUp .5s ease backwards}
.panel-art li:nth-child(2){animation-delay:.08s}
.panel-art li:nth-child(3){animation-delay:.16s}

/* Patient pathway */
.pathway{background:var(--ink);color:var(--white);border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:28px;--progress:.1667}
.pathway-track{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding-bottom:18px}
.pathway-track::before{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;border-radius:4px;background:rgba(255,255,255,.12)}
.pathway-progress{position:absolute;left:0;bottom:0;height:4px;border-radius:4px;background:var(--teal-light);width:calc(var(--progress) * 100%);transition:width .5s ease}
.stage{font:inherit;color:#B9C9CF;background:transparent;border:1.5px solid rgba(255,255,255,.14);border-radius:14px;padding:14px 12px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;cursor:pointer;text-align:left;min-height:96px;transition:background .25s ease,border-color .25s ease,color .25s ease,transform .25s ease}
.stage:hover{border-color:var(--teal-light);color:var(--white);transform:translateY(-2px)}
.stage[aria-selected="true"]{background:var(--teal);border-color:var(--teal);color:var(--white)}
.stage-num{width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.12);display:inline-flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:800;font-size:15px}
.stage[aria-selected="true"] .stage-num{background:var(--white);color:var(--ink)}
.stage-name{font-family:var(--display);font-weight:700;font-size:16px;line-height:1.25}
.stage-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:28px;align-items:start}
.stage-panel h3{font-size:clamp(26px,3vw,34px);font-weight:800;margin:6px 0 10px}
.stage-panel p{color:#D3DFE3;font-size:18px}
.stage-kicker{font-family:var(--display);font-weight:700;font-size:14px;color:var(--teal-light) !important}
.stage-panel ul{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.stage-panel li{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:12px;animation:fadeUp .5s ease backwards}
.stage-panel li:nth-child(2){animation-delay:.08s}
.stage-panel li:nth-child(3){animation-delay:.16s}
@media (max-width:900px){
  .pathway{padding:22px}
  .pathway-track{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:520px){
  .pathway-track{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stage{min-height:84px}
}

/* Speciality explorer */
.explorer{display:flex;flex-direction:column;gap:22px}
.explorer-controls{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between}
.filter-chips{display:flex;flex-wrap:wrap;gap:8px}
.filter-chip{font:600 16px var(--body);min-height:44px;padding:8px 18px;border-radius:999px;border:1.5px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
.filter-chip:hover{border-color:var(--teal)}
.filter-chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--white)}
.spec-search{font:inherit;font-size:17px;border:1.5px solid var(--line);border-radius:10px;padding:10px 14px;min-height:46px;width:min(320px,100%);background:var(--white);color:var(--ink)}
.spec-search:focus{border-color:var(--teal);outline:none;box-shadow:0 0 0 3px var(--wash)}
.spec-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.spec-grid li{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:14px 16px;font-weight:600;display:flex;align-items:center;gap:12px;animation:popIn .35s ease;transition:transform .2s ease,border-color .2s ease}
.spec-grid li:hover{transform:translateY(-3px);border-color:var(--teal)}
.spec-grid .dot{width:10px;height:10px;border-radius:50%;background:var(--teal);flex:none}
.spec-grid li[data-group="surgical"] .dot{background:var(--ink)}
.spec-grid li[data-group="diagnostics"] .dot{background:#5FA8D3}
.spec-grid li[data-group="community"] .dot{background:#3A9D6B}
.spec-empty{color:var(--slate)}

.divisions-two{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.divisions-two .division:nth-child(2){background:var(--teal-dark)}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none !important;transition:none !important}
  .js-motion .reveal{opacity:1;transform:none}
  .marquee-track{flex-wrap:wrap;width:auto}
}
