/* Page-level sections (PRD §6). */

/* ---------- Home hero (H-1) ---------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 clamp(4rem, 3rem + 4vw, 7rem);
  overflow: hidden;
}
.hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { margin-bottom: 1.5rem; font-size: clamp(2.9rem, 1.9rem + 4.4vw, 5.6rem); line-height: 1; }
.hero h1 em:first-of-type { color: var(--restore-600); }
.hero h1 em:last-of-type { color: var(--detect-600); }
.hero .lede { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); }

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 30rem;
  padding: 2rem 1rem;
  border-radius: var(--radius-l);
  background:
    radial-gradient(60% 55% at 78% 18%, rgb(240 160 126 / 0.45), transparent 70%),
    radial-gradient(70% 60% at 18% 88%, rgb(111 208 201 / 0.45), transparent 70%),
    linear-gradient(160deg, #fbf3ea 0%, #efe6da 100%);
}
.hero-stage .phone { width: min(62%, 15.5rem); }
.hero-cards { display: grid; gap: 0.75rem; margin-top: 1.5rem; justify-items: center; }
.hero-cards .insight:nth-child(3) { display: none; }
@media (min-width: 960px) {
  .hero-stage { min-height: 38rem; }
  .hero-cards { margin: 0; }
  .hero-cards .insight { position: absolute; z-index: 2; }
  .hero-cards .insight:nth-child(1) { top: 9%; left: -6%; }
  .hero-cards .insight:nth-child(2) { top: 44%; right: -4%; width: 14.5rem; }
  .hero-cards .insight:nth-child(3) { display: grid; bottom: 7%; left: 2%; width: 16rem; }
}
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .hero-cards .insight { animation: bob 6s ease-in-out infinite; }
  .hero-cards .insight:nth-child(2) { animation-delay: -2s; }
  .hero-cards .insight:nth-child(3) { animation-delay: -4s; }
}
.hero-stage-note { position: absolute; right: 1rem; bottom: 0.75rem; margin: 0; color: var(--ink-500); font-size: var(--step--2); }

/* ---------- Problem bridge (H-2) ---------- */
.bridge { text-align: center; }
.bridge-lines { display: grid; gap: 0.25rem; margin: 0 auto; max-width: 52rem; font-family: var(--font-display); font-size: var(--step-4); line-height: 1.15; color: var(--ink-900); letter-spacing: -0.02em; }
.bridge-lines span:first-child { color: var(--ink-400); }
.bridge-lines em { color: var(--detect-600); }
.bridge .viz { max-width: 40rem; margin: 2.5rem auto 0; }

/* ---------- Meet EDDS (H-5) ---------- */
.meet { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .meet { grid-template-columns: 1fr 1fr; } }
.meet-card { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.meet-card > * { margin: 0; }
.meet-visual { display: grid; place-items: center; min-height: 20rem; padding: 1.5rem; border-radius: var(--radius-m); background: radial-gradient(70% 60% at 50% 30%, #fff, var(--detect-100)); }
.meet-visual .phone { width: min(55%, 12rem); }
.meet-card.future .meet-visual { background: radial-gradient(70% 60% at 50% 30%, #fff, var(--paper-deep)); }
.meet-visual svg { width: 100%; max-width: 24rem; }
.source-list { display: grid; gap: 0.5rem; list-style: none; }
.source-list li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0.9rem; border-radius: var(--radius-s); background: var(--paper); }

/* ---------- Privacy band (H-8) ---------- */
.principles { display: grid; gap: 1.25rem; margin-top: 2.5rem; list-style: none; }
@media (min-width: 860px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principles li { display: grid; gap: 0.75rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.15); }
.principles h3 { margin: 0; color: #fff; }
.principles p { margin: 0; }
.footnote { margin-top: 2.5rem; color: #8d9cab; font-size: var(--step--1); }

/* ---------- Team preview (H-9) ---------- */
.team-preview .people { margin-top: 0; }

/* ---------- Partner paths (H-10) ---------- */
.path-card { text-decoration: none; transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.path-card:hover { border-color: var(--ink-900); box-shadow: var(--shadow-card); }
@media (prefers-reduced-motion: no-preference) { .path-card:hover { transform: translateY(-3px); } }
.path-card p { color: var(--ink-500); }
.path-card .link-arrow { text-decoration: none; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(3rem, 2rem + 3vw, 5rem); }
.page-hero h1 { max-width: 16ch; margin-bottom: 1.25rem; }
.page-hero .lede { max-width: 42rem; }
.page-hero .chips { margin-top: 1.5rem; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lede { margin-inline: auto; }
.page-hero.center .chips, .page-hero.center .actions { justify-content: center; }
.page-hero-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .page-hero-split { grid-template-columns: 1.1fr 0.9fr; } }
.hero-art { display: grid; place-items: center; min-height: 22rem; border-radius: var(--radius-l); background: radial-gradient(70% 60% at 60% 30%, #fff, var(--restore-100)); color: var(--restore-700); }
.hero-art svg { width: min(80%, 26rem); height: auto; }
.hero-art.detect { background: radial-gradient(70% 60% at 60% 30%, #fff, var(--detect-100)); color: var(--detect-700); }
.future-photo { margin: 0; justify-self: center; width: 100%; max-width: 30rem; }
.future-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-l); box-shadow: 0 18px 40px -24px rgb(6 21 32 / 45%); }
.future-photo figcaption { margin-top: 0.75rem; text-align: center; }

/* EDDS carousel (E-1) */
.carousel { position: relative; display: grid; justify-items: center; gap: 1rem; padding: 2rem 1rem; border-radius: var(--radius-l); background: radial-gradient(70% 60% at 50% 30%, #fff, var(--detect-100)); }
.carousel-track { display: grid; }
.carousel-track > figure { grid-area: 1 / 1; }
.js .carousel-track > figure[hidden] { display: none; }
html:not(.js) .carousel-track > figure:not(:first-child) { display: none; }
.carousel .phone { width: min(70%, 15rem); margin-inline: auto; }
.carousel figcaption { color: var(--ink-500); font-size: var(--step--1); }
.carousel-dots { display: flex; gap: 0.25rem; }
.carousel-dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel-dots button::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ink-300); transition: background-color 200ms, transform 200ms; }
.carousel-dots button[aria-current="true"]::before { background: var(--detect-600); transform: scale(1.3); }
html:not(.js) .carousel-dots { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .carousel-track > figure:not([hidden]) { animation: fade-up var(--dur) var(--ease); }
}

/* Mammalian gap compare (R-4) */
.compare { display: grid; gap: 1rem; }
.compare table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare caption { text-align: left; padding-bottom: 0.75rem; font-family: var(--font-display); font-size: var(--step-2); color: var(--ink-900); }
.compare th, .compare td { padding: 0.8rem 0.5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th[scope="col"] { color: var(--ink-500); font-size: var(--step--2); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.yes { color: var(--status-established); font-weight: 600; }
.limited { color: var(--restore-700); font-weight: 600; }

/* Spotlight (R-5) */
.spotlight { display: grid; gap: 2rem; padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); border-radius: var(--radius-l); background: var(--ink-900); color: #c9d3dc; --accent: var(--restore-300); }
@media (min-width: 960px) { .spotlight { grid-template-columns: 1.2fr 0.8fr; align-items: center; } }
.spotlight h2, .spotlight h3, .spotlight strong { color: #fff; }
.spotlight dl { display: grid; gap: 1rem; margin: 0; }
.spotlight dt { color: #8d9cab; font-size: var(--step--2); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.spotlight dd { margin: 0.2rem 0 0; color: #fff; }
.spotlight .chip { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.18); color: #e6ecf1; }
.spotlight .type-badge { background: #fff; color: var(--ink-900); }

/* Approach diagram */
.approach-diagram { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 900px) { .approach-diagram { grid-template-columns: 1fr auto 1fr; } }
.approach-node { padding: 2rem; border-radius: var(--radius-l); text-align: center; }
.approach-node.detect { background: var(--detect-100); --accent: var(--detect-700); }
.approach-node.restore { background: var(--restore-100); --accent: var(--restore-700); }
.approach-node h2 { font-size: var(--step-3); margin-bottom: 0.5rem; }
.approach-core { display: grid; place-items: center; width: 10rem; height: 10rem; margin: 0 auto; border-radius: 50%; background: var(--ink-900); color: #fff; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.25; text-align: center; padding: 1rem; box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--line-strong); }

/* Contact details */
.contact-list { display: grid; gap: 1.25rem; margin: 0; }
.contact-list dt { color: var(--ink-500); font-size: var(--step--2); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-list dd { margin: 0.2rem 0 0; color: var(--ink-900); font-size: var(--step-1); }
.contact-list a { color: inherit; }

/* Legal pages (LEGAL-01) */
.legal-body { max-width: 46rem; }
.legal-body h2 { margin: 2.5rem 0 0.75rem; font-size: var(--step-3); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 1.75rem 0 0.5rem; }
.legal-body ul, .legal-body ol { display: grid; gap: 0.6rem; margin: 0 0 1rem; padding-left: 1.25rem; }
.legal-body table { width: 100%; margin: 1rem 0 1.5rem; border-collapse: collapse; font-size: 0.95rem; }
.legal-body th, .legal-body td { padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-updated { color: var(--ink-500); font-size: var(--step--1); }

/* 404 */
.not-found { display: grid; place-items: center; min-height: calc(100vh - var(--header-h)); text-align: center; }
.not-found h1 { max-width: 14ch; margin-inline: auto; }

/* ---------- Hero motion: DNA helix, scan line, cells, ECG monitor trace ---------- */
.hero .hero-grid { position: relative; z-index: 1; }
.stage-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.hero-stage > .phone { position: relative; z-index: 1; }
@media (max-width: 959px) { .hero-stage .hero-cards { position: relative; z-index: 2; } }

.dna {
  position: absolute;
  top: 6%;
  left: 4%;
  width: auto;
  height: 88%;
  opacity: 0.75;
}
.dna line { stroke: var(--ink-300); stroke-width: 2; stroke-opacity: 0.55; }
.dna .strand-a { fill: var(--detect-600); }
.dna .strand-b { fill: var(--restore-600); }
.dna .rung { transform-box: fill-box; transform-origin: center; }
@media (max-width: 959px) { .dna { left: -4%; opacity: 0.4; } }

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgb(14 124 123 / 0.55), transparent);
  box-shadow: 0 0 16px rgb(14 124 123 / 0.35);
  opacity: 0;
}
.scan-line::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(rgb(14 124 123 / 0.08), transparent);
}

.cell {
  position: absolute;
  width: 64px;
  height: 64px;
  border: 1px solid rgb(14 124 123 / 0.25);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, rgb(194 85 45 / 0.45) 0 6%, rgb(14 124 123 / 0.12) 8% 22%, transparent 24%);
}
.cell-one { top: 12%; right: 10%; }
.cell-two { top: 58%; right: 4%; width: 38px; height: 38px; }
.cell-three { bottom: 8%; left: 38%; width: 48px; height: 48px; }

.hero-baseline {
  position: absolute;
  right: 0;
  bottom: 1.25rem;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 90px;
  overflow: visible;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%);
  mask-image: linear-gradient(90deg, transparent, #000 15%);
}
.hero-baseline path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.baseline-band { fill: rgb(14 124 123 / 0.07); }
.baseline-trend { stroke: var(--detect-600); stroke-width: 1.5; stroke-opacity: 0.55; }
.baseline-drift { stroke: var(--restore-600); stroke-width: 2; }

@media (prefers-reduced-motion: no-preference) {
  .dna .rung { animation: helix 6.5s ease-in-out infinite; }
  .scan-line { animation: diagnostic-scan 7s ease-in-out infinite; }
  .cell { animation: cell-drift 9s ease-in-out infinite; }
  .cell-two { animation-duration: 7s; animation-delay: -3s; }
  .cell-three { animation-duration: 11s; animation-delay: -6s; }
  /* Drawn once on load, left to right: the trend first, then the drift away from baseline. */
  .baseline-trend { animation: baseline-draw 2.4s var(--ease) 0.3s both; }
  .baseline-drift { animation: baseline-draw 0.9s var(--ease) 2.6s both; }

  /* Entrance: hero text rises in on load */
  .hero-grid > div:first-child > *,
  .page-hero .container > *,
  .page-hero-split > div:first-child > * { animation: fade-up 700ms var(--ease) both; }
  .hero-grid > div:first-child > :nth-child(2),
  .page-hero .container > :nth-child(2),
  .page-hero-split > div:first-child > :nth-child(2) { animation-delay: 80ms; }
  .hero-grid > div:first-child > :nth-child(3),
  .page-hero .container > :nth-child(3),
  .page-hero-split > div:first-child > :nth-child(3) { animation-delay: 160ms; }
  .hero-grid > div:first-child > :nth-child(n+4),
  .page-hero .container > :nth-child(n+4),
  .page-hero-split > div:first-child > :nth-child(n+4) { animation-delay: 240ms; }
  .hero-stage, .page-hero-split > :last-child { animation: fade-up 900ms var(--ease) 200ms both; }
}
.dna .rung:nth-child(1) { animation-delay: 0.00s; }
.dna .rung:nth-child(2) { animation-delay: -0.42s; }
.dna .rung:nth-child(3) { animation-delay: -0.84s; }
.dna .rung:nth-child(4) { animation-delay: -1.26s; }
.dna .rung:nth-child(5) { animation-delay: -1.68s; }
.dna .rung:nth-child(6) { animation-delay: -2.10s; }
.dna .rung:nth-child(7) { animation-delay: -2.52s; }
.dna .rung:nth-child(8) { animation-delay: -2.94s; }
.dna .rung:nth-child(9) { animation-delay: -3.36s; }
.dna .rung:nth-child(10) { animation-delay: -3.78s; }
.dna .rung:nth-child(11) { animation-delay: -4.20s; }
.dna .rung:nth-child(12) { animation-delay: -4.62s; }
.dna .rung:nth-child(13) { animation-delay: -5.04s; }
.dna .rung:nth-child(14) { animation-delay: -5.46s; }
.dna .rung:nth-child(15) { animation-delay: -5.88s; }
.dna .rung:nth-child(16) { animation-delay: -6.30s; }

@keyframes helix {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  25%, 75% { opacity: 0.45; }
  50% { transform: scaleX(-1); opacity: 1; }
}
@keyframes diagnostic-scan {
  0%, 8% { top: 0; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 0.8; }
  92%, 100% { top: 100%; opacity: 0; }
}
@keyframes baseline-draw { from { clip-path: inset(-50% 100% -50% 0); } to { clip-path: inset(-50% 0 -50% 0); } }
@keyframes cell-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  45% { transform: translate3d(-14px, 20px, 0) rotate(10deg); }
  75% { transform: translate3d(8px, 10px, 0) rotate(-5deg); }
}

/* ---------- Regenerator pages (regenerative-medicine/*) ---------- */
.species-hero .eyebrow a { color: inherit; text-decoration: none; }
.species-hero .eyebrow a:hover { color: var(--detect-700); text-decoration: underline; text-underline-offset: 3px; }
.species-sci { align-self: center; color: var(--ink-500); font-family: var(--font-display); font-size: var(--step-1); }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-top: 2rem; font-size: var(--step--1); }
.jump > span { color: var(--ink-500); font-weight: 500; }
.jump ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.jump a {
  display: inline-block; padding: 0.4rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  color: var(--ink-700); text-decoration: none; transition: border-color 180ms var(--ease), color 180ms var(--ease), background-color 180ms var(--ease);
}
.jump a:hover { border-color: var(--detect-600); background: var(--detect-100); color: var(--detect-700); }

.species-figure {
  margin: 0; padding: clamp(0.75rem, 0.5rem + 1vw, 1.25rem); border: 1px solid var(--line); border-radius: var(--radius-l);
  background: #fff; box-shadow: var(--shadow-float);
}
.species-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-m); }
.species-figure figcaption { margin-top: 0.75rem; color: var(--ink-500); font-size: var(--step--1); text-align: center; }

.section.section-tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.glance { display: grid; gap: 1.5rem 2rem; margin: 0; }
@media (min-width: 720px) { .glance { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .glance { grid-template-columns: repeat(4, 1fr); } }
.glance div { padding-left: 1rem; border-left: 2px solid var(--detect-600); }
.glance dt { color: var(--ink-500); font-size: var(--step--2); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.glance dd { margin: 0.35rem 0 0; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.35; }

/* Magnified regions: a round "lens" beside the write-up, alternating sides on wide screens. */
.zooms { display: grid; gap: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.zoom { --lens: var(--detect-600); display: grid; gap: 2rem; align-items: center; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
@media (min-width: 860px) {
  .zoom { grid-template-columns: 17rem 1fr; gap: clamp(3rem, 2rem + 3vw, 5rem); }
  .zoom:nth-child(even) { grid-template-columns: 1fr 17rem; }
  .zoom:nth-child(even) .lens { order: 2; }
}
.lens-violet { --lens: var(--status-unvalidated); }
.lens-blue { --lens: #2f6fa8; }
.lens-green { --lens: var(--status-established); }
.lens-coral { --lens: var(--restore-600); }
.lens-orange { --lens: var(--status-proposed); }

.lens { position: relative; justify-self: center; width: min(17rem, 72vw); aspect-ratio: 1; margin: 0; }
.lens::before {
  content: ""; position: absolute; inset: -14px; border: 1px dashed var(--lens); border-radius: 50%; opacity: 0.45; pointer-events: none;
}
.lens picture {
  display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--lens), var(--shadow-float);
}
.lens img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.zoom:hover .lens img { transform: scale(1.08); }
.lens-tall { width: min(8rem, 40vw); aspect-ratio: auto; }
.lens-tall::before { border-radius: calc(var(--radius-l) + 14px); }
.lens-tall picture { border-radius: var(--radius-l); }
.lens-tall img { height: auto; object-fit: contain; }
.lens-empty { display: grid; place-items: center; border-radius: 50%; background: var(--paper-deep); box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--lens); }
.lens-empty span { color: var(--lens); font-family: var(--font-display); font-size: 5rem; line-height: 1; }

.zoom-body { display: grid; gap: 1rem; max-width: 40rem; }
.zoom-body > * { margin: 0; }
.zoom-index { display: flex; align-items: center; gap: 0.6rem; color: var(--ink-500); font-size: var(--step--2); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.zoom-index::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--lens); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lens) 18%, transparent); }
.zoom-index span { color: var(--ink-900); font-variant-numeric: tabular-nums; }
.zoom-intro { color: var(--ink-700); font-size: var(--step-1); line-height: 1.6; }
.zoom-facts { display: grid; gap: 0.9rem; margin: 0.25rem 0 0; }
.zoom-facts div { padding-left: 1rem; border-left: 2px solid var(--lens); }
.zoom-facts dt { font-size: var(--step--1); font-weight: 600; }
.zoom-facts dd { margin: 0.2rem 0 0; color: var(--ink-500); line-height: 1.6; }
.zoom-list { display: grid; gap: 0.6rem; padding-left: 1rem; border-left: 2px solid var(--lens); list-style: none; color: var(--ink-500); }
.zoom-list strong { color: var(--ink-900); }
.zoom-source { color: var(--ink-500); font-size: var(--step--2); }
.zoom-source a { color: inherit; }

@media (prefers-reduced-motion: no-preference) {
  .lens::before { animation: lens-orbit 60s linear infinite; }
  .js .zoom[data-reveal] .lens { scale: 0.86; transition: scale 1s var(--ease); }
  .js .zoom[data-reveal].is-visible .lens { scale: 1; }
}
@keyframes lens-orbit { to { rotate: 360deg; } }

.sources { display: grid; gap: 1rem; margin-top: 1.5rem; padding-left: 1.25rem; color: var(--ink-700); font-size: var(--step--1); line-height: 1.6; }
.sources a { overflow-wrap: anywhere; }

/* Organism cards that show an illustration and link to the regenerator's page. */
.organism-photo { padding: 0.5rem; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.organism-photo picture, .organism-photo img { display: block; width: 100%; height: 100%; }
.organism-photo img { object-fit: contain; transition: transform 600ms var(--ease); }
.organism:hover .organism-photo img { transform: scale(1.04); }
.organism h3 a { color: inherit; text-decoration: none; }
.organism h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.organism h3 a:focus-visible { outline: none; }
.organism:has(h3 a:focus-visible) { outline: 2px solid var(--detect-600); outline-offset: 3px; }
.organism .evidence { position: relative; z-index: 1; align-self: flex-start; }
.organism-more { margin-top: auto; color: var(--detect-700); font-size: var(--step--1); font-weight: 600; }
.organism-more::after { content: " →"; transition: margin 180ms var(--ease); }
.organism:hover .organism-more::after { margin-left: 0.25rem; }
.selector-art.organism-photo { aspect-ratio: 16 / 10; padding: 0.75rem; }
.zoom-body h3 { font-size: var(--step-3); line-height: 1.15; }
.organism-photo-fill { padding: 0; }
.organism-photo-fill img { object-fit: cover; }
.meet-visual-image { padding: 0; overflow: hidden; background: #fff; }
.meet-visual-image img { display: block; width: 100%; height: auto; }
.programme-visual-image { background: #f6efe8; }
.programme-visual-image picture, .programme-visual-image img { display: block; width: 100%; height: 100%; }
.programme-visual-image img { object-fit: cover; }

/* Research references grouped by topic */
.ref-grid { gap: 1.25rem; }
.ref-group h3 { font-size: var(--step-1); }
.ref-group .sources { margin-top: 1rem; }
.ref-group .sources a { color: var(--detect-700); }
