:root {
  --bg: #040b1a; --bg-2: #071330; --bg-3: #0a1a3d;
  --text: #e8eff9; --muted: #9db0ca; --line: rgba(157,176,202,.18);
  --cyan: #17adde; --pink: #ff6fd8;
  --sweep: linear-gradient(90deg, #d0159f 0%, #9a6bd0 40%, #17adde 70%, #2f7fe0 100%);
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1200px;
  --header: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--bg); }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 650; letter-spacing: -0.02em; line-height: 1.12; margin: 0; color: #fff; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); font-size: .92em; color: #fff; }
.grad { background: var(--sweep); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.site-header.scrolled { background: rgba(4,11,26,.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: auto; background: #fff; border-radius: 10px; padding: 5px 9px; }
.brand span { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.menu-toggle { display: none; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500; opacity: .82; transition: opacity .2s; }
.site-nav a:hover { opacity: 1; }
.site-nav a[aria-current="page"] { opacity: 1; color: #fff; background: var(--sweep) no-repeat left bottom / 100% 2px; padding-bottom: 6px; }
.site-nav a.nav-cta { opacity: 1; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 18px; transition: background-color .2s, color .2s; }
.site-nav a.nav-cta:hover, .site-nav a.nav-cta[aria-current="page"] { background: #fff; color: var(--bg); }

/* shared bits */
.eyebrow, .crumbs { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.eyebrow { color: var(--cyan); }
.eyebrow::before, .crumbs::before { content: ""; width: 34px; height: 10px; border-radius: 999px; background: var(--sweep); flex: none; box-shadow: 0 0 14px rgba(208,21,159,.6); }
.crumbs { color: var(--muted); gap: 10px; }
.crumbs::before { margin-right: 2px; }
.crumbs a { color: var(--cyan); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }
.lede { font-size: 19px; color: var(--muted); margin: 26px 0 34px; max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px; padding: 14px 26px; border-radius: 999px; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; }
.btn-solid { background: var(--sweep); color: #fff; box-shadow: 0 10px 30px -10px rgba(208,21,159,.7); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(23,173,222,.8); }
.btn-line { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-line:hover { background: #fff; color: var(--bg); }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 4px; }
.more::after { content: "\2192"; color: var(--cyan); transition: transform .2s; }
.more:hover::after { transform: translateX(4px); }
.photo { border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(174,0,129,.55); }
.device { filter: drop-shadow(0 30px 60px rgba(23,173,222,.35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-2deg); } }
.vessel { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-video { position: absolute; inset: 0 0 auto 0; width: 100%; height: 100vh; height: 100svh; display: block; object-fit: cover; object-position: 100% 50%; -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent); mask-image: linear-gradient(180deg, #000 84%, transparent); }
.hero-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4,11,26,.78) 0%, rgba(4,11,26,.5) 38%, rgba(4,11,26,0) 62%), linear-gradient(180deg, rgba(4,11,26,.6) 0%, rgba(4,11,26,0) 42%, rgba(4,11,26,0) 82%, var(--bg) 100%); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-inner > *, .page-hero-inner > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > :nth-child(2), .page-hero-inner > :nth-child(2) { animation-delay: .1s; }
.hero-inner > :nth-child(3) { animation-delay: .2s; }
.hero-inner > :nth-child(4) { animation-delay: .3s; }

/* home hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% 8%, rgba(23,173,222,.16), transparent 60%),
              radial-gradient(900px 500px at 5% 95%, rgba(174,0,129,.2), transparent 60%), var(--bg); }
/* The rendered loop keeps the balloon in the right part of its frame: the coated body starts 57% in from
   the left (render/README.md). --col is the room to the left of it at any window shape, so the text never
   sits on the balloon. */
.hero-inner { padding-top: clamp(104px, 16svh, 150px); padding-bottom: 120px;
  --col: calc(min(57vw, 100vw - 76.5svh) - max(28px, 50vw - var(--wrap) / 2 + 28px) - 4vw); }
.hero .hero-fade { background: linear-gradient(90deg, rgba(4,11,26,.55) 0%, rgba(4,11,26,.4) 34%, rgba(4,11,26,0) 54%), linear-gradient(180deg, rgba(4,11,26,.55) 0%, rgba(4,11,26,0) 26%, rgba(4,11,26,0) 84%, var(--bg) 100%); }
.hero h1 { font-size: clamp(32px, min(var(--col) / 11.3, 6.9svh), 58px); max-width: min(11.4em, var(--col)); line-height: 1.06; text-wrap: balance; }
.hero .lede { max-width: min(27em, var(--col)); }
.hero .actions { max-width: var(--col); }
.scroll-cue { position: absolute; left: 50%; bottom: 60px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* inner page hero */
.page-hero { position: relative; overflow: hidden; padding: 160px 0 200px;
  background: radial-gradient(900px 480px at 85% 0%, rgba(23,173,222,.14), transparent 60%),
              radial-gradient(700px 420px at 0% 100%, rgba(174,0,129,.16), transparent 60%), var(--bg); }
.page-hero.with-media .page-hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.04; max-width: 13em; }
.page-hero .lede { margin: 24px 0 0; max-width: 40em; }
.page-hero .lede + .lede { margin-top: 14px; }
.page-hero .actions { margin-top: 32px; }
.page-hero .device { width: 82%; margin: 0 auto; }
.page-hero + .band { padding-top: 30px; }

/* glass surfaces with pointer glow */
.glass, .card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.glass::before, .card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(23,173,222,.18), transparent 60%); }
.glass:hover::before, .card:hover::before { opacity: 1; }
.glass > *, .card > * { position: relative; }

/* highlights */
.highlights-band { position: relative; z-index: 2; margin-top: -40px; padding-bottom: 30px; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.highlights li { padding: 26px 24px; }
.highlights b { display: block; font-family: var(--display); font-size: 42px; font-weight: 650; line-height: 1.1; background: var(--sweep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.highlights span { color: var(--muted); font-size: 15px; }

/* bands */
.band { padding: 110px 0; position: relative; }
.band-alt { background: var(--bg-2); }
.band-deep { background: radial-gradient(900px 500px at 90% 0%, rgba(174,0,129,.2), transparent 60%), var(--bg-3); }
.band h2 { font-size: clamp(32px, 3.8vw, 52px); margin-bottom: 22px; }
.intro { font-size: 18px; color: var(--muted); max-width: 46em; }
.intro + .btn { margin-top: 8px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.band .cols-2 h2, .band .cols-3 h2, .cols-2 h3, .cols-3 h3 { font-size: 23px; margin-bottom: 12px; }
.cols-2 p, .cols-3 p { color: var(--muted); }
.statements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.statements.stack { grid-template-columns: 1fr; margin-top: 30px; }
.statement { padding: 32px; }
.statement h3, .band .statement h2 { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.statement p { font-family: var(--display); font-size: 21px; font-weight: 500; line-height: 1.38; margin: 0; color: #fff; }

/* home sections */
.about-teaser { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.products-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.products-head .device { width: 78%; margin-left: auto; }
.need-list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.need-list li { padding: 26px 24px 28px; font-family: var(--display); font-size: 20px; font-weight: 500; line-height: 1.3; color: #fff; }

/* products */
.family { margin-top: 72px; }
.family:first-child { margin-top: 0; }
.family-title { font-size: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.band .family-title { font-size: 24px; margin-bottom: 28px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cards-single { grid-template-columns: minmax(0, 1fr); max-width: 50%; }
.card { padding: 32px; transition: transform .3s, border-color .3s, opacity .8s cubic-bezier(.2,.7,.2,1); }
.card:hover { transform: translateY(-4px); border-color: rgba(23,173,222,.45); }
.card h3, .card h4 { font-size: 23px; margin-bottom: 14px; }
.card p { color: var(--muted); }
.card .tag { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--pink); border: 1px solid rgba(255,111,216,.4); background: rgba(174,0,129,.14); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }
.card .list-label { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 20px 0 8px; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid var(--line); font-size: 15.5px; }
.card li::before { content: ""; position: absolute; left: 0; top: 17px; width: 15px; height: 6px; border-radius: 999px; background: var(--sweep); box-shadow: 0 0 10px rgba(23,173,222,.5); }

/* clinical needs */
.needs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.need { padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.04), transparent); }
.band .need h2 { font-size: 26px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.need h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin: 22px 0 8px; }
.need p { color: var(--muted); font-size: 16px; }

/* technology */
.tech article { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.045), transparent); }
.mini-balloon { display: block; width: 52px; height: 16px; border-radius: 999px; background: var(--sweep); margin-bottom: 20px; box-shadow: 0 0 18px rgba(208,21,159,.5); }
.tech:first-child { margin-top: 0; }
.roadmap { margin-top: 64px; padding: 44px; }
.band .roadmap h2 { font-size: 30px; margin-bottom: 18px; }
.roadmap p { color: var(--muted); max-width: 54em; }
.roadmap p:last-child { margin-bottom: 0; }

/* news */
.news-item { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.news-item time { font-family: var(--mono); font-size: 14px; color: var(--cyan); }
.band .news-item h2 { font-size: 27px; margin-bottom: 14px; }
.news-item p { color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-list { margin: 0; }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-list div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-list dd { margin: 0; color: #fff; }
.contact-cta .actions { margin-top: 28px; }

/* footer */
.site-footer { background: #02060f; color: var(--muted); font-size: 14px; }
.site-footer::before { content: ""; display: block; height: 3px; background: var(--sweep); box-shadow: 0 0 20px rgba(23,173,222,.6); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px 60px; padding-top: 48px; padding-bottom: 36px; }
.footer-brand img { height: 36px; width: auto; background: #fff; border-radius: 9px; padding: 4px 8px; margin-bottom: 16px; }
.footer-brand p { margin: 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; }
.footer-nav a { color: var(--text); text-decoration: none; opacity: .8; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { opacity: 1; color: #fff; }
.footer-row { border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 28px; }
.footer-row p { margin: 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; padding: 0; }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, background-color .25s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: var(--bg); border-bottom-color: var(--line); }
  body.nav-open .bars { background: transparent; }
  body.nav-open .bars::before { transform: translateY(6px) rotate(45deg); }
  body.nav-open .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header)); height: calc(100dvh - var(--header)); overflow-y: auto; background: var(--bg); padding: 8px 28px 40px; }
  body.nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: 18px 0; font-family: var(--display); font-size: 24px; opacity: 1; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { background: none; padding-bottom: 18px; color: var(--cyan); }
  .site-nav a.nav-cta { margin-top: 26px; text-align: center; font-family: var(--body); font-size: 17px; padding: 14px; }
  .page-hero { padding: 130px 0 170px; }
  .page-hero.with-media .page-hero-inner, .about-teaser, .products-head, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero .device, .products-head .device { width: 55%; margin: 0 auto; }
  .page-hero .photo, .about-teaser .photo { width: 100%; max-width: 520px; }
  .highlights, .need-list { grid-template-columns: repeat(2, 1fr); }
  .cols-2, .cols-3, .statements, .cards, .needs { grid-template-columns: 1fr; }
  .cards-single { max-width: none; }
  .news-item { grid-template-columns: 1fr; gap: 10px; }
  .band { padding: 80px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .site-nav { padding: 8px 20px 40px; }
  .brand span { display: none; }
  .eyebrow, .crumbs { font-size: 12px; letter-spacing: .1em; }
  .page-hero { padding: 110px 0 130px; }
  .lede { font-size: 17px; }
  .highlights { gap: 12px; }
  .highlights li { padding: 20px 18px; }
  .highlights b { font-size: 32px; }
  .need-list { grid-template-columns: 1fr; }
  .card, .need, .statement, .roadmap { padding: 24px; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
}
/* upright and narrow windows: the rendered loop first, as a strip under the header, then the text */
@media (max-aspect-ratio: 5/4), (max-width: 760px), (max-width: 980px) and (max-aspect-ratio: 3/2) {
  .hero { min-height: 0; }
  .hero-video { height: min(80vw, 52svh); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .hero .hero-fade { background: linear-gradient(180deg, rgba(4,11,26,.5) 0, rgba(4,11,26,0) 110px); }
  .hero-inner { --col: 100%; padding-top: calc(min(80vw, 52svh) + 4px); padding-bottom: 72px; }
  .hero h1 { font-size: clamp(26px, (100vw - 40px) / 11.3, 56px); max-width: 15em; }
  .hero .lede { max-width: 34em; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-inner > *, .page-hero-inner > *, .device, .scroll-cue span { animation: none; }
}
