/* Hallmark · shape: field notes at night, the film first · genre: atmospheric · theme: custom (inherits neeuman.com: Manrope, IBM Plex Mono, monochrome, on black; sibling of /industry/propulsion/) · job: explore, then talk to us · idea: "the organisms move first; every claim sits beside the model that made it" · vibe: "a dark lab bench, quiet, exact"
 * paper: oklch(11% 0.004 260) · accent: the light ink · display: Manrope 400 · body: Manrope · outlier: IBM Plex Mono for measurements only · hero: Poster, the polyp film edge to edge, head bottom-left · nav: inherited neeuman.com header · footer: inherited neeuman.com footer · imagery: Neeuman films of the microlife, voice and material models · signature: the chapter stage, scrolling steps the film through its four organisms
 * axes: dark/grotesk-light/neutral · posture: drenched, monochrome on night · surface: absolute black behind films only · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H5 E4 S5 R4 V5 · weakest: E, the atlas is a list of eighteen; the filter and scale labels carry it */
/* Hallmark · inherited chrome: the header and footer are neeuman.com's locked system and are not restyled here */
/* Hallmark · waive 75 · inherited header and footer chrome at 8 to 10px · identical on every page of neeuman.com */
/* Hallmark · waive 49b · inherited footer link wraps at 375px · shared by every page of the site */
/* Hallmark · waive 7b · --bi-void behind the films only · the films are rendered on true black; a tint would box them */
/* Hallmark · waive 22 · --bi-void is the one zero-chroma token · it must equal the films' black */
/* Hallmark · waive 83 · films cover much of the page · the owner asked for the films first and edge to edge */
/* Hallmark · answered F4 · one primary recipe; pressed chips are toggle states, not actions */

:root {
  --bi-space-2xs: 4px; --bi-space-xs: 8px; --bi-space-sm: 12px; --bi-space-md: 16px; --bi-space-lg: 24px;
  --bi-space-xl: 40px; --bi-space-2xl: 64px; --bi-space-3xl: 96px;
  --bi-text-xs: 0.8125rem; --bi-text-sm: 0.875rem; --bi-text-md: 1rem; --bi-text-lg: 1.125rem;
  --bi-text-title: clamp(1.25rem, 0.6vw + 0.95rem, 1.5rem);
  --bi-text-figure: clamp(2.5rem, 2.6vw + 1.2rem, 4.25rem);
  --bi-text-section: clamp(2.5rem, 3vw + 1.1rem, 4.5rem);
  --bi-text-display: clamp(3rem, 5.4vw + 0.6rem, 6.25rem);
  --bi-text-lead: clamp(1.0625rem, 0.4vw + 0.95rem, 1.3125rem);
  --bi-ease: cubic-bezier(0.16, 1, 0.3, 1); --bi-dur-short: 220ms; --bi-dur-long: 520ms;
  --bi-container: 1360px; --bi-gutter: 64px; --bi-gap: 32px; --bi-section: 144px; --bi-header: 74px;
  --bi-radius-control: 999px; --bi-radius-card: 2px; --bi-hair: 1px; --bi-z: 10;
  --bi-void: oklch(0% 0 0);
  --bi-paper: oklch(11% 0.004 260);
  --bi-paper-2: oklch(15% 0.005 260);
  --bi-night: oklch(14% 0.004 260);
  --bi-night-3: oklch(22% 0.006 260);
  --bi-ink: oklch(96.5% 0.003 260);
  --bi-ink-2: oklch(84% 0.004 260);
  --bi-muted: oklch(70% 0.005 260);
  --bi-rule: oklch(96.5% 0.003 260 / 0.14);
  --bi-rule-strong: oklch(96.5% 0.003 260 / 0.6);
  --bi-accent: oklch(96.5% 0.003 260);
  --bi-accent-ink: oklch(11% 0.004 260);
  --bi-focus: oklch(84% 0.08 265);
  --bi-scrim: oklch(9% 0.004 260 / 0.88);
  --bi-scrim-soft: oklch(9% 0.004 260 / 0);
  --bi-font: Manrope, Arial, ui-sans-serif, system-ui, sans-serif;
  --bi-mono: 'IBM Plex Mono', ui-monospace, monospace;
}
@supports not (color: oklch(50% 0 0)) {
  :root { --bi-void: #000; --bi-paper: #08090a; --bi-paper-2: #101112; --bi-night: #0d0e0f; --bi-night-3: #1d1e20; --bi-ink: #f4f4f5; --bi-ink-2: #cfd0d2;
    --bi-muted: #a8a9ac; --bi-rule: #f4f4f524; --bi-rule-strong: #f4f4f599; --bi-accent: #f4f4f5; --bi-accent-ink: #08090a; --bi-focus: #c3cdf0;
    --bi-scrim: #060707e0; --bi-scrim-soft: #06070700; }
}

html, body { overflow-x: clip; }
.bi-main { background: var(--bi-paper); color: var(--bi-ink); font-family: var(--bi-font); font-size: var(--bi-text-md); line-height: 1.55; }
.bi-main h1, .bi-main h2, .bi-main h3 { font-family: var(--bi-font); font-weight: 400; font-style: normal; margin: 0; overflow-wrap: break-word; min-width: 0; text-wrap: balance; color: inherit; }
.bi-main p { margin: 0; text-wrap: pretty; }
.bi-main img, .bi-main video { display: block; max-width: 100%; }
.biology-page .bi-main :is(a, button, video, [tabindex]):focus-visible { outline: 3px solid var(--bi-focus); outline-offset: 3px; box-shadow: 0 0 0 7px var(--bi-paper); }
.bi-wrap { width: 100%; max-width: var(--bi-container); margin-inline: auto; padding-inline: var(--bi-gutter); }
.bi-band { padding-block: var(--bi-section); }
.bi-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--bi-space-lg) var(--bi-gap); align-items: end; margin-bottom: var(--bi-space-2xl); }
.bi-head h2 { font-size: var(--bi-text-section); line-height: 1.04; letter-spacing: -0.045em; max-width: 16ch; }
.biology-page .bi-head p { font-size: var(--bi-text-lead); line-height: 1.5; color: var(--bi-muted); max-width: 45ch; justify-self: end; }

/* Controls */
.bi-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bi-space-lg); }
.biology-page .bi-button { display: inline-flex; align-items: center; min-height: 48px; padding-inline: var(--bi-space-lg); border-radius: var(--bi-radius-control); background: var(--bi-accent); color: var(--bi-accent-ink); font-family: var(--bi-font); font-size: var(--bi-text-md); font-weight: 600; text-decoration: none; letter-spacing: 0; text-transform: none; white-space: nowrap; transition: background-color var(--bi-dur-short) var(--bi-ease); }
.biology-page .bi-button:hover { background: var(--bi-ink-2); }
.bi-button:active, .bi-text-link:active, .bi-sound:active, .bi-chips button:active { transform: translateY(1px); }
.biology-page .bi-text-link { display: inline-flex; align-items: center; min-height: 48px; color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.bi-text-link:hover { text-decoration-thickness: 2px; }
.bi-sound, .bi-motion { min-height: 44px; padding-inline: var(--bi-space-md); border: var(--bi-hair) solid var(--bi-rule); border-radius: var(--bi-radius-control); background: var(--bi-scrim); color: var(--bi-ink); font-family: var(--bi-font); font-size: var(--bi-text-sm); cursor: pointer; transition: background-color var(--bi-dur-short) var(--bi-ease); }
.bi-sound:hover, .bi-motion:hover { background: var(--bi-night-3); }

/* Hero: the polyp film edge to edge; head and actions bottom-left. */
.bi-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: calc(100svh - var(--bi-header)); background: var(--bi-void); overflow: clip; }
.bi-hero-film { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.bi-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bi-scrim) 0%, var(--bi-scrim-soft) 62%), linear-gradient(0deg, var(--bi-scrim) 0%, var(--bi-scrim-soft) 45%); }
.bi-hero-copy { padding-block: var(--bi-space-3xl) var(--bi-space-2xl); }
.biology-page .bi-crumbs { font-size: var(--bi-text-sm); color: var(--bi-ink-2); margin-bottom: var(--bi-space-lg); }
.bi-hero h1 { font-size: var(--bi-text-display); line-height: 1; letter-spacing: -0.055em; max-width: 12ch; }
.biology-page .bi-lede { margin-top: var(--bi-space-xl); font-size: var(--bi-text-lead); line-height: 1.5; color: var(--bi-ink-2); max-width: 34ch; }
.bi-hero .bi-actions { margin-top: var(--bi-space-xl); }
.bi-motion { position: absolute; top: var(--bi-space-lg); right: var(--bi-gutter); z-index: var(--bi-z); }

/* Chapters: a tall track with a pinned stage; scrolling steps the film through its four organisms. */
.bi-chapters { background: var(--bi-void); padding-block: var(--bi-section) 0; }
.bi-stage-film { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bi-void); }
.bi-stage-copy { padding-block: var(--bi-space-2xl); }
.bi-stage-copy h2 { font-size: var(--bi-text-section); line-height: 1.04; letter-spacing: -0.045em; max-width: 14ch; }
.bi-chapter-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--bi-gap); margin: var(--bi-space-xl) 0 0; padding: 0; }
.bi-chapter-list li { padding-top: var(--bi-space-md); border-top: var(--bi-hair) solid var(--bi-rule-strong); min-width: 0; }
.bi-chapter-list img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: var(--bi-space-md); }
.bi-chapter-list b { display: block; font-family: var(--bi-mono); font-weight: 400; font-size: var(--bi-text-sm); color: var(--bi-muted); font-variant-numeric: tabular-nums; }
.biology-page .bi-chapter-list h3 { margin-top: var(--bi-space-xs); font-size: var(--bi-text-title); line-height: 1.2; letter-spacing: -0.03em; }
.biology-page .bi-chapter-list p { margin-top: var(--bi-space-xs); color: var(--bi-muted); max-width: 34ch; }
html.bi-scroll .bi-chapters { padding-top: 0; }
html.bi-scroll .bi-track { height: 460svh; }
html.bi-scroll .bi-stage { position: sticky; top: var(--bi-header); height: calc(100svh - var(--bi-header)); overflow: clip; }
html.bi-scroll .bi-stage-film { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
html.bi-scroll .bi-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bi-scrim) 0%, var(--bi-scrim-soft) 55%), linear-gradient(90deg, var(--bi-scrim) 0%, var(--bi-scrim-soft) 45%); pointer-events: none; }
html.bi-scroll .bi-stage-copy { position: absolute; inset: auto 0 0 0; z-index: var(--bi-z); margin-inline: auto; }
html.bi-scroll .bi-chapter-list img { display: none; }
html.bi-scroll .bi-chapter-list li { opacity: 0.38; border-top-color: var(--bi-rule); transition: opacity var(--bi-dur-long) var(--bi-ease), border-color var(--bi-dur-long) var(--bi-ease); }
html.bi-scroll .bi-chapter-list li.is-on { opacity: 1; border-top-color: var(--bi-ink); }

/* Films edge to edge; the one control is the sound. */
.bi-bleed { position: relative; margin: 0; width: 100%; }
.bi-bleed video { width: 100%; height: auto; background: var(--bi-void); }
.bi-bleed > .bi-sound { position: absolute; right: var(--bi-gutter); bottom: var(--bi-space-md); z-index: var(--bi-z); }
.bi-voice { background: var(--bi-night); padding-block: var(--bi-section); }
.bi-voice-film video { aspect-ratio: 21 / 9; object-fit: cover; }
.bi-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--bi-gap); margin: var(--bi-space-2xl) 0 0; padding: 0; }
.bi-steps li { counter-increment: step; padding-top: var(--bi-space-md); border-top: var(--bi-hair) solid var(--bi-rule-strong); }
.bi-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--bi-mono); font-size: var(--bi-text-sm); color: var(--bi-muted); }
.biology-page .bi-steps h3 { margin-top: var(--bi-space-lg); font-size: var(--bi-text-title); letter-spacing: -0.03em; }
.biology-page .bi-steps p { margin-top: var(--bi-space-xs); color: var(--bi-muted); max-width: 36ch; }
.bi-material-film { overflow: clip; }
.bi-material-film video { aspect-ratio: 21 / 9; object-fit: cover; }
.bi-material-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bi-scrim) 0%, var(--bi-scrim-soft) 58%); pointer-events: none; }
.bi-material-copy { position: absolute; inset: 0; z-index: var(--bi-z); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--bi-space-md); margin-inline: auto; }
.bi-material-copy h2 { font-size: var(--bi-text-section); line-height: 1.04; letter-spacing: -0.045em; max-width: 12ch; }
.biology-page .bi-material-copy p { font-size: var(--bi-text-lead); color: var(--bi-ink-2); max-width: 38ch; }

/* Checks: the engine brief's numbers, counted up. */
.bi-checks { background: var(--bi-paper); }
.bi-numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: var(--bi-hair) solid var(--bi-rule-strong); }
.bi-numbers > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--bi-space-sm); padding: var(--bi-space-xl) var(--bi-space-lg) var(--bi-space-xl) 0; min-width: 0; }
.bi-numbers > div + div { padding-left: var(--bi-space-lg); border-left: var(--bi-hair) solid var(--bi-rule); }
.bi-numbers dd { margin: 0; display: flex; align-items: baseline; gap: var(--bi-space-xs); }
.bi-numbers dd span { font-size: var(--bi-text-figure); font-weight: 300; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.bi-numbers dd i { font-style: normal; font-family: var(--bi-mono); font-size: var(--bi-text-sm); color: var(--bi-ink-2); }
.bi-numbers dt { font-size: var(--bi-text-sm); color: var(--bi-muted); max-width: 28ch; }

/* Engines: the eighteen aspects, filterable by scale. */
.bi-engines { background: var(--bi-paper-2); }
.bi-flow { list-style: none; display: flex; flex-wrap: wrap; gap: var(--bi-space-xs); margin: 0 0 var(--bi-space-xl); padding: 0; font-family: var(--bi-mono); font-size: var(--bi-text-sm); color: var(--bi-ink-2); }
.bi-flow li { padding: var(--bi-space-xs) var(--bi-space-md); border: var(--bi-hair) solid var(--bi-rule); border-radius: var(--bi-radius-control); }
.bi-chips { display: flex; flex-wrap: wrap; gap: var(--bi-space-xs); margin-bottom: var(--bi-space-xl); }
.bi-chips button { min-height: 44px; padding-inline: var(--bi-space-md); border: var(--bi-hair) solid var(--bi-rule); border-radius: var(--bi-radius-control); background: transparent; color: var(--bi-ink-2); font-family: var(--bi-font); font-size: var(--bi-text-sm); cursor: pointer; transition: background-color var(--bi-dur-short) var(--bi-ease), color var(--bi-dur-short) var(--bi-ease); }
.bi-chips button:hover { color: var(--bi-ink); border-color: var(--bi-muted); }
.bi-chips button[aria-pressed="true"] { background: var(--bi-accent); border-color: var(--bi-accent); color: var(--bi-accent-ink); }
.bi-atlas { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-top: var(--bi-hair) solid var(--bi-rule-strong); }
.bi-atlas li { padding: var(--bi-space-lg) var(--bi-space-lg) var(--bi-space-lg) 0; border-bottom: var(--bi-hair) solid var(--bi-rule); min-width: 0; }
.bi-atlas li[hidden] { display: none; }
.bi-atlas span { display: block; margin-top: var(--bi-space-2xs); font-family: var(--bi-mono); font-size: var(--bi-text-xs); color: var(--bi-muted); }
.biology-page .bi-atlas h3 { margin-top: 0; font-size: var(--bi-text-title); line-height: 1.2; letter-spacing: -0.03em; }
.biology-page .bi-atlas p { margin-top: var(--bi-space-xs); color: var(--bi-ink-2); max-width: 38ch; }
.bi-atlas small { display: block; margin-top: var(--bi-space-sm); font-size: var(--bi-text-sm); color: var(--bi-muted); }

/* Close */
.bi-close { padding-block: var(--bi-section); background: var(--bi-paper); border-top: var(--bi-hair) solid var(--bi-rule); }
.bi-close-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--bi-space-2xl) var(--bi-gap); align-items: end; }
.bi-close h2 { font-size: var(--bi-text-section); line-height: 1.04; letter-spacing: -0.045em; max-width: 15ch; }
.biology-page .bi-close-grid > div > p { margin-top: var(--bi-space-lg); font-size: var(--bi-text-lead); color: var(--bi-ink-2); max-width: 44ch; }
.bi-close .bi-actions { margin-top: var(--bi-space-xl); }
.bi-made { padding: var(--bi-space-xl); background: var(--bi-paper-2); border: var(--bi-hair) solid var(--bi-rule); border-radius: var(--bi-radius-card); }
.biology-page .bi-made h3 { font-size: var(--bi-text-title); letter-spacing: -0.03em; }
.bi-made ul { list-style: none; margin: var(--bi-space-lg) 0 0; padding: 0; }
.bi-made li { padding-block: var(--bi-space-sm); border-top: var(--bi-hair) solid var(--bi-rule); color: var(--bi-ink-2); }

/* Hero cover: the chapters rise over the hero (html.bi-scroll, never under reduced motion). */
html.bi-scroll .bi-hero { position: sticky; top: 0; z-index: 0; }
html.bi-scroll .bi-main > section:not(.bi-hero) { position: relative; z-index: 1; }
.bi-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bi-void); opacity: calc(var(--out, 0) * 0.8); pointer-events: none; }
html.bi-scroll .bi-hero-copy { transform: translate3d(0, calc(var(--out, 0) * -72px), 0); opacity: calc(1 - var(--out, 0) * 1.3); }

@media (max-width: 60rem) {
  :root { --bi-gutter: 24px; --bi-gap: 20px; --bi-section: 96px; }
  .bi-head, .bi-close-grid { grid-template-columns: minmax(0, 1fr); }
  .biology-page .bi-head p { justify-self: start; }
  .bi-chapter-list, .bi-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--bi-space-lg); }
  .bi-numbers > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .bi-atlas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bi-steps { grid-template-columns: minmax(0, 1fr); }
  .bi-voice-film video, .bi-material-film video { aspect-ratio: 4 / 3; }
  .bi-material-film::after { background: linear-gradient(0deg, var(--bi-scrim) 0%, var(--bi-scrim-soft) 70%); }
  .bi-material-copy { justify-content: flex-end; padding-bottom: var(--bi-space-xl); }
}
@media (max-width: 47.5rem) { :root { --bi-header: 66px; } }
@media (max-width: 40rem) {
  :root { --bi-gutter: 16px; --bi-section: 72px; }
  .bi-atlas { grid-template-columns: minmax(0, 1fr); }
  html.bi-scroll .bi-chapter-list p { display: none; }
  .bi-numbers dd span { font-size: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bi-button, .bi-sound, .bi-motion, .bi-chips button, .bi-chapter-list li { transition: none; }
}

/* The inherited skip link: out of sight until it takes keyboard focus. */
.biology-page .web-skip { position: absolute; left: var(--bi-space-md); top: var(--bi-space-md); z-index: 1000; padding: var(--bi-space-xs) var(--bi-space-md); background: var(--bi-accent); color: var(--bi-accent-ink); border-radius: var(--bi-radius-control); transform: translateY(-200%); }
.biology-page .web-skip:focus-visible { transform: none; }

/* The inherited footer, set on this page's night surface so its text reads. */
.biology-page footer.ecosystem-footer { background: var(--bi-paper-2) !important; color: var(--bi-ink-2) !important; border-top: var(--bi-hair) solid var(--bi-rule); }
.biology-page footer.ecosystem-footer :is(a, p, small, strong, span, h2, h3, li) { color: var(--bi-ink-2) !important; }
.biology-page footer.ecosystem-footer :is(a.wordmark, strong) { color: var(--bi-ink) !important; }
.biology-page footer.ecosystem-footer img { filter: brightness(0) invert(1); }
