:root {
  --paper: #f9f7f2;
  --ink: #1a2f28;
  --teal: #4a6d70;
  --muted: #8daa9d;
  --brown: #7c6354;
  --hairline: rgba(26, 47, 40, 0.14);
  --copy: rgba(26, 47, 40, 0.72);
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --sans: "Inter", Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--muted); }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height, 64px) + 16px); background: var(--paper); }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, ol, ul { margin: 0; }
ul, ol { padding: 0; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 18px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
}
.skip-link:focus { top: 18px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  min-height: 64px;
  color: #fff;
  background: transparent;
  transition: color 250ms ease, background 250ms ease, box-shadow 250ms ease;
}
.site-header.is-scrolled,
.site-header.nav-open {
  color: var(--ink);
  background: rgba(249, 247, 242, 0.95);
  box-shadow: 0 1px 0 rgba(26, 47, 40, 0.08);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1280px);
  min-height: 64px;
  margin: 0 auto;
  padding: 12px 40px;
}
.wordmark {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px 31px; min-width: 0; }
.site-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 160ms ease;
}
.site-nav a:hover,
.site-nav a:focus-visible { text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle {
  display: none;
  width: 22px;
  height: 22px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
  transition: opacity 180ms ease, transform 180ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-5px) rotate(-45deg); }

.hero {
  position: relative;
  display: flex;
  min-height: 95vh;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  color: #fff;
  isolation: isolate;
  padding: 112px 0 72px;
  background: var(--ink);
}
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { object-fit: cover; object-position: center; z-index: -3; }
.hero-shade {
  z-index: -2;
  background: linear-gradient(to bottom, rgba(0,0,0,.62), rgba(0,0,0,.6), rgba(0,0,0,.72));
}
.hero-fade {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 96px;
  background: linear-gradient(to top, var(--paper), transparent);
}
.hero-content {
  width: auto;
  max-width: 896px;
  padding: 0 24px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  color: var(--teal);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow.on-dark { color: rgba(255, 255, 255, 0.85); }
.hero .eyebrow { margin-bottom: 32px; }
.hero h1 {
  margin: 0 0 32px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(48px, 10vw, 128px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero h1 i { font-weight: 400; }
.hero-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 46px;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.625;
}
.outline-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 15px 31px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 16px;
  text-transform: uppercase;
  transition: color 200ms ease, background 200ms ease;
}
.outline-button:hover,
.outline-button:focus-visible { color: var(--ink); background: #fff; }

.narrow-section { width: min(100% - 48px, 1024px); margin: 0 auto; }
/* Mirrors Base44's `max-w-6xl mx-auto px-6 md:px-10` wrapper.  The outer
   column is 1152px wide on desktop; the 40px side padding belongs inside it. */
.wide-section { width: min(100%, 1152px); margin: 0 auto; padding-right: 40px; padding-left: 40px; }
.display-heading {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(42px, 4.45vw, 64px);
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.1;
}
.display-heading.on-dark { color: #fff; }
.centered { text-align: center; }
.centered-heading { text-align: center; }
.divider { height: .5px; background: rgba(26,47,40,.15); }
.short-divider { width: min(100%, 320px); margin: 0 auto 56px; }

.research-section { padding: 160px 0; background: var(--paper); }
.research-section .eyebrow { margin-bottom: 32px; }
.research-section h2 { margin: 0 auto 56px; font-size: clamp(28.8px, 5vw, 64px); line-height: 1.1; }
.centered-copy {
  max-width: 672px;
  margin: 0 auto 80px;
  color: rgba(26,47,40,.7);
  font-size: 18px;
  line-height: 1.625;
  text-align: center;
}
.status-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 224px minmax(0, 1fr);
  align-items: center;
  max-width: 1024px;
  margin: 0 auto;
}
.status-card {
  min-height: 240px;
  padding: 48px 32px;
  border: 1px solid var(--hairline);
  text-align: center;
}
.status-card .eyebrow { display: block; margin-bottom: 16px; color: var(--teal); }
.status-infected .eyebrow { color: var(--brown); }
.status-card strong {
  display: block;
  color: var(--brown);
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1;
}
.status-uninfected strong { color: var(--teal); }
.status-card em { display: block; margin-top: 16px; color: var(--copy); font-size: 14px; font-style: normal; line-height: 20px; }
.status-versus { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; color: var(--teal); font-family: var(--serif); font-size: 24px; font-style: italic; line-height: 1; text-align: center; }
.status-versus::before, .status-versus::after { width: 1px; height: 80px; background: var(--hairline); content: ""; }

.species-split { display: flex; min-height: 70vh; }
.species-image-wrap { position: relative; display: flex; flex-direction: column; width: 50%; margin: 0; overflow: hidden; background: #000; }
.species-image-frame { position: relative; flex: 1; min-height: 360px; }
.species-image-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 32px; object-fit: contain; object-position: center; }
.species-image-credit { flex: none; padding: 0 24px 16px; color: #d6dcd8; font-family: var(--sans); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.species-image-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.species-copy { display: flex; width: 50%; padding: 64px 96px; align-items: center; }
.species-copy > div { max-width: 512px; }
.species-copy .eyebrow { margin-bottom: 24px; }
.species-copy h2 { margin-bottom: 32px; font-size: clamp(32px, 4vw, 56px); line-height: 1.1; }
.species-copy > div > p:not(.eyebrow) { margin: 0 0 40px; color: rgba(26,47,40,.7); font-size: 18px; line-height: 1.625; }
.species-facts { display: flex; flex-direction: column; gap: 16px; margin: 0; list-style: none; }
.species-facts li { position: relative; padding: 16px 0 16px 22px; margin: 0; border-bottom: 1px solid var(--hairline); font-size: 12px; line-height: 16px; }
.species-facts li:last-child { border-bottom: 0; }
.species-facts li::before { position: absolute; top: calc(16px + .5lh - 3px); left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); content: ""; }
.species-facts b { display: block; font-size: 12px; line-height: 16px; letter-spacing: .2em; text-transform: uppercase; }
.species-facts span { display: block; margin-top: 4px; color: var(--copy); font-size: 15px; line-height: 20px; }

.parasite-section { position: relative; overflow: hidden; padding: 160px 0; color: #fff; background: var(--ink); isolation: isolate; }
.parasite-background { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .2; }
/* Base44 uses a compact max-w-5xl content column, rather than the wider
   fieldwork wrapper used elsewhere. */
.parasite-inner { width: min(100%, 1024px); padding: 0 24px; margin: 0 auto; }
.parasite-layout { display: flex; gap: 96px; align-items: flex-start; }
.parasite-copy { width: calc((100% - 96px) / 2); }
.parasite-copy .eyebrow { margin-bottom: 24px; }
.parasite-copy h2 { margin-bottom: 24px; font-size: clamp(32px, 5vw, 64px); line-height: 1.1; }
.parasite-name { margin-bottom: 32px; color: var(--muted); font-family: var(--serif); font-size: clamp(19.2px, 2.5vw, 28.8px); font-style: italic; line-height: 1.6; }
.parasite-description { margin: 0 0 24px; color: rgba(255,255,255,.65); font-size: 18px; line-height: 1.625; }
.parasite-note { padding-left: 16px; color: rgba(255,255,255,.65); border-left: 2px solid var(--teal); font-size: 14px; line-height: 1.625; }
.parasite-flow { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; width: max-content; padding: 0; margin: 0 0 0 auto; list-style: none; }
.parasite-flow li { display: flex; flex-direction: column; align-items: center; color: rgba(255,255,255,.85); text-align: center; }
.parasite-flow li:nth-child(odd) { min-width: 240px; padding: 20px 32px; border: 1px solid rgba(74,109,112,.6); background: rgba(26,47,40,.5); font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .025em; line-height: 28px; white-space: nowrap; }
.parasite-flow li:first-child { font-family: var(--serif); font-size: 16px; font-style: italic; letter-spacing: 0; }
.parasite-flow li:nth-child(even) { width: 100%; padding: 8px 0; color: var(--teal); font-family: var(--sans); font-size: 14px; line-height: 20px; }
.parasite-flow li:nth-child(even)::before { display: block; width: 1px; height: 20px; background: rgba(74,109,112,.6); content: ""; }

.fieldwork-section { padding: 128px 0; }
.fieldwork-intro { max-width: 768px; margin-bottom: 112px; }
.fieldwork-intro .eyebrow { margin-bottom: 24px; }
.fieldwork-intro h2 { margin-bottom: 16px; font-size: clamp(40px, 7vw, 96px); line-height: 1; }
.fieldwork-intro > p:not(.eyebrow) { max-width: 576px; color: var(--copy); font-size: 18px; line-height: 1.625; }
.phase-heading { margin: 32px 0 112px; text-align: center; }
.phase-heading .eyebrow { margin-bottom: 20px; }
.phase-heading h2 { font-size: clamp(32px,5vw,64px); line-height: 1.05; }
.process-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.process-copy { max-width: none; }
.process-row.reverse .process-copy { justify-self: end; }
.step-line {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
  color: var(--teal);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  line-height: 16px;
  text-transform: uppercase;
}
.step-number { color: var(--teal); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.step-title { min-width: 0; }
.process-copy h3,
.centered-step h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28.8px,4vw,51.2px);
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.1;
}
.process-copy h3 { margin-bottom: 20px; }
.process-copy > p:not(.step-line) { max-width: 448px; color: var(--copy); font-size: 18px; line-height: 1.625; }
/* One media size for every illustrated step. Contain preserves labels and specimens. */
.natural-photo { display: grid; place-items: center; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; justify-self: center; background: #efede7; border: 1px solid var(--hairline); }
.natural-photo > img,
.natural-photo > video { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
/* Trim the bottom edge of the mudflat photo to remove the fingertip. */
.burrow-photo > img { object-fit: cover; object-position: 50% 0; }
.video-figure { position: relative; }
/* Fill the shared 4:5 frame without side bars; keep the pouring action centered. */
.video-figure > video { object-fit: cover; object-position: 50% 50%; }
.micro-tags { display: grid; max-width: 320px; margin: 28px 0 0; list-style: none; }
.micro-tags-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.micro-tags-one { grid-template-columns: 1fr; gap: 16px; }
.micro-tags li { position: relative; padding-left: 18px; color: var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; line-height: 16px; text-transform: uppercase; }
.micro-tags li::before { position: absolute; top: calc(.5lh - 3px); left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); content: ""; }
.centered-step { max-width: 672px; margin: 0 auto 112px; text-align: center; }
.centered-step .step-line { display: flex; flex-direction: column; gap: 8px; align-items: center; margin-bottom: 24px; }
.centered-step h3 { margin-bottom: 20px; font-size: clamp(25.6px,3.5vw,41.6px); }
.centered-step > p:not(.step-line) { color: var(--copy); }
.lab-phase { margin-top: 0; }
.compact-step { margin-top: 0; }
.process-checkpoint { max-width: 768px; padding: 32px; margin: 0 auto 96px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
/* Frame the samples and gloved hand; exclude the head without changing the original. */
.freezer-crop { position: relative; width: 100%; height: 100%; max-width: 100%; overflow: hidden; }
.freezer-crop img { position: absolute; top: 0; right: 0; width: 192.3077%; max-width: none; height: auto; transform: translateY(-43.125%); }

.sequencing-section { padding: 128px 24px; color: #fff; background: var(--ink); }
.sequencing-section .narrow-section { width: min(100%, 768px); }
.centered-flow { text-align: center; }
.centered-flow .eyebrow { margin-bottom: 24px; color: var(--muted); }
.centered-flow h2 { margin: 0 auto 40px; font-size: clamp(28.8px,4vw,51.2px); line-height: 1.1; }
.sequence-flow { display: flex; flex-direction: column; align-items: center; max-width: 448px; margin: 0 auto; }
.sequence-flow span { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; padding: 16px 28px; color: rgba(255,255,255,.75); border: 1px solid rgba(74,109,112,.4); font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .025em; line-height: 28.8px; white-space: nowrap; }
.sequence-flow span:nth-of-type(3) { color: #fff; border-color: var(--teal); background: rgba(74,109,112,.15); }
.sequence-flow b { padding: 8px 0; color: var(--teal); font-family: var(--sans); font-size: 20px; font-weight: 400; line-height: 28px; }
.pending-line { margin-top: 48px; color: rgba(255,255,255,.65); font-family: var(--mono); font-size: 12px; letter-spacing: .3em; line-height: 16px; text-transform: uppercase; }

.methods-section { padding: 128px 0; }
.methods-content { width: min(100%, 1024px); padding: 96px 40px 0; }
.methods-section > .divider:last-child { margin-top: 96px; }
.methods-content .eyebrow { margin-bottom: 20px; }
.methods-content h2 { margin-bottom: 64px; font-size: clamp(28.8px,4vw,51.2px); line-height: 1.1; }
.timeline-label { margin-bottom: 32px; color: var(--copy); font-family: var(--mono); font-size: 10px; letter-spacing: .3em; line-height: 16px; text-align: center; text-transform: uppercase; }
.timeline { display: grid; list-style: none; text-align: center; }
.completed-timeline { grid-template-columns: repeat(5, 1fr); max-width: 768px; margin: 0 auto; }
.future-timeline { grid-template-columns: repeat(2, 1fr); max-width: 768px; margin: 0 auto; }
.timeline li { position: relative; padding: 0 12px; }
.timeline-arrow { position: absolute; top: 24px; left: 100%; display: block; width: 24px; height: 24px; color: var(--teal); transform: translate(-50%, -50%); }
.timeline-arrow svg { display: block; width: 100%; height: 100%; }
.timeline b { position: relative; z-index: 1; display: grid; width: 48px; height: 48px; margin: 0 auto 16px; place-items: center; color: var(--teal); background: var(--paper); border: 1px solid rgba(26,47,40,.2); font-family: var(--mono); font-size: 10px; font-weight: 400; line-height: 16px; }
.future-timeline b { color: var(--teal); background: rgba(74,109,112,.05); border-color: rgba(74,109,112,.4); border-style: solid; }
.timeline span { display: block; color: var(--ink); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .1em; line-height: 1.25; text-transform: uppercase; }
.mobile-pending { display: none; }
.timeline-divider { display: flex; gap: 24px; align-items: center; max-width: 768px; margin: 80px auto; }
.timeline-divider span { flex: 1; height: .5px; background: var(--hairline); }
.timeline-divider p { color: var(--teal); font-family: var(--mono); font-size: 10px; letter-spacing: .3em; line-height: 28.8px; text-transform: uppercase; }
.dark-pending { margin-top: 32px; color: var(--teal); font-family: var(--mono); font-size: 10px; letter-spacing: .25em; line-height: 16px; text-align: center; }

.samples-section { padding: 144px 24px; }
.sample-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 80px; border: 1px solid rgba(26,47,40,.12); }
.sample-stats > div { min-height: 220px; padding: 48px 16px; text-align: center; }
.sample-stats > div + div { border-left: 1px solid rgba(26,47,40,.12); }
.sample-stats strong { display: block; margin-bottom: 12px; color: var(--ink); font-family: var(--serif); font-size: clamp(48px,8vw,96px); font-weight: 400; line-height: 1; }
.sample-stats span { display: block; margin: 0; color: var(--teal); font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .25em; line-height: 16px; text-transform: uppercase; }
.budget-stats span { display: block; margin: 0; color: var(--teal); font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; line-height: 16px; text-transform: uppercase; }
.reveal-control { display: flex; justify-content: center; }
.samples-control { margin-bottom: 32px; }
.budget-control { margin-bottom: 24px; }
.reveal-toggle { display: inline-flex; gap: 12px; align-items: center; min-height: 48px; padding: 0; cursor: pointer; color: var(--teal); background: transparent; border: 0; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .25em; line-height: 16px; text-transform: uppercase; transition: color 200ms ease; }
.reveal-toggle:hover, .reveal-toggle:focus-visible { color: var(--ink); }
.chevron { display: inline-flex; transition: transform 300ms ease; }
.chevron svg { width: 16px; height: 16px; }
.reveal-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.reveal-panel { display: none; }
.reveal-panel.is-open { display: block; }
.table-scroll { overflow-x: auto; text-align: left; }
.specimen-table { width: 100%; min-width: 760px; border-collapse: collapse; color: rgba(26,47,40,.7); font-family: var(--mono); font-size: 14px; line-height: 20px; }
.specimen-table th { padding: 12px 16px; color: var(--teal); border-bottom: 1px solid rgba(26,47,40,.2); font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; line-height: 16px; text-align: left; text-transform: uppercase; white-space: nowrap; }
.specimen-table td { padding: 12px 16px; border-bottom: 1px solid rgba(26,47,40,.08); }
.specimen-table tbody tr:nth-child(odd) { background: rgba(26,47,40,.02); }
.specimen-table tbody tr:hover { background: rgba(26,47,40,.04); }
.specimen-table td:last-child { color: var(--copy); }
.infection { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .025em; }
.infection.infected { color: var(--brown); }
.infection.uninfected { color: var(--teal); }

.results-section { padding: 144px 24px; color: #fff; background: var(--ink); }
.results-section .eyebrow { margin-bottom: 24px; color: var(--muted); }
.results-section h2 { margin-bottom: 32px; font-size: clamp(32px,5vw,64px); line-height: 1.1; }
.results-copy { max-width: 576px; margin: 0 auto 80px; color: rgba(255,255,255,.55); font-size: 18px; line-height: 1.625; text-align: center; }
.result-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.result-cards div { display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; padding: 40px; border: 1px solid rgba(74,109,112,.4); }
.result-cards span { display: block; color: #fff; font-family: var(--serif); font-size: 18px; line-height: 28px; }
.result-cards b { display: block; color: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .25em; line-height: 16px; text-transform: uppercase; }
.results-section .pending-line { margin-top: 48px; color: rgba(255,255,255,.65); text-align: center; }

.budget-section { padding: 144px 24px; }
.budget-section .narrow-section { width: min(100%, 768px); }
.budget-top-divider { margin-bottom: 96px; }
.budget-section .eyebrow { margin-bottom: 40px; }
.budget-total { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 0 64px; text-align: center; }
.budget-total strong { display: block; margin-bottom: 12px; font-family: var(--serif); font-size: clamp(64px,12vw,144px); font-weight: 400; letter-spacing: normal; line-height: 1; }
.budget-total span { color: var(--teal); font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .3em; line-height: 16px; text-transform: uppercase; }
.budget-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; margin: 0 auto 48px; border: 1px solid rgba(26,47,40,.12); }
.budget-stats > div { padding: 40px 24px; text-align: center; }
.budget-stats > div + div { border-left: 1px solid rgba(26,47,40,.12); }
.budget-stats strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: clamp(28.8px,5vw,56px); font-weight: 400; line-height: 1; }
.budget-breakdown { border: 1px solid rgba(26,47,40,.12); font-family: var(--mono); font-size: 14px; line-height: 20px; }
.budget-breakdown > div { display: flex; min-height: 48px; padding: 16px 24px; align-items: center; justify-content: space-between; color: rgba(26,47,40,.7); border-top: 1px solid rgba(26,47,40,.08); transition: background 160ms ease; }
.budget-breakdown > div:first-child { border-top: 0; }
.budget-breakdown > div:hover { background: rgba(26,47,40,.03); }
.budget-breakdown b { color: var(--ink); font-weight: 400; }
.budget-breakdown .highlight { background: rgba(74,109,112,.05); }
.budget-breakdown .highlight b { font-weight: 600; }
.budget-breakdown .budget-grand-total { min-height: 0; padding: 20px 24px; color: #fff; background: var(--ink); border-top: 1px solid var(--ink); font-size: 14px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.budget-breakdown .budget-grand-total b { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: normal; }

.team-content { width: min(100%, 1024px); padding: 112px 40px; margin: 0 auto; }
.team-content .eyebrow { margin-bottom: 24px; }
.team-content h2 { margin-bottom: 80px; font-size: clamp(32px,5vw,64px); line-height: 1.1; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr; border: 1px solid rgba(26,47,40,.12); }
.team-grid article { display: grid; grid-template-rows: subgrid; grid-row: span 4; padding: 40px; }
.team-grid article + article { border-left: 1px solid rgba(26,47,40,.12); }
.team-grid article > span { display: block; width: 32px; height: 1px; margin-bottom: 24px; background: var(--teal); }
.team-grid h3 { margin: 0 0 4px; color: var(--ink); font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: normal; line-height: 36px; }
.role { min-height: 32px; margin: 0 0 32px; color: var(--teal); font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; line-height: 16px; text-transform: uppercase; }
.team-grid ul { padding: 0; margin: 0; color: var(--copy); font-size: 14px; line-height: 20px; list-style: none; }
.team-grid li { position: relative; padding-left: 16px; }
.team-grid li + li { margin-top: 8px; }
.team-grid li::before { position: absolute; top: calc(.5lh - 2px); left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); content: ""; }

.closing-section { position: relative; display: flex; min-height: 70vh; padding: 80px 0; overflow: hidden; align-items: center; justify-content: center; color: #fff; isolation: isolate; background: var(--ink); }
.closing-section > img,
.closing-section > div:nth-child(2) { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.closing-section > img { object-fit: cover; object-position: center; }
.closing-section > div:nth-child(2) { z-index: -1; background: rgba(0,0,0,.72); }
.closing-copy { position: relative; z-index: 1; padding: 0 24px; text-align: center; }
.closing-copy h2 { color: #fff; font-family: var(--serif); font-size: clamp(40px,8vw,112px); font-weight: 400; letter-spacing: normal; line-height: 1; }
.closing-copy p { margin-top: 32px; color: rgba(255,255,255,.9); font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .25em; line-height: 20px; text-transform: uppercase; }
.site-footer { padding: 32px 24px; color: rgba(255,255,255,.65); background: var(--ink); }
.site-footer > div { display: flex; gap: 16px; align-items: center; justify-content: space-between; max-width: 1024px; margin: 0 auto; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; line-height: 16px; text-transform: uppercase; }
.site-footer p { margin: 0; }
.site-footer p:nth-child(2) { text-align: center; }

@media (max-width: 900px) {
  .status-compare { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); }
  .site-nav { gap: 19px; }
  .wide-section { width: 100%; padding-right: 24px; padding-left: 24px; }
  .process-row { gap: 52px; }
  .species-copy { padding: 64px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .desktop-only { display: none; }
  .nav-inner { width: 100%; padding: 0 24px; }
  .wordmark { flex-shrink: 1; }
  .nav-toggle { position: relative; z-index: 2; display: block; }
  .nav-toggle { width: 44px; height: 44px; margin-right: -14px; cursor: pointer; }
  .site-nav {
    position: absolute;
    top: var(--header-height, 64px);
    right: 0;
    left: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 14px 18px 23px;
    color: var(--ink);
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    max-height: calc(100dvh - var(--header-height, 64px));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .site-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .site-nav a { padding: 14px 0; border-top: 1px solid var(--hairline); }
  .site-nav a:last-child { border-bottom: 1px solid var(--hairline); }

  .hero { min-height: 95vh; }
  .hero-content { width: 100%; padding: 0 24px; }
  .hero .eyebrow { margin-bottom: 32px; font-size: 12px; }
  .hero h1 { margin-bottom: 32px; font-size: clamp(48px, 10vw, 128px); }
  .hero-content > p:not(.eyebrow) { margin-bottom: 48px; font-size: 16px; }
  .outline-button { padding: 16px 32px; font-size: 12px; }
  .narrow-section { width: calc(100% - 48px); }
  .wide-section { width: 100%; padding-right: 24px; padding-left: 24px; }
  .display-heading { font-size: clamp(41px, 11.5vw, 60px); }
  .research-section { padding: 128px 0; }
  .research-section .eyebrow { margin-bottom: 32px; font-size: 12px; }
  .status-card .eyebrow { margin-bottom: 16px; }
  .short-divider { margin: 0 auto 56px; }
  .centered-copy { margin-bottom: 80px; font-size: 18px; }
  .status-compare { display: flex; flex-direction: column; align-items: center; gap: 0; }
  .status-card { width: max-content; max-width: 100%; min-height: 0; padding: 48px 32px; }
  .status-card strong { font-size: clamp(40px, 6vw, 80px); }
  .status-versus { flex-direction: row; gap: 0; width: auto; height: auto; padding: 24px 32px; line-height: 32px; }
  .status-versus::before { display: none; }
  .status-versus::after { width: 80px; height: 1px; margin: 0 16px; }

  .species-split { display: block; min-height: 0; }
  .species-image-wrap { width: 100%; height: auto; min-height: 0; }
  .species-image-frame { flex: none; height: 50vh; min-height: 400px; }
  .species-copy { width: 100%; padding: 80px 40px; }
  .species-copy > div { width: 100%; }
  .species-copy > div > p:not(.eyebrow) { font-size: 18px; }
  .species-facts { margin-top: 0; }
  .species-facts li { padding-bottom: 16px; margin-bottom: 0; }

  .parasite-section { padding: 128px 0; }
  .parasite-layout { display: flex; flex-direction: column; gap: 64px; }
  .parasite-copy { width: 100%; }
  .parasite-description { font-size: 18px; }
  .parasite-note { font-size: 14px; }
  .parasite-flow { width: max-content; max-width: 100%; padding: 0; margin: 0; }
  .parasite-flow li:nth-child(odd) { width: auto; max-width: 100%; min-width: 240px; padding: 20px 32px; white-space: normal; }

  .fieldwork-section { padding: 96px 0; }
  .fieldwork-intro { margin-bottom: 80px; }
  .fieldwork-intro h2 { font-size: clamp(40px, 7vw, 96px); }
  .fieldwork-intro > p:not(.eyebrow) { font-size: 18px; }
  .phase-heading { margin-bottom: 80px; }
  .process-row { display: flex; flex-direction: column; gap: 40px; margin-bottom: 80px; }
  .process-row.reverse { flex-direction: column; }
  .process-row.reverse .process-copy { order: 1; }
  .process-row.reverse .natural-photo { order: 2; }
  .process-copy, .process-row.reverse .process-copy { width: 100%; max-width: none; justify-self: auto; }
  .step-line { gap: 16px; margin-bottom: 24px; font-size: 12px; }
  .process-copy h3, .centered-step h3 { font-size: clamp(28.8px, 4vw, 51.2px); }
  .process-copy > p:not(.step-line) { font-size: 18px; }
  .natural-photo { width: 100%; }
  .centered-step { margin: 0 auto 80px; }
  .process-checkpoint { padding: 24px; }
  .centered-step > p:not(.step-line) { font-size: 18px; }
  .micro-tags { gap: 16px 24px; }

  .sequencing-section { padding: 96px 24px; }
  .sequencing-section .narrow-section { width: 100%; }
  .centered-flow h2 { margin-bottom: 40px; }
  .sequence-flow { width: 100%; max-width: 448px; }
  .sequence-flow span { width: 100%; min-width: 0; padding: 16px 28px; font-size: 14px; line-height: 28px; white-space: normal; }
  .methods-section { padding: 96px 0; }
  .methods-content { padding: 96px 24px 0; }
  .methods-content h2 { margin-bottom: 64px; }
  .completed-timeline, .future-timeline { grid-template-columns: 1fr; gap: 0; max-width: none; }
  .timeline li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 20px; align-items: start; padding: 0; text-align: left; }
  .timeline-arrow { top: calc(50% + 20px); left: 20px; width: 24px; height: 24px; transform: translate(-50%, -50%) rotate(90deg); }
  .timeline b { width: 40px; height: 40px; margin: 0; }
  .timeline span { padding: 10px 0 24px; font-size: 12px; line-height: 16px; }
  .completed-timeline li:not(:last-child), .future-timeline li:not(:last-child) { min-height: 80px; }
  .future-timeline .timeline-future-copy { grid-column: 2; padding: 10px 0 24px; }
  .future-timeline .timeline-future-copy > span { padding: 0; }
  .mobile-pending { display: block; margin-top: 8px; color: var(--teal); font-family: var(--mono); font-size: 9px; letter-spacing: .25em; line-height: 14.4px; text-transform: uppercase; }
  .dark-pending { display: none; }
  .timeline-divider { margin: 64px auto; }
  .timeline-divider p { white-space: nowrap; }

  .samples-section { padding: 96px 24px; }
  .samples-section .narrow-section { width: 100%; }
  .sample-stats { margin-bottom: 80px; }
  .sample-stats > div { min-height: 0; padding: 48px 8px; }
  .sample-stats strong { font-size: clamp(48px, 8vw, 96px); }
  .sample-stats span { margin-top: 0; font-size: 10px; letter-spacing: .1em; }
  .results-section { padding: 96px 24px; }
  .results-section .narrow-section { width: 100%; }
  .results-copy { margin-bottom: 80px; font-size: 18px; }
  .result-cards { grid-template-columns: 1fr; gap: 10px; }
  .result-cards div { min-height: 220px; padding: 40px; }

  .budget-section { padding: 96px 24px; }
  .budget-section .narrow-section { width: 100%; }
  .budget-top-divider { margin-bottom: 96px; }
  .budget-total { flex-direction: column; gap: 0; align-items: center; }
  .budget-total strong { font-size: clamp(64px, 12vw, 144px); }
  .budget-total span { font-size: 12px; }
  .budget-stats { margin-bottom: 48px; }
  .budget-stats > div { padding: 40px 24px; }
  .budget-stats strong { font-size: clamp(28.8px, 5vw, 56px); }
  .budget-stats span { font-size: 12px; letter-spacing: .1em; }

  .team-content { width: 100%; padding: 80px 24px; margin: 0 auto; }
  .team-content h2 { margin-bottom: 80px; }
  .team-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .team-grid article { display: block; grid-row: auto; min-height: 0; padding: 40px; }
  .team-grid .role { min-height: 0; }
  .team-grid article + article { border-top: 1px solid var(--hairline); border-left: 0; }
  .closing-section { min-height: 70vh; }
  .closing-copy h2 { font-size: clamp(40px, 8vw, 112px); }
  .closing-copy p { font-size: 14px; line-height: 20px; }
  .site-footer { padding: 32px 24px; }
  .site-footer > div { flex-direction: column; gap: 16px; align-items: center; font-size: 12px; }
}

@media (max-width: 480px) {
  .budget-stats { grid-template-columns: 1fr; }
  .budget-stats > div { padding: 32px 24px; }
  .budget-stats > div + div { border-left: 0; border-top: 1px solid var(--hairline); }
}

/* Long labels and enlarged text must stay inside their own component. */
h1, h2, h3, p, li, .status-card strong, .budget-total strong,
.sample-stats strong, .sample-stats span, .budget-stats strong, .budget-stats span, .timeline span,
.sequence-flow span, .parasite-flow span { overflow-wrap: anywhere; }
.process-copy, .species-copy, .species-copy > div, .team-grid article,
.timeline li, .result-cards > div, .budget-stats > div, .sample-stats > div { min-width: 0; }
.sequence-flow span, .parasite-flow li:nth-child(odd) { max-width: 100%; white-space: normal; }
.budget-breakdown > div { gap: 24px; }
.budget-breakdown span { min-width: 0; overflow-wrap: anywhere; }
.budget-breakdown b { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.video-figure video:focus-visible { outline-offset: -4px; }
.hero :focus-visible, .closing-section :focus-visible { outline-color: #fff; }
.site-header:not(.is-scrolled):not(.nav-open) :focus-visible { outline-color: #fff; }
section[tabindex="-1"]:focus { outline: none; }

/* Base44-style entrances: 24px rise, or 40px alternating desktop slides. */
.scroll-reveal {
  --reveal-x: 0px;
  --reveal-y: 24px;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
  transition: opacity 700ms ease-out, transform 850ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.scroll-reveal[data-scroll-motion="left"] { --reveal-x: -40px; --reveal-y: 0px; }
.scroll-reveal[data-scroll-motion="right"] { --reveal-x: 40px; --reveal-y: 0px; }
.scroll-reveal.is-revealed { opacity: 1; transform: none; }
.scroll-reveal.reveal-instant,
.scroll-reveal:focus-within { opacity: 1; transform: none; transition: none; }
html.has-scroll-motion .fieldwork-section { overflow-x: clip; }

@media (max-width: 767px) {
  .scroll-reveal[data-scroll-motion="left"],
  .scroll-reveal[data-scroll-motion="right"] { --reveal-x: 0px; --reveal-y: 24px; }
}

@media print {
  .scroll-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .scroll-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
