@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/libre-franklin-latin-wght-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("assets/fonts/libre-franklin-latin-wght-italic.woff2") format("woff2-variations"); }
/* NanoMed: palette drawn from the lipid head group (indigo), the drug moiety (red),
   and the grey field of a cryo-electron micrograph. */
:root {
  --ink: #15143a;
  --indigo: #2e2c9a;
  --indigo-deep: #1f1d73;
  --indigo-wash: #ecebf7;
  --red: #d1353b;
  --cryo: #eef0f2;
  --paper: #ffffff;
  --muted: #565a70;
  --rule: #d8dae3;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --serif: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --measure: 40rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
a { color: var(--indigo); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--indigo-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); line-height: 1.06; font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); }
.lede { font-size: 1.2rem; line-height: 1.6; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; font-family: var(--sans); }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; font-family: var(--sans); font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--indigo); text-decoration: underline; }
.nav .btn { margin-left: .4rem; }
.menu-toggle { display: none; font-family: var(--sans); font-size: .95rem; font-weight: 600; background: none; border: 1px solid var(--rule); border-radius: 4px; padding: .45rem 1rem; color: var(--ink); cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.35rem; border-radius: 4px; text-decoration: none;
  border: 1.5px solid var(--indigo); transition: background .15s, color .15s;
  cursor: pointer; line-height: 1.2;
}
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--indigo); }
.btn-ghost:hover { background: var(--indigo-wash); color: var(--indigo-deep); }
.nav .btn { padding: .55rem 1.05rem; font-size: .92rem; color: #fff; }
.nav .btn:hover { color: #fff; text-decoration: none; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.hero .lede { margin-top: 1.6rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.scope { position: relative; margin: 0; }
.scope-field {
  position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: #cfd2d6 url("assets/micrograph.jpg") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(21,20,58,.12), inset 0 0 60px rgba(21,20,58,.18);
}
.scope-overlay { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scope-overlay .ring { fill: none; stroke: var(--indigo); stroke-width: 3; }
.scope-overlay .leader { stroke: var(--indigo); stroke-width: 2; fill: none; }
.scope-overlay .tag-bg { fill: var(--indigo); }
.scope-overlay .tag { fill: #fff; font-family: var(--sans); font-size: 30px; font-weight: 600; }
.scope figcaption { margin-top: 1rem; font-family: var(--sans); font-size: .9rem; color: var(--muted); text-align: center; }
.js .scope-overlay .ring { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 1.1s .5s cubic-bezier(.6,0,.2,1) forwards; }
.js .scope-overlay .annot { opacity: 0; animation: fade .5s 1.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .scope-overlay .ring { animation: none; stroke-dashoffset: 0; }
  .js .scope-overlay .annot { animation: none; opacity: 1; }
}

.facts { border-top: 1px solid var(--rule); margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.6rem; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; }
.facts div { margin: 0; }
.facts dt { font-family: var(--sans); font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.facts dd { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--muted); }

/* Sections */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section + .section { padding-top: 0; }
.band-cryo { background: var(--cryo); }
.band-cryo + .section, .section + .band-cryo, .band-ink + .section, .section + .band-ink { padding-top: clamp(4rem, 8vw, 7rem); }
.band-ink { background: var(--ink); color: #e9e9f4; }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink a { color: #c9c8ff; }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 + p { margin-top: 1.25rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--sans); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--indigo); margin-bottom: .9rem; letter-spacing: -0.04em; }
.steps h3 { margin-bottom: .45rem; }
.steps p { font-size: 1rem; line-height: 1.55; margin: 0; color: var(--muted); }

.media-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(3rem, 6vw, 5rem); }
.video-frame { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16/9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .8rem;
  background: linear-gradient(0deg, rgba(21,20,58,.55), rgba(21,20,58,.15));
  border: 0; cursor: pointer; color: #fff; font-family: var(--sans); font-size: 1.05rem; font-weight: 600; width: 100%;
}
.video-play span.icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.video-play span.icon svg { width: 22px; height: 22px; margin-left: 4px; }
.video-play:hover span.icon { transform: scale(1.05); }
.media-copy h3 { margin-bottom: .6rem; }
.media-copy p { font-size: 1rem; color: var(--muted); }

/* Targeting animation */
.epr-figure { margin: 0; }
.epr-stage { background: #fff; border-radius: 18px; padding: clamp(.75rem, 2vw, 1.5rem); box-shadow: 0 1px 0 var(--rule); }
#epr { width: 100%; height: auto; }
#epr .lbl { font-family: var(--sans); font-size: 17px; font-weight: 600; fill: var(--ink); }
#epr .lbl-line { stroke: var(--ink); stroke-width: 1.4; fill: none; }
#epr .lbl-dot { fill: var(--ink); }
.epr-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.epr-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.epr-legend li { display: inline-flex; align-items: center; gap: .45rem; }
.epr-legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; flex: none; }
.epr-toggle { font-family: var(--sans); font-size: .9rem; font-weight: 600; background: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; color: var(--ink); }
.epr-toggle:hover { border-color: var(--indigo); color: var(--indigo); }

/* Advantages */
.adv-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.adv { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.2rem 2.5rem; margin: 0; }
.adv div { margin: 0; }
.adv dt { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; margin-bottom: .35rem; display: flex; align-items: center; gap: .55rem; }
.adv dt::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--indigo); flex: none; }
.adv dd { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--muted); }
.cubo { margin: 0; position: sticky; top: 6rem; }
.cubo-frame { aspect-ratio: 1; }
.cubo-frame video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; background: #000; }
.cubo figcaption { font-family: var(--sans); font-size: .88rem; color: var(--muted); margin-top: .9rem; line-height: 1.45; }

/* Pipeline */
.pipeline { width: 100%; border-collapse: collapse; font-family: var(--sans); }
.pipeline th, .pipeline td { text-align: left; vertical-align: top; padding: 1.25rem 1rem 1.25rem 0; border-bottom: 1px solid var(--rule); }
.pipeline thead th { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--muted); padding-top: 0; padding-bottom: .8rem; border-bottom: 2px solid var(--ink); }
.pipeline .prog { width: 30%; }
.pipeline .ind { width: 26%; }
.pipeline .prog strong { display: block; font-size: 1.08rem; }
.pipeline .prog span, .pipeline .ind { font-family: var(--serif); font-size: .98rem; color: var(--muted); font-weight: 400; }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); }
.phases span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.track { position: relative; height: 12px; background: repeating-linear-gradient(90deg, var(--indigo-wash) 0 calc(33.333% - 2px), #fff calc(33.333% - 2px) 33.333%); border-radius: 6px; margin-top: .35rem; }
.track .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--indigo); border-radius: 6px; }
.track .fill::after { content: ""; position: absolute; right: -2px; top: 50%; width: 18px; height: 18px; transform: translate(0,-50%); border-radius: 50%; background: #fff; border: 4px solid var(--indigo); }
.stage-note { display: block; margin-top: .75rem; font-family: var(--serif); font-size: .95rem; color: var(--muted); line-height: 1.5; }
.mobile-phase { display: none; }
.next-step { margin-top: 2rem; max-width: var(--measure); }

/* Patents */
.patents { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.patents th, .patents td { text-align: left; vertical-align: top; padding: 1.2rem 1.25rem 1.2rem 0; border-bottom: 1px solid var(--rule); }
.patents thead th { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--muted); padding-top: 0; padding-bottom: .8rem; border-bottom: 2px solid var(--ink); }
.patents td { font-size: 1rem; line-height: 1.55; }
.patents td:first-child { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; width: 22%; }
.patents td:last-child { white-space: nowrap; font-family: var(--sans); }
.patents ul { list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: .95rem; }
.patents li { margin-bottom: .2rem; }
.patents .pending { color: var(--muted); font-family: var(--serif); font-size: .95rem; margin-top: .35rem; }
.fine { font-size: .9rem; color: var(--muted); margin-top: 1.25rem; }

/* Partnering */
.partner-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); }
.partner-grid h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 2.2rem; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .8rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 11px; border-radius: 50%; border: 2.5px solid #9d9bff; }
.band-ink .lede { color: #fff; }
.contact-card { border-top: 1px solid rgba(255,255,255,.22); padding-top: 1.5rem; margin-top: .5rem; }
.contact-card p { margin-bottom: 1.25rem; }
.band-ink .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.band-ink .btn-primary:hover { background: var(--indigo-wash); border-color: var(--indigo-wash); color: var(--ink); }

/* Origins */
.partners-list { list-style: none; padding: 0; margin: 1.5rem 0 0; columns: 2; column-gap: 2.5rem; font-family: var(--sans); font-size: 1rem; }
.partners-list li { break-inside: avoid; padding: .7rem 0; border-top: 1px solid var(--rule); line-height: 1.35; }

/* Team */
.team-group + .team-group { margin-top: 3.5rem; }
.team-group h3 { margin-bottom: 1.5rem; }
.team-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.person { display: flex; flex-direction: column; align-items: flex-start; }
.avatar { width: 96px; height: 96px; margin-bottom: 1rem; }
.avatar circle.bg { fill: var(--indigo-wash); }
.avatar .dots circle { fill: var(--indigo); }
.avatar text { font-family: var(--sans); font-weight: 600; font-size: 30px; fill: var(--indigo-deep); letter-spacing: -0.02em; }
.person h4 { font-size: 1.02rem; line-height: 1.3; font-weight: 600; }
.person .role { font-family: var(--sans); font-size: .88rem; color: var(--muted); line-height: 1.35; margin: .25rem 0 .7rem; }
.bio-btn { font-family: var(--sans); font-size: .88rem; font-weight: 600; color: var(--indigo); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; margin-top: auto; }
.bio-btn:hover { color: var(--indigo-deep); text-decoration-thickness: 2px; }
.person .bio { display: none; }

dialog.bio-dialog { border: 0; border-radius: 18px; padding: 0; max-width: min(40rem, calc(100vw - 2rem)); width: 100%; color: var(--ink); box-shadow: 0 30px 80px rgba(21,20,58,.35); }
dialog.bio-dialog::backdrop { background: rgba(21,20,58,.55); }
.bio-inner { padding: clamp(1.5rem, 4vw, 2.5rem); }
.bio-inner header { display: flex; gap: 1.1rem; align-items: center; margin-bottom: 1.3rem; padding-right: 2.5rem; }
.bio-inner header .avatar { width: 72px; height: 72px; margin: 0; flex: none; }
.bio-inner h2 { font-size: 1.6rem; }
.bio-inner .role { font-family: var(--sans); color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.bio-inner p { font-size: 1.02rem; }
.bio-close { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--rule); background: #fff; cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--ink); }
.bio-close:hover { border-color: var(--indigo); color: var(--indigo); }

/* Publications */
.pubs { list-style: none; padding: 0; margin: 0; }
.pubs li { padding: 1.3rem 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 4.5rem minmax(0,1fr); gap: 1.5rem; }
.pubs .yr { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--indigo); padding-top: .1rem; }
.pubs .title { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; line-height: 1.4; display: block; }
.pubs .authors { display: block; font-size: .95rem; color: var(--muted); margin-top: .35rem; line-height: 1.5; }
.pubs .src { display: block; font-size: .95rem; margin-top: .25rem; }
.pub-group + .pub-group { margin-top: 3rem; }
.pub-group h3 { margin-bottom: 1rem; }
details.more summary { font-family: var(--sans); font-weight: 600; color: var(--indigo); cursor: pointer; padding: 1rem 0; border-top: 1px solid var(--rule); list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; display: inline-block; width: 1.2rem; font-weight: 700; }
details.more[open] summary::before { content: "\2212"; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 6rem); }
.contact-list { margin: 0; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,1.3fr); gap: 2rem; }
.contact-list dt { font-family: var(--sans); font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }
.contact-list dd { margin: 0; font-size: 1.05rem; line-height: 1.55; }

.site-footer { background: var(--cryo); color: var(--muted); border-top: 1px solid var(--rule); font-family: var(--sans); font-size: .9rem; padding: 2.5rem 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.site-footer .brand { color: #fff; font-size: 1.15rem; }
.site-footer .brand img { height: 36px; width: auto; }
.site-footer a { color: var(--ink); }
.site-footer span { line-height: 1.6; text-align: right; }

/* Responsive */
@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .menu-toggle { display: inline-block; }
  .nav.open { display: flex; position: absolute; top: 4.5rem; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--rule); padding: .5rem var(--gutter) 1.25rem; }
  .nav.open a { padding: .7rem 0; width: 100%; border-bottom: 1px solid var(--cryo); font-size: 1.05rem; }
  .nav.open .btn { margin: 1rem 0 0; width: auto; border-bottom: 1.5px solid var(--indigo); }
  .hero-grid, .split, .adv-grid, .partner-grid, .contact-grid, .media-row { grid-template-columns: minmax(0, 1fr); }
  .scope { max-width: 460px; width: 100%; margin: 0 auto; }
  .cubo { position: static; max-width: 300px; }
  #epr .lbls { display: none; }
}
@media (max-width: 760px) {
  .pipeline thead { display: none; }
  .pipeline, .pipeline tbody, .pipeline tr, .pipeline td { display: block; width: 100% !important; }
  .pipeline tr { border-bottom: 1px solid var(--rule); padding: 1.25rem 0; }
  .pipeline td { border: 0; padding: 0 0 .5rem; }
  .mobile-phase { display: grid; }
  .patents thead { display: none; }
  .patents, .patents tbody, .patents tr, .patents td { display: block; width: 100% !important; }
  .patents tr { border-bottom: 1px solid var(--rule); padding: 1.2rem 0; }
  .patents td { border: 0; padding: 0 0 .6rem; white-space: normal !important; }
  .patents td:last-child::before { content: "Expected expiry: "; color: var(--muted); font-weight: 400; }
  .adv { grid-template-columns: minmax(0,1fr); }
  .contact-list { grid-template-columns: minmax(0,1fr); gap: 1.4rem; }
  .partners-list { columns: 1; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .avatar { width: 80px; height: 80px; }
  .steps { grid-template-columns: minmax(0,1fr); }
  .facts { grid-template-columns: minmax(0,1fr); gap: 1.2rem; }
  .pubs li { grid-template-columns: minmax(0,1fr); gap: .3rem; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.lab-photo { margin: 2rem 0 0; }
.lab-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
@media (max-width: 920px) { .lab-photo img { aspect-ratio: 3 / 2; } }

/* Revised layout */
.credentials { margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); font-size: .95rem; color: var(--muted); max-width: 34rem; }
.statement-band { background: var(--ink); color: #d9d9ea; padding: clamp(4rem, 8vw, 6.5rem) 0; }
.statement { color: #fff; font-size: clamp(1.7rem, 3.3vw, 2.6rem); line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; max-width: 24em; }
.statement-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2.5rem; max-width: 56rem; }
.statement-body p { margin: 0; }
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.feature-copy h2 { margin-bottom: 1.25rem; }
.feature-media video { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; }
.media-note { font-size: .9rem; color: var(--muted); margin-top: .8rem; }
.lab-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 40%; border-radius: 10px; display: block; margin: 0; }
.feature-flip .feature-media { position: sticky; top: 6rem; }

.epr-stage { position: relative; }
.epr-toggle { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: .45rem; font-family: var(--sans); font-size: .9rem; font-weight: 600; background: #fff; color: var(--ink); border: 1px solid var(--rule); border-radius: 4px; padding: .5rem .85rem; cursor: pointer; box-shadow: 0 1px 2px rgba(21,20,58,.08); }
.epr-toggle:hover { border-color: var(--indigo); color: var(--indigo); }
.epr-toggle svg, .cubo-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.epr-toggle .i-play, .cubo-toggle .i-play { display: none; }
.epr-toggle.paused .i-play, .cubo-toggle.paused .i-play { display: block; }
.epr-toggle.paused .i-pause, .cubo-toggle.paused .i-pause { display: none; }
#epr { cursor: pointer; }
.epr-legend { margin-top: 1rem; }

.compare-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1rem 1.25rem 1rem 0; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.compare thead th { font-size: .9rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--ink); padding-top: 0; }
.compare thead th:last-child { color: var(--indigo); }
.compare tbody th { font-weight: 600; width: 22%; }
.compare tbody td:first-of-type { color: var(--muted); width: 36%; }
.compare tbody td:last-child { font-weight: 500; }
.cubo-frame { position: relative; }
.cubo-toggle { position: absolute; right: 8%; bottom: 8%; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.cubo-toggle:hover { background: #fff; color: var(--indigo); }
.cubo-frame { overflow: visible; }
.cubo-frame video { border-radius: 50%; }

@media (max-width: 920px) {
  .feature, .feature-flip, .compare-grid, .statement-body { grid-template-columns: minmax(0, 1fr); }
  .feature-flip .feature-media { position: static; }
  .lab-photo { aspect-ratio: 4 / 3; object-position: 70% 35%; }
  .cubo { max-width: 280px; }
}
@media (max-width: 760px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100% !important; }
  .compare tr { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
  .compare th, .compare td { border: 0; padding: .15rem 0; }
  .compare tbody th { margin-bottom: .3rem; }
  .compare tbody td:first-of-type::before { content: "Typical carrier: "; font-weight: 600; color: var(--muted); }
  .compare tbody td:last-child::before { content: "NanoMed: "; font-weight: 700; color: var(--indigo); }
  .site-footer span { text-align: left; }
}
.cubo-clip { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #000; }
.cubo-clip video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.55); border-radius: 0; }
.avatar { border-radius: 50%; box-shadow: 0 0 0 1px rgba(21, 20, 58, .12); }
