/* Loader */
/* Loader: the mark, in its true shape, starts almost as large as the screen and shrinks fast to size, then the wordmark slides out of it; the screen then lifts away */
#hf-loader{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;background:#F6F3E8;color:#16302C;transition:transform 1.15s cubic-bezier(.76,0,.24,1),opacity .5s ease .65s}
#hf-loader.out{transform:translateY(-100%)}
#hf-loader .ld{display:inline-flex;align-items:center;font-family:"Albert Sans",ui-sans-serif,system-ui,-apple-system,sans-serif;font-size:clamp(40px,6vw,64px);line-height:1;transition:opacity .55s ease,transform 1.15s cubic-bezier(.76,0,.24,1)}
#hf-loader.out .ld{opacity:0;transform:translateY(-40px)}
#hf-loader .ld-mark{width:.92em;height:.92em;flex:none;display:block;overflow:visible;opacity:1;transform:scale(1.35);animation:ldFocus 1.4s cubic-bezier(.33,0,.12,1) .1s forwards}
#hf-loader .ld-mark path{opacity:0;transform-box:fill-box;transform-origin:center;transform:translate(var(--dx),var(--dy)) rotate(var(--r));animation:ldLock .95s cubic-bezier(.2,.85,.25,1) forwards}
#hf-loader .ld-mark .p4{animation-delay:.15s}#hf-loader .ld-mark .p3{animation-delay:.27s}#hf-loader .ld-mark .p2{animation-delay:.39s}#hf-loader .ld-mark .p1{animation-delay:.51s}
#hf-loader .ld-mark .p1{--dx:-16px;--dy:16px;--r:-35deg}#hf-loader .ld-mark .p2{--dx:16px;--dy:16px;--r:35deg}#hf-loader .ld-mark .p3{--dx:16px;--dy:-16px;--r:-35deg}#hf-loader .ld-mark .p4{--dx:-16px;--dy:-16px;--r:35deg}
#hf-loader .ld-w{display:inline-block;overflow:hidden;white-space:nowrap;letter-spacing:-.015em;padding:.06em 0 .1em;margin:-.06em 0 -.1em}
#hf-loader .ld-w>span{display:inline-block;padding-left:.3em;transform:translateY(110%);animation:ldRise 1s cubic-bezier(.22,.9,.24,1) 1.5s forwards}
#hf-loader .ld-w .ch{display:inline}
#hf-loader .ld-w b{font-weight:700}#hf-loader .ld-w i{font-style:normal;font-weight:400;letter-spacing:-.005em}
@keyframes ldFocus{to{transform:scale(1)}}
@keyframes ldLock{0%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--r))}35%{opacity:1}100%{opacity:1;transform:none}}
@keyframes ldOpen{to{max-width:var(--ww,4.8em)}}
@keyframes ldRise{to{transform:none}}
@media (prefers-reduced-motion:reduce){#hf-loader,#hf-loader *{animation-duration:.01s!important;animation-delay:0s!important;transition-duration:.2s!important}}

/* Layout: white grid page, oversized condensed-tracking headline bleeding to the left edge,
   mono utility labels, "+" registration marks on a 12-col grid, one coral accent for action. */
:root{
  --bg:#FFFFFF;
  --ink:#17322A;
  --ink-2:#5C6862;
  --line:#E3E6E2;
  --panel:#F3F5F2;
  --accent:#D14A27;
  --on-accent:#FFFFFF;
  --deep:#17322A;
  --on-deep:#FFFFFF;
  --logo-filter:none;
  --on-photo:#FFFFFF;
  --c-ink:#0C2A2B;--c-ink-2:#4A6261;--c-btn:#0A2C30;--c-on-btn:#FFFFFF;
  --font:"Albert Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,"SF Mono",Menlo,monospace;
  --gutter:clamp(16px,2vw,28px);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0F1D18;--ink:#EEF2EE;--ink-2:#9BA9A2;--line:#24352E;--panel:#16271F;
    --accent:#F0643F;--on-accent:#140B07;--deep:#EEF2EE;--on-deep:#0F1D18;
    --logo-filter:invert(1) brightness(1.4);color-scheme:dark;
    --c-ink:#EEF2EE;--c-ink-2:#9BB0AC;--c-btn:#EEF2EE;--c-on-btn:#0C2A2B;
  }
}
:root[data-theme="dark"]{
  --bg:#0F1D18;--ink:#EEF2EE;--ink-2:#9BA9A2;--line:#24352E;--panel:#16271F;
  --accent:#F0643F;--on-accent:#140B07;--deep:#EEF2EE;--on-deep:#0F1D18;
  --logo-filter:invert(1) brightness(1.4);color-scheme:dark;
    --c-ink:#EEF2EE;--c-ink-2:#9BB0AC;--c-btn:#EEF2EE;--c-on-btn:#0C2A2B;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.5;
  -webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;z-index:50;background:var(--bg);padding:8px 12px}

.wrap{padding-left:max(var(--gutter),env(safe-area-inset-left,0px));padding-right:max(var(--gutter),env(safe-area-inset-right,0px))}
.mono{font-family:var(--mono);font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.label{font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}
.plus{color:var(--accent);font-family:var(--font);font-weight:400;font-size:32px;line-height:1;display:block}

/* ---------- Header ---------- */
/* Lockup per Figma "Healthfort Tech – Logo": mark 0.92em, gap 0.3em, SemiBold -0.035em + Light "Tech" */
.logo{display:inline-flex;align-items:center;gap:.3em;font-size:22px;line-height:1;white-space:nowrap}
.logo .mark{width:.92em;height:.92em;flex:none;display:block}
.logo .w{font-weight:600;letter-spacing:-.035em}
.logo .t{font-weight:300;letter-spacing:-.02em;margin-left:-.06em}
nav.main{display:flex;gap:28px}
nav.main a{position:relative;padding-block:6px}
nav.main a::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
nav.main a:hover::after{transform:scaleX(1)}
.talk{justify-self:end;display:inline-flex;align-items:center;gap:10px;background:var(--deep);color:var(--on-deep);padding:22px 22px}
.talk:hover{background:var(--accent);color:var(--on-accent)}

/* ---------- Hero ---------- */
.hero{padding-bottom:40px}
.hero h1{margin:0;margin-left:-.06em;font-weight:700;text-transform:uppercase;
  font-size:min(14.4vw,300px);line-height:.8;letter-spacing:-.065em;padding-top:.06em}
.hero h1 .ln{display:block;overflow:hidden;padding-bottom:.04em;white-space:nowrap}
.hero h1 .ln > span{display:block}

.marks{display:grid;grid-template-columns:1fr 1fr;margin-top:clamp(48px,7vw,96px)}
.marks .plus:last-child{justify-self:end}
.marks .mid{display:none}
.cta{display:inline-flex;gap:4px;align-self:end}
.cta a{background:var(--accent);color:var(--on-accent);display:inline-flex;align-items:center;min-height:68px}
.cta .t{padding:0 22px}
.cta .a{width:68px;justify-content:center;font-size:20px;transition:transform .25s ease}
.cta:hover .a{transform:translateX(4px)}
.statement{margin:0;font-size:clamp(24px,2.9vw,48px);line-height:1.08;letter-spacing:-.035em;font-weight:500;text-wrap:pretty}
.statement .label{display:inline-block;width:clamp(120px,10vw,160px);vertical-align:.45em;letter-spacing:.06em}
.statement .soft{color:var(--ink-2)}

/* ---------- Bento ---------- */
.bento{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:minmax(0,auto);gap:4px;padding-block:24px 8px}
.tile{position:relative;overflow:hidden;background:var(--panel);min-width:0}
.tile img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.7,.1,1)}
.tile:hover img{transform:scale(1.03)}
.tile .cap{position:absolute;left:0;bottom:0;padding:20px 22px;color:#fff;font-size:clamp(20px,1.9vw,30px);line-height:1.1;letter-spacing:-.03em;font-weight:500}
.tile .cap::before{content:"";position:absolute;inset:-80px 0 0;background:linear-gradient(to top,rgba(10,22,17,.6),rgba(10,22,17,0));z-index:-1}
.tile .cap b{display:block;font-weight:600}
.t-main{grid-column:1 / span 8;grid-row:span 2;aspect-ratio:16/10}
.t-svc{grid-column:9 / span 4;aspect-ratio:4/3}
.t-txt{grid-column:9 / span 4;display:flex;flex-direction:column;justify-content:space-between;gap:24px;padding:22px;background:var(--deep);color:var(--on-deep)}
.t-txt .label{color:inherit;opacity:.7}
.t-txt b{font-weight:500;font-size:clamp(22px,2.1vw,34px);line-height:1.05;letter-spacing:-.035em}
.t-tall{grid-column:1 / span 4;aspect-ratio:4/5}
.t-flag{grid-column:5 / span 8;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;padding:22px;background:var(--panel)}
.t-flag b{font-size:clamp(28px,3.4vw,56px);line-height:1;letter-spacing:-.045em;font-weight:600}
.t-flag span{color:var(--ink-2);font-size:18px}

/* ---------- Sections ---------- */
section{padding-block:clamp(72px,10vw,150px);border-top:1px solid var(--line)}
.sec-head{display:grid;grid-template-columns:repeat(12,1fr);gap:24px;margin-bottom:clamp(40px,5vw,72px)}
.sec-head .label{grid-column:1 / span 3;display:flex;gap:10px;align-items:flex-start;padding-top:.6em}
.sec-head .label::before{content:"+";color:var(--accent);font-family:var(--font);font-size:20px;line-height:.7}
.sec-head h2,.sec-head h3{grid-column:4 / -1;margin:0;font-weight:600;text-transform:uppercase;
  font-size:clamp(40px,6.6vw,118px);line-height:.88;letter-spacing:-.055em;text-wrap:balance}
.sec-head p{grid-column:4 / span 6;margin:8px 0 0;color:var(--ink-2);font-size:clamp(17px,1.3vw,20px);max-width:58ch}

/* Mission */
.mission .big{margin:0;grid-column:4 / -1;font-size:clamp(34px,5vw,84px);line-height:1;letter-spacing:-.045em;font-weight:500;text-wrap:balance}
.mission .lines{grid-column:4 / -1;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:clamp(40px,5vw,72px)}
.mission .lines p{grid-column:auto;max-width:none;margin:0;padding-top:16px;border-top:1px solid var(--ink);font-size:clamp(17px,1.4vw,22px);letter-spacing:-.01em}

/* Group */
.brands{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.btile{display:flex;flex-direction:column;background:var(--panel);min-width:0}
.btile .img{aspect-ratio:4/5;overflow:hidden;position:relative}
.btile .img img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.7,.1,1)}
.btile .img::after{content:"";position:absolute;inset:0;background:var(--tint);opacity:0;transition:opacity .4s ease}
.btile:hover .img img{transform:scale(1.04)}
.btile:hover .img::after{opacity:.35}
.btile .body{display:flex;flex-direction:column;gap:10px;padding:22px;flex:1}
.btile h3{margin:0;font-size:clamp(26px,2.4vw,40px);letter-spacing:-.045em;line-height:1;font-weight:600}
.btile p{margin:0;color:var(--ink-2);max-width:36ch}
.btile .go{margin-top:auto;padding-top:20px;display:flex;justify-content:space-between;border-top:1px solid var(--line)}
.btile:hover .go{color:var(--accent)}

/* Principles */
.principles{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}
.pr{padding:28px 28px 40px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:14px;min-width:0}
.pr + .pr{padding-left:28px}
.pr:nth-child(3n+1){padding-left:0}
.pr:not(:nth-child(3n)){border-right:1px solid var(--line)}
.pr .plus{font-size:28px}
.pr h3{margin:0;margin-top:28px;font-size:clamp(22px,1.9vw,30px);line-height:1.08;letter-spacing:-.035em;font-weight:600;text-wrap:balance}
.pr p{margin:0;color:var(--ink-2);max-width:42ch}

/* Presence */
.countries{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink)}
.countries li{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);
  padding-block:clamp(10px,1.2vw,18px);font-weight:600;text-transform:uppercase;
  font-size:clamp(36px,6.4vw,112px);line-height:.95;letter-spacing:-.055em;transition:color .25s ease,padding .35s ease}
.countries li .plus{font-size:.45em;opacity:0;transition:opacity .25s ease}
.countries li:hover{color:var(--accent);padding-left:.12em}
.countries li:hover .plus{opacity:1}

/* Advisory board */
.docs{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}
.doc{min-width:0;display:flex;flex-direction:column;gap:12px}
.doc .ph{aspect-ratio:4/5;overflow:hidden;background:var(--panel)}
.doc .ph img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:filter .5s ease,transform 1s cubic-bezier(.2,.7,.1,1)}
.doc:hover .ph img{filter:none;transform:scale(1.03)}
.doc .role{color:var(--accent)}
.doc b{font-size:19px;letter-spacing:-.02em;font-weight:600;line-height:1.1}
.doc span.bio{color:var(--ink-2);font-size:14px}
.doc .meta{display:flex;flex-direction:column;gap:6px;padding-right:12px}

/* Trust */
.marquee{overflow:hidden;border-block:1px solid var(--line);-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
.track{display:flex;width:max-content;animation:slide 40s linear infinite}
.marquee:hover .track{animation-play-state:paused}
.track ul{display:flex;align-items:center;gap:clamp(48px,6vw,96px);list-style:none;margin:0;padding:32px clamp(24px,3vw,48px)}
.track img{height:44px;width:auto;filter:var(--logo-filter);opacity:.85}
@keyframes slide{to{transform:translateX(-50%)}}

/* Footer */
footer{border-top:1px solid var(--line);padding-block:48px 24px;overflow:hidden}
.foot-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px;align-items:flex-start}
.foot-nav{display:flex;flex-wrap:wrap;gap:28px}
.foot-nav a:hover,.legal a:hover{color:var(--accent)}
.wordmark{margin:clamp(48px,7vw,96px) 0 0 -.06em;font-weight:700;text-transform:uppercase;font-size:min(16.4vw,320px);line-height:.78;letter-spacing:-.07em}
.legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:28px;color:var(--ink-2)}
.legal > span{display:flex;gap:10px}
.legal .hfw,.legal .hfw *{display:inline!important;gap:0}

/* ---------- Responsive ---------- */
@media (min-width:900px){.marks{grid-template-columns:1fr 1fr 1fr}.marks .mid{display:block}.marks .plus:nth-child(2){justify-self:start}}
@media (max-width:1100px){
  .docs{grid-template-columns:repeat(3,1fr);row-gap:28px}
}
@media (max-width:900px){
  nav.main{display:none}
  .talk{padding:16px 18px}
  .bento{grid-template-columns:1fr 1fr}
  .t-main{grid-column:1 / -1;grid-row:auto}
  .t-svc,.t-txt{grid-column:span 1}
  .t-svc{aspect-ratio:auto;min-height:220px}
  .t-tall{grid-column:1 / -1;aspect-ratio:4/3}
  .t-flag{grid-column:1 / -1;min-height:200px}
  .sec-head{grid-template-columns:1fr;gap:16px}
  .sec-head .label,.sec-head h2,.sec-head h3,.sec-head p,.mission .big,.mission .lines{grid-column:1 / -1}
  .mission .lines{grid-template-columns:1fr;gap:20px}
  .brands{grid-template-columns:1fr}
  .btile .img{aspect-ratio:16/11}
  .principles{grid-template-columns:1fr 1fr}
  .pr,.pr + .pr{padding:24px 20px 32px 0;border-right:0}
  .pr:nth-child(odd){border-right:1px solid var(--line)}
  .pr:nth-child(even){padding-left:20px}
}
@media (max-width:560px){
  .t-svc,.t-txt{grid-column:1 / -1}
  .principles{grid-template-columns:1fr}
  .pr,.pr + .pr,.pr:nth-child(even){padding:22px 0 28px;border-right:0}
  .pr h3{margin-top:12px}
  .docs{grid-template-columns:1fr 1fr}
  .statement .label{display:block;width:auto;margin-bottom:12px;vertical-align:baseline}
  .cta{width:100%}.cta .t{flex:1}
}
/* ---------- Hero B: full-bleed photo, headline bottom-left, facts bottom-right ---------- */

/* ---------- Hero D (Farm Minerals reference): green studio scene, the Healthfort mark as a floating 3D module ---------- */

/* ---------- Hero E (giga.ai/industries/healthcare): dark hero, curved wall of scrolling tech tiles ---------- */
.he{display:none;position:relative;isolation:isolate;overflow:hidden;background:#071817;color:#F4F2EC}
:root[data-hero="e"] .he{display:block}:root[data-hero="e"] .hero{display:none}
.he-nav{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:12px;
  background:rgba(7,24,23,.75);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid rgba(244,242,236,.06)}
.he-nav .logo{font-size:19px;color:#F4F2EC}
.he-nav nav{display:flex;gap:32px;font-size:14px;color:rgba(244,242,236,.75)}
.he-nav nav a:hover{color:#F4F2EC}
.he-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;padding:12px 18px;font-family:var(--font);font-size:15px;font-weight:600;letter-spacing:-.01em;white-space:nowrap}
.he-btn.primary{background:var(--accent);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 6px 18px rgba(209,74,39,.3)}
.he-btn.primary:hover{filter:brightness(1.08)}
.he-btn.ghost{background:#1A2E2C;color:rgba(244,242,236,.9);box-shadow:inset 0 0 0 1px rgba(244,242,236,.12),inset 0 1px 0 rgba(255,255,255,.06)}
.he-btn.ghost:hover{background:#223A37}
.he-stage{position:relative;overflow:hidden;min-height:clamp(560px,64vw,760px);display:flex;align-items:center}
.he-wall{position:absolute;inset:-10% -8% -10% 26%;perspective:1500px;z-index:-2}
.he-tilt{position:absolute;inset:0;display:grid;grid-template-columns:repeat(5,1fr);gap:12px;transform:rotateY(-22deg) rotateX(4deg);transform-origin:0% 50%}
.he-col{overflow:hidden;min-width:0}
.he-track{display:flex;flex-direction:column;gap:12px;animation:heUp var(--d,60s) linear infinite}
.he-col:nth-child(even) .he-track{animation-name:heDown}
@keyframes heUp{from{transform:translateY(0)}to{transform:translateY(-50%)}}
@keyframes heDown{from{transform:translateY(-50%)}to{transform:translateY(0)}}
.he-tile{position:relative;aspect-ratio:4/5;border-radius:14px;overflow:hidden;background:#0E2624;box-shadow:inset 0 0 0 1px rgba(244,242,236,.07)}
.he-tile img,.he-tile svg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.he-tile.img img{filter:saturate(.75) contrast(1.05)}
.he-tile .lbl{position:absolute;left:10px;bottom:9px;font-family:var(--mono);font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:rgba(244,242,236,.55)}
.he-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,#071817 0%,rgba(7,24,23,.96) 30%,rgba(7,24,23,.55) 52%,rgba(7,24,23,0) 72%),
             linear-gradient(180deg,#071817 0%,rgba(7,24,23,0) 16%,rgba(7,24,23,0) 78%,#071817 100%)}
.he-copy{max-width:560px;display:flex;flex-direction:column;gap:22px;padding-block:56px}
.he h1{margin:0;font-family:var(--font);font-weight:400;font-size:clamp(44px,5vw,76px);line-height:1.02;letter-spacing:-.045em;color:#EAF0EC}
.he-copy p{margin:0;max-width:46ch;font-size:clamp(15px,1.15vw,17px);line-height:1.6;color:rgba(244,242,236,.78)}
.he-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.he-logos{display:flex;align-items:center;justify-content:space-between;gap:36px;list-style:none;margin:0;padding:28px 0 40px}
.he-logos img{height:28px;width:auto;filter:grayscale(1) invert(1);opacity:.6}
@media (max-width:900px){
  .he-nav nav{display:none}
  .he-stage{flex-direction:column;align-items:stretch;min-height:0}
  .he-wall{position:relative;inset:auto;height:360px;order:2;margin:0 -16px}
  .he-tilt{grid-template-columns:repeat(4,1fr);transform:rotateX(18deg) scale(1.15);transform-origin:50% 0%}
  .he-col:nth-child(5){display:none}
  .he-shade{background:linear-gradient(180deg,#071817 0%,rgba(7,24,23,.92) 45%,rgba(7,24,23,.2) 70%,#071817 100%)}
  .he-copy{padding-block:40px 8px}
  .he-logos{overflow:hidden;justify-content:flex-start;gap:28px}
  .he-logos li:nth-child(n+4){display:none}
}
@media (prefers-reduced-motion:reduce){.he-track{animation:none}}

/* ---------- Page body when hero E is chosen: continues the dark giga-healthcare look ---------- */
:root[data-hero="e"]{--bg:#071817;--ink:#EAF0EC;--ink-2:#93A8A2;--line:#1A2F2D;--panel:#0E2624;--deep:#EAF0EC;--on-deep:#071817;
  --accent:#D14A27;--on-accent:#FFFFFF;--logo-filter:grayscale(1) invert(1);color-scheme:dark}
:root[data-hero="e"] section{border-top:0;padding-block:clamp(72px,9vw,128px)}
:root[data-hero="e"] .sec-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px}
:root[data-hero="e"] .sec-head .label{padding-top:0;align-items:center;gap:8px;font-size:11px;letter-spacing:.1em;color:var(--ink)}
:root[data-hero="e"] .sec-head .label::before{content:none}
:root[data-hero="e"] .sec-head h2,:root[data-hero="e"] .sec-head h3{text-transform:none;font-weight:400;font-size:clamp(34px,4.2vw,60px);line-height:1.08;letter-spacing:-.04em;max-width:22ch;color:var(--ink)}
:root[data-hero="e"] .sec-head p{margin:0;max-width:56ch}
:root[data-hero="e"] .mission .big{font-weight:400;max-width:20ch;font-size:clamp(34px,4.2vw,60px);line-height:1.08;letter-spacing:-.04em}
:root[data-hero="e"] .brands{gap:12px}
:root[data-hero="e"] .btile{border-radius:14px;overflow:hidden;box-shadow:inset 0 0 0 1px var(--line)}
:root[data-hero="e"] .btile h3{font-weight:500}
:root[data-hero="e"] .btile .go{border-top-color:var(--line)}
:root[data-hero="e"] .principles{gap:12px;border-top:0}
:root[data-hero="e"] .pr,:root[data-hero="e"] .pr + .pr,:root[data-hero="e"] .pr:nth-child(n){padding:26px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
:root[data-hero="e"] .pr .plus{display:none}
:root[data-hero="e"] .pr h3{margin-top:0;font-weight:500}
:root[data-hero="e"] .countries{border-top:1px solid var(--line);max-width:1100px;margin-inline:auto}
:root[data-hero="e"] .countries li{text-transform:none;font-weight:400;font-size:clamp(32px,4.6vw,72px);letter-spacing:-.04em}
:root[data-hero="e"] .docs{gap:12px}
:root[data-hero="e"] .doc .ph{border-radius:14px}
:root[data-hero="e"] .doc .ph img{filter:grayscale(1) brightness(.9)}
:root[data-hero="e"] .doc:hover .ph img{filter:none}
:root[data-hero="e"] .marquee{border-color:var(--line)}
:root[data-hero="e"] .track img{opacity:.7}
:root[data-hero="e"] footer{border-top-color:var(--line)}
:root[data-hero="e"] .wordmark{font-weight:500;text-transform:none;letter-spacing:-.06em;color:#12302D}
:root[data-hero="e"] .switch{background:#1A2E2C;color:#EAF0EC;box-shadow:inset 0 0 0 1px rgba(244,242,236,.1),0 8px 24px rgba(0,0,0,.4)}

/* Hero E page rhythm: alternate section grounds so the dark page breathes (light / dark / teal / coral) */
:root[data-hero="e"] main ~ section,:root[data-hero="e"] section{background:var(--bg);color:var(--ink)}
:root[data-hero="e"] #mission,:root[data-hero="e"] #team{--bg:#F4F2EC;--ink:#0C2A2B;--ink-2:#4A6261;--line:#DEDBD2;--panel:#FFFFFF;--deep:#0C2A2B;--on-deep:#FFFFFF;--logo-filter:none}
:root[data-hero="e"] #drives{--bg:#123F3A;--ink:#EEF4F1;--ink-2:#A9C4BD;--line:#235650;--panel:#174A44}
:root[data-hero="e"] #offices{--bg:#D14A27;--ink:#FFF5F0;--ink-2:#FFD8CB;--line:#E0694A;--panel:#C2401F;--accent:#0C2A2B}
:root[data-hero="e"] #offices .countries{border-top-color:rgba(255,245,240,.45)}
:root[data-hero="e"] #offices .countries li:hover{color:#0C2A2B}
:root[data-hero="e"] #trust{--bg:#DCEFE7;--ink:#0C2A2B;--ink-2:#3F5C56;--line:#C3DDD3;--panel:#FFFFFF;--logo-filter:none}
:root[data-hero="e"] #trust .track img{opacity:.8}
:root[data-hero="e"] #team .doc .ph img{filter:grayscale(1)}
:root[data-hero="e"] #team .doc:hover .ph img{filter:none}

/* ---------- Page body per hero: each hero's look carries through the sections, with alternating grounds ---------- */:root[data-hero="v5"] section,:root[data-hero="g"] section,:root[data-hero="h"] section,:root[data-hero="v5"] footer,:root[data-hero="g"] footer,:root[data-hero="h"] footer{background:var(--bg);color:var(--ink)}
/* shared: sentence-case display type instead of hero A's uppercase poster type */
:is(:root[data-hero="v5"],:root[data-hero="g"],:root[data-hero="h"]) .sec-head h2,
:is(:root[data-hero="v5"],:root[data-hero="g"],:root[data-hero="h"]) .sec-head h3{text-transform:none;font-size:clamp(36px,4.8vw,76px);line-height:1.04;letter-spacing:-.045em}
:is(:root[data-hero="v5"],:root[data-hero="g"],:root[data-hero="h"]) .countries li{text-transform:none;font-weight:400;letter-spacing:-.045em}
:is(:root[data-hero="v5"],:root[data-hero="g"],:root[data-hero="h"]) .wordmark{text-transform:none;font-weight:500;letter-spacing:-.065em}
:is(:root[data-hero="v5"],:root[data-hero="g"],:root[data-hero="h"]) section{border-top:0}

/* B · Biograph: near-black and stone, light weights, thin rules, photo-led */

/* D · green studio: tonal greens and sage, centred headings, mono utility labels */

/* Mission reads as one statement in E and D: no cards, the three lines follow as quieter text */
:is(:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .mission .lines{display:block;max-width:44ch;margin:8px auto 0;text-align:center}
:is(:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .mission .lines p{display:inline;border:0;padding:0;background:none;box-shadow:none;
  font-size:clamp(22px,2.2vw,34px);line-height:1.3;letter-spacing:-.025em;color:var(--ink-2)}
:is(:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .mission .lines p + p::before{content:" "}

/* Locations map: dotted land, our five countries joined by dotted arcs */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.map{margin:0 auto;max-width:900px}
.map-svg{display:block;width:100%;height:auto;overflow:visible}
.map-land{fill:none;stroke:var(--ink);stroke-opacity:.22;stroke-width:4.2;stroke-linecap:round}
.map-link{fill:none;stroke:var(--accent);stroke-width:2.2;stroke-linecap:round;stroke-dasharray:0 7;animation:mapFlow 2.4s linear infinite}
@keyframes mapFlow{to{stroke-dashoffset:-14}}
.map-pt .dot{fill:var(--accent)}
.map-pt .ring{fill:none;stroke:var(--accent);stroke-width:1.5;transform-box:fill-box;transform-origin:center;animation:mapPulse 2.6s ease-out infinite}
.map-pt:nth-child(odd) .ring{animation-delay:1.3s}
@keyframes mapPulse{from{transform:scale(1);opacity:.9}to{transform:scale(4);opacity:0}}
.map-pt text{font-family:var(--font);font-size:17px;font-weight:500;letter-spacing:-.01em;fill:var(--ink)}
@media (max-width:560px){.map-pt text{font-size:26px}}
@media (prefers-reduced-motion:reduce){.map-link,.map-pt .ring{animation:none}}

/* Group company logos: HeyMed wordmark (from the existing site) and the Healthfort lockup */
.btile h3.blogo{display:flex;align-items:center;height:36px;font-size:30px;color:var(--ink)}
.blogo .hm{height:30px;width:auto;display:block}
.blogo .dok{display:inline-flex;align-items:center;gap:12px}
.blogo .dok i{width:1px;height:26px;background:currentColor;opacity:.6}
.blogo .dok > span{font-size:28px;line-height:1;font-weight:300;letter-spacing:-.01em}
.blogo .logo{font-size:28px;color:inherit}

/* Principle icons (line style, drawn for this page) */
.pr-ic{width:30px;height:30px;fill:none;stroke:var(--accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;display:block;margin-bottom:18px}
.pr .plus{display:none}

/* ---------- Motion & interaction across the page (all off under reduced motion) ---------- */
.progress{position:fixed;left:0;right:0;top:0;height:2px;z-index:70;background:var(--accent);transform-origin:0 50%;transform:scaleX(var(--p,0));pointer-events:none}
.rv{transition:opacity .9s cubic-bezier(.2,.8,.1,1),transform .9s cubic-bezier(.2,.8,.1,1);transition-delay:calc(var(--i,0) * 70ms)}
.rv.pending{opacity:0;transform:translateY(28px)}
.mission .wd{transition:opacity .25s linear}
.pr{position:relative;overflow:hidden;isolation:isolate}
.pr::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;transition:opacity .35s ease;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),color-mix(in srgb,var(--accent) 18%,transparent),transparent 70%)}
.pr:hover::after{opacity:1}
.pr .pr-ic{transition:transform .5s cubic-bezier(.2,.8,.1,1)}
.pr:hover .pr-ic{transform:translateY(-3px) rotate(-6deg) scale(1.08)}
.pr-ic.draw *{stroke-dasharray:100;stroke-dashoffset:100;animation:icDraw 1.6s cubic-bezier(.4,0,.2,1) forwards}
@keyframes icDraw{to{stroke-dashoffset:0}}
.btile{transition:transform .5s cubic-bezier(.2,.8,.1,1),box-shadow .5s ease,opacity .9s ease;transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));will-change:transform}
.btile:hover{box-shadow:0 24px 50px rgba(6,20,18,.18)}
.btile .img img{transform:translate(var(--tx,0),var(--ty,0)) scale(1.06)}
.btile:hover .img img{transform:translate(var(--tx,0),var(--ty,0)) scale(1.1)}
.doc{transition:transform .5s cubic-bezier(.2,.8,.1,1),opacity .9s ease}
.doc:hover{transform:translateY(-6px)}
.map-pt{cursor:pointer}
.map-pt .dot{transition:r .3s ease}
.map-pt:hover .dot,.map-pt.on .dot{r:8}
.map-link{transition:opacity .3s ease,stroke-width .3s ease}
.map.focus .map-link{opacity:.18}
.map.focus .map-link.hl{opacity:1;stroke-width:3.4}
.map.focus .map-pt:not(.on) text{opacity:.45}
.map-pt.pop{animation:mapPop .7s cubic-bezier(.2,1.4,.4,1) both;animation-delay:calc(var(--i,0) * 160ms);transform-box:fill-box;transform-origin:center}
@keyframes mapPop{from{opacity:0;transform:scale(.2)}}
.wordmark{cursor:default}
.wordmark .ch{display:inline-block;transition:transform .5s cubic-bezier(.2,1.2,.4,1),color .3s ease}
.wordmark .ch:hover{transform:translateY(-12%);color:var(--accent)}
.wordmark.pending .ch{transform:translateY(60%);opacity:0}
.wordmark .ch{transition-delay:calc(var(--i,0) * 40ms)}
.wordmark.pending .ch,.wordmark .ch{transition-property:transform,opacity,color}
.mag{transition:transform .35s cubic-bezier(.2,.8,.1,1)}
@media (prefers-reduced-motion:reduce){
  .rv.pending,.wordmark.pending .ch{opacity:1;transform:none}
  .progress{display:none}
  .btile,.btile .img img,.mag{transform:none!important}
}

/* ---------- Hero F (melius.com): dotted light ground, rotating word, 3D ring of tiles ---------- */
@keyframes hfSpin{from{transform:translateZ(-60px) rotateY(0)}to{transform:translateZ(-60px) rotateY(-360deg)}}
@media (max-width:900px){
  @keyframes hfSpin{from{transform:translateZ(-60px) scale(.62) rotateY(0)}to{transform:translateZ(-60px) scale(.62) rotateY(-360deg)}}}

/* F page: dotted ground, sections as rounded panels, one coral-to-teal band */

/* Healthfort wordmark: "Health" heavy, "fort" hairline, set tight (brand lockup) */
.logo .w,.hfw{letter-spacing:-.04em;white-space:nowrap}
.logo .w b,.hfw b{font-weight:800}
.logo .w span,.hfw span{font-weight:200}
.wordmark .ch.hh{font-weight:800}
.wordmark .ch.ff{font-weight:200}

.wordmark{white-space:nowrap;text-transform:none!important;font-size:min(17.5vw,340px)!important;letter-spacing:-.055em!important}

/* Medical board as in the original site: one card open, the rest collapsed; hover/focus/tap opens a card */
.docs{display:flex!important;gap:8px!important;height:clamp(420px,40vw,540px);grid-template-columns:none!important}
.docs .doc{position:relative;flex:.55 1 0;min-width:0;border-radius:12px;overflow:hidden;cursor:pointer;background:var(--panel);
  transition:flex-grow .7s cubic-bezier(.2,.8,.1,1),opacity .9s ease!important;transform:none!important;outline-offset:3px}
.docs .doc.on{flex-grow:2.2}
.docs .doc .ph{position:absolute;inset:0;border-radius:0!important;aspect-ratio:auto}
.docs .doc .ph img{object-position:50% 22%;filter:grayscale(1)!important;transition:filter .6s ease,transform 1s cubic-bezier(.2,.8,.1,1)!important}
.docs .doc.on .ph img{filter:none!important;transform:scale(1.03)}
.docs .doc::after{content:"";position:absolute;inset:0;background:#0A100E;opacity:0;transition:opacity .5s ease;pointer-events:none}
.docs.hovering .doc:not(.on)::after{opacity:.28}
.docs .doc .meta{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:96px 24px 24px!important;gap:6px!important;color:#fff;
  background:linear-gradient(to top,rgba(10,16,14,.9) 0%,rgba(10,16,14,.6) 45%,rgba(10,16,14,0) 100%);transition:opacity .4s ease}
.docs .doc:not(.on) .meta{opacity:0}
.docs .doc .role{color:#fff!important;font-size:12px!important;letter-spacing:.1em;opacity:.9}
.docs .doc b{color:#fff;font-size:clamp(22px,1.9vw,28px);line-height:1.15;white-space:nowrap}
.docs .doc .bio{color:#fff!important;font-size:15px!important;line-height:1.45;max-width:40ch;opacity:0;max-height:0;overflow:hidden;transition:opacity .4s ease .15s,max-height .6s ease}
.docs .doc.on .bio{opacity:1;max-height:80px}
@media (max-width:900px){
  .docs{height:auto;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-inline:calc(-1 * max(16px,env(safe-area-inset-left,0px)));padding-inline:max(16px,env(safe-area-inset-left,0px))}
  .docs::-webkit-scrollbar{display:none}
  .docs .doc,.docs .doc.on{flex:0 0 78%;aspect-ratio:3/4;scroll-snap-align:start}
  .docs .doc .meta,.docs .doc:not(.on) .meta{opacity:1}
  .docs .doc .bio{opacity:1;max-height:80px}
  .docs .doc .ph img{filter:none!important}
}
@media (prefers-reduced-motion:reduce){.docs .doc,.docs .doc .ph img,.docs .doc .meta,.docs .doc .bio{transition:none!important}}

/* Footer: minimal in every hero — logo + links, a hairline, copyright + legal (no giant wordmark) */
.wordmark{display:none!important}
footer{padding-block:clamp(48px,5vw,72px) 32px!important}
footer .foot-top{align-items:center}
footer .logo{font-size:clamp(22px,2vw,28px)}
footer .legal{margin-top:clamp(40px,5vw,72px);padding-top:28px;border-top:1px solid var(--line)}
footer .foot-nav a,footer .legal a{transition:color .2s ease,opacity .2s ease}
:root:not([data-hero="a"]) footer .foot-nav{font-family:var(--font);text-transform:none;letter-spacing:0;font-size:16px;gap:clamp(20px,3vw,44px)}
:root:not([data-hero="a"]) footer .legal{font-family:var(--font);text-transform:none;letter-spacing:0;font-size:14px;color:var(--ink-2)}
:root:not([data-hero="a"]) footer .foot-nav a:hover,:root:not([data-hero="a"]) footer .legal a:hover{color:var(--ink);opacity:.7}

/* ---------- Hero V5 (the original Healthfort Tech v0.5 page): soft gradient, floating pill nav, photo bento ---------- */
.hv{display:none;position:relative;color:#111614;
  background:radial-gradient(60% 55% at 0% 0%,rgba(96,201,189,.22),transparent 70%),radial-gradient(55% 50% at 100% 0%,rgba(242,158,128,.22),transparent 70%),#F7F4EE}
:root[data-hero="v5"] .hv{display:block}:root[data-hero="v5"] .hero{display:none}
.hv-in{max-width:1120px;margin-inline:auto}
.hv-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px;padding:8px 8px 8px 18px;border-radius:999px;background:#16241E;color:#EEF2EF;box-shadow:0 8px 24px rgba(22,36,30,.18)}
.hv-nav .logo{font-size:18px;color:#EEF2EF}
.hv-nav nav{display:flex;gap:32px;font-size:14px}
.hv-nav nav a{opacity:.82;padding-block:4px}
.hv-nav nav a:hover{opacity:1}
.hv-nav nav a.cur{opacity:1;box-shadow:inset 0 -1.5px 0 currentColor}
.hv-talk{display:inline-flex;align-items:center;gap:10px;background:#fff;color:#111614;border-radius:999px;padding:6px 6px 6px 16px;font-size:14px;font-weight:500}
.hv-talk i{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#F7C9B8;color:#B8401F;font-style:normal;transition:transform .3s ease}
.hv-talk:hover i{transform:translateX(3px)}
.hv-top{display:grid;grid-template-columns:1fr 1.15fr;gap:40px;align-items:start;padding-block:clamp(36px,4.5vw,64px) clamp(24px,3vw,36px)}
.hv h1{margin:0;font-weight:500;font-size:clamp(40px,4.6vw,64px);line-height:1.04;letter-spacing:-.045em}
.hv-lines{margin:0;font-size:16px;line-height:1.7;color:#4E5652;padding-top:6px}
@media (max-width:1000px){.hv-lines br{display:none}}
.hv-bento{display:grid;grid-template-columns:1.5fr 1fr 1.15fr;grid-template-rows:auto auto;gap:12px;padding-bottom:clamp(48px,6vw,88px)}
.hv-t{position:relative;border-radius:16px;overflow:hidden;background:#F3F4F2;color:#fff;min-width:0;animation:hvIn .9s cubic-bezier(.2,.8,.1,1) both}
.hv-t:nth-child(2){animation-delay:.12s}.hv-t:nth-child(3){animation-delay:.24s}.hv-t:nth-child(4){animation-delay:.36s}
@keyframes hvIn{from{opacity:0;transform:translateY(14px)}}
.hv-t img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.8,.1,1)}
.hv-t:hover img{transform:scale(1.04)}
.hv-t .cap{position:absolute;left:0;right:0;bottom:0;padding:56px 18px 18px;background:linear-gradient(to top,rgba(10,18,14,.55),transparent);display:flex;flex-direction:column;gap:4px}
.hv-t .cap b{font-weight:500;font-size:clamp(20px,1.9vw,30px);line-height:1.1;letter-spacing:-.03em}
.hv-t .cap span{font-size:12px;opacity:.85}
.hv-main{grid-row:1 / span 2;min-height:clamp(420px,42vw,600px)}
.hv-main .arrow{position:absolute;top:16px;right:16px;font-size:18px;opacity:.9}
.hv-svc{min-height:220px}
.hv-svc .cap b{font-size:clamp(18px,1.5vw,22px)}
.hv-card{background:#E4E8D6;color:#16241E;padding:20px;display:flex;flex-direction:column;justify-content:space-between;gap:24px}
.hv-card small{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#5D6658}
.hv-card b{font-weight:500;font-size:clamp(20px,1.8vw,26px);line-height:1.15;letter-spacing:-.03em}
.hv-graph{padding:0;min-height:220px;background:radial-gradient(120% 90% at 80% 0%,#5F8072,transparent 60%),linear-gradient(160deg,#4A6A5C,#2F4A3F)}
.hv-graph svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.hv-graph .ln{fill:none;stroke:#B8E6CF;stroke-width:1.6;stroke-linejoin:round;transition:stroke-dashoffset 2.2s cubic-bezier(.45,.05,.2,1) .5s}
.hv-graph .area{opacity:0;transition:opacity 1.4s ease 1.5s}
.hv-graph .dot{fill:#B8E6CF;transform-box:fill-box;transform-origin:center;transform:scale(0);transition:transform .5s cubic-bezier(.3,1.6,.5,1)}
.hv-graph .halo{fill:#B8E6CF;opacity:0;transform-box:fill-box;transform-origin:center;transition:opacity .5s,transform .5s}
.hv-graph.drawn .ln{stroke-dashoffset:0!important}
.hv-graph.drawn .area{opacity:1}
.hv-graph.drawn .dot{transform:scale(1)}
.hv-graph.drawn .halo{opacity:.18}
.hv-graph:hover .halo{opacity:.28;transform:scale(1.4)}
.hv-tall{grid-column:3;grid-row:1 / span 2}
@media (max-width:900px){
  .hv-nav nav{display:none}
  .hv-top{grid-template-columns:1fr;gap:16px}
  .hv-bento{grid-template-columns:1fr 1fr}
  .hv-main{grid-column:1 / -1;grid-row:auto;min-height:360px}
  .hv-tall{grid-column:2;grid-row:auto;min-height:320px}
  .hv-svc,.hv-card{grid-column:1}
}
@media (max-width:560px){.hv-bento{grid-template-columns:1fr}.hv-tall,.hv-svc,.hv-card{grid-column:1}}
@media (prefers-reduced-motion:reduce){.hv-t{animation:none}}

/* V5 page: white and beige, centred medium headings, small uppercase sans labels, one deep green block */
:root[data-hero="v5"]{--bg:#FFFFFF;--ink:#111614;--ink-2:#6A716D;--line:#E4E6E3;--panel:#F3F4F2;--deep:#16241E;--on-deep:#EEF2EF;--logo-filter:none;--accent:#D14A27}
:root[data-hero="v5"] #mission,:root[data-hero="v5"] #trust{--bg:#F3EFE8;--line:#E2DCD1;--panel:#FFFFFF}
:root[data-hero="v5"] #drives{--bg:#F3F4F2;--panel:#FFFFFF}
:root[data-hero="v5"] #offices{--bg:#16241E;--ink:#EEF2EF;--ink-2:#9AA9A1;--line:#2A3A33;--panel:#1E2E27;--accent:#F29E80}
:root[data-hero="v5"] .sec-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
:root[data-hero="v5"] .sec-head .label{padding-top:0;font-family:var(--font);font-size:12px;letter-spacing:.06em;color:var(--ink-2)}
:root[data-hero="v5"] .sec-head .label::before{content:none}
:root[data-hero="v5"] .sec-head h2,:root[data-hero="v5"] .sec-head h3{font-weight:500;font-size:clamp(30px,3vw,44px);line-height:1.12;letter-spacing:-.03em;max-width:24ch}
:root[data-hero="v5"] .sec-head p{margin:0;max-width:56ch}
:root[data-hero="v5"] .mission .big{font-weight:500;font-size:clamp(24px,2.6vw,38px)!important;line-height:1.3;letter-spacing:-.03em;max-width:none;color:var(--ink)}
:root[data-hero="v5"] .mission .lines{display:block;font-size:clamp(24px,2.6vw,38px);max-width:28ch;margin:2px auto 0;text-align:center}
:root[data-hero="v5"] .mission .lines p{display:inline;border:0;padding:0;font-size:clamp(24px,2.6vw,38px);line-height:1.3;letter-spacing:-.03em;font-weight:500;color:var(--ink)}
:root[data-hero="v5"] .mission .lines p + p::before{content:" "}
:root[data-hero="v5"] .btile,:root[data-hero="v5"] .doc{border-radius:16px;overflow:hidden}
:root[data-hero="v5"] .principles{gap:12px;border-top:0}
:root[data-hero="v5"] .pr,:root[data-hero="v5"] .pr + .pr,:root[data-hero="v5"] .pr:nth-child(n){padding:24px;border:0;border-radius:16px;background:var(--panel)}
:root[data-hero="v5"] .pr h3{margin-top:0;font-weight:500}

/* Sticky navigation: each hero's own bar pins to the top once scrolled past (placeholder keeps layout steady) */
.is-stuck{position:fixed!important;top:env(safe-area-inset-top,0px);left:0;right:0;z-index:55;margin:0!important;animation:navIn .35s cubic-bezier(.2,.8,.1,1)}
@keyframes navIn{from{transform:translateY(-100%)}}
.he-nav.is-stuck{background:rgba(7,24,23,.9)}
.hv-nav.is-stuck{top:calc(12px + env(safe-area-inset-top,0px));left:50%;right:auto;width:min(1120px,calc(100% - 32px));transform:translateX(-50%);animation:navInPill .35s cubic-bezier(.2,.8,.1,1)}
@keyframes navInPill{from{transform:translate(-50%,-140%)}}
@media (prefers-reduced-motion:reduce){.is-stuck{animation:none}}

/* ---------- Views: Home / Partnerships / Careers in one page (each follows the chosen hero's look) ---------- */
:root:not([data-view="partners"]) section[data-view="partners"],:root:not([data-view="careers"]) section[data-view="careers"]{display:none!important}
:root[data-sub] [data-home]{display:none!important}
/* in a subpage each hero keeps only its navigation bar */
:root[data-sub] .hero,:root[data-sub] .hv-top,:root[data-sub] .hv-bento,:root[data-sub] .he-stage,:root[data-sub] .he .he-logos,:root[data-sub] .hg-stage,:root[data-sub] .hh-card,:root[data-sub] .hh-trust{display:none!important}
:root[data-sub] .hv{padding-bottom:8px}
.hv-nav nav a.cur,.hv-nav nav a[aria-current="page"]{opacity:1;box-shadow:inset 0 -1.5px 0 currentColor}
nav a[aria-current="page"]{opacity:1}

/* subpage hero */
.sub-hero{padding-block:clamp(48px,6vw,104px)}
.sh-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,64px);align-items:center}
.sh-copy h1{margin:0;font-size:clamp(40px,5vw,80px);line-height:1.02;letter-spacing:-.045em;font-weight:500;text-wrap:balance}
.sh-copy p{margin:20px 0 0;font-size:clamp(17px,1.4vw,21px);line-height:1.5;color:var(--ink-2);max-width:44ch}
.sh-img{border-radius:16px;overflow:hidden;aspect-ratio:4/3;background:var(--panel)}
.sh-img img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.8,.1,1)}
.sh-img:hover img{transform:scale(1.03)}
/* partner types */
.pcards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.pcards li{display:flex;flex-direction:column;gap:10px;min-width:0}
.pcards .ph{aspect-ratio:3/4;border-radius:14px;overflow:hidden;background:var(--panel)}
.pcards .ph img{width:100%;height:100%;object-fit:cover;transition:transform 1s cubic-bezier(.2,.8,.1,1)}
.pcards li:hover .ph img{transform:scale(1.05)}
.pcards .n{font-family:var(--mono);font-size:12px;color:var(--ink-2);margin-top:6px}
.pcards b{font-size:clamp(18px,1.5vw,22px);font-weight:500;letter-spacing:-.02em;line-height:1.2}
/* enquiry form */
.pform{display:grid;grid-template-columns:1fr 1fr;gap:28px 32px;max-width:960px;margin:0 auto}
.fld{display:flex;flex-direction:column;gap:8px;min-width:0}
.fld.wide{grid-column:1 / -1}
.fld label{font-size:14px;color:var(--ink-2)}
.fld input,.fld textarea{font:inherit;font-size:18px;color:var(--ink);background:transparent;border:0;border-bottom:1px solid var(--line);padding:10px 0;border-radius:0;outline:none;transition:border-color .25s ease}
.fld input:focus,.fld textarea:focus{border-bottom-color:var(--accent)}
.fld textarea{resize:vertical;min-height:110px}
.fld .err{display:none;font-size:13px;color:var(--accent)}
.fld.bad .err{display:block}
.fld.bad input{border-bottom-color:var(--accent)}
.fld.foot{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}
.fld .note{font-size:13px;color:var(--ink-2)}
.send,.open-btn{display:inline-flex;align-items:center;gap:10px;border:0;cursor:pointer;font:inherit;font-size:16px;font-weight:500;background:var(--deep);color:var(--on-deep);padding:14px 22px;border-radius:999px;transition:background .25s ease,transform .25s ease}
.send:hover,.open-btn:hover{background:var(--accent);color:#fff}
.pform-done{max-width:960px;margin:0 auto;font-size:clamp(20px,2vw,28px);letter-spacing:-.02em}
/* values: four cards */
.principles.values{grid-template-columns:repeat(4,1fr)}
/* roles */
.roles-note{margin:0 auto 18px;font-family:var(--mono);font-size:12px;color:var(--ink-2);max-width:1100px}
.roles{list-style:none;margin:0 auto;padding:0;max-width:1100px;border-top:1px solid var(--line)}
.roles li{display:grid;grid-template-columns:1fr auto 32px;align-items:center;gap:24px;padding:26px 4px;border-bottom:1px solid var(--line);transition:padding .35s cubic-bezier(.2,.8,.1,1),color .25s ease}
.roles h3{margin:0;font-size:clamp(20px,2vw,30px);font-weight:500;letter-spacing:-.03em}
.roles span{color:var(--ink-2);font-size:15px}
.roles i{font-style:normal;font-size:20px;transition:transform .35s cubic-bezier(.2,.8,.1,1)}
.roles li:hover{padding-left:16px;color:var(--accent)}
.roles li:hover i{transform:translateX(6px)}
/* don't see a fit */
.open-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,64px);align-items:center}
.open-copy{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.open-copy .label{color:var(--ink-2)}
.open-copy h2{margin:0;font-size:clamp(32px,3.6vw,56px);line-height:1.06;letter-spacing:-.04em;font-weight:500;text-wrap:balance}
.open-copy p{margin:0;color:var(--ink-2);max-width:46ch;font-size:18px}
.open-img{border-radius:16px;overflow:hidden;aspect-ratio:4/3}
.open-img img{width:100%;height:100%;object-fit:cover}
@media (max-width:900px){
  .sh-grid,.open-grid{grid-template-columns:1fr}
  .pcards,.principles.values{grid-template-columns:1fr 1fr}
  .pform{grid-template-columns:1fr}
  .roles li{grid-template-columns:1fr 24px}.roles span{grid-column:1;grid-row:2}
}
@media (max-width:560px){.pcards,.principles.values{grid-template-columns:1fr}}

/* --- per hero --- */
/* A: poster type, uppercase, square images */
/* B: photo-led subpage hero, near-black + stone */
/* D: tonal greens, centred */
/* E: dark with light / teal / coral breaks */
:root[data-hero="e"] .sh-copy h1,:root[data-hero="e"] .open-copy h2{font-weight:400}
:root[data-hero="e"] .sh-img,:root[data-hero="e"] .open-img{border-radius:14px;box-shadow:0 0 0 1px rgba(244,242,236,.08),0 30px 60px rgba(0,0,0,.35)}
:root[data-hero="e"] #p-types,:root[data-hero="e"] #c-values{--bg:#F4F2EC;--ink:#0C2A2B;--ink-2:#4A6261;--line:#DEDBD2;--panel:#FFFFFF;--deep:#0C2A2B;--on-deep:#FFFFFF}
:root[data-hero="e"] #p-contact{--bg:#123F3A;--ink:#EEF4F1;--ink-2:#A9C4BD;--line:#2B605A;--panel:#174A44;--deep:#EEF4F1;--on-deep:#0C2A2B}
:root[data-hero="e"] #c-open{--bg:#D14A27;--ink:#FFF5F0;--ink-2:#FFE0D4;--line:#E0694A;--deep:#0C2A2B;--on-deep:#FFFFFF;--accent:#0C2A2B}
:root[data-hero="e"] #p-hero,:root[data-hero="e"] #c-hero,:root[data-hero="e"] #c-roles{--bg:#071817}
/* F: panels on dots, centred heroes, gradient contact */
/* V5: soft gradient header band, rounded imagery */
:root[data-hero="v5"] #p-hero,:root[data-hero="v5"] #c-hero{background:radial-gradient(60% 70% at 0% 0%,rgba(96,201,189,.18),transparent 70%),radial-gradient(55% 60% at 100% 0%,rgba(242,158,128,.18),transparent 70%),#FFFFFF;padding-top:clamp(28px,3vw,48px)}
:root[data-hero="v5"] .sub-hero .sh-grid{grid-template-columns:1fr 1.15fr;align-items:start}
:root[data-hero="v5"] .sub-hero .sh-img{grid-column:1 / -1;aspect-ratio:21/9;margin-top:12px}
:root[data-hero="v5"] .sh-copy{display:contents}
:root[data-hero="v5"] .sh-copy h1{font-size:clamp(40px,4.6vw,64px)}
:root[data-hero="v5"] .sh-copy p{margin:6px 0 0;font-size:16px;line-height:1.7;color:#4E5652}
:root[data-hero="v5"] #p-contact,:root[data-hero="v5"] #c-values{--bg:#F3EFE8;--line:#E2DCD1;--panel:#FFFFFF}
:root[data-hero="v5"] #c-open{--bg:#16241E;--ink:#EEF2EF;--ink-2:#9AA9A1;--line:#2A3A33;--deep:#EEF2EF;--on-deep:#16241E;--accent:#F29E80}
:root[data-hero="v5"] .send,:root[data-hero="v5"] .open-btn{background:#16241E;color:#fff}
@media (max-width:900px){:root[data-hero="v5"] .sub-hero .sh-grid{grid-template-columns:1fr}}

/* Careers "Get in touch": email link plus the visible, copyable address; the button always contrasts with its section */
.open-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:8px}
#c-open .open-btn{background:var(--ink);color:var(--bg)}
#c-open .open-btn:hover{background:var(--accent);color:#fff}
.open-mail{font:inherit;font-size:15px;color:var(--ink-2);background:none;border:0;padding:4px 0;cursor:copy;user-select:all;border-bottom:1px dashed currentColor}
.open-mail:hover{color:var(--ink)}
.open-mail.copied::after{content:"  Copied";color:var(--ink);border:0}
:root[data-hero="e"] #c-open .open-btn{background:#0C2A2B;color:#fff}
:root[data-hero="e"] #c-open .open-btn:hover{background:#fff;color:#0C2A2B}

/* ---------- Hero G (phantom.com/connect): charcoal, pill nav, inline-mark headline, scroll stage where the mark grows over a mint glow ---------- */
.hg{display:none;position:relative;background:#171B15;color:#F3F1EA}
:root[data-hero="g"] .hg{display:block}:root[data-hero="g"] .hero{display:none}
.hg-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding-block:16px;position:relative;z-index:5}
.hg-nav .logo{font-size:19px;color:#F3F1EA}
.hg-nav nav{display:flex;gap:4px;padding:5px;border-radius:999px;background:#222720;box-shadow:inset 0 0 0 1px rgba(243,241,234,.05)}
.hg-nav nav a{padding:9px 18px;border-radius:999px;font-size:14px;font-weight:500;color:rgba(243,241,234,.85);transition:background .2s ease,color .2s ease}
.hg-nav nav a:hover,.hg-nav nav a[aria-current="page"]{background:#2F342B;color:#fff}
.hg-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 22px;font-size:15px;font-weight:600;white-space:nowrap;transition:background .2s ease,transform .2s ease}
.hg-btn.mint{background:#D6E4C6;color:#141813}
.hg-btn.mint:hover{background:#E4EBD6}
.hg-nav .hg-btn{justify-self:end;padding:11px 20px;font-size:14px}
.hg-stage{position:relative;height:260vh}
.hg-sticky{position:sticky;top:0;height:100vh;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center}
.hg-glow{position:absolute;left:50%;bottom:-38vh;width:120vw;height:70vh;transform:translateX(-50%) scale(calc(1 + var(--p,0) * 3.2));transform-origin:50% 100%;
  border-radius:50%;background:radial-gradient(closest-side,#C9DDB8 0%,#9DBF8A 38%,rgba(78,122,94,.55) 62%,rgba(23,27,21,0) 100%);filter:blur(10px);pointer-events:none}
.hg-head{position:relative;z-index:2;text-align:center;padding-inline:16px;transform:translateY(calc(var(--p,0) * -40vh));opacity:calc(1 - var(--p,0) * 3)}
.hg h1{margin:0 auto;font-weight:500;font-size:clamp(46px,6.4vw,104px);line-height:1.04;letter-spacing:-.045em}
.hg h1 .m{display:inline-block;width:.8em;height:.8em;vertical-align:-.04em;margin-right:.14em;color:#C9DDB8}
.hg h1 .m svg{width:100%;height:100%;display:block;animation:hgBob 3.4s ease-in-out infinite}
@keyframes hgBob{50%{transform:translateY(-6%) rotate(-4deg)}}
.hg h1 em{font-style:normal;color:#C9DDB8}
.hg-actions{margin-top:30px;display:flex;justify-content:center;gap:10px}
.hg-frame{position:absolute;left:50%;top:50%;width:2400px;height:2400px;z-index:3;color:#171B15;pointer-events:none;
  transform:translate(-50%,calc(-50% + (1 - var(--q,0)) * 95vh)) scale(calc(.12 + var(--q,0) * .88))}
.hg-frame svg{width:100%;height:100%;display:block;overflow:visible}
.hg-msg{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,82vw);text-align:center;margin:0;
  font-size:clamp(26px,3vw,46px);line-height:1.18;letter-spacing:-.035em;font-weight:500;color:#141813;opacity:var(--t,0)}
@media (max-width:900px){.hg-nav nav{display:none}.hg-nav{grid-template-columns:1fr auto}.hg-frame{width:1500px;height:1500px}.hg-msg{width:min(420px,78vw)}}
@media (prefers-reduced-motion:reduce){
  .hg-stage{height:auto}.hg-sticky{position:relative;height:auto;padding-block:80px 120px}
  .hg-frame{display:none}.hg-glow{transform:translateX(-50%);bottom:-45vh}.hg-head{transform:none;opacity:1}
  .hg-msg{position:relative;left:auto;top:auto;transform:none;opacity:1;color:#F3F1EA;margin-top:40px}
  .hg h1 .m svg{animation:none}}

/* G page: charcoal with mint light; one mint section for a break */
:root[data-hero="g"]{--on-accent:#141813;--bg:#171B15;--ink:#F3F1EA;--ink-2:#A6A99C;--line:#282D25;--panel:#1E231D;--deep:#D6E4C6;--on-deep:#141813;--accent:#C9DDB8;--logo-filter:grayscale(1) invert(1);color-scheme:dark}
:root[data-hero="g"] .sec-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}
:root[data-hero="g"] .sec-head .label{padding-top:0;font-family:var(--font);font-size:13px;letter-spacing:.02em;text-transform:none;color:var(--accent)}
:root[data-hero="g"] .sec-head .label::before{content:none}
:root[data-hero="g"] .sec-head h2,:root[data-hero="g"] .sec-head h3{font-weight:500;max-width:20ch}
:root[data-hero="g"] .sec-head p{margin:0;max-width:56ch}
:root[data-hero="g"] .mission .big{font-weight:500;max-width:18ch;font-size:clamp(40px,5.4vw,88px)!important;line-height:1.02}
:root[data-hero="g"] .mission .lines p{color:var(--accent)!important}
:root[data-hero="g"] .btile,:root[data-hero="g"] .doc{border-radius:24px;overflow:hidden}
:root[data-hero="g"] .btile{background:var(--panel)}
:root[data-hero="g"] .principles{gap:12px;border-top:0}
:root[data-hero="g"] .pr,:root[data-hero="g"] .pr + .pr,:root[data-hero="g"] .pr:nth-child(n){padding:28px;border:0;border-radius:24px;background:linear-gradient(160deg,#252A22,#1A1E18);box-shadow:inset 0 0 0 1px rgba(243,241,234,.05)}
:root[data-hero="g"] .pr h3{margin-top:0;font-weight:500}
:root[data-hero="g"] #offices{background:radial-gradient(70% 60% at 50% 110%,rgba(157,191,138,.38),transparent 70%),var(--bg)}
:root[data-hero="g"] #trust{--bg:#E9EDDF;--ink:#141813;--ink-2:#4E5E50;--line:#D3DCC6;--panel:#FFFFFF;--accent:#4E7A5E;--logo-filter:none}
:root[data-hero="g"] footer{--bg:#111410}
:root[data-hero="g"] .send,:root[data-hero="g"] .open-btn{background:#D6E4C6!important;color:#141813!important}
:root[data-hero="g"] .sh-grid{grid-template-columns:1fr;text-align:center;justify-items:center}
:root[data-hero="g"] .sh-copy p{margin-inline:auto}
:root[data-hero="g"] .sh-copy h1,:root[data-hero="g"] .open-copy h2{font-weight:500}
:root[data-hero="g"] .sub-hero{background:radial-gradient(60% 55% at 50% 115%,rgba(157,191,138,.45),transparent 70%),var(--bg)}
:root[data-hero="g"] .sh-img{aspect-ratio:16/7;width:100%;border-radius:28px}
:root[data-hero="g"] .sh-img,:root[data-hero="g"] .open-img,:root[data-hero="g"] .pcards .ph{border-radius:24px}
:root[data-hero="g"] #p-contact,:root[data-hero="g"] #c-open{background:radial-gradient(70% 70% at 50% 120%,rgba(157,191,138,.4),transparent 70%),var(--bg)}
:root[data-hero="g"] #c-values{--bg:#E9EDDF;--ink:#141813;--ink-2:#4E5E50;--line:#D3DCC6;--accent:#4E7A5E}
:root[data-hero="g"] #c-values .pr{background:#FFFFFF!important;box-shadow:none}

.hg-nav.is-stuck{background:rgba(23,27,21,.88);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}

/* G page rhythm: light mint/white sections alternate with charcoal so the page breathes */
:root[data-hero="g"] #mission,:root[data-hero="g"] #team,:root[data-hero="g"] #p-types,:root[data-hero="g"] #c-roles{--bg:#F5F3EC;--ink:#141813;--ink-2:#5B6657;--line:#E3E0D4;--panel:#FFFFFF;--accent:#4E7A5E;--deep:#141813;--on-deep:#FFFFFF;--logo-filter:none;color-scheme:light}
:root[data-hero="g"] #drives{--bg:#E9EDDF;--ink:#141813;--ink-2:#4E5E50;--line:#D3DCC6;--panel:#FFFFFF;--accent:#4E7A5E;color-scheme:light}
:root[data-hero="g"] #drives .pr,:root[data-hero="g"] #drives .pr:nth-child(n){background:#FFFFFF;box-shadow:0 1px 0 rgba(20,24,19,.04),0 12px 30px rgba(20,24,19,.06)}
:root[data-hero="g"] #mission .lines p{color:#4E7A5E!important}
:root[data-hero="g"] #trust{--bg:#FFFFFF}
:root[data-hero="g"] #group,:root[data-hero="g"] #offices{--bg:#1C211B}

/* ---------- Hero H (titanintake.com): cream page, framed photo card, airy light headline, tag pills, glass panels ---------- */
.hh{display:none;background:#F6F3E8;color:#16302C;padding-bottom:8px}
:root[data-hero="h"] .hh{display:block}:root[data-hero="h"] .hero{display:none}
.hh-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding-block:14px;background:#F6F3E8}
.hh-nav .logo{font-size:20px;color:#16302C}
.hh-nav nav{display:flex;gap:30px;font-size:14px;font-weight:500}
.hh-nav nav a{display:inline-flex;align-items:center;gap:4px}
.hh-nav nav a{position:relative}
.hh-nav nav a::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
.hh-nav nav a:hover::after,.hh-nav nav a[aria-current="page"]::after{transform:scaleX(1)}
.hh-btn{display:inline-flex;align-items:center;gap:10px;border-radius:999px;padding:12px 20px;font-size:15px;font-weight:500;white-space:nowrap;transition:background .2s ease,transform .2s ease}
.hh-btn::after{content:"↗";font-size:14px;transition:transform .25s ease}
.hh-btn:hover::after{transform:translate(2px,-2px)}
.hh-btn.coral{background:#D14A27;color:#fff}
.hh-btn.coral:hover{background:#B83E1F}
.hh-btn.pale{background:#DDF3E8;color:#16302C}
.hh-btn.pale:hover{background:#fff}
.hh-nav .hh-btn{justify-self:end}
.hh-card{position:relative;isolation:isolate;margin:0 max(12px,env(safe-area-inset-left,0px));border-radius:26px;overflow:hidden;min-height:min(84vh,780px);display:flex;color:#fff;background:#2A4A55}
.hh-card > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right 60%;z-index:-2}
.hh-card::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(22,48,44,.72) 0%,rgba(22,48,44,.45) 38%,rgba(22,48,44,0) 68%),linear-gradient(0deg,rgba(22,48,44,.35),rgba(22,48,44,0) 30%)}
.hh-frame{position:absolute;inset:16px;border:1px solid rgba(255,255,255,.4);border-radius:18px;pointer-events:none}
.hh-arrows{position:absolute;top:34px;right:38px;width:64px;height:64px;fill:none;stroke:#DDF3E8;stroke-width:1.4;opacity:.9;animation:hhArrow 4s ease-in-out infinite}
@keyframes hhArrow{50%{transform:translate(3px,-3px)}}
.hh-copy{align-self:center;padding:clamp(48px,6vw,90px) clamp(36px,5vw,72px);max-width:640px;display:flex;flex-direction:column;gap:22px}
.hh h1{margin:0;font-weight:300;font-size:clamp(46px,5.4vw,86px);line-height:1.02;letter-spacing:-.045em;color:#E4F5EC}
.hh-copy p{margin:0;font-size:clamp(16px,1.25vw,18px);line-height:1.55;color:rgba(255,255,255,.92);max-width:42ch}
.hh-copy .hh-btn{align-self:flex-start}
.hh-tags{position:absolute;left:clamp(36px,5vw,72px);right:clamp(36px,5vw,72px);bottom:40px;display:flex;flex-wrap:wrap;gap:10px 0;list-style:none;margin:0;padding:16px 0 0;border-top:1px solid rgba(255,255,255,.35)}
.hh-tags li{font-size:15px;color:rgba(255,255,255,.9);padding-right:28px;margin-right:28px;border-right:1px solid rgba(255,255,255,.3)}
.hh-tags li:last-child{border-right:0;margin-right:0;padding-right:0}
.hh-trust{text-align:center;padding:40px 0 24px}
.hh-trust small{display:block;font-size:13px;color:#4E625D;margin-bottom:18px}
.hh-trust ul{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:clamp(24px,4vw,64px);list-style:none;margin:0;padding:0}
.hh-trust img{height:30px;width:auto;opacity:.75}
@media (max-width:900px){.hh-nav nav{display:none}.hh-nav{grid-template-columns:1fr auto}.hh-card{min-height:640px}
  .hh-card::before{background:linear-gradient(0deg,rgba(22,48,44,.85) 0%,rgba(22,48,44,.4) 60%,rgba(22,48,44,.15) 100%)}
  .hh-card{flex-direction:column;justify-content:flex-end}.hh-copy{align-self:stretch;padding:40px 28px 20px}.hh-arrows{width:44px;height:44px;top:28px;right:28px}.hh-tags{position:relative;left:auto;right:auto;bottom:auto;margin:0 28px 32px;flex-direction:column;gap:8px}.hh-tags li{border-right:0;margin-right:0;padding-right:0}}
@media (prefers-reduced-motion:reduce){.hh-arrows{animation:none}}

/* H page: cream and deep green, light display type, // labels, glass panels over the sky photo */
:root[data-hero="h"]{--bg:#F6F3E8;--ink:#16302C;--ink-2:#55665F;--line:#E2DCCB;--panel:#FFFDF6;--deep:#16302C;--on-deep:#F6F3E8;--accent:#D14A27;--logo-filter:none}
:root[data-hero="h"] .sec-head .label{font-family:var(--mono);font-size:12px;letter-spacing:.06em;color:var(--ink);padding-top:.4em}
:root[data-hero="h"] .sec-head .label::before{content:"// ";color:inherit;font-family:var(--mono);font-size:inherit;line-height:inherit}
:root[data-hero="h"] .sec-head h2,:root[data-hero="h"] .sec-head h3,:root[data-hero="h"] .mission .big,:root[data-hero="h"] .sh-copy h1,:root[data-hero="h"] .open-copy h2{font-weight:300;letter-spacing:-.045em}
:root[data-hero="h"] .btile,:root[data-hero="h"] .doc,:root[data-hero="h"] .pcards .ph,:root[data-hero="h"] .open-img{border-radius:20px;overflow:hidden}
:root[data-hero="h"] .btile{background:var(--panel);box-shadow:0 0 0 1px var(--line)}
:root[data-hero="h"] #drives,:root[data-hero="h"] #c-values{--ink:#FFFFFF;--ink-2:rgba(255,255,255,.82);--line:rgba(255,255,255,.4);--accent:#DDF3E8;
  background:linear-gradient(rgba(22,48,44,.62),rgba(22,48,44,.42) 40%,rgba(22,48,44,.55)),url(assets/bg-city.jpg) center 50%/cover;color:#fff}
:root[data-hero="h"] #drives .sec-head h2,:root[data-hero="h"] #c-values .sec-head h2{color:#E4F5EC}
:root[data-hero="h"] #drives .pr,:root[data-hero="h"] #drives .pr:nth-child(n),:root[data-hero="h"] #c-values .pr,:root[data-hero="h"] #c-values .pr:nth-child(n){border:1px solid rgba(255,255,255,.4)!important;border-radius:18px;padding:26px;
  background:rgba(255,255,255,.08);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
:root[data-hero="h"] .principles{gap:12px;border-top:0}
:root[data-hero="h"] #offices,:root[data-hero="h"] #p-contact,:root[data-hero="h"] #c-open{--bg:#16302C;--ink:#F6F3E8;--ink-2:#A9BDB4;--line:#2C4A43;--panel:#1D3B36;--accent:#DDF3E8;--deep:#DDF3E8;--on-deep:#16302C}
:root[data-hero="h"] #offices .sec-head h2,:root[data-hero="h"] #p-contact .sec-head h2,:root[data-hero="h"] #c-open h2{color:#E4F5EC}
:root[data-hero="h"] .mission .big{font-size:clamp(36px,4.6vw,72px)}
:root[data-hero="h"] .send,:root[data-hero="h"] .open-btn{background:#DDF3E8!important;color:#16302C!important}
:root[data-hero="h"] .sub-hero{margin:0 max(12px,env(safe-area-inset-left,0px));border-radius:26px;overflow:hidden;position:relative;isolation:isolate;color:#fff;min-height:min(70vh,640px);display:flex;align-items:center}
:root[data-hero="h"] .sub-hero .sh-grid{grid-template-columns:1fr;width:100%}
:root[data-hero="h"] .sub-hero .sh-img{position:absolute;inset:0;border-radius:0;aspect-ratio:auto;z-index:-2}
:root[data-hero="h"] .sub-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(22,48,44,.75),rgba(22,48,44,.3) 55%,rgba(22,48,44,.05))}
:root[data-hero="h"] .sub-hero::after{content:"";position:absolute;inset:16px;border:1px solid rgba(255,255,255,.4);border-radius:18px;pointer-events:none}
:root[data-hero="h"] .sub-hero h1{color:#E4F5EC;max-width:14ch}
:root[data-hero="h"] .sub-hero p{color:rgba(255,255,255,.9)}
.hh-nav.is-stuck{background:rgba(246,243,232,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 1px 0 #E2DCCB}

:root[data-hero="h"] .sec-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}
:root[data-hero="h"] .sec-head h2,:root[data-hero="h"] .sec-head h3,:root[data-hero="h"] .mission .big{max-width:20ch}
:root[data-hero="h"] .sec-head p{margin:0;max-width:56ch}
:root[data-hero="h"] .mission .big{font-weight:300!important}
:root[data-hero="h"] .mission .lines p{color:var(--ink)!important;opacity:.7}

/* Breeze clip from the original site: plays over the matching photo (V5 tile, B, H) and fades in once it runs */
.breeze{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 40%;opacity:0;transition:opacity 1.2s ease;pointer-events:none}
.breeze.on{opacity:1}.hh-card > .breeze{z-index:-2}
.hv-main .breeze{object-position:55% 55%}
.hh-card > .breeze{object-position:right 60%}
@media (prefers-reduced-motion:reduce){.breeze{display:none}}

/* Hero switcher */
@media (max-width:560px){.switch{left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));justify-content:space-between;overflow-x:auto;scrollbar-width:none;padding-left:10px}
  .switch::-webkit-scrollbar{display:none}.switch button{padding:8px 9px;flex:none}.switch > span{display:none}}
.switch{position:fixed;z-index:40;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));
  display:flex;align-items:center;gap:4px;padding:4px 4px 4px 12px;background:var(--deep);color:var(--on-deep);border-radius:999px;
  font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.switch button{font:inherit;letter-spacing:inherit;color:inherit;background:transparent;border:0;border-radius:999px;padding:8px 14px;cursor:pointer}
.switch button[aria-pressed="true"]{background:var(--accent);color:var(--on-accent)}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  html{scroll-behavior:auto}
}

/* Rhythm pass: 48px section padding, stronger section labels, cleaner line breaks */
section[data-home],section[data-view]{padding-top:72px!important;padding-bottom:72px!important}
.sec-head{margin-bottom:32px!important}
.sec-head .label,.open-copy .label{font-size:15px!important;font-weight:600!important;letter-spacing:.08em!important;color:var(--ink)!important;opacity:1!important}
:root[data-hero="h"] .sec-head .label,:root[data-hero="h"] .open-copy .label{font-weight:500!important}
:root[data-hero="g"] .sec-head .label{font-size:17px!important;letter-spacing:.01em!important;color:var(--accent)!important}
section h2,section h3,section .big{text-wrap:balance}
section p{text-wrap:pretty}
/* Mission: one flowing statement; the first sentence leads, the three that follow continue it in a quieter tone */
:is(:root[data-hero="v5"],:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .mission .sec-head{display:block!important;text-align:center;max-width:36ch;margin:0 auto!important;font-size:clamp(20px,2vw,28px);line-height:1.3;letter-spacing:-.02em;text-wrap:balance}
:is(:root[data-hero="v5"],:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .mission .sec-head .label{display:flex!important;justify-content:center;margin-bottom:20px;line-height:1.2;text-wrap:nowrap}
:is(:root[data-hero="v5"],:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .mission .big{display:inline!important;font-size:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;max-width:none!important;color:var(--ink)!important}
:is(:root[data-hero="v5"],:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .mission .lines{display:inline!important;margin:0!important;max-width:none!important;font-size:inherit!important}
:is(:root[data-hero="v5"],:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .mission .lines p{display:inline!important;font-size:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;font-weight:inherit;color:var(--ink-2)!important;opacity:1!important;border:0!important;padding:0!important}
:is(:root[data-hero="v5"],:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .mission .lines p::before{content:" "!important}
:is(:root[data-hero="v5"],:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .mission .big{font-weight:500!important}
:root[data-hero="h"] .mission .sec-head{font-weight:300} :root[data-hero="h"] .mission .big{font-weight:300!important}
:root[data-hero="g"] .mission .lines p{color:#4E7A5E!important}

/* Group cards: three compact cards, a short inset photo over the brand, so each reads at a glance */
.brands{grid-template-columns:repeat(3,1fr)!important;gap:12px!important}
.btile{display:flex!important;flex-direction:column;padding:8px;border-radius:18px!important;overflow:hidden;transform:none!important}
.btile .img{aspect-ratio:16/9!important;border-radius:12px;overflow:hidden}
.btile .body{padding:18px 12px 12px!important;gap:8px!important}
.btile .body h3.blogo{height:30px;font-size:24px}
.btile .body p{font-size:15px;line-height:1.45;max-width:34ch}
.btile .go{margin-top:auto!important;padding-top:14px!important;border:0!important;font-family:var(--font)!important;text-transform:none!important;letter-spacing:0!important;font-size:14px;font-weight:500;justify-content:flex-start!important;gap:6px;color:var(--ink)}
.btile:hover .go{color:var(--accent)}
@media (max-width:900px){.brands{grid-template-columns:1fr!important}.btile .img{aspect-ratio:2/1!important}}

/* Offices map: runs edge to edge, wider and shorter crop, stronger land dots */
html,body{overflow-x:clip}
#offices .map{max-width:none!important;width:100vw;margin:0 calc(50% - 50vw)!important}
#offices .map-land{stroke-opacity:.55!important;stroke-width:3.2!important}
#offices .map-pt text{font-size:19px;font-weight:500;fill:var(--ink)}
#offices .map-link{stroke-width:2.6}
#offices .map-pt .dot{r:6}
@media (max-width:760px){#offices .map-pt text{font-size:34px}#offices .map-pt .dot{r:10}#offices .map-land{stroke-width:6!important}}
#trust .marquee,#trust .track,#trust .track ul{border:0!important;box-shadow:none!important}
.sec-head .label.label-brand{align-items:center!important;gap:.45em!important}
.label-logo{display:inline-flex;align-items:center;gap:6px;text-transform:none;letter-spacing:-.03em;font-family:var(--font);font-size:1.25em;line-height:1;color:var(--ink)}
.label-logo .mark{width:1em;height:1em;flex:none}
.label-logo .w b{font-weight:800}.label-logo .w span{font-weight:200}

/* What drives us: a horizontal carousel of tall tinted cards; the line sits under each card */
#drives .car-head{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:flex-end!important;text-align:left!important;gap:24px}
#drives .car-title{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
#drives .car-title .label{justify-content:flex-start}
#drives .car-nav{display:flex;gap:10px;flex:none}
#drives .car-btn{width:52px;height:52px;border-radius:50%;border:0;background:color-mix(in srgb,var(--ink) 8%,transparent);color:var(--ink);display:grid;place-items:center;cursor:pointer;transition:background .25s,opacity .25s,transform .25s}
#drives .car-btn:hover{background:color-mix(in srgb,var(--ink) 16%,transparent)}
#drives .car-btn:active{transform:scale(.94)}
#drives .car-btn[disabled]{opacity:.35;cursor:default}
#drives .car-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#drives .car-track{display:flex!important;gap:12px!important;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;border:0!important;margin-right:calc(50% - 50vw);padding-right:max(16px,calc(50vw - 50%))}
#drives .car-track::-webkit-scrollbar{display:none}
#drives .pr{flex:0 0 clamp(260px,28vw,380px);scroll-snap-align:start;display:flex!important;flex-direction:column;gap:16px;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;min-height:0!important}
#drives .pr::before,#drives .pr::after{display:none!important}
#drives .pr-card{position:relative;aspect-ratio:4/5;border-radius:22px;padding:26px 26px 0;display:flex;flex-direction:column;overflow:hidden;color:#13201C;background:var(--tint)}
#drives .pr-card h3{margin:0;font-size:clamp(22px,1.9vw,28px)!important;line-height:1.18;letter-spacing:-.025em;font-weight:400!important;color:#13201C!important;max-width:14ch}
#drives .pr-art{flex:1;display:grid;place-items:center}
#drives .pr-art .pr-ic{width:clamp(72px,7vw,104px)!important;height:auto!important;stroke:#13201C!important;stroke-width:1!important;opacity:.85;transition:transform .6s cubic-bezier(.2,.8,.1,1)}
#drives .pr:hover .pr-ic{transform:scale(1.08) rotate(-3deg)}
#drives .pr > p{margin:0!important;padding:0 4px;color:var(--ink-2)!important;font-size:15px;line-height:1.5;max-width:34ch}
#drives .pr:nth-child(1) .pr-card{--tint:linear-gradient(160deg,#F7CDBB,#F6E9E1 70%)}
#drives .pr:nth-child(2) .pr-card{--tint:linear-gradient(160deg,#EFE6DA,#F6F2EC 70%)}
#drives .pr:nth-child(3) .pr-card{--tint:linear-gradient(160deg,#D5E6DD,#EEF3EF 70%)}
#drives .pr:nth-child(4) .pr-card{--tint:linear-gradient(160deg,#C7E8E0,#ECF5F2 70%)}
#drives .pr:nth-child(5) .pr-card{--tint:linear-gradient(160deg,#F3D9C4,#F7EEE5 70%)}
#drives .pr:nth-child(6) .pr-card{--tint:linear-gradient(160deg,#DCE3D2,#F1F3EC 70%)}
@media (max-width:560px){#drives .car-nav{display:none}#drives .pr{flex-basis:78vw}}

/* Consistency pass: no page frame, one content width, one heading size, one heading alignment */
body{margin:0}
section[data-home] > :not(.map):not(.car-track),section[data-view] > *,footer > *{max-width:1120px;margin-left:auto!important;margin-right:auto!important}
#drives .car-track{margin-left:max(0px,calc((100% - 1120px) / 2))!important;margin-right:calc(-1 * max(var(--gutter),env(safe-area-inset-right,0px)))!important;padding-right:max(var(--gutter),env(safe-area-inset-right,0px))}
:is(:root[data-hero="v5"],:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .sec-head h2,:is(:root[data-hero="v5"],:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .sec-head h3,:is(:root[data-hero="v5"],:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .open-copy h2{font-size:clamp(28px,2.5vw,36px)!important;line-height:1.15!important;letter-spacing:-.03em!important;max-width:24ch!important}
:is(:root[data-hero="v5"],:root[data-hero="e"],:root[data-hero="g"],:root[data-hero="h"]) .mission .sec-head{font-size:clamp(28px,2.5vw,36px)!important;line-height:1.25!important;max-width:34ch!important}
#drives .car-head{position:relative;flex-direction:column!important;align-items:center!important;text-align:center!important}
#drives .car-title{align-items:center}
#drives .car-title .label{justify-content:center}
#drives .car-nav{position:absolute;right:0;bottom:0}
@media (max-width:760px){#drives .car-nav{display:none}}


/* Carousel cards, compact: small icon, then the heading and its line together inside the card */
#drives .pr{flex-basis:clamp(240px,22vw,300px)!important;gap:0!important}
#drives .pr-card{aspect-ratio:auto!important;min-height:260px;padding:24px!important;gap:12px;justify-content:flex-start}
#drives .pr-art{flex:none!important;display:block!important;align-self:flex-start;text-align:left;padding-bottom:36px}
#drives .car-track{align-items:stretch}
#drives .pr-card{flex:1}
#drives .pr-art .pr-ic{width:36px!important;stroke-width:1.5!important;opacity:1}
#drives .pr-card h3{font-size:clamp(20px,1.6vw,23px)!important;font-weight:500!important;max-width:16ch}
#drives .pr-card p{margin:0!important;color:#3F4E48!important;font-size:15px;line-height:1.5}

/* V5 section rhythm (after Voy's about page): one warm ground, separation by space and soft colour glows,
   strong moments as rounded panels inset from the edges, lighter headings */
:root[data-hero="v5"] body,:root[data-hero="v5"]{background:#F7F4EE}
:root[data-hero="v5"] section[data-home],:root[data-hero="v5"] section[data-view],:root[data-hero="v5"] footer{--bg:#F7F4EE;--line:#E6DFD4;--panel:#FFFFFF;background:#F7F4EE}
:root[data-hero="v5"] section[data-home],:root[data-hero="v5"] section[data-view]{padding-top:96px!important;padding-bottom:96px!important}
:root[data-hero="v5"] .sec-head h2,:root[data-hero="v5"] .sec-head h3{font-weight:400!important}
:root[data-hero="v5"] #mission{position:relative;isolation:isolate;padding-top:120px!important;padding-bottom:120px!important;--ink:#10241D;--ink-2:#5A6E65}
:root[data-hero="v5"] #mission::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(38% 60% at 34% 50%,rgba(247,190,165,.55),transparent 70%),radial-gradient(40% 65% at 66% 50%,rgba(176,226,206,.6),transparent 70%);filter:blur(30px)}
:root[data-hero="v5"] #offices,:root[data-hero="v5"] #trust,:root[data-hero="v5"] #c-open{margin:0 12px;border-radius:28px;overflow:hidden}
:root[data-hero="v5"] #offices{--bg:#16241E;background:#16241E}
:root[data-hero="v5"] #trust{--bg:#F6E3D8;--ink:#2A1A14;--ink-2:#7A5E52;--line:#EED6CA;background:linear-gradient(160deg,#F6DCCD,#F3EBE3 70%)}
:root[data-hero="v5"] #c-open{background:#16241E}
:root[data-hero="v5"] #offices + section,:root[data-hero="v5"] #trust + footer{margin-top:12px}
:root[data-hero="v5"] #team{margin-top:12px}
:root[data-hero="v5"] footer{margin-top:12px}
:root[data-hero="v5"] .btile,:root[data-hero="v5"] .doc{background:#FFFFFF}
:root[data-hero="v5"] .sub-hero{background-color:#F7F4EE!important}

/* Offices: a very faint dot field over the whole section; the map's crop edges dissolve into it */
#offices{background-image:radial-gradient(circle,color-mix(in srgb,var(--ink) 7%,transparent) 1px,transparent 1.5px)!important;background-size:11px 11px!important;background-position:center!important}
:root[data-hero="v5"] #offices{background-color:#16241E!important}
#offices .map-svg{-webkit-mask-image:linear-gradient(180deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(180deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-composite:intersect}

/* H: alternate the light grounds so neighbouring sections read apart */
:root[data-hero="h"] #group{--bg:#E8EDE3;--line:#D5DDCF;--panel:#FFFFFF;background:#E8EDE3}
:root[data-hero="h"] #team{--bg:#F6F3E8;background:#F6F3E8}
:root[data-hero="h"] #trust{--bg:#ECE3D3;--line:#DDD1BD;background:#ECE3D3}
:root[data-hero="h"] footer{--bg:#F6F3E8;background:#F6F3E8}
:root[data-hero="h"] #p-types{--bg:#E8EDE3;background:#E8EDE3}
:root[data-hero="h"] #c-roles{--bg:#ECE3D3;background:#ECE3D3}
/* Footer copyright: plain text, so the wordmark appears only once in the footer */
.legal .hfw b,.legal .hfw span{font-weight:inherit!important;letter-spacing:inherit!important}

/* V5 nav: at rest a quiet, full-width bar that sits on the page; once you scroll it condenses into a small frosted pill */
.hv-nav{background:transparent;color:#111614;box-shadow:none;border-radius:0;padding:14px 0;margin-top:8px;border-bottom:1px solid rgba(17,22,20,.08);
  transition:padding .35s cubic-bezier(.2,.8,.1,1),background .35s,box-shadow .35s,border-color .35s}
.hv-nav .logo{color:#111614}
.hv-nav nav a{opacity:.7}
.hv-talk{background:#16241E;color:#EEF2EF}
.hv-talk i{background:#F29E80;color:#16241E}
.hv-nav.is-stuck{width:min(720px,calc(100% - 32px))!important;padding:7px 7px 7px 18px;border-radius:999px;border-bottom-color:transparent;
  background:rgba(247,244,238,.82);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:0 0 0 1px rgba(17,22,20,.06),0 10px 30px rgba(17,22,20,.10)}
.hv-nav.is-stuck .logo{font-size:16px}
.hv-nav.is-stuck nav{gap:24px}
@media (max-width:760px){.hv-nav.is-stuck{width:calc(100% - 24px)!important}}

/* One photo grade across the site, matched to the fresh greens of the hero photo: livelier colour, a little more light and contrast */
.hv-t img,.btile .img img,.pcards .ph img,.sh-img img,.open-img img,.he-tile.img img{filter:saturate(1.22) brightness(1.05) contrast(1.06)}
.hv-main img,.hv-main video,.hh-card > img,.hh-card > video,.he-tile.img img[src*="p00"]{filter:none!important}

/* G transitions: one warm cream ground; the dark moments (hero, map, footer) become rounded panels that sit on it,
   so the page no longer flips dark/light at every seam */
:root[data-hero="g"],:root[data-hero="g"] body{background:#F5F3EC}
:root[data-hero="g"] .hg{border-radius:0 0 36px 36px}
:root[data-hero="g"] #mission,:root[data-hero="g"] #group,:root[data-hero="g"] #team,:root[data-hero="g"] #trust{--bg:#F5F3EC;--ink:#141813;--ink-2:#5B6657;--line:#E3E0D4;--panel:#FFFFFF;--logo-filter:none;background:#F5F3EC!important;color:var(--ink)}
:root[data-hero="g"] section[data-home]{padding-top:96px!important;padding-bottom:96px!important}
:root[data-hero="g"] #drives{--bg:#E9EDDF;background:#E9EDDF!important;margin:0 12px;border-radius:28px}
:root[data-hero="g"] #offices{margin:12px 12px 0;border-radius:28px;overflow:hidden}
:root[data-hero="g"] footer{margin:12px;border-radius:28px;overflow:hidden}
:root[data-hero="g"] #group .btile{background:#FFFFFF}
:root[data-hero="g"] #group .btile .go{color:var(--ink)}

/* Brand gradient (coral to teal): the map section in V5 */
:root{--brand-grad:linear-gradient(115deg,#F29E80 0%,#D14A27 32%,#7A5A5F 58%,#2E7F73 82%,#17473F 100%)}
.grad-text{background:var(--brand-grad);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;padding-bottom:.06em}
:root[data-hero="v5"] #offices{--ink:#FFF6F1;--ink-2:#FFE3D8;--line:rgba(255,255,255,.25);--accent:#0C2A2B;--bg:#D14A27;
  background-color:#D14A27!important;background-image:radial-gradient(circle,rgba(255,255,255,.09) 1px,transparent 1.5px),var(--brand-grad)!important;background-size:11px 11px,100% 100%!important}
:root[data-hero="v5"] #offices .map-land{stroke:#FFFFFF!important;stroke-opacity:.42!important}
:root[data-hero="v5"] #offices .map-link{stroke:#0C2A2B}
:root[data-hero="v5"] #offices .map-pt .dot{fill:#0C2A2B}
:root[data-hero="v5"] #offices .map-pt .ring{stroke:#0C2A2B}
:root[data-hero="v5"] #offices .sec-head .label,:root[data-hero="v5"] #offices .sec-head h2{color:#FFF6F1!important}
:root[data-hero="v5"] #offices .map-pt text{fill:#FFF6F1}

/* H transitions: one cream ground; coloured and photo sections become rounded panels inset from the edges (as in V5) */
:root[data-hero="h"],:root[data-hero="h"] body{background:#F6F3E8}
:root[data-hero="h"] section[data-home]{padding-top:96px!important;padding-bottom:96px!important}
:root[data-hero="h"] #group,:root[data-hero="h"] #drives,:root[data-hero="h"] #offices,:root[data-hero="h"] #trust,
:root[data-hero="h"] #p-types,:root[data-hero="h"] #c-values,:root[data-hero="h"] #c-roles,:root[data-hero="h"] #p-contact,:root[data-hero="h"] #c-open{margin:12px 12px 0;border-radius:28px;overflow:hidden}
:root[data-hero="h"] #trust{margin-bottom:12px}
:root[data-hero="h"] #mission,:root[data-hero="h"] #team{background:#F6F3E8}

/* Map: keep it edge to edge but shorter; the frame crops the far north and south, all five locations stay in view */
#offices .map-svg{height:clamp(320px,32vw,420px)!important;width:100%}
#offices .sec-head{margin-bottom:8px!important}

/* Offices, compact: text on the left, the map beside it inside the content column (no longer a full-bleed band) */
@media (min-width:900px){
  #offices{display:grid!important;grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:center;column-gap:clamp(32px,4vw,64px);
    padding-left:max(var(--gutter),calc((100% - 1120px)/2))!important;padding-right:max(var(--gutter),calc((100% - 1120px)/2))!important;padding-top:72px!important;padding-bottom:72px!important}
  #offices > *{max-width:none!important;margin:0!important}
  #offices .sec-head{display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:left!important;margin:0!important}
  #offices .sec-head .label{justify-content:flex-start!important}
  #offices .sec-head p{margin:0!important;text-align:left!important}
  #offices .map{width:100%!important;margin:0!important}
  #offices .map-svg{height:clamp(300px,30vw,380px)!important}
  #offices .map-pt text{font-size:32px!important}
  #offices .map-pt .dot{r:8}
  #offices .map-link{stroke-width:3.4}
  #offices .map-land{stroke-width:5!important}
}

/* Compact map: cropped to the region around our five locations, faded out in a soft oval so it has no hard edges */
#offices .map-svg{height:auto!important;width:100%!important;
  -webkit-mask-image:radial-gradient(closest-side ellipse at 50% 50%,#000 62%,transparent 100%)!important;mask-image:radial-gradient(closest-side ellipse at 50% 50%,#000 62%,transparent 100%)!important;-webkit-mask-composite:source-over!important;mask-composite:add!important}
#offices .map-land{stroke-width:3.4!important;stroke-opacity:.5!important}
#offices .map-pt text{font-size:19px!important;font-weight:500}
#offices .map-pt .dot{r:5.5}
#offices .map-link{stroke-width:2.2}
@media (min-width:900px){#offices .map-svg{height:auto!important}}
#offices .map-svg{-webkit-mask-image:none!important;mask-image:none!important;overflow:visible}

footer{border-top:0!important}
/* E hero: no logo strip, a little shorter */
.he .he-logos{display:none!important}
.he-stage{min-height:clamp(480px,52vw,640px)!important}

/* Map bleeds to the panel's top, right and bottom edges; it fades only on the left, into the text */
@media (min-width:900px){
  #offices{position:relative;min-height:440px}
  #offices .sec-head{position:relative;z-index:1}
  #offices .map{position:absolute!important;top:0;right:0;bottom:0;width:64%!important;margin:0!important;z-index:0}
  #offices .map-svg{width:100%!important;height:100%!important;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 30%)!important;mask-image:linear-gradient(90deg,transparent 0%,#000 30%)!important}
}
#offices .map-pt text{font-size:22px!important}
/* Label with the wordmark: one colour for the whole line */
.label-logo{color:inherit!important}
:root[data-hero="g"] .sec-head .label{color:#4E7A5E!important}
:root[data-view="partners"] section[data-home],:root[data-view="careers"] section[data-home],:root[data-view="partners"] #offices,:root[data-view="careers"] #offices{display:none!important}

/* Section labels: Albert Sans in every layout and on every page, so the wordmark inside a label matches the words around it */
.sec-head .label,.open-copy .label,.label{font-family:var(--font)!important}

/* H Careers: the values come right after the photo hero, so they sit on a plain sage panel instead of a second photo */
:root[data-hero="h"] #c-values{--ink:#16302C;--ink-2:#4F625D;--line:#D5DDCF;--accent:#2E7F73;background:#E8EDE3!important;color:var(--ink)}
:root[data-hero="h"] #c-values .sec-head h2,:root[data-hero="h"] #c-values .sec-head .label{color:#16302C!important}
:root[data-hero="h"] #c-values .sec-head p{color:#4F625D!important}
:root[data-hero="h"] #c-values .pr,:root[data-hero="h"] #c-values .pr:nth-child(n){border:0!important;background:#FFFFFF!important;-webkit-backdrop-filter:none;backdrop-filter:none;color:#16302C}
:root[data-hero="h"] #c-values .pr h3{color:#16302C!important}
:root[data-hero="h"] #c-values .pr p{color:#4F625D!important}

/* H principles on the photo: the tinted cards stand alone (no frosted frame around them); arrows readable on the photo */
:root[data-hero="h"] #drives .pr,:root[data-hero="h"] #drives .pr:nth-child(n){border:0!important;padding:0!important;background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
:root[data-hero="h"] #drives .car-btn{background:rgba(255,255,255,.9)!important;color:#16302C!important}
:root[data-hero="h"] #drives .car-btn[disabled]{opacity:.45}

/* Label wordmark set in the label's own type: same size, case and spacing; only the Health/fort weights remain */
.label-logo{font-size:1em!important;text-transform:inherit!important;letter-spacing:inherit!important;gap:0!important}
.label-logo .w b{font-weight:700!important}.label-logo .w span{font-weight:300!important}

/* Principles carousel, Voy proportions: heading left with arrows on the same line; wider, taller cards,
   text at the top, a quiet icon disc at the bottom */
#drives .car-head{flex-direction:row!important;justify-content:space-between!important;align-items:flex-end!important;text-align:left!important}
#drives .car-title{align-items:flex-start!important}
#drives .car-title .label{justify-content:flex-start!important}
#drives .car-nav{position:static!important}
#drives .pr{flex-basis:clamp(280px,27vw,390px)!important}
#drives .pr-card{min-height:clamp(380px,32vw,480px)!important;padding:30px 30px 28px!important;gap:14px!important}
#drives .pr-card .pr-art{order:3;margin-top:auto!important;padding:0!important;align-self:flex-start;width:84px;height:84px;border-radius:50%;background:rgba(255,255,255,.6);display:grid!important;place-items:center}
#drives .pr-art .pr-ic{width:40px!important}
#drives .pr-card h3{order:1;font-size:clamp(22px,1.9vw,27px)!important;font-weight:400!important;max-width:15ch}
#drives .pr-card p{order:2;max-width:30ch}

/* Trust: a living gradient (after Voy): soft blurred colour fields that drift and swap continuously behind the content */
#trust{position:relative;isolation:isolate;overflow:hidden;background:#F2ECE3!important;--ink:#1F2A25;--ink-2:#5E6560;color:var(--ink)}
#trust::before,#trust::after{content:"";position:absolute;inset:-35%;z-index:-1;pointer-events:none;filter:blur(60px);will-change:transform}
#trust::before{background:
  radial-gradient(38% 46% at 20% 72%,rgba(229,178,138,1),transparent 70%),
  radial-gradient(34% 30% at 78% 22%,rgba(236,216,180,.9),transparent 70%),
  radial-gradient(34% 40% at 70% 80%,rgba(205,200,214,1),transparent 70%),
  radial-gradient(34% 34% at 42% 32%,rgba(248,244,234,.85),transparent 70%);
  animation:trustDriftA 22s ease-in-out infinite alternate}
#trust::after{background:
  radial-gradient(26% 30% at 70% 60%,rgba(242,158,128,.38),transparent 70%),
  radial-gradient(30% 28% at 30% 25%,rgba(201,221,184,.45),transparent 70%);
  mix-blend-mode:multiply;animation:trustDriftB 28s ease-in-out infinite alternate}
@keyframes trustDriftA{0%{transform:translate(0,0) rotate(0deg) scale(1)}50%{transform:translate(6%,-4%) rotate(12deg) scale(1.08)}100%{transform:translate(-5%,5%) rotate(-8deg) scale(1.02)}}
@keyframes trustDriftB{0%{transform:translate(0,0) rotate(0deg)}50%{transform:translate(-7%,4%) rotate(-14deg)}100%{transform:translate(5%,-6%) rotate(10deg)}}
#trust .sec-head h2,#trust .sec-head h3,#trust .sec-head .label{color:#1F2A25!important}
#trust .sec-head p{color:#5E6560!important}
#trust .marquee img{filter:grayscale(1)!important;opacity:.7}
@media (prefers-reduced-motion:reduce){#trust::before,#trust::after{animation:none}}

/* Principle cards: a small product-style illustration fills the lower half instead of a lone icon */
#drives .pr-card .pr-art.pr-viz{width:100%!important;height:auto!important;border-radius:0!important;background:none!important;display:block!important;margin-top:auto!important;align-self:stretch}
#drives .pr-viz svg{display:block;width:100%;height:auto;filter:drop-shadow(0 10px 22px rgba(31,42,37,.10));transition:transform .6s cubic-bezier(.2,.8,.1,1)}
#drives .pr:hover .pr-viz svg{transform:translateY(-4px) scale(1.02)}

/* G: the Trust gradient runs on behind the footer panel, which sits on top of it */
:root[data-hero="g"] #trust{padding-bottom:calc(96px + 240px)!important}
:root[data-hero="g"] footer{position:relative;z-index:2;margin-top:-240px!important}

/* H rhythm: photo (principles) -> light map -> deep-green doctors -> light gradient trust */
:root[data-hero="h"] #offices{--bg:#FBF9F4;--ink:#16302C;--ink-2:#55665F;--line:#E2DCCB;background-color:#FBF9F4!important;
  background-image:radial-gradient(circle,rgba(22,48,44,.06) 1px,transparent 1.5px)!important;background-size:11px 11px!important}
:root[data-hero="h"] #offices .sec-head h2,:root[data-hero="h"] #offices .sec-head .label{color:#16302C!important}
:root[data-hero="h"] #offices .sec-head p{color:#55665F!important}
:root[data-hero="h"] #offices .map-land{stroke:#2E5A52!important;stroke-opacity:.5!important}
:root[data-hero="h"] #offices .map-link{stroke:#2E7F73}
:root[data-hero="h"] #offices .map-pt .dot{fill:#2E7F73}
:root[data-hero="h"] #offices .map-pt .ring{stroke:#2E7F73}
:root[data-hero="h"] #offices .map-pt text{fill:#16302C}
:root[data-hero="h"] #team{--bg:#16302C;--ink:#F3F1EA;--ink-2:#B9C6BF;--line:#2A4540;background:#16302C!important;color:var(--ink);margin:12px 12px 0;border-radius:28px;overflow:hidden}
:root[data-hero="h"] #team .sec-head h2,:root[data-hero="h"] #team .sec-head .label{color:#F3F1EA!important}
:root[data-hero="h"] #team .sec-head p{color:#B9C6BF!important}

/* Partner types: no index numbers; the partner type sits on the photo as its caption */
.pcards li{position:relative;border-radius:14px;overflow:hidden;gap:0!important}
.pcards .ph{border-radius:inherit!important}
.pcards .ph::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(14,22,19,.72) 0%,rgba(14,22,19,.25) 38%,transparent 60%);pointer-events:none}
.pcards li > b{position:absolute;left:20px;right:20px;bottom:20px;color:#FFFFFF!important;font-size:clamp(19px,1.6vw,24px)!important;font-weight:500;line-height:1.2;letter-spacing:-.02em;text-wrap:balance;z-index:1}
.pcards .ph{position:relative}
.pcards li > b .pd{display:block;margin-top:8px;font-size:15px;font-weight:400;line-height:1.45;letter-spacing:0;opacity:.88;text-wrap:pretty;max-width:30ch;min-height:4.35em}
.pcards .ph::after{background:linear-gradient(to top,rgba(14,22,19,.82) 0%,rgba(14,22,19,.4) 42%,transparent 68%)!important}
:root[data-hero="g"] .pcards li{border-radius:24px}
:root[data-hero="h"] .pcards li{border-radius:20px}

/* H map: more room, and the dotted map continues underneath the rounded panels above and below */
@media (min-width:900px){
  :root[data-hero="h"] #offices{margin:-80px 0 -80px!important;border-radius:0!important;overflow:visible!important;z-index:0;
    padding-top:calc(80px + 170px)!important;padding-bottom:calc(80px + 170px)!important;min-height:0;background-color:transparent!important;background-image:none!important}
  :root[data-hero="h"] #offices .map{top:92px;bottom:92px}
  :root[data-hero="h"] #offices .map-svg{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 26%),linear-gradient(180deg,transparent 0%,#000 14%,#000 86%,transparent 100%)!important;mask-image:linear-gradient(90deg,transparent 0%,#000 26%),linear-gradient(180deg,transparent 0%,#000 14%,#000 86%,transparent 100%)!important;-webkit-mask-composite:source-in!important;mask-composite:intersect!important}
  :root[data-hero="h"] #drives,:root[data-hero="h"] #team{position:relative;z-index:1}
}

/* The Healthfort group, interactive: brands as a list on the left, one large photo on the right that follows the active brand */
@media (min-width:900px){
  #group .brands{position:relative;display:grid!important;grid-template-columns:minmax(0,5fr) minmax(0,7fr)!important;grid-auto-rows:auto;column-gap:clamp(32px,4vw,64px)!important;row-gap:0!important;align-content:start;min-height:clamp(440px,38vw,560px)}
  #group .btile{grid-column:1;position:static!important;will-change:auto!important;transform:none!important;filter:none!important;contain:none!important;display:block!important;padding:0!important;background:none!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;border-top:1px solid var(--line);cursor:pointer;transition:opacity .35s ease}
  #group .btile:last-child{border-bottom:1px solid var(--line)}
  #group .btile .body{padding:26px 4px!important}
  #group .btile .body p{max-height:0;opacity:0;overflow:hidden;margin:0!important;transition:max-height .45s ease,opacity .35s ease,margin .35s ease}
  #group .btile .go{max-height:0;opacity:0;overflow:hidden;transition:max-height .45s ease,opacity .35s ease;padding-top:0!important}
  #group .brands.ready .btile:not(.on){opacity:.5}
  #group .btile.on .body p{max-height:120px;opacity:1;margin-top:10px!important}
  #group .btile.on .go{max-height:40px;opacity:1;padding-top:14px!important}
  #group .btile .img{position:absolute!important;top:0;right:0;bottom:0;width:calc(58.3% - clamp(16px,2vw,32px));height:auto!important;aspect-ratio:auto!important;max-height:none!important;border-radius:22px!important;overflow:hidden;opacity:0;transform:scale(1.02);transition:opacity .6s ease,transform 1.2s cubic-bezier(.2,.8,.1,1);pointer-events:none}
  #group .btile .img img{width:100%;height:100%;object-fit:cover}
  #group .btile.on .img{opacity:1;transform:none}
  #group .btile .blogo{height:36px!important;font-size:30px!important}
}

/* H hero: the left side is the generated extension (background only); the original photo sits unaltered on the right,
   its left edge feathered into the extension, with the original breeze clip on top */
.hh-card > .hh-orig,.hh-card > .hh-orig-v{position:absolute;top:0;right:0;bottom:0;left:auto;width:auto!important;height:100%!important;aspect-ratio:1174/1762;object-fit:cover;object-position:center;z-index:-2;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 22%);mask-image:linear-gradient(90deg,transparent 0%,#000 22%)}
.hh-card > .hh-orig-v{z-index:-2}
.hh-card > img:first-of-type{object-position:left center!important}

/* Careers photo where no text sits on it: frame the group, not the empty room */
:root:not([data-hero="h"]) #c-hero .sh-img img{transform:scale(1.7)!important;transform-origin:78% 62%!important}
:root:not([data-hero="h"]) #c-hero .sh-img:hover img{transform:scale(1.74)!important}

/* Partnerships/Careers page heads: tighter, so the photo arrives sooner */
section#c-hero,section#p-hero{padding-top:40px!important;padding-bottom:48px!important}
#c-hero .sh-grid,#p-hero .sh-grid{row-gap:32px!important}

/* Group list: no coloured wash over the active photo */
#group .btile .img::after{display:none!important}

/* Group head aligned with the list below: left, the heading on one line */
@media (min-width:900px){
  #group .sec-head{display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:left!important;gap:12px!important}
  #group .sec-head .label{justify-content:flex-start!important}
  #group .sec-head h2{max-width:none!important;text-wrap:nowrap}
  #group .sec-head{margin-bottom:44px!important}
  #group .sec-head h2 br{display:none}
}

/* H hero: the original photo always fills the right half, the woman centred in it at a fixed scale */
.hh-card > .hh-orig,.hh-card > .hh-orig-v{left:auto!important;right:0!important;width:54%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:58% 62%!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 16%)!important;mask-image:linear-gradient(90deg,transparent 0%,#000 16%)!important}

/* H hero: the generated extension only fills the left side (its copy of the woman stays out of frame) */
.hh-card > img:not(.hh-orig){right:auto!important;width:62%!important;object-position:left center!important}

/* H hero: fixed proportions, so the woman keeps the same size and place in the right half at any screen width */
@media (min-width:900px){.hh-card{aspect-ratio:2.05/1;height:auto!important;min-height:0!important;max-height:none!important}}

/* Principles carousel bleeds off both edges: cards start on the content column, scroll away past the left edge too */
#drives .car-track{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important;
  padding-left:max(var(--gutter),calc((100vw - 1120px)/2))!important;padding-right:max(var(--gutter),calc((100vw - 1120px)/2))!important;
  scroll-padding-left:max(var(--gutter),calc((100vw - 1120px)/2));box-sizing:border-box}
#drives{overflow:hidden}

/* E map section: the brand gradient instead of flat orange */
:root[data-hero="e"] #offices{background-color:#D14A27!important;background-image:radial-gradient(circle,rgba(255,255,255,.09) 1px,transparent 1.5px),var(--brand-grad)!important;background-size:11px 11px,100% 100%!important}
:root[data-hero="e"] #offices .map-land{stroke:#FFFFFF!important;stroke-opacity:.42!important}
:root[data-hero="e"] #offices .map-link{stroke:#0C2A2B}
:root[data-hero="e"] #offices .map-pt .dot{fill:#0C2A2B}
:root[data-hero="e"] #offices .map-pt .ring{stroke:#0C2A2B}

/* V5 hero copy on the bento grid: headline over the first tile, the lines start over the second tile
   and sit on the headline's baseline */
@media (min-width:900px){
  .hv-top{grid-template-columns:1.5fr 1fr 1.15fr!important;column-gap:12px!important;align-items:end!important}
  .hv-top h1{grid-column:1}
  .hv-lines{grid-column:2 / 4;font-size:17px!important;line-height:1.55!important;color:#3F4743!important;padding:0 0 .35em 0!important;max-width:none!important;white-space:nowrap}
}
@media (max-width:1000px){.hv-lines{white-space:normal!important}}

/* Map runs on to the right and fades out gradually, both into the text and toward the far edge */
@media (min-width:900px){
  #offices .map-svg{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 16%,#000 84%,transparent 100%)!important;mask-image:linear-gradient(90deg,transparent 0%,#000 16%,#000 84%,transparent 100%)!important}
  :root[data-hero="h"] #offices .map-svg{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 16%,#000 84%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 14%,#000 86%,transparent 100%)!important;mask-image:linear-gradient(90deg,transparent 0%,#000 16%,#000 84%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 14%,#000 86%,transparent 100%)!important}
}

/* Healthfort Labs lockup set like HeyMed | Care: wordmark, thin divider, light descriptor */
.blogo .hf-dok .w{display:inline-flex;font-size:30px;line-height:1;letter-spacing:-.04em;white-space:nowrap}
.blogo .hf-dok .w b{font-weight:800}.blogo .hf-dok .w span{font-weight:200;font-size:inherit;letter-spacing:inherit}

/* H Partnerships head: the photo takes the right half, the text sits on a calm deep-green field on the left */
@media (min-width:900px){
  :root[data-hero="h"] #p-hero .sh-img{background:radial-gradient(80% 90% at 0% 100%,#24433D,transparent 70%),#16302C}
  :root[data-hero="h"] #p-hero .sh-img img{position:absolute;top:0;right:0;bottom:0;left:auto;width:54%!important;height:100%!important;object-fit:cover;object-position:50% 30%!important;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 30%);mask-image:linear-gradient(90deg,transparent 0%,#000 30%)}
  :root[data-hero="h"] #p-hero::before{background:none}
  :root[data-hero="h"] #p-hero .sh-copy{max-width:44%}
}

/* The Healthfort group as sticky stacking cards: each brand pins under the nav, the next slides up over it,
   and the covered card eases back */
#group .brands.stack{display:block!important;min-height:0!important;padding-bottom:40px}
#group .brands.stack .btile{position:sticky!important;top:calc(96px + var(--i,0) * 18px);display:grid!important;grid-template-columns:minmax(0,5fr) minmax(0,7fr)!important;align-items:stretch;
  min-height:clamp(380px,34vw,460px);margin:0 0 28px!important;padding:12px!important;border:0!important;border-radius:28px!important;overflow:hidden!important;
  background:var(--card,#fff)!important;box-shadow:0 -1px 0 rgba(17,22,20,.04),0 24px 60px rgba(17,22,20,.10)!important;opacity:1!important;
  transform-origin:50% 0;transform:scale(var(--sc,1))!important;filter:brightness(var(--br,1))!important;will-change:transform;cursor:default;transition:none}
#group .brands.stack .btile:nth-child(1){--i:0;--card:#F6E6DC}
#group .brands.stack .btile:nth-child(2){--i:1;--card:#E6EEE5}
#group .brands.stack .btile:nth-child(3){--i:2;--card:#EFE8DC}
#group .brands.stack .btile .body{order:1;display:flex!important;flex-direction:column;justify-content:flex-end;gap:14px!important;padding:clamp(24px,3vw,44px)!important}
#group .brands.stack .btile .body p{max-height:none!important;opacity:1!important;margin:0!important;font-size:clamp(17px,1.4vw,20px)!important;line-height:1.45;color:#3F4743!important;max-width:28ch}
#group .brands.stack .btile .go{max-height:none!important;opacity:1!important;padding-top:10px!important}
#group .brands.stack .btile .blogo{height:44px!important;font-size:36px!important}
#group .brands.stack .btile .img{order:2;position:relative!important;inset:auto!important;width:auto!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;opacity:1!important;transform:none!important;border-radius:20px!important;overflow:hidden}
#group .brands.stack .btile .img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#group .brands.stack .btile:last-child{margin-bottom:0!important}
@media (max-width:899px){
  #group .brands.stack .btile{grid-template-columns:1fr!important;top:calc(84px + var(--i,0) * 12px)}
  #group .brands.stack .btile .img{order:0;aspect-ratio:16/10!important}
  #group .brands.stack .btile .body{justify-content:flex-start}
}
@media (prefers-reduced-motion:reduce){#group .brands.stack .btile{transform:none!important;filter:none!important}}

/* Mission: the continuing sentences in the same ink as the lead (the lead keeps its heavier weight) */
#mission .lines p,:root[data-hero] #mission .lines p{color:var(--ink)!important;opacity:1!important}
#mission .lines p{font-weight:400!important}

/* Stacking cards follow each layout's ground: light tints with dark ink on light sections, deep greens with light ink on dark ones */
#group .brands.stack .btile{color:#16241E}
#group .brands.stack .btile .blogo,#group .brands.stack .btile .go{color:#16241E!important}
#group .brands.stack .btile .body p{color:#3F4743!important}
:root[data-hero="e"] #group .brands.stack .btile:nth-child(1){--card:#0F3533}
:root[data-hero="e"] #group .brands.stack .btile:nth-child(2){--card:#134240}
:root[data-hero="e"] #group .brands.stack .btile:nth-child(3){--card:#18504C}
:root[data-hero="e"] #group .brands.stack .btile,:root[data-hero="e"] #group .brands.stack .btile .blogo,:root[data-hero="e"] #group .brands.stack .btile .go{color:#F4F2EC!important}
:root[data-hero="e"] #group .brands.stack .btile .body p{color:rgba(244,242,236,.78)!important}
:root[data-hero="e"] #group .brands.stack .btile{box-shadow:0 0 0 1px rgba(244,242,236,.08),0 24px 60px rgba(0,0,0,.35)!important}

/* Light layouts: stronger cards that stand off the ground: warm peach, deep green, warm sand */
:root:not([data-hero="e"]) #group .brands.stack .btile:nth-child(1){--card:#F2C4AE}
:root:not([data-hero="e"]) #group .brands.stack .btile:nth-child(2){--card:#16302C}
:root:not([data-hero="e"]) #group .brands.stack .btile:nth-child(3){--card:#E6D5BB}
:root:not([data-hero="e"]) #group .brands.stack .btile:nth-child(2),:root:not([data-hero="e"]) #group .brands.stack .btile:nth-child(2) .blogo,:root:not([data-hero="e"]) #group .brands.stack .btile:nth-child(2) .go{color:#F4F2EC!important}
:root:not([data-hero="e"]) #group .brands.stack .btile:nth-child(2) .body p{color:rgba(244,242,236,.8)!important}
#group .brands.stack .btile .body p{color:#2C3430!important}
#group .brands.stack .btile .blogo{height:52px!important;font-size:42px!important}
#group .brands.stack .btile .go{font-size:15px!important;font-weight:500!important}
:root[data-hero="h"] #mission .big{font-weight:400!important}:root[data-hero="h"] #mission .lines p{font-weight:300!important}

/* Gradient map panels: white routes and points so they hold on every part of the gradient; quieter land */
:is(:root[data-hero="v5"],:root[data-hero="e"]) #offices .map-land{stroke-opacity:.28!important}
:is(:root[data-hero="v5"],:root[data-hero="e"]) #offices .map-link{stroke:#FFFFFF!important;stroke-width:3!important;stroke-opacity:.95}
:is(:root[data-hero="v5"],:root[data-hero="e"]) #offices .map-pt .dot{fill:#FFFFFF!important;r:6.5}
:is(:root[data-hero="v5"],:root[data-hero="e"]) #offices .map-pt .ring{stroke:#FFFFFF!important;stroke-width:2!important}
:is(:root[data-hero="v5"],:root[data-hero="e"]) #offices .map-pt text{fill:#FFFFFF!important;font-weight:600!important;paint-order:stroke;stroke:rgba(40,30,30,.25);stroke-width:4px}

/* Map journey: routes draw from point to point as you scroll; each location lights up when the line reaches it */
#offices .map-pt{transition:opacity .45s ease,transform .45s cubic-bezier(.3,1.5,.5,1);transform-box:fill-box;transform-origin:center}
#offices .map.journey .map-pt:not(.reached){opacity:.22;transform:scale(.7)}
#offices .map.journey .map-pt.pop{animation:none!important}

/* Map panel capped at 1100px and centred (V5, E, G); the text and map live inside it */
@media (min-width:900px){
  :root:not([data-hero="h"]) #offices{max-width:1100px;margin-left:auto!important;margin-right:auto!important;border-radius:28px;overflow:hidden;
    padding-left:clamp(32px,4vw,56px)!important;padding-right:clamp(32px,4vw,56px)!important}
  :root:not([data-hero="h"]) #offices .map{width:60%!important}
}

/* G principle cards in G's own palette: warm cream and soft sage instead of peach and mint */
:root[data-hero="g"] #drives .pr:nth-child(odd) .pr-card{--tint:linear-gradient(160deg,#FBFAF5,#F3F1EA 75%)}
:root[data-hero="g"] #drives .pr:nth-child(even) .pr-card{--tint:linear-gradient(160deg,#DCE6CF,#EEF1E6 75%)}
:root[data-hero="g"] #drives .pr-card{box-shadow:0 0 0 1px rgba(78,122,94,.10)}
:root[data-hero="g"] #drives .pr-viz rect[fill="#F8E9E1"],:root[data-hero="g"] #drives .pr-viz rect[fill="#F2C1A8"]{fill:#E3EBD8}
:root[data-hero="g"] #drives .pr-viz [fill="#4E9C8F"],:root[data-hero="g"] #drives .pr-viz [stroke="#4E9C8F"]{fill:#4E7A5E;stroke:#4E7A5E}
:root[data-hero="g"] #drives .pr-viz path[stroke="#4E9C8F"]{fill:none}

/* E: the capped map panel floats on the page with room above and below, so it doesn't butt against the band above it */
@media (min-width:900px){:root[data-hero="e"] #offices{margin-top:72px!important;margin-bottom:72px!important}}
:root[data-hero="e"] body,:root[data-hero="e"]{background:#071817}

/* H Partnerships head: the expanded photo fills the whole panel; a soft dark wash on the left carries the text */
.sh-img .h-wide{display:none}
@media (min-width:900px){
  :root[data-hero="h"] #p-hero .sh-img img:not(.h-wide){display:none!important}
  :root[data-hero="h"] #p-hero .sh-img .h-wide{display:block!important;position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:right center!important;-webkit-mask-image:none!important;mask-image:none!important}
  :root[data-hero="h"] #p-hero .sh-img{background:none!important}
  :root[data-hero="h"] #p-hero::before{background:linear-gradient(90deg,rgba(18,40,36,.82) 0%,rgba(18,40,36,.55) 32%,rgba(18,40,36,.08) 55%,transparent 70%)!important}
}

/* V5 map, quieter: the same coral-to-teal idea as a pale wash on cream, with dark ink and a deep-green route */
:root[data-hero="v5"] #offices{--ink:#16241E;--ink-2:#4F5E57;background-color:#F4EEE6!important;
  background-image:radial-gradient(circle,rgba(22,36,30,.05) 1px,transparent 1.5px),linear-gradient(115deg,#F6D9C9 0%,#F4E6DC 34%,#ECE6E6 58%,#DCEBE4 82%,#CFE6DD 100%)!important;background-size:11px 11px,100% 100%!important}
:root[data-hero="v5"] #offices .sec-head .label,:root[data-hero="v5"] #offices .sec-head h2{color:#16241E!important}
:root[data-hero="v5"] #offices .sec-head p{color:#4F5E57!important}
:root[data-hero="v5"] #offices .map-land{stroke:#2E5A52!important;stroke-opacity:.48!important}
:root[data-hero="v5"] #offices .map-link{stroke:#1F5C52!important;stroke-width:2.6!important;stroke-opacity:1}
:root[data-hero="v5"] #offices .map-pt .dot{fill:#1F5C52!important}
:root[data-hero="v5"] #offices .map-pt .ring{stroke:#1F5C52!important}
:root[data-hero="v5"] #offices .map-pt text{fill:#16241E!important;font-weight:500!important;stroke:none!important}

/* E: the map is a full-bleed gradient band again (E is built from bands); its text and map stay on the 1100px column */
@media (min-width:900px){
  :root[data-hero="e"] #offices{max-width:none!important;margin:0!important;border-radius:0!important;
    padding-left:max(var(--gutter),calc((100% - 1100px)/2))!important;padding-right:max(var(--gutter),calc((100% - 1100px)/2))!important}
  :root[data-hero="e"] #offices .map{right:max(var(--gutter),calc((100% - 1100px)/2))!important;width:min(62%,680px)!important}
}

/* V5 map panel in deep green */
:root[data-hero="v5"] #offices{--ink:#EEF2EF;--ink-2:#A9B8B0;background-color:#16302C!important;
  background-image:radial-gradient(circle,rgba(238,242,239,.06) 1px,transparent 1.5px),radial-gradient(70% 90% at 85% 50%,#1E4740,transparent 70%)!important;background-size:11px 11px,100% 100%!important}
:root[data-hero="v5"] #offices .sec-head .label,:root[data-hero="v5"] #offices .sec-head h2{color:#EEF2EF!important}
:root[data-hero="v5"] #offices .sec-head p{color:#A9B8B0!important}
:root[data-hero="v5"] #offices .map-land{stroke:#CFE6DD!important;stroke-opacity:.3!important}
:root[data-hero="v5"] #offices .map-link{stroke:#BFF5DF!important}
:root[data-hero="v5"] #offices .map-pt .dot{fill:#BFF5DF!important}
:root[data-hero="v5"] #offices .map-pt .ring{stroke:#BFF5DF!important}
:root[data-hero="v5"] #offices .map-pt text{fill:#EEF2EF!important}

/* H Partnerships head: frame the doctor in the middle of the right half (she sits at ~82% of the photo) */
@media (min-width:900px){:root[data-hero="h"] #p-hero .sh-img .h-wide{left:-39%!important;width:139%!important;max-width:none!important;right:auto!important;object-position:right 30%!important}}

/* H hero: one full photo (mirrored), the woman on the right, the copy on the open left side */
.hh-card > img:not(.hh-orig){inset:0!important;width:100%!important;height:100%!important;object-position:78% 50%!important;-webkit-mask-image:none!important;mask-image:none!important}
/* H hero on mobile: shorter, the woman kept in frame above the copy */
@media (max-width:899px){
  .hh-card{min-height:0!important;height:min(58svh,470px)}
  .hh-card > img:not(.hh-orig){object-position:98% 50%!important}
  .hh-card{justify-content:flex-start!important}
  .hh-card::before{background:linear-gradient(180deg,rgba(16,38,34,.78) 0%,rgba(16,38,34,.62) 30%,rgba(16,38,34,.25) 46%,rgba(16,38,34,0) 60%)!important}
  .hh-copy{padding:30px 24px 0!important;gap:12px!important;text-shadow:0 1px 2px rgba(10,26,22,.45),0 2px 20px rgba(10,26,22,.5)}
  .hh-copy h1{font-size:clamp(38px,11vw,48px)!important}
  .hh-copy p{font-size:15px!important}
}

/* V5 on mobile: the bento inside the first screen; the tall phone tile drops out, the tablet and graph sit side by side */
@media (max-width:560px){
  .hv-top{padding-block:24px 18px!important;gap:12px!important}
  .hv h1{font-size:40px!important}
  .hv-lines{font-size:15px!important;line-height:1.5!important;padding-top:0!important}
  .hv-bento{grid-template-columns:1fr 1fr!important;gap:8px!important;padding-bottom:40px!important}
  .hv-main{grid-column:1 / -1!important;grid-row:auto!important;min-height:0!important;height:clamp(200px,30svh,260px)}
  .hv-svc,.hv-graph{grid-column:auto!important;min-height:0!important;height:clamp(110px,16svh,150px)}
  .hv-tall{display:none!important}
}

/* Group cards on touch: the photo settles in as the card rises into place, the copy follows, and a tap presses the card */
@media (max-width:899px){
  #group .brands.stack .btile .img img{transform:translateY(var(--iy,0px)) scale(var(--iz,1))!important;will-change:transform}
  #group .brands.stack .btile .body > *{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .7s cubic-bezier(.2,.8,.1,1)}
  #group .brands.stack .btile .body > :nth-child(2){transition-delay:.08s}
  #group .brands.stack .btile .body > :nth-child(3){transition-delay:.16s}
  #group .brands.stack .btile.seen .body > *{opacity:1;transform:none}
  #group .brands.stack .btile:active{filter:brightness(calc(var(--br,1) * .96))!important}
}
@media (max-width:899px) and (prefers-reduced-motion:reduce){
  #group .brands.stack .btile .img img{transform:none!important}
  #group .brands.stack .btile .body > *{opacity:1;transform:none}
}

/* Doctor names wrap instead of being cut at the card edge */
.docs .doc b{white-space:normal!important;text-wrap:balance;overflow-wrap:anywhere}

/* H trust logos: a continuous marquee (the list is doubled, the second half hidden from screen readers) */
.hh-trust{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.hh-trust ul{flex-wrap:nowrap!important;justify-content:flex-start!important;gap:0!important;width:max-content;animation:slide 32s linear infinite}
.hh-trust li{flex:none;padding-right:clamp(40px,5vw,72px)}
.hh-trust:hover ul{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.hh-trust ul{animation:none}}

/* H hero breeze: the clip sits exactly over the photo and is cropped the same way */
.hh-card > .hh-v{object-position:78% 50%!important}
@media (max-width:899px){.hh-card > .hh-v{object-position:98% 50%!important}}

/* Group section clips its rounded corners without becoming a scroll box, so the stacking cards stay sticky on every width */
#group{overflow:clip!important}

/* H group: a light cream ground so the coloured cards stand off it clearly */
:root[data-hero="h"] #group{background:#FBF9F4!important}
:root[data-hero="h"] #group .brands.stack .btile:nth-child(1){--card:#EFB89C}
:root[data-hero="h"] #group .brands.stack .btile:nth-child(3){--card:#DCC59E}
:root[data-hero="h"] #group .brands.stack .btile{box-shadow:0 0 0 1px rgba(17,22,20,.05),0 -1px 0 rgba(17,22,20,.04),0 28px 60px rgba(17,22,20,.14)!important}

/* G hero on mobile: the stage starts under the nav, so the heading sits in the vertical centre of the screen */
@media (max-width:900px){:root[data-hero="g"] .hg-stage{margin-top:-75px}:root[data-hero="g"] .hg-sticky{height:100svh}}

/* Map on mobile: crop to the five countries and enlarge them, with readable labels */
@media (max-width:899px){
  #offices{padding-top:56px!important;padding-bottom:40px!important}
  #offices .sec-head{margin-bottom:8px!important}
  #offices .map{position:relative!important;inset:auto!important;width:auto!important;margin:0 calc(-1 * var(--gutter,16px))!important;height:262px;overflow:hidden}
  #offices .map-svg{width:100%!important;height:100%!important;display:block;transform:translateX(16px)}
  #offices .map-pt text{font-size:32px!important}
  #offices .map-pt .dot{r:10}
  #offices .map-link{stroke-width:4!important}
}

/* Desktop: every hero runs past the bottom of the screen, so it is always seen cut off and the page reads as scrollable */
@media (min-width:900px){
  :root[data-hero="v5"] .hv-main{min-height:max(clamp(420px,42vw,600px),calc(100svh - 236px))!important}
  :root[data-hero="h"] .hh-card{min-height:calc(100svh - 4px)!important}
  :root[data-hero="e"] .he-stage{min-height:calc(100svh + 2px)!important}
}

/* H: no accreditation strip under the hero */
.hh-trust{display:none!important}

/* Doctor cards: role and name only, no bio */
.docs .doc .bio{display:none!important}

/* Group cards: the brand is the hero of each card; the whole logo scales from one font size */
#group .brands.stack .btile .body{justify-content:space-between!important}
#group .brands.stack .btile .body{container-type:inline-size}
#group .brands.stack .btile .blogo{height:auto!important;font-size:min(76px,14cqi)!important;margin:0 0 auto!important;line-height:1}
#group .brands.stack .btile .blogo .hm{height:1em!important;width:auto}
#group .brands.stack .btile .blogo .dok{gap:.32em!important}
#group .brands.stack .btile .blogo .dok i{height:.82em!important}
#group .brands.stack .btile .blogo .dok > span:not(.w),#group .brands.stack .btile .blogo .hf-dok .w{font-size:1em!important}
#group .brands.stack .btile .body p{font-size:clamp(16px,1.2vw,18px)!important;margin-top:28px!important}
@media (max-width:899px){
  #group .brands.stack .btile .blogo{margin-bottom:6px!important}
  #group .brands.stack .btile .body p{margin-top:8px!important}
}

/* Sub-page heads: the title is sized by its column, so it never runs past three lines */
#p-hero .sh-copy,#c-hero .sh-copy{container-type:inline-size}
#p-hero .sh-copy h1,#c-hero .sh-copy h1{font-size:min(var(--h1max,72px),14.2cqi)!important;max-width:none!important}
:root[data-hero="v5"] #p-hero .sh-copy h1,:root[data-hero="v5"] #c-hero .sh-copy h1{font-size:64px!important}
@media (min-width:900px){:root[data-hero="v5"] #p-hero .sh-copy h1,:root[data-hero="v5"] #c-hero .sh-copy h1{font-size:min(64px,5.7vw)!important}}
@media (max-width:899px){:root[data-hero="v5"] #p-hero .sh-copy h1,:root[data-hero="v5"] #c-hero .sh-copy h1{font-size:clamp(36px,11vw,52px)!important}}

/* Careers: roles as a plain list (no arrows); one line for open applications replaces the "Don't see a fit?" panel */
.roles i{display:none!important}
.roles li{grid-template-columns:1fr auto!important}
@media (max-width:900px){.roles li{grid-template-columns:1fr!important}}
#c-open{display:none!important}
.roles-cv{max-width:1100px;margin:28px auto 0;font-size:17px;color:var(--ink-2)}
.roles-cv a{color:var(--ink);font-weight:500;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;transition:color .2s ease}
.roles-cv a:hover{color:var(--accent)}

/* Group on desktop: the brand cards side by side; the photo gives way to the description and link on hover or focus */
@media (min-width:900px){
  #group .brands.stack{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;padding-bottom:0!important}
  #group .brands.stack .btile{grid-column:auto!important;position:relative!important;top:auto!important;display:flex!important;flex-direction:column;height:clamp(460px,40vw,560px);min-height:0!important;margin:0!important;
    transform:none!important;filter:none!important;cursor:pointer;transition:transform .45s cubic-bezier(.2,.8,.1,1),box-shadow .45s ease!important}
  #group .brands.stack .btile .img{order:0!important;flex:1 1 auto;min-height:0;aspect-ratio:auto!important}
  #group .brands.stack .btile .img img{transition:transform 1.2s cubic-bezier(.2,.8,.1,1)}
  #group .brands.stack .btile .body{order:1!important;flex:none;justify-content:flex-start!important;padding:26px 16px 14px!important;gap:0!important}
  #group .brands.stack .btile .blogo{margin:0!important}
  #group .brands.stack .btile .body p,#group .brands.stack .btile .go{max-height:0!important;opacity:0!important;overflow:hidden;margin:0!important;padding-top:0!important;
    transition:max-height .5s cubic-bezier(.2,.8,.1,1),opacity .35s ease,margin .5s cubic-bezier(.2,.8,.1,1),padding .5s cubic-bezier(.2,.8,.1,1)}
  #group .brands.stack .btile:is(:hover,:focus-visible,:focus-within){transform:translateY(-4px)!important}
  #group .brands.stack .btile:is(:hover,:focus-visible,:focus-within) .img img{transform:scale(1.04)}
  #group .brands.stack .btile:is(:hover,:focus-visible,:focus-within) .body p{max-height:96px!important;opacity:1!important;margin-top:14px!important}
  #group .brands.stack .btile:is(:hover,:focus-visible,:focus-within) .go{max-height:44px!important;opacity:1!important;padding-top:14px!important}
}
@media (min-width:900px) and (prefers-reduced-motion:reduce){
  #group .brands.stack .btile,#group .brands.stack .btile .img img{transform:none!important}
}

/* Brand names as domains: the heymed wordmark with its suffix set in the same light weight as "med" */
.blogo .dok.dom{display:inline-block!important;white-space:nowrap;line-height:1}
.blogo .dok.dom .hm{display:inline-block!important;vertical-align:-.211em}
.blogo .dok.dom .tld{font-size:1.06em!important;font-weight:300;letter-spacing:-.03em;margin-left:.01em}

/* Section headings on one line on desktop, on every page */
@media (min-width:900px){
  section .sec-head h2,section .car-title h2,section .open-copy h2{max-width:none!important;text-wrap:nowrap!important;white-space:nowrap!important}
  section .sec-head h2 br,section .car-title h2 br,section .open-copy h2 br{display:none!important}
  section .sec-head h2{width:max-content!important;margin-left:auto!important;margin-right:auto!important}
  #offices .sec-head h2,#group .sec-head h2{margin-left:0!important}
}

/* H hero: no arrow icon in the corner */
.hh-arrows{display:none!important}

/* Partnerships contact: one button that opens the visitor's email app, no form */
.p-mail{display:flex;justify-content:center;margin-top:8px}
.p-mail .send{display:inline-flex;align-items:center;gap:10px;text-decoration:none;background:#DDF0E6!important;color:#16302C!important;padding:16px 26px!important;font-size:17px!important}
.p-mail .send:hover{background:#FFFFFF!important}

/* Group cards on desktop: text always shown; hover lifts the card, the photo zooms and drifts with the cursor, the link draws its underline */
@media (min-width:900px){
  #group .brands.stack .btile .body p{max-height:none!important;opacity:1!important;margin-top:14px!important}
  #group .brands.stack .btile .go{max-height:none!important;opacity:1!important;padding-top:14px!important;align-self:flex-start;position:relative;overflow:visible!important;align-items:center}
  #group .brands.stack .btile .go::after{content:"";position:absolute;left:0;right:1.3em;bottom:-3px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .45s cubic-bezier(.2,.8,.1,1)}
  #group .brands.stack .btile .go span,#group .brands.stack .btile .go i{display:inline-block;transition:transform .4s cubic-bezier(.2,.8,.1,1)}
  #group .brands.stack .btile .img img{transform:translate(var(--tx,0px),var(--ty,0px)) scale(1.001)!important;transition:transform .9s cubic-bezier(.2,.8,.1,1)!important}
  #group .brands.stack .btile:is(:hover,:focus-visible,:focus-within){transform:translateY(-8px)!important;box-shadow:0 0 0 1px rgba(17,22,20,.05),0 40px 80px rgba(17,22,20,.22)!important}
  #group .brands.stack .btile:is(:hover,:focus-visible,:focus-within) .img img{transform:translate(var(--tx,0px),var(--ty,0px)) scale(1.08)!important}
  #group .brands.stack .btile:is(:hover,:focus-visible,:focus-within) .go::after{transform:scaleX(1)}
  #group .brands.stack .btile:is(:hover,:focus-visible,:focus-within) .go span,#group .brands.stack .btile:is(:hover,:focus-visible,:focus-within) .go i{transform:translate(3px,-3px)}
}

#group .btile .go-ar{display:inline-flex;align-items:center;line-height:0}
#group .btile .go-ar svg{display:block}
#group .brands.stack .btile .go .go-ar{transform:none!important;position:relative;left:0;top:0;transition:left .4s cubic-bezier(.2,.8,.1,1),top .4s cubic-bezier(.2,.8,.1,1)!important}
#group .brands.stack .btile:is(:hover,:focus-visible,:focus-within) .go .go-ar{left:3px;top:-3px}

/* Doctor cards: no light fringe along the rounded edge; the card takes the section ground and the photo overlaps the edge by a pixel */
.docs .doc,.docs .doc .ph{background:var(--bg,transparent)!important}
.docs .doc .ph{inset:-1px!important}

/* H sub-page heads set like the home hero: text 72px in from the card edge, same type sizes, vertically centred */
@media (min-width:900px){
  :root[data-hero="h"] .sub-hero{padding-left:0!important;padding-right:0!important}
  :root[data-hero="h"] .sub-hero .sh-grid{max-width:none!important;margin:0!important;padding:clamp(48px,6vw,90px) clamp(36px,5vw,72px)!important;box-sizing:border-box}
  :root[data-hero="h"] .sub-hero .sh-copy{max-width:640px!important;display:flex;flex-direction:column;gap:22px}
  :root[data-hero="h"] .sub-hero .sh-copy h1{font-size:min(clamp(46px,5.4vw,86px),14.2cqi)!important;line-height:1.02!important;letter-spacing:-.045em!important;margin:0!important;max-width:none!important}
  :root[data-hero="h"] .sub-hero .sh-copy p{font-size:clamp(16px,1.25vw,18px)!important;line-height:1.55!important;max-width:42ch!important;margin:0!important}
  :root[data-hero="h"] #p-hero .sh-img .h-wide{left:-50%!important;width:150%!important;object-position:right 62%!important}
  :root[data-hero="h"] #p-hero::before{background:linear-gradient(90deg,rgba(18,40,36,.84) 0%,rgba(18,40,36,.62) 34%,rgba(18,40,36,.22) 52%,transparent 64%)!important}
}

/* Group cards: the text block is as tall as the tallest one, so the three logos line up */
@media (min-width:900px){
  #group .brands.stack{grid-template-rows:minmax(0,1fr) auto!important;height:clamp(460px,40vw,560px)}
  #group .brands.stack .btile{grid-row:1 / 3!important;display:grid!important;grid-template-rows:subgrid!important;grid-template-columns:minmax(0,1fr)!important;height:auto!important}
  #group .brands.stack .btile .img,#group .brands.stack .btile .body{grid-column:1!important}
  #group .brands.stack .btile .img{grid-row:1;min-height:0}
  #group .brands.stack .btile .body{grid-row:2}
}

/* H Careers head: only the real photo (the team) on the right, fading into deep green under the text */
@media (min-width:900px){
  :root[data-hero="h"] #c-hero .sh-img{background:radial-gradient(90% 100% at 0% 100%,#24433D,transparent 70%),#16302C!important}
  :root[data-hero="h"] #c-hero .sh-img img{position:absolute!important;top:0;bottom:0;right:0;left:auto!important;width:64%!important;height:100%!important;object-fit:cover!important;object-position:right center!important;transform:none!important;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 30%);mask-image:linear-gradient(90deg,transparent 0%,#000 30%)}
  :root[data-hero="h"] #c-hero::before{background:linear-gradient(90deg,rgba(18,40,36,.5) 0%,rgba(18,40,36,.2) 40%,transparent 60%)!important}
}

/* H Careers head on mobile: text on deep green at the top, the team photo below it fading in */
@media (max-width:899px){
  :root[data-hero="h"] #c-hero{min-height:0!important;align-items:flex-start!important;padding-bottom:calc(min(78vw,380px) - 24px)!important}
  :root[data-hero="h"] #c-hero .sh-img{background:#16302C!important}
  :root[data-hero="h"] #c-hero .sh-img img{position:absolute!important;left:0!important;right:0;bottom:0;top:auto!important;width:100%!important;height:min(78vw,380px)!important;object-fit:cover!important;object-position:78% 40%!important;transform:none!important;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 30%);mask-image:linear-gradient(180deg,transparent 0%,#000 30%)}
  :root[data-hero="h"] #c-hero::before{background:none!important}
  :root[data-hero="h"] #c-hero .sh-grid{padding:44px 24px 0!important}
}

/* Mobile menu: a two-line button in every layout's header opens the main links (and, on phones, Let's talk) in a panel */
.menu-btn{display:none}
nav[aria-label="Main"] .menu-talk{display:none!important}
@media (max-width:900px){
  .hv-nav,.he-nav,.hg-nav,.hh-nav{position:relative}
  .he-nav,.hg-nav,.hh-nav{grid-template-columns:1fr auto auto!important;column-gap:8px!important}
  .menu-btn{display:inline-grid;place-content:center;gap:6px;width:44px;height:44px;border-radius:50%;border:0;padding:0;cursor:pointer;color:inherit;background:rgba(17,22,20,.07)}
  .hv-nav .menu-btn,.hg-nav .menu-btn{background:rgba(255,255,255,.12)}
  .menu-btn span{display:block;width:18px;height:1.5px;border-radius:2px;background:currentColor;transition:transform .35s cubic-bezier(.2,.8,.1,1)}
  .menu-open .menu-btn span:first-child{transform:translateY(3.75px) rotate(45deg)}
  .menu-open .menu-btn span:last-child{transform:translateY(-3.75px) rotate(-45deg)}
  .menu-open nav[aria-label="Main"]{display:flex!important;flex-direction:column;gap:0!important;position:absolute;top:calc(100% + 10px);left:0;right:0;z-index:60;padding:8px!important;border-radius:22px;background:#FFFFFF;box-shadow:0 24px 60px rgba(17,22,20,.18);animation:menuIn .35s cubic-bezier(.2,.8,.1,1)}
  .menu-open nav[aria-label="Main"] a{display:block;padding:15px 18px!important;font-size:18px!important;color:#16241E!important;opacity:1!important;border-radius:14px;box-shadow:none!important}
  .menu-open nav[aria-label="Main"] a:hover,.menu-open nav[aria-label="Main"] a.cur{background:#F1F3EF}
  nav[aria-label="Main"] .menu-talk{display:none!important}
  .menu-open{z-index:70!important}
  .menu-open nav[aria-label="Main"] a::before,.menu-open nav[aria-label="Main"] a::after{display:none!important}
  .menu-open nav[aria-label="Main"] a{text-decoration:none!important;border:0!important}
}
@media (max-width:560px){
  .hv-talk,.he-btn,.hg-btn,.hh-btn:not(.hh-copy .hh-btn){display:none!important}
  .he-nav,.hg-nav,.hh-nav{grid-template-columns:1fr auto!important}
  .menu-open nav[aria-label="Main"] .menu-talk{display:block!important;margin-top:6px;text-align:center;background:#D9502E;color:#FFFFFF!important;font-weight:500}
}
@keyframes menuIn{from{opacity:0;transform:translateY(-6px)}}

/* Mobile: the map fades out on every side instead of ending in a hard rectangle */
@media (max-width:899px){
  #offices .map{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 6%,#000 88%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 14%,#000 84%,transparent 100%);-webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,transparent 0%,#000 6%,#000 88%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 14%,#000 84%,transparent 100%);mask-composite:intersect}
}
/* Mobile: principle cards fit the screen, the next one peeking in */
@media (max-width:560px){
  #drives .pr{flex:0 0 80vw!important}
  #drives .pr-card{aspect-ratio:auto!important;min-height:min(110vw,440px)}
}

/* Our mission: the trust section's drifting warm gradient, at half strength, in a rounded panel */
:root:not([data-hero="e"]) section#mission{position:relative;isolation:isolate;overflow:hidden;border-radius:28px;margin-left:12px!important;margin-right:12px!important;background:#F4EFE7!important}
:root:not([data-hero="e"]) section#mission::before,:root:not([data-hero="e"]) section#mission::after{content:"";position:absolute;inset:-35%!important;z-index:-1;pointer-events:none;filter:blur(60px);opacity:.5;will-change:transform}
:root:not([data-hero="e"]) section#mission::before{background:
  radial-gradient(38% 46% at 20% 72%,rgba(229,178,138,1),transparent 70%),
  radial-gradient(34% 30% at 78% 22%,rgba(236,216,180,.9),transparent 70%),
  radial-gradient(34% 40% at 70% 80%,rgba(205,200,214,1),transparent 70%),
  radial-gradient(34% 34% at 42% 32%,rgba(248,244,234,.85),transparent 70%)!important;
  animation:trustDriftA 22s ease-in-out infinite alternate}
:root:not([data-hero="e"]) section#mission::after{background:
  radial-gradient(26% 30% at 70% 60%,rgba(242,158,128,.38),transparent 70%),
  radial-gradient(30% 28% at 30% 25%,rgba(201,221,184,.45),transparent 70%)!important;
  mix-blend-mode:multiply;animation:trustDriftB 28s ease-in-out infinite alternate}
@media (prefers-reduced-motion:reduce){section#mission::before,section#mission::after{animation:none!important}}

/* H Partnerships head on mobile: same as Careers, text on deep green at the top, the doctor below */
@media (max-width:899px){
  :root[data-hero="h"] #p-hero{min-height:0!important;align-items:flex-start!important;padding:0!important;padding-bottom:calc(min(84vw,400px) - 24px)!important}
  :root[data-hero="h"] #p-hero .sh-img{background:#16302C!important}
  :root[data-hero="h"] #p-hero .sh-img .h-wide{display:none!important}
  :root[data-hero="h"] #p-hero .sh-img img:not(.h-wide){display:block!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;height:min(84vw,400px)!important;object-fit:cover!important;object-position:50% 22%!important;transform:none!important;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 30%)!important;mask-image:linear-gradient(180deg,transparent 0%,#000 30%)!important}
  :root[data-hero="h"] #p-hero::before{background:none!important}
  :root[data-hero="h"] #p-hero .sh-grid{padding:44px 24px 0!important;margin:0!important;max-width:none!important;width:100%!important;box-sizing:border-box}
  :root[data-hero="h"] #p-hero .sh-copy{max-width:none!important}
  :root[data-hero="h"] #p-hero .sh-copy h1{font-size:clamp(36px,10.5vw,48px)!important}
  :root[data-hero="h"] #c-hero{padding-left:0!important;padding-right:0!important}
  :root[data-hero="h"] #c-hero .sh-grid{margin:0!important;max-width:none!important;width:100%!important;box-sizing:border-box}
}

/* Our mission: no panel; the warm gradient sits on the page itself and fades out above and below */
:root:not([data-hero="e"]) section#mission{border-radius:0!important;margin-left:0!important;margin-right:0!important;background:transparent!important}
:root:not([data-hero="e"]) section#mission::before,:root:not([data-hero="e"]) section#mission::after{
  -webkit-mask-image:linear-gradient(180deg,transparent 22%,#000 36%,#000 64%,transparent 78%);mask-image:linear-gradient(180deg,transparent 22%,#000 36%,#000 64%,transparent 78%)}

/* H page heads are one family: Careers, like Partnerships and the home hero, is a full photo with the deep-green shade on the left */
@media (min-width:900px){
  :root[data-hero="h"] #c-hero .sh-img{background:#16302C!important}
  :root[data-hero="h"] #c-hero .sh-img img{left:0!important;right:0!important;width:100%!important;object-position:right 45%!important;-webkit-mask-image:none!important;mask-image:none!important}
  :root[data-hero="h"] #c-hero::before{background:linear-gradient(90deg,rgba(18,40,36,.86) 0%,rgba(18,40,36,.72) 30%,rgba(18,40,36,.3) 50%,transparent 64%)!important}
}

/* Principles on mobile: cards start on the heading's edge, are only as tall as their content, and the section is tighter */
@media (max-width:899px){
  section#drives{padding-top:56px!important;padding-bottom:48px!important}
  #drives .car-head,#drives .car-title{margin-bottom:24px!important}
  #drives .car-track{padding-left:var(--drives-x,28px)!important;scroll-padding-left:var(--drives-x,28px)!important;padding-right:28px!important}
  #drives .pr{flex:0 0 min(80vw,340px)!important}
  #drives .pr-card{aspect-ratio:auto!important;min-height:0!important;padding:24px 24px 0!important}
  #drives .pr-card .pr-art,#drives .pr-card .pr-art.pr-viz{margin-top:auto!important;padding-top:28px!important}
}

/* H on mobile: every page head is one pattern. Text on deep green at the top, the photo below fading in, same sizes everywhere */
@media (max-width:899px){
  :root{--mh-photo:min(80vw,340px)}
  .hh-card{height:auto!important;min-height:0!important;background:#16302C!important;justify-content:flex-start!important;padding-bottom:calc(var(--mh-photo) - 24px)!important}
  .hh-card::before{background:none!important}
  .hh-card > img:not(.hh-orig),.hh-card > .hh-v{top:auto!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;height:var(--mh-photo)!important;object-position:96% 45%!important;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 30%)!important;mask-image:linear-gradient(180deg,transparent 0%,#000 30%)!important}
  .hh-copy{padding:40px 24px 0!important;gap:14px!important;text-shadow:none!important}
  :root[data-hero="h"] #p-hero,:root[data-hero="h"] #c-hero{padding-bottom:calc(var(--mh-photo) - 24px)!important}
  :root[data-hero="h"] #p-hero .sh-img img:not(.h-wide),:root[data-hero="h"] #c-hero .sh-img img{height:var(--mh-photo)!important}
  :root[data-hero="h"] #p-hero .sh-grid,:root[data-hero="h"] #c-hero .sh-grid{padding:40px 24px 0!important}
  .hh-copy h1,:root[data-hero="h"] #p-hero .sh-copy h1,:root[data-hero="h"] #c-hero .sh-copy h1{font-size:clamp(38px,11vw,48px)!important;line-height:1.02!important;letter-spacing:-.045em!important}
  .hh-copy p,:root[data-hero="h"] #p-hero .sh-copy p,:root[data-hero="h"] #c-hero .sh-copy p{font-size:15px!important;line-height:1.55!important}
  :root[data-hero="h"] #p-hero .sh-copy,:root[data-hero="h"] #c-hero .sh-copy{gap:14px!important}
}

/* Our mission: the gradient is not clipped at the section edge; it runs on down behind the next section and fades out there */
:root:not([data-hero="e"]) section#mission{overflow:visible!important;z-index:0}
:root:not([data-hero="e"]) section#mission + section{position:relative;z-index:1}
:root:not([data-hero="e"]) section#mission::before,:root:not([data-hero="e"]) section#mission::after{
  -webkit-mask-image:linear-gradient(180deg,transparent 16%,#000 32%,#000 70%,transparent 100%)!important;mask-image:linear-gradient(180deg,transparent 16%,#000 32%,#000 70%,transparent 100%)!important}

/* H on mobile: every page head is the home hero's height; on the sub-pages the photo takes whatever room the text leaves */
@media (max-width:899px){
  :root{--mh-h:calc(var(--mh-photo) + 184px)}
  .hh-card{height:var(--mh-h)!important;padding-bottom:0!important}
  :root[data-hero="h"] #p-hero,:root[data-hero="h"] #c-hero{height:var(--mh-h)!important;min-height:0!important;padding-bottom:0!important;flex-direction:column!important;align-items:stretch!important}
  :root[data-hero="h"][data-view="partners"] #p-hero,:root[data-hero="h"][data-view="careers"] #c-hero{display:flex!important}
  :root[data-hero="h"] #p-hero,:root[data-hero="h"] #c-hero{padding-top:0!important}
  :root[data-hero="h"] #p-hero .sh-grid,:root[data-hero="h"] #c-hero .sh-grid{flex:1 1 auto;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;min-height:0}
  :root[data-hero="h"] #p-hero .sh-copy,:root[data-hero="h"] #c-hero .sh-copy{flex:none;position:relative;z-index:1}
  :root[data-hero="h"] #p-hero .sh-img,:root[data-hero="h"] #c-hero .sh-img{position:relative!important;inset:auto!important;flex:1 1 auto;min-height:0;margin:-8px -24px 0!important;background:none!important;z-index:0;border-radius:0!important}
  :root[data-hero="h"] #p-hero .sh-img img:not(.h-wide),:root[data-hero="h"] #c-hero .sh-img img{top:0!important;bottom:0!important;height:100%!important}
  :root[data-hero="h"] #p-hero,:root[data-hero="h"] #c-hero{background:#16302C!important}
}

/* H home hero on mobile: the photo is enlarged a little and shifted so the woman sits in the centre of the frame */
@media (max-width:899px){
  .hh-card > img:not(.hh-orig),.hh-card > .hh-v{left:-214%!important;right:auto!important;width:316%!important;max-width:none!important;object-fit:cover!important;object-position:50% 58%!important}
}

/* H hero on desktop: the card never grows wider than the screen; it is a screen tall, or the photo's own proportion if that is taller */
@media (min-width:900px){
  :root[data-hero="h"] .hh-card{aspect-ratio:auto!important;width:auto!important;min-height:0!important;height:max(calc(100svh - 4px),calc((100vw - 24px) / 2.05))!important}
}

/* H Partnerships head on wide screens: the crop sits a little higher so her head stays in frame along with the stethoscope */
@media (min-width:1500px){:root[data-hero="h"] #p-hero{min-height:min(78vh,760px)!important}:root[data-hero="h"] #p-hero .sh-img .h-wide{left:-18%!important;width:118%!important;object-position:right 12%!important}}

/* H page heads: one heading size on every page (home, Partnerships, Careers) */
@media (min-width:900px){
  :root[data-hero="h"] .hh-copy h1,:root[data-hero="h"] #p-hero .sh-copy h1,:root[data-hero="h"] #c-hero .sh-copy h1{font-size:clamp(46px,5vw,76px)!important;line-height:1.02!important;letter-spacing:-.045em!important;font-weight:300!important}
  :root[data-hero="h"] .hh-copy,:root[data-hero="h"] #p-hero .sh-copy,:root[data-hero="h"] #c-hero .sh-copy{max-width:660px!important}
  :root[data-hero="h"] #c-hero .sh-copy h1{max-width:8.6em!important}
}

/* H page heads on desktop: the home hero, Partnerships and Careers share one height and start at the same line */
@media (min-width:900px){
  :root[data-hero="h"] .hh-card{height:min(70vh,640px)!important;min-height:0!important;aspect-ratio:auto!important;margin-top:8px!important}
  :root[data-hero="h"] #p-hero,:root[data-hero="h"] #c-hero{min-height:0!important;height:min(70vh,640px)!important}
}
@media (min-width:1500px){
  :root[data-hero="h"] .hh-card,:root[data-hero="h"] #p-hero,:root[data-hero="h"] #c-hero{height:min(78vh,760px)!important}
}

/* H home hero on desktop: a closer, more dominant woman. The photo is enlarged and anchored so she fills the right side, head near the top */
@media (min-width:900px){
  :root[data-hero="h"] .hh-card{container-type:inline-size}
  :root[data-hero="h"] .hh-card > img:not(.hh-orig),:root[data-hero="h"] .hh-card > .hh-v{inset:auto!important;left:-55%!important;bottom:-8cqw!important;top:auto!important;right:auto!important;width:155%!important;max-width:none!important;height:auto!important;aspect-ratio:2000/979;object-fit:cover!important;object-position:50% 50%!important}
}

@media (min-width:1500px){:root[data-hero="h"] .hh-card > img:not(.hh-orig),:root[data-hero="h"] .hh-card > .hh-v{bottom:-15cqw!important}}
/* Group on desktop: two compact brand cards, centred under a centred heading */
@media (min-width:900px){
  #group .sec-head{text-align:center!important;align-items:center!important;margin-inline:auto!important}
  #group .sec-head h2{margin-inline:auto!important}
  #group .brands.stack{max-width:860px!important;margin-inline:auto!important;height:auto!important;grid-template-rows:auto auto!important}
  #group .brands.stack .btile{height:auto!important}
  #group .brands.stack .btile .img{flex:none!important;width:auto!important;height:auto!important;aspect-ratio:16/10!important}
  #group .brands.stack .btile .body{padding:22px 18px 18px!important}
  #group .brands.stack .btile .blogo{font-size:34px!important}
  #group .brands.stack .btile .body p{font-size:15px!important}
}

/* ---------- Our technology: five pillars on one connecting line, an ecosystem ---------- */
section#tech{position:relative;isolation:isolate;overflow:hidden;border-radius:28px;margin-left:12px!important;margin-right:12px!important;background:#16302C!important;color:#F3F1EA;
  --ink:#F3F1EA;--ink-2:#B9C6BF;--line:#2A4540}
section#tech::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(60% 80% at 85% 0%,rgba(127,201,170,.16),transparent 60%),radial-gradient(50% 70% at 0% 100%,rgba(242,158,128,.10),transparent 60%)}
#tech .car-title .label,#tech .car-title h2{color:#F3F1EA!important}
#tech .sec-head.car-head{display:block!important;max-width:1120px;margin:0 auto 44px!important;text-align:left!important}
#tech .car-title{max-width:none!important;margin:0!important;text-align:left!important;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
#tech .car-title h2{width:auto!important;margin:0!important;white-space:normal!important;text-wrap:balance!important;max-width:24ch}
#tech .eco{max-width:1120px;margin-left:auto;margin-right:auto}
#tech .eco{position:relative;margin-top:8px}
#tech .eco-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;position:relative}
#tech .eco-list::before{content:"";position:absolute;top:31px;left:10%;right:10%;height:1px;background:repeating-linear-gradient(90deg,rgba(184,230,207,.7) 0 6px,transparent 6px 12px);transform-origin:left;transform:scaleX(0);transition:transform 1.4s cubic-bezier(.45,.05,.2,1)}
#tech .eco.on .eco-list::before{transform:none;animation:ecoFlow 1.4s linear 1.4s infinite}
@keyframes ecoFlow{to{background-position:12px 0}}
#tech .eco-item{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:0 4px;opacity:0;transform:translateY(14px);transition:opacity .7s ease calc(.3s + var(--i)*.18s),transform .8s cubic-bezier(.2,.8,.1,1) calc(.3s + var(--i)*.18s)}
#tech .eco.on .eco-item{opacity:1;transform:none}
#tech .eco-ic{position:relative;z-index:1;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#1F3D37;border:1px solid rgba(184,230,207,.45);color:#B8E6CF;box-shadow:0 0 0 6px #16302C;transition:background .35s ease,color .35s ease,transform .45s cubic-bezier(.2,.8,.1,1)}
#tech .eco-ic svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#tech .eco-item:hover .eco-ic{background:#B8E6CF;color:#16302C;transform:translateY(-3px)}
#tech .eco-item h3{margin:6px 0 0;font-size:clamp(18px,1.45vw,21px);font-weight:500;letter-spacing:-.02em;line-height:1.2;color:#F3F1EA}
#tech .eco-item p{margin:0;font-size:15px;line-height:1.5;color:#B9C6BF;max-width:30ch}
@media (max-width:899px){
  #tech .eco-list{grid-template-columns:1fr;gap:28px}
  #tech .eco-list::before{top:31px;bottom:31px;left:31px;right:auto;width:1px;height:auto;background:repeating-linear-gradient(180deg,rgba(184,230,207,.7) 0 6px,transparent 6px 12px);transform-origin:top;transform:scaleY(0)}
  #tech .eco.on .eco-list::before{transform:none;animation:none}
  #tech .eco-item{display:grid;grid-template-columns:62px 1fr;column-gap:18px;row-gap:6px;align-items:start}
  #tech .eco-ic{grid-row:1 / span 2}
  #tech .eco-item h3{margin:14px 0 0}
}
@media (prefers-reduced-motion:reduce){#tech .eco-item{opacity:1;transform:none;transition:none}#tech .eco-list::before{transform:none;transition:none;animation:none!important}}

/* What drives us: the carousel can be dragged with the mouse */
#drives .car-track{cursor:grab}
#drives .car-track.dragging{cursor:grabbing;scroll-snap-type:none!important;scroll-behavior:auto!important;user-select:none}
#drives .car-track.dragging *{pointer-events:none}
/* What drives us on desktop: four cards fit the section, no side scroll and no arrows */
@media (min-width:900px){
  section#drives .car-nav{display:none!important}
  section#drives .car-track{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;width:auto!important;max-width:1120px!important;margin:0 auto!important;padding:0!important;overflow:visible!important;scroll-snap-type:none!important;cursor:auto}
  section#drives .pr{flex:none!important;min-width:0}
  section#drives .pr-card{padding:26px 24px 24px!important}
}
/* Footer: logo and a short line on the left; address and email on the right; copyright below */
footer .foot-top.foot-wz{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(32px,6vw,96px)!important;align-items:start!important;text-align:left}
footer .foot-wz .foot-brand{align-items:flex-start!important;gap:18px!important}
footer .foot-about{margin:0;max-width:40ch;font-size:15px;line-height:1.6;color:var(--ink-2)}
footer .foot-cols{display:grid;grid-template-columns:repeat(2,minmax(0,auto));justify-content:end;gap:clamp(32px,5vw,72px)}
footer .foot-col{display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.6}
footer .foot-h{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ink)}
footer .foot-col address{font-style:normal;color:var(--ink-2)}
footer .foot-col a{color:var(--ink-2);text-decoration:none;transition:color .2s ease}
footer .foot-col a:hover{color:var(--ink)}
footer .legal{justify-content:flex-start!important}
@media (max-width:760px){
  footer .foot-top.foot-wz{grid-template-columns:1fr;text-align:left!important;gap:32px!important}
  footer .foot-wz .foot-brand{align-items:flex-start!important}
  footer .foot-cols{grid-template-columns:1fr;justify-content:start;gap:24px}
  footer .legal{align-items:flex-start!important;text-align:left!important}
}
/* Our technology on desktop: each title and line of text sits centred under its icon; the line runs centre to centre */
@media (min-width:900px){
  #tech li.eco-item{align-items:center!important;text-align:center}
  #tech .eco-item p{margin:0 auto}
  #tech ol.eco-list::before{left:calc((100% - 80px) / 10)!important;right:calc((100% - 80px) / 10)!important}
  #tech .sec-head.car-head,#tech .sec-head .car-title{text-align:center!important;align-items:center!important}
  #tech .sec-head .car-title .label{justify-content:center!important}
  #tech .sec-head .car-title h2{margin:0 auto!important}
}
/* Doctor cards: keep the whole head in frame when a card opens */
#team .docs .doc .ph img{object-position:50% 6%!important;transform-origin:50% 0}
/* Map on desktop: the countries sit centred on the text block beside them (framed by the map's viewBox) */


/* Trust: three areas under the heading (details pending confirmation) */
.trust-areas{list-style:none;margin:8px auto 40px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:900px}
.trust-areas li{display:flex;align-items:center;gap:14px;padding:18px 20px;border-radius:18px;background:rgba(255,255,255,.55);border:1px solid rgba(31,42,37,.08)}
.trust-areas .ta-ic{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#16302C;color:#B8E6CF}
.trust-areas svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.trust-areas h4{margin:0;font-size:17px;font-weight:500;letter-spacing:-.01em;color:#1F2A25}
@media (max-width:760px){.trust-areas{grid-template-columns:1fr}}

/* Social links: careers and footer */
.social{list-style:none;margin:20px auto 0;padding:0;display:flex;gap:10px;max-width:1100px}
.social a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:var(--ink);border:1px solid var(--line);transition:background .25s ease,color .25s ease,border-color .25s ease}
.social a:hover{background:var(--ink);color:var(--bg,#fff);border-color:var(--ink)}
.social svg{width:18px;height:18px;fill:currentColor}
.social-foot{margin:0;gap:8px}
.social-foot a{width:34px;height:34px}
.social-foot svg{width:15px;height:15px}

/* Trust areas, cleaner: one quiet row, small line icons, thin dividers, no boxes */
#trust .trust-areas{display:flex!important;justify-content:center;flex-wrap:wrap;gap:0!important;max-width:none!important;width:auto!important;margin:4px auto 44px!important}
#trust .trust-areas li{background:none!important;border:0!important;border-radius:0!important;padding:4px 28px!important;gap:10px!important}
#trust .trust-areas li + li{border-left:1px solid rgba(31,42,37,.18)!important}
#trust .trust-areas .ta-ic{width:auto!important;height:auto!important;background:none!important;color:#2E5A52!important;border-radius:0!important}
#trust .trust-areas svg{width:20px!important;height:20px!important;stroke-width:1.5!important}
#trust .trust-areas h4{font-size:16px!important;font-weight:400!important;color:#1F2A25!important}
@media (max-width:760px){
  #trust .trust-areas{flex-direction:column;align-items:center}
  #trust .trust-areas li{padding:12px 0!important}
  #trust .trust-areas li + li{border-left:0!important;border-top:1px solid rgba(31,42,37,.14)!important}
}

/* Our technology: the line runs exactly from the first icon's centre to the last one's, and meets each icon */
@media (min-width:900px){
  #tech .eco-list::before{left:35px!important;right:calc((100% - 80px) / 5 - 35px)!important}
}
#tech .eco-ic{box-shadow:none!important}

/* Platform cards: the description is never clipped on hover (older hover rule capped its height) */
#group .brands.stack .btile:is(:hover,:focus-visible,:focus-within) .body p,#group .brands.stack .btile .body p{max-height:none!important;overflow:visible!important}

/* Our technology on mobile: the line runs icon to icon (one segment per pillar) and stops at the last icon */
@media (max-width:899px){
  #tech .eco-list::before{display:none!important}
  #tech .eco-item:not(:last-child)::after{content:"";position:absolute;left:31px;top:31px;height:calc(100% + 28px);width:1px;z-index:0;
    background:repeating-linear-gradient(180deg,rgba(184,230,207,.7) 0 6px,transparent 6px 12px);transform-origin:top;transform:scaleY(0);transition:transform .6s ease calc(.4s + var(--i)*.18s)}
  #tech .eco.on .eco-item::after{transform:none}
  #tech .eco-item{position:relative}
}
@media (max-width:899px) and (prefers-reduced-motion:reduce){#tech .eco-item::after{transform:none!important;transition:none!important}}

/* Trust areas on mobile: one centred column of equal width, icons and text on a shared left edge */
@media (max-width:760px){
  #trust .trust-areas{align-items:stretch!important;width:max-content!important;max-width:100%!important}
  #trust .trust-areas li{justify-content:flex-start!important;padding:12px 4px!important}
}

/* H Careers head on mobile: crop to the photo's right edge so the whole group sits in the middle of the frame */
@media (max-width:899px){:root[data-hero="h"] #c-hero .sh-img img{object-position:100% 45%!important}}

/* Footer: social icons sit under the logo */
.foot-brand{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.foot-brand .social-foot{margin:0!important}

/* H on mobile: room for the four-line hero description; all three page heads stay one height and the home photo starts below the text */
@media (max-width:899px){
  :root{--mh-h:calc(var(--mh-photo) + 240px)}
  .hh-card > img:not(.hh-orig),.hh-card > .hh-v{height:calc(var(--mh-h) - 236px)!important}
}

/* Footer: social icons on the right, after the navigation, as plain icons behind a thin divider */
.foot-right{display:flex;align-items:center;gap:28px}
.foot-right .social-foot{margin:0!important;gap:18px!important;padding-left:28px;border-left:1px solid var(--line)}
.foot-right .social-foot a{width:auto!important;height:auto!important;border:0!important;background:none!important;opacity:.7;transition:opacity .2s ease}
.foot-right .social-foot a:hover{opacity:1;color:var(--ink)!important}
.foot-right .social-foot svg{width:17px!important;height:17px!important}
@media (max-width:760px){
  .foot-right{flex-direction:column;align-items:flex-start;gap:18px}
  .foot-right .social-foot{padding-left:0;border-left:0}
}

/* Footer on mobile: everything centred */
@media (max-width:760px){
  footer .foot-top{flex-direction:column!important;align-items:center!important;text-align:center;gap:22px!important}
  footer .foot-brand{align-items:center!important}
  footer .foot-right{align-items:center!important}
  footer .foot-nav{justify-content:center!important;flex-wrap:wrap}
  footer .foot-right .social-foot{justify-content:center}
  footer .legal{flex-direction:column!important;align-items:center!important;gap:10px!important;text-align:center}
}

/* Partner types on mobile: stacking cards. Each pins under the header, the next slides over it, and the covered one eases back */
#p-types{overflow:clip!important}
@media (max-width:899px){
  #p-types .pcards{display:block!important}
  #p-types .pcards li{position:sticky!important;top:calc(84px + var(--i,0) * 14px);margin:0 0 20px!important;transform-origin:50% 0;
    transform:scale(var(--sc,1));filter:brightness(var(--br,1));box-shadow:0 -1px 0 rgba(17,22,20,.04),0 24px 50px rgba(17,22,20,.16);will-change:transform}
  #p-types .pcards li:last-child{margin-bottom:0!important}
  #p-types .pcards .ph{aspect-ratio:4/5}
}
@media (max-width:899px) and (prefers-reduced-motion:reduce){#p-types .pcards li{transform:none!important;filter:none!important}}

/* H-only build: no layout switcher */
.switch{display:none!important}


/* What drives us: dot-matrix cards. A deep green panel; each card carries a live dot field (the same dots as the map) above its title and line of copy */
html section#drives{background:#16302C!important;background-image:none!important;color:#EEF4F1;border-radius:28px;margin-left:12px!important;margin-right:12px!important;padding-top:clamp(64px,7vw,96px)!important;padding-bottom:clamp(64px,7vw,96px)!important;isolation:isolate;overflow:hidden}
html section#drives::before,html section#drives::after{display:none!important}
html section#drives .car-title .label,html section#drives .car-title h2,html section#drives .sec-head h2{color:#EEF4F1!important}
html section#drives .pr,html section#drives .pr:nth-child(n){background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
html section#drives .pr-card,html section#drives .pr:nth-child(n) .pr-card{--tint:none;background:linear-gradient(180deg,#1D3B36,#17332E)!important;border:1px solid rgba(221,243,232,.10);border-radius:22px!important;box-shadow:none!important;color:#EEF4F1!important;padding:0!important;aspect-ratio:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;gap:0!important;overflow:hidden;transition:border-color .4s ease,transform .5s cubic-bezier(.2,.8,.1,1)}
html section#drives .pr:hover .pr-card{border-color:rgba(221,243,232,.32);transform:translateY(-4px)}
html section#drives .pr-card .pr-art,html section#drives .pr-card .pr-art.pr-viz{display:none!important}
html section#drives .pr-dots{display:block;width:100%;height:clamp(190px,17vw,220px);order:0;flex:none}
html section#drives .pr-card h3{order:2;margin:26px 24px 10px!important;color:#EEF4F1!important;font-weight:400!important;font-size:clamp(20px,1.7vw,24px)!important;letter-spacing:-.02em;line-height:1.2;max-width:none!important}
html section#drives .pr-card p{order:3;margin:0 24px 26px!important;color:#A9BDB4!important;font-size:14.5px!important;line-height:1.55;max-width:none!important}
@media (max-width:899px){html section#drives{margin-left:8px!important;margin-right:8px!important}html section#drives .pr-card,html section#drives .pr:nth-child(n) .pr-card{min-height:0!important;height:100%}}


/* Page rhythm: Our technology becomes a light sage panel, so the deep green is kept for the hero, What drives us and the advisory board */
html section#tech{background:#E3EEE7!important;color:#16302C}
html section#tech::before{background:radial-gradient(60% 80% at 85% 0%,rgba(127,201,170,.35),transparent 60%),radial-gradient(50% 70% at 0% 100%,rgba(242,158,128,.16),transparent 60%)!important}
html section#tech .car-title .label,html section#tech .car-title h2{color:#16302C!important}
html section#tech .eco-ic{background:#FFFFFF!important;border-color:rgba(22,48,44,.14)!important;color:#16302C!important}
html section#tech .eco-item:hover .eco-ic{background:#16302C!important;color:#DDF3E8!important}
html section#tech .eco-item h3{color:#16302C!important}
html section#tech .eco-item p{color:#4F5E57!important}
html section#tech .eco-list::before{background:repeating-linear-gradient(90deg,rgba(22,48,44,.35) 0 6px,transparent 6px 12px)!important}
@media (max-width:899px){html section#tech .eco-item:not(:last-child)::after{background:repeating-linear-gradient(180deg,rgba(22,48,44,.35) 0 6px,transparent 6px 12px)!important}}


/* Medical Advisory Board: warm sand, full width, no panel frame; it fades in from the page ground above and back out below */
html:root section#team#team{--bg:#EFE6D8;--ink:#16302C;--ink-2:#5E6A63;--line:#DED3C1;background:#EFE6D8!important;background-image:linear-gradient(180deg,#F6F3E8 0,#EFE6D8 140px,#EFE6D8 calc(100% - 140px),#F6F3E8 100%)!important;color:#16302C;margin-left:0!important;margin-right:0!important;border-radius:0!important;box-shadow:none!important}
html:root section#team#team .sec-head h2,html:root section#team#team .sec-head .label{color:#16302C!important}
html:root section#team#team .sec-head p{color:#5E6A63!important}
html:root section#team#team .docs .doc{background:#DCD0BD}


/* Our platforms: no panel frame; the cards sit straight on the page ground */
html:root section#group#group{background:transparent!important;border-radius:0!important;margin-left:0!important;margin-right:0!important;box-shadow:none!important}


/* One palette for the whole page: cream ground, warm sand, peach as the accent and the brand's deep green as the only dark. No sage, lilac or brown. */
/* Mission: warm peach glow only */
html:root section#mission#mission::before{background:
  radial-gradient(38% 46% at 24% 66%,rgba(236,186,152,1),transparent 70%),
  radial-gradient(34% 30% at 76% 30%,rgba(238,220,190,.9),transparent 70%),
  radial-gradient(34% 34% at 50% 40%,rgba(248,244,234,.6),transparent 70%)!important}
html:root section#mission#mission::after{background:radial-gradient(26% 30% at 70% 62%,rgba(242,158,128,.3),transparent 70%)!important}
/* Our technology: a warm sand panel */
html:root section#tech#tech{background:#E7D3BC!important}
html:root section#tech#tech::before{display:block!important;background:radial-gradient(55% 70% at 88% 0%,rgba(242,158,128,.38),transparent 60%),radial-gradient(45% 60% at 8% 100%,rgba(239,184,156,.35),transparent 60%)!important}
html:root section#tech#tech .eco-ic{background:#FBF8F2!important;border-color:rgba(22,48,44,.12)!important}
html:root section#tech#tech .eco-item:hover .eco-ic{background:#16302C!important;border-color:#16302C!important;color:#F6F3E8!important}
/* Our platforms: peach and the brand's deep green */
html:root body #group#group .brands.stack .btile:nth-child(2){--card:#16302C!important;color:#F4F2EC!important}
html:root body #group#group .brands.stack .btile:nth-child(2) .blogo,html:root body #group#group .brands.stack .btile:nth-child(2) .go{color:#F4F2EC!important}
html:root body #group#group .brands.stack .btile:nth-child(2) .body p{color:rgba(244,242,236,.8)!important}
/* Our standards: the same warm peach glow as the mission, inside its panel */
html:root body section#trust#trust{background:#F5EDE4!important}
html:root body section#trust#trust::before,html:root body section#trust#trust::after{opacity:.8}
html:root body section#trust#trust::before{background:
  radial-gradient(30% 34% at 30% 34%,rgba(236,186,152,1),transparent 70%),
  radial-gradient(34% 40% at 70% 70%,rgba(240,206,182,.95),transparent 70%),
  radial-gradient(28% 30% at 68% 30%,rgba(238,222,198,.9),transparent 70%),
  radial-gradient(30% 30% at 46% 56%,rgba(250,246,238,.55),transparent 70%)!important}
html:root body section#trust#trust::after{background:radial-gradient(24% 28% at 60% 58%,rgba(242,158,128,.3),transparent 70%)!important}


/* Our platforms: frosted-glass cards over a slow-moving glow in peach, sand and a hint of deep green; the card photos are the only images in the section, and the glow fades into the page at the top and bottom */
html:root body section#group#group{background:transparent!important;position:relative;z-index:0;isolation:isolate;overflow-x:clip!important;overflow-y:visible!important;padding-bottom:clamp(96px,9vw,140px)!important}
html:root body #group#group .brands.stack .btile,html:root body #group#group .brands.stack .btile:nth-child(n){--card:transparent!important;background:linear-gradient(160deg,rgba(255,255,255,.8),rgba(255,255,255,.58))!important;-webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%);border:1px solid rgba(255,255,255,.55)!important;box-shadow:0 24px 60px rgba(17,22,20,.16)!important;color:#16302C!important;filter:none!important}
html:root body #group#group .brands.stack .btile:nth-child(1){background:linear-gradient(160deg,rgba(248,196,172,.82),rgba(255,240,232,.66))!important}
html:root body #group#group .brands.stack .btile:nth-child(2){background:linear-gradient(160deg,rgba(255,255,255,.84),rgba(246,243,236,.64))!important}
html:root body #group#group .brands.stack .btile .blogo,html:root body #group#group .brands.stack .btile .go,html:root body #group#group .brands.stack .btile:nth-child(n) .blogo,html:root body #group#group .brands.stack .btile:nth-child(n) .go{color:#16302C!important}
html:root body #group#group .brands.stack .btile .body p,html:root body #group#group .brands.stack .btile:nth-child(n) .body p{color:rgba(22,48,44,.82)!important}
html:root body section#group#group .sec-head .label,html:root body section#group#group .sec-head h2{color:#16302C!important}
html:root section#tech#tech{position:relative;z-index:2}
html:root body section#group#group::before{content:"";position:absolute;inset:-70% -30% -20%;z-index:-1;pointer-events:none;filter:blur(70px);background:
  radial-gradient(30% 36% at 30% 36%,rgba(239,184,156,.55),transparent 70%),
  radial-gradient(30% 36% at 70% 62%,rgba(22,48,44,.30),transparent 70%),
  radial-gradient(28% 30% at 70% 30%,rgba(236,220,190,.9),transparent 70%),
  radial-gradient(26% 30% at 32% 74%,rgba(242,158,128,.28),transparent 70%);
  -webkit-mask-image:linear-gradient(180deg,transparent 4%,#000 34%,#000 78%,transparent 95%);mask-image:linear-gradient(180deg,transparent 4%,#000 34%,#000 78%,transparent 95%);
  animation:groupDrift 20s ease-in-out infinite alternate}
@keyframes groupDrift{0%{transform:translate(0,0) rotate(0)}100%{transform:translate(5%,-4%) rotate(10deg)}}
@media (prefers-reduced-motion:reduce){html:root body section#group#group::before{animation:none}}


/* What drives us slides up over Our platforms: platforms holds in place at the bottom of the screen and eases back (slightly smaller and dimmer) as the green panel rises over it, and is gone by the time the panel reaches the top */
html:root body section#group#group{position:sticky!important;top:var(--gtop,0px);z-index:0;transform:scale(var(--gs,1));transform-origin:50% 100%;filter:brightness(var(--gb2,1));opacity:var(--go,1);will-change:transform}
html:root body section#drives#drives{position:relative;z-index:3}


/* Mobile: the home hero photo (rotated top-down shot) fills the whole card, text sits on the grass, no green block */
@media (max-width:899px){
  html:root .hh-card{background:transparent!important;padding-bottom:0!important}
  html:root .hh-card::before{background:linear-gradient(180deg,rgba(12,32,28,.78) 0%,rgba(12,32,28,.66) 38%,rgba(12,32,28,.3) 58%,rgba(12,32,28,0) 72%)!important}
  html:root .hh-card > img:not(.hh-orig),html:root .hh-card > .hh-v{inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:50% 85%!important;-webkit-mask-image:none!important;mask-image:none!important}
  html:root .hh-copy{text-shadow:0 1px 2px rgba(8,24,20,.35),0 2px 22px rgba(8,24,20,.6)!important}
  /* no stacking cards on mobile: cards simply follow one another */
  html:root #group .brands.stack .btile{position:relative!important;top:auto!important;transform:none!important;filter:none!important;margin:0 0 16px!important}
  html:root #group .brands.stack .btile:last-child{margin-bottom:0!important}
}


/* ===== Floating pill nav (desktop): sits at the bottom of the hero, then rides along at the top ===== */
.pill-nav{display:none}
@media (min-width:900px){
  .pill-nav{position:fixed;left:50%;top:-200px;transform:translateX(-50%);z-index:80;display:flex;align-items:center;gap:6px;padding:6px 6px 6px 16px;border-radius:999px;
    background:rgba(18,40,35,.52);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);border:1px solid rgba(255,255,255,.16);
    box-shadow:0 10px 30px rgba(10,24,20,.18);color:#F4F2EC;transition:background .3s ease,box-shadow .3s ease}
  .pill-nav.is-top{background:rgba(18,40,35,.82)}
  .pill-nav .pn-logo{display:inline-flex;align-items:center;gap:0;font-size:19px;line-height:1;color:#F4F2EC;margin-right:12px;text-decoration:none;white-space:nowrap}
  .pill-nav .pn-logo .mark{width:22px;height:22px;flex:none}
  .pill-nav .pn-logo .w{display:inline-block;overflow:hidden;max-width:140px;padding-left:8px;opacity:1;letter-spacing:-.035em;
    transition:max-width .45s cubic-bezier(.2,.8,.1,1),padding .45s cubic-bezier(.2,.8,.1,1),opacity .25s ease}
  .pill-nav .pn-logo .w b{font-weight:800}
  .pill-nav .pn-logo .w span{font-weight:300}
  /* past the hero: the wordmark folds away and only the mark stays */
  .pill-nav.is-top .pn-logo .w{max-width:0;padding-left:0;opacity:0}
  /* the logo now lives in the pill, so the old top bar is not needed on desktop */
  html:root .hh-nav{display:none!important}
  html:root .hh-card{margin-top:12px!important}
  .pill-nav nav{display:flex;gap:2px}
  .pill-nav nav a{padding:9px 14px;border-radius:999px;font-size:14px;font-weight:500;color:inherit;text-decoration:none;transition:background .2s ease}
  .pill-nav nav a:hover{background:rgba(255,255,255,.12)}
  .pill-nav nav a.cur{background:rgba(255,255,255,.16)}
  .pill-nav .pn-cta{margin-left:6px;padding:10px 18px;border-radius:999px;background:#D14A27;color:#fff;font-size:14px;font-weight:600;text-decoration:none;transition:filter .2s ease}
  .pill-nav .pn-cta:hover{filter:brightness(1.08)}
}

/* Nav: the compact pill layout, in light frosted colours */
@media (min-width:900px){
  html:root .pill-nav{gap:6px;padding:6px 6px 6px 16px;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(246,243,232,.18));-webkit-backdrop-filter:blur(22px) saturate(1.6) brightness(1.08);backdrop-filter:blur(22px) saturate(1.6) brightness(1.08);
    border:1px solid rgba(255,255,255,.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),inset 0 -1px 0 rgba(255,255,255,.12),0 10px 30px rgba(18,34,30,.14);color:#16302C}
  html:root .pill-nav.is-top{background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(246,243,232,.42))}
  html:root .pill-nav .pn-logo{color:#16302C;margin-right:12px}
  html:root .pill-nav nav{gap:2px}
  html:root .pill-nav nav a{padding:9px 14px;border-radius:999px;font-size:14px;font-weight:500;color:#2C4A43;background:none}
  html:root .pill-nav nav a:hover{background:rgba(22,48,44,.07)}
  html:root .pill-nav nav a.cur{background:rgba(22,48,44,.11);color:#16302C}
  html:root .pill-nav .pn-cta{margin-left:6px;padding:10px 18px;border-radius:999px;background:#D14A27;color:#fff;font-size:14px;font-weight:600}
}

/* Glass nav: one frosted light layer (reference transparency), dark text, on the photo and on the page */
@media (min-width:900px){
  html:root .pill-nav,html:root .pill-nav.is-top{background:rgba(226,229,221,.62)!important;-webkit-backdrop-filter:blur(20px) saturate(1.15);backdrop-filter:blur(20px) saturate(1.15);
    border:1px solid rgba(255,255,255,.32);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 8px 26px rgba(16,30,26,.12);color:#22342F}
  html:root .pill-nav .pn-logo,html:root .pill-nav nav a{color:#2A3D38}
  html:root .pill-nav nav a:hover{background:rgba(22,48,44,.08)}
  html:root .pill-nav nav a.cur{background:rgba(255,255,255,.82);color:#16302C;font-weight:600;box-shadow:0 1px 2px rgba(16,30,26,.10)}
}

/* Platform cards: the description runs the full width of the card */
html:root #group .brands.stack .btile .body p,html:root #group .btile .body p{max-width:none!important;width:100%}
html:root body #group#group .brands.stack .btile:nth-child(n) .body p{color:#1F2E2A!important;font-size:16px!important;line-height:1.55!important}

/* Pill shows the mark only (the full logo sits in the hero corner) */
@media (min-width:900px){html:root .pill-nav .pn-logo .w{display:none!important}html:root .pill-nav .pn-logo{margin-right:10px}}

/* Hero: no inner frame line */
html:root .hh-card > .hh-frame,html:root .hh-card::after{display:none!important}
html:root body section.sub-hero.sub-hero::after,html:root body section#p-hero#p-hero::after,html:root body section#c-hero#c-hero::after{content:none!important;display:none!important;border:0!important}

/* Platform card link: text + round arrow button (replaces the small diagonal arrow) */
html:root body #group .brands.stack .btile .go{display:inline-flex!important;align-items:center;gap:12px;font-size:15px!important;font-weight:600!important;color:#16302C!important;padding-top:16px!important}
html:root body #group .brands.stack .btile .go::after{display:none!important}
/* arrow button only, bottom-right of the card; the words stay for screen readers */
html:root body #group .brands.stack .btile .go{font-size:0!important;gap:0!important;align-self:flex-end!important;margin-top:4px!important;padding-top:0!important}
html:root body #group .brands.stack .btile .go .go-ar{width:44px!important;height:44px!important}
html:root body #group .brands.stack .btile .go .go-ar svg{width:16px;height:16px}
html:root body #group .brands.stack .btile .go .go-ar,html:root body #group .brands.stack .btile:is(:hover,:focus-visible,:focus-within) .go .go-ar{display:inline-flex!important;align-items:center!important;transform:none!important;flex:none;left:0!important;top:0!important;width:38px;height:38px;border-radius:999px;justify-content:center;border:1px solid rgba(22,48,44,.28);color:#16302C;
  transition:background .3s ease,color .3s ease,border-color .3s ease!important}
html:root body #group .brands.stack .btile .go .go-ar svg{transition:transform .35s cubic-bezier(.2,.8,.1,1)}
html:root body #group .brands.stack .btile:is(:hover,:focus-visible,:focus-within) .go .go-ar{background:#16302C;border-color:#16302C;color:#F6F3E8}
html:root body #group .brands.stack .btile .go .go-ar svg,html:root body #group .brands.stack .btile:is(:hover,:focus-visible,:focus-within) .go .go-ar svg{transform:none!important;transition:none!important}

/* "Healthfort" inside running text: plain text, same weight as the sentence */
html:root body .hfw,html:root body .hfw b,html:root body .hfw span{font-weight:inherit!important;letter-spacing:inherit!important;color:inherit!important;font-family:inherit!important;opacity:1!important}

/* Careers "Our values": no card; soft drifting orbs behind it */
html:root body section#c-values#c-values{background:transparent!important;border-radius:0!important;box-shadow:none!important;position:relative;isolation:isolate;overflow:visible!important}
html:root body section#c-values#c-values::after{display:none!important}
html:root body section#c-values#c-values::before{content:""!important;display:block!important;position:absolute!important;inset:-6% 2% -4% 2%!important;z-index:-1!important;pointer-events:none;border:0!important;border-radius:0!important;
  background:radial-gradient(22% 34% at 18% 38%,rgba(150,192,164,.75),rgba(158,196,170,0) 70%),radial-gradient(20% 30% at 82% 30%,rgba(236,184,150,.7),rgba(236,188,156,0) 70%),radial-gradient(26% 36% at 62% 78%,rgba(176,206,184,.7),rgba(190,214,196,0) 70%),radial-gradient(18% 28% at 30% 82%,rgba(240,200,168,.62),rgba(240,206,178,0) 70%)!important;
  filter:blur(36px);animation:valuesOrbs 22s ease-in-out infinite alternate}
@keyframes valuesOrbs{0%{transform:translate(0,0) scale(1)}50%{transform:translate(2%,-2%) scale(1.04)}100%{transform:translate(-2%,1.5%) scale(.98)}}
@media (prefers-reduced-motion:reduce){html:root body section#c-values#c-values::before{animation:none}}

/* Careers "Open positions": light sage card, dark text (keeps clear contrast with the dark footer) */
html:root body section#c-roles#c-roles{--bg:#D3DFCF;--ink:#16302C;--ink-2:rgba(22,48,44,.68);--line:rgba(22,48,44,.14);--accent:#3F6B57;background:#D3DFCF!important;color:#16302C}
html:root body section#c-roles#c-roles .label,html:root body section#c-roles#c-roles h2,html:root body section#c-roles#c-roles .roles h3{color:#16302C!important}
html:root body section#c-roles#c-roles .sec-head p,html:root body section#c-roles#c-roles .roles span,html:root body section#c-roles#c-roles .roles-cv{color:rgba(22,48,44,.68)!important}
html:root body section#c-roles#c-roles .roles li{border-color:rgba(22,48,44,.14)!important}
html:root body section#c-roles#c-roles .roles li:hover,html:root body section#c-roles#c-roles .roles li:hover h3{color:#3F6B57!important}
html:root body section#c-roles#c-roles .roles-cv a{color:#16302C!important}
html:root body section#c-roles#c-roles .social a{color:#16302C!important;border-color:rgba(22,48,44,.2)!important;background:rgba(255,255,255,.35)!important}

/* ===== Mobile: glass pill nav, full-bleed sub-page heroes ===== */
@media (max-width:899px){
  html:root .pill-nav{display:flex!important;position:fixed;top:calc(12px + env(safe-area-inset-top,0px))!important;left:50%;transform:translateX(-50%);z-index:80;align-items:center;gap:2px;
    padding:5px 5px 5px 12px;border-radius:999px;max-width:calc(100% - 24px);white-space:nowrap;
    background:rgba(226,229,221,.66);-webkit-backdrop-filter:blur(18px) saturate(1.15);backdrop-filter:blur(18px) saturate(1.15);border:1px solid rgba(255,255,255,.34);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 8px 24px rgba(16,30,26,.12);color:#22342F}
  html:root .pill-nav .pn-logo{display:inline-flex;align-items:center;margin-right:6px;color:#16302C}
  html:root .pill-nav .pn-logo .mark{width:20px;height:20px}
  html:root .pill-nav .pn-logo .w{display:none!important}
  html:root .pill-nav nav{display:flex;gap:0}
  html:root .pill-nav nav a{padding:8px 11px;border-radius:999px;font-size:13px;font-weight:500;color:#2A3D38;text-decoration:none}
  html:root .pill-nav nav a[href="#home"]{display:none}
  html:root .pill-nav nav a.cur{background:rgba(255,255,255,.82);color:#16302C;font-weight:600}
  html:root .pill-nav .pn-cta{margin-left:4px;padding:9px 14px;border-radius:999px;background:#D14A27;color:#fff;font-size:13px;font-weight:600;text-decoration:none}
  /* the old mobile bar (logo + menu button) is replaced by the pill */
  html:root .hh-nav{display:none!important}
  html:root .hh-card{margin-top:20px!important}
  html:root .hh-copy{padding-top:100px!important}
  html:root .hh-card > .hh-corner{display:none!important}

  /* Partnerships / Careers heads: the photo fills the card, text on a dark wash at the top */
  html:root[data-hero="h"] body section#p-hero#p-hero,html:root[data-hero="h"] body section#c-hero#c-hero{background:#16302C!important;position:relative!important;isolation:isolate;margin-top:20px!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-img,html:root[data-hero="h"] body section#c-hero#c-hero .sh-img{position:absolute!important;inset:0!important;margin:0!important;z-index:-2!important;flex:none!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-img img:not(.h-wide),html:root[data-hero="h"] body section#c-hero#c-hero .sh-img img:not(.h-wide){position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 100%!important;-webkit-mask-image:none!important;mask-image:none!important}
  /* text on top, photo in the lower part fading up into the green, so faces sit below the text */
  html:root[data-hero="h"] body section#p-hero#p-hero,html:root[data-hero="h"] body section#c-hero#c-hero{height:auto!important;min-height:0!important;padding-bottom:min(88vw,360px)!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-img img:not(.h-wide),html:root[data-hero="h"] body section#c-hero#c-hero .sh-img img:not(.h-wide){top:auto!important;bottom:0!important;height:calc(min(88vw,360px) + 120px)!important;transform:none!important;scale:1!important;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 28%)!important;mask-image:linear-gradient(180deg,transparent 0%,#000 28%)!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-img img:not(.h-wide){object-position:50% 8%!important}
  html:root[data-hero="h"] body section#c-hero#c-hero{padding-bottom:330px!important}
  html:root[data-hero="h"] body section#c-hero#c-hero .sh-img img:not(.h-wide){height:340px!important;object-position:74% 0%!important;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 12%)!important;mask-image:linear-gradient(180deg,transparent 0%,#000 12%)!important}
  html:root[data-hero="h"] body section#p-hero#p-hero::before,html:root[data-hero="h"] body section#c-hero#c-hero::before{background:linear-gradient(180deg,rgba(12,32,28,.35) 0%,rgba(12,32,28,0) 40%)!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-img .h-wide,html:root[data-hero="h"] body section#c-hero#c-hero .sh-img .h-wide{display:none!important}
  html:root[data-hero="h"] body section#p-hero#p-hero::before,html:root[data-hero="h"] body section#c-hero#c-hero::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:-1!important;background:linear-gradient(180deg,rgba(12,32,28,.82) 0%,rgba(12,32,28,.66) 38%,rgba(12,32,28,.2) 60%,rgba(12,32,28,0) 74%)!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-grid,html:root[data-hero="h"] body section#c-hero#c-hero .sh-grid{padding-top:84px!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-copy,html:root[data-hero="h"] body section#c-hero#c-hero .sh-copy{text-shadow:0 1px 2px rgba(0,0,0,.3),0 2px 20px rgba(0,0,0,.35)}
}

/* ===== Mobile nav (reference content): full logo + menu button; links open in a panel below ===== */
.pn-burger,.pn-menu{display:none}
@media (max-width:899px){
  html:root .pill-nav{left:22px!important;right:22px!important;top:calc(30px + env(safe-area-inset-top,0px))!important;transform:none!important;max-width:none!important;justify-content:space-between;padding:8px 8px 8px 18px!important}
  html:root[data-view] .pill-nav{top:calc(38px + env(safe-area-inset-top,0px))!important}
  html:root[data-view] .pn-menu{top:calc(102px + env(safe-area-inset-top,0px))!important}
  html:root .pill-nav .pn-logo .w{display:inline-block!important;max-width:none!important;padding-left:8px!important;opacity:1!important;font-size:19px;letter-spacing:-.035em}
  html:root .pill-nav .pn-logo .w b{font-weight:800}
  html:root .pill-nav .pn-logo .w span{font-weight:300}
  html:root .pill-nav nav,html:root .pill-nav .pn-cta{display:none!important}
  html:root .pn-burger{display:inline-flex;flex-direction:column;justify-content:center;gap:7px;width:44px;height:40px;padding:0 10px;border:0;border-radius:999px;background:transparent;cursor:pointer}
  html:root .pn-burger span{display:block;height:2px;border-radius:2px;background:#D14A27;transition:transform .3s ease}
  html:root .pill-nav.menu-open .pn-burger span:first-child{transform:translateY(4.5px) rotate(45deg)}
  html:root .pill-nav.menu-open .pn-burger span:last-child{transform:translateY(-4.5px) rotate(-45deg)}
  html:root .pn-menu{display:block;position:fixed;left:22px;right:22px;top:calc(94px + env(safe-area-inset-top,0px));z-index:79;border-radius:22px;background:rgba(241,233,224,.97);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
    box-shadow:0 18px 40px rgba(16,30,26,.18);padding:22px 18px 18px;animation:pnMenuIn .28s cubic-bezier(.2,.8,.1,1)}
  html:root .pn-menu[hidden]{display:none}
  @keyframes pnMenuIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
  html:root .pn-menu nav{display:flex;flex-direction:column;align-items:center;gap:4px}
  html:root .pn-menu nav a{display:block;padding:14px 12px;font-size:17px;font-weight:500;color:#22342F;text-decoration:none}
  html:root .pn-menu nav a.cur{font-weight:700;color:#16302C}
  html:root .pn-menu nav a.cur::before{content:"\2726";margin-right:8px;font-size:.85em}
  html:root .pn-menu .pn-menu-cta{margin-top:10px;padding:14px 28px!important;border-radius:999px;background:#D14A27;color:#fff!important;font-weight:600!important}
}

/* Our technology: quicker reveal */
html:root body #tech .eco-item{transition:opacity .45s ease calc(.05s + var(--i)*.06s),transform .5s cubic-bezier(.2,.8,.1,1) calc(.05s + var(--i)*.06s)!important}
html:root body #tech .eco-list::before{transition:transform .7s cubic-bezier(.45,.05,.2,1)!important}
html:root body #tech .eco.on .eco-list::before{animation-delay:.7s!important}

/* Partnerships on mobile: the Figma-expanded photo fills the card; dark text on the light wall, no gradient */
@media (max-width:899px){
  html:root[data-hero="h"] body section#p-hero#p-hero{background:#EEE8DC!important;padding-bottom:min(92vw,380px)!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-img img:not(.h-wide){top:0!important;bottom:0!important;height:100%!important;object-position:50% 100%!important;-webkit-mask-image:none!important;mask-image:none!important}
  html:root[data-hero="h"] body section#p-hero#p-hero::before{content:""!important;display:block!important;position:absolute!important;inset:-6% -20% 58% -30%!important;z-index:-1!important;background:radial-gradient(closest-side at 40% 50%,rgba(244,239,229,.86) 0%,rgba(244,239,229,.6) 50%,rgba(244,239,229,0) 100%)!important;filter:blur(16px)}
  html:root[data-hero="h"] body section#p-hero#p-hero h1,html:root[data-hero="h"] body section#p-hero#p-hero h1 .h1-em{color:#16302C!important}
  html:root[data-hero="h"] body section#p-hero#p-hero p{color:rgba(22,48,44,.82)!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-copy{text-shadow:none!important}
  /* two-line headline: sized so "healthcare together." fits on one line */
  html:root[data-hero="h"] body section#p-hero#p-hero h1{font-size:min(42px,calc((100vw - 72px) / 8.6))!important}
}

/* Home hero copy in pure white for readability on the grass */
html:root body .hh-copy h1,html:root body .hh-copy h1 .h1-em,html:root body .hh-copy p{color:#FFFFFF!important}
@media (max-width:899px){html:root body .hh-copy{text-shadow:0 1px 2px rgba(0,0,0,.45),0 2px 18px rgba(0,0,0,.5)!important}}

/* Careers on mobile: the Figma-expanded photo fills the card; dark text on the light wall, no gradient */
@media (max-width:899px){
  html:root[data-hero="h"] body section#c-hero#c-hero{background:#E6ECE4!important;padding-bottom:min(96vw,400px)!important}
  html:root[data-hero="h"] body section#c-hero#c-hero .sh-img img:not(.h-wide){top:0!important;bottom:0!important;height:100%!important;object-position:40% 100%!important;-webkit-mask-image:none!important;mask-image:none!important}
  html:root[data-hero="h"] body section#c-hero#c-hero::before{content:""!important;display:block!important;position:absolute!important;inset:-6% -20% 58% -30%!important;z-index:-1!important;background:radial-gradient(closest-side at 40% 50%,rgba(240,244,238,.8) 0%,rgba(240,244,238,.55) 50%,rgba(240,244,238,0) 100%)!important;filter:blur(16px)}
  html:root[data-hero="h"] body section#c-hero#c-hero h1,html:root[data-hero="h"] body section#c-hero#c-hero h1 .h1-em{color:#16302C!important}
  html:root[data-hero="h"] body section#c-hero#c-hero p{color:rgba(22,48,44,.82)!important}
  html:root[data-hero="h"] body section#c-hero#c-hero .sh-copy{text-shadow:none!important}
}

/* Hero on desktop: a closer frame on her */
@media (min-width:900px){html:root[data-hero="h"] .hh-card > img:not(.hh-orig),html:root[data-hero="h"] .hh-card > .hh-v{transform:scale(1.24)!important;transform-origin:92% 30%!important}}

/* Hero: logo in the top-left corner of the photo (desktop) */
.hh-corner{display:none}
@media (min-width:900px){html:root .hh-card > .hh-corner{display:inline-flex;position:absolute;top:44px;left:48px;z-index:3;font-size:22px;color:#F4F2EC;text-decoration:none}
  html:root .hh-card > .hh-corner .w span{font-weight:300}}

/* Hero overlay: a light neutral shade on the left only, so the grass keeps its green */
@media (min-width:900px){html:root .hh-card::before{background:linear-gradient(90deg,rgba(6,16,11,.62) 0%,rgba(6,16,11,.5) 30%,rgba(6,16,11,.22) 46%,rgba(6,16,11,0) 62%),linear-gradient(0deg,rgba(6,16,11,.18),rgba(6,16,11,0) 28%)!important}
  html:root .hh-copy{text-shadow:0 1px 3px rgba(0,0,0,.45),0 2px 26px rgba(0,0,0,.35)}
  html:root .hh-copy p{font-weight:500;color:#F7F5EF!important}}

/* Hero headline: the second line in semibold italic */
html:root .hh-copy h1 .h1-em,html:root .sub-hero h1 .h1-em{font-style:normal;font-weight:600;letter-spacing:-.05em}
html:root .sub-hero h1{max-width:none!important}

/* ===== Closing sequence: full-bleed photo -> terracotta call to action -> deep-green footer ===== */
html:root body section.closing{margin:0!important;padding:0!important;display:block;position:relative;z-index:2;border:0!important}
.cl-photo{position:sticky;top:0;z-index:0;height:clamp(320px,48vw,640px);overflow:hidden}
.cl-cta{position:relative;z-index:1;box-shadow:0 -18px 40px rgba(20,30,26,.18)}
.cl-photo img{width:100%;height:100%;object-fit:cover;display:block}
.cl-cta{background:#C8532F;color:#FBF1EA;text-align:center;padding:clamp(72px,9vw,128px) max(24px,var(--gutter,24px));display:flex;flex-direction:column;align-items:center;gap:22px}
.cl-cta h2{margin:0;color:#FBF1EA;font-size:clamp(34px,4.6vw,64px);line-height:1.04;letter-spacing:-.035em;font-weight:400;max-width:17ch}
.cl-cta p{margin:0;max-width:52ch;font-size:clamp(16px,1.3vw,18px);line-height:1.55;color:rgba(251,241,234,.88)}
.cl-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:8px}
.cl-btn{display:inline-flex;align-items:center;padding:14px 26px;border-radius:999px;background:#FBF1EA;color:#16302C;font-weight:600;font-size:15px;text-decoration:none;transition:transform .2s ease}
.cl-btn:hover{transform:translateY(-2px)}
.cl-btn.ghost{background:transparent;color:#FBF1EA;box-shadow:inset 0 0 0 1px rgba(251,241,234,.6)}
html:root body footer#contact{margin:0!important;border-radius:0!important;background:#16302C!important;color:#E9EFE9;--bg:#16302C;--ink:#F4F2EC;--ink-2:rgba(233,239,233,.68);--line:rgba(255,255,255,.14);border-top:0!important;position:relative;z-index:1}
html:root body footer#contact .logo,html:root body footer#contact a,html:root body footer#contact address{color:#F4F2EC}
html:root body footer#contact .foot-h{color:rgba(233,239,233,.55)}
html:root body footer#contact .wordmark{color:rgba(244,242,236,.08)!important;-webkit-text-stroke:0!important}
/* breathing room between the last card and the dark footer (home, careers) */
html:root body footer#contact{margin-top:clamp(40px,5vw,72px)!important}
/* Partnerships "Who we partner with": no mint card, on the page background */
html:root body section#p-types#p-types{background:transparent!important;border-radius:0!important;box-shadow:none!important}
/* tighter spacing around the terracotta card */
html:root body section#p-types#p-types{padding-bottom:24px!important}
html:root body section#p-types#p-types{overflow:visible!important;margin-left:0!important;margin-right:0!important;padding-left:max(28px,var(--gutter,28px))!important;padding-right:max(28px,var(--gutter,28px))!important}
html:root[data-view="partners"] body footer#contact{margin-top:24px!important}
html:root body section#p-types#p-types::before,html:root body section#p-types#p-types::after{display:none!important}

/* Partnerships "Get in touch": a terracotta card, same frame as the other sections */
html:root body section#p-contact#p-contact{margin:12px 12px 0!important;border-radius:28px!important;overflow:hidden;padding-block:clamp(64px,7vw,96px)!important;background:#C8532F!important;box-shadow:none!important;color:#FBF1EA}
html:root body section#p-contact#p-contact{position:relative;isolation:isolate;background:radial-gradient(60% 90% at 85% 10%,#D2643F 0%,rgba(210,100,63,0) 70%),radial-gradient(55% 80% at 10% 100%,#B4492A 0%,rgba(180,73,42,0) 70%),#C8532F!important}
html:root body section#p-contact#p-contact::after{display:none!important}
/* dotted texture like the home page, fading in and out across the card */
html:root body section#p-contact#p-contact::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:-1!important;pointer-events:none;border:0!important;border-radius:0!important;filter:none!important;
  background-image:radial-gradient(circle,rgba(255,236,224,.26) 1px,transparent 1.6px)!important;background-size:11px 11px!important;
  -webkit-mask-image:linear-gradient(115deg,#000 0%,rgba(0,0,0,.15) 32%,rgba(0,0,0,0) 46%,rgba(0,0,0,.2) 62%,#000 100%);mask-image:linear-gradient(115deg,#000 0%,rgba(0,0,0,.15) 32%,rgba(0,0,0,0) 46%,rgba(0,0,0,.2) 62%,#000 100%)}
html:root body section#p-contact#p-contact .label{color:rgba(251,241,234,.85)!important}
html:root body section#p-contact#p-contact h2{color:#FBF1EA!important;font-size:clamp(30px,3.2vw,44px)!important;line-height:1.1!important;font-weight:300!important;letter-spacing:-.03em!important;max-width:20ch}
html:root body section#p-contact#p-contact h2 .pc-strong{font-weight:500}
html:root body section#p-contact#p-contact .sec-head p{color:rgba(251,241,234,.85)!important;font-size:17px!important}
html:root body section#p-contact#p-contact .send{background:#FBF1EA!important;color:#16302C!important;padding:14px 26px!important;font-size:15px!important}


/* Mobile "What drives us": the section pins and vertical scroll walks through the cards */
@media (max-width:899px){
  html:root body section#drives#drives.pinned{overflow:clip!important}
  html:root body section#drives#drives.pinned .drives-pin{position:sticky;top:var(--pin-top,90px)}
  html:root body section#drives#drives.pinned .car-track{scroll-snap-type:none!important;overflow-x:hidden!important;scroll-behavior:auto!important}
  html:root body section#drives#drives.pinned .car-nav{display:none!important}
}


/* Desktop sub-heroes: Figma-expanded wide photos, wall behind the text, no green gradient */
@media (min-width:900px){
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-img .h-wide,
  html:root[data-hero="h"] body section#c-hero#c-hero .sh-img img{position:absolute!important;inset:0!important;left:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;transform:none!important;-webkit-mask-image:none!important;mask-image:none!important;filter:none!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-img .h-wide{object-position:50% 45%!important}
  html:root[data-hero="h"] body section#c-hero#c-hero .sh-img img{object-position:50% 55%!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-img::before,html:root[data-hero="h"] body section#p-hero#p-hero .sh-img::after,
  html:root[data-hero="h"] body section#c-hero#c-hero .sh-img::before,html:root[data-hero="h"] body section#c-hero#c-hero .sh-img::after,
  html:root[data-hero="h"] body section#p-hero#p-hero::after,html:root[data-hero="h"] body section#c-hero#c-hero::after{background:none!important;display:none!important}
  html:root[data-hero="h"] body section#p-hero#p-hero::before{content:""!important;display:block!important;position:absolute!important;inset:4% 40% 10% -14%!important;z-index:-1!important;border:0!important;background:radial-gradient(closest-side at 50% 50%,rgba(242,238,230,.9) 0%,rgba(242,238,230,.66) 55%,rgba(242,238,230,0) 100%)!important;filter:blur(24px)}
  html:root[data-hero="h"] body section#c-hero#c-hero::before{content:""!important;display:block!important;position:absolute!important;inset:2% 44% 14% -12%!important;z-index:-1!important;background:radial-gradient(closest-side at 50% 50%,rgba(240,244,238,.86) 0%,rgba(240,244,238,.6) 50%,rgba(240,244,238,0) 100%)!important;filter:blur(22px)}
  html:root[data-hero="h"] body section#p-hero#p-hero h1,html:root[data-hero="h"] body section#p-hero#p-hero .h1-em,
  html:root[data-hero="h"] body section#c-hero#c-hero h1,html:root[data-hero="h"] body section#c-hero#c-hero .h1-em{color:#16302C!important}
  html:root[data-hero="h"] body section#p-hero#p-hero p,html:root[data-hero="h"] body section#c-hero#c-hero p{color:rgba(22,48,44,.82)!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .sh-copy,html:root[data-hero="h"] body section#c-hero#c-hero .sh-copy{text-shadow:none!important}
  html:root[data-hero="h"] body section#p-hero#p-hero .btn-ghost,html:root[data-hero="h"] body section#c-hero#c-hero .btn-ghost{color:#16302C!important;border-color:rgba(22,48,44,.35)!important}
}


@media (max-width:899px){
  /* Careers phone head: lines end before the bush */
  html:root[data-hero="h"] body section#c-hero#c-hero .sh-img img{object-position:0% 100%!important}
  html:root[data-hero="h"] body section#c-hero#c-hero .sh-copy p{max-width:250px!important}
  /* Get in touch: edge to edge, straight into the footer */
  html:root body section#p-contact#p-contact{margin:0!important;border-radius:0!important}
  html:root body section#p-contact#p-contact::before{border-radius:0!important}
  html:root[data-view="partners"] body footer#contact{margin-top:0!important}
}


/* Sub-hero body copy: darker and a touch heavier so it holds over sunlit walls */
html:root[data-hero="h"] body section#p-hero#p-hero p,html:root[data-hero="h"] body section#c-hero#c-hero p{color:#16302C!important;font-weight:500!important}


/* Partner type cards: hairline light-grey stroke + soft lift */
html:root body section#p-types#p-types li{box-shadow:0 0 0 1px rgba(22,48,44,.10),0 1px 2px rgba(22,48,44,.06),0 10px 28px -10px rgba(22,48,44,.22)!important}
html:root body section#p-types#p-types li .ph::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);pointer-events:none;z-index:0}
@media (max-width:899px){
  html:root body section#p-types#p-types li{box-shadow:0 0 0 1px rgba(22,48,44,.12),0 2px 4px rgba(22,48,44,.06),0 14px 34px -12px rgba(22,48,44,.30)!important}
}

/* #cta-coral */

/* CTA option: brand coral #F29E80 with dark green text (delete this block to return to the original orange) */
html:root .pill-nav .pn-cta,html:root body .pill-nav .pn-cta{background:#F29E80!important;color:#16302C!important}
html:root .pn-menu .pn-menu-cta{background:#F29E80!important;color:#16302C!important}
@media (max-width:899px){
html:root .pn-burger{position:relative;display:block!important;width:42px!important;height:42px!important;padding:0!important;gap:0!important;background:#16302C!important;box-shadow:0 2px 6px rgba(22,48,44,.22)}
html:root .pn-burger span{position:absolute;left:13px;right:13px;top:50%;height:2px!important;margin-top:-1px;border-radius:2px;background:#FFFFFF!important;transition:transform .3s cubic-bezier(.3,.7,.2,1)!important}
html:root .pn-burger span:first-child{transform:translateY(-4px)!important}
html:root .pn-burger span:last-child{transform:translateY(4px)!important}
html:root .pill-nav.menu-open .pn-burger span:first-child{transform:rotate(45deg)!important}
html:root .pill-nav.menu-open .pn-burger span:last-child{transform:rotate(-45deg)!important}
}
html:root body .progress{background:#F29E80!important}
html:root .hh-btn.coral{background:#F29E80!important;color:#16302C!important}
html:root body section#p-contact#p-contact{background:
  radial-gradient(42% 70% at 92% 12%,rgba(233,124,118,.95) 0%,rgba(233,124,118,0) 70%),
  radial-gradient(38% 60% at 4% 96%,rgba(198,222,204,.85) 0%,rgba(198,222,204,0) 72%),
  radial-gradient(55% 90% at 22% 8%,rgba(250,206,180,.95) 0%,rgba(250,206,180,0) 70%),
  linear-gradient(115deg,#F7BC9E 0%,#F29E80 45%,#EC8A7A 100%)!important;
  background-size:140% 140%,140% 140%,140% 140%,100% 100%!important;
  animation:pcDrift 18s ease-in-out infinite alternate}
@keyframes pcDrift{0%{background-position:0% 0%,100% 100%,0% 0%,0 0}100%{background-position:30% 20%,70% 80%,25% 30%,0 0}}
@media (prefers-reduced-motion:reduce){html:root body section#p-contact#p-contact{animation:none}}
html:root body section#p-contact#p-contact::before{background-image:radial-gradient(circle,rgba(22,48,44,.22) 1.3px,transparent 1.9px)!important;background-size:13px 13px!important;
  -webkit-mask-image:radial-gradient(70% 85% at 50% 50%,rgba(0,0,0,.05) 0%,rgba(0,0,0,.35) 55%,#000 100%)!important;mask-image:radial-gradient(70% 85% at 50% 50%,rgba(0,0,0,.05) 0%,rgba(0,0,0,.35) 55%,#000 100%)!important}
html:root body section#p-contact#p-contact .label{color:rgba(22,48,44,.72)!important}
html:root body section#p-contact#p-contact h2{color:#16302C!important}
html:root body section#p-contact#p-contact .sec-head p{color:rgba(22,48,44,.8)!important}
html:root body section#p-contact#p-contact .send{background:#16302C!important;color:#F6F3E8!important}

/* #nav-mobile-glass */

@media (max-width:899px){
  /* Mobile nav: warmer, denser glass so the dark logo keeps its contrast over photos */
  html:root body .pill-nav,html:root body .pill-nav.is-top{background:rgba(246,243,232,.86)!important;background-image:none!important;-webkit-backdrop-filter:blur(22px) saturate(1.1)!important;backdrop-filter:blur(22px) saturate(1.1)!important;border-color:rgba(255,255,255,.7)!important;box-shadow:0 6px 22px -10px rgba(16,30,26,.35),inset 0 1px 0 rgba(255,255,255,.75)!important}
}

/* #nav-pill-colors */

/* Desktop pill nav: white "Let's talk" with dark green text; active page chip in dark green with white text */
@media (min-width:900px){
  html:root body .pill-nav .pn-cta{background:#FFFFFF!important;color:#16302C!important;box-shadow:0 1px 2px rgba(22,48,44,.12),inset 0 0 0 1px rgba(22,48,44,.06)}
  html:root body .pill-nav nav a.cur{background:#16302C!important;color:#FFFFFF!important;box-shadow:none!important}
  html:root body .pill-nav nav a.cur:hover{background:#16302C!important}
}
/* Mobile menu: same treatment — dark green chip for the current page, white "Let's talk" */
html:root body .pn-menu nav a.cur{background:#16302C!important;color:#FFFFFF!important;border-radius:999px;padding:12px 26px!important;font-weight:600!important}
html:root body .pn-menu nav a.cur::before{content:none!important}
html:root body .pn-menu .pn-menu-cta{background:#FFFFFF!important;color:#16302C!important;box-shadow:0 1px 3px rgba(22,48,44,.14),inset 0 0 0 1px rgba(22,48,44,.08)}

/* #trust-frame */

/* Our Standards: hairline light-grey frame, and a tighter gap to the footer on the home page */
html:root body section#trust#trust{border:1px solid #E3DED4!important}
html:root:not([data-sub]) body footer#contact{margin-top:20px!important}
html:root[data-view="careers"] body footer#contact{margin-top:20px!important}

/* #mobile-tighten */

@media (max-width:899px){
  /* Tighter vertical rhythm on phones */
  html:root body section:not(.sub-hero):not(#p-types):not(#p-contact):not(#drives){padding-top:52px!important;padding-bottom:52px!important}
  html:root body section#drives#drives{padding-top:44px!important;padding-bottom:44px!important}
  html:root body section#p-types#p-types{padding-top:48px!important}
  html:root body section#p-contact#p-contact{padding-top:48px!important;padding-bottom:48px!important}
  html:root body .sec-head{margin-bottom:26px!important;gap:10px!important}
  html:root body .sec-head p{margin-top:2px!important}
  html:root body #group#group .brands.stack{padding-bottom:0!important}
  html:root body section#trust#trust .track ul{padding-bottom:0!important}
  /* Platform cards: logo on top, then text and the round button side by side, aligned to the bottom */
  html:root body #group#group .brands .btile .body{display:grid!important;grid-template-columns:minmax(0,1fr) 44px;column-gap:16px;row-gap:12px;align-items:end;padding:20px 18px 18px!important}
  html:root body #group#group .brands .btile .body > h3{grid-column:1 / -1;align-self:start}
  html:root body #group#group .brands .btile .body > p{grid-column:1;margin:0!important;max-width:none!important}
  html:root body #group#group .brands .btile .body > .go{grid-column:2;margin:0!important;padding-top:0!important;border-top:0!important;align-self:end;justify-self:end}
}

/* #logo-legibility */

/* Wordmark legibility: a touch more open, "Health" 700 / "fort" 400 */
html:root body .logo .w,html:root body .hfw{letter-spacing:-.015em!important}
html:root body .logo .w b,html:root body .hfw b{font-weight:700!important}
html:root body .logo .w span,html:root body .hfw span{font-weight:400!important;letter-spacing:-.005em!important}
html:root body .logo .t{margin-left:0!important}
html:root body .pill-nav .pn-logo .w{letter-spacing:-.015em!important}
html:root body .pill-nav .pn-logo .w b{font-weight:700!important}
html:root body .pill-nav .pn-logo .w span{font-weight:400!important;letter-spacing:-.005em!important}
@media (min-width:900px){
  html:root body .hh-card .logo{font-size:26px!important}
}

/* Email panel (opened by every mailto link) */
.mail-dlg {
  width: min(440px, calc(100vw - 32px));
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font);
  box-shadow: 0 30px 80px rgba(22, 48, 44, 0.25);
}
.mail-dlg::backdrop {
  background: rgba(22, 48, 44, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.mail-dlg[open] {
  animation: mail-in 0.25s cubic-bezier(0.2, 0.8, 0.1, 1);
}
@keyframes mail-in {
  from { opacity: 0; transform: translateY(12px); }
}
.mail-label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.mail-addr {
  margin: 10px 0 24px;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  word-break: break-all;
  user-select: all;
}
.mail-acts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mail-btn:hover {
  border-color: var(--ink);
}
.mail-btn.mail-copy {
  grid-column: 1 / -1;
  background: #d14a27;
  border-color: #d14a27;
  color: #fff;
}
.mail-btn.mail-copy:hover {
  background: #b83e1f;
}
.mail-x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink-2);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.mail-x:hover {
  background: var(--line);
  color: var(--ink);
}
