.home-page {
  background: var(--paper-bright);
}

.home-main {
  overflow: clip;
}

.chapter-label,
.hero-kicker,
.system-step {
  margin: 0 0 18px;
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  align-items: center;
  padding: 138px max(28px, calc((100vw - 1280px) / 2)) 78px;
  background: var(--paper-bright);
  isolation: isolate;
}

.home-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  width: 34%;
  height: 100%;
  background: var(--rose);
  content: "";
}

.home-hero::after {
  position: absolute;
  top: 0;
  right: 34%;
  z-index: -1;
  width: 1px;
  height: 100%;
  background: rgba(38, 25, 31, 0.12);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(720px, 58vw);
}

.hero-kicker {
  color: var(--wine);
}

.hero-copy h1 {
  margin: 0;
  font-size: 106px;
  font-weight: 880;
  line-height: 0.87;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero-line > span {
  display: block;
  transform-origin: left bottom;
}

.hero-line:last-child {
  color: var(--coral-deep);
}

.hero-deck {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: 21px;
  font-weight: 520;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.primary-action,
.text-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  padding: 0 19px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.primary-action:hover {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
  transform: translateY(-2px);
}

.text-action {
  color: var(--ink);
}

.text-action:hover {
  color: var(--coral-deep);
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-lottie {
  position: absolute;
  top: 0;
  right: -4%;
  width: 66%;
  height: 100%;
  opacity: 0.48;
}

.hero-mascot {
  position: absolute;
  right: max(10px, calc((100vw - 1460px) / 2));
  bottom: 0;
  width: min(650px, 42vw, 74svh);
  max-height: calc(100% - 104px);
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 28px 28px rgba(65, 26, 37, 0.18));
  transform-origin: 64% 85%;
  will-change: transform;
}

.hero-formula {
  position: absolute;
  top: 20%;
  right: 7%;
  display: flex;
  align-items: center;
  color: var(--wine);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
  font-weight: 800;
  transform: rotate(-7deg);
}

.hero-formula i {
  width: 26px;
  height: 2px;
  margin: 0 6px;
  background: currentColor;
}

.hero-signal {
  position: absolute;
  border: 1px solid rgba(143, 32, 56, 0.35);
  border-radius: 50%;
}

.hero-signal--one {
  top: 22%;
  right: 18%;
  width: clamp(280px, 22vw, 360px);
  aspect-ratio: 1;
}

.hero-signal--two {
  top: 14%;
  right: 11%;
  width: clamp(420px, 34vw, 540px);
  aspect-ratio: 1;
  border-color: rgba(52, 127, 117, 0.28);
}

@keyframes hero-signal-breathe {
  0%,
  100% { opacity: 0.38; transform: scale(0.94); }
  50% { opacity: 0.9; transform: scale(1.04); }
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll i {
  position: relative;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: rgba(38, 25, 31, 0.18);
}

.hero-scroll i::after {
  position: absolute;
  inset: 0;
  background: var(--coral-deep);
  content: "";
  transform: translateY(-100%);
  animation: hero-scroll-line 2s ease-in-out infinite;
}

@keyframes hero-scroll-line {
  0% { transform: translateY(-100%); }
  45%, 55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

.problem-chapter {
  position: relative;
  background: var(--ink);
  color: #fff;
}

.problem-pin {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: 120px max(32px, calc((100vw - 1280px) / 2));
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
  gap: 80px;
}

.problem-stat {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  line-height: 0.8;
}

.problem-stat strong {
  font-size: 210px;
  font-weight: 900;
  color: var(--rose);
}

.problem-stat span {
  margin-left: 14px;
  color: var(--yellow);
  font-size: 43px;
  font-weight: 780;
}

.problem-copy {
  position: relative;
  z-index: 3;
  min-height: 430px;
}

.problem-copy .chapter-label {
  color: var(--yellow);
}

.problem-beats {
  position: relative;
  min-height: 300px;
}

.problem-beat {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
}

.problem-beat:not(:first-child) {
  opacity: 0;
  visibility: hidden;
}

.problem-beat h2 {
  max-width: 710px;
  margin: 0;
  color: #fff;
  font-size: 58px;
  font-weight: 820;
  line-height: 1.02;
}

.problem-beat p {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 20px;
  line-height: 1.55;
}

.source-link {
  position: absolute;
  bottom: 0;
  left: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  text-decoration: none;
}

.source-link:hover {
  color: #fff;
}

.system-chapter {
  position: relative;
  background: #20171b;
  color: #fff;
}

.system-pin {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 112px max(28px, calc((100vw - 1280px) / 2)) 74px;
}

.system-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.system-heading .chapter-label {
  flex: 0 0 auto;
  color: var(--yellow);
}

.system-heading h2 {
  max-width: 820px;
  color: #fff;
  font-size: 58px;
  text-align: right;
}

.system-layout {
  display: grid;
  margin-top: 58px;
  align-items: center;
  grid-template-columns: 170px minmax(420px, 560px) minmax(330px, 1fr);
  gap: 44px;
}

.system-tabs {
  display: grid;
  gap: 8px;
}

.system-tabs button {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.system-tabs button span {
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.system-tabs button[aria-pressed="true"] {
  border-color: var(--coral);
  color: #fff;
  transform: translateX(6px);
}

.system-tabs button[aria-pressed="true"] span {
  color: var(--rose);
}

.system-visuals {
  position: relative;
  height: 510px;
  perspective: 1100px;
}

.system-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #171014;
  transform-style: preserve-3d;
}

.system-visual:not(:first-child) {
  opacity: 0;
  visibility: hidden;
}

.system-visual--model {
  display: grid;
  background: #fff;
  grid-template-rows: minmax(0, 1fr) auto;
}

.model-figure {
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: 10px 10px 0;
  background: #fff;
  cursor: zoom-in;
  place-items: center;
}

.model-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 240ms ease;
}

.model-figure:hover img,
.model-figure:focus-visible img {
  transform: scale(1.012);
}

.model-readout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  padding: 14px 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: #171014;
  gap: 0 12px;
}

.model-readout span,
.model-readout small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-transform: uppercase;
}

.model-readout strong {
  grid-row: 2;
  color: #fff;
  font-size: 20px;
}

.model-readout small {
  grid-column: 2;
  grid-row: 2;
}

.model-zoom {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  grid-column: 3;
  grid-row: 1 / span 2;
  place-items: center;
  align-self: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.model-zoom:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.model-zoom span {
  color: inherit;
  font-size: inherit;
  text-transform: none;
}

.system-visual--software {
  display: grid;
  padding: 38px;
  background: var(--paper-warm);
  place-items: center;
}

.software-shell {
  width: min(100%, 390px);
  overflow: hidden;
  border: 1px solid rgba(38, 25, 31, 0.18);
  border-radius: 8px;
  background: var(--paper-bright);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(60, 25, 35, 0.18);
}

.software-topbar {
  display: grid;
  min-height: 58px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr auto 1fr;
}

.software-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.software-topbar i {
  justify-self: end;
  width: 25px;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 6px 0 var(--ink);
}

.software-topbar strong {
  font-size: 14px;
}

.software-band {
  padding: 26px 22px;
}

.software-band > span,
.software-band small {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.software-band > div {
  position: relative;
  height: 38px;
  margin: 14px 0 9px;
  background: #ece4de;
}

.software-band > div i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 26%;
  width: 46%;
  background: rgba(52, 127, 117, 0.28);
}

.software-band > div b {
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: 48%;
  width: 3px;
  background: var(--coral-deep);
}

.software-schedule {
  display: grid;
  padding: 0 22px 24px;
  align-items: center;
  grid-template-columns: 1fr auto auto;
  gap: 12px 14px;
}

.software-schedule span {
  color: var(--ink-soft);
  font-size: 12px;
}

.software-schedule strong {
  font-size: 14px;
}

.software-schedule i {
  padding: 3px 7px;
  border: 1px solid rgba(52, 127, 117, 0.25);
  border-radius: 4px;
  color: var(--teal);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.software-note {
  padding: 15px 22px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.5;
}

.system-visual--hardware {
  display: grid;
  background: #dfeae6;
  place-items: center;
}

.doser-scene {
  position: relative;
  width: 320px;
  height: 430px;
}

.doser-cap,
.doser-body,
.doser-bottle {
  position: absolute;
  left: 50%;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  transform: translateX(-50%);
}

.doser-cap {
  top: 18px;
  width: 210px;
  height: 62px;
  border-radius: 8px 8px 4px 4px;
  background: var(--coral);
}

.doser-body {
  top: 78px;
  z-index: 2;
  width: 258px;
  height: 198px;
  border-radius: 6px;
  background: var(--paper-bright);
}

.doser-bottle {
  top: 260px;
  width: 148px;
  height: 150px;
  border-radius: 5px 5px 38px 38px;
  background: rgba(255, 255, 255, 0.62);
}

.doser-disk {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 150px;
  height: 150px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: repeating-conic-gradient(var(--rose) 0 20deg, var(--paper-bright) 20deg 22.5deg);
  transform: translateX(-50%);
  will-change: transform;
}

.doser-disk span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  transform: translate(-50%, -50%);
}

.doser-dose {
  position: absolute;
  right: -4px;
  bottom: 20px;
  display: grid;
  padding: 10px 13px;
  border-left: 3px solid var(--teal);
  background: var(--paper-bright);
  color: var(--ink);
}

.doser-dose strong {
  font-size: 18px;
}

.doser-dose span {
  color: var(--ink-soft);
  font-size: 11px;
}

.system-copy {
  position: relative;
  min-height: 430px;
}

.system-copy article {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
}

.system-copy article:not(:first-child) {
  opacity: 0;
  visibility: hidden;
}

.system-copy .system-step {
  color: var(--rose);
}

.system-copy h3 {
  margin: 0;
  color: #fff;
  font-size: 37px;
  font-weight: 800;
  line-height: 1.08;
}

.system-copy p:not(.system-step) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 17px;
}

.system-copy a {
  width: fit-content;
  margin-top: 25px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.system-progress {
  position: absolute;
  right: max(28px, calc((100vw - 1280px) / 2));
  bottom: 34px;
  left: max(28px, calc((100vw - 1280px) / 2));
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.system-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left center;
}

.brain-chapter {
  position: relative;
  background: var(--paper-bright);
}

.brain-pin {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: 112px max(28px, calc((100vw - 1320px) / 2)) 70px;
  grid-template-columns: minmax(360px, 0.82fr) minmax(580px, 1.18fr);
  gap: 58px;
}

.brain-copy {
  position: relative;
  z-index: 3;
}

.brain-copy h2 {
  max-width: 540px;
}

.brain-links {
  display: grid;
  max-width: 500px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
}

.brain-links a {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  transition: color 160ms ease, padding-left 160ms ease, background-color 160ms ease;
}

.brain-links a:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.brain-links a span {
  color: #6d5b62;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
}

.brain-links a:hover,
.brain-links a.is-active {
  padding-left: 14px;
  background: rgba(255, 83, 104, 0.08);
  color: var(--wine);
}

.brain-stage {
  position: relative;
  display: grid;
  min-width: 0;
  justify-items: center;
  perspective: 1200px;
}

.brain-canvas {
  position: relative;
  width: min(100%, 800px);
  aspect-ratio: 445 / 355;
  cursor: default;
  transform-style: preserve-3d;
  will-change: transform;
}

.brain-canvas.is-interactive {
  cursor: pointer;
}

.brain-canvas img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.brain-canvas img.is-active {
  z-index: 10;
  filter: drop-shadow(0 24px 18px rgba(92, 28, 44, 0.27));
}

.brain-hover-label {
  display: grid;
  width: min(90%, 500px);
  margin-top: -22px;
  padding: 14px 0;
  border-top: 1px solid transparent;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, visibility 180ms ease;
}

.brain-hover-label.is-active {
  border-top-color: var(--line);
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.brain-hover-label span {
  color: var(--coral-deep);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.brain-hover-label strong {
  font-size: 15px;
}

.home-closing {
  position: relative;
  display: grid;
  min-height: 78svh;
  align-items: center;
  overflow: hidden;
  padding: 100px max(28px, calc((100vw - 1180px) / 2));
  background: #214a47;
  color: #fff;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.home-closing > img {
  align-self: end;
  width: min(100%, 520px);
  max-height: 690px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.18));
}

.home-closing > div {
  position: relative;
  z-index: 2;
}

.home-closing .chapter-label {
  color: var(--yellow);
}

.home-closing h2 {
  max-width: 760px;
  color: #fff;
}

.home-closing p:not(.chapter-label) {
  max-width: 680px;
  margin: 28px 0 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 19px;
}

.home-closing .primary-action {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.home-closing .primary-action:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

@media (max-width: 1180px) {
  .hero-copy h1 {
    font-size: 82px;
  }

  .hero-mascot {
    right: -70px;
    width: min(590px, 48vw, 72svh);
  }

  .hero-formula {
    right: 3%;
  }

  .problem-stat strong {
    font-size: 170px;
  }

  .problem-beat h2 {
    font-size: 48px;
  }

  .system-layout {
    grid-template-columns: 145px minmax(360px, 470px) minmax(300px, 1fr);
    gap: 30px;
  }

  .system-copy h3 {
    font-size: 31px;
  }

  .brain-pin {
    grid-template-columns: minmax(330px, 0.78fr) minmax(500px, 1.22fr);
    gap: 30px;
  }
}

@media (min-width: 900px) and (max-height: 760px) {
  .home-hero {
    padding-top: 108px;
    padding-bottom: 54px;
  }

  .hero-copy h1 {
    font-size: 74px;
    line-height: 0.9;
  }

  .hero-deck {
    max-width: 580px;
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-mascot {
    width: min(540px, 40vw, 72svh);
  }

  .hero-formula {
    top: 17%;
    font-size: 15px;
  }

  .hero-scroll {
    bottom: 10px;
  }

}

@media (max-width: 899px) {
  .home-hero {
    min-height: 100vh;
    min-height: 100svh;
    align-items: start;
    padding: 132px 24px 76px;
  }

  .home-hero::before {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 34%;
  }

  .home-hero::after {
    display: none;
  }

  .hero-copy {
    width: min(100%, 680px);
  }

  .hero-copy h1 {
    font-size: 72px;
  }

  .hero-deck {
    max-width: 610px;
    font-size: 19px;
  }

  .hero-lottie {
    display: none;
    top: auto;
    right: -24%;
    bottom: 0;
    width: 90%;
    height: 55%;
  }

  .hero-mascot {
    right: 0;
    bottom: 0;
    width: min(470px, 62vw, 52svh);
    max-height: 52%;
  }

  .hero-formula {
    display: none;
  }

  .hero-signal {
    display: block;
    top: auto;
    animation: hero-signal-breathe 4.8s ease-in-out infinite;
    transform-origin: center;
  }

  .hero-signal--one {
    right: -8%;
    bottom: -2%;
    width: min(82vw, 350px);
  }

  .hero-signal--two {
    right: -31%;
    bottom: -18%;
    width: min(118vw, 510px);
    animation-delay: -2.4s;
  }

  .problem-pin {
    display: block;
    min-height: auto;
    padding: 110px 24px;
  }

  .problem-stat strong {
    font-size: 150px;
  }

  .problem-stat span {
    font-size: 34px;
  }

  .problem-copy {
    min-height: auto;
    margin-top: 80px;
  }

  .problem-beats {
    display: grid;
    min-height: auto;
    gap: 70px;
  }

  .problem-beat,
  .problem-beat:not(:first-child) {
    position: static;
    opacity: 1;
    visibility: visible;
  }

  .problem-beat h2 {
    font-size: 44px;
  }

  .problem-beat p {
    font-size: 18px;
  }

  .source-link {
    position: static;
    display: inline-block;
    margin-top: 70px;
  }

  .system-heading h2,
  .brain-copy h2,
  .home-closing h2 {
    font-size: 52px;
  }

  .system-pin {
    min-height: auto;
    padding: 100px 24px 110px;
  }

  .system-heading {
    display: block;
  }

  .system-heading h2 {
    max-width: 680px;
    text-align: left;
  }

  .system-layout {
    display: block;
    margin-top: 48px;
  }

  .system-tabs {
    display: grid;
    margin-bottom: 24px;
    grid-template-columns: repeat(3, 1fr);
  }

  .system-tabs button {
    justify-content: center;
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.14);
  }

  .system-tabs button[aria-pressed="true"] {
    border-color: var(--coral);
    transform: none;
  }

  .system-visuals {
    height: 500px;
  }

  .system-copy {
    min-height: 360px;
    margin-top: 26px;
  }

  .system-progress {
    display: none;
  }

  .brain-pin {
    display: grid;
    min-height: auto;
    padding: 100px 24px;
    grid-template-columns: 1fr;
  }

  .brain-links {
    max-width: 680px;
  }

  .brain-stage {
    margin-top: 34px;
  }

  .home-closing {
    min-height: auto;
    padding: 90px 24px 0;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-closing > div {
    grid-row: 1;
  }

  .home-closing > img {
    width: min(100%, 460px);
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .home-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 118px 18px 72px;
  }

  .hero-copy h1 {
    font-size: 55px;
    line-height: 0.92;
  }

  .hero-deck {
    margin-top: 24px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-mascot {
    right: 0;
    bottom: 0;
    width: min(340px, 88vw, 43svh);
    max-height: 43%;
  }

  .hero-lottie {
    right: -42%;
    width: 120%;
    height: 48%;
  }

  .hero-scroll {
    display: none;
  }

  .problem-pin {
    padding: 90px 18px;
  }

  .problem-stat strong {
    font-size: 112px;
  }

  .problem-stat span {
    margin-left: 8px;
    font-size: 27px;
  }

  .problem-copy {
    margin-top: 58px;
  }

  .problem-beat h2,
  .system-heading h2,
  .brain-copy h2,
  .home-closing h2 {
    font-size: 40px;
  }

  .system-pin,
  .brain-pin {
    padding-right: 18px;
    padding-left: 18px;
  }

  .system-tabs button {
    min-height: 54px;
    padding: 0 4px;
    flex-direction: column;
    gap: 0;
    font-size: 12px;
  }

  .system-visuals {
    height: 400px;
  }

  .system-visual--software {
    padding: 20px;
  }

  .doser-scene {
    transform: scale(0.82);
  }

  .system-copy {
    min-height: 420px;
  }

  .system-copy h3 {
    font-size: 28px;
  }

  .brain-links {
    grid-template-columns: 1fr;
  }

  .brain-links a:nth-child(odd) {
    border-right: 0;
  }

  .brain-hover-label {
    display: none;
  }

  .home-closing {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 620px) and (max-height: 720px) {
  .home-hero {
    padding-top: 96px;
    padding-bottom: 44px;
  }

  .home-hero::before {
    height: 29%;
  }

  .hero-kicker {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-deck {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.42;
  }

  .hero-actions {
    align-items: center;
    flex-flow: row nowrap;
    gap: 14px;
    margin-top: 18px;
  }

  .primary-action,
  .text-action {
    gap: 8px;
    font-size: 12px;
  }

  .primary-action {
    min-height: 46px;
    padding: 0 13px;
  }

  .hero-mascot {
    right: 0;
    width: min(300px, 78vw, 38svh);
    max-height: 38%;
  }

  .hero-lottie {
    height: 43%;
  }
}

@media (max-width: 350px) and (max-height: 720px) {
  .hero-actions {
    gap: 8px;
  }

  .primary-action,
  .text-action {
    min-width: 0;
    gap: 6px;
    font-size: 11px;
    white-space: nowrap;
  }

  .primary-action {
    padding: 0 9px;
  }
}

@media (max-width: 899px) and (max-height: 600px) and (orientation: landscape) {
  .home-hero {
    min-height: 100vh;
    min-height: 100svh;
    align-items: center;
    padding: 80px 18px 10px;
  }

  .home-hero::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: 40%;
    height: 100%;
  }

  .home-hero::after {
    top: 0;
    right: 40%;
    display: block;
    height: 100%;
  }

  .hero-copy {
    width: 60%;
  }

  .hero-kicker {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .hero-copy h1 {
    font-size: 44px;
    line-height: 0.9;
  }

  .hero-deck {
    max-width: 470px;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.38;
  }

  .hero-actions {
    align-items: center;
    flex-flow: row nowrap;
    gap: 12px;
    margin-top: 8px;
  }

  .primary-action,
  .text-action {
    min-width: 0;
    min-height: 42px;
    gap: 6px;
    font-size: 11px;
    white-space: nowrap;
  }

  .primary-action {
    padding: 0 11px;
  }

  .hero-lottie {
    top: 0;
    right: -8%;
    bottom: auto;
    width: 58%;
    height: 100%;
  }

  .hero-mascot {
    right: 0;
    bottom: 0;
    width: min(300px, 40vw, 70svh);
    max-height: calc(100% - 72px);
  }

  .hero-scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll i::after {
    animation: none;
    transform: none;
  }

}

@media (prefers-reduced-motion: reduce) and (min-width: 900px) {
  .problem-pin {
    display: block;
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 130px;
  }

  .problem-copy {
    min-height: auto;
    margin-top: 70px;
  }

  .problem-beats {
    display: grid;
    min-height: auto;
    gap: 70px;
  }

  .problem-beat,
  .problem-beat:not(:first-child) {
    position: static;
    opacity: 1;
    visibility: visible;
  }

  .source-link {
    position: static;
    display: inline-block;
    margin-top: 64px;
  }
}

/* Section 02: a deliberately quiet visual system with one focal object. */
.bio-interface {
  overflow: clip;
  background: #fff;
  color: var(--ink);
}

.bio-pin {
  display: grid;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(90px, 10.5vh, 108px) max(30px, calc((100vw - 1320px) / 2)) clamp(28px, 4vh, 44px);
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(24px, 3.8vh, 40px);
}

.bio-heading {
  display: grid;
  align-items: end;
  color: var(--ink);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 56px;
}

.bio-heading .chapter-label {
  color: var(--coral-deep);
}

.bio-heading h2 {
  max-width: 780px;
  color: var(--ink);
  font-size: clamp(46px, 4vw, 60px);
  line-height: 0.94;
}

.bio-heading > p {
  max-width: 340px;
  margin: 0 0 3px;
  color: #5f4e56;
  font-size: 16px;
  line-height: 1.6;
}

.bio-layout {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 76px);
}

.bio-story {
  display: grid;
  height: 100%;
  min-height: 0;
  padding: 4px 34px 0 0;
  border-right: 1px solid rgba(38, 25, 31, 0.13);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.bio-tabs {
  display: grid;
  border-top: 1px solid rgba(38, 25, 31, 0.16);
}

.bio-tabs button {
  display: grid;
  min-height: 48px;
  align-items: center;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(38, 25, 31, 0.16);
  background: transparent;
  color: #6d5b62;
  cursor: pointer;
  text-align: left;
  grid-template-columns: 34px 1fr 34px;
  gap: 5px;
  transition: color 180ms ease;
}

.bio-tabs button span {
  color: #6d5b62;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.bio-tabs button strong {
  font-size: 13px;
  font-weight: 780;
}

.bio-tabs button i {
  display: block;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.2);
  transform-origin: right center;
  transition: transform 220ms ease;
}

.bio-tabs button:hover,
.bio-tabs button[aria-pressed="true"] {
  color: var(--wine);
}

.bio-tabs button[aria-pressed="true"] span {
  color: var(--coral-deep);
}

.bio-tabs button[aria-pressed="true"] i {
  transform: scaleX(1);
}

.bio-copy-stack {
  position: relative;
  min-height: 0;
  margin-top: clamp(28px, 4vh, 42px);
}

.bio-copy-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  transform-origin: left center;
}

.bio-copy-panel:not(:first-child) {
  opacity: 0;
  visibility: hidden;
}

.bio-copy-panel > p:first-child {
  margin: 0 0 17px;
  color: var(--coral-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.bio-copy-panel h3 {
  max-width: 280px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(31px, 2.7vw, 39px);
  font-weight: 830;
  line-height: 1;
}

.bio-copy-panel > p:last-child {
  max-width: 270px;
  margin: 21px 0 0;
  color: #5f4e56;
  font-size: 15px;
  line-height: 1.6;
}

.bio-progress {
  display: grid;
  align-items: center;
  padding: 14px 0 2px;
  color: #6d5b62;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  text-transform: uppercase;
  grid-template-columns: auto 1fr;
  gap: 15px;
}

.bio-progress > i {
  display: block;
  height: 2px;
  overflow: hidden;
  background: rgba(38, 25, 31, 0.12);
}

.bio-progress b {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left center;
}

.bio-stage {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  isolation: isolate;
}

.bio-circuit-system {
  position: absolute;
  inset: 30px 0 0;
  display: grid;
  overflow: hidden;
  place-items: center;
}

.bio-circuit-map {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bio-circuit-map text {
  fill: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.bio-circuit-kicker,
.bio-circuit-index,
.bio-arm-label,
.bio-promoter-label,
.bio-rna-label,
.bio-no-reaction-label,
.bio-gate-note,
.bio-downshift text {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
}

.bio-circuit-kicker,
.bio-circuit-index {
  fill: #6d5b62 !important;
  font-size: 12px;
  font-weight: 750;
}

.bio-arm-label {
  fill: #5f4e56 !important;
  font-size: 13px;
  font-weight: 780;
}

.bio-gene-rail,
.bio-promoter,
.bio-terminator,
.bio-flow-line,
.bio-no-source-link,
.bio-signal-path,
.bio-signal-link,
.bio-feedback-path,
.bio-repression-bar,
.bio-downshift path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.bio-gene-rail,
.bio-promoter,
.bio-terminator {
  stroke: #3e7448;
  stroke-width: 2;
}

.bio-promoter-label {
  fill: #3e7448 !important;
  font-size: 13px;
  font-weight: 800;
}

.bio-gene rect {
  fill: #edf4e9;
  stroke: #5f8f56;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.bio-gene text {
  fill: #315d38;
  font-size: 16px;
  font-weight: 820;
}

.bio-metabolite rect {
  fill: #fff;
  stroke: rgba(38, 25, 31, 0.24);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.bio-metabolite text {
  font-size: 13px;
  font-weight: 720;
}

.bio-metabolite--release rect {
  fill: #edf2fa;
  stroke: #5573aa;
}

.bio-metabolite--output rect {
  fill: #fbe9eb;
  stroke: var(--coral-deep);
  stroke-width: 2;
}

.bio-metabolite--output text {
  fill: var(--wine);
  font-weight: 840;
}

.bio-flow-line {
  stroke: rgba(38, 25, 31, 0.58);
  stroke-width: 1.75;
}

.bio-flow-line--release {
  stroke: #5573aa;
}

#bio-arrow-ink path {
  fill: rgba(38, 25, 31, 0.7);
}

#bio-arrow-coral path {
  fill: var(--coral-deep);
}

.bio-enzyme text {
  fill: #3e7448;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 850;
}

.bio-enzyme--muted text {
  fill: #6d5b62;
  font-size: 9px;
  font-weight: 700;
}

.bio-enzyme--release text {
  fill: #5573aa;
}

.bio-flow-pulse {
  fill: var(--coral);
  stroke: #fff;
  stroke-width: 2;
  opacity: 0.9;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}

.bio-gene-rail--release,
.bio-promoter--release,
.bio-terminator--release {
  stroke: #5573aa;
}

.bio-promoter-label--release {
  fill: #5573aa !important;
}

.bio-gene--release rect {
  fill: #edf2fa;
  stroke: #5573aa;
}

.bio-gene--release text {
  fill: #405e96;
}

.bio-no-signal circle {
  fill: #f3c74f;
  stroke: #c49a20;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.bio-no-signal text {
  fill: #48370c;
  font-size: 14px;
  font-weight: 850;
}

.bio-inflammation-chip rect,
.bio-inos-chip rect {
  fill: #fbe9eb;
  stroke: var(--coral-deep);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.bio-inflammation-chip text,
.bio-inos-chip text {
  fill: var(--wine);
  font-size: 12px;
  font-weight: 820;
}

.bio-no-source-link {
  fill: none;
  stroke: var(--coral-deep);
  stroke-linecap: round;
  stroke-width: 1.75;
  vector-effect: non-scaling-stroke;
}

.bio-no-reaction-label {
  fill: #5f4e56 !important;
  font-size: 10px;
  font-weight: 760;
}

.bio-gate-note {
  fill: #405e96 !important;
  font-size: 9px;
  font-weight: 820;
}

.bio-sensing-layer,
.bio-feedback-layer,
.bio-mobile-sense,
.bio-mobile-feedback {
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

.bio-signal-path,
.bio-signal-link,
.bio-feedback-path,
.bio-repression-bar {
  stroke: var(--coral-deep);
  stroke-width: 2.25;
}

.bio-signal-path {
  stroke-dasharray: 4 8;
}

.bio-signal-chip rect {
  fill: #fbe9eb;
  stroke: var(--coral-deep);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.bio-signal-chip text {
  fill: var(--wine);
  font-size: 12px;
  font-weight: 820;
}

.bio-promoter--sensor {
  stroke: var(--coral-deep);
}

.bio-sensor text,
.bio-rna-label {
  fill: var(--coral-deep) !important;
  font-size: 12px;
  font-weight: 820;
}

.bio-rna {
  fill: none;
  stroke: #5573aa;
  stroke-linecap: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.bio-laci circle {
  fill: #dbe4f6;
  stroke: #5573aa;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.bio-laci text {
  fill: #405e96;
  font-size: 15px;
  font-weight: 850;
}

.bio-feedback-path {
  stroke-width: 3;
}

.bio-repression-bar {
  stroke-width: 4;
}

.bio-downshift path {
  stroke: var(--coral-deep);
  stroke-width: 1.5;
}

.bio-downshift text {
  fill: var(--coral-deep) !important;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.bio-circuit-system[data-bio-state="2"] .bio-circuit-arm--upper .bio-gene rect {
  stroke: var(--coral-deep);
}

.bio-circuit-mobile {
  display: none;
}

.bio-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .bio-heading {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 36px;
  }

  .bio-heading h2 {
    font-size: 50px;
  }

  .bio-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 34px;
  }

  .bio-story {
    padding-right: 24px;
  }

}

@media (min-width: 900px) and (max-height: 760px) {
  .bio-pin {
    padding-top: 84px;
    padding-bottom: 20px;
    gap: 18px;
  }

  .bio-heading h2 {
    font-size: 44px;
  }

  .bio-heading > p {
    font-size: 14px;
  }

  .bio-copy-panel h3 {
    font-size: 31px;
  }
}

@media (max-width: 899px) {
  .bio-pin {
    display: block;
    height: auto;
    min-height: auto;
    overflow: visible;
    padding: 100px 24px 110px;
  }

  .bio-heading {
    display: block;
  }

  .bio-heading h2 {
    font-size: 52px;
  }

  .bio-heading > p {
    max-width: 680px;
    margin-top: 24px;
  }

  .bio-layout {
    --bio-stage-height: max(400px, min(54svh, 460px));
    display: flex;
    height: auto;
    margin-top: 44px;
    flex-direction: column;
    gap: 0;
  }

  .bio-stage {
    position: relative;
    top: auto;
    z-index: 5;
    order: 1;
    height: var(--bio-stage-height);
    min-height: 0;
    border-top: 1px solid rgba(38, 25, 31, 0.14);
    border-bottom: 1px solid rgba(38, 25, 31, 0.14);
    background: #fff;
  }

  .bio-story {
    display: block;
    height: auto;
    min-height: auto;
    order: 2;
    padding: 14px 0 0;
    border-right: 0;
  }

  .bio-tabs {
    position: relative;
    top: auto;
    z-index: 1;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
  }

  .bio-tabs button {
    min-height: 58px;
    justify-items: center;
    padding: 7px 4px;
    text-align: center;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .bio-tabs button i {
    width: 26px;
    transform-origin: center;
  }

  .bio-copy-stack {
    min-height: 250px;
    height: 250px;
    margin-top: 0;
  }

  .bio-copy-panel,
  .bio-copy-panel:not(:first-child) {
    position: absolute;
    inset: 0;
    min-height: 0;
    align-content: start;
    padding: 34px 4px 56px;
    border-bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .bio-copy-panel.is-active {
    opacity: 1;
    visibility: visible;
  }

  .bio-copy-panel h3,
  .bio-copy-panel > p:last-child {
    max-width: 620px;
  }

  .bio-progress {
    display: none;
  }

  .bio-circuit-system {
    inset: 30px 0 0;
  }

  .bio-circuit-map {
    display: none;
  }

  .bio-circuit-mobile {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .bio-mobile-arm,
  .bio-mobile-path,
  .bio-mobile-no-source,
  .bio-mobile-sense,
  .bio-mobile-feedback {
    position: absolute;
    right: 8px;
    left: 8px;
    display: grid;
    align-items: center;
    gap: 5px;
    will-change: transform, opacity;
  }

  .bio-mobile-arm {
    grid-template-columns: 58px 52px 18px repeat(3, minmax(42px, 1fr));
  }

  .bio-mobile-arm--upper {
    top: 19%;
  }

  .bio-mobile-arm--lower {
    top: 84%;
  }

  .bio-mobile-arm__label {
    color: #5f4e56;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .bio-mobile-arm strong,
  .bio-mobile-arm b,
  .bio-mobile-no-source span,
  .bio-mobile-no-source strong,
  .bio-mobile-no-source b,
  .bio-mobile-sense strong,
  .bio-mobile-sense b,
  .bio-mobile-feedback strong,
  .bio-mobile-feedback b {
    display: grid;
    min-height: 34px;
    align-items: center;
    border: 1px solid #5f8f56;
    border-radius: 4px;
    background: #edf4e9;
    color: #315d38;
    font-size: 10px;
    font-weight: 820;
    text-align: center;
  }

  .bio-mobile-arm--lower strong {
    border-radius: 50%;
    background: #f3c74f;
    color: #48370c;
  }

  .bio-mobile-arm--lower b {
    border-color: #5573aa;
    background: #edf2fa;
    color: #405e96;
  }

  .bio-mobile-no-source {
    top: 70%;
    grid-template-columns: minmax(78px, 1.35fr) 18px minmax(48px, 0.7fr) 18px 42px;
  }

  .bio-mobile-no-source span,
  .bio-mobile-no-source b {
    border-color: var(--coral-deep);
    background: #fbe9eb;
    color: var(--wine);
  }

  .bio-mobile-no-source strong {
    border-color: #c49a20;
    border-radius: 50%;
    background: #f3c74f;
    color: #48370c;
  }

  .bio-mobile-arm i,
  .bio-mobile-path i,
  .bio-mobile-no-source i,
  .bio-mobile-sense i {
    position: relative;
    display: block;
    height: 1px;
    background: currentColor;
    color: rgba(38, 25, 31, 0.45);
  }

  .bio-mobile-arm i::after,
  .bio-mobile-path i::after,
  .bio-mobile-no-source i::after,
  .bio-mobile-sense i::after {
    position: absolute;
    top: -3px;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    content: "";
    transform: rotate(45deg);
  }

  .bio-mobile-path {
    top: 48%;
    grid-template-columns: minmax(72px, 1fr) 18px minmax(76px, 1fr) 18px minmax(68px, 1fr);
  }

  .bio-mobile-path span,
  .bio-mobile-path strong {
    font-size: 10px;
    font-weight: 740;
    text-align: center;
  }

  .bio-mobile-path strong {
    padding: 9px 4px;
    border: 1px solid var(--coral-deep);
    border-radius: 4px;
    background: #fbe9eb;
    color: var(--wine);
    font-weight: 850;
  }

  .bio-mobile-sense {
    top: 38%;
    grid-template-columns: minmax(72px, 1fr) 22px minmax(65px, 1fr) 22px minmax(58px, 0.8fr);
  }

  .bio-mobile-sense strong,
  .bio-mobile-sense b {
    border-color: var(--coral-deep);
    background: #fbe9eb;
    color: var(--wine);
  }

  .bio-mobile-feedback {
    top: 61%;
    grid-template-columns: 64px 34px 64px 1fr;
  }

  .bio-mobile-feedback i {
    position: relative;
    display: block;
    height: 2px;
    background: var(--coral-deep);
  }

  .bio-mobile-feedback i::after {
    position: absolute;
    top: -6px;
    right: 0;
    width: 2px;
    height: 14px;
    background: var(--coral-deep);
    content: "";
  }

  .bio-mobile-feedback strong,
  .bio-mobile-feedback b {
    border-color: var(--coral-deep);
    background: #fbe9eb;
    color: var(--wine);
  }

  .bio-mobile-feedback span {
    color: var(--coral-deep);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 8px;
    font-weight: 800;
    text-align: right;
    text-transform: uppercase;
  }
}

@media (max-width: 620px) {
  .bio-pin {
    padding-right: 18px;
    padding-left: 18px;
  }

  .bio-heading h2 {
    font-size: 40px;
  }

  .bio-heading > p {
    font-size: 17px;
  }

  .bio-layout {
    --bio-stage-height: max(390px, min(52svh, 440px));
  }

  .bio-copy-panel {
    min-height: 0;
    height: 250px;
    padding-right: 0;
    padding-left: 0;
  }

  .bio-copy-panel h3 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bio-stage,
  .bio-tabs {
    position: relative;
    top: auto;
  }

  .bio-copy-panel,
  .bio-copy-panel:not(:first-child) {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 42px;
    scroll-margin-top: calc(var(--nav-height) + 24px);
  }
}
