/* Lumira Labs. One family (Geist) at light weights and one accent used as a signal, never as decoration. */
@font-face { font-family: "Geist"; src: url(../fonts/geist-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(../fonts/geist-mono-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --paper: #F7F6F3;
  --surface: #FFFFFF;
  --panel: #ECEBE6;
  --ink: #111317;
  --ink-2: #4E525A;
  --ink-3: #6B6E76;
  --line: rgba(17, 19, 23, .09);
  --line-2: rgba(17, 19, 23, .16);
  --accent: #1F3DFF;
  --night: #0C0D10;
  --bone: #E6E7E1;

  --wrap: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  --gap: 24px;
  --sec: 128px;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --shot: 0 1px 2px rgba(17, 19, 23, .06), 0 16px 32px -16px rgba(17, 19, 23, .22);
  --lift: 0 2px 4px rgba(17, 19, 23, .08), 0 24px 48px -20px rgba(17, 19, 23, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 "Geist", ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.mute { color: var(--ink-3); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nw { white-space: nowrap; }
.card-line, .card-body, .helix-line, .person-bio, .note, .bio p, .log li > span:last-child { text-wrap: pretty; }

/* type */
.h1 { font-size: clamp(44px, 7.4vw, 108px); font-weight: 500; line-height: .96; letter-spacing: -.05em; }
.deck { margin-top: 22px; max-width: 30ch; font-size: clamp(19px, 1.85vw, 26px); line-height: 1.3; letter-spacing: -.015em; color: var(--ink-3); text-wrap: pretty; }
.h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; max-width: 30ch; text-wrap: balance; }
.h3 { font-size: 22px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.sub { margin-top: 24px; max-width: 560px; font-size: 20px; line-height: 1.45; letter-spacing: -.005em; color: var(--ink-2); }
.sub a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: text-decoration-color .12s ease-out; }
.sub a:hover { text-decoration-color: var(--accent); }

/* buttons and links */
.btn { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 6px; font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap; transition: background-color .12s ease-out, box-shadow .12s ease-out; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2A2D33; }
.btn-line { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.link { display: inline-flex; gap: 6px; align-items: baseline; font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-2); transition: text-decoration-color .12s ease-out; }
.link:hover { text-decoration-color: var(--accent); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }

/* status glyphs: live, beta, research, live but not in active development */
.st { display: inline-block; width: 6px; height: 6px; border-radius: 50%; flex: none; }
.st-live { background: var(--accent); }
.st-beta { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); box-shadow: inset 0 0 0 1px var(--ink); }
.st-rd { box-shadow: inset 0 0 0 1px var(--ink); }
.st-quiet { background: var(--ink-3); }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 3px 7px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 11px; color: var(--ink-2); white-space: nowrap; }

/* the measured page: two column guides run the full height, with a registration mark on every rule */
.page { position: relative; overflow-x: clip; }  /* body's overflow goes to the viewport, which phones ignore; clip here */
.page::before, .page::after { content: none; }
.page::before { left: max(var(--pad), calc(50% - var(--wrap) / 2)); }
.page::after { right: max(var(--pad), calc(50% - var(--wrap) / 2)); }
.rule { position: relative; height: 1px; background: var(--line); margin-bottom: 48px; }
.rule::before, .rule::after { content: ""; position: absolute; top: -4px; width: 9px; height: 9px; background: linear-gradient(var(--ink-3), var(--ink-3)) center / 1px 9px no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) center / 9px 1px no-repeat; }
.rule::before { left: -4px; } .rule::after { right: -4px; }
.coord { position: absolute; left: 20px; top: -8px; padding: 0 8px; background: var(--paper); color: var(--ink-3); }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; height: 64px; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 48px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.mark { width: auto; height: 18px; color: var(--ink); flex: none; }
.mark .mark-b { fill: var(--accent); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); margin-right: auto; }
.nav-links a { transition: color .12s ease-out; }
.nav-links a:hover { color: var(--ink); }

/* hero */
.hero { position: relative; }
.hero-grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); grid-template-rows: 1fr auto; padding-top: 56px; padding-bottom: 40px; min-height: max(600px, calc(100vh - 64px)); min-height: max(600px, calc(100svh - 64px)); align-items: center; }
.hero-text { grid-column: 1 / span 7; position: relative; z-index: 3; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px 0 5px; margin-bottom: 28px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--surface); font-size: 14px; color: var(--ink-2); transition: box-shadow .12s ease-out; max-width: 100%; }
.chip time { padding: 4px 6px 3px; border-radius: 4px; background: var(--panel); color: var(--ink); font-size: 11px; line-height: 1; flex: none; }
.chip span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.programmes { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); width: fit-content; max-width: 100%; }
.programmes-label a:hover { color: var(--ink); }
.programmes-label { color: var(--ink-3); font-size: 11px; }
.programmes-list { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 12px; }
.programmes-list li { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.programmes-list .logo { width: 18px; height: 18px; fill: var(--ink); flex: none; }
.programmes-list img.logo, .hb-cell img.logo { width: auto; object-fit: contain; }
.programmes-list img.logo { height: 18px; }
.plogo img { width: auto; height: 26px; max-width: 40px; object-fit: contain; }
.programmes-list .credit { margin-left: 2px; padding: 3px 6px 2px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 10.5px; font-weight: 500; }

/* founder badges: a DOM card and an SVG strap. The resting pose is written here so it holds without script. */
.badges { position: absolute; top: -64px; bottom: 0; left: var(--pad); right: var(--pad); pointer-events: none; z-index: 40; container-type: inline-size; }
.straps { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; display: none; }
.badges.live .straps { display: block; }
/* while the script gets ready to drop them, the cards wait out of sight (the head script lifts this after 3s regardless) */
.drop .badges:not(.live) .badge, .drop .badges:not(.live) .strap-static { visibility: hidden; }
.badges.live .strap-static { display: none; }
.strap-edge { fill: none; stroke: #0A0A09; stroke-width: 28; stroke-linejoin: round; }
.strap { fill: none; stroke: #151514; stroke-width: 24; stroke-linejoin: round; }
.strap-print { font: 500 9px "Geist Mono", ui-monospace, monospace; letter-spacing: .24em; fill: rgba(255, 255, 255, .82); dominant-baseline: central; }
.strap-static { position: absolute; top: 0; width: 28px; margin-left: -8px; background: #151514; box-shadow: inset 2px 0 0 rgba(255, 255, 255, .05), inset -2px 0 0 rgba(0, 0, 0, .4); }
.badge {
  position: absolute; top: 0; left: 0; width: 200px; height: 316px; padding: 30px 16px 16px;
  display: flex; flex-direction: column; background: var(--surface); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line), var(--lift);
  pointer-events: auto; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-user-drag: none;
  transform-origin: 50% 50%;
}
.badges.live .badge { will-change: transform; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.strap-static[data-i="0"] { left: calc(66% - 6px); height: 195px; }
.badge[data-i="0"] { transform: translate(calc(66cqw - 100px), 254.2px) scale(1.12); }
.strap-static[data-i="1"] { left: calc(88% - 6px); height: 256px; }
.badge[data-i="1"] { transform: translate(calc(88cqw - 100px), 314.6px) scale(1.12); }
.badges.live .badge.grabbing { cursor: grabbing; }
.badge:focus-visible { outline-offset: 4px; border-radius: 10px; }
.badge-punch { position: absolute; z-index: 1; left: 50%; top: 12px; width: 30px; height: 6px; margin-left: -15px; border-radius: 3px; background: var(--paper); box-shadow: inset 0 1px 1px rgba(17, 19, 23, .14); }
.badge-clip { position: absolute; z-index: 2; left: 50%; top: -39px; width: 34px; height: 24px; margin-left: -17px; border-radius: 5px 5px 8px 8px; background: linear-gradient(180deg, #E4E4E2, #A6A5A1 55%, #8B8A86); box-shadow: 0 1px 0 rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .7); }
.badge-clip::before { content: none; }
.badge-clip::after { content: ""; position: absolute; left: 50%; top: 20px; width: 12px; height: 32px; transform: translateX(-50%); border: 3px solid #9A9995; border-top: 0; border-radius: 0 0 8px 8px; }
.badge-top { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--ink-3); }
.badge-photo { width: 168px; height: 140px; margin-top: 8px; border-radius: 6px; object-fit: cover; background: var(--panel); -webkit-user-drag: none; pointer-events: none; }
.badge-name { margin-top: 12px; font-size: 17px; font-weight: 500; line-height: 1.12; letter-spacing: -.015em; }
.badge-role { margin-top: 6px; font-size: 9.5px; color: var(--ink-3); }
.badge-foot { margin-top: auto; padding-top: 9px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 7px; font-size: 8.5px; color: var(--ink-3); }
.badge-foot .mark { height: 10px; }

/* sections */
.sec { position: relative; z-index: 1; padding: 0 0 var(--sec); }
.sec .h2 { margin-bottom: 48px; }
.rule { display: none; }
#products .rule, #products .h2 { margin-bottom: 32px; }

/* startup programmes section: cards, then the studio map */
.ps { --tint: #E6E7EE; --rule: rgba(17, 19, 23, .09); }
.ps-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.ps-head .mono { display: block; margin-bottom: 16px; color: var(--ink-3); }
.ps-head .h2 { max-width: none; margin: 0 auto; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pcard { display: flex; flex-direction: column; min-height: 300px; padding: 28px; border-radius: 16px; background: var(--panel); }
.ptop { display: flex; justify-content: space-between; align-items: flex-start; }
.ptop .mono { color: var(--ink-3); }
.plogo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.plogo svg { width: 30px; height: 30px; }
.ph3 { margin-top: 24px; font-size: clamp(24px, 2.2vw, 28px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.rail { display: flex; align-items: center; margin-top: auto; padding-top: 32px; }
.pcard { transition: background-color .2s var(--ease), transform .2s var(--ease); }
.pmore { margin-top: 12px; max-width: 34ch; font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) {
  .pmore { opacity: 0; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .pcard:hover, .pcard:focus-visible { background: #E6E5DF; transform: translateY(-2px); }
  .pcard:hover .pmore, .pcard:focus-visible .pmore { opacity: 1; transform: none; }
}
.pcard:focus-visible { outline-offset: 3px; border-radius: 16px; }
.rail .mini { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 4px; background: var(--ink); }
.rail .mini svg { width: 17px; height: 14px; color: #fff; }
.rail .ln { position: relative; flex: 1; height: 2px; background: var(--accent); }
.rail .ln::after { content: ""; position: absolute; right: 0; top: -3px; width: 8px; height: 8px; border-radius: 1px; background: var(--accent); }
.pchip { padding: 8px 10px; border-radius: 3px; background: var(--accent); color: #fff; font: 500 11px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.pfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 44px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); box-sizing: content-box; }
.pfoot .mono { color: var(--ink-3); font-size: 11px; }
.pfoot strong { font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.pfoot .v { font: 500 12px/1.3 "Geist Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; text-align: right; }
.diagram { position: relative; max-width: 1200px; margin: 64px auto 0; aspect-ratio: 1200 / 460; }
.diagram svg.rails { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.diagram .ph { display: none; }
.dtag { position: absolute; left: calc(var(--x) * 100% / 1200); top: calc(var(--y) * 100% / 460); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 3px; background: var(--tint); color: var(--ink); font: 500 13px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.dtag i { font-style: normal; color: rgba(17, 19, 23, .5); }
.dtag.prog { padding: 13px 16px; background: var(--accent); color: #fff; font-size: 13.5px; box-shadow: 0 10px 24px -14px rgba(31, 61, 255, .9); }
.dtag.prog svg { flex: none; width: 16px; height: 16px; fill: #fff; }
.node { position: absolute; left: 50%; top: calc(250 * 100% / 460); display: grid; place-items: center; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 6px; background: var(--ink); box-shadow: 0 14px 30px -14px rgba(17, 19, 23, .6); }
.node svg { width: 44px; height: 37px; color: #fff; }
.legend { display: flex; justify-content: center; gap: 28px; margin-top: 22px; color: var(--ink-3); font-size: 11px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.legend span.g::before { background: rgba(17, 19, 23, .3); }
@media (prefers-reduced-motion: reduce) { .flow { display: none; } }
@media (max-width: 1080px) {
  .pgrid { grid-template-columns: 1fr; }
  .pcard { min-height: 0; }
}
@media (max-width: 760px) {
  .ps-head { margin-bottom: 28px; }
  .pcard { padding: 22px; }
  .plogo { width: 52px; height: 52px; }
  .plogo svg { width: 28px; height: 28px; }
  .ph3 { margin-top: 16px; }
  .rail { padding-top: 20px; }
  .diagram { aspect-ratio: 360 / 510; max-width: 420px; margin-top: 48px; }
  .diagram .dt { display: none; }
  .diagram .ph { display: block; }
  .dtag { left: calc(var(--mx) * 100% / 360); top: calc(var(--my) * 100% / 510); font-size: 11px; padding: 9px 11px; gap: 6px; }
  .dtag.prog { font-size: 11px; padding: 10px 12px; }
  .dtag.prog svg { width: 14px; height: 14px; }
  .node { top: calc(215 * 100% / 510); width: 60px; height: 60px; }
  .node svg { width: 34px; height: 29px; }
  .legend { gap: 16px; font-size: 10px; margin-top: 14px; }
}

/* product cards */
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink-3); }
.card .h3 { margin-top: 0; }
.card-line { margin-top: 6px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.card-body { margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.proof { margin-top: 16px; color: var(--ink-3); font-size: 11px; }
.proof + .proof { margin-top: 6px; }
.proof a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .12s ease-out; }
.proof a:hover { text-decoration-color: var(--accent); }
.card-text .link { margin-top: 24px; }

.panel {
  position: relative; overflow: hidden; border-radius: 16px; background-color: var(--panel);
}
.panel figcaption { position: absolute; left: 16px; bottom: 12px; color: var(--ink-2); font-size: 10.5px; }

.card-wide { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; margin-bottom: 80px; }
.card-text { grid-column: 1 / span 4; padding-top: 2px; }
.card-text .h3 { margin-top: 32px; }
.panel-wide { grid-column: 5 / -1; aspect-ratio: 16 / 10.4; margin-right: calc(-1 * max(var(--pad), (100vw - var(--wrap)) / 2)); border-radius: 16px 0 0 16px; }
.tabs { position: absolute; left: 32px; top: 24px; z-index: 2; display: flex; gap: 2px; padding: 3px; border-radius: 6px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { padding: 6px 10px 5px; border-radius: 4px; font-size: 10.5px; color: var(--ink-3); transition: color .12s ease-out, background-color .12s ease-out; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.shot-web { position: absolute; left: 32px; top: 76px; width: max(940px, calc(100% - 64px)); aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--shot); }
.shot-web [role="tabpanel"] { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), visibility 0s .18s; }
.shot-web [role="tabpanel"].on { opacity: 1; visibility: visible; transition-delay: 0s; }
.shot-web [role="tabpanel"]:focus-visible { outline-offset: -4px; border-radius: 10px; }
.shot-web img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.panel-wide figcaption { left: auto; right: 24px; bottom: auto; top: 30px; }
@media (max-width: 1199px) {
  .panel-wide figcaption { top: auto; right: auto; left: 16px; bottom: 12px; z-index: 3; padding: 4px 8px; border-radius: 4px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
}

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.cards .card { display: flex; flex-direction: column; align-items: flex-start; }
.cards .card-top { align-self: stretch; }
@media (min-width: 1081px) {
  .cards .card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; justify-items: start; }
  .cards .card > .panel, .cards .card-top { justify-self: stretch; }
  .cards .link { align-self: end; }
}
.cards .panel { align-self: stretch; margin-top: 16px; height: 320px; margin-bottom: 24px; }
.cards .link { margin-top: auto; padding-top: 20px; }
.shot-phone { position: absolute; left: 50%; top: 40px; width: 236px; margin-left: -118px; border-radius: 33px; box-shadow: 0 0 0 1px var(--line-2), var(--shot); }
.panel-court { display: flex; align-items: center; justify-content: center; padding: 24px 20px 44px; }
.court { width: 100%; height: auto; overflow: visible; }
.c-floor { fill: var(--surface); }
.c-glass { stroke: rgba(17, 19, 23, .3); stroke-width: .2; fill: none; }
.c-line { stroke: var(--ink); stroke-width: .045; fill: none; }
.c-net { stroke: var(--ink); stroke-width: .09; }
.c-trail { stroke: var(--accent); stroke-width: .09; stroke-linecap: round; }
.c-bounce { fill: none; stroke: var(--accent); stroke-width: .05; }
.c-box { fill: none; stroke: rgba(17, 19, 23, .55); stroke-width: .04; }
.c-player { fill: var(--ink); }
.c-label { font: 500 .56px "Geist Mono", ui-monospace, monospace; fill: var(--ink-2); }
@media (max-width: 1199px) { .c-label { font-size: .7px; } }
.c-ball-label { fill: var(--accent); }
.c-shadow { fill: rgba(17, 19, 23, .18); }
.c-ball { fill: var(--accent); }
.c-reticle { stroke: var(--accent); stroke-width: .05; fill: none; }

.helix { display: grid; grid-template-columns: 40px 28px 88px minmax(0, 1fr) auto auto; align-items: center; column-gap: 20px; min-height: 72px; padding: 12px 0; margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.helix-icon { width: 40px; height: 40px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.helix-no { color: var(--ink-3); }
.helix-line { font-size: 15px; color: var(--ink-2); }

/* ship log */
.log-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.log-left { grid-column: 1 / span 5; position: sticky; top: 104px; }
.log-left .h2 { margin-bottom: 40px; }
.bars { padding-top: 0; }
.bars svg { width: 100%; height: 232px; }
.bars rect { fill: var(--ink); }
.bars rect.z { fill: var(--line-2); }
.bars figcaption { margin-top: 10px; color: var(--ink-3); font-size: 10.5px; }
.bars .axis { position: relative; display: block; height: 24px; border-top: 1px solid var(--line-2); }
.bars .axis span { position: absolute; top: 0; padding: 8px 0 0 4px; box-shadow: inset 1px 0 0 var(--line-2); }
.bars .axis + span { display: block; margin-top: 4px; color: var(--ink-2); }
.log { grid-column: 7 / -1; border-top: 1px solid var(--line); }
.log li { display: grid; grid-template-columns: 104px 6px 84px minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.log time { color: var(--ink-3); font-size: 11px; }
.log .st { transform: translateY(-1px); }
.log b { font-size: 15px; font-weight: 500; }
.log li > span:last-child { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* founders */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.person { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 24px; align-items: start; }
.person img { width: 136px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.person .mono { color: var(--ink-3); font-size: 11px; }
.person .h3 { margin-top: 8px; }
.person-bio { margin-top: 12px; font-size: 15px; color: var(--ink-2); max-width: 40ch; }
.note { margin-top: 48px; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.note span { display: block; max-width: 72ch; }

.sec-contact .h2 { margin-bottom: 0; }
@media (min-width: 1081px) {
  .sec-contact .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
  .sec-contact .ctas { margin: 0 0 6px; flex: none; }
}

/* footer */
.foot { position: relative; overflow: hidden; background: var(--night); color: var(--bone); padding-top: 72px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gap); }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 500; align-self: start; }
.foot-brand .mark { color: var(--bone); }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot .mono { color: rgba(230, 231, 225, .5); margin-bottom: 6px; font-size: 11px; }
.foot-col a { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: rgba(230, 231, 225, .82); transition: color .12s ease-out; }
.foot-col a:hover { color: var(--bone); }
.foot :focus-visible { outline-color: var(--bone); }
.foot .st-rd { box-shadow: inset 0 0 0 1px var(--bone); }
.foot .st-beta { background: linear-gradient(90deg, var(--bone) 50%, transparent 50%); box-shadow: inset 0 0 0 1px var(--bone); }
.foot .st-quiet { background: rgba(230, 231, 225, .45); }
.foot-legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 64px; padding-top: 20px; }
.foot-legal::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: rgba(230, 231, 225, .12); }
.foot-legal p { color: rgba(230, 231, 225, .5); font-size: 10.5px; margin: 0; }
.foot-word::before { content: "Lumira Labs"; }
.foot-word { margin: 48px 0 0; font-size: 18vw; font-weight: 300; letter-spacing: -.055em; line-height: .74; color: rgba(230, 231, 225, .08); white-space: nowrap; text-align: center; height: .72em; overflow: hidden; user-select: none; }

/* dialogs */
.dlg { width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--lift); overflow: auto; }
.dlg[open] { animation: dlg-in .24s var(--ease); }
.dlg.closing { animation: dlg-out .16s var(--ease) forwards; }
.dlg::backdrop { background: rgba(17, 19, 23, .32); }
.dlg[open]::backdrop { animation: fade-in .24s var(--ease); }
.dlg.closing::backdrop { animation: fade-out .16s var(--ease) forwards; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes dlg-out { to { opacity: 0; transform: translateY(8px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.dlg-head { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.dlg-head .mono { font-size: 11px; }
.dlg-close { height: 30px; padding: 0 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-size: 11px; transition: box-shadow .12s ease-out; }
.dlg-close:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.dlg-body { padding: 24px 20px 28px; }
.dlg-body > p { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.bio { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 24px; align-items: start; }
.bio img { width: 168px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.bio p { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.bio .bio-note { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.bio .link { margin-top: 16px; }
.figures { margin-top: 20px; border-top: 1px solid var(--line); }
.figures div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.figures dt { color: var(--ink-3); font-size: 11px; }
.figures dd { font-size: 32px; font-weight: 300; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }

/* desktop badges are sized to the screen; the script uses the same steps */
@media (max-width: 1279px) and (min-width: 1081px) {
  .strap-static[data-i="0"] { left: calc(66% - 6px); height: 165px; }
  .badge[data-i="0"] { transform: translate(calc(66cqw - 100px), 191.6px) scale(0.95); }
  .strap-static[data-i="1"] { left: calc(88% - 6px); height: 217px; }
  .badge[data-i="1"] { transform: translate(calc(88cqw - 100px), 242.9px) scale(0.95); }
}
@media (min-width: 1536px) {
  :root { --wrap: 1320px; }
  .strap-static[data-i="0"] { left: calc(66% - 6px); height: 218px; }
  .badge[data-i="0"] { transform: translate(calc(66cqw - 100px), 302.0px) scale(1.25); }
  .strap-static[data-i="1"] { left: calc(88% - 6px); height: 285px; }
  .badge[data-i="1"] { transform: translate(calc(88cqw - 100px), 369.5px) scale(1.25); }
}
@media (min-width: 1800px) {
  :root { --wrap: 1480px; }
  .strap-static[data-i="0"] { left: calc(66% - 6px); height: 244px; }
  .badge[data-i="0"] { transform: translate(calc(66cqw - 100px), 357.2px) scale(1.4); }
  .strap-static[data-i="1"] { left: calc(88% - 6px); height: 319px; }
  .badge[data-i="1"] { transform: translate(calc(88cqw - 100px), 432.8px) scale(1.4); }
}
@media (min-width: 1081px) and (max-height: 760px) {
  .strap-static[data-i="0"] { left: calc(66% - 6px); height: 165px; }
  .badge[data-i="0"] { transform: translate(calc(66cqw - 100px), 191.6px) scale(0.95); }
  .strap-static[data-i="1"] { left: calc(88% - 6px); height: 217px; }
  .badge[data-i="1"] { transform: translate(calc(88cqw - 100px), 242.9px) scale(0.95); }
}

/* desktop: the programmes run as a band across the bottom of the first screen */
.hero-band { display: none; }
@media (min-width: 1081px) {
  .hero-text .programmes { display: none; }
  .hero-band { position: relative; z-index: 3; grid-column: 1 / -1; display: grid; grid-template-columns: .8fr repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
  .hb-lead { align-self: center; max-width: 11em; font-size: 24px; font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
  .hb-lead .mono { display: block; margin-bottom: 10px; color: var(--ink-3); font-size: 11px; letter-spacing: .08em; }
  .hb-cell { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 5px; align-items: center; padding: 20px 22px; border-radius: 14px; background: var(--panel); transition: background-color .12s ease-out; }
  .hb-cell:hover { background: #E4E3DD; }
  .hb-cell .logo { grid-row: 1 / span 2; width: auto; height: 34px; }
  .hb-cell .logo-posthog { height: 26px; }
  .hb-cell { container-type: inline-size; }
  .hb-name { font-size: clamp(13px, calc((100cqw - 72px) / 10.6), 22px); font-weight: 500; letter-spacing: -.015em; line-height: 1.15; white-space: nowrap; }
  .hb-meta { display: flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 10.5px; white-space: nowrap; }
  .hb-meta b { color: var(--ink); font-weight: 500; }
}
@media (min-width: 1536px) {
  .hero-band { gap: 16px; }
  .hb-lead { font-size: 28px; }
  .hb-cell { padding: 26px 26px; column-gap: 18px; }
  .hb-cell .logo { height: 40px; }
  .hb-cell .logo-posthog { height: 30px; }
  .hb-meta { font-size: 11.5px; }
  .deck { max-width: 32ch; }
  .hero .btn-ink { height: 48px; padding: 0 22px; font-size: 16px; }
}
@media (min-width: 1081px) and (max-width: 1279px) {
  .hero-band { grid-template-columns: .8fr repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hb-lead { font-size: 20px; }
  .hb-cell { padding: 16px; column-gap: 12px; }
  .hb-cell .logo { height: 28px; }
  .hb-cell .logo-posthog { height: 22px; }
}

/* tablet and phone: the badges hang from the top of the screen above the headline */
@media (max-width: 1080px) {
  :root { --sec: 96px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero-grid { display: flex; flex-direction: column; padding-top: 0; padding-bottom: 0; min-height: 0; }
  .hero-text { max-width: 680px; }
  .badges { order: -1; position: relative; top: auto; left: auto; right: auto; bottom: auto; flex: none; height: 400px; margin: -64px calc(-1 * var(--pad)) 0; }
  .hero-text { margin-top: 8px; }
  .strap-static[data-i="0"] { left: calc(45% - 6px); height: 61px; }
  .strap-static[data-i="1"] { left: calc(72% - 6px); height: 91px; }
  .badge[data-i="0"] { transform: translate(calc(45cqw - 100px), 58.4px) scale(.8); }
  .badge[data-i="1"] { transform: translate(calc(72cqw - 100px), 88.4px) scale(.8); }
  .hero + .sec { padding-top: 64px; }
  .card-text { grid-column: 1 / span 5; }
  .panel-wide { grid-column: 6 / -1; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .helix { grid-template-columns: 40px minmax(0, 1fr) auto; row-gap: 6px; padding: 16px 0; }
  .helix-no { display: none; }
  .helix-icon { grid-row: 1 / span 3; align-self: start; }
  .helix .h3, .helix-line, .helix .tag { grid-column: 2; justify-self: start; }
  .helix .link { grid-column: 3; grid-row: 1; }
  .log-grid { display: block; }
  .log-left { position: static; }
  .bars { max-width: 560px; }
  .bars svg { height: 180px; }
  .log { margin-top: 40px; }
  .people { grid-template-columns: 1fr; gap: 40px; }
}

/* phone */
@media (max-width: 760px) {
  :root { --sec: 72px; }
  body { font-size: 16px; }
  .nav-in { gap: 16px; }
  .nav .btn { display: none; }
  .chip { display: none; }
  .nav-in { justify-content: center; }
  /* the badge area takes whatever height the text leaves, so the straps run long */
  .badges { flex: 1 1 auto; height: auto; min-height: 300px; container-type: size; }
  .hero-grid { padding-bottom: 28px; }
  .hero-text { display: flex; flex-direction: column; align-items: center; margin: 0; text-align: center; }
  .hero-text .programmes { order: 1; }
  .hero-text .ctas { order: 2; justify-content: center; }
  .strap-edge { stroke-width: 20; }
  .strap { stroke-width: 17; }
  .strap-print { font-size: 6.5px; }
  .strap-static { width: 20px; margin-left: -6px; }
  .strap-static[data-i="0"] { left: calc(28% - 4px); height: calc(100cqh - 253px); }
  .strap-static[data-i="1"] { left: calc(72% - 4px); height: calc(100cqh - 227px); }
  .badge[data-i="0"] { transform: translate(calc(28cqw - 100px), calc(100cqh - 295.2px)) scale(.6); }
  .badge[data-i="1"] { transform: translate(calc(72cqw - 100px), calc(100cqh - 269.2px)) scale(.6); }
  .deck { margin-top: 12px; font-size: 17px; max-width: 34ch; }
  .ctas { margin-top: 20px; }
  .ctas .btn { height: 48px; padding: 0 22px; font-size: 16px; }
  .programmes { margin-top: 20px; padding-top: 14px; }
  .programmes-list { justify-content: center; gap: 10px 20px; margin-top: 10px; }
  .programmes-list li { font-size: 15px; }
  .hero + .sec { padding-top: 56px; }
  /* the other three products as a swipe row: the next card peeks in from the right */
  .cards { display: flex; gap: 12px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
  .cards::-webkit-scrollbar { display: none; }
  .cards .card { flex: 0 0 84%; scroll-snap-align: start; }
  .cards .panel { height: 280px; }
  .page { padding-bottom: 84px; }
  .sec .h2 { margin-bottom: 36px; }
  .rule { margin-bottom: 40px; }
  .card-wide { display: block; margin-bottom: 56px; }
  .card-text .h3 { margin-top: 24px; }
  .panel-wide { margin: 28px calc(-1 * var(--pad)) 0 0; aspect-ratio: auto; height: 420px; }
  .tabs { left: 16px; top: 16px; right: 0; overflow-x: auto; scrollbar-width: none; border-radius: 6px 0 0 6px; }
  .tabs::-webkit-scrollbar { display: none; }
  .shot-web { left: 16px; top: 64px; width: 600px; }
  .panel-wide figcaption { max-width: calc(100% - 32px); text-wrap: balance; }
  .helix { grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; }
  .helix .link { grid-column: 2; grid-row: auto; }
  .log li { grid-template-columns: 6px minmax(0, 1fr); row-gap: 3px; column-gap: 10px; }
  .log time { grid-column: 1 / -1; }
  .log b { grid-column: 2; }
  .log li > span:last-child { grid-column: 2; }
  .person { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
  .person img { width: 112px; }
  .foot { padding-top: 56px; }
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .foot-brand { grid-column: 1 / -1; }
  .bio { grid-template-columns: 1fr; gap: 16px; }
  .bio img { width: 112px; }
  .figures dd { font-size: 26px; }
  .coord { left: 12px; }
}

/* phone: a Book a call bar that follows once the hero's button has scrolled away */
.bookbar { display: none; }
@media (max-width: 760px) {
  .bookbar {
    position: fixed; z-index: 35; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 8px 8px 16px;
    border-radius: 12px; background: var(--ink); color: var(--paper); box-shadow: 0 12px 32px -12px rgba(17, 19, 23, .5);
    transform: translateY(calc(100% + 24px)); visibility: hidden; transition: transform .24s var(--ease), visibility 0s .24s;
  }
  .bookbar.show { transform: none; visibility: visible; transition: transform .24s var(--ease), visibility 0s; }
  .bookbar p { display: flex; flex-direction: column; font-size: 15px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
  .bookbar p span { font-size: 13px; font-weight: 400; color: rgba(247, 246, 243, .62); }
  .bookbar .btn { height: 44px; background: var(--paper); color: var(--ink); }
  .bookbar .btn:hover { background: #fff; }
}

/* the landing fills the screen; the rest of the page starts on scroll */
@media (max-width: 1080px) {
  .hero-grid { min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); padding-bottom: 32px; align-items: stretch; }
  .hero-text { margin-top: auto; margin-bottom: auto; }
}

/* short phone screens: drop the grey line so the lanyards keep their length */
@media (max-width: 760px) and (max-height: 720px) { .deck { display: none; } }

/* very narrow phones */
@media (max-width: 359px) {
  .helix .tag { white-space: normal; }
  .badges { min-height: 270px; }
  .strap-static[data-i="0"] { left: calc(26% - 4px); height: calc(100cqh - 225px); }
  .strap-static[data-i="1"] { left: calc(74% - 4px); height: calc(100cqh - 199px); }
  .badge[data-i="0"] { transform: translate(calc(26cqw - 100px), calc(100cqh - 281.8px)) scale(.52); }
  .badge[data-i="1"] { transform: translate(calc(74cqw - 100px), calc(100cqh - 255.8px)) scale(.52); }
  .h1 { font-size: 40px; }
  .deck { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after, *::backdrop { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
