:root {
  --paper: #faf9f6;
  --white: #fff;
  --ink: #10243b;
  --muted: #4b5c6d;
  --blue: #0d4a94;
  --rule: #c8cfd4;
  --sky: #92d6ff;
  --sans: Inter, Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.5 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; }
h1,h2,h3,p,figure { margin: 0; }
a { color: inherit; }
button,select,input { font: inherit; }
button,a,select,summary,input { touch-action: manipulation; }
button,summary { cursor: pointer; }
[hidden] { display: none !important; }
:where(a,button,select,summary,input,[tabindex]):focus-visible { outline: 3px solid #077fca; outline-offset: 4px; box-shadow: 0 0 0 4px white; }
::selection { background: #c3e7ff; color: #0b294b; }
.shell { width: min(1280px, calc(100% - clamp(42px,8.8vw,152px))); margin-inline: auto; }
.kicker,.feature-line { font-family: var(--sans); font-weight: 700; font-size: .76rem; line-height: 1.45; letter-spacing: .112em; text-transform: uppercase; }
.kicker { color: var(--blue); }
.skip,.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { top: 8px; left: 8px; width: auto; height: auto; clip-path: none; z-index: 10; background: white; color: var(--ink); padding: 10px 16px; }
.mast { border-bottom: 1px solid var(--rule); }
.mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; text-decoration: none; font-size: 1.08rem; font-weight: 720; letter-spacing: -.04em; }
.brand img { width: 48px; height: auto; display: block; }
.mast nav { display: flex; align-items: center; gap: 30px; }
.mast nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 650; font-size: .92rem; }
.mast .header-contact { padding: 0 22px; background: var(--ink); color: white; border-radius: 3px; }
.mast .header-contact:hover,.primary:hover { background: var(--blue); }
.nav-work:hover,.back:hover,.foot>a:hover { color: var(--blue); text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); align-items: center; gap: clamp(24px,3vw,52px); padding-block: clamp(36px,3.5vw,55px) clamp(36px,3.6vw,55px); }
.hero-copy>.kicker { display: flex; align-items: center; gap: 10px; max-width: 31rem; }
.short-line { display: inline-block; width: 24px; height: 2px; background: #1677c7; flex-shrink: 0; }
.hero h1,.case-head h1,.project-group h2,.contact h2 { font-weight: 640; letter-spacing: -.072em; }
.hero h1 { font-size: clamp(4rem,6.5vw,6.5rem); line-height: .96; margin: 23px 0 20px; }
.hero h1 em,.contact h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.068em; }
.hero h1 em { color: var(--blue); }
.hero-lede { color: var(--muted); font-size: clamp(1.03rem,1.25vw,1.19rem); line-height: 1.56; max-width: 32rem; text-wrap: pretty; }
.actions { display: flex; gap: 22px; align-items: center; margin-top: 27px; flex-wrap: wrap; }
.btn,.plain-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; font-size: .94rem; line-height: 1.3; font-weight: 660; }
.btn { border-radius: 3px; padding: 12px 20px; text-decoration: none; }
.primary { color: white; background: var(--blue); }
.primary:hover { background: var(--ink); }
.contact-short { display: none; }
.contact-wide { white-space: pre; }
.plain-cta { color: var(--blue); text-underline-offset: 5px; text-decoration-color: #7e9ab6; }
.plain-cta:hover { text-decoration-thickness: 2px; }
.feature { align-self: stretch; overflow: hidden; min-height: 395px; background: #102d55 url('blue-field.webp') center / cover; color: white; position: relative; isolation: isolate; border-radius: 5px; display: flex; flex-direction: column; justify-content: space-between; }
.feature-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: clamp(16px,2vw,28px) clamp(15px,2.5vw,34px) 0; }
.feature-line { color: #fff; text-shadow: 0 1px 4px #04284e; }
.sample-label { font-size: .81rem; font-weight: 600; color: #ddedff; }
.product-display { display: grid; place-items: center; padding: 22px 9% 26px 8%; perspective: 1200px; flex: 1; }
.device { width: 100%; border-radius: 7px; background: #eff0ef; padding: 3px; overflow: hidden; box-shadow: 1px 2px 0 #9baabc, 2px 4px 0 #778798, 4px 8px 2px #071c3430, 3px 20px 32px #00102288; transform: rotateY(-9deg) rotateX(5deg) rotateZ(-4deg); }
.device-bar { height: 14px; display: flex; gap: 3px; align-items: center; padding: 0 5px; }
.device-bar i { width: 3px; height: 3px; border-radius: 100%; background: #8193a4; }
.device-bar span { margin-inline: auto; width: 25%; height: 4px; border-radius: 2px; background: #ced5db; }
.device img { display: block; width: 100%; height: auto; border: 1px solid #d3d7dc; border-radius: 2px; background: #fff; }
.feature-top h2 { font-size: clamp(1.7rem,2.6vw,2.6rem); font-weight: 680; line-height: 1.1; letter-spacing: -.055em; }
.feature-bottom { background: #0b213e; border-top: 1px solid #6997bd; padding: 14px clamp(15px,2.15vw,30px); }
.feature-demo { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 13px; }
#feature-caption { color: #d2e5f2; font-size: .88rem; line-height: 1.4; }
.feature-offer { border-top: 1px solid #47637c; margin-top: 12px; padding-top: 11px; color: #f3f6fa; line-height: 1.45; font-size: 1rem; }
.feature-identity { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1px 12px; }
.feature-link { background: #102d55; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 13px; border: 1px solid #a3c0da; border-radius: 3px; font-size: .91rem; color: white; font-weight: 650; text-decoration: none; }
.feature-link:hover { background: #284b6b; }
.view-switch { display: inline-flex; gap: 4px; width: fit-content; }
.view-switch button { border: 1px solid #607c96; background: #132e4c; color: #d8e9fa; font-size: .84rem; border-radius: 3px; min-height: 44px; padding: 5px 14px; }
.view-switch button:hover { background: #274c72; }
.view-switch button[aria-pressed=true] { background: #e7f5ff; color: #0e2944; border-color: #e7f5ff; font-weight: 650; }
.work { padding-bottom: clamp(46px,5.5vw,85px); }
.project-group { border-top: 1px solid var(--rule); padding-top: clamp(27px,3vw,46px); scroll-margin-top: 16px; }
.project-group + .project-group { margin-top: clamp(38px,5vw,72px); }
.project-group h2 { font-size: clamp(2.1rem,4.2vw,4.1rem); line-height: 1.04; margin-bottom: 9px; text-wrap: balance; }
.group-offer { color: var(--muted); font-size: clamp(1rem,1.3vw,1.18rem); max-width: 62ch; line-height: 1.45; text-wrap: pretty; margin-bottom: clamp(18px,2.25vw,32px); }
.contact h2 { font-size: clamp(2.75rem,4.7vw,4.8rem); line-height: .99; }
.blue-stop { color: #1677c7; }
.gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(18px,2.5vw,36px); }
.card { min-width: 0; }
.card-link { display: block; text-decoration: none; }
.card-visual { overflow: hidden; position: relative; border-radius: 3px; aspect-ratio: 1.82; background: #dce7ee; border: 1px solid #c7d4de; display: grid; place-items: center; }
.card-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-operations-dashboard .card-visual { padding: 22px 7% 0; align-items: start; }
.card-operations-dashboard .card-visual img { object-fit: cover; object-position: top left; height: auto; box-shadow: 0 8px 25px #172b4a35; border-radius: 3px 3px 0 0; }
.card-operations-dashboard .card-visual { background: linear-gradient(120deg,#c3d9e9,#83a7c7); }
.card-coronary-viewlab .card-visual { background: #12243c; }
.card-behavioral-signal-triage .card-visual { background: #e1eaf3; }
.card-text { padding: 17px 0 0; }
.card-text h3 { font-size: clamp(1.42rem,2.1vw,2.05rem); line-height: 1.08; font-weight: 660; letter-spacing: -.05em; margin: 6px 0; }
.card-summary { color: var(--muted); max-width: 39rem; line-height: 1.53; text-wrap: pretty; }
.card-open { color: var(--blue); font-weight: 650; font-size: .88rem; border-bottom: 1px solid #8ea4b7; margin-top: 12px; display: inline-block; }
.card-link:hover .card-open { border-color: var(--blue); }
.card-link:hover h3 { color: var(--blue); }
.case-wrap { max-width: 1120px; }
.case-head { padding: clamp(22px,4vw,65px) 0 clamp(24px,3vw,48px); }
.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 620; color: var(--blue); font-size: .9rem; text-underline-offset: 4px; }
.case-head .kicker { margin: 22px 0 8px; }
.case-head h1 { font-size: clamp(2.9rem,6.2vw,6rem); line-height: .98; text-wrap: balance; overflow-wrap: break-word; }
.case-intro { max-width: 48rem; font-size: clamp(1.04rem,1.6vw,1.28rem); margin-top: 16px; color: var(--muted); text-wrap: pretty; }
.more-work { border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 45px; padding: 18px 0 36px; }
.next-project { display: grid; color: var(--muted); font-size: .83rem; text-decoration: none; text-align: right; }
.next-project strong { color: var(--blue); font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; }
.contact { color: white; background: #102941; }
.contact-grid { padding-block: clamp(42px,6vw,88px); display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
.contact .kicker { color: #9dd6fa; margin-bottom: 14px; }
.contact h2 em { color: #9ed8ff; }
.contact-action { max-width: 31rem; justify-self: end; }
.contact-action p { color: #dce6ee; font-size: clamp(1.03rem,1.6vw,1.25rem); line-height: 1.5; }
.light { background: #eff8ff; color: var(--ink); margin-top: 20px; }
.light:hover { background: #cceaff; }
.foot { min-height: 82px; display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: .86rem; }
.foot .brand { font-size: 1rem; color: var(--ink); }
.foot .brand img { width: 35px; }
.foot>a:last-child { margin-inline-start: auto; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
@media(max-width:980px) {
  .hero { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .hero h1 { font-size: clamp(3.4rem,7.4vw,4.75rem); }
  .feature { min-height: 330px; }
  .actions { gap: 7px 16px; }
  .gallery { gap: 24px 16px; }
  .card-visual { aspect-ratio: 1.65; }
  .card-summary { font-size: 1rem; }
}
@media(max-width:700px) {
  .shell { width: calc(100% - 36px); }
  .mast-inner { min-height: 62px; }
  .brand { gap: 8px; font-size: 1rem; }
  .brand img { width: 39px; }
  .mast nav { gap: 16px; }
  .mast .header-contact { padding: 0 13px; }
  .hero { grid-template-columns: 1fr; padding-block: 32px; gap: 24px; }
  .hero h1 { font-size: clamp(3.45rem,11.5vw,4.85rem); margin: 14px 0 14px; }
  .hero h1 br:first-of-type { display: none; }
  .hero h1 br:first-of-type::after { content: " "; }
  .hero-copy>.kicker { gap: 7px; }
  .kicker,.feature-line { font-size: .75rem; letter-spacing: .08em; }
  .hero-lede { line-height: 1.48; }
  .actions { margin-top: 16px; gap: 6px 16px; }
  .btn,.plain-cta { font-size: .88rem; }
  .feature { min-height: 0; }
  .feature-top { padding-top: 14px; }
  .product-display { padding-block: 19px 22px; }
  .feature-bottom { padding: 10px 14px 11px; gap: 4px; }
  .view-switch button { font-size: .84rem; padding-inline: 12px; }
  .work { padding-bottom: 46px; }
  .feature-demo { align-items: flex-start; }
  .feature-offer { margin-top: 9px; }
  .card-text h3 { font-size: clamp(1.35rem,4vw,1.75rem); }
  .more-work { gap: 12px; padding-bottom: 24px; margin-top: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-action { justify-self: start; }
}
@media(max-width:480px) {
  .card-visual { aspect-ratio: 2; }
  .gallery { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .card-text { padding-top: 12px; }
  .card-text h3 { font-size: 1.65rem; }
  .foot { flex-wrap: wrap; gap: 5px 12px; min-height: 65px; }
  .foot .brand { font-size: .9rem; }
  .foot .brand img { width: 27px; }
}
@media(max-width:360px) {
  .shell { width: calc(100% - 28px); }
  .mast nav { gap: 9px; }
  .mast nav a { font-size: .87rem; }
  .mast .header-contact { padding: 0 9px; }
  .hero { padding-block: 20px 26px; gap: 15px; }
  .hero h1 { font-size: 2.8rem; margin: 9px 0; }
  .hero-lede { font-size: 1rem; }
  .hero .kicker { letter-spacing: .055em; }
  .short-line { width: 14px; }
  .contact-wide { display:none; }
  .contact-short { display:inline; }
  .actions { margin-top: 10px; }
  .actions { gap: 8px; }
  .actions .btn { padding-inline: 11px; }
  .actions .plain-cta { font-size: .83rem; }
  .foot { font-size: .78rem; }
}
@media(prefers-reduced-motion:no-preference) {
  .card-visual img { transition: transform 240ms ease; }
  .card-link:hover .card-visual img { transform: scale(1.025); }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Local type approval. Only the two hero headline runs use these files. */
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
.hero h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
}
.hero h1 em {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-synthesis: none;
}
/* Preserve the three-line headline within v2's existing desktop column. */
@media (min-width: 981px) {
  .hero h1 { font-size: clamp(4rem, 6.5vw, 5.8rem); }
}
