@font-face {
  font-family: "SSBS Display";
  src: url("https://static.igem.wiki/teams/6192/wiki/fonts/butter-sans-rounded.otf") format("opentype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "SSBS Body";
  src: url("https://static.igem.wiki/teams/6192/wiki/fonts/asap-bold-italic.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --cream: rgb(253, 246, 218);
  --paper: rgb(250, 244, 196);
  --lime: rgb(229, 229, 113);
  --olive: rgb(166, 168, 71);
  --olive-dark: rgb(117, 120, 48);
  --orange: rgb(228, 158, 79);
  --orange-light: rgb(238, 185, 104);
  --brown: rgb(161, 119, 98);
  --brown-deep: rgb(111, 76, 60);
  --ink: rgb(152, 117, 95);
  --white-warm: rgb(255, 252, 232);
  --nav-height: 105px;
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 34px;
  --radius-pill: 999px;
  --z-nav: 40;
  --z-dropdown: 50;
  --z-fixed: 60;
  --z-loader: 80;
  --scroll-progress: 0;
  --font-display: "SSBS Display", "Arial Black", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "SSBS Body", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --home-cursor-default: url("https://static.igem.wiki/teams/6192/wiki/home/cursors/cursor-default-medium.avif") 31 6, auto;
  --home-cursor-pressed: url("https://static.igem.wiki/teams/6192/wiki/home/cursors/cursor-pressed-medium.avif") 36 8, auto;
}

@supports (cursor: image-set(url("https://static.igem.wiki/teams/6192/wiki/home/cursors/cursor-default-medium.avif") 1.25x) 25 5, auto) {
  :root {
    --home-cursor-default: image-set(url("https://static.igem.wiki/teams/6192/wiki/home/cursors/cursor-default-medium.avif") 1.25x) 25 5, auto;
    --home-cursor-pressed: image-set(url("https://static.igem.wiki/teams/6192/wiki/home/cursors/cursor-pressed-medium.avif") 1.25x) 29 6, auto;
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  margin: 0;
  padding-top: var(--nav-height);
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body,
button,
a { touch-action: manipulation; }

a { color: var(--brown-deep); }
a:hover { color: var(--olive-dark); }

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--brown-deep);
  font-family: var(--font-display);
  text-wrap: balance;
}

p,
li { text-wrap: pretty; }

button,
a,
[tabindex] { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: calc(var(--z-loader) + 1);
  padding: 12px 18px;
  transform: translateY(-140%);
  background: var(--brown-deep);
  color: var(--white-warm);
  border-radius: var(--radius-sm);
  transition: transform 160ms ease-out;
}

.skip-link:focus { transform: translateY(0); }

.asset-slot {
  position: relative;
  overflow: hidden;
  outline: 2px dashed rgba(111, 76, 60, 0.35);
  outline-offset: -2px;
}

.asset-slot::after {
  content: attr(data-asset);
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 6px 10px;
  background: rgba(253, 246, 218, 0.9);
  color: var(--brown-deep);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

/* Loading */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  background: var(--paper);
  opacity: 1;
  transition: opacity 180ms ease-out;
}

.page-loader.is-hidden {
  pointer-events: none;
  opacity: 0;
}

.page-loader p {
  margin: 0;
  color: var(--brown);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 66px);
}

.loader-cell {
  position: relative;
  width: 180px;
  height: 110px;
  border: 10px solid var(--olive);
  border-radius: 50% 42% 48% 44%;
  animation: cell-float 1.8s ease-in-out infinite alternate;
}

.loader-cell span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--olive);
}

.loader-cell span:nth-child(1) { left: 28px; top: 26px; }
.loader-cell span:nth-child(2) { right: 34px; top: 18px; }
.loader-cell span:nth-child(3) { right: 64px; bottom: 16px; }

@keyframes cell-float {
  from { transform: translateY(0) rotate(-2deg); }
  to { transform: translateY(-14px) rotate(2deg); }
}

/* Navigation */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  padding: 0 clamp(34px, 4vw, 76px) 11px clamp(410px, 27vw, 520px);
  display: flex;
  align-items: center;
  background: var(--lime);
  box-shadow: 0 3px 12px rgba(111, 76, 60, 0.16);
}

.site-brand {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: min(504px, 28vw);
  height: 244px;
  padding: 28px 0 0 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 86% 70%, 0 100%);
  color: var(--white-warm);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 48px);
  font-weight: 900;
  line-height: 0.9;
  text-decoration: none;
  text-shadow: 3px 3px 0 rgba(111, 76, 60, 0.18);
}

.site-brand:hover { color: var(--white-warm); }

.site-brand-label {
  display: flex;
  flex-direction: column;
  opacity: 1;
}

.site-brand-mascot {
  position: absolute;
  left: 7.5396825397%;
  top: 7.3770491803%;
  width: 59.9206349206%;
  height: auto;
  display: block;
  opacity: 0;
}

.site-brand:is(:hover, :focus-visible) .site-brand-label { opacity: 0; }
.site-brand:is(:hover, :focus-visible) .site-brand-mascot { opacity: 1; }

.nav-panel { width: 100%; }

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2.1vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li { position: relative; }

.nav-link {
  position: relative;
  min-height: 48px;
  padding: 8px 10px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--brown);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.45vw, 28px);
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease-out, color 150ms ease-out;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 4px -4px;
  z-index: -1;
  background: var(--white-warm);
  opacity: 0;
  transform: skewX(-12deg) scale(0.92);
  transition: transform 150ms ease-out, opacity 150ms ease-out;
}

.nav-link.active::before,
.nav-group.is-open > .nav-link::before {
  opacity: 1;
  transform: skewX(-12deg) scale(1);
}

.nav-link:active { transform: scale(0.96); }

.nav-group-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  z-index: var(--z-dropdown);
  min-width: 184px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--white-warm);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 14px 28px rgba(111, 76, 60, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: transform 160ms ease-out, opacity 160ms ease-out;
}

.nav-dropdown-wide { min-width: 310px; }

.nav-group.is-open > .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a,
.pending-link {
  min-height: 42px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  color: var(--brown-deep);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.nav-dropdown a[aria-current="page"] {
  background: var(--orange);
  color: var(--white-warm);
}

.pending-link {
  color: rgba(111, 76, 60, 0.55);
  cursor: not-allowed;
}

.nav-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: auto;
  /* The bar starts behind the brand panel and is revealed from the panel's
     diagonal edge. A fixed 386px left offset only works at 1920px: the brand is
     min(26.25vw, 504px), so on narrower desktops it ended before 386px and left
     a visible gap in the bar. Anchor the offset to the brand width instead
     (386 / 504 of it) so the start stays hidden at every viewport. */
  width: calc(100% - min(26.25vw, 504px) * 0.7658730159);
  height: 11px;
  pointer-events: none;
}

.nav-progress-track {
  position: absolute;
  inset: 0;
  background: url("https://static.igem.wiki/teams/6192/wiki/common/nav-progress-track.avif") center / 100% 100% no-repeat;
}

.nav-progress-mascot {
  --progress-x: 0px;
  position: absolute;
  left: 0;
  bottom: -24px;
  z-index: 3;
  width: 63px;
  height: 61px;
  display: grid;
  place-items: center;
  border: 5px solid var(--olive-dark);
  border-radius: 48% 52% 44% 56%;
  background: var(--cream);
  color: var(--olive-dark);
  font-family: var(--font-display);
  font-size: 13px;
  transform: translateX(var(--progress-x));
}

.nav-toggle { display: none; }

@media (hover: hover) {
  .nav-link:hover::before {
    opacity: 1;
    transform: skewX(-12deg) scale(1);
  }

  .nav-group:hover > .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .nav-dropdown a:hover { background: rgba(229, 229, 113, 0.62); }
}

/* Banners and editorial pages */
.page-banner {
  position: relative;
  min-height: 807px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--olive);
  isolation: isolate;
}

.page-banner::before,
.page-banner::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  border: 52px solid rgba(253, 246, 218, 0.38);
  border-radius: 50%;
}

.page-banner::before { left: -120px; top: 120px; }
.page-banner::after { right: -70px; bottom: -100px; }

.banner-art { position: absolute; inset: 24px; opacity: 0.35; }

.banner-copy {
  position: relative;
  z-index: 1;
  width: min(1400px, 84vw);
  text-align: center;
}

.banner-kicker {
  display: block;
  margin-bottom: 24px;
  color: var(--cream);
  font-weight: 800;
  font-size: clamp(14px, 1.3vw, 22px);
}

.banner-copy h1 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(66px, 8.35vw, 160px);
  line-height: 0.92;
  text-shadow: 5px 5px 0 rgba(111, 76, 60, 0.28);
}

.banner-copy p {
  max-width: 760px;
  margin: 42px auto 0;
  color: var(--cream);
  font-size: clamp(18px, 1.4vw, 26px);
  line-height: 1.5;
}

.banner-mascot {
  position: absolute;
  right: 8vw;
  bottom: 32px;
  width: 157px;
  height: 211px;
  border-radius: 48% 48% 40% 42%;
  background: rgba(253, 246, 218, 0.22);
}

.banner-education { background: rgb(174, 168, 58); }
.banner-entrepreneurship { background: rgb(202, 145, 77); }
.banner-experiments { background: rgb(102, 158, 116); }
.banner-human-practices { background: rgb(136, 150, 78); }
.banner-notebook { background: rgb(179, 148, 67); }
.banner-results { background: rgb(148, 168, 76); }
.banner-safety-and-security { background: rgb(204, 132, 75); }

/* Lanhu banner set 2. */
/* 2026 rules replaced Attributions with Awards, and the banner set has no Awards
   canvas. Awards reuses the designed Attributions banner, so it keeps that
   canvas's title geometry and stroke (1920 x 803, title box 113 x 595,
   966 x 124, stroke rgba(81,67,52,1)). */
.page-banner-variant.banner-awards {
  --banner-height: 803;
  --banner-title-left: 5.885417%;
  --banner-title-top: 74.097136%;
  --banner-title-width: 50.3125%;
  --banner-title-height: 15.442092%;
  --banner-title-color: rgba(112, 98, 79, 1);
  --banner-title-stroke: rgba(81, 67, 52, 1);
}

.page-banner-variant.banner-part-collection {
  --banner-height: 804;
  --banner-title-left: 32.604167%;
  --banner-title-top: 74.004975%;
  --banner-title-width: 60.572917%;
  --banner-title-height: 15.422886%;
  --banner-title-color: rgba(112, 98, 79, 1);
  --banner-title-stroke: rgba(251, 241, 224, 1);
}

.page-banner-variant.banner-contribution {
  --banner-height: 803;
  --banner-title-left: 6.09375%;
  --banner-title-top: 74.097136%;
  --banner-title-width: 52.604167%;
  --banner-title-height: 15.442092%;
  --banner-title-color: rgba(112, 98, 79, 1);
  --banner-title-stroke: rgba(251, 253, 237, 1);
}

.page-banner-variant.banner-engineering {
  --banner-height: 808;
  --banner-title-left: 44.166667%;
  --banner-title-top: 72.89604%;
  --banner-title-width: 49.166667%;
  --banner-title-height: 19.183168%;
  --banner-title-color: rgba(112, 98, 79, 1);
  --banner-title-stroke: rgba(75, 45, 31, 1);
}

.page-banner-variant.banner-model {
  --banner-height: 816;
  --banner-title-left: 67.552083%;
  --banner-title-top: 73.529412%;
  --banner-title-width: 24.947917%;
  --banner-title-height: 14.338235%;
  --banner-title-color: rgba(112, 98, 79, 1);
  --banner-title-stroke: rgba(97, 42, 2, 1);
}

.content-shell {
  width: min(1530px, calc(100% - 80px));
  min-height: 2600px;
  margin: 0 auto;
  padding: 120px 0 180px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 90px;
}

.page-rail {
  position: sticky;
  top: calc(var(--nav-height) + 48px);
  align-self: start;
  padding-top: 8px;
}

.page-rail::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 76px;
  bottom: 0;
  width: 23px;
  background: var(--orange);
  border-radius: var(--radius-pill);
}

.page-rail > p {
  margin: 0 0 30px;
  color: var(--brown-deep);
  font-family: var(--font-display);
  font-size: 18px;
}

.page-rail ol {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-rail li { position: relative; min-height: 104px; padding-left: 82px; }

.page-rail li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 89px;
  height: 77px;
  border: 7px solid var(--orange);
  border-radius: 50%;
  background: var(--cream);
}

.page-rail a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--brown);
  font-weight: 800;
  text-decoration: none;
}

.page-rail a[aria-current="location"] {
  color: var(--brown-deep);
}

.page-rail li:has(a[aria-current="location"])::before { background: var(--orange); }

.page-copy {
  --font-body: "Times New Roman", Times, serif;
  --font-display: "Times New Roman", Times, serif;
  font-family: var(--font-body);
  width: min(1279px, 100%);
  padding: 56px clamp(34px, 4vw, 74px) 120px;
  background: rgba(255, 252, 232, 0.68);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(111, 76, 60, 0.12);
}

.page-copy .row { --bs-gutter-x: 2.4rem; }
.page-copy h2 { margin-top: 56px; font-size: 30px; }
.page-copy h2:first-child { margin-top: 0; }
.page-copy h3,
.page-copy h4 { font-size: 26px; }
.page-copy p,
.page-copy li { font-size: 16px; line-height: 1.65; }
.page-copy hr { height: 5px; border: 0; border-radius: var(--radius-pill); background: var(--lime); opacity: 1; }
.page-copy a { font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bd-callout { margin: 28px 0; padding: 24px 28px; background: var(--paper); border: 0; border-radius: var(--radius-md); }

/* Home */
.home-canvas {
  position: relative;
  background-color: var(--paper);
}

.wave-mascot {
  --mascot-y: 50%;
  position: fixed;
  top: var(--mascot-y);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1), opacity 260ms ease-out;
  will-change: transform, opacity;
}

.wave-mascot[data-side="left"] { transform: translate3d(-72%, 0, 0); }
.wave-mascot[data-side="right"] { transform: translate3d(72%, 0, 0); }
.wave-mascot.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

.home-canvas::before,
.home-canvas::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: clamp(42px, 5vw, 96px);
  background: var(--orange-light);
}

.home-canvas::before { left: 0; border-radius: 0 48% 52% 0; }
.home-canvas::after { right: 0; border-radius: 52% 0 0 48%; }

.home-hero,
.story-section {
  position: relative;
  z-index: 2;
  width: min(1420px, calc(100% - 180px));
  min-height: 1180px;
  margin: 0 auto;
  padding: 130px clamp(28px, 5vw, 100px);
  display: grid;
  align-items: center;
}

.home-hero { min-height: 1040px; grid-template-columns: 0.9fr 1.1fr; gap: 70px; }

.home-hero h1 {
  margin: 0 0 30px;
  color: var(--brown-deep);
  font-size: clamp(64px, 8vw, 140px);
  line-height: 0.88;
}

.home-hero p { max-width: 650px; font-size: clamp(20px, 1.55vw, 30px); line-height: 1.55; }

.hero-illustration {
  min-height: 720px;
  border-radius: 48% 52% 44% 50%;
  background: rgba(229, 229, 113, 0.45);
}

.story-section { grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 150px); }
.story-section:nth-of-type(even) .story-copy { order: 2; }
.story-section:nth-of-type(even) .story-art { order: 1; }

.story-copy { max-width: 610px; }
.story-copy,
.story-art { min-width: 0; }
.story-index { color: var(--orange); font-family: var(--font-display); font-size: 22px; }
.story-copy h2 { margin: 16px 0 26px; font-size: clamp(44px, 5vw, 84px); line-height: 0.98; }
.story-copy p { font-size: clamp(18px, 1.25vw, 24px); line-height: 1.6; }

.story-art {
  min-height: 660px;
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 232, 0.46);
}

.scene-button,
.bread-button {
  min-width: 170px;
  min-height: 58px;
  margin-top: 28px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--olive);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 18px;
  box-shadow: 0 8px 0 var(--olive-dark);
  transition: transform 150ms ease-out, opacity 150ms ease-out;
}

.scene-button:active,
.bread-button:active { transform: translateY(5px) scale(0.96); }

.pulse-prompt::after {
  content: "☝";
  display: inline-block;
  margin-left: 12px;
  animation: prompt-blink 900ms ease-in-out infinite alternate;
}

@keyframes prompt-blink {
  from { opacity: 0.3; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(-3px); }
}

.floating-dots { position: relative; min-height: 660px; }
.floating-dots span {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--olive);
  opacity: 0.72;
  animation: dot-drift 5s ease-in-out infinite alternate paused;
}
.floating-dots span:nth-child(1) { left: 18%; top: 16%; animation-delay: -0.4s; }
.floating-dots span:nth-child(2) { right: 17%; top: 26%; animation-delay: -1.2s; }
.floating-dots span:nth-child(3) { left: 44%; bottom: 18%; animation-delay: -2.1s; }
.floating-dots span:nth-child(4) { right: 29%; bottom: 35%; animation-delay: -0.8s; }
.is-active .floating-dots span { animation-play-state: running; }

@keyframes dot-drift {
  from { transform: translate3d(-22px, 8px, 0); }
  to { transform: translate3d(34px, -28px, 0); }
}

.starch-chain {
  min-height: 660px;
  padding: 200px 40px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 11px;
}

.starch-chain span {
  width: 28px;
  height: 20px;
  border-radius: 50%;
  background: var(--olive);
  transition: transform 180ms ease-out, opacity 180ms ease-out;
}

.story-section.is-active .starch-chain span:nth-child(n+12):nth-child(-n+18) {
  opacity: 0.3;
  transform: translateY(42px) rotate(18deg);
}

.scissors-stage::before {
  content: "✂";
  position: absolute;
  left: 50%;
  top: 50%;
  color: var(--brown-deep);
  font-size: clamp(76px, 10vw, 150px);
  opacity: 0;
  transform: translate(-50%, -130%) rotate(-18deg);
}

.story-section.is-active .scissors-stage::before {
  opacity: 1;
  animation: scissors-cut 700ms ease-out both;
}

@keyframes scissors-cut {
  0% { transform: translate(-50%, -130%) rotate(-18deg); }
  65% { transform: translate(-50%, -50%) rotate(-18deg); }
  75% { transform: translate(-54%, -50%) rotate(-24deg); }
  85% { transform: translate(-46%, -50%) rotate(-12deg); }
  100% { transform: translate(-50%, -50%) rotate(-18deg); }
}

.bread-button {
  width: min(420px, 100%);
  min-height: 240px;
  border-radius: 46% 54% 18% 22%;
  background: var(--orange-light);
  color: var(--brown-deep);
}

.bread-button.is-expanded { transform: scale(1.16); }

.project-cloud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.place-items-center { place-items: center; }

.project-cloud a {
  min-height: 150px;
  padding: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--brown-deep);
  font-family: var(--font-display);
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 150ms ease-out;
}

.project-cloud a:active { transform: scale(0.96); }

dialog.story-dialog {
  width: min(920px, calc(100% - 40px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--lime);
  color: var(--brown-deep);
  box-shadow: 0 30px 90px rgba(73, 54, 43, 0.35);
  overscroll-behavior: contain;
}

dialog.story-dialog::backdrop { background: rgba(73, 54, 43, 0.58); }
.dialog-inner { position: relative; padding: 70px clamp(28px, 6vw, 90px); }
.dialog-inner h2 { font-size: clamp(38px, 5vw, 70px); }
.dialog-inner p { max-width: 60ch; font-size: 20px; line-height: 1.6; }
.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--brown-deep);
  font-size: 28px;
  line-height: 1;
}

/* Team */
.team-canvas { background: var(--paper); }
.team-hero {
  position: relative;
  min-height: 1080px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: var(--olive);
}

.team-hero .asset-slot { position: absolute; inset: 0; background: rgba(253, 246, 218, 0.1); }
.team-hero h1 { position: relative; z-index: 1; margin: 0 0 70px; color: var(--cream); font-size: clamp(90px, 13vw, 220px); line-height: 0.8; }

.team-photo,
.team-section {
  width: min(1490px, calc(100% - 100px));
  margin: 0 auto;
}

.team-photo { min-height: 820px; margin-top: 120px; border-radius: var(--radius-lg); background: rgba(166, 168, 71, 0.32); }
.team-section { padding: 130px 0; }
.team-section h2 { margin-bottom: 70px; font-size: clamp(56px, 7vw, 110px); }

.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.member-grid.large { grid-template-columns: repeat(4, 1fr); }
.member-card {
  min-height: 430px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-lg);
  background: var(--lime);
  box-shadow: 0 12px 0 rgba(166, 168, 71, 0.7);
}
.member-card .asset-slot { flex: 1; min-height: 280px; margin-bottom: 24px; border-radius: var(--radius-md); background: rgba(255, 252, 232, 0.46); }
.member-card h3 { margin: 0; font-size: 24px; }
.member-card p { margin: 8px 0 0; }

/* Footer and fixed controls */
.site-footer {
  position: relative;
  z-index: 2;
  background: transparent;
  color: var(--brown-deep);
  margin-top: -25%;
}

.footer-required {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 22px 24px 40px;
  color: var(--brown-deep);
  text-align: center;
}

.footer-required p { margin: 6px 0; font-size: 14px; line-height: 1.6; }
.footer-required a { color: var(--brown-deep); font-weight: 800; }

/* Lanhu "星河湾-底部": 1920 x 889 base, all children placed on the design grid. */
.footer-sponsors {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 889;
  overflow: hidden;
}

.footer-sponsors img { display: block; position: absolute; }

.footer-wave { left: 0; top: 0; width: 100%; height: 100%; }
.footer-wave-inner { left: 0.0520833333%; top: 13.3858267717%; width: 99.9479166667%; height: auto; }
.footer-name-plate { left: 3.75%; top: 39.4825646794%; width: 92.5520833333%; height: auto; }

.footer-logo-sangon { left: 11.25%; top: 65.9167604049%; width: 8.3333333333%; height: auto; }
.footer-logo-tsingke { left: 21.9270833333%; top: 66.1417322835%; width: 5.3125%; height: auto; }
.footer-logo-beyotime { left: 28.9583333333%; top: 66.2542182227%; width: 12.8125%; height: auto; }
.footer-logo-shu { left: 10.8333333333%; top: 84.9268841395%; width: 9.21875%; height: auto; }
.footer-logo-solarbio { left: 21.6666666667%; top: 83.2395950506%; width: 6.0416666667%; height: auto; }
.footer-logo-azenta { left: 29.4270833333%; top: 83.4645679977%; width: 4.9479166667%; height: auto; }
.footer-logo-genscript { left: 36.875%; top: 83.3520809899%; width: 5.9895833333%; height: auto; }
.footer-logo-sbs { left: 59.8958333333%; top: 81.4398200225%; width: 7.96875%; height: auto; }
.footer-logo-crest { left: 70.3645833333%; top: 80.6524184477%; width: 5.78125%; height: auto; }
.footer-logo-mascots { left: 79.1666666667%; top: 82.0022497199%; width: 12.4479166667%; height: auto; }

.footer-school-name {
  position: absolute;
  left: 56.9791666667%;
  top: 68.616423%;
  width: 34.53125%;
  margin: 0;
  color: rgba(161, 119, 98, 1);
  font-family: var(--font-body);
  font-size: 2.2395833333vw;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .footer-required { padding: 18px 20px 40px; }

  .footer-sponsors {
    aspect-ratio: auto;
    padding: 0 20px 80px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 22px;
  }

  .footer-sponsors img { position: static; }

  .footer-sponsors .footer-wave { width: 100%; height: auto; flex: 0 0 100%; margin: 0 -20px; }
  .footer-sponsors .footer-wave-inner,
  .footer-sponsors .footer-name-plate { display: none; }

  .footer-sponsors .footer-logo-sangon { width: 74px; }
  .footer-sponsors .footer-logo-tsingke { width: 48px; }
  .footer-sponsors .footer-logo-beyotime { width: 112px; }
  .footer-sponsors .footer-logo-shu { width: 84px; }
  .footer-sponsors .footer-logo-solarbio { width: 56px; }
  .footer-sponsors .footer-logo-azenta { width: 46px; }
  .footer-sponsors .footer-logo-genscript { width: 56px; }
  .footer-sponsors .footer-logo-sbs { width: 76px; }
  .footer-sponsors .footer-logo-crest { width: 54px; }
  .footer-sponsors .footer-logo-mascots { width: 116px; }

  .footer-sponsors .footer-school-name {
    position: static;
    flex: 0 0 100%;
    width: auto;
    margin: 6px 0 0;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
  }
}

.back-to-top {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: var(--z-fixed);
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white-warm);
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(111, 76, 60, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: transform 160ms ease-out, opacity 160ms ease-out;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:active { transform: scale(0.96); }

/* Error page */
.error-page { min-height: 68vh; padding: 120px 40px; display: grid; place-items: center; text-align: center; }
.error-page h1 { margin: 0; font-size: clamp(84px, 15vw, 220px); color: var(--orange); }
.error-page p { font-size: 22px; }
.error-page a { min-height: 48px; padding: 13px 24px; display: inline-flex; align-items: center; border-radius: var(--radius-pill); background: var(--olive); color: var(--cream); font-weight: 800; text-decoration: none; }

@media (max-width: 1180px) {
  :root { --nav-height: 82px; }
  body { padding-top: var(--nav-height); }
  .site-nav { padding: 0 24px; }
  .site-brand { width: 285px; height: 132px; padding: 20px 0 0 28px; font-size: 27px; }
  .nav-toggle {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    margin-left: auto;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--cream);
  }
  .nav-toggle span { width: 24px; height: 3px; background: var(--brown-deep); border-radius: var(--radius-pill); }
  .nav-panel {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    max-height: calc(100dvh - var(--nav-height));
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--lime);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: transform 160ms ease-out, opacity 160ms ease-out;
  }
  .nav-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-list { display: grid; justify-content: stretch; gap: 8px; }
  .nav-link { width: 100%; justify-content: start; font-size: 22px; }
  .nav-dropdown,
  .nav-dropdown-wide {
    position: static;
    width: 100%;
    min-width: 0;
    display: none;
    padding: 0 12px;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: none;
    opacity: 1;
    pointer-events: none;
    transform: none;
  }
  .nav-group.is-open > .nav-dropdown { display: block; padding: 10px 12px; pointer-events: auto; transform: none; }
  .nav-dropdown > li { overflow: hidden; }
  .nav-progress { width: 100%; }
  .home-hero,
  .story-section { width: min(920px, calc(100% - 100px)); }
  .member-grid.large { grid-template-columns: repeat(3, 1fr); }
  .content-shell { grid-template-columns: 1fr; }
  .content-shell:has(.template-section-nav) {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 48px;
  }
  .page-rail { position: static; }
  .page-rail::before { display: none; }
  .page-rail ol { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; }
  .page-rail li { min-height: 0; padding: 0; flex: 0 0 auto; }
  .page-rail li::before { display: none; }
  .page-rail a { padding: 10px 16px; border-radius: var(--radius-pill); background: var(--lime); }
  .page-rail a[aria-current="location"] { background: var(--orange); color: var(--white-warm); }
}

@media (max-width: 760px) {
  :root { --nav-height: 76px; }
  .site-nav { padding-bottom: 7px; }
  .site-brand { width: 210px; height: 105px; padding: 18px 0 0 22px; font-size: 21px; }
  .nav-progress { height: 7px; }
  .nav-progress-mascot { bottom: -18px; width: 48px; height: 46px; font-size: 10px; }
  .page-banner { min-height: 520px; }
  .banner-copy { width: calc(100% - 48px); }
  .banner-copy h1 { font-size: clamp(40px, 11.5vw, 62px); overflow-wrap: anywhere; }
  .banner-copy p { font-size: 17px; }
  .banner-mascot { width: 90px; height: 120px; }
  .content-shell { width: calc(100% - 32px); min-height: 1600px; padding: 70px 0 100px; gap: 28px; }
  .content-shell:has(.template-section-nav) { grid-template-columns: 1fr; }
  .template-section-nav { display: none; }
  .content-shell > * { min-width: 0; }
  .page-rail { width: 100%; overflow: hidden; }
  .page-copy { width: 100%; padding: 34px 22px 72px; border-radius: var(--radius-md); }
  .page-copy .row { display: block; margin-right: 0; margin-left: 0; }
  .page-copy [class*="col-"] { width: 100%; padding-right: 0; padding-left: 0; }
  .page-copy h2 { font-size: 27px; }
  .home-canvas::before,
  .home-canvas::after { width: 22px; }
  .home-hero,
  .story-section {
    width: calc(100% - 56px);
    min-height: auto;
    padding: 100px 18px;
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .home-hero { min-height: 880px; }
  .hero-illustration,
  .story-art,
  .floating-dots,
  .starch-chain { min-height: 420px; }
  .story-section:nth-of-type(even) .story-copy,
  .story-section:nth-of-type(even) .story-art { order: initial; }
  .project-cloud { grid-template-columns: 1fr 1fr; }
  .project-cloud a { min-height: 120px; }
  .team-hero { min-height: 640px; }
  .team-photo,
  .team-section { width: calc(100% - 32px); }
  .team-photo { min-height: 480px; margin-top: 60px; }
  .team-section { padding: 80px 0; }
  .member-grid,
  .member-grid.large { grid-template-columns: 1fr; }
  .back-to-top { width: 52px; height: 52px; }
}

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

/* Lanhu v2 visual reconstruction — local preview assets are served from the
   repository-external upload package on port 8093. */
.asset-slot,
.asset-slot::after {
  outline: 0;
}

.asset-slot::after { display: none; }

.page-loader {
  gap: 22px;
  background: rgb(253, 246, 218);
}

.loader-illustration {
  position: relative;
  width: clamp(230px, 28vw, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.loader-illustration img {
  position: relative;
  z-index: 1;
  width: 78%;
  height: auto;
}

.loader-orbit {
  position: absolute;
  inset: 8%;
  border: clamp(10px, 1.2vw, 18px) solid rgb(229, 229, 113);
  border-right-color: rgb(238, 158, 63);
  border-radius: 50%;
  animation: ssbs-loader-spin 1.15s linear infinite;
}

@keyframes ssbs-loader-spin {
  to { transform: rotate(360deg); }
}

.site-nav {
  box-shadow: none;
}

.site-brand {
  background: transparent url("https://static.igem.wiki/teams/6192/wiki/common/nav-brand-panel.avif") left top / 100% 100% no-repeat;
  clip-path: none;
  text-shadow: none;
  filter: none;
}

.nav-progress-mascot {
  bottom: -31px;
  width: 63px;
  height: 61px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nav-progress-mascot img {
  width: 63px;
  max-width: none;
  height: 61px;
  object-fit: fill;
}

.page-banner {
  min-height: 807px;
  place-items: initial;
  background: rgb(166, 168, 71);
}

.page-banner::before,
.page-banner::after { display: none; }

.banner-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-copy {
  position: absolute;
  right: 4.6%;
  bottom: 52px;
  z-index: 1;
  width: auto;
  text-align: right;
}

.banner-copy h1 {
  color: rgb(78, 106, 63);
  font-family: var(--font-display);
  font-size: clamp(78px, 8.333vw, 160px);
  line-height: 0.92;
  text-shadow: none;
  -webkit-text-stroke: 3px rgb(90, 90, 2);
}

.banner-mascot {
  position: absolute;
  left: 43.5%;
  top: 36px;
  right: auto;
  bottom: auto;
  width: 157px;
  height: 211px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.page-banner-variant {
  --banner-height: 805;
  --banner-title-left: 0%;
  --banner-title-top: 0%;
  --banner-title-width: 100%;
  --banner-title-height: 100%;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1920 / var(--banner-height);
  background: transparent;
}

.page-banner-variant .banner-art {
  z-index: 0;
  object-fit: fill;
  opacity: 1;
}

.page-banner-variant .banner-copy {
  left: var(--banner-title-left);
  top: var(--banner-title-top);
  right: auto;
  bottom: auto;
  width: var(--banner-title-width);
  height: var(--banner-title-height);
  display: grid;
  place-items: center;
  text-align: center;
}

.page-banner-variant .banner-copy h1 {
  margin: 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: min(8.333333vw, 160px);
  font-weight: normal;
  line-height: 1;
  text-align: center;
  text-shadow: none;
  white-space: nowrap;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: min(0.3125vw, 6px) var(--banner-title-stroke);
}

.banner-decoration {
  position: absolute;
  z-index: 2;
  display: block;
  object-fit: contain;
}

.banner-description {
  --banner-height: 807;
  --banner-title-left: 46.510417%;
  --banner-title-top: 72.738538%;
  --banner-title-width: 46.510417%;
  --banner-title-height: 19.083024%;
  --banner-title-color: rgba(78, 106, 63, 1);
  --banner-title-stroke: rgba(90, 90, 2, 1);
}

.banner-description-mascot {
  left: 43.541667%;
  top: 4.460967%;
  width: 8.177083%;
  height: 26.146221%;
}

.banner-education {
  --banner-title-left: 6.875%;
  --banner-title-top: 74.037267%;
  --banner-title-width: 40.052083%;
  --banner-title-height: 15.403727%;
  --banner-title-color: rgb(112, 98, 79);
  --banner-title-stroke: rgb(90, 90, 2);
}

.banner-education-mascot {
  left: 63.854167%;
  top: 38.757764%;
  width: 22.34375%;
  height: 60.869565%;
}

.banner-entrepreneurship {
  --banner-title-left: 20.46875%;
  --banner-title-top: 70.68323%;
  --banner-title-width: 71.875%;
  --banner-title-height: 19.130435%;
  --banner-title-color: rgb(110, 99, 82);
  --banner-title-stroke: rgb(90, 90, 2);
}

.banner-entrepreneurship-mascot {
  left: 28.697917%;
  top: 35.031056%;
  width: 15.729167%;
  height: 33.78882%;
}

.banner-experiments {
  --banner-height: 806;
  --banner-title-left: 44.114583%;
  --banner-title-top: 74.069479%;
  --banner-title-width: 51.979167%;
  --banner-title-height: 19.1067%;
  --banner-title-color: rgb(78, 106, 63);
  --banner-title-stroke: rgb(90, 90, 2);
}

.banner-experiments-mascot {
  left: 0.104167%;
  top: 44.540943%;
  width: 20%;
  height: 55.459057%;
}

.banner-human-practices {
  --banner-height: 806;
  --banner-title-left: 21.875%;
  --banner-title-top: 50.744417%;
  --banner-title-width: 74.53125%;
  --banner-title-height: 38.337469%;
  --banner-title-color: rgb(80, 60, 3);
  --banner-title-stroke: rgb(65, 48, 2);
}

.banner-human-practices .banner-art { opacity: 0.55; }

.banner-human-practices .banner-copy { z-index: 3; }

.banner-human-practices .banner-copy {
  place-items: center end;
  text-align: right;
}

.banner-human-practices .banner-copy h1 { text-align: right; }

.banner-human-practices-character-left {
  left: 47.760417%;
  top: 9.181141%;
  width: 7.03125%;
  height: 46.898263%;
}

.banner-human-practices-character-center {
  left: 56.510417%;
  top: 13.895782%;
  width: 8.4375%;
  height: 22.952854%;
}

.banner-human-practices-character-right {
  left: 69.84375%;
  top: 34.243176%;
  width: 9.270833%;
  height: 29.528536%;
}

.banner-notebook {
  --banner-title-left: 6.40625%;
  --banner-title-top: 74.906832%;
  --banner-title-width: 39.6875%;
  --banner-title-height: 14.534161%;
  --banner-title-color: rgb(103, 87, 67);
  --banner-title-stroke: rgb(103, 87, 67);
}

.banner-notebook-character-left {
  left: 22.03125%;
  top: 5.465839%;
  width: 11.302083%;
  height: 36.397516%;
}

.banner-notebook-character-right {
  left: 69.53125%;
  top: 56.149068%;
  width: 16.5625%;
  height: 37.763975%;
}

.banner-results {
  --banner-height: 806;
  --banner-title-left: 63.958333%;
  --banner-title-top: 74.813896%;
  --banner-title-width: 29.947917%;
  --banner-title-height: 14.516129%;
  --banner-title-color: rgb(59, 85, 65);
  --banner-title-stroke: rgb(4, 69, 9);
}

.banner-results-mascot {
  left: 15.46875%;
  top: 12.531017%;
  width: 15.260417%;
  height: 51.488834%;
}

.banner-safety-and-security {
  --banner-height: 804;
  --banner-title-left: 67.864583%;
  --banner-title-top: 70.522388%;
  --banner-title-width: 25.572917%;
  --banner-title-height: 18.656716%;
  --banner-title-color: rgb(101, 88, 70);
  --banner-title-stroke: rgb(101, 88, 70);
}

.banner-safety-mascot {
  left: 58.59375%;
  top: 45.895522%;
  width: 13.59375%;
  height: 37.064677%;
}

.content-shell {
  width: min(1530px, calc(100% - 80px));
  min-height: 2432px;
  padding: 138px 0 30%;
  grid-template-columns: 190px minmax(0, 1279px);
  gap: 90px;
}

/* A page whose Word source declares no headings has no section rail; ssbs.js
   removes the nav, so the grid would keep reserving the 190px rail column and
   squeeze the prose. Collapse it to a single column instead.
   Without a rail nothing balances the column on the left, and the wide-screen
   rule above anchors the shell to `margin-left: 8.333vw; margin-right: 0`, so the
   prose sat at 160px from the left and 481px from the right (SSBS
   /part-collection, 1920 viewport) and read as hugging the edge. Centre the shell
   (keeping its width, so the 30% bottom padding is unchanged) and the column in
   it; with a rail the shell must stay left-anchored on the design grid. */
.content-shell:has(> .page-copy:only-child) {
  grid-template-columns: minmax(0, 1279px);
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.page-copy {
  width: 100%;
  padding: 0;
  text-align: left;
  overflow-wrap: normal;
  word-break: normal;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.page-copy .editorial-section {
  padding: 0 0 120px;
  border-bottom: 5px solid rgb(229, 229, 113);
}

.page-copy .editorial-section + .editorial-section {
  padding-top: 92px;
}

/*
 * Editorial sub-section rhythm, from the Lanhu canvas "星河湾-Description 页"
 * (1920x3645, the only canvas that shows the written-body layout):
 *   h2 -> first sub-heading ...... 45px   (measured 46px glyph to glyph)
 *   h3 -> its own copy ........... 28px   (measured 30px)
 *   copy -> next h3 ............. 140px   (measured 141px)
 *   copy -> section divider ..... 120px   (measured 122px, twice)
 *   divider -> next h2 .......... 98px    (92px here renders a 101px glyph gap)
 * The design's unit block is therefore 19 + 28 + 277 + 140 = 464px, where the
 * 277px is the height of the mock's placeholder paragraph. 464px is a *result*,
 * not a constraint: modelling it as a fixed `min-height` on every sub-section
 * folded the 140px gap into the block and handed the leftover to shorter copy,
 * which left 248px of dead space under Results 1.1 Overview while full-height
 * copy got only 35px.
 */
.page-copy .editorial-section > section {
  margin-top: 140px;
}

/* First block of a section sits just under the section's own h2 — whether that
   block is a sub-section or, as on Description, copy/figure/table directly. */
.page-copy .editorial-section > h2 + * {
  margin-top: 35px;
}

/* A sub-heading that carries no copy of its own (Results "1.2 Construction of
   plasmids", "3.1. Single-enzyme Activity Verification"): the heading's own
   margin-bottom already spaces the copy that follows, so add nothing. */
.page-copy .editorial-section > section:has(> h3:only-child) + section {
  margin-top: 0;
}

.page-copy h2 {
  margin: 0;
  color: rgb(152, 117, 95);
  font-size: 46px;
  font-weight: 700;
}

.page-copy h3 {
  margin: 0 0 32px;
  color: var(--brown-deep);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
}

.page-copy h4 {
  margin: 0 0 18px;
  color: rgb(152, 117, 95);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}

.page-copy h5 {
  margin: 0 0 14px;
  color: rgb(152, 117, 95);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.page-copy p,
.page-copy li {
  margin: 0;
  text-align: left;
  color: rgb(152, 117, 95);
  font-size: 22px;
  line-height: 1.68;
}

/* Editorial body: real written material (paragraphs, lists, figures, tables).
   `.editorial-compact` used to opt a block out of the fixed 464px `min-height`.
   That min-height is gone (see above), so the class no longer changes layout; it
   stays in the templates as a semantic marker and as a wrapper the style audit
   accepts around a section-level <h2>. */

.page-copy p + p,
.page-copy p + ul,
.page-copy p + ol,
.page-copy ul + p,
.page-copy ol + p,
.page-copy ul + ul,
.page-copy ol + ol {
  margin-top: 18px;
}

/* Zero the UA's default list margins: the vertical rhythm comes from the
   `p + ul` / `ul + p` rules above, and a trailing list must not add the UA's
   1em bottom margin on top of the section's 120px divider gap (it made
   sections that end in a list 136px instead of 120px). */
.page-copy ul,
.page-copy ol {
  margin: 0;
  padding-left: 24px;
}

.page-copy li + li {
  margin-top: 8px;
}

.page-copy strong,
.page-copy b {
  font-weight: 800;
}

.page-copy em,
.page-copy i {
  font-style: italic;
}

.page-copy a {
  color: rgb(194, 196, 58);
}

.page-copy code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgb(255, 250, 196);
  color: rgb(152, 117, 95);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.94em;
  overflow-wrap: anywhere;
}

.page-copy pre {
  margin: 24px 0 0;
  padding: 20px 24px;
  overflow-x: auto;
  border-radius: 18px;
  background: rgb(255, 250, 196);
  color: rgb(152, 117, 95);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 20px;
  line-height: 1.6;
}

.page-copy pre code {
  padding: 0;
  background: transparent;
  font-size: inherit;
}

.page-copy blockquote {
  margin: 24px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 5px solid rgb(229, 229, 113);
}

.page-copy .editorial-figure {
  margin: 32px 0 0;
}

.page-copy .editorial-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 900px;
  margin: 0 auto;
  padding: 10px;
  border: 3px solid rgb(229, 229, 113);
  border-radius: 20px;
  background: rgb(255, 255, 211);
}

.page-copy figcaption {
  margin: 14px auto 0;
  max-width: 860px;
  color: rgb(152, 117, 95);
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
}

.page-copy .editorial-table-wrap {
  margin-top: 32px;
  overflow-x: auto;
}

.page-copy .editorial-table-wrap + .editorial-table-wrap {
  margin-top: 40px;
}

.page-copy table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 20px;
  line-height: 1.55;
}

.page-copy caption,
.page-copy .editorial-table-caption {
  margin-bottom: 10px;
  color: rgb(152, 117, 95);
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}

.page-copy th,
.page-copy td {
  padding: 11px 14px;
  border: 1px solid rgb(229, 229, 113);
  color: rgb(152, 117, 95);
  /* 源文档表格单元格绝大多数为 w:jc=center（214/270 格），默认按居中还原 */
  text-align: center;
  vertical-align: top;
}

/* 源文档中少数单元格用 w:jc=both（两端对齐），对应页面加这个类 */
.page-copy table.table-left th,
.page-copy table.table-left td {
  text-align: left;
}

/* 源文档中 w:vAlign=center 的表格（如 PCR 程序表、日程表）整表垂直居中；
   其余表格 w:vAlign 未指定，按 top 呈现（已经是默认值）。 */
.page-copy table.table-middle th,
.page-copy table.table-middle td {
  vertical-align: middle;
}

.page-copy thead th {
  background: rgb(255, 250, 196);
  font-weight: 800;
}

.page-copy tbody tr:nth-child(even) td {
  background: rgb(255, 253, 226);
}

.page-rail {
  top: calc(var(--nav-height) + 40px);
  min-height: 1300px;
}

.page-rail > p { display: none; }

.page-rail::before {
  left: 54px;
  top: 68px;
  width: 23px;
  bottom: 120px;
  border-radius: 0;
  background: rgb(228, 158, 79);
}

.page-rail li {
  min-height: 128px;
  padding-left: 134px;
}

.page-rail li::before {
  left: 21px;
  top: 0;
  width: 89px;
  height: 77px;
  border: 0;
  background: rgb(202, 203, 51);
  clip-path: polygon(50% 0, 67% 22%, 91% 32%, 83% 56%, 100% 76%, 72% 82%, 50% 100%, 28% 82%, 0 76%, 17% 56%, 9% 32%, 33% 22%);
}

.page-rail a {
  min-height: 77px;
  opacity: 0;
  color: rgb(255, 255, 211);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.page-rail li:hover a,
.page-rail a:focus-visible {
  min-width: 188px;
  padding: 0 22px 0 44px;
  opacity: 1;
  background: rgb(194, 196, 58);
  clip-path: polygon(0 50%, 20px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 20px 100%);
}

.page-rail li:hover::before,
.page-rail li:has(a:focus-visible)::before {
  background: url("https://static.igem.wiki/teams/6192/wiki/description/timeline-hover-mascot.avif") center / contain no-repeat;
  clip-path: none;
}

/* Template pages: real heading anchors use the same reveal/jump model as Team. */
.template-section-nav {
  --template-section-track-width: clamp(15px, 1.2vw, 23px);
  --template-section-track-half-width: clamp(7.5px, 0.6vw, 11.5px);
  position: sticky;
  top: calc(var(--nav-height) + 72px);
  z-index: 8;
  align-self: start;
  width: 190px;
  height: min(calc(100dvh - var(--nav-height) - 104px), 867px);
  min-height: 430px;
  overflow: visible;
}

.template-section-nav-track {
  position: absolute;
  top: 8.3333333333%;
  bottom: 8.3333333333%;
  left: 34px;
  width: var(--template-section-track-width);
  background: rgb(228, 158, 79);
}

.template-section-nav ol {
  position: relative;
  z-index: 1;
  height: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-rows: minmax(0, 1fr);
  list-style: none;
}

.template-section-nav li {
  position: relative;
  min-height: 0;
}
.template-section-nav #page-toc.is-scrollable {
  grid-auto-rows: 88px;
  overflow-y: auto;
  width: 480px;
  padding-right: 290px;
  box-sizing: border-box;
  scrollbar-width: none;
  pointer-events: none;
}
.template-section-nav #page-toc.is-scrollable::-webkit-scrollbar { display: none; }
.template-section-nav #page-toc.is-scrollable > li { pointer-events: auto; }

.template-section-nav .template-subsections {
  position: absolute;
  z-index: 2;
  left: 86px;
  top: 62px;
  width: 104px;
  height: auto;
  display: block;
}
.template-section-nav .template-subsections[hidden] { display: none; }
.template-subsections a {
  display: block;
  margin-bottom: 8px;
  color: var(--brown-deep);
  font-size: 13px;
  line-height: 18px;
  overflow-wrap: normal;
  word-break: normal;
}
.template-subsections a[aria-current="location"] { font-weight: 700; }

.template-section-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  color: rgb(255, 255, 211);
  cursor: pointer;
}

.template-section-link:hover,
.template-section-link:focus-visible {
  z-index: 3;
  color: rgb(255, 255, 211);
}

.template-section-dot {
  position: absolute;
  left: 34px;
  top: 50%;
  width: clamp(59px, 4.64vw, 89px);
  aspect-ratio: 89 / 77;
  transform: translate(calc(var(--template-section-track-half-width) - 50%), -50%) scale(1);
  transform-origin: center;
  opacity: 1;
  background: rgb(202, 203, 51);
  border-radius: 50%;
  clip-path: none;
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.template-section-active {
  position: absolute;
  left: 34px;
  top: 50%;
  width: clamp(331px, 25.89vw, 497px);
  aspect-ratio: 497 / 187;
  transform: translate(calc(var(--template-section-track-half-width) - 16.5%), -50%) scale(0.96);
  transform-origin: 16.4% 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.template-section-active::before,
.team-section-active::before {
  content: "";
  position: absolute;
  left: 6.8%;
  top: 33.7%;
  z-index: 0;
  width: 18.8%;
  height: 45.5%;
  border-radius: 50%;
  background: rgb(191, 191, 66);
}

.template-section-mascot {
  position: absolute;
  left: 0;
  top: 0;
  width: 33%;
  height: 100%;
  display: block;
  z-index: 1;
  object-fit: contain;
}

.template-section-label {
  position: absolute;
  left: 24.15%;
  top: 21.93%;
  width: 75.85%;
  aspect-ratio: 377 / 130;
  z-index: 3;
}

.template-section-label > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.template-section-label > span {
  position: absolute;
  left: 20.7%;
  top: 35.4%;
  width: 73%;
  color: rgb(255, 255, 211);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.55vw, 30px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.template-section-label > span.is-long {
  left: 17%;
  top: 21%;
  width: 78%;
  height: 58%;
  padding: 0 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-wrap: anywhere;
  font-size: clamp(13px, 0.95vw, 18px);
  line-height: 1.08;
  white-space: normal;
  text-wrap: balance;
}

.template-section-link:hover .template-section-dot,
.template-section-link:focus-visible .template-section-dot {
  transform: translate(calc(var(--template-section-track-half-width) - 50%), -50%) scale(0.82);
  opacity: 0;
}

.template-section-link:hover .template-section-active,
.template-section-link:focus-visible .template-section-active {
  transform: translate(calc(var(--template-section-track-half-width) - 16.5%), -50%) scale(1);
  opacity: 1;
}

/* Home: 1920px-wide Lanhu canvas scaled fluidly. */
@media (hover: hover) and (pointer: fine) {
  body.ssbs-page,
  body.ssbs-page * {
    cursor: var(--home-cursor-default) !important;
  }

  body.ssbs-page:active,
  body.ssbs-page:active * {
    cursor: var(--home-cursor-pressed) !important;
  }
}

.home-canvas {
  position: relative;
  overflow: hidden;
  background-color: rgb(255, 250, 196);
  background-image:
    url("https://static.igem.wiki/teams/6192/wiki/common/home-wave-left-outer.avif"),
    url("https://static.igem.wiki/teams/6192/wiki/common/home-wave-right-outer.avif"),
    url("https://static.igem.wiki/teams/6192/wiki/common/home-wave-left.avif"),
    url("https://static.igem.wiki/teams/6192/wiki/common/home-wave-right.avif");
  background-position: left top, right top, left top, right top;
  background-size: 34.6875% auto, 34.53125% auto, 34.6875% auto, 34.53125% auto;
  background-repeat: repeat-y;
}

.home-canvas::before,
.home-canvas::after { display: none; }

.home-scene {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 69.79vw;
  max-height: 1340px;
}

.home-art {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
}

.home-copy {
  position: absolute;
  z-index: 3;
  width: 33%;
  color: rgb(161, 119, 98);
  font-family: var(--font-display);
}

.home-copy h1,
.home-copy h2,
.home-copy p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.home-copy h1,
.home-copy h2 {
  font-size: clamp(24px, 2.5vw, 48px);
  line-height: 1.22;
}

.home-copy p {
  margin-top: 6px;
  font-size: clamp(24px, 2.5vw, 48px);
  line-height: 1.22;
}

.home-copy-right { left: 50.3%; top: 18.7%; }
.home-copy-left { left: 13.7%; top: 19.5%; }

.home-art-hat { left: 13.85%; top: 12%; width: 37.08%; }
.home-art-character { left: 17.4%; top: 15%; width: 30.05%; }
.home-scene-two .home-copy { top: 28%; left: 48.3%; }
.home-art-meter { left: 48.9%; top: 6%; width: 43.18%; }
.home-scene-three .home-copy { top: 25%; }
.home-art-map { left: 16.3%; top: 8%; width: 69.27%; }
.home-art-object { left: 37.55%; top: 7%; width: 26.45%; }
.home-art-kettle { left: 40.9%; top: 14%; width: 17.14%; }
.home-art-chain { left: 15.2%; top: 10%; width: 71.5%; }

.home-scene-click .home-click {
  position: absolute;
  right: 14.8%;
  top: 16%;
  z-index: 3;
  min-width: 0;
  padding: 10px;
  border: 0;
  background: transparent;
  color: rgb(161, 119, 98);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 42px);
}

.home-scene-click .home-click:active { transform: scale(0.96); }
.home-art-final { left: 13.6%; top: 8%; width: 34.6%; }
.home-scene-final .home-copy { left: 50.8%; top: 19%; }

.home-scene-cloud {
  min-height: 74vw;
  max-height: 1420px;
}

.home-art-cloud { left: 11.72%; top: 1%; width: 74.69%; }

.cloud-links {
  position: absolute;
  inset: 0;
}

.cloud-links a,
.cloud-links .cloud-pending {
  position: absolute;
  z-index: 2;
  min-width: 130px;
  min-height: 52px;
  display: grid;
  place-items: center;
  color: rgb(255, 242, 202);
  font-family: var(--font-display);
  font-size: clamp(17px, 2.35vw, 45px);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.cloud-links .cloud-pending {
  opacity: 0.62;
  cursor: not-allowed;
}

.cloud-description { left: 53.6%; top: 9.2%; }
.cloud-engineering { left: 65.6%; top: 22%; }
.cloud-education { left: 55.2%; top: 39%; }
.cloud-ihp { left: 76.8%; top: 42.5%; }
.cloud-model { left: 18.8%; top: 51.5%; }
.cloud-entrepreneurship { left: 37%; top: 56%; font-size: clamp(14px, 1.98vw, 38px) !important; }
.cloud-contribution { left: 66.8%; top: 62.8%; font-size: clamp(15px, 2.34vw, 45px) !important; }

.home-reference {
  position: relative;
  z-index: 1;
  min-height: 600px;
  padding: 90px 14% 160px;
  text-align: center;
}

.home-reference h2 {
  margin: 0;
  color: rgb(161, 119, 98);
  font-size: clamp(36px, 2.86vw, 55px);
}

.home-reference p {
  margin: 60px auto 0;
  color: rgb(161, 119, 98);
  font-size: clamp(14px, 1.35vw, 26px);
}

.home-state-dialog {
  background: rgb(194, 196, 58) !important;
}

@media (max-width: 1180px) {
  .nav-progress-mascot { bottom: -23px; }
  .nav-progress-mascot img { width: 64px; }
  .page-rail a,
  .page-rail li:hover a,
  .page-rail a:focus-visible,
  .page-rail a[aria-current="location"] { opacity: 1; }
}

@media (max-width: 760px) {
  .page-banner { min-height: 420px; }
  .page-banner-variant { min-height: 0; }
  .page-banner-variant .banner-copy { right: auto; bottom: auto; }
  .banner-art { object-position: center; }
  .banner-copy { right: 20px; bottom: 32px; }
  .banner-copy h1 { font-size: clamp(46px, 14vw, 78px); -webkit-text-stroke-width: 1.5px; }
  .banner-mascot { left: 43%; top: 18px; width: 82px; height: auto; }
  .content-shell { min-height: 0; }
  .page-rail { min-height: 0; }
  .page-rail ol { display: flex; }
  .page-rail li { min-height: 0; padding-left: 0; }
  .page-rail li::before,
  .page-rail::before { display: none; }
  .page-rail a,
  .page-rail li:hover a,
  .page-rail a:focus-visible,
  .page-rail a[aria-current="location"] {
    min-width: 0;
    min-height: 42px;
    padding: 10px 16px;
    clip-path: none;
    border-radius: 999px;
  }
  .home-scene { min-height: 88vw; }
  .home-copy { width: 41%; }
  .home-copy h1,
  .home-copy h2,
  .home-copy p { font-size: clamp(15px, 4.1vw, 26px); }
  .home-art-hat { left: 9%; top: 18%; width: 46%; }
  .home-art-character { left: 10%; width: 37%; }
  .home-art-meter { left: 45%; width: 52%; }
  .home-art-map { left: 7%; width: 86%; }
  .home-art-object { left: 34%; width: 32%; }
  .home-art-kettle { left: 38%; width: 24%; }
  .home-art-final { left: 8%; width: 42%; }
  .home-scene-cloud { min-height: 86vw; }
  .home-art-cloud { left: 5%; width: 90%; }
  .cloud-links a,
  .cloud-links .cloud-pending { min-width: 0; min-height: 30px; font-size: clamp(10px, 2.7vw, 18px); }
  .cloud-entrepreneurship,
  .cloud-contribution { font-size: clamp(8px, 2.25vw, 16px) !important; }
  .home-reference { min-height: 380px; padding-top: 70px; }
}

.home-copy h1,
.home-copy h2,
.home-copy p { white-space: nowrap; }

.content-shell {
  width: min(1495px, calc(100% - max(40px, 8.333vw)));
  margin-right: 0;
  margin-left: max(40px, 8.333vw);
  grid-template-columns: 190px minmax(0, 1279px);
  gap: 26px;
}

@media (max-width: 1180px) {
  .content-shell {
    width: min(920px, calc(100% - 64px));
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .content-shell { width: calc(100% - 32px); }

  .home-copy h1,
  .home-copy h2,
  .home-copy p { white-space: normal; }
}

/* Home enzyme-bottle dialog. */
dialog.story-dialog.home-state-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  /* 2026-09-16 feedback: the four click dialogs must not fill the whole screen
     with an opaque sheet. The dialog keeps the full-viewport box so the
     decorative chain layers keep their design coordinates, but it no longer
     paints a background and the backdrop stays clear, so the page (and its
     navigation) remains visible behind the panel. */
  background-color: transparent !important;
  box-shadow: none;
}

dialog.story-dialog.home-state-dialog::backdrop {
  background: transparent;
}

dialog.story-dialog.home-state-dialog.state-scissors {
  isolation: isolate;
}

dialog.story-dialog.home-state-dialog.state-scissors::before,
dialog.story-dialog.home-state-dialog.state-scissors::after {
  content: "";
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
  background-image: url("https://static.igem.wiki/teams/6192/wiki/home/chain-scissors-intact.avif");
  background-repeat: no-repeat;
}

dialog.story-dialog.home-state-dialog.state-scissors::before {
  left: 6.8vw;
  top: 3.5vh;
  width: 73.8vw;
  height: 45.5vw;
  background-position: 0 0;
  background-size: 100% auto;
}

dialog.story-dialog.home-state-dialog.state-scissors::after {
  left: 9.65vw;
  top: 84.8%;
  width: 77.2vw;
  height: 8%;
  background-position: 0 -33.96vw;
  background-size: 100% auto;
}

html:has(dialog.home-state-dialog[open]),
body:has(dialog.home-state-dialog[open]) {
  overflow: hidden;
  overscroll-behavior: none;
}

.home-state-dialog .dialog-inner {
  position: absolute;
  left: min(239px, calc(239 * 100vw / 1920));
  top: 50%;
  z-index: 1;
  width: min(1156px, calc(1156 * 100vw / 1920));
  aspect-ratio: 920 / 672;
  padding: 0;
  transform: translateY(-50%);
  margin-top: calc(-41 * 100vw / 1920);
}

.home-state-dialog.state-chemical .dialog-inner,
.home-state-dialog.state-enzyme .dialog-inner {
  width: min(1158px, calc(1158 * 100vw / 1920));
  aspect-ratio: 948 / 693;
}

.home-state-dialog.state-pul .dialog-inner {
  width: min(1139px, calc(1139 * 100vw / 1920));
  aspect-ratio: 933 / 682;
}

.home-state-dialog .dialog-panel {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Each dialog is layered in the design: a complete colour panel sits behind
   the character, while the exported composites contain an opaque top-left
   cutout. Rebuild the panel surface and retain only their close artwork. */
.home-state-dialog .dialog-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13.7648809524%;
  z-index: 0;
  width: 100%;
  height: 86.2351190476%;
  background: rgb(203, 201, 56);
  pointer-events: none;
}

.home-state-dialog .dialog-copy {
  position: absolute;
  left: 18.913%;
  top: 46.875%;
  z-index: 2;
  width: 59.347826087%;
  color: rgb(254, 248, 203);
}

.home-state-dialog .dialog-copy h2,
.home-state-dialog .dialog-copy p {
  margin: 0;
  color: inherit;
  font-family: var(--font-display);
}

.home-state-dialog .dialog-copy h2 {
  font-size: min(41.7px, calc(41.7 * 100vw / 1920));
  line-height: min(50.5px, calc(50.5 * 100vw / 1920));
  white-space: nowrap;
}

.home-state-dialog .dialog-copy p {
  font-size: min(41.7px, calc(41.7 * 100vw / 1920));
  line-height: min(50.5px, calc(50.5 * 100vw / 1920));
}

.home-state-dialog .dialog-badge {
  position: absolute;
  z-index: 2;
  object-fit: contain;
}

/* Badge frames recalibrated 2026-09-25 against the Lanhu character layers of
   点击图-2/3/4, expressed relative to the green panel (which starts at 13.7649%
   of .dialog-inner and spans 86.2351% of its height). `fill` keeps the mapping
   consistent with the rest of the percentage-laid-out dialog. */
.home-state-dialog .dialog-badge-enzyme {
  left: -4.2363%;
  top: 8.928%;
  width: 20.7358%;
  height: 30.2653%;
  object-fit: fill;
}

.home-state-dialog .dialog-badge-chemical {
  left: 2.2%;
  top: 1.5%;
  width: 22%;
  height: 42%;
}

.home-state-dialog .dialog-badge-scissors {
  left: -6.5442%;
  top: 6.5074%;
  width: 29.9656%;
  height: 32.3029%;
  object-fit: fill;
}

/* PUL registers one deliberate deviation: the design position (top 8.2875%)
   puts the character's tail over the body's first line, so the artwork moves up
   3.37% to keep the copy untouched. See PROJECT-NOTES/ssbs/qa/home-art-round-0925.md */
.home-state-dialog .dialog-badge-pul {
  left: -18.3258%;
  top: 4.92%;
  width: 43.6652%;
  height: 32.8644%;
  object-fit: fill;
}

.home-state-dialog .dialog-close {
  position: absolute;
  right: 0;
  top: 9%;
  z-index: 4;
  width: 9%;
  height: 15%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: url("https://static.igem.wiki/teams/6192/wiki/home/dialog-bread-close.avif") top right / 100% auto no-repeat;
  box-shadow: none;
  cursor: pointer;
}

.home-state-dialog .dialog-close::before { display: none; }

.home-state-dialog.state-enzyme .dialog-copy {
  left: 18.88%;
  top: 46.75%;
}

.home-state-dialog.state-enzyme .dialog-copy {
  width: 59.282700422%;
}

.home-state-dialog.state-enzyme .dialog-copy h2,
.home-state-dialog.state-enzyme .dialog-copy p {
  font-size: min(42.9px, calc(42.9 * 100vw / 1920));
  line-height: min(52.5px, calc(52.5 * 100vw / 1920));
}

.home-state-dialog.state-pul .dialog-copy {
  left: 18.8638799571%;
  top: 46.7741935484%;
  width: 59.2711682744%;
}

.home-state-dialog.state-pul .dialog-copy h2,
.home-state-dialog.state-pul .dialog-copy p {
  font-size: min(42.3px, calc(42.3 * 100vw / 1920));
  line-height: min(52px, calc(52 * 100vw / 1920));
}

/* 2026-09-16 feedback: the three enzyme dialogs keep their copy, but the title
   is centred on the panel and the whole copy block moves up. Each selector
   offsets by (50% - copy left) / copy width so the title centres on the panel
   rather than on the narrower copy column. */
.home-state-dialog.state-scissors .dialog-copy {
  top: 42.875%;
}

.home-state-dialog.state-scissors .dialog-copy h2 {
  position: relative;
  left: 52.37%;
  transform: translateX(-50%);
  text-align: center;
}

.home-state-dialog.state-enzyme .dialog-copy {
  top: 42.75%;
}

.home-state-dialog.state-enzyme .dialog-copy h2 {
  position: relative;
  left: 52.45%;
  transform: translateX(-50%);
  text-align: center;
}

.home-state-dialog.state-pul .dialog-copy {
  top: 42.774%;
}

.home-state-dialog.state-pul .dialog-copy h2 {
  position: relative;
  left: 52.49%;
  transform: translateX(-50%);
  text-align: center;
}

.home-state-dialog .dialog-copy.dialog-copy-body {
  left: 12.5%;
  top:30%;
  width: 79%;
  display: block;
  text-align: left;
}

.home-state-dialog .dialog-copy.dialog-copy-body h2 {
  margin: 0 0 min(18px, calc(18 * 100vw / 1920));
  font-family: var(--font-body);
  font-size: min(48px, calc(48 * 100vw / 1920));
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  text-align: center;
}

.home-state-dialog .dialog-copy.dialog-copy-body p {
  font-size: min(52px, calc(52 * 100vw / 1920));
  line-height: 1.5;
  font-family: var(--font-body);
  font-weight: 700;
  text-align: left;  text-wrap: pretty;
}

.home-state-dialog.state-chemical .dialog-copy.dialog-copy-body {
  left: 12.5%;
  top: 40%;
  width: 79%;
}

.home-state-dialog.state-chemical .dialog-copy.dialog-copy-body p {
  font-size: min(34px, calc(34 * 100vw / 1920));
  line-height: 1.42;
}

.home-state-dialog.state-pul .dialog-copy.dialog-copy-body p {
  font-size: min(42.3px, calc(42.3 * 100vw / 1920));
  line-height: 1.35;
}

@media (max-width: 760px) {
  .home-state-dialog .dialog-inner,
  .home-state-dialog.state-chemical .dialog-inner,
  .home-state-dialog.state-enzyme .dialog-inner,
  .home-state-dialog.state-pul .dialog-inner {
    left: 12px;
    width: calc(100vw - 24px);
    margin-top: 0;
  }

  .home-state-dialog .dialog-copy h2,
  .home-state-dialog .dialog-copy p,
  .home-state-dialog.state-chemical .dialog-copy h2,
  .home-state-dialog.state-chemical .dialog-copy p,
  .home-state-dialog.state-enzyme .dialog-copy h2,
  .home-state-dialog.state-enzyme .dialog-copy p,
  .home-state-dialog.state-pul .dialog-copy h2,
  .home-state-dialog.state-pul .dialog-copy p {
    font-size: clamp(14px, 4vw, 28px);
    line-height: 1.2;
  }

  .home-state-dialog .dialog-inner,
  .home-state-dialog.state-chemical .dialog-inner,
  .home-state-dialog.state-enzyme .dialog-inner,
  .home-state-dialog.state-pul .dialog-inner {
    height: auto;
  }

  /* 2026-09-16 feedback "绿色框需拉长些 / 下半部分有遮挡": the phone copy runs at
     clamp(14px, 4vw, 28px) while the panel kept the desktop aspect ratio, so the
     last lines fell past the panel's bottom edge onto the cream page background
     where the cream-coloured text is invisible. Taller panels contain the copy. */
  .home-state-dialog .dialog-inner { aspect-ratio: 920 / 900; }

  .home-state-dialog.state-chemical .dialog-inner,
  .home-state-dialog.state-enzyme .dialog-inner { aspect-ratio: 948 / 930; }

  .home-state-dialog.state-pul .dialog-inner { aspect-ratio: 933 / 910; }

  .home-state-dialog .dialog-badge-pul { object-fit: contain; }

  .home-state-dialog .dialog-copy.dialog-copy-body,
  .home-state-dialog.state-chemical .dialog-copy.dialog-copy-body,
  .home-state-dialog.state-enzyme .dialog-copy.dialog-copy-body,
  .home-state-dialog.state-pul .dialog-copy.dialog-copy-body {
    left: 12%;
    top: 41.5%;
    width: 76%;
    gap: 8px;
  }

  .home-state-dialog.state-chemical .dialog-copy.dialog-copy-body { top: 40%; }

  .home-state-dialog .dialog-copy.dialog-copy-body h2,
  .home-state-dialog.state-chemical .dialog-copy.dialog-copy-body h2,
  .home-state-dialog.state-enzyme .dialog-copy.dialog-copy-body h2,
  .home-state-dialog.state-pul .dialog-copy.dialog-copy-body h2 {
    font-size: clamp(17px, 5vw, 22px);
    line-height: 1.05;
  }

  .home-state-dialog .dialog-copy.dialog-copy-body p,
  .home-state-dialog.state-chemical .dialog-copy.dialog-copy-body p,
  .home-state-dialog.state-enzyme .dialog-copy.dialog-copy-body p,
  .home-state-dialog.state-pul .dialog-copy.dialog-copy-body p {
    font-size: clamp(12px, 3.5vw, 16px);
    line-height: 1.22;
  }
}

/* Loading and Team — reconstructed from the current Lanhu detail canvases. */
.page-loader {
  display: block;
  overflow: hidden;
  background: rgb(255, 247, 229);
}

.loader-frame {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.loader-motion {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.loader-animation {
  position: absolute;
  left: 50%;
  top: 12.8703703704%;
  width: 62.5%;
  height: auto;
  display: block;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center;
}

.page-loader .loader-copy {
  position: absolute;
  left: 50%;
  top: 76.851851852%;
  width: 18.0208333333%;
  height: 4.537037037%;
  margin: 0;
  transform: translateX(-50%);
  color: rgb(255, 174, 63);
  font-family: var(--font-display);
  font-size: min(3.3854166667vw, 6.0185185185vh);
  font-weight: bold;
  line-height: min(1.1458333333vw, 2.037037037vh);
  text-align: center;
  white-space: nowrap;
}

.page-loader[data-background-index="0"] .loader-copy {
  color: rgb(255, 174, 63);
}

.page-loader[data-background-index="1"] .loader-copy {
  color: rgb(155, 162, 70);
}

.page-loader[data-background-index="2"] .loader-copy {
  color: rgb(255, 199, 0);
}

@media (max-width: 760px) {
  .loader-animation {
    top: 19%;
    width: 132%;
  }

  .page-loader .loader-copy {
    top: 69%;
    width: 70%;
    height: auto;
    font-size: clamp(22px, 7vw, 38px);
    line-height: 1;
  }
}

.page-team {
  --team-paper: rgb(255, 249, 190);
  --team-card-width: 622px;
  --team-card-height: 379px;
}

.team-canvas {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--team-paper);
  padding-bottom: 30%;
}

.team-hero {
  position: relative;
  min-height: min(60.21vw, 1156px);
  display: block;
  overflow: hidden;
  background: rgb(157, 157, 48);
}

.team-hero-missing {
  position: absolute;
  inset: 0;
  background: rgb(157, 157, 48);
}

.team-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.team-hero h1 {
  position: absolute;
  left: 50.625%;
  top: 83.99654%;
  right: auto;
  bottom: auto;
  z-index: 1;
  width: 42.760417%;
  height: 10.121107%;
  margin: 0;
  display: grid;
  place-items: center;
  color: transparent;
  font-family: var(--font-display);
  font-size: min(8.333333vw, 160px);
  font-weight: normal;
  line-height: 1;
  text-align: center;
  text-shadow: none;
  white-space: nowrap;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: min(0.3125vw, 6px) rgb(90, 90, 2);
}

.team-story {
  width: min(1490px, calc(100% - 100px));
  margin: 150px auto 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1290px);
  align-items: start;
  gap: 50px;
}

.team-story-content {
  min-width: 0;
}

.team-photo {
  min-height: 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
}

.team-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.team-photo figcaption {
  margin-top: 20px;
  color: rgb(112, 115, 42);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.team-section-nav {
  --team-section-axis: clamp(42.5px, 3.32vw, 63.75px);
  --team-section-track-width: clamp(15px, 1.2vw, 23px);
  --team-section-track-half-width: clamp(7.5px, 0.6vw, 11.5px);
  position: sticky;
  top: calc(var(--nav-height) + 72px);
  z-index: 8;
  align-self: start;
  width: 150px;
  height: clamp(354px, 27.71vw, 532px);
  overflow: visible;
}

.team-section-nav-track {
  position: absolute;
  top: 16.6666666667%;
  bottom: 16.6666666667%;
  left: calc(var(--team-section-axis) - var(--team-section-track-half-width));
  width: var(--team-section-track-width);
  background: url("https://static.igem.wiki/teams/6192/wiki/team/team-timeline-track-vertical.avif") center / 100% 100% no-repeat;
}

.team-section-nav ol {
  position: relative;
  z-index: 1;
  height: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  list-style: none;
}

.team-section-nav li {
  position: relative;
  min-height: 0;
}

.team-section-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  color: rgb(255, 255, 211);
  cursor: pointer;
}

.team-section-link:hover,
.team-section-link:focus-visible {
  z-index: 3;
  color: rgb(255, 255, 211);
}

.team-section-dot {
  position: absolute;
  left: var(--team-section-axis);
  top: 50%;
  width: clamp(59px, 4.64vw, 89px);
  aspect-ratio: 89 / 77;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center;
  opacity: 1;
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.team-section-dot img,
.team-section-active img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.team-section-active > img {
  position: relative;
  z-index: 1;
}

.team-section-active {
  position: absolute;
  left: var(--team-section-axis);
  top: 50%;
  width: clamp(332px, 25.94vw, 498px);
  aspect-ratio: 996 / 374;
  transform: translate(-16.9%, -50%) scale(0.96);
  transform-origin: 16.9% 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.team-section-active > span {
  position: absolute;
  left: 29%;
  top: 48.5%;
  z-index: 2;
  width: 68%;
  transform: translateY(-50%);
  color: rgb(255, 255, 211);
  font-family: var(--font-display);
  font-size: clamp(23px, 2vw, 38px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.team-section-link:hover .team-section-dot,
.team-section-link:focus-visible .team-section-dot {
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
}

.team-section-link:hover .team-section-active,
.team-section-link:focus-visible .team-section-active {
  transform: translate(-16.9%, -50%) scale(1);
  opacity: 1;
}

.team-section {
  width: 100%;
  margin: 0;
  padding: 80px 0 120px;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.team-overview {
  padding: 0 0 110px;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.team-section-leaders {
  padding-top: 0;
}

.team-section h2 {
  margin: 0 0 56px;
  color: rgb(152, 117, 95);
  font-family: var(--font-display);
  font-size: clamp(28px, 2.15vw, 42px);
  font-weight: 700;
  text-align: center;
}

.team-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 622px));
  justify-content: center;
  gap: 62px 46px;
}

.team-card-grid-single {
  grid-template-columns: minmax(0, 622px);
}

.team-member-card {
  position: relative;
  width: 100%;
  aspect-ratio: 622 / 379;
  padding: 0;
  overflow: hidden;
  border-radius: 30px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.team-card-back,
.team-card-front,
.team-card-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.team-card-back,
.team-card-frame {
  display: block;
  object-fit: contain;
}

.team-card-back,
.team-card-front {
  transition: opacity 150ms ease-out, transform 150ms ease-out;
}

.team-card-back { opacity: 1; }

.team-card-front {
  opacity: 0;
  transform: translateY(8px);
}

.team-member-card:hover .team-card-back,
.team-member-card:focus-visible .team-card-back,
.team-member-card.is-open .team-card-back {
  opacity: 0;
  transform: translateY(-8px);
}

.team-member-card:hover .team-card-front,
.team-member-card:focus-visible .team-card-front,
.team-member-card.is-open .team-card-front {
  opacity: 1;
  transform: translateY(0);
}

.team-card-portrait {
  position: absolute;
  left: 7.4%;
  top: 12.5%;
  width: 31.5%;
  height: 75%;
  object-fit: cover;
}

.team-card-copy {
  position: absolute;
  left: 44%;
  top: 19%;
  width: 47%;
  height: 68%;
  display: flex;
  flex-direction: column;
  color: rgb(112, 115, 42);
}

.team-card-copy h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(18px, 1.55vw, 30px);
}

.team-card-copy p {
  margin: 8px 0 0;
  color: rgb(152, 117, 95);
  font-size: clamp(12px, 0.9vw, 17px);
  line-height: 1.45;
}

/* Real biographies are long: keep the name and role fixed and let only the
   biography scroll inside the card so nothing overflows the artwork. */
.team-card-copy .team-card-bio {
  margin-top: 22px;
  min-height: 0;
  padding-right: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgb(202, 203, 51) transparent;
}

.team-card-copy .team-card-bio::-webkit-scrollbar {
  width: 6px;
}

.team-card-copy .team-card-bio::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: rgb(202, 203, 51);
}

/* An odd number of cards leaves one card alone on its row: centre it. */
.team-card-grid > .team-member-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 622px);
}

@media (max-width: 900px) {
  .team-story {
    width: calc(100% - 40px);
    margin-top: 70px;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 18px;
  }

  .team-section-nav { width: 100px; }
  .team-photo figcaption { font-size: 13px; }
  .team-section { padding: 56px 0 78px; }
  .team-overview { padding-bottom: 70px; }
  .team-section-leaders { padding-top: 0; }
  .team-card-grid { gap: 24px 18px; }
}

@media (max-width: 620px) {
  .team-hero { min-height: 62vw; }
  .team-hero h1 {
    left: auto;
    top: auto;
    right: 16px;
    bottom: 18px;
    width: auto;
    height: auto;
    font-size: clamp(44px, 14vw, 78px);
    -webkit-text-stroke-width: 1px;
  }
  .team-story { grid-template-columns: 1fr; }
  .team-section-nav { display: none; }
  .team-card-grid,
  .team-card-grid-single { grid-template-columns: 1fr; }
  .team-card-copy .team-card-bio { margin-top: 14px; }
}

/* Home design canvas — exact 1920 × 13557 Lanhu coordinate system. */
body.page-home {
  padding-top: 0;
}

/* On phones the hero art and the first narrative were designed to tuck under
   the navigation, but the bar is 76px of opaque lime there, so it clipped the
   wheat-pouring hero animation and the opening paragraph. Desktop keeps the
   overlap; phones start the canvas below the bar instead. */
@media (max-width: 760px) {
  body.page-home {
    padding-top: var(--nav-height);
  }
}

html:has(body.page-home) {
  scrollbar-width: none;
}

html:has(body.page-home)::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1181px) {
  .site-nav { padding: 0; }

  .site-brand {
    width: min(26.25vw, 504px);
    height: min(12.7083333333vw, 244px);
    padding: min(2.3958333333vw, 46px) 0 0 min(3.3333333333vw, 64px);
    font-family: var(--font-display);
    font-size: clamp(27px, 2.5vw, 48px);
    line-height: min(2.1354166667vw, 41px);
  }

  .nav-panel,
  .nav-list {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .nav-list { display: block; }

  .nav-list > li {
    position: absolute;
    z-index: 0;
    pointer-events: auto;
  }

  .nav-list > li::before {
    content: "";
    position: absolute;
    left: -3px;
    top: -12px;
    z-index: 0;
    width: calc(100% + 11px);
    height: 40px;
    background: var(--white-warm);
    opacity: 0;
    transform: skewX(-12deg) scale(0.92);
    transition: transform 150ms ease-out, opacity 150ms ease-out;
  }

  .nav-list > li:has(> .nav-link.active)::before,
  .nav-list > li.is-open::before,
  .nav-list > li:hover::before {
    opacity: 1;
    transform: skewX(-12deg) scale(1);
  }

  /* Awards was added to the mandated final navigation slot after the Lanhu
     design was drawn, so the row is translated left by 236px (12.2917%) to keep
     every item width and every 49.3333px inter-item gap identical to the
     design, with the last item still ending on the design's 96.1979% edge.
     The Awards hotspot is 134px so the uppercased label (125.4px) sits inside
     it with the same side padding as Model/Part instead of overflowing the
     white hover/skew plate. */
  .nav-list > li:nth-child(1) { left: 35.3125%; top: 45px; width: 4.7395833333%; height: 22px; }
  .nav-list > li:nth-child(2) { left: 42.6215277778%; top: 46px; width: 7.2395833333%; height: 20px; }
  .nav-list > li:nth-child(3) { left: 52.4305555556%; top: 45px; width: 7.5%; height: 22px; }
  .nav-list > li:nth-child(4) { left: 62.5%; top: 45px; width: 5.6770833333%; height: 22px; }
  .nav-list > li:nth-child(5) { left: 70.7465277778%; top: 46px; width: 4.2708333333%; height: 20px; }
  .nav-list > li:nth-child(6) { left: 77.5868055556%; top: 45px; width: 9.0625%; height: 22px; }
  .nav-list > li:nth-child(7) { left: 89.21875%; top: 45px; width: 6.9791666667%; height: 22px; }

  .nav-link {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    display: block;
    overflow: visible;
    font-family: var(--font-display);
    font-size: clamp(18px, 1.4583333333vw, 28px);
    line-height: 1;
    text-align: center;
  }

  .nav-group-toggle::after { display: none; }

  .nav-dropdown {
    top: 60px;
  }

  .nav-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    top: -40px;
    width: 100%;
    height: 40px;
  }

  .nav-link::before {
    display: none;
  }

  .nav-progress {
    top: 100px;
    bottom: auto;
  }

  .nav-progress-mascot {
    top: -30px;
    bottom: auto;
  }
}

.page-home .home-canvas {
  --home-after-chemical-shift: calc(-440 * 100vw / 1920);
  --home-post-kettle-shift: calc(-340 * 100vw / 1920);
  --home-project-cloud-shift: calc(-340 * 100vw / 1920);
  width: 100vw;
  height: calc(100vw * 13800 / 1920);
  min-height: 0;
  overflow: hidden;
  background-color: rgb(253, 251, 230);
  background-image:
    url("https://static.igem.wiki/teams/6192/wiki/common/home-wave-left-outer.avif"),
    url("https://static.igem.wiki/teams/6192/wiki/common/home-wave-right-outer.avif"),
    url("https://static.igem.wiki/teams/6192/wiki/common/home-wave-left.avif"),
    url("https://static.igem.wiki/teams/6192/wiki/common/home-wave-right.avif");
  background-position:
    left 3.125vw,
    right 3.125vw,
    left 3.125vw,
    right 3.125vw;
  background-size:
    34.6875% auto,
    34.53125% auto,
    34.6875% auto,
    34.53125% auto;
  background-repeat: repeat-y;
  padding-bottom: 30%;
}

.page-home .home-after-chemical {
  transform: translate3d(0, var(--home-after-chemical-shift), 0);
}

.page-home .home-molecule-stage-one,
.page-home .home-process-stage,
.page-home .home-scene-final {
  transform: translate3d(
    0,
    calc(var(--home-after-chemical-shift) + var(--home-post-kettle-shift)),
    0
  );
}

.page-home .home-scene-cloud {
  transform: translate3d(
    0,
    calc(
      var(--home-after-chemical-shift)
      + var(--home-post-kettle-shift)
      + var(--home-project-cloud-shift)
    ),
    0
  );
}

.page-home.has-js .home-canvas { background-image: none; }

.page-home .home-canvas::before,
.page-home .home-canvas::after {
  display: none;
}

.page-home .home-wave-layers {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100vw;
  height: var(--home-wave-visible-height, 100vh);
  display: none;
  overflow: hidden;
  pointer-events: none;
}

.page-home.has-js .home-wave-layers { display: block; }

.page-home .home-wave {
  position: absolute;
  top: -0.4vw;
  bottom: -0.4vw;
  display: block;
  background-position: center calc(3.525vw - var(--home-wave-scroll-y, 0px));
  background-size: 100% auto;
  background-repeat: repeat-y;
  pointer-events: none;
  will-change: transform;
}

.page-home .home-wave-left {
  left: 0;
  width: 34.6875%;
}

.page-home .home-wave-right {
  right: 0;
  width: 34.53125%;
}

.page-home .home-wave-left-outer {
  z-index: 2;
  background-image: url("https://static.igem.wiki/teams/6192/wiki/common/home-wave-left-outer.avif");
  transform-origin: left center;
  animation: home-wave-drift-a 3600ms ease-in-out infinite alternate;
}

.page-home .home-wave-left-inner {
  z-index: 1;
  background-image: url("https://static.igem.wiki/teams/6192/wiki/common/home-wave-left.avif");
  transform-origin: left center;
  animation: home-wave-drift-b 3900ms ease-in-out infinite alternate;
}

.page-home .home-wave-right-outer {
  z-index: 2;
  background-image: url("https://static.igem.wiki/teams/6192/wiki/common/home-wave-right-outer.avif");
  transform-origin: right center;
  animation: home-wave-drift-b 3700ms ease-in-out infinite alternate;
}

.page-home .home-wave-right-inner {
  z-index: 1;
  background-image: url("https://static.igem.wiki/teams/6192/wiki/common/home-wave-right.avif");
  transform-origin: right center;
  animation: home-wave-drift-a 4000ms ease-in-out infinite alternate;
}

@keyframes home-wave-drift-a {
  0% { transform: translate3d(0, -0.2vw, 0) scaleX(1); }
  50% { transform: translate3d(0, 0.3vw, 0) scaleX(1.012); }
  100% { transform: translate3d(0, -0.08vw, 0) scaleX(1.004); }
}

@keyframes home-wave-drift-b {
  0% { transform: translate3d(0, 0.2vw, 0) scaleX(1.01); }
  50% { transform: translate3d(0, -0.26vw, 0) scaleX(1); }
  100% { transform: translate3d(0, 0.07vw, 0) scaleX(1.006); }
}

.page-home .home-dot-field,
.page-home .home-dot-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-home .home-dot-field {
  z-index: 0;
}

.page-home .home-mascot-decorations {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.page-home .home-mascot-crop {
  position: absolute;
  display: block;
  overflow: hidden;
}

.page-home .home-mascot-crop img {
  position: absolute;
  max-width: none;
  height: auto;
}

.page-home .home-mascot-bread {
  left: 87.5%;
  top: calc(151 * 100vw / 1920);
  width: 6.9791666667%;
  height: calc(146 * 100vw / 1920);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%, 0 32%, 20% 32%);
}

.page-home .home-mascot-bread img {
  left: calc(-118.6666666667 * 100vw / 1920);
  top: calc(-22.6666666667 * 100vw / 1920);
  width: calc(402.6666666667 * 100vw / 1920);
}

.page-home .home-mascot-carrot {
  left: 3.6979166667%;
  top: calc(414 * 100vw / 1920);
  width: 8.6458333333%;
  height: calc(252 * 100vw / 1920);
  clip-path: polygon(0 0, 85% 0, 85% 30%, 100% 30%, 100% 100%, 53% 100%, 53% 75%, 0 75%);
}

.page-home .home-mascot-carrot img {
  left: 0;
  top: calc(-12.3356643357 * 100vw / 1920);
  width: calc(532.1958041958 * 100vw / 1920);
}

.page-home .home-mascot-starch {
  left: 83.90625%;
  top: calc(904 * 100vw / 1920);
  width: 11.1458333333%;
  height: calc(244 * 100vw / 1920);
  clip-path: polygon(61% 0, 100% 0, 100% 69%, 74% 69%, 74% 80%, 100% 80%, 100% 100%, 49% 100%, 49% 90%, 4% 77%, 9% 53%, 23% 27%, 53% 13%, 61% 13%);
}

.page-home .home-mascot-starch img {
  left: calc(-276.5333333333 * 100vw / 1920);
  top: 0;
  width: calc(491.2533333333 * 100vw / 1920);
}

.page-home .home-mascot-isolated {
  overflow: visible;
  clip-path: none;
}

.page-home .home-mascot-isolated img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-home .wave-mascot {
  position: fixed;
  top: var(--mascot-y);
  right: auto;
  bottom: auto;
  z-index: 2;
  opacity: 0;
}

.page-home .wave-mascot[data-side="left"] {
  left: 3.6979166667%;
  right: auto;
}

.page-home .wave-mascot[data-side="right"] {
  right: 5.5208333333%;
  left: auto;
}

.page-home .wave-mascot.is-visible { opacity: 1; }

.page-home .home-dot-layer {
  top: calc(var(--dot-layer-top) * 100vw / 1920);
  bottom: auto;
  height: calc(1260 * 100vw / 1920);
  opacity: 0.8;
  background-image:
    radial-gradient(circle 3.75vw at 24.1666666667% 6.0317460317%, rgb(249, 238, 176) 98%, transparent 100%),
    radial-gradient(circle 3.75vw at 61.25% 6.0317460317%, rgb(249, 238, 176) 98%, transparent 100%),
    radial-gradient(circle 3.75vw at 42.9166666667% 21.9047619048%, rgb(249, 238, 176) 98%, transparent 100%),
    radial-gradient(circle 3.75vw at 79.1666666667% 21.9047619048%, rgb(249, 238, 176) 98%, transparent 100%),
    radial-gradient(circle 3.75vw at 22.7083333333% 41.5873015873%, rgb(249, 238, 176) 98%, transparent 100%),
    radial-gradient(circle 3.75vw at 59.7916666667% 41.5873015873%, rgb(249, 238, 176) 98%, transparent 100%),
    radial-gradient(circle 3.75vw at 41.6666666667% 57.4603174603%, rgb(249, 238, 176) 98%, transparent 100%),
    radial-gradient(circle 3.75vw at 77.7083333333% 57.4603174603%, rgb(249, 238, 176) 98%, transparent 100%),
    radial-gradient(circle 3.75vw at 22.7083333333% 78.4126984127%, rgb(249, 238, 176) 98%, transparent 100%),
    radial-gradient(circle 3.75vw at 59.7916666667% 78.4126984127%, rgb(249, 238, 176) 98%, transparent 100%),
    radial-gradient(circle 3.75vw at 41.6666666667% 93.9682539683%, rgb(249, 238, 176) 98%, transparent 100%),
    radial-gradient(circle 3.75vw at 77.7083333333% 93.9682539683%, rgb(249, 238, 176) 98%, transparent 100%);
  background-repeat: no-repeat;
}

.page-home .home-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  pointer-events: none;
}

.page-home .home-art {
  max-width: none;
  height: auto;
  pointer-events: none;
}

.page-home .home-copy {
  width: 32.7604166667%;
  color: rgb(161, 119, 98);
  font-family: var(--font-display);
}

.page-home .home-copy h1,
.page-home .home-copy h2,
.page-home .home-copy p {
  font-size: 2.5vw;
  line-height: 1.2291666667;
  white-space: nowrap;
}

.page-home .home-copy p { margin-top: 0; }

.page-home .home-hat-motion {
  left: calc(112 * 100vw / 1920);
  top: calc(-116 * 100vw / 1920);
  width: calc(1002 * 100vw / 1920);
  height: calc(1005 * 100vw / 1920);
  pointer-events: none;
}

.page-home .home-hat-static,
.page-home .home-hat-animation {
  position: absolute;
  display: block;
  pointer-events: none;
}

.page-home .home-hat-static {
  left: 15.369261477%;
  top: 38.1094527363%;
  width: 71.0578842315%;
  height: auto;
  opacity: 1;
  pointer-events: auto;
}

.page-home .home-hat-animation {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.page-home .home-hat-motion.is-playing .home-hat-static { opacity: 0; }
.page-home .home-hat-motion.is-playing .home-hat-animation { opacity: 1; }
.page-home .home-scene-one .home-copy { left: 50.3125%; top: 2.6935264826%; }

.page-home .home-art-character { left: 17.3958333333%; top: calc(750 * 100vw / 1920); width: 30.0520833333%; }

.page-home .home-bread-character,
.page-home .home-donut-hover img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.page-home .home-donut-hover {
  position: absolute;
  left: 37.0017331023%;
  top: 41.3010590015%;
  z-index: 2;
  display: block;
  width: 27.9029462738%;
  height: auto;
  opacity: 0;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 180ms ease-out;
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .page-home .home-donut-hover:hover {
    opacity: 1;
    transform: scale(1.15);
  }
}

.page-home .home-scene-two .home-copy { left: 48.3333333333%; top: 6.9262117097%; }

.page-home .home-art-meter-left { left: 27.7083333333%; top: calc(1489 * 100vw / 1920); width: 48.8541666667%; }
.page-home .home-art-meter-right { left: 48.9583333333%; top: calc(2426 * 100vw / 1920); width: 43.1770833333%; }
.page-home .home-art-glucose-meter-upper { left: 63.9583333333%; top: calc(1533 * 100vw / 1920); width: 12.34375%; }
.page-home .home-art-glucose-meter-lower { left: 78.6458333333%; top: calc(2481.14 * 100vw / 1920); width: 12.34375%; }
.page-home .home-scene-three .home-copy { left: 13.6979166667%; top: 19.4816659122%; }

.page-home .home-copy.home-narrative-copy,
.page-home .home-narrative {
  color: rgba(161, 119, 98, 1);
  font-family: var(--font-body);
  font-size: calc(43 * 100vw / 1920);
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  text-wrap: wrap;
  white-space: normal;
}

.page-home .home-copy.home-narrative-copy p {
  font-size: inherit;
  line-height: inherit;
  text-wrap: wrap;
  white-space: normal;
}

.page-home .home-copy-line {
  display: block;
  white-space: nowrap;
}

.page-home .home-scene-one .home-copy.home-narrative-copy {
  left: 50.3125%;
  top: calc(325 * 100vw / 1920);
  width: 30.833333%;
}

.page-home .home-scene-two .home-copy.home-narrative-copy {
  left: 44.21875%;
  top: calc(817 * 100vw / 1920);
  width: 40.052083%;
}

.page-home .home-scene-three .home-copy.home-narrative-copy {
  left: 13.59375%;
  top: calc(2712 * 100vw / 1920);
  width: 34.270833%;
}

.page-home .home-narrative {
  position: absolute;
  z-index: 3;
  margin: 0;
  pointer-events: none;
}

.page-home .home-map-copy {
  left: 20.3125%;
  top: calc(4344 * 100vw / 1920);
  width: 58.4375%;
}

.page-home .home-physical-copy {
  left: 46%;
  top: calc(6350 * 100vw / 1920);
  width: 40%;
  font-size: calc(34 * 100vw / 1920);
  line-height: 1.45;
  opacity: 0;
  transition: opacity 240ms ease-out;
}

.page-home .home-scene-object:has(.home-kettle-story[data-state="moved"]) .home-physical-copy {
  opacity: 1;
  transition-delay: 360ms;
}

.page-home:has(.home-kettle-story[data-state="moved"]) .wave-mascot {
  opacity: 0;
}

.page-home .home-triple-enzyme-copy {
  left: 21.197917%;
  top: calc(8316 * 100vw / 1920);
  width: 56.979167%;
}

@supports (animation-timeline: scroll()) {
  .page-home .home-art-meter-right,
  .page-home .home-art-glucose-meter-lower {
    display: none;
  }

  .page-home .home-art-meter-left {
    transform-origin: 0 0;
    animation: home-meter-character-scroll 1ms linear both;
    animation-timeline: scroll(root block);
    animation-range:
      calc(1818.5 * 100vw / 1920 - 50vh)
      calc(2711 * 100vw / 1920 - 50vh);
  }

  .page-home .home-art-glucose-meter-upper {
    transform-origin: 0 0;
    animation: home-meter-device-scroll 1ms linear both;
    animation-timeline: scroll(root block);
    animation-range:
      calc(1818.5 * 100vw / 1920 - 50vh)
      calc(2711 * 100vw / 1920 - 50vh);
  }

  .page-home .home-scene-three .home-copy {
    opacity: 0;
    animation: home-meter-copy-scroll 1ms linear both;
    animation-timeline: scroll(root block);
    animation-range:
      calc(1818.5 * 100vw / 1920 - 50vh)
      calc(2711 * 100vw / 1920 - 50vh);
  }
}

@keyframes home-meter-character-scroll {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to {
    transform:
      translate3d(21.25vw, calc(937.0060681933 * 100vw / 1920), 0)
      scale(0.8837953092);
  }
}

@keyframes home-meter-device-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(14.6875vw, calc(948.14 * 100vw / 1920), 0); }
}

@keyframes home-meter-copy-scroll {
  0%, 82% { opacity: 0; }
  100% { opacity: 1; }
}

.page-home .home-art-map {
  left: 16.3020833333%;
  top: calc(3352 * 100vw / 1920);
  width: 69.2708333333%;
  aspect-ratio: 2660 / 1862;
  pointer-events: auto;
}

.page-home .home-art-map:focus-visible {
  outline: max(2px, 0.15625vw) solid rgb(228, 158, 79);
  outline-offset: max(3px, 0.208333vw);
}

.page-home .home-map-image,
.page-home .home-map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-home .home-map-image {
  object-fit: fill;
  pointer-events: none;
}

.page-home .home-map-overlay {
  z-index: 2;
  opacity: 0;
  transition: opacity 180ms ease-out;
  pointer-events: none;
}

.page-home .home-map-overlay.is-active { opacity: 1; }

.page-home .home-map-regions {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  pointer-events: none;
}

.page-home .home-map-region {
  position: absolute;
  left: calc(var(--region-x) * 100% / 1330);
  top: calc(var(--region-y) * 100% / 931);
  z-index: 1;
  width: calc(var(--region-width) * 100% / 1330);
  height: calc(var(--region-height) * 100% / 931);
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 1;
  pointer-events: none;
}

.page-home .home-map-region img {
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: 50% 50%;
  transition: transform 180ms ease-out;
}

.page-home .home-map-region.is-active {
  z-index: 2;
}

.page-home .home-map-region.is-active img { transform: translate3d(0, 0, 0) scale(1.12); }

.page-home .home-map-region:focus-visible {
  outline: max(2px, 0.15625vw) solid rgb(228, 158, 79);
  outline-offset: max(2px, 0.15625vw);
}
.page-home .home-art-enzyme-detail { left: 50.4166666667%; top: calc(5371 * 100vw / 1920); width: 4.1145833333%; }
.page-home .home-art-enzyme-bottle { left: 37.8645833333%; top: calc(5119 * 100vw / 1920); width: 14.0104166667%; }
.page-home .home-art-enzyme-hand { left: 47.2916666667%; top: calc(5371 * 100vw / 1920); width: 13.8020833333%; }
.page-home .home-art-enzyme-sparkles { left: 37.5520833333%; top: calc(4993 * 100vw / 1920); width: 26.4583333333%; }

.page-home .home-art-enzyme-hand.is-flashing {
  animation: home-enzyme-hand-flash 960ms ease-in-out infinite;
}

.page-home:has(#chemical-dialog[open]) .home-art-enzyme-hand {
  opacity: 1;
  animation: none;
}

.page-home .home-enzyme-trigger {
  position: absolute;
  left: 37.8645833333%;
  top: calc(5119 * 100vw / 1920);
  z-index: 4;
  width: 23.2291666667%;
  height: 3.5687339671%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.page-home .home-enzyme-trigger:focus-visible {
  outline: max(2px, 0.15625vw) solid rgb(255, 113, 93);
  outline-offset: max(2px, 0.15625vw);
}

@keyframes home-enzyme-hand-flash {
  0%, 42%, 100% { opacity: 1; }
  62%, 78% { opacity: 0.28; }
}

.page-home .home-enzyme-particles {
  display: none;
  aspect-ratio: 1016 / 1436;
  overflow: hidden;
  contain: layout paint;
}

.page-home.has-js .home-enzyme-particles-fallback { display: none; }
.page-home.has-js .home-enzyme-particles { display: block; }

.page-home .home-enzyme-particle {
  position: absolute;
  left: calc(var(--particle-x) * 100% / 1016);
  top: calc(var(--particle-y) * 100% / 1436);
  width: calc(var(--particle-width) * 100% / 1016);
  height: calc(var(--particle-height) * 100% / 1436);
  display: block;
  max-width: none;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.page-home .home-kettle-story {
  position: absolute;
  left: 36.875%;
  top: calc(6380 * 100vw / 1920);
  z-index: 2;
  width: calc(733 * 100vw / 1920);
  height: calc(966 * 100vw / 1920);
  pointer-events: none;
}

.page-home .home-kettle-story img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.page-home .home-kettle-closed {
  left: 0;
  top: calc(103 * 100vw / 1920);
  z-index: 2;
  width: calc(329 * 100vw / 1920);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 180ms linear;
}

.page-home .home-kettle-open-group {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 3;
  width: calc(733 * 100vw / 1920);
  height: calc(566 * 100vw / 1920);
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms linear;
}

/* Lanhu 点击图-1 `图层 23` is the independent body layer with the open rim
   (345x455 at group offset 0,103), so the group no longer crops the closed
   composite. Uploaded as kettle-body-open.avif. */
.page-home .home-kettle-body-fallback {
  position: absolute;
  left: 0;
  top: calc(103 * 100vw / 1920);
  z-index: 1;
  width: calc(345 * 100vw / 1920);
  height: calc(455 * 100vw / 1920);
  display: block;
}

.page-home .home-kettle-body-fallback img {
  left: 0;
  top: 0;
  width: calc(345 * 100vw / 1920);
  height: calc(455 * 100vw / 1920) !important;
}

.page-home .home-kettle-lid {
  left: calc(12 * 100vw / 1920);
  top: 0;
  z-index: 4;
  width: calc(282 * 100vw / 1920);
  transform: translate3d(0, calc(82 * 100vw / 1920), 0);
  opacity: 0;
  transition:
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 140ms linear;
}

.page-home .home-kettle-newspaper {
  left: calc(297 * 100vw / 1920);
  top: calc(250 * 100vw / 1920);
  z-index: 3;
  width: calc(436 * 100vw / 1920);
  opacity: 0;
  transform: translate3d(calc(-180 * 100vw / 1920), calc(126 * 100vw / 1920), 0) scale(0.18);
  transform-origin: 0 100%;
  transition:
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1) 90ms,
    opacity 160ms linear 90ms;
}

.page-home .home-kettle-question {
  left: calc(450 * 100vw / 1920);
  top: calc(411 * 100vw / 1920);
  z-index: 5;
  width: calc(64 * 100vw / 1920);
  opacity: 0;
  transform: translate3d(calc(-235 * 100vw / 1920), calc(-2 * 100vw / 1920), 0) scale(0.2);
  transform-origin: 50% 100%;
  transition:
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1) 180ms,
    opacity 140ms linear 180ms;
}

.page-home .home-kettle-story[data-state="open"] .home-kettle-closed,
.page-home .home-kettle-story[data-state="moved"] .home-kettle-closed {
  opacity: 0;
}

.page-home .home-kettle-story[data-state="open"] .home-kettle-open-group,
.page-home .home-kettle-story[data-state="moved"] .home-kettle-open-group {
  opacity: 1;
}

.page-home .home-kettle-story[data-state="open"] .home-kettle-lid,
.page-home .home-kettle-story[data-state="moved"] .home-kettle-lid,
.page-home .home-kettle-story[data-state="open"] .home-kettle-newspaper,
.page-home .home-kettle-story[data-state="moved"] .home-kettle-newspaper,
.page-home .home-kettle-story[data-state="open"] .home-kettle-question,
.page-home .home-kettle-story[data-state="moved"] .home-kettle-question {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.page-home .home-kettle-story[data-state="moved"] .home-kettle-open-group {
  transform: translate3d(calc(-467 * 100vw / 1920), 0, 0);
}

/* Home / starch cutting: the first molecular sequence is isolated from later stages. */
.page-home .home-molecule-stage-one {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}

.page-home .home-molecule-one-screen {
  position: absolute;
  left: calc(323 * 100vw / 1920);
  z-index: 3;
  width: calc(1342 * 100vw / 1920);
  height: calc(929 * 100vw / 1920);
  transform: scale(var(--molecule-screen-scale, 1));
  transform-origin: 50% 0;
  pointer-events: none;
}

.page-home .home-molecule-one-static-screen {
  top: calc(7413 * 100vw / 1920);
}

.page-home .home-molecule-one-animation-screen {
  top: calc(8865 * 100vw / 1920);
}

.page-home .home-molecule-one-initial {
  position: absolute;
  left: calc(66 * 100vw / 1920);
  top: calc(99 * 100vw / 1920);
  width: calc(1186 * 100vw / 1920);
  height: auto;
  display: block;
  max-width: none;
  transform: translate3d(0, 0, 0);
  transform-origin: 50% 50%;
  pointer-events: none;
}

.page-home .home-molecule-one-animation-initial {
  position: absolute;
  left: calc(78 * 100vw / 1920);
  top: calc(99 * 100vw / 1920);
  width: calc(1186 * 100vw / 1920);
  height: auto;
  display: block;
  max-width: none;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transform-origin: 50% 50%;
  pointer-events: none;
}

.page-home .home-molecule-one-scissors {
  position: absolute;
  left: calc(1103 * 100vw / 1920);
  z-index: 5;
  width: calc(218 * 100vw / 1920);
  height: calc(241 * 100vw / 1920);
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgb(161, 119, 98);
  box-shadow: none;
  opacity: 0;
  transform: translate3d(0, calc(24 * 100vw / 1920), 0);
  pointer-events: none;
  cursor: pointer;
}

.page-home .home-molecule-one-scissors img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(187 * 100vw / 1920);
  display: block;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

.page-home .home-molecule-one-scissors span {
  position: absolute;
  left: calc(24 * 100vw / 1920);
  top: calc(210 * 100vw / 1920);
  width: calc(192 * 100vw / 1920);
  height: calc(31 * 100vw / 1920);
  display: block;
  overflow: visible;
  font-family: var(--font-display);
  font-size: calc(41.7 * 100vw / 1920);
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  pointer-events: none;
}

.page-home .home-molecule-one-scissors-initial {
  top: calc(3 * 100vw / 1920);
}

.page-home .home-molecule-one-scissors-final {
  top: calc(16 * 100vw / 1920);
}

.page-home .home-molecule-one-result {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.page-home .home-molecule-one-result-half {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}

.page-home .home-molecule-one-result-half img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
}

.page-home .home-molecule-one-result-left {
  clip-path: inset(0 50% 0 0);
}

.page-home .home-molecule-one-result-right {
  clip-path: inset(0 0 0 50%);
}

.page-home .home-molecule-stage-one[data-state="idle"] .home-molecule-one-scissors-initial {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-home .home-molecule-stage-one[data-state="running"] .home-molecule-one-scissors-initial {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.page-home .home-molecule-stage-one[data-state="running"] .home-molecule-one-scissors-initial img {
  will-change: transform;
  animation: molecule-one-scissors-cut 760ms ease-in-out 80ms both;
}

.page-home .home-molecule-stage-one[data-state="running"] .home-molecule-one-animation-initial {
  will-change: transform;
  animation:
    molecule-one-chain-shake 860ms ease-in-out 100ms both,
    molecule-one-chain-exit 180ms ease-out 620ms both;
}

.page-home .home-molecule-stage-one[data-state="running"] .home-molecule-one-result {
  opacity: 1;
}

.page-home .home-molecule-stage-one[data-state="running"] .home-molecule-one-result-left {
  animation: molecule-one-result-left 420ms ease-out 520ms both;
}

.page-home .home-molecule-stage-one[data-state="running"] .home-molecule-one-result-right {
  animation: molecule-one-result-right 420ms ease-out 520ms both;
}

.page-home .home-molecule-stage-one[data-state="complete"] .home-molecule-one-scissors-final {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.page-home .home-molecule-stage-one[data-state="complete"] .home-molecule-one-animation-initial,
.page-home .home-molecule-stage-one[data-state="complete"] .home-molecule-one-scissors-initial {
  opacity: 0;
  pointer-events: none;
}

.page-home .home-molecule-stage-one[data-state="complete"] .home-molecule-one-scissors-final {
  animation: molecule-one-scissors-enter 160ms ease-out both;
}

.page-home .home-molecule-stage-one[data-state="complete"] .home-molecule-one-result {
  opacity: 1;
}

.page-home .home-molecule-stage-one[data-state="complete"] .home-molecule-one-result-left {
  animation: molecule-one-result-left 520ms ease-out both;
}

.page-home .home-molecule-stage-one[data-state="complete"] .home-molecule-one-result-right {
  animation: molecule-one-result-right 520ms ease-out both;
}

.page-home .home-molecule-one-scissors:focus-visible {
  outline: 3px solid rgb(161, 119, 98);
  outline-offset: 4px;
}

@keyframes molecule-one-scissors-enter {
  from { opacity: 0.65; transform: translate3d(0, calc(10 * 100vw / 1920), 0) scale(0.94); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes molecule-one-scissors-cut {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  18% { transform: translate3d(calc(-8 * 100vw / 1920), 0, 0) rotate(-5deg) scale(1.07); }
  40% { transform: translate3d(calc(9 * 100vw / 1920), calc(-3 * 100vw / 1920), 0) rotate(5deg) scale(1.07); }
  64% { transform: translate3d(calc(-6 * 100vw / 1920), calc(2 * 100vw / 1920), 0) rotate(-4deg) scale(1.04); }
  82% { transform: translate3d(calc(4 * 100vw / 1920), 0, 0) rotate(3deg) scale(1.02); }
}

@keyframes molecule-one-chain-shake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  12.5% { transform: translate3d(calc(-7 * 100vw / 1920), calc(1 * 100vw / 1920), 0); }
  25% { transform: translate3d(calc(7 * 100vw / 1920), calc(-1 * 100vw / 1920), 0); }
  37.5% { transform: translate3d(calc(-6 * 100vw / 1920), 0, 0); }
  50% { transform: translate3d(calc(6 * 100vw / 1920), calc(1 * 100vw / 1920), 0); }
  62.5% { transform: translate3d(calc(-4 * 100vw / 1920), calc(-1 * 100vw / 1920), 0); }
  75% { transform: translate3d(calc(4 * 100vw / 1920), 0, 0); }
  87.5% { transform: translate3d(calc(-2 * 100vw / 1920), 0, 0); }
}

@keyframes molecule-one-chain-exit {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes molecule-one-result-left {
  from { opacity: 0; transform: translate3d(calc(36 * 100vw / 1920), 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes molecule-one-result-right {
  from { opacity: 0; transform: translate3d(calc(-36 * 100vw / 1920), 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Home / enzyme and PUL: independent single-screen processing sequences. */
.page-home .home-process-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}

.page-home .home-process-screen {
  position: absolute;
  z-index: 3;
  transform: scale(var(--process-screen-scale, 1));
  transform-origin: 50% 0;
  pointer-events: none;
}

.page-home .home-process-stage-enzyme .home-process-screen {
  left: calc(268 * 100vw / 1920);
  top: calc(10153 * 100vw / 1920);
  width: calc(1450 * 100vw / 1920);
  height: calc(992 * 100vw / 1920);
}

.page-home .home-process-stage-pul .home-process-screen {
  left: calc(280 * 100vw / 1920);
  top: calc(11018 * 100vw / 1920);
  width: calc(1423 * 100vw / 1920);
  height: calc(990 * 100vw / 1920);
}

.page-home .home-process-chain {
  position: absolute;
  z-index: 3;
  display: block;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
}

.page-home .home-process-chain-result { opacity: 0; }

.page-home .home-process-stage-enzyme .home-process-chain-initial {
  left: calc(42 * 100vw / 1920);
  top: calc(35 * 100vw / 1920);
  width: calc(1383 * 100vw / 1920);
  height: calc(957 * 100vw / 1920);
}

.page-home .home-process-stage-enzyme .home-process-chain-result {
  left: 0;
  top: calc(171 * 100vw / 1920);
  width: calc(1450 * 100vw / 1920);
  height: calc(752 * 100vw / 1920);
}

.page-home .home-process-stage-pul .home-process-chain-initial {
  left: calc(138 * 100vw / 1920);
  top: calc(180 * 100vw / 1920);
  width: calc(1285 * 100vw / 1920);
  height: calc(741 * 100vw / 1920);
}

.page-home .home-process-stage-pul .home-process-chain-result {
  left: 0;
  top: calc(47 * 100vw / 1920);
  width: calc(1362 * 100vw / 1920);
  height: calc(943 * 100vw / 1920);
}

.page-home .home-process-trigger {
  position: absolute;
  z-index: 5;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgb(161, 119, 98);
  box-shadow: none;
  opacity: 0;
  transform: translate3d(0, calc(24 * 100vw / 1920), 0);
  pointer-events: none;
  cursor: pointer;
}

.page-home .home-process-trigger-visual,
.page-home .home-process-trigger-visual img,
.page-home .home-process-trigger-label {
  position: absolute;
  display: block;
  pointer-events: none;
}

.page-home .home-process-trigger-visual { left: 0; top: 0; }

.page-home .home-process-trigger-visual img {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
}

.page-home .home-process-trigger-label {
  overflow: visible;
  color: rgb(161, 119, 98);
  font-family: var(--font-display);
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

.page-home .home-process-stage-enzyme .home-process-trigger {
  left: calc(1199 * 100vw / 1920);
  top: 0;
  width: calc(202 * 100vw / 1920);
  height: calc(323 * 100vw / 1920);
}

.page-home .home-process-stage-enzyme .home-process-trigger-visual {
  width: calc(152 * 100vw / 1920);
  height: calc(278 * 100vw / 1920);
}

.page-home .home-process-stage-enzyme .home-process-trigger-label {
  left: calc(3 * 100vw / 1920);
  top: calc(291 * 100vw / 1920);
  width: calc(199 * 100vw / 1920);
  height: calc(32 * 100vw / 1920);
  font-size: calc(42.9 * 100vw / 1920);
}

.page-home .home-process-stage-pul .home-process-trigger {
  left: calc(907 * 100vw / 1920);
  top: 0;
  width: calc(471 * 100vw / 1920);
  height: calc(308 * 100vw / 1920);
}

.page-home .home-process-stage-pul .home-process-trigger-visual {
  width: calc(471 * 100vw / 1920);
  height: calc(258 * 100vw / 1920);
}

.page-home .home-process-stage-pul .home-process-trigger-label {
  left: calc(237 * 100vw / 1920);
  width: calc(195 * 100vw / 1920);
  height: calc(32 * 100vw / 1920);
  font-size: calc(42.3 * 100vw / 1920);
}

.page-home .home-process-stage-pul .home-process-trigger-initial .home-process-trigger-label {
  top: calc(251 * 100vw / 1920);
}

.page-home .home-process-stage-pul .home-process-trigger-final .home-process-trigger-label {
  top: calc(276 * 100vw / 1920);
}

.page-home .home-process-stage[data-state="idle"] .home-process-trigger-initial {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-home .home-process-stage[data-state="running"] .home-process-trigger-initial {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.page-home .home-process-stage[data-state="running"] .home-process-trigger-initial .home-process-trigger-visual {
  will-change: transform;
  animation: home-process-trigger-shake 860ms ease-in-out 100ms both;
}

.page-home .home-process-stage[data-state="running"] .home-process-chain-initial {
  animation: home-process-chain-exit 180ms ease-out 620ms both;
}

.page-home .home-process-stage[data-state="running"] .home-process-chain-result {
  opacity: 1;
  animation: home-process-result-enter 420ms ease-out 520ms both;
}

.page-home .home-process-stage[data-state="complete"] .home-process-chain-initial,
.page-home .home-process-stage[data-state="complete"] .home-process-trigger-initial {
  opacity: 0;
  pointer-events: none;
}

.page-home .home-process-stage[data-state="complete"] .home-process-chain-result {
  opacity: 1;
  animation: home-process-result-enter 520ms ease-out both;
}

.page-home .home-process-stage[data-state="complete"] .home-process-trigger-final {
  pointer-events: auto;
  animation: home-process-trigger-enter 160ms ease-out both;
}

.page-home .home-process-trigger:focus-visible {
  outline: 3px solid rgb(161, 119, 98);
  outline-offset: 4px;
}

@keyframes home-process-trigger-enter {
  from { opacity: 0.65; transform: translate3d(0, calc(10 * 100vw / 1920), 0) scale(0.94); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes home-process-trigger-shake {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  12.5% { transform: translate3d(calc(-10 * 100vw / 1920), 0, 0) rotate(-5deg) scale(1.06); }
  25% { transform: translate3d(calc(10 * 100vw / 1920), 0, 0) rotate(5deg) scale(1.06); }
  37.5% { transform: translate3d(calc(-8 * 100vw / 1920), 0, 0) rotate(-4deg) scale(1.04); }
  50% { transform: translate3d(calc(8 * 100vw / 1920), 0, 0) rotate(4deg) scale(1.04); }
  62.5% { transform: translate3d(calc(-6 * 100vw / 1920), 0, 0) rotate(-3deg); }
  75% { transform: translate3d(calc(6 * 100vw / 1920), 0, 0) rotate(3deg); }
  87.5% { transform: translate3d(calc(-3 * 100vw / 1920), 0, 0) rotate(-1.5deg); }
}

@keyframes home-process-result-enter {
  from { opacity: 0; transform: translate3d(0, calc(18 * 100vw / 1920), 0) scale(0.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes home-process-chain-exit {
  from { opacity: 1; }
  to { opacity: 0; }
}

.page-home .home-final-frame {
  --home-final-scene-gap: calc(320 * 100vw / 1920);
  position: absolute;
  inset: 0;
  transform: translate3d(0, var(--home-final-scene-gap), 0) scale(var(--home-final-scene-scale, 1));
  transform-origin: 50% calc(11768 * 100vw / 1920);
  pointer-events: none;
}

.page-home .home-art-final-character { left: 13.59375%; top: calc(11768 * 100vw / 1920); width: 34.6354166667%; }
.page-home .home-art-final-sparkles { left: 47.5%; top: calc(12009 * 100vw / 1920); width: 26.5625%; }
.page-home .home-art-final-bread {
  left: 49.1666666667%;
  top: calc(12127 * 100vw / 1920);
  width: 18.8541666667%;
  transform-origin: 50% 50%;
}

.page-home .home-scene-final[data-state="shaking"] .home-art-final-bread {
  will-change: transform;
  animation: home-final-bread-shake 680ms ease-in-out both;
}

.page-home .home-scene-final[data-state="moving"] .home-art-final-bread {
  will-change: transform;
  animation: home-final-bread-move-left 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-home .home-scene-final[data-state="complete"] .home-art-final-bread {
  transform: translate3d(calc(-532 * 100vw / 1920), 0, 0);
}

@keyframes home-final-bread-shake {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  14% { transform: translate3d(calc(-7 * 100vw / 1920), 0, 0) rotate(-2.4deg); }
  28% { transform: translate3d(calc(7 * 100vw / 1920), 0, 0) rotate(2.4deg); }
  42% { transform: translate3d(calc(-5 * 100vw / 1920), 0, 0) rotate(-1.8deg); }
  56% { transform: translate3d(calc(5 * 100vw / 1920), 0, 0) rotate(1.8deg); }
  70% { transform: translate3d(calc(-3 * 100vw / 1920), 0, 0) rotate(-1deg); }
  84% { transform: translate3d(calc(3 * 100vw / 1920), 0, 0) rotate(1deg); }
}

@keyframes home-final-bread-move-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-532 * 100vw / 1920), 0, 0); }
}
.page-home .home-scene-final .home-copy {
  left: 49.9479166667%;
  top: calc(11943 * 100vw / 1920);
  width: 37.2395833333%;
}

.page-home.has-js .home-scene-final .home-copy {
  opacity: 0;
  transition: opacity 240ms ease-out;
}

.page-home.has-js .home-scene-final[data-state="complete"] .home-copy {
  opacity: 1;
}

.page-home .home-scene-cloud { height: 100%; min-height: 0; max-height: none; }
/* 2026-09-16 feedback: the flour bag used to overlap the previous scene's
   character by 42px. Shifted down 72px (design px) to clear it; the seven
   cloud-scatter origins keep their offset relative to the bag mouth by the
   same 72px via --cloud-from-y. */
.page-home .home-art-flour-bag { left: 18.6979166667%; top: calc(13460 * 100vw / 1920); width: 31.5625%; }
.page-home .home-art-cloud { left: 11.71875%; top: calc(13469 * 100vw / 1920); width: 74.6875%; }

.page-home.has-js .home-art-cloud-static { opacity: 0; }

.page-home .home-project-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-home .home-cloud-piece {
  left: 11.71875%;
  top: calc(13469 * 100vw / 1920);
  width: 74.6875%;
  opacity: 0;
  transform: translate3d(
    calc(var(--cloud-from-x) * 100vw / 1920),
    calc(var(--cloud-from-y) * 100vw / 1920),
    0
  ) scale(0.2);
  transform-origin: 43.5843793584% 39.6808510638%;
}

.page-home .home-cloud-piece-description { clip-path: inset(0 18.689% 83.404% 47.838%); }
.page-home .home-cloud-piece-engineering { clip-path: inset(20.426% 3.347% 64.468% 65.969%); }
.page-home .home-cloud-piece-education { clip-path: inset(42.979% 26.36% 28.085% 57.322%); }
.page-home .home-cloud-piece-ihp { clip-path: inset(48.085% 0 23.404% 79.498%); }
.page-home .home-cloud-piece-model { clip-path: inset(67.234% 76.569% 14.681% 0); }
.page-home .home-cloud-piece-entrepreneurship { clip-path: inset(66.809% 44.073% 1.064% 32.775%); }
.page-home .home-cloud-piece-contribution { clip-path: inset(76.596% 0 0 64.435%); }

.page-home .home-scene-cloud[data-state="shaking"] .home-art-flour-bag {
  will-change: transform;
  animation: home-project-bag-shake 680ms ease-in-out both;
}

.page-home .home-scene-cloud[data-state="scattering"] .home-cloud-piece {
  will-change: transform, opacity;
  animation: home-project-cloud-scatter 860ms cubic-bezier(0.22, 1, 0.36, 1) var(--cloud-delay) both;
}

.page-home .home-scene-cloud[data-state="complete"] .home-cloud-piece {
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1);
}

.page-home.has-js .home-scene-cloud[data-state="complete"] .home-art-cloud-static { opacity: 1; }

@keyframes home-project-bag-shake {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  14% { transform: translate3d(calc(-8 * 100vw / 1920), 0, 0) rotate(-2.5deg); }
  28% { transform: translate3d(calc(8 * 100vw / 1920), 0, 0) rotate(2.5deg); }
  42% { transform: translate3d(calc(-6 * 100vw / 1920), 0, 0) rotate(-1.8deg); }
  56% { transform: translate3d(calc(6 * 100vw / 1920), 0, 0) rotate(1.8deg); }
  70% { transform: translate3d(calc(-3 * 100vw / 1920), 0, 0) rotate(-1deg); }
  84% { transform: translate3d(calc(3 * 100vw / 1920), 0, 0) rotate(1deg); }
}

@keyframes home-project-cloud-scatter {
  0% {
    opacity: 0;
    transform: translate3d(
      calc(var(--cloud-from-x) * 100vw / 1920),
      calc(var(--cloud-from-y) * 100vw / 1920),
      0
    ) scale(0.2);
  }
  14% { opacity: 1; }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.page-home .cloud-links { pointer-events: none; transform: translateY(calc(220 * 100vw / 1920)); }
.page-home .cloud-links a,
.page-home .cloud-links .cloud-pending {
  min-width: 0;
  min-height: 0;
  display: grid;
  font-family: var(--font-display);
  line-height: 1;
  white-space: nowrap;
  place-items: center;
  opacity: 1;
}

.page-home .cloud-links a { pointer-events: auto; }
.page-home .cloud-links .cloud-pending { pointer-events: none; }

.page-home.has-js .home-scene-cloud[data-state="idle"] .cloud-links a,
.page-home.has-js .home-scene-cloud[data-state="idle"] .cloud-links .cloud-pending,
.page-home.has-js .home-scene-cloud[data-state="shaking"] .cloud-links a,
.page-home.has-js .home-scene-cloud[data-state="shaking"] .cloud-links .cloud-pending,
.page-home.has-js .home-scene-cloud[data-state="scattering"] .cloud-links a,
.page-home.has-js .home-scene-cloud[data-state="scattering"] .cloud-links .cloud-pending {
  opacity: 0;
  pointer-events: none;
}

.page-home .home-scene-cloud[data-state="scattering"] .cloud-links a,
.page-home .home-scene-cloud[data-state="scattering"] .cloud-links .cloud-pending {
  animation: home-project-link-enter 300ms ease-out calc(680ms + var(--cloud-delay)) both;
}

.page-home .home-scene-cloud[data-state="complete"] .cloud-links a,
.page-home .home-scene-cloud[data-state="complete"] .cloud-links .cloud-pending { opacity: 1; }
.page-home .home-scene-cloud[data-state="complete"] .cloud-links a { pointer-events: auto; }

@keyframes home-project-link-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

.page-home .cloud-description { --cloud-delay: 0ms; left: 53.3333333333%; top: calc(13318 * 100vw / 1920); width: 14.5833333333%; height: calc(48 * 100vw / 1920); font-size: 2.6041666667vw; }
.page-home .cloud-engineering { --cloud-delay: 70ms; left: 65.3645833333%; top: calc(13493 * 100vw / 1920); width: 15.4166666667%; height: calc(48 * 100vw / 1920); font-size: 2.6041666667vw; }
/* 2026-09-16 feedback "Education的框略微大一点点，文字左右留一点间距": the Education
   label measured 222px inside a 234px blob — 12px of padding on the left and 0px
   on the right, so the final "n" sat on the blob's edge. The blob is baked into
   project-cloud.avif, so it cannot be enlarged without new artwork; shrink the
   label instead (45px -> 41.7px at the 1920 base) to get even side padding. */
.page-home .cloud-education { --cloud-delay: 140ms; left: 55.15625%; top: calc(13760 * 100vw / 1920); width: 11.25%; height: calc(36 * 100vw / 1920); font-size: min(2.171875vw, 41.7px); }
.page-home .cloud-ihp { --cloud-delay: 210ms; left: 77.2395833333%; top: calc(13811 * 100vw / 1920); width: 4.375%; height: calc(36 * 100vw / 1920); font-size: 2.6041666667vw; }
.page-home .cloud-model { --cloud-delay: 280ms; left: 18.5416666667%; top: calc(13950 * 100vw / 1920); width: 7.8645833333%; height: calc(37 * 100vw / 1920); font-size: 2.6041666667vw; }
.page-home .cloud-entrepreneurship { --cloud-delay: 350ms; left: 36.9791666667%; top: calc(14000 * 100vw / 1920); width: 16.25%; height: calc(36 * 100vw / 1920); font-size: min(1.875vw, 36px) !important; }
.page-home .cloud-contribution { --cloud-delay: 420ms; left: 66.5104166667%; top: calc(14077 * 100vw / 1920); width: 16.6145833333%; height: calc(36 * 100vw / 1920); font-size: 2.34375vw !important; }

.page-home .home-reference {
  position: absolute;
  left: 0;
  top: 97.7742568281%;
  z-index: 2;
  width: 100%;
  min-height: 0;
  padding: 0;
  text-align: center;
}

.page-home .home-reference h2 {
  width: calc(302 * 100vw / 1920);
  height: calc(41 * 100vw / 1920);
  margin: 0 0 0 calc(813 * 100vw / 1920);
  overflow: visible;
  color: rgb(161, 119, 98);
  font-family: var(--font-display);
  font-size: 2.8645833333vw;
  line-height: 1;
}

.page-home .home-reference p {
  position: absolute;
  left: 14.0625%;
  top: calc(103 * 100vw / 1920);
  width: 72.6041666667%;
  height: calc(89 * 100vw / 1920);
  margin: 0;
  overflow: hidden;
  color: rgb(161, 119, 98);
  font-family: var(--font-body);
  font-size: 1.3541666667vw;
  line-height: 1.4769230769;
  text-align: center;
  white-space: normal;
  word-break: break-all;
}

.page-home .site-footer {
  width: 100vw;
  height: auto;
  /* The home canvas paints its own warm white, so the footer must match that
     rather than the shared --cream body colour. */
  background: transparent;
  margin-top: -25%;
}

.page-home .footer-required {
  width: 100%;
  padding: 22px 24px 40px;
  color: rgb(111, 76, 60);
}
.page-home .footer-required a { color: rgb(111, 76, 60); }


@media (prefers-reduced-motion: reduce) {
  .page-home .home-wave { animation: none; transform: none; }
  .page-home .wave-mascot { display: none; transition: none; }
  .page-home .home-map-overlay { transition: none; }
  .page-home .home-hat-animation { display: none; }
  .page-home .home-donut-hover { transition: none; }
  .page-home .home-art-enzyme-hand { opacity: 1; animation: none; }
  .page-home .home-kettle-closed,
  .page-home .home-kettle-open-group,
  .page-home .home-kettle-lid,
  .page-home .home-kettle-newspaper,
  .page-home .home-kettle-question,
  .page-home .home-physical-copy { transition: none; }
  .page-home .home-molecule-stage-one[data-state="running"] .home-molecule-one-animation-initial,
  .page-home .home-molecule-stage-one[data-state="running"] .home-molecule-one-scissors-initial,
  .page-home .home-molecule-stage-one[data-state="running"] .home-molecule-one-scissors-initial img,
  .page-home .home-molecule-stage-one[data-state="running"] .home-molecule-one-result-left,
  .page-home .home-molecule-stage-one[data-state="running"] .home-molecule-one-result-right,
  .page-home .home-molecule-stage-one[data-state="complete"] .home-molecule-one-scissors-final,
  .page-home .home-molecule-stage-one[data-state="complete"] .home-molecule-one-result-left,
  .page-home .home-molecule-stage-one[data-state="complete"] .home-molecule-one-result-right,
  .page-home .home-process-stage[data-state="running"] .home-process-trigger-initial,
  .page-home .home-process-stage[data-state="running"] .home-process-trigger-initial .home-process-trigger-visual,
  .page-home .home-process-stage[data-state="running"] .home-process-chain-initial,
  .page-home .home-process-stage[data-state="running"] .home-process-chain-result,
  .page-home .home-process-stage[data-state="complete"] .home-process-chain-result,
  .page-home .home-process-stage[data-state="complete"] .home-process-trigger-final { animation: none; }
  .page-home .home-scene-final[data-state="shaking"] .home-art-final-bread,
  .page-home .home-scene-final[data-state="moving"] .home-art-final-bread {
    animation: none;
    transition: none;
    transform: translate3d(calc(-532 * 100vw / 1920), 0, 0);
  }
  .page-home.has-js .home-scene-final .home-copy { transition: none; }
  .page-home .home-art-meter-left,
  .page-home .home-art-glucose-meter-upper { display: none; animation: none; }
  .page-home .home-art-meter-right,
  .page-home .home-art-glucose-meter-lower { display: block; }
  .page-home .home-scene-three .home-copy { opacity: 1; animation: none; }
}

@media (max-width: 760px) {
  .page-home .home-copy { width: 36%; }
  .page-home .home-copy h1,
  .page-home .home-copy h2,
  .page-home .home-copy p { font-size: max(9.375px, 2.5vw); white-space: nowrap; }
  .page-home .home-scene-click .home-click { font-size: max(8.2px, 2.1927083333vw); }
  .page-home .home-reference h2 { font-size: max(11px, 2.8645833333vw); }
  .page-home .home-reference p { font-size: max(5px, 1.3541666667vw); }
}

/* Education game embed */
.plasmid-land-frame {
  display: block;
  width: 100%;
  height: min(780px, 80vh);
  min-height: 480px;
  margin-top: 28px;
  border: 2px solid var(--brown-deep);
  border-radius: 12px;
  background: #05070c;
}
@media (max-width: 600px) {
  .plasmid-land-frame { height: 70vh; min-height: 420px; }
}

/* Shared outreach content components */
.page-copy a.outreach-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  box-sizing: border-box;
  max-width: 100%;
  padding: 12px 22px;
  border: 2px solid var(--brown-deep);
  border-radius: 10px;
  background: #e5e571;
  color: var(--brown-deep);
  text-decoration: none;
  line-height: 1.4;
}
.page-copy a.outreach-action:hover { background: #d8da59; }
.page-copy a.outreach-action:focus-visible,
.page-copy .outreach-download-list a:focus-visible {
  outline: 3px solid var(--brown-deep);
  outline-offset: 4px;
}
.page-copy .outreach-download-list li a {
  display: block;
  padding: 12px 8px;
  min-height: 44px;
  box-sizing: border-box;
  color: var(--brown-deep);
}
.page-copy .outreach-read-more {
  margin-top: 28px;
  margin-bottom: 40px;
  padding: 16px;
  border: 2px solid #e5e571;
  border-radius: 12px;
}
.page-copy .outreach-read-more summary {
  cursor: pointer;
  color: var(--brown-deep);
  font-size: 22px;
  font-weight: 700;
}
.page-copy .outreach-read-more[open] summary { margin-bottom: 18px; }
.page-copy section > .outreach-read-more:last-child { margin-bottom: 0; }
/* Separate a new subheading from the preceding content block. */
.page-copy :is(p, ul, ol, figure, .editorial-table-wrap) + :is(h3, h4, h5) {
  margin-top: 40px;
}
@media (max-width: 600px) {
  .page-copy .outreach-read-more { margin-bottom: 28px; }
  .page-copy :is(p, ul, ol, figure, .editorial-table-wrap) + :is(h3, h4, h5) {
    margin-top: 28px;
  }
}
.page-copy caption, .page-copy .editorial-table-caption { text-align: center; }
.page-copy .editorial-figure img { max-width: 80%; }
@media (max-width: 600px) {
  .page-copy .editorial-figure img { max-width: 100%; }
}

/* Figure 10: keep the tall consultation graphic readable. */
.page-copy .editorial-figure-stakeholder img {
  max-width: 90%;
  max-height: 864px;
}

/* Written feedback: readable labels and space below complete media units. */
.page-copy strong, .page-copy b { color: var(--brown-deep); }
.page-copy .editorial-figure + :is(p, ul, ol),
.page-copy .editorial-table-wrap + :is(p, ul, ol) { margin-top: 28px; }
.page-copy :is(h4, h5, .editorial-subheading),
.page-copy .editorial-tag {
  display: table;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 16px;
  border-radius: 24px;
  background: #f7cb8e;
  color: var(--brown-deep);
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: normal;
  word-break: normal;
}
.page-copy .editorial-subheading {
  font-size: 24px;
}
.page-copy .editorial-tag { display: inline-block; font-size: 24px; }
.page-copy .notebook-meta { margin-top: 28px; }
.page-copy :is(h4, h5, .editorial-subheading, .notebook-meta) { margin-bottom: 28px; }
.page-copy :is(p:not(.editorial-subheading):not(.notebook-meta), ul, ol, figure, .editorial-table-wrap) + :is(h4, h5, .editorial-subheading, .notebook-meta) { margin-top: 40px; }
.page-copy :is(h4, h5, .editorial-subheading, .notebook-meta) + :is(p, ul, ol, figure, .editorial-table-wrap) { margin-top: 28px; }
.page-copy section > :is(h4, h5, .editorial-subheading, .notebook-meta):last-child { margin-bottom: 0; }
.page-copy section:not(.editorial-section) > section + section { margin-top: 40px; }
.page-copy :is(section, div):not(.editorial-section) > :is(p:not(.editorial-subheading):not(.notebook-meta), ul, ol, figure, .editorial-table-wrap, details) + section:has(> :is(h4, h5, .editorial-subheading, .notebook-meta):first-child) { margin-top: 40px; }
.page-copy :is(p:not(.editorial-subheading):not(.notebook-meta), figure, .editorial-table-wrap) + :is(ol, ul):has(> li:first-child > :is(h4, h5, .editorial-subheading, .notebook-meta):first-child),
.page-copy :is(ol, ul) > li + li:has(> :is(h4, h5, .editorial-subheading, .notebook-meta):first-child) { margin-top: 40px; }
@media (max-width: 600px) {
  .page-copy :is(p:not(.editorial-subheading):not(.notebook-meta), ul, ol, figure, .editorial-table-wrap) + :is(h4, h5, .editorial-subheading, .notebook-meta) { margin-top: 28px; }
  .page-copy section:not(.editorial-section) > section + section { margin-top: 28px; }
  .page-copy :is(section, div):not(.editorial-section) > :is(p:not(.editorial-subheading):not(.notebook-meta), ul, ol, figure, .editorial-table-wrap, details) + section:has(> :is(h4, h5, .editorial-subheading, .notebook-meta):first-child) { margin-top: 28px; }
  .page-copy :is(p:not(.editorial-subheading):not(.notebook-meta), figure, .editorial-table-wrap) + :is(ol, ul):has(> li:first-child > :is(h4, h5, .editorial-subheading, .notebook-meta):first-child),
  .page-copy :is(ol, ul) > li + li:has(> :is(h4, h5, .editorial-subheading, .notebook-meta):first-child) { margin-top: 28px; }
}
.page-part-collection .page-copy #pc-overview { font-size: 26px; }
.page-copy ol.content-references { list-style: none; padding-left: 36px; }
.page-copy ol.content-references > li { position: relative; }
.page-copy .reference-number {
  position: absolute;
  right: calc(100% + 8px);
  white-space: nowrap;
}
.template-section-label > span,
.template-section-label > span.is-long {
  left: 17%;
  top: 21%;
  width: 78%;
  height: 58%;
  padding: 0 2%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-wrap: balance;
  font-size: clamp(14px, 1.041667vw, 20px);
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}
.team-section-active > span {
  height: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 1.041667vw, 20px);
  line-height: 1.15;
  white-space: normal;
  text-wrap: balance;
}
.toc-label-copy { min-width: 0; max-width: 100%; }
.toc-label-copy em { font-style: italic; }
body:not(.page-home).is-reading .site-brand { visibility: hidden; pointer-events: none; }
body:not(.page-home).is-reading .nav-progress { left: 0; width: 100%; }
.page-team .team-hero { min-height: 0; height: calc(100svh - var(--nav-height)); max-height: 760px; }
.page-team .team-hero h1 {
  top: auto;
  bottom: 32px;
  height: auto;
  font-size: clamp(28px, 7vw, 128px);
  line-height: 1.15;
}
.page-team .team-story-content {
  --font-body: "Times New Roman", Times, serif;
  font-family: var(--font-body);
  font-weight: 400;
}
.page-team .team-card-copy p { font-size: 21px; }

/* Content feedback, 2026-10-16: keep words intact in narrow table columns. */
.page-copy th, .page-copy td { overflow-wrap: normal; word-break: normal; hyphens: none; }
.page-copy .content-references a { overflow-wrap: anywhere; }
.page-copy .editorial-section[aria-labelledby*="references"] p { overflow-wrap: anywhere; }
.page-contribution .template-section-nav .template-subsections { width: 180px; }
.page-contribution .template-subsections a { font-size: 17px; line-height: 24px; }
.page-contribution #page-toc.has-visible-subsections { display: block; }
.page-contribution #page-toc.has-visible-subsections > li { min-height: 88px; padding-top: 88px; padding-bottom: 16px; }
.page-contribution #page-toc.has-visible-subsections > li > .template-section-link { height: 88px; }
.page-contribution #page-toc.has-visible-subsections .template-subsections { position: relative; left: 86px; top: auto; }
@media (min-width: 1181px) {
  .page-contribution .content-shell { grid-template-columns: 270px minmax(0, 1fr); }
  .page-contribution .template-section-nav { width: 270px; }
}
.page-copy .competitive-matrix td:first-child { min-width: 200px; width: 20%; }
.page-copy .competitive-matrix td:nth-child(2),
.page-copy .competitive-matrix td:nth-child(3),
.page-copy .competitive-matrix td:nth-child(4) { min-width: 65px; }
.page-copy .risk-matrix td:first-child { width: 27%; }
.page-copy .risk-matrix td:nth-child(2) { min-width: 130px; width: 12%; }
.page-copy .risk-matrix td:nth-child(3) { min-width: 100px; width: 10%; }
.page-entrepreneurship .page-copy > p + .editorial-section { margin-top: 40px; }
.page-entrepreneurship .page-copy .editorial-section > :is(p, ul, ol) + section { margin-top: 35px; }

.page-copy .editorial-survey-figure img { max-width: min(80%, 780px); max-height: 800px; }
.page-copy .editorial-interview-crop {
  position: relative;
  width: min(80%, 700px);
  aspect-ratio: 587 / 608;
  overflow: hidden;
  margin: 0 auto;
  border: 3px solid rgb(229, 229, 113);
  border-radius: 20px;
  background: white;
}
.page-copy .editorial-interview-crop img {
  position: absolute;
  top: -12.3355%;
  left: -3.4072%;
  width: 106.644%;
  height: auto;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
}
@media (max-width: 620px) {
  .page-team .team-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1920 / 1156;
  }
  .page-team .team-hero h1 {
    left: 50.625%;
    right: auto;
    bottom: 6%;
    width: 42.760417%;
    font-size: clamp(28px, 7vw, 44px);
  }
  .page-copy .editorial-survey-figure img { max-width: 100%; }
  .page-copy .editorial-interview-crop { width: 100%; }
}
.page-copy .editorial-feedback-sized {
  width: min(var(--figure-width), 100%);
  margin-left: auto;
  margin-right: auto;
}
.page-copy .editorial-feedback-sized img { width: 100%; box-sizing: border-box; max-width: 100%; max-height: none; }
@media (max-width: 600px) {
  .page-copy .editorial-feedback-sized { width: 100%; }
}
@media (max-width: 600px) {
  .page-copy .editorial-figure-stakeholder img { max-width: 100%; max-height: none; }
}

.editorial-zoom-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.editorial-zoom-trigger:focus-visible { outline: 3px solid var(--brown-deep); outline-offset: 5px; }
.figure-viewer {
  width: calc(100vw - 32px);
  max-width: 1600px;
  max-height: calc(100svh - 32px);
  padding: 18px;
  border: 2px solid var(--lime);
  border-radius: 18px;
  background: var(--cream);
  color: var(--brown-deep);
}
.figure-viewer::backdrop { background: rgb(40 30 20 / 75%); }
.figure-viewer-toolbar { display: flex; justify-content: flex-end; gap: 12px; margin-bottom: 12px; }
.figure-viewer-toolbar button { min-height: 44px; padding: 8px 18px; border: 1px solid var(--brown-deep); border-radius: 12px; background: white; color: inherit; }
.figure-viewer-canvas { overflow: auto; max-height: calc(100svh - 210px); text-align: center; }
.figure-viewer-canvas img { display: block; max-width: 100%; max-height: calc(100svh - 210px); width: auto; height: auto; margin: auto; }
.figure-viewer.is-original-size .figure-viewer-canvas img { max-width: none; max-height: none; margin: 0; }
.figure-viewer-caption { margin: 14px 0 0; font: 20px/1.5 "Times New Roman", Times, serif; text-align: center; }
html:has(.figure-viewer[open]) { overflow: hidden; }

/* Current content feedback: smaller type, compact reading rhythm, and a narrow
   section rail. Figure widths are measured from the supplied red frames. */
.page-copy h2 { font-size: 44px; }
.page-copy h3 { font-size: 32px; margin-bottom: 24px; }
.page-copy h4 { font-size: 26px; }
.page-copy h5 { font-size: 22px; }
.page-copy p, .page-copy li { font-size: 20px; }
.page-copy table, .page-copy pre,
.page-copy .outreach-read-more summary { font-size: 20px; }
.page-copy .editorial-subheading,
.page-copy .editorial-tag { font-size: 22px; }
.page-part-collection .page-copy #pc-overview { font-size: 24px; }
.page-copy figcaption,
.page-copy figcaption :is(strong, b),
.figure-viewer-caption {
  color: var(--brown-deep);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
.page-copy caption, .page-copy .editorial-table-caption { font-size: 18px; }
.page-copy p + p,
.page-copy p + ul, .page-copy p + ol,
.page-copy ul + p, .page-copy ol + p,
.page-copy ul + ul, .page-copy ol + ol { margin-top: 14px; }
.page-copy .editorial-section { padding-bottom: 64px; }
.page-copy .editorial-section + .editorial-section { padding-top: 48px; }
.page-copy .editorial-section > section { margin-top: 40px; }
.page-copy .editorial-section > h2 + * { margin-top: 28px; }
.page-copy .editorial-section > section:has(> h3:only-child) + section { margin-top: 0; }
.page-copy :is(h4, h5, .editorial-subheading, .notebook-meta) { margin-bottom: 22px; }
.page-copy :is(p:not(.editorial-subheading):not(.notebook-meta), ul, ol, figure, .editorial-table-wrap) + :is(h4, h5, .editorial-subheading, .notebook-meta) { margin-top: 28px; }
.page-copy :is(p, ul, ol, figure, .editorial-table-wrap) + :is(h3, h4, h5) { margin-top: 28px; }
.page-copy :is(h4, h5, .editorial-subheading, .notebook-meta) + :is(p, ul, ol, figure, .editorial-table-wrap) { margin-top: 22px; }
.page-copy section:not(.editorial-section) > section + section { margin-top: 28px; }
.page-copy :is(section, div):not(.editorial-section) > :is(p:not(.editorial-subheading):not(.notebook-meta), ul, ol, figure, .editorial-table-wrap, details) + section:has(> :is(h4, h5, .editorial-subheading, .notebook-meta):first-child) { margin-top: 28px; }
.page-copy :is(p:not(.editorial-subheading):not(.notebook-meta), figure, .editorial-table-wrap) + :is(ol, ul):has(> li:first-child > :is(h4, h5, .editorial-subheading, .notebook-meta):first-child),
.page-copy :is(ol, ul) > li + li:has(> :is(h4, h5, .editorial-subheading, .notebook-meta):first-child) { margin-top: 28px; }
.page-copy .editorial-figure + :is(p, ul, ol),
.page-copy .editorial-table-wrap + :is(p, ul, ol) { margin-top: 22px; }
.page-copy .editorial-emphasis { font-weight: 700; }
.page-copy .outreach-read-more { margin-bottom: 28px; }
.page-copy .outreach-read-more + :is(h3, h4, h5) { margin-top: 28px; }
.page-entrepreneurship .page-copy .editorial-section > :is(p, ul, ol) + section { margin-top: 28px; }
.page-notebook .editorial-figure img[style*="--native-image-width"] {
  width: auto;
  height: auto;
  max-width: min(80%, var(--native-image-width));
}

@media (min-width: 1181px) {
  .content-shell, .page-contribution .content-shell {
    width: calc(100% - 128px);
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 24px;
  }
  .content-shell:has(> .page-copy:only-child) {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1560px;
  }
  .page-copy { width: 100%; }
  .page-experiments .page-copy { padding-right: 24px; box-sizing: border-box; }
  .template-section-nav, .page-contribution .template-section-nav { width: 120px; }
  .template-section-nav #page-toc.is-scrollable { width: 540px; padding-right: 420px; }
}

/* Contribution's four secondary destinations participate in the circle rail,
   hover labels, keyboard focus and scroll highlighting just like primary ones. */
.page-contribution #page-toc.has-visible-subsections > li { min-height: 88px; padding: 0; }
.page-contribution #page-toc.has-visible-subsections > li > .template-section-link {
  position: relative;
  height: 88px;
}
.page-contribution #page-toc.has-visible-subsections .template-subsections {
  position: relative;
  left: 0;
  top: auto;
  width: 100%;
  margin: 0;
  padding: 0;
}
.page-contribution .template-subsections > li { height: 78px; }
.page-contribution .template-subsections .template-section-sublink {
  position: relative;
  height: 78px;
  margin: 0;
}
.page-contribution .template-section-sublink .template-section-dot { width: 58px; }

@media (max-width: 1180px) {
  .template-section-nav { display: none; }
  .content-shell:has(.template-section-nav) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .page-copy .outreach-read-more + :is(h3, h4, h5) { margin-top: 24px; }
  .page-copy :is(p:not(.editorial-subheading):not(.notebook-meta), ul, ol, figure, .editorial-table-wrap) + :is(h4, h5, .editorial-subheading, .notebook-meta),
  .page-copy :is(p, ul, ol, figure, .editorial-table-wrap) + :is(h3, h4, h5),
  .page-copy section:not(.editorial-section) > section + section,
  .page-copy :is(section, div):not(.editorial-section) > :is(p:not(.editorial-subheading):not(.notebook-meta), ul, ol, figure, .editorial-table-wrap, details) + section:has(> :is(h4, h5, .editorial-subheading, .notebook-meta):first-child),
  .page-copy :is(p:not(.editorial-subheading):not(.notebook-meta), figure, .editorial-table-wrap) + :is(ol, ul):has(> li:first-child > :is(h4, h5, .editorial-subheading, .notebook-meta):first-child),
  .page-copy :is(ol, ul) > li + li:has(> :is(h4, h5, .editorial-subheading, .notebook-meta):first-child) { margin-top: 24px; }
  .page-copy .outreach-read-more { margin-bottom: 24px; }
  .page-copy .outreach-read-more + :is(h3, h4, h5) { margin-top: 24px; }
  .page-notebook .editorial-figure img[style*="--native-image-width"] { max-width: min(100%, var(--native-image-width)); }
}
