/* Clinical Edge homepage (round B, 2026-11): the short seven-part page. Homepage-only rules; loaded after style.css,
   app.css (the phone in the hero preview) and sections.css (plans, form, questions, footer, the certificate).
   No pinned scenes and no particle field: every section shows its own background. The only motion is .fade (main.js
   adds .fx only when motion is allowed and only below the fold), so without JS or with motion off nothing is hidden. */

body.home{background:var(--navy)}
.fx{opacity:0;transform:translate3d(0,18px,0);transition:opacity 700ms var(--ease-out),transform 800ms var(--ease-out)}
.fx.is-in{opacity:1;transform:none}

/* ---------- 1. Hero ---------- */
.hh{position:relative;padding:calc(var(--nav-h) + 64px) 0 88px;background:radial-gradient(1000px 680px at 78% 30%,#16407A 0%,#0D2547 52%,#0A1E3A 100%)}
.hh__grid{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:40px 64px}
.hh__copy{max-width:620px}
.hh .pain--hero{margin:0 0 20px;max-width:none}
.hh__h1{font-size:clamp(38px,3.9vw,56px);line-height:1.06}
.hh__lead{color:var(--pain-navy);max-width:44ch;margin-top:20px;font-size:19px}
.hh .cta-row{margin-top:30px}
.hh .fine{margin-top:20px}
/* the strands behind the hero (main.js draws them): faint behind the copy, fuller behind the phone */
.hh{overflow:hidden}
.hh__field{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.32) 0%,rgba(0,0,0,.5) 40%,#000 78%);mask-image:linear-gradient(90deg,rgba(0,0,0,.32) 0%,rgba(0,0,0,.5) 40%,#000 78%)}
.hh__grid{position:relative}
/* the headline's last word: four terms on one reserved line. Still by default ("peptides."); main.js adds .is-live when
   motion is allowed and then each term rises in, takes a pulse of light across the letters and along the rule, and leaves */
.hh__rot{display:block;position:relative;height:1.16em;margin-top:.02em}
.hh__word{position:absolute;left:0;top:0;padding:0 .14em .14em 0;white-space:nowrap;font-style:italic;font-weight:400;color:var(--champ);opacity:0}
.hh__word.is-on{opacity:1}
.hh__word::after{content:"";position:absolute;left:0;right:.14em;bottom:.02em;height:2px;border-radius:2px;background:linear-gradient(90deg,rgba(216,190,126,.55),rgba(216,190,126,.12))}
.hh__rot.is-live .hh__word{color:transparent;background:linear-gradient(100deg,#C9A85C 0%,#D8BE7E 38%,#FFF7DF 50%,#D8BE7E 62%,#C9A85C 100%) 100% 0/300% 100%;-webkit-background-clip:text;background-clip:text;transform:translate3d(0,.4em,0);filter:blur(12px);transition:opacity 380ms ease,transform 640ms var(--ease-emph),filter 520ms ease}
.hh__rot.is-live .hh__word.is-on{transform:none;filter:none;animation:hhSheen 2100ms var(--ease-out) 160ms both}
.hh__rot.is-live .hh__word.is-out{transform:translate3d(0,-.4em,0);opacity:0}
.hh__rot.is-live .hh__word::after{background:linear-gradient(90deg,rgba(216,190,126,0) 0%,rgba(216,190,126,.7) 30%,#FFF3CF 50%,rgba(216,190,126,.7) 70%,rgba(216,190,126,0) 100%) -80% 0/55% 100% no-repeat,linear-gradient(90deg,rgba(216,190,126,.5),rgba(216,190,126,.1));box-shadow:0 0 14px rgba(232,210,154,.35);transform:scaleX(0);transform-origin:left;transition:transform 520ms var(--ease-emph)}
.hh__rot.is-live .hh__word.is-on::after{transform:scaleX(1);animation:hhPulse 1700ms var(--ease-io) 320ms both}
@keyframes hhSheen{from{background-position:100% 0}to{background-position:0% 0}}
@keyframes hhPulse{from{background-position:-80% 0,0 0}to{background-position:260% 0,0 0}}

/* the showcase: the phone, its pulse rings, and the four-part list beside it */
.hx{display:grid;grid-template-columns:auto 262px;align-items:center;gap:36px}
.hx__stage{position:relative}
.hh__phone{--pw:308px;position:relative}
.hh__phone::before{content:"";position:absolute;inset:-12% -30%;border-radius:50%;background:radial-gradient(closest-side,rgba(212,175,94,.22),rgba(86,150,220,.1) 46%,rgba(212,175,94,0) 72%);pointer-events:none}
.hh__phone .phone{width:var(--pw)}
.hh__phone .screen{--p:#0A1E3A;--a:#C9A85C;--pi:#FFFFFF;--pt:#0A1E3A}
.hx__ring{position:absolute;left:50%;top:50%;width:calc(var(--hx-r,430px));aspect-ratio:1;margin:calc(var(--hx-r,430px) / -2) 0 0 calc(var(--hx-r,430px) / -2);border-radius:50%;border:1px solid rgba(216,190,126,.34);opacity:0;pointer-events:none}
.hx__ring:nth-child(1){opacity:.5;transform:scale(1)}
.hx__ring:nth-child(2){opacity:.24;transform:scale(1.28)}
.hx__ring:nth-child(3){opacity:.1;transform:scale(1.56)}

/* in the phone: shared pieces (em units follow the phone's size) */
.hx-ic{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hx-s{display:flex;flex-direction:column;padding:4.25em 1.2em 5.8em;background:linear-gradient(180deg,#FBFAF7 0%,#F3F0E9 100%);transform:translate3d(0,.9em,0) scale(.985);opacity:0;visibility:hidden;transition:transform 520ms var(--ease-emph),opacity 360ms var(--ease-out),visibility 0s linear 360ms}
.hx-s.is-cur{transform:none;opacity:1;visibility:visible;transition-delay:0s}
.hx-top{display:flex;align-items:center;gap:.7em;flex:none}
.hx-top .mono{flex:none;width:2.9em;height:2.9em;border-radius:.95em;font-size:.76em;box-shadow:0 .5em 1em -.4em rgba(10,30,58,.6)}
.hx-top__t{display:grid;min-width:0}
.hx-top__t small{font-size:.64em;font-weight:600;line-height:1.3;color:#7A838F}
.hx-top__t b{font:500 1.46em/1.08 var(--f-disp);letter-spacing:-.015em;color:#101722;white-space:nowrap}
.hx-pts{display:inline-flex;align-items:center;gap:.4em;margin-left:auto;padding:.5em .75em;border-radius:2em;background:#fff;color:#101722;font-size:.6em;font-weight:700;white-space:nowrap;box-shadow:0 .3em .9em -.3em rgba(16,23,34,.25),inset 0 0 0 1px rgba(16,23,34,.05)}
.hx-pts i{width:.75em;height:.75em;border-radius:50%;background:linear-gradient(135deg,#E8CF8E,#B9974B)}
.hx-search{display:flex;align-items:center;gap:.6em;flex:none;margin-top:1em;height:2.9em;padding:0 1em;border-radius:1em;background:#fff;color:#8A93A0;font-size:.74em;font-weight:500;box-shadow:inset 0 0 0 1px rgba(16,23,34,.07)}
.hx-search svg{width:1.25em;height:1.25em;flex:none}
.hx-chips{display:flex;gap:.45em;flex:none;margin-top:.8em;white-space:nowrap}
.hx-chips span{flex:none;padding:.52em .95em;border-radius:2em;background:#fff;color:#4A5563;font-size:.68em;font-weight:600;box-shadow:inset 0 0 0 1px rgba(16,23,34,.08)}
.hx-chips .on{background:var(--p);color:#fff;box-shadow:0 .5em .9em -.5em rgba(10,30,58,.8)}
.hx-tag{align-self:flex-start;justify-self:start;padding:.34em .75em;border-radius:2em;background:rgba(216,190,126,.2);color:#EBD59F;font-size:.56em;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.hx-price{font-size:.98em;font-weight:700;font-variant-numeric:lining-nums tabular-nums}
.hx-pill{padding:.52em 1.05em;border-radius:2em;background:linear-gradient(135deg,#E8CF8E,#C9A85C);color:#101722;font-size:.64em;font-weight:700;white-space:nowrap}
.hx-vial{display:block;width:2.5em;height:4em;overflow:visible}
.hx-lbl{flex:none;margin:1.3em 0 0;font-size:.6em;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#7A838F}
/* catalog */
.hx-feat{position:relative;display:flex;flex:none;margin-top:.9em;padding:1em 1.1em 1.05em;min-height:8.5em;border-radius:1.35em;overflow:hidden;color:#fff;background:radial-gradient(130% 150% at 100% 0%,#2460A6 0%,#0F2F5C 46%,#0A1E3A 100%);box-shadow:0 1.1em 1.8em -1em rgba(10,30,58,.75)}
.hx-feat::before{content:"";position:absolute;right:-2.4em;top:-2.4em;width:10em;height:10em;border-radius:50%;border:1px solid rgba(216,190,126,.28);box-shadow:0 0 0 1.4em rgba(216,190,126,.05),0 0 0 2.9em rgba(216,190,126,.035)}
.hx-feat__t{position:relative;display:flex;flex-direction:column;z-index:1}
.hx-feat b{margin-top:.4em;font:500 1.34em/1.1 var(--f-disp);letter-spacing:-.01em}
.hx-feat small{margin-top:.15em;font-size:.64em;color:#C3D0E0}
.hx-feat__row{display:flex;align-items:center;gap:.7em;margin-top:auto;padding-top:.7em}
.hx-feat__art{position:absolute;right:.9em;bottom:-.7em;display:flex;align-items:flex-end}
.hx-feat__art .hx-vial{width:3.5em;height:5.6em;filter:drop-shadow(0 .5em .7em rgba(0,0,0,.4))}
.hx-feat__art .hx-vial:first-child{transform:rotate(-7deg)}
.hx-feat__art .hx-vial + .hx-vial{margin-left:-.9em;transform:translateY(.5em) rotate(8deg) scale(.88)}
.hx-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7em;flex:none;margin-top:.8em}
.hx-card{display:flex;flex-direction:column;padding:.5em .5em .65em;border-radius:1.15em;background:#fff;box-shadow:0 .7em 1.3em -.8em rgba(16,23,34,.3),inset 0 0 0 1px rgba(16,23,34,.04)}
.hx-card__art{display:grid;place-items:center;height:4.7em;border-radius:.85em;background:radial-gradient(90% 90% at 30% 20%,#fff 0%,rgba(255,255,255,0) 60%),linear-gradient(150deg,var(--t1),var(--t2));overflow:hidden}
.hx-card__art .hx-vial{width:2.15em;height:3.44em;transform:translateY(.3em) rotate(-7deg);filter:drop-shadow(.15em .4em .4em rgba(16,23,34,.22))}
.hx-card b{display:block;margin:.55em .15em 0;font-size:.72em;font-weight:700;line-height:1.2;color:#101722}
.hx-card small{display:block;margin:.15em .11em 0;font-size:.58em;color:#7A838F}
.hx-card__row{display:flex;align-items:center;justify-content:space-between;margin:auto .1em 0;padding-top:.4em}
.hx-card__row span{font-size:.84em;font-weight:700;color:#101722}
.hx-add{display:grid;place-items:center;width:1.75em;height:1.75em;border-radius:50%;background:var(--p);color:#fff}
.hx-add svg{width:.95em;height:.95em;stroke-width:2.6}
/* booking */
.hx-sel{display:flex;align-items:center;gap:.75em;flex:none;margin-top:1em;padding:.7em .85em .7em .7em;border-radius:1.15em;background:#fff;box-shadow:0 .7em 1.3em -.8em rgba(16,23,34,.3),inset 0 0 0 1px rgba(16,23,34,.04)}
.hx-sel__art{display:grid;place-items:center;flex:none;width:3em;height:3em;border-radius:.9em;color:#fff;background:linear-gradient(135deg,#0C2F57,#2C86C4)}
.hx-sel__art svg{width:1.45em;height:1.45em}
.hx-sel b{display:block;font-size:.82em;line-height:1.25;color:#101722}
.hx-sel small{display:block;font-size:.62em;color:#7A838F}
.hx-sel .hx-price{margin-left:auto;color:#101722;font-size:.88em}
.hx-sel--add{margin-top:.6em}
.hx-sel--add .hx-sel__art{background:linear-gradient(150deg,#FCF1D6,#F0D38E)}
.hx-sel--add .hx-vial{width:1.5em;height:2.4em}
.hx-tog{flex:none;position:relative;width:2.5em;height:1.5em;margin-left:auto;border-radius:1em;background:#2E8B57}
.hx-tog::after{content:"";position:absolute;right:.16em;top:.16em;width:1.18em;height:1.18em;border-radius:50%;background:#fff;box-shadow:0 .1em .3em rgba(0,0,0,.25)}
.hx-days{display:grid;grid-template-columns:repeat(6,1fr);gap:.38em;flex:none;margin-top:.6em}
.hx-days span{display:grid;justify-items:center;gap:.2em;padding:.6em 0 .7em;border-radius:.95em;background:#fff;box-shadow:inset 0 0 0 1px rgba(16,23,34,.07)}
.hx-days small{font-size:.54em;font-weight:600;color:#7A838F}
.hx-days b{font-size:1em;font-weight:700;line-height:1.1;color:#101722}
.hx-days .on{background:var(--p);box-shadow:0 .7em 1.1em -.6em rgba(10,30,58,.85)}
.hx-days .on small{color:#C9D4E2}
.hx-days .on b{color:#fff}
.hx-days .on::after{content:"";width:.32em;height:.32em;border-radius:50%;background:var(--a)}
.hx-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:.5em;flex:none;margin-top:.6em}
.hx-slots span{padding:.8em 0;border-radius:.9em;background:#fff;text-align:center;font-size:.76em;font-weight:700;color:#101722;box-shadow:inset 0 0 0 1px rgba(16,23,34,.07)}
.hx-slots .on{background:linear-gradient(135deg,#E8CF8E,#C9A85C);box-shadow:0 .7em 1.1em -.5em rgba(185,151,75,.95)}
.hx-slots .off{color:#B4BBC5;text-decoration:line-through}
.hx-confirm{display:flex;align-items:center;gap:.7em;flex:none;margin-top:1.15em;padding:.8em .9em;border-radius:1.1em;background:#E9F4EC;box-shadow:inset 0 0 0 1px rgba(46,139,87,.16)}
.hx-confirm i{display:grid;place-items:center;flex:none;width:2em;height:2em;border-radius:50%;background:#2E8B57;color:#fff}
.hx-confirm svg{width:1.1em;height:1.1em;stroke-width:2.6}
.hx-confirm b{display:block;font-size:.78em;line-height:1.25;color:#164A2E}
.hx-confirm small{display:block;font-size:.62em;color:#3E6E54}
.hh__phone .hx-cta{position:absolute;left:1.2em;right:1.2em;bottom:6.5em;width:auto;margin:0;box-shadow:0 .9em 1.4em -.8em rgba(10,30,58,.85)}
/* therapies */
.hx-thx{position:relative;display:flex;flex-direction:column;justify-content:flex-end;flex:none;margin-top:.8em;height:10em;padding:.95em 1.1em;border-radius:1.35em;overflow:hidden;color:#fff;background:var(--g);box-shadow:0 1.1em 1.6em -1.1em var(--sh)}
.hx-thx::before{content:"";position:absolute;right:-2.8em;top:-3.4em;width:11em;height:11em;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.3),rgba(255,255,255,0) 72%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.hx-thx::after{content:"";position:absolute;right:-5em;top:-5.6em;width:15.4em;height:15.4em;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.hx-thx__art{position:absolute;right:1.15em;top:.95em;display:grid;place-items:center;width:3.3em;height:3.3em;border-radius:1em;background:rgba(255,255,255,.2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);z-index:1}
.hx-thx__art svg{width:1.7em;height:1.7em;stroke-width:1.7}
.hx-thx__p{position:absolute;left:1.1em;top:1em;padding:.36em .8em;border-radius:2em;background:rgba(255,255,255,.2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3);font-size:.7em;font-weight:700}
.hx-thx b{position:relative;font:500 1.36em/1.1 var(--f-disp);letter-spacing:-.01em}
.hx-thx__row{position:relative;display:flex;align-items:center;justify-content:space-between;margin-top:.5em}
.hx-thx small{font-size:.66em;color:rgba(255,255,255,.86)}
.hx-thx .hx-pill{background:#fff}
/* knowledge base */
.hx-cover{position:relative;display:flex;flex-direction:column;justify-content:flex-end;flex:none;margin-top:.9em;height:10.2em;padding:1.05em 1.1em;border-radius:1.35em;overflow:hidden;color:#fff;background:radial-gradient(130% 150% at 0% 0%,#2460A6 0%,#0F2F5C 48%,#0A1E3A 100%);box-shadow:0 1.1em 1.8em -1em rgba(10,30,58,.75)}
.hx-mol{position:absolute;right:-2.6em;top:-2.6em;width:9.8em;height:9.8em}
.hx-cover .hx-tag{position:relative}
.hx-cover b{position:relative;margin-top:.45em;font:500 1.55em/1.06 var(--f-disp);letter-spacing:-.012em}
.hx-cover small{position:relative;margin-top:.3em;font-size:.62em;color:#C3D0E0}
.hx-list{display:grid;gap:.55em;flex:none;margin-top:.8em}
.hx-row{display:flex;align-items:center;gap:.75em;padding:.55em .7em .55em .55em;border-radius:1.05em;background:#fff;box-shadow:0 .7em 1.3em -.9em rgba(16,23,34,.3),inset 0 0 0 1px rgba(16,23,34,.04)}
.hx-row__art{display:grid;place-items:center;flex:none;width:2.9em;height:2.9em;border-radius:.8em;background:linear-gradient(150deg,var(--t1),var(--t2));color:var(--tc)}
.hx-row__art svg{width:1.35em;height:1.35em}
.hx-row b{display:block;font-size:.74em;line-height:1.25;color:#101722}
.hx-row small{display:block;margin-top:.1em;font-size:.58em;color:#7A838F}
.hx-row > svg{flex:none;width:1em;height:1em;margin-left:auto;color:#B4BBC5}
/* the app's own tab bar: tapping a tab also changes the screen */
.hh__phone .hx-tabs{background:rgba(255,255,255,.94)}
.screen .hx-tabs button{display:flex;flex-direction:column;align-items:center;gap:.3em;font-size:.62em;font-weight:600;color:#8A93A0;transition:color 300ms ease}
.screen .hx-tabs button.on{color:var(--p)}
.screen .hx-tabs button.on svg{stroke-width:2.1}

/* the list beside the phone */
.hx__side{display:grid;gap:14px;align-content:center;min-width:0}
.hx__cap{margin:0;font:500 21px/1.2 var(--f-disp);color:#fff}
.hx__list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.hx__item{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:1px 12px;width:100%;padding:12px 14px 13px 12px;border-radius:14px;border:1px solid rgba(216,190,126,.16);background:rgba(8,24,50,.78);color:var(--on-navy);font:inherit;text-align:left;cursor:pointer;overflow:hidden;-webkit-tap-highlight-color:transparent;transition:background-color 300ms ease,border-color 300ms ease,transform 300ms var(--ease-out),box-shadow 300ms ease}
.hx__item:focus-visible{outline:2px solid var(--champ);outline-offset:2px}
.hx__ico{grid-row:1 / span 2;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:rgba(216,190,126,.1);color:var(--champ);transition:background-color 300ms ease,color 300ms ease}
.hx__ico svg{width:20px;height:20px}
.hx__n{align-self:end;font:600 15.5px/1.25 var(--f-ui);color:#fff}
.hx__d{align-self:start;font-size:13.5px;line-height:1.4;color:var(--fine-navy)}
.hx__item.is-on{border-color:rgba(216,190,126,.62);background:linear-gradient(135deg,rgba(36,96,166,.5),rgba(13,37,71,.78));box-shadow:0 22px 34px -24px rgba(0,0,0,.8)}
.hx__item.is-on .hx__ico{background:linear-gradient(135deg,var(--gold-hi),var(--gold));color:var(--navy)}
.hx__item.is-on .hx__d{color:var(--body-navy)}
@media (hover:hover){.hx__item:not(.is-on):hover{border-color:rgba(216,190,126,.4);background:rgba(13,37,71,.7)}}
.hx__bar{position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,var(--gold),var(--gold-hi));transform:scaleX(0);transform-origin:left}
.hx__item.is-on .hx__bar{transform:scaleX(1)}
.hx.is-auto .hx__item.is-on .hx__bar{animation:hxBar 4400ms linear both}
.hx.is-auto.is-paused .hx__item.is-on .hx__bar{animation-play-state:paused}
.hx__note{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin:2px 0 0;font-size:13px;line-height:1.4;color:var(--fine-navy)}
.hx__note .chip{font-size:12.5px;padding:5px 9px 5px 8px}
@keyframes hxBar{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* motion in the showcase, only where motion is allowed (html.still is set by main.js when the visitor paused motion) */
@media (prefers-reduced-motion:no-preference){
  html:not(.still) .hx__ring{animation:hxRing 6s var(--ease-out) infinite}
  html:not(.still) .hx__ring:nth-child(2){animation-delay:2s}
  html:not(.still) .hx__ring:nth-child(3){animation-delay:4s}
  html:not(.still) .hh__phone .phone{animation:hxFloat 7s ease-in-out infinite}
  html:not(.still) .hx-s.is-cur > *{animation:hxIn 640ms var(--ease-emph) both}
  html:not(.still) .hx-s.is-cur > :nth-child(2){animation-delay:60ms}
  html:not(.still) .hx-s.is-cur > :nth-child(3){animation-delay:120ms}
  html:not(.still) .hx-s.is-cur > :nth-child(4){animation-delay:180ms}
  html:not(.still) .hx-s.is-cur > :nth-child(5){animation-delay:240ms}
  html:not(.still) .hx-s.is-cur > :nth-child(6){animation-delay:300ms}
  html:not(.still) .hx-s.is-cur > :nth-child(7){animation-delay:360ms}
  html:not(.still) .hx-s.is-cur > :nth-child(8){animation-delay:420ms}
  html:not(.still) .hx-s.is-cur .hx-card{animation:hxIn 640ms var(--ease-emph) both}
  html:not(.still) .hx-s.is-cur .hx-card:nth-child(1){animation-delay:300ms}
  html:not(.still) .hx-s.is-cur .hx-card:nth-child(2){animation-delay:380ms}
  html:not(.still) .hx-s.is-cur .hx-card:nth-child(3){animation-delay:460ms}
  html:not(.still) .hx-s.is-cur .hx-card:nth-child(4){animation-delay:540ms}
  html:not(.still) .hx-s.is-cur .hx-row{animation:hxIn 640ms var(--ease-emph) both}
  html:not(.still) .hx-s.is-cur .hx-row:nth-child(1){animation-delay:260ms}
  html:not(.still) .hx-s.is-cur .hx-row:nth-child(2){animation-delay:340ms}
  html:not(.still) .hx-s.is-cur .hx-row:nth-child(3){animation-delay:420ms}
  html:not(.still) .hx-s.is-cur .hx-row:nth-child(4){animation-delay:500ms}
  html:not(.still) .hx-s.is-cur .hx-slots .on{animation:hxPop 520ms var(--ease-emph) 620ms both}
  html:not(.still) .hx-s.is-cur .hx-feat__art .hx-vial:first-child{animation:hxVial 900ms var(--ease-emph) 240ms both}
}
@keyframes hxRing{0%{transform:scale(.72);opacity:0}18%{opacity:.6}100%{transform:scale(1.7);opacity:0}}
@keyframes hxFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-10px,0)}}
@keyframes hxIn{from{opacity:0;transform:translate3d(0,1em,0)}to{opacity:1;transform:none}}
@keyframes hxPop{0%{transform:scale(.86)}60%{transform:scale(1.07)}100%{transform:scale(1)}}
@keyframes hxVial{from{opacity:0;transform:translate3d(0,1.4em,0) rotate(4deg)}to{opacity:1;transform:rotate(-7deg)}}

/* ---------- Motion down the page ----------
   Everything here is decoration on top of a page that reads fully without it: the rules sit inside the motion query
   and skip html.still (set by main.js when the visitor paused motion), and nothing is hidden unless it is also shown
   again by the same animation. */
.hh__field--band{opacity:.5;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,0) 0%,#000 22%,#000 78%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(180deg,rgba(0,0,0,0) 0%,#000 22%,#000 78%,rgba(0,0,0,0) 100%)}
.hp-prog{position:fixed;left:0;top:0;z-index:60;width:100%;height:3px;background:linear-gradient(90deg,var(--gold),var(--gold-hi) 60%,#FFF1C9);transform:scaleX(0);transform-origin:left;pointer-events:none}
@media (prefers-reduced-motion:no-preference){
  /* the hero arrives in order: line, headline, sentence, buttons, then the phone and its list */
  html:not(.still) .hh__copy > *{animation:hhUp 900ms var(--ease-emph) both}
  html:not(.still) .hh__copy > :nth-child(2){animation-delay:90ms}
  html:not(.still) .hh__copy > :nth-child(3){animation-delay:200ms}
  html:not(.still) .hh__copy > :nth-child(4){animation-delay:300ms}
  html:not(.still) .hh__copy > :nth-child(5){animation-delay:380ms}
  html:not(.still) .hx__stage{animation:hhPhone 1200ms var(--ease-emph) 160ms both}
  html:not(.still) .hx__side > *{animation:hhUp 900ms var(--ease-emph) 420ms both}
  html:not(.still) .hx__list li{animation:hhUp 800ms var(--ease-emph) both}
  html:not(.still) .hx__list li:nth-child(1){animation-delay:500ms}
  html:not(.still) .hx__list li:nth-child(2){animation-delay:580ms}
  html:not(.still) .hx__list li:nth-child(3){animation-delay:660ms}
  html:not(.still) .hx__list li:nth-child(4){animation-delay:740ms}
  /* a light crosses the main button every few seconds */
  html:not(.still) .hh .btn--gold::after{animation:hhGlint 5.2s var(--ease-out) 1.8s infinite}
  /* blocks that fade in on scroll travel a little further, and neighbours follow one another */
  html:not(.still) .fx{transform:translate3d(0,34px,0);transition:opacity 800ms var(--ease-out),transform 1000ms var(--ease-emph)}
  html:not(.still) .fx.is-in{transform:none}
  html:not(.still) .trio .part.fx:nth-child(2),html:not(.still) .ptable .pcol.fx:nth-child(2){transition-delay:130ms}
  html:not(.still) .trio .part.fx:nth-child(3),html:not(.still) .ptable .pcol.fx:nth-child(3){transition-delay:260ms}
  html:not(.still) .who__people.fx,html:not(.still) .src__coa.fx{transition-delay:160ms}
  /* the three drawings keep moving: the library breathes, the phone tilts, the agents orbit */
  html:not(.still) .part__art{transform-origin:60px 40px}
  html:not(.still) .part:nth-child(1) .part__art{animation:artFloat 5.5s ease-in-out infinite}
  html:not(.still) .part:nth-child(2) .part__art{animation:artTilt 6.5s ease-in-out infinite}
  html:not(.still) .part:nth-child(3) .part__art{animation:artSpin 22s linear infinite}
  /* who does what: the two halves meet at the blade */
  html:not(.still) .keep.fx .keep__half{opacity:0;transition:opacity 800ms var(--ease-out) 150ms,transform 1000ms var(--ease-emph) 150ms}
  html:not(.still) .keep.fx .keep__half:first-child{transform:translate3d(-44px,0,0)}
  html:not(.still) .keep.fx .keep__half:last-child{transform:translate3d(44px,0,0)}
  html:not(.still) .keep.fx.is-in .keep__half{opacity:1;transform:none}
  html:not(.still) .keep.fx .keep__blade{transform:scaleY(0);transition:transform 900ms var(--ease-emph)}
  html:not(.still) .keep.fx.is-in .keep__blade{transform:scaleY(1)}
  /* the certificate: its rows land one by one, the stamp drops, and a line of light keeps reading the sheet */
  html:not(.still) .src__coa.fx .coa__rows div{opacity:0;transform:translate3d(14px,0,0)}
  html:not(.still) .src__coa.fx.is-in .coa__rows div{opacity:1;transform:none;transition:opacity 500ms var(--ease-out),transform 600ms var(--ease-emph);transition-delay:calc(500ms + var(--i,0) * 110ms)}
  html:not(.still) .src__coa.fx .coa__stamp{opacity:0;transform:rotate(-6deg) scale(1.5)}
  html:not(.still) .src__coa.fx.is-in .coa__stamp{opacity:1;transform:rotate(-6deg);transition:opacity 260ms ease 1150ms,transform 520ms var(--ease-emph) 1150ms}
  html:not(.still) .src__coa .coa__sheet{overflow:hidden}
  html:not(.still) .src__coa .coa__sheet::after{content:"";position:absolute;left:0;right:0;top:0;height:90px;background:linear-gradient(180deg,rgba(212,175,94,0),rgba(212,175,94,.16) 78%,rgba(233,210,154,.75) 98%,rgba(212,175,94,0));transform:translate3d(0,-100px,0);animation:coaRead 5.6s var(--ease-io) 1.4s infinite;pointer-events:none}
  html:not(.still) .src__list li{transition:transform 300ms var(--ease-out)}
  /* Premier: a light travels round the edge of the column */
  html:not(.still) .home .pcol--prem::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--pa),rgba(255,241,201,0) 0deg,rgba(255,241,201,0) 250deg,#FFF1C9 320deg,rgba(255,241,201,0) 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:premEdge 5.5s linear infinite;pointer-events:none}
}
@property --pa{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes hhUp{from{opacity:0;transform:translate3d(0,26px,0)}to{opacity:1;transform:none}}
@keyframes hhPhone{from{opacity:0;transform:translate3d(0,56px,0) scale(.94)}to{opacity:1;transform:none}}
@keyframes hhGlint{0%{transform:translateX(-120%)}22%,100%{transform:translateX(120%)}}
@keyframes artFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-7px,0)}}
@keyframes artTilt{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(7deg)}}
@keyframes artSpin{to{transform:rotate(360deg)}}
@keyframes coaRead{0%{transform:translate3d(0,-100px,0)}45%,100%{transform:translate3d(0,420px,0)}}
@keyframes premEdge{to{--pa:360deg}}

/* ---------- 2. Who is behind it ---------- */
.who{padding:88px 0}
.who__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:32px 72px;align-items:center}
.who__prov{display:flex;align-items:center;gap:12px;margin:0 0 18px;font:600 var(--fs-hud)/1.3 var(--f-mono);letter-spacing:var(--ls-hud);text-transform:uppercase;color:var(--gold-ink)}
.who__prov::before{content:"";flex:none;width:2px;height:16px;background:var(--gold);transform:rotate(32deg)}
.who__q{margin:0}
.who__q p{margin:0;max-width:30ch;font:italic 400 clamp(26px,2.5vw,36px)/1.25 var(--f-disp);letter-spacing:-.012em;color:var(--navy);text-wrap:balance}
/* the people column: one .who__person per person; a round .who__photo can sit first in each, and a second person makes it
   two rows here (two columns under 1080px) without a redesign */
.who__people{display:grid;gap:24px;padding-left:32px;border-left:2px solid var(--gold)}
.who__person{display:grid;grid-template-columns:auto;gap:14px;align-items:center;margin:0}
.who__person:has(.who__photo){grid-template-columns:96px minmax(0,1fr)}
.who__photo{width:96px;height:96px;border-radius:50%;object-fit:cover}
.who__person figcaption{display:grid;gap:4px}
.who__name{font:500 21px/1.25 var(--f-disp);color:var(--navy)}
.who__role{font-size:15px;line-height:1.45;color:var(--slate)}
.who__bio{margin:4px 0 0;font-size:15px;line-height:1.5;color:var(--slate)}

/* ---------- 3. The three parts ---------- */
.trio{position:relative;padding:96px 0;overflow:hidden}
.trio > .wrap,.fit > .wrap{position:relative}
.trio__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.part{position:relative;display:flex;flex-direction:column;padding:28px 30px 28px;border-radius:var(--r-panel);background:rgba(10,30,58,.82);border:1px solid var(--line-navy);overflow:hidden;transition:transform 420ms var(--ease-out),border-color 300ms ease,box-shadow 420ms var(--ease-out)}
.part::before{content:"";position:absolute;inset:0;background:radial-gradient(340px circle at var(--mx,50%) var(--my,0px),rgba(216,190,126,.16),rgba(216,190,126,0) 62%);opacity:0;transition:opacity 300ms ease;pointer-events:none}
.part > *{position:relative}
@media (hover:hover){.part:hover{transform:translate3d(0,-6px,0);border-color:rgba(216,190,126,.62);box-shadow:0 34px 60px -34px rgba(0,0,0,.85)}.part:hover::before{opacity:1}}
.part__art{width:120px;height:80px;margin:0 0 18px;overflow:visible}
.part__art .pp-art__shape *{fill:none;stroke:var(--champ);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.part__art .pp-art__shape .f{fill:var(--champ);stroke:none}
.part .pain--card{margin-bottom:10px}
.part__h{font-size:clamp(26px,2.2vw,32px);line-height:1.12}
.part__p{margin:12px 0 0;font-size:16px;line-height:1.55;color:var(--body-navy)}
.part__p .chip{margin-left:4px;font-size:12.5px;padding:5px 9px 5px 8px}
.part__link{margin-top:auto;padding-top:20px;align-self:flex-start;color:var(--champ);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
@media (hover:hover){.part__link:hover{color:#fff}}

/* ---------- 4. How it fits together ---------- */
.fit{position:relative;padding:8px 0 96px;overflow:hidden}
.fit .keep{margin:0}
.fit .keep__half{color:#fff}
.fit .keep__half em{color:var(--champ)}

/* ---------- 5. Sourcing standard ---------- */
.src{padding:96px 0;background:var(--paper-2)}
.src__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,500px);gap:40px 72px;align-items:center}
.src .h2{font-size:clamp(32px,3.2vw,46px)}
.src__list{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:16px}
.src__list li{position:relative;padding-left:24px;font-size:16px;line-height:1.55;color:var(--slate)}
.src__list li::before{content:"";position:absolute;left:2px;top:.6em;width:10px;height:2px;background:var(--gold);transform:rotate(-58deg)}
.src__list b{display:block;font:500 20px/1.3 var(--f-disp);color:var(--navy)}
.src__link{display:inline-block;margin-top:24px;color:var(--navy);font-weight:600;text-decoration:underline;text-decoration-color:rgba(138,109,47,.6);text-decoration-thickness:1px;text-underline-offset:4px}
@media (hover:hover){.src__link:hover{text-decoration-color:var(--navy)}}
.src .fine{margin-top:16px}

/* ---------- 6. Plans: the section from round A, with the page's rhythm ---------- */
.home .pricing{padding:96px 0 104px}

/* ---------- 7. Questions and the request form ---------- */
.home .close{padding:96px 0 112px}
.home .close__head{padding-top:0}
.home .close__faq{margin-top:40px}

/* ---------- Tablets and phones ---------- */
@media (max-width:1180px){
  .hh__grid{grid-template-columns:minmax(0,1fr)}
  .hx{justify-content:start;margin-top:16px}
}
@media (max-width:1080px){
  .who__grid{grid-template-columns:minmax(0,1fr)}
  .who__people{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));padding-left:24px}
  .trio__grid{grid-template-columns:minmax(0,1fr);max-width:640px}
  .src__grid{grid-template-columns:minmax(0,1fr)}
  .src__coa{max-width:520px}
  /* the questions come before the form on a phone and tablet */
  .home .close__grid{grid-template-areas:"head" "faq" "side"}
  .home .close__faq{margin-top:28px}
  .home .close__side{margin-top:36px}
}
@media (max-width:760px){
  .hh{padding:calc(var(--nav-h) + 24px) 0 56px;background:radial-gradient(700px 560px at 50% 70%,#16407A 0%,#0D2547 55%,#0A1E3A 100%)}
  .hh .pain--hero{font-size:17px;margin-bottom:14px}
  .hh__h1{font-size:clamp(30px,8.4vw,38px);line-height:1.08}
  .hh__lead{font-size:17px;margin-top:14px}
  .hh .cta-row{margin-top:22px}
  .hh .fine{margin-top:14px}
  .hh__field{-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.3) 0%,rgba(0,0,0,.45) 40%,#000 70%);mask-image:linear-gradient(180deg,rgba(0,0,0,.3) 0%,rgba(0,0,0,.45) 40%,#000 70%)}
  .hx{grid-template-columns:minmax(0,1fr);justify-items:center;gap:22px;margin-top:20px}
  .hx__side{order:-1;width:100%;gap:12px}
  .hx__cap{font-size:20px}
  .hx__list{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .hx__item{grid-template-columns:minmax(0,1fr);justify-items:center;gap:6px;padding:10px 4px 11px;text-align:center}
  .hx__ico{grid-row:auto;width:34px;height:34px}
  .hx__n{font-size:12.5px;line-height:1.2}
  .hx__d{display:none}
  .hx__note{justify-content:center}
  .hh__phone{--pw:min(292px,78vw)}
  .hx__ring{--hx-r:340px}
  .who{padding:64px 0}
  .who__q p{font-size:24px}
  .trio{padding:56px 0}
  .trio__grid{gap:16px}
  .part{padding:22px 22px 24px}
  .part__art{width:84px;height:56px;margin-bottom:8px}
  .part__link{padding-top:14px}
  .fit{padding:0 0 64px}
  .fit .keep__half{text-align:left}
  .src{padding:56px 0}
  .src__list{margin-top:22px;gap:12px}
  .src__list b{font-size:18.5px}
  .home .pricing{padding:64px 0 72px}
  .home .close{padding:64px 0 80px}
}
