/* ==========================================================================
   Tru-Solutions — separate screens layer (loaded last)
   index.html      first page: eLab and MediScope, each with its own logo + window
   elab.html       eLab screen (eLab images only)
   mediscope.html  MediScope screen (MediScope images only)
   ========================================================================== */

/* ---- Tru-Solutions logo: bigger, everywhere ----------------------------- */
.global-header{height:100px}
.brand-logo{height:62px;width:auto;max-width:270px}
.footer .brand-logo{height:74px;max-width:320px}
html{scroll-padding-top:84px}
@media (max-width:1190px){.global-header{height:90px}.brand-logo{height:54px}}
@media (max-width:900px){
  .global-header{height:80px}.brand-logo{height:46px;max-width:200px}
  .main-nav{top:100%!important}
}
@media (max-width:740px){.footer .brand-logo{height:60px}}
@media (max-width:420px){.global-header{height:72px}.brand-logo{height:38px;max-width:164px}}

/* ---- header navigation: the two products appear as their logos ---------- */
.main-nav .nav-product{padding:6px 2px}
.main-nav .nav-logo{display:block;width:auto;height:21px}
.main-nav .nav-logo-elab{height:30px;margin-top:-7px}
.main-nav .nav-product:hover .nav-logo{transform:translateY(-1px)}
.main-nav .nav-logo{transition:transform .25s var(--ease)}
@media (max-width:900px){
  .main-nav .nav-logo{height:24px}.main-nav .nav-logo-elab{height:34px;margin-top:-6px}
  .main-nav .nav-product{padding:12px 0}
}

/* ---- "on this page" bar -------------------------------------------------- */
.product-nav-title{display:inline-flex;align-items:center;gap:10px}
.product-nav-title .product-nav-logo{height:19px;width:auto;display:block}
.product-nav-title .elab-word{height:27px!important;margin-top:-6px}
@media (max-width:960px){.product-nav-title{display:none}}

/* ---- the eLab logo wherever the name is written -------------------------- */
img.elab-word{display:inline-block!important;position:static!important;inset:auto!important;width:auto!important;max-width:none!important;
  height:max(1.36em,15px)!important;padding:0!important;margin:0 .05em;border:0!important;border-radius:0;box-shadow:none!important;background:none;
  object-fit:contain!important;vertical-align:-.07em;transform:none!important;opacity:1!important;mix-blend-mode:normal;flex-shrink:0}
/* on dark surfaces the logo sits on a small white plate so it stays true to colour */
.btn img.elab-word,.showcase-section img.elab-word,.ops-section img.elab-word,.footer img.elab-word,.sc-dialog img.elab-word{
  background:#fff;border-radius:.42em;padding:.16em .42em .12em!important;height:1.3em!important;box-sizing:content-box;vertical-align:-.36em}
.btn img.elab-word{vertical-align:middle;margin:-.3em 0}
.window-bar img.elab-word{height:1.55em!important;vertical-align:-.12em}
.eyebrow img.elab-word,.sc-kicker img.elab-word{height:1.7em!important}
.eyebrow img.elab-word{margin-top:-.5em}
.footer-links a{display:inline-flex;align-items:center}
.footer-links img.elab-word{vertical-align:middle}
.resource-card strong img.elab-word{height:1.5em!important}
.watch-button img.elab-word{height:1.5em!important;margin-top:-.4em}

/* summary rows put text + icon in a flex row: keep the words together */
.faq-list summary .q{display:block;flex:1;min-width:0}

/* eLab logo lock-up (logo + its tagline plate) */
.elab-lockup{display:inline-flex;flex-direction:column;align-items:stretch;gap:5px;line-height:1}
.elab-lockup-logo{display:block;height:68px;width:auto;align-self:center;margin-left:14px}
.elab-lockup-tag{display:block;background:#12998c;color:#fff;font-weight:800;font-size:12.09px;line-height:1.28;letter-spacing:.1px;text-align:center;
  padding:7px 16px 8px;border-radius:9px;white-space:nowrap}

/* ---- first page: hero line ------------------------------------------------ */
.home-hero{padding-bottom:6px}
.home-hero .home-hero-copy{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);column-gap:72px;align-items:end;padding:44px 0 40px}
.home-hero-copy>.eyebrow{grid-column:1/-1;margin-bottom:18px}
.home-hero-copy>h1{grid-column:1;grid-row:2/span 3;align-self:end}
.home-hero-copy>.hero-lead{grid-column:2;grid-row:2;margin-top:0}
.home-hero-copy>.hero-description{grid-column:2;grid-row:3;max-width:470px}
.home-hero-copy>.hero-location{grid-column:2;grid-row:4;margin-top:18px}
@media (max-width:960px){
  .home-hero .home-hero-copy{column-gap:40px;padding:36px 0 32px}
}
@media (max-width:740px){
  .home-hero .home-hero-copy{display:block;padding:34px 0 26px}
  .home-hero-copy>.hero-lead{margin-top:18px}
}

/* ---- first page: two different screen windows ---------------------------- */
.choices-section{position:relative;background:#fff;padding:0 0 88px}
.choices-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;align-items:stretch}
.choice-card{--accent:#12998c;--tint:#effaf8;position:relative;display:flex;flex-direction:column;min-width:0;
  padding:30px 34px 34px;border-radius:26px;border:1px solid var(--line);
  background:linear-gradient(180deg,var(--tint) 0,#fff 300px);box-shadow:0 26px 60px -40px #3a2a1a55;
  transition:transform .45s var(--ease),box-shadow .45s,border-color .3s;
  animation:visual-enter 1s .18s var(--ease) both}
.choice-card:nth-child(2){animation-delay:.3s}
html.gsap-active .choice-card{animation-name:none}
.motion-paused .choice-card{animation:none!important;opacity:1!important;translate:none!important}
.choice-card:hover{transform:translateY(-4px);box-shadow:0 34px 70px -38px #3a2a1a70;border-color:color-mix(in srgb,var(--accent) 38%,var(--line))}
.motion-paused .choice-card:hover{transform:none}
.choice-mediscope{--accent:#cf2f3b;--tint:#fff3f2}
.choice-card:before{content:'';position:absolute;left:34px;right:34px;top:0;height:3px;border-radius:0 0 4px 4px;background:var(--accent);opacity:.85}
.choice-head{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:112px;margin-bottom:22px}
.choice-logo-mediscope{display:block;height:54px;width:auto}
.choice-kicker{display:inline-flex;align-items:center;gap:8px;font-size:11.16px;font-weight:800;letter-spacing:1.5px;color:var(--accent);text-align:right}
.choice-kicker .icon{width:16px;height:16px;flex-shrink:0}
.choice-card .choice-stage{padding:0;margin:0 0 28px;display:block}
.choice-card .choice-stage:hover{transform:none;box-shadow:none}
.choice-card .stage-window{transform:none;border-radius:13px;border-color:#eadfd3;box-shadow:0 22px 44px -22px #2f211740;cursor:zoom-in}
.choice-card .stage-window:hover,.choice-card .mediscope-stage .stage-window:hover{transform:translateY(-3px)}
.choice-card .stage-window>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;object-position:center;padding:0;background:#fff}
.choice-card .mediscope-stage .stage-window{max-width:none;width:100%}
.choice-card .mediscope-stage .stage-window>img{height:auto;padding:10px}
.choice-card .stage-caption{transform:none}
.choice-title{font-size:35.34px;line-height:1.13;letter-spacing:-1.7px;font-weight:650}
.choice-text{font-size:16.28px;line-height:1.75;color:var(--muted);margin-top:14px;max-width:520px}
.choice-card .check-grid{max-width:470px;margin-top:22px;gap:12px 14px}
.choice-card .check-grid li{font-size:14.42px}
.choice-card .check-grid .icon{color:var(--accent)}
.choice-card .panel-actions{margin-top:auto;padding-top:30px;flex-wrap:wrap}
.choice-card .panel-actions .btn{font-size:15.35px;min-height:52px;padding:14px 24px}
.choice-card .panel-actions .text-link{font-size:14.42px;gap:7px}
.choice-elab .btn-dark:hover{background:#0c7d72}
.choice-mediscope .btn-dark:hover{background:#b3242f}
@media (max-width:1190px){
  .choices-grid{gap:22px}.choice-card{padding:26px 26px 30px}.choice-card:before{left:26px;right:26px}
  .choice-title{font-size:29.76px;letter-spacing:-1.3px}.choice-text{font-size:15.35px}
  .choice-head{min-height:104px}.elab-lockup-logo{height:60px}.elab-lockup-tag{font-size:11.16px;padding:6px 13px 7px}
  .choice-logo-mediscope{height:46px}.choice-kicker{font-size:10.23px;letter-spacing:1.1px}
}
@media (max-width:960px){
  .choice-kicker{display:none}
  .choice-card .check-grid li{font-size:13.49px}
}
@media (max-width:800px){
  .choices-grid{grid-template-columns:1fr}
  .choices-section{padding-bottom:64px}
  .choice-kicker{display:inline-flex}
  .choice-head{min-height:0}
}
@media (max-width:460px){
  .choice-card{padding:22px 18px 26px;border-radius:20px}.choice-card:before{left:18px;right:18px}
  .choice-kicker{display:none}
  .choice-title{font-size:26.04px}
  .choice-card .check-grid{grid-template-columns:1fr}
}

/* ---- product screens: one window each ------------------------------------ */
.hero-brandmark{margin-bottom:26px}
.hero-logo-mediscope{display:block;height:58px;width:auto}
.product-hero .hero-copy{padding-top:40px}
.hero-visual.solo .hero-window{right:auto}
.hero-visual.solo .elab-window{width:94%;left:3%;top:98px;transform:rotate(-2deg)}
.hero-visual.solo .scope-window{width:68%;left:16%;top:74px;transform:rotate(2deg)}
.hero-visual.solo .hero-window>img{display:block}
@media (min-width:1500px){.hero-visual.solo .elab-window{top:108px}.hero-visual.solo .scope-window{top:66px;width:70%;left:15%}}
@media (max-width:1190px){.hero-visual.solo .elab-window{width:96%;left:2%;top:92px}.hero-visual.solo .scope-window{top:68px}}
@media (max-width:960px){.hero-visual.solo .elab-window{top:100px}.hero-visual.solo .scope-window{top:74px;width:72%;left:14%}}
@media (max-width:740px){
  .hero-brandmark{margin-bottom:20px}.hero-logo-mediscope{height:46px}
  .hero-visual.solo{height:auto;padding:66px 0 74px}
  .hero-visual.solo .hero-window{position:relative;top:auto;left:auto;width:100%;margin:0 auto}
  .hero-visual.solo .scope-window{width:86%}
  .hero-visual.solo .hero-partner-card{bottom:22px;right:0}
  .hero-visual.solo .hero-image-note{bottom:0;left:4px}
}

/* ---- removed the blank strip between the two dark eLab sections ---------- */
.showcase-section + .ops-section{border-top:1px solid #ffffff14}

/* ---- contact: the form now fills the right-hand column -------------------- */
.contact-layout{align-items:start}
.contact-layout>.enquiry-card{width:100%}
@media (max-width:740px){.contact-layout>.enquiry-card{align-self:stretch}}

/* ---- single brochure on the eLab screen ----------------------------------- */
.resource-grid-single{grid-template-columns:minmax(0,640px)}


/* ---- spacing where sections now meet after the removals -------------------- */
.ops-section + .builder-section{padding-top:104px}
.phrase-ribbon + .faq-section{padding-top:100px}
.product-hero + .section{padding-top:48px}
@media (max-width:740px){
  .ops-section + .builder-section{padding-top:72px}
  .phrase-ribbon + .faq-section{padding-top:68px}
  .product-hero + .section{padding-top:40px}
}

/* ---- small-screen tidy-ups -------------------------------------------------- */
.choice-card .choice-stage{min-height:0!important}
@media (max-width:740px){
  .choice-card .stage-window{max-width:none}
  .contact-methods>.office-address{grid-column:1/-1;margin-top:8px}
}

/* ---- no empty white bands: keep the gaps between sections tight ------------- */
.numbers-strip{min-height:0!important;height:auto!important;padding-top:0!important;padding-bottom:0!important;margin:0!important;display:block}
.numbers-strip .numbers-grid{min-height:0!important;padding-top:32px!important;padding-bottom:32px!important;margin:0 auto!important}
.hero.product-hero .hero-bottom{padding-bottom:18px}
.section.faq-section{padding-bottom:64px}
.section.contact-section{padding-top:72px}
.section.resources-section{padding-bottom:64px}
.section.builder-section{padding-bottom:84px}
.choices-section{padding-bottom:64px}
@media (max-width:740px){
  .section.faq-section{padding-bottom:48px}
  .section.contact-section{padding-top:52px}
  .choices-section{padding-bottom:48px}
}

/* ---- the MediScope logo wherever the name is written ------------------------ */
img.medi-word{display:inline-block!important;position:static!important;inset:auto!important;width:auto!important;max-width:none!important;
  height:max(1.38em,15px)!important;padding:0!important;margin:0 .06em;border:0!important;border-radius:0;box-shadow:none!important;background:none;
  object-fit:contain!important;vertical-align:-.3em;transform:none!important;opacity:1!important;mix-blend-mode:normal;flex-shrink:0}
/* black lettering needs a white plate on dark surfaces */
.btn img.medi-word,.footer img.medi-word,.showcase-section img.medi-word,.ops-section img.medi-word{
  background:#fff;border-radius:.4em;padding:.16em .45em .2em!important;height:max(1.2em,14px)!important;box-sizing:content-box;vertical-align:-.5em}
.btn img.medi-word{vertical-align:middle;margin:-.3em 0}
.eyebrow img.medi-word{height:max(2em,19px)!important;margin-top:-.6em;vertical-align:-.5em}
.window-bar img.medi-word{height:max(1.6em,13px)!important}
.footer-links img.medi-word{vertical-align:middle}
.resource-card strong img.medi-word{height:1.4em!important}
h1 img.medi-word,h2 img.medi-word,h3 img.medi-word{height:1.2em!important;vertical-align:-.24em}

/* ---- real screenshots -------------------------------------------------------- */
.choice-elab .stage-window>img{aspect-ratio:1535/815}
.choice-card .mediscope-stage .stage-window>img{aspect-ratio:1535/815;padding:8px}
.hero-visual.solo .scope-window>img{width:100%;height:auto;background:#fff}
#lightbox-image{image-rendering:auto}

/* Larger text: let the enquiry drop-down grow with its label instead of clipping it. */
.select-wrap select{height:auto;min-height:52px;padding-top:11px;padding-bottom:11px;line-height:1.5}


/* ---------------------------------------------------------------- update: plain product names, Home link, clickable cards */
.main-nav .nav-product,.main-nav .nav-home{padding:6px 2px}
.main-nav>a.active{color:var(--ink)}
.product-nav-inner.no-title nav{margin-left:0}
.product-nav-inner.no-title .product-nav-cta{margin-left:auto}

/* first page: the whole product card opens the product screen */
.choice-card{cursor:pointer}
.choice-cover{position:absolute;inset:0;z-index:2;border-radius:inherit}
.choice-cover:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.choice-card .panel-actions .text-link{position:relative;z-index:3}
.choice-card .stage-window{cursor:pointer;display:block}
.choice-card .stage-window:hover,.choice-card .mediscope-stage .stage-window:hover{transform:none}

/* first page hero: two buttons on the right */
.home-hero-copy>h1{grid-row:2/span 4}
.home-hero-copy>.home-hero-actions{grid-column:2;grid-row:4;margin-top:22px;display:flex;flex-wrap:wrap;gap:12px}
.home-hero-copy>.hero-location{grid-row:5}
.home-hero-actions .btn{min-height:50px;padding:13px 22px;font-size:15.35px}
@media (max-width:740px){.home-hero-actions .btn{flex:1 1 150px;justify-content:center}}

/* numbers strip: "Multiple versions" */
.number .number-word{font-size:27.9px;font-weight:500;letter-spacing:-1px;margin-left:0}
@media (max-width:960px){.number .number-word{font-size:24.18px}}

/* MediScope: 12+ specialties, with three shown as examples */
.specialty-row{display:flex;align-items:flex-end;gap:28px;border-bottom:1px solid #eee7e0;margin-bottom:39px}
.specialty-row .specialty-tabs{border-bottom:0;margin-bottom:0;flex:0 1 auto}
.specialty-count{display:inline-flex;align-items:baseline;gap:6px;padding:0 0 14px;font-size:13.49px;font-weight:650;color:var(--ink);white-space:nowrap}
.specialty-count strong{font-size:22.32px;font-weight:600;letter-spacing:-.6px;color:var(--coral)}
.specialty-more{padding:0 0 16px;font-size:12.09px;font-weight:600;color:#8b91a0;white-space:nowrap}
@media (max-width:740px){
  .specialty-row{flex-wrap:wrap;gap:6px 18px;margin-bottom:28px}
  .specialty-count{flex:1 0 100%;padding-bottom:6px}
  .specialty-row .specialty-tabs{flex:1 1 auto}
  .specialty-more{display:none}
}
.number>.count-value.number-plain{min-width:0}
/* phones: hero buttons full width, numbers one under another */
@media (max-width:560px){
  .home-hero-actions .btn{flex:1 1 100%;padding-inline:18px}
  .numbers-grid{grid-template-columns:1fr;padding:6px 0}
  .numbers-grid>div,.numbers-grid>div:first-child{padding:16px 0;border-right:0;border-bottom:1px solid var(--line)}
  .numbers-grid>div:last-child{border-bottom:0}
  .number{flex-direction:row;align-items:baseline;gap:8px}
  .number>span{font-size:12.09px}
  .number .number-word{font-size:24.64px}
  .numbers-grid p{max-width:none;font-size:9.3px;margin-top:3px}
}
