:root {
  color-scheme: light;
  --ink: #173136;
  --muted: #557178;
  --teal: #0e6f75;
  --teal-dark: #084f55;
  --aqua: #82c2e3;
  --nav-text: #55738c;
  --sand: #e6c596;
  --cream: #fbf8f2;
  --paper: #ffffff;
  --line: rgba(23, 49, 54, 0.14);
  --shadow: 0 18px 60px rgba(12, 73, 80, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f4f8f8;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(24px, 4vw, 52px);
  background: var(--aqua);
  color: #fff;
  box-shadow: none;
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 24px;
  min-width: max-content;
  color: var(--nav-text);
  font-size: clamp(1.6rem, 2.7vw, 2rem);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(22px, 4vw, 44px);
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  font-weight: 900;
}

.site-nav a {
  padding: 7px 2px;
  text-decoration: none;
}

.site-nav a:hover {
  color: #ffffff;
}

.site-nav a.active {
  color: #ffffff;
  text-decoration: none;
}

.nav-project {
  position: relative;
}

.nav-project summary {
  display: block;
  padding: 7px 2px;
  color: inherit;
  cursor: pointer;
  list-style: none;
}

.nav-project summary::-webkit-details-marker {
  display: none;
}

.nav-project summary:hover,
.nav-project summary.active {
  color: #ffffff;
}

.nav-project summary:focus {
  outline: none;
}

.nav-project summary:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 4px;
}

.nav-project-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 40;
  display: grid;
  width: 224px;
  padding: 10px 18px 14px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(11, 64, 70, 0.16);
  transform: translateX(-50%);
}

.nav-project-panel a {
  padding: 2px 0;
  color: #18c9f2;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.32;
  text-align: center;
  text-decoration: none;
}

.nav-project-panel a:hover {
  color: #0a98c0;
}

.nav-document-panel {
  width: 300px;
}

.nav-document-panel a {
  font-size: clamp(1rem, 1.55vw, 1.32rem);
}

.nav-project-panel a.nav-two-line {
  display: grid;
  gap: 0;
  font-size: clamp(0.98rem, 1.45vw, 1.2rem);
  line-height: 1.02;
}

.nav-project-panel a.nav-two-line span + span {
  margin-top: -1px;
}

.nav-project:not([open]) .nav-project-panel {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 70px);
  padding: clamp(46px, 7vw, 96px) clamp(20px, 5vw, 86px) clamp(62px, 7vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(130, 194, 216, 0.45), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #edf7f5 50%, #f9efe0 100%);
}

.home-cover {
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(760px, calc(100svh - 82px));
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 86px) clamp(76px, 8vw, 116px);
  place-items: end start;
  overflow: hidden;
  background: #053948;
}

.home-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 25, 32, 0.88) 0%, rgba(3, 42, 51, 0.66) 42%, rgba(2, 46, 55, 0.2) 76%),
    linear-gradient(180deg, rgba(6, 61, 72, 0.08) 0%, rgba(4, 30, 38, 0.52) 100%),
    url("assets/media/3b8b355ae17929f8327e3b8096d1779f.png") center 44% / cover no-repeat;
  transform: scale(1.01);
  animation: homeDrift 18s ease-in-out infinite alternate;
}

.home-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(4, 30, 38, 0), rgba(244, 248, 248, 0.96));
  animation: tideGlow 8s ease-in-out infinite alternate;
}

.cover-landscape,
.cover-copy,
.cover-flask,
.cover-microbes {
  position: relative;
  z-index: 1;
}

.cover-landscape {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sun {
  position: absolute;
  top: 16%;
  left: 57%;
  width: min(15vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
}

.mountain {
  position: absolute;
  opacity: 0.38;
  background: rgba(183, 207, 204, 0.58);
  filter: blur(0.2px);
}

.mountain-a {
  left: 0;
  bottom: 0;
  width: 42%;
  height: 44%;
  clip-path: polygon(0 68%, 12% 28%, 21% 65%, 36% 40%, 50% 60%, 67% 32%, 80% 55%, 100% 33%, 100% 100%, 0 100%);
}

.mountain-b {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 48%;
  clip-path: polygon(0 57%, 12% 48%, 23% 68%, 39% 16%, 52% 54%, 60% 18%, 76% 64%, 91% 30%, 100% 44%, 100% 100%, 0 100%);
}

.bird {
  position: absolute;
  width: 48px;
  height: 18px;
  border-top: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
}

.bird::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -2px;
  width: 38px;
  height: 16px;
  border-top: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
}

.bird-a { top: 15%; right: 27%; }
.bird-b { top: 28%; right: 8%; transform: scale(1.15); }
.bird-c { top: 24%; left: 23%; transform: scale(0.9); }

.cover-copy {
  width: min(850px, 100%);
  margin-top: 0;
  text-align: left;
  animation: riseIn 900ms ease-out both;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #b9eef5;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-kicker::before {
  content: "";
  width: 42px;
  height: 3px;
  background: #81d6e8;
  animation: linePulse 2.8s ease-in-out infinite;
}

.cover-copy h1 {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 5.3vw, 4.8rem);
  line-height: 1.04;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
}

.cover-copy h1 small {
  display: block;
  margin-top: 14px;
  color: #bceef4;
  font-size: clamp(1.45rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
}

.home-summary {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(245, 255, 255, 0.9);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.home-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition:
    transform 220ms ease,
    color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.home-hero-actions a:hover {
  color: #053948;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
  margin-top: 26px;
}

.home-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: #d8fbff;
  font-size: 0.86rem;
  font-weight: 800;
  border: 1px solid rgba(184, 239, 247, 0.36);
  background: rgba(5, 57, 72, 0.42);
  backdrop-filter: blur(8px);
  animation: metaFloat 5s ease-in-out infinite;
}

.home-hero-meta span:nth-child(2) {
  animation-delay: 0.7s;
}

.home-hero-meta span:nth-child(3) {
  animation-delay: 1.4s;
}

.cover-flask {
  position: absolute;
  left: clamp(54px, 12vw, 130px);
  bottom: clamp(22px, 4vw, 42px);
  width: clamp(86px, 10vw, 118px);
  height: clamp(114px, 13vw, 152px);
}

.flask-neck {
  position: absolute;
  left: 40%;
  top: 4%;
  width: 20%;
  height: 38%;
  border: 4px solid #8b9698;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(241, 250, 250, 0.78);
}

.flask-body {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 62%;
  border: 4px solid #8b9698;
  border-radius: 12px 12px 28px 28px;
  background:
    radial-gradient(circle at 36% 58%, #81c6d6 0 4px, transparent 5px),
    radial-gradient(circle at 62% 63%, #81c6d6 0 4px, transparent 5px),
    radial-gradient(circle at 50% 78%, #81c6d6 0 3px, transparent 4px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0 32%, rgba(171, 230, 238, 0.72) 33% 100%);
  clip-path: polygon(38% 0, 62% 0, 98% 86%, 90% 100%, 10% 100%, 2% 86%);
}

.bubble {
  position: absolute;
  border: 3px solid #9c8f7c;
  border-radius: 50%;
  background: rgba(255, 234, 198, 0.85);
}

.bubble-one { left: 24%; top: 0; width: 12px; height: 12px; }
.bubble-two { left: 54%; top: 8%; width: 16px; height: 16px; }
.bubble-three { left: 78%; top: 22%; width: 10px; height: 10px; }

.cover-microbes {
  position: absolute;
  right: clamp(54px, 9vw, 124px);
  bottom: clamp(18px, 3.6vw, 36px);
  width: clamp(150px, 21vw, 220px);
  opacity: 0.78;
}

.cover-microbes img {
  width: 100%;
  border-radius: 0;
}

.page-hero {
  display: grid;
  gap: 16px;
  min-height: 420px;
  align-content: center;
  padding: clamp(58px, 8vw, 118px) clamp(20px, 5vw, 86px);
  background:
    radial-gradient(circle at 85% 25%, rgba(130, 194, 216, 0.4), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #edf7f5 58%, #f9efe0 100%);
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero p:not(.eyebrow) {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.hero:not(.home-cover)::after {
  content: "";
  position: absolute;
  inset: auto -8vw -18vw auto;
  width: 40vw;
  min-width: 340px;
  aspect-ratio: 1;
  border: 28px solid rgba(14, 111, 117, 0.12);
  border-radius: 50%;
}

.hero-copy,
.hero-visual,
.section {
  position: relative;
  z-index: 1;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(8px);
  transition:
    opacity 780ms ease,
    transform 780ms ease,
    filter 780ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.2rem, 5.2vw, 4.65rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.18;
}

.hero-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow),
.results-copy p,
.article-stack p,
.safety-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
  color: var(--teal-dark);
}

.hero-visual {
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.floating-stat {
  position: absolute;
  right: clamp(12px, 3vw, 30px);
  bottom: -28px;
  width: min(250px, 72%);
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.floating-stat strong {
  display: block;
  color: var(--teal);
  font-size: 2.1rem;
  line-height: 1;
}

.floating-stat span {
  display: block;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.section {
  padding: clamp(58px, 8vw, 116px) clamp(20px, 5vw, 86px);
}

.section.compact {
  position: relative;
  padding-top: clamp(46px, 6vw, 80px);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(236, 248, 248, 0.86), rgba(255, 255, 255, 0.98) 48%, rgba(241, 250, 251, 0.78));
}

.section.compact::before {
  content: "";
  position: absolute;
  top: 36px;
  right: clamp(18px, 6vw, 88px);
  width: min(340px, 42vw);
  aspect-ratio: 1.55;
  opacity: 0.18;
  background:
    linear-gradient(30deg, transparent 47%, #0f8da3 48% 52%, transparent 53%),
    linear-gradient(150deg, transparent 47%, #0f8da3 48% 52%, transparent 53%),
    radial-gradient(circle at 18% 52%, #0f8da3 0 7px, transparent 8px),
    radial-gradient(circle at 48% 25%, #0f8da3 0 9px, transparent 10px),
    radial-gradient(circle at 77% 54%, #0f8da3 0 7px, transparent 8px);
}

.section.compact::after {
  content: "";
  position: absolute;
  left: -8vw;
  bottom: 20px;
  width: min(420px, 48vw);
  height: 120px;
  opacity: 0.22;
  background:
    radial-gradient(ellipse at center, transparent 45%, #7ecfe3 46% 50%, transparent 51%);
  transform: rotate(-8deg);
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.home-flowline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1120px;
  margin: 0 0 clamp(28px, 4vw, 46px);
  border: 1px solid rgba(18, 91, 102, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 38px rgba(11, 64, 70, 0.08);
}

.home-flowline::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 7%;
  left: 7%;
  height: 2px;
  background: linear-gradient(90deg, rgba(18, 91, 102, 0.16), rgba(22, 184, 221, 0.58), rgba(18, 91, 102, 0.16));
  background-size: 200% 100%;
  animation: flowSweep 4s linear infinite;
}

.home-flowline div {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 118px;
  padding: 24px 14px 20px;
  text-align: center;
  transition:
    transform 220ms ease,
    background-color 220ms ease;
}

.home-flowline div:hover {
  transform: translateY(-4px);
  background: rgba(126, 207, 227, 0.12);
}

.home-flowline div + div {
  border-left: 1px solid rgba(18, 91, 102, 0.1);
}

.home-flowline span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  background: #128ea5;
  box-shadow: 0 0 0 8px rgba(126, 207, 227, 0.22);
  animation: nodePulse 3.2s ease-in-out infinite;
}

.home-flowline div:nth-child(2) span {
  animation-delay: 0.35s;
}

.home-flowline div:nth-child(3) span {
  animation-delay: 0.7s;
}

.home-flowline div:nth-child(4) span {
  animation-delay: 1.05s;
}

.home-flowline strong {
  color: #125b66;
  font-size: clamp(0.95rem, 1.35vw, 1.12rem);
}

.issue-grid,
.bottleneck-grid,
.hub-grid,
.team-grid,
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.issue-grid article,
.bottleneck-grid article,
.team-grid article,
.document-grid article,
.hub-grid a,
.article-stack article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 34px rgba(11, 64, 70, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.issue-grid article:hover,
.hub-grid a:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 184, 221, 0.36);
  box-shadow: 0 20px 44px rgba(11, 64, 70, 0.14);
}

.issue-grid article,
.bottleneck-grid article,
.document-grid article,
.article-stack article {
  padding: clamp(18px, 3vw, 28px);
}

.issue-grid p,
.bottleneck-grid p,
.team-grid p,
.document-grid p {
  margin: 0;
  color: var(--muted);
}

.icon-ring {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 8px solid rgba(130, 194, 216, 0.78);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(230, 197, 150, 0.45);
  animation: ringBreath 4s ease-in-out infinite;
}

.split,
.results,
.safety {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.split {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 249, 250, 0.78));
}

.split::before {
  content: "";
  position: absolute;
  top: -28px;
  right: -8vw;
  width: min(520px, 50vw);
  height: 160px;
  opacity: 0.28;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(22, 184, 221, 0.22) 18% 24%, transparent 24% 40%, rgba(18, 91, 102, 0.12) 40% 46%, transparent 46% 100%);
  transform: rotate(-8deg);
}

.split::after {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 76px);
  bottom: clamp(18px, 3vw, 44px);
  width: min(240px, 30vw);
  height: 74px;
  opacity: 0.22;
  background:
    linear-gradient(90deg, #128ea5 0 2px, transparent 2px 42px) 0 0 / 42px 100%,
    linear-gradient(0deg, #128ea5 0 2px, transparent 2px 24px) 0 0 / 100% 24px;
}

.results {
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff, #eef8f9);
}

.results::before {
  content: "";
  position: absolute;
  inset: 28px clamp(20px, 5vw, 86px) auto auto;
  width: min(380px, 42vw);
  height: 120px;
  opacity: 0.2;
  background:
    radial-gradient(circle at 12% 50%, #128ea5 0 5px, transparent 6px),
    radial-gradient(circle at 42% 22%, #128ea5 0 8px, transparent 9px),
    radial-gradient(circle at 72% 55%, #128ea5 0 6px, transparent 7px),
    linear-gradient(24deg, transparent 48%, #128ea5 49% 51%, transparent 52%),
    linear-gradient(155deg, transparent 48%, #128ea5 49% 51%, transparent 52%);
}

.media-panel img,
.results-card img,
.safety img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.split .media-panel,
.results-card {
  animation: softFloat 6s ease-in-out infinite;
}

.media-panel img {
  aspect-ratio: 4 / 3;
}

.bottlenecks {
  background: linear-gradient(180deg, #f4f8f8, #fff);
}

.bottleneck-poster {
  min-height: 620px;
  padding-top: 56px;
  background: #fff;
  scroll-margin-top: 82px;
}

.poster-heading {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 44px;
  text-align: center;
}

.poster-heading h2 {
  color: #000;
  font-size: clamp(1.7rem, 2.7vw, 2.2rem);
  line-height: 1;
}

.poster-subtitle,
.poster-note {
  margin: 0;
  color: #000;
}

.poster-subtitle {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.poster-note {
  font-size: 0.82rem;
}

.bottleneck-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 185px 48px 185px;
  gap: 18px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.bottleneck-tile {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 16px 16px 22px;
  border: 2px solid #efc8ff;
  background: #fff;
  box-shadow: 12px 14px 18px rgba(0, 0, 0, 0.22);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.bottleneck-tile:hover {
  transform: translateY(-7px) rotate(-0.4deg);
  box-shadow: 14px 18px 22px rgba(0, 0, 0, 0.18);
}

.tile-cold,
.tile-screening {
  animation: gentleFloatA 7s ease-in-out infinite;
}

.tile-activity,
.tile-intermediate {
  animation: gentleFloatB 7.4s ease-in-out infinite;
}

.bottleneck-tile img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.bottleneck-tile h3 {
  margin: 0;
  color: #000;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  font-weight: 500;
  text-align: center;
}

.tile-cold {
  grid-column: 1 / span 3;
  grid-row: 1;
}

.tile-activity {
  grid-column: 4 / span 3;
  grid-row: 1;
}

.tile-screening {
  grid-column: 7 / span 3;
  grid-row: 3;
}

.tile-intermediate {
  grid-column: 10 / span 3;
  grid-row: 3;
}

.bottleneck-label {
  align-self: center;
  color: #000;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  font-weight: 800;
  line-height: 1.24;
  text-align: center;
}

.label-enzyme {
  grid-column: 7 / span 2;
  grid-row: 1;
}

.label-process {
  grid-column: 4 / span 3;
  grid-row: 3;
}

.results {
  background: #f0f0f0;
}

.results-card {
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.results-card img {
  aspect-ratio: 835 / 436;
  object-fit: cover;
  box-shadow: none;
}

.wiki-hub {
  background: linear-gradient(135deg, #f8efe1, #f1f8f8);
}

.hub-grid a {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 34px);
  min-height: 190px;
  text-decoration: none;
}

.hub-grid span {
  color: var(--sand);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.detail {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.subnav {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(11, 64, 70, 0.08);
}

.subnav a {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.subnav a:hover {
  background: #e9f6f7;
}

.article-stack {
  display: grid;
  gap: 18px;
}

.article-stack article h2 {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
}

.team {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    url("assets/media/0a9f003102fbaadf2904da4553a285bf.png") center / cover;
}

.team-directory {
  background: #ffffff;
}

.team-directory.muted-band {
  background: linear-gradient(180deg, #f4f8f8, #ffffff);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.featured-members {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(11, 64, 70, 0.1);
}

.member-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
  background: #e8f4f5;
}

.member-copy {
  min-width: 0;
}

.member-role {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.member-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.35rem;
}

.member-card p:not(.member-role) {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.member-card p:not(.member-role) + p:not(.member-role) {
  margin-top: 10px;
}

.team-actions {
  margin-top: 24px;
  justify-content: center;
}

.contribution-hero {
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.9)),
    url("assets/media/3dc3d8014485659b7e86355611933320.png") center / cover;
}

.contribution-overview,
.contribution-details {
  background: #ffffff;
}

.contribution-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 960px;
}

.contribution-pill-grid span {
  padding: 10px 14px;
  border: 1px solid rgba(16, 143, 156, 0.24);
  border-radius: 999px;
  background: #eef9fb;
  color: #0e6370;
  font-size: 0.92rem;
  font-weight: 900;
}

.contribution-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(11, 64, 70, 0.1);
}

.contribution-first {
  padding-top: clamp(40px, 7vw, 76px);
}

.contribution-table {
  width: 100%;
  min-width: 1580px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.contribution-table th,
.contribution-table td {
  min-width: 112px;
  padding: 13px 10px;
  border: 1px solid rgba(23, 49, 54, 0.12);
  text-align: center;
  vertical-align: middle;
}

.contribution-table thead th {
  background: #e5f5f8;
  color: #145f6a;
  font-weight: 900;
}

.contribution-table thead th:first-child,
.contribution-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 170px;
  background: #88c7e4;
  color: #173d46;
  text-align: left;
}

.contribution-table tbody tr:nth-child(even) td {
  background: #f7fbfb;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #18a7ba;
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1;
  box-shadow: 0 5px 16px rgba(24, 167, 186, 0.28);
}

.contribution-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contribution-card-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f6fbfb);
  box-shadow: 0 12px 34px rgba(11, 64, 70, 0.08);
}

.contribution-card-grid h3 {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 1.25rem;
}

.contribution-card-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.attribution-mentors {
  background: #ffffff;
}

.mentor-responsibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mentor-responsibility-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f6fbfb);
  box-shadow: 0 12px 34px rgba(11, 64, 70, 0.08);
}

.mentor-responsibility-grid h3 {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 1.25rem;
}

.mentor-responsibility-grid p:not(.member-role) {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.supervisor-grid {
  grid-template-columns: minmax(0, 0.68fr);
}

.supervisor-card {
  grid-template-columns: 220px minmax(0, 1fr);
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-grid article {
  padding: 20px;
}

.team-grid .leader {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(130px, 0.65fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.leader img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.documents {
  background: #fbf8f2;
}

.notebook-hero,
.protocol-hero {
  background:
    linear-gradient(90deg, rgba(4, 45, 55, 0.86), rgba(4, 45, 55, 0.35)),
    url("assets/media/0d4cac30a557a9a9ff6630f51de5b6fa.jpg") center 56% / cover;
  color: #ffffff;
}

.notebook-hero p:not(.eyebrow),
.protocol-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

.notebook-layout {
  padding-top: clamp(32px, 5vw, 58px);
}

.notebook-reader {
  padding-top: clamp(32px, 5vw, 58px);
  background:
    linear-gradient(180deg, #f6fbfb, #ffffff);
}

.article-page.notebook-reader {
  padding-top: clamp(30px, 4vw, 48px);
}

.notebook-week-nav a.active {
  color: #16b8dd;
  background: rgba(126, 207, 227, 0.16);
}

.notebook-week-nav a.active::before {
  background: #16b8dd;
  box-shadow: 0 0 0 5px rgba(22, 184, 221, 0.18);
}

.notebook-week-nav {
  gap: 8px;
  width: min(100%, 220px);
  padding: 18px 16px;
}

.notebook-week-nav a {
  padding: 7px 10px 7px 16px;
  font-size: 0.94rem;
  line-height: 1.28;
}

.notebook-week-nav a::before {
  top: 14px;
  width: 6px;
  height: 6px;
}

.notebook-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.notebook-toolbar h2 {
  color: #125b66;
}

.document-title-balanced {
  overflow-wrap: normal;
}

.notebook-controls {
  display: grid;
  grid-template-columns: 92px auto 92px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.notebook-controls label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  min-height: 44px;
  padding: 0 12px;
  color: #125b66;
  font-weight: 800;
  border: 1px solid rgba(18, 91, 102, 0.16);
  background: #ffffff;
}

.notebook-controls input {
  width: 64px;
  min-height: 30px;
  border: 1px solid rgba(18, 91, 102, 0.2);
  color: #125b66;
  font: inherit;
  text-align: center;
}

.notebook-btn,
.week-jump button {
  height: 44px;
  min-height: 44px;
  padding: 0 12px;
  color: #ffffff;
  font-weight: 850;
  border: 0;
  background: #128ea5;
  cursor: pointer;
}

.notebook-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
}

.notebook-btn:hover,
.week-jump button:hover {
  background: #0e6f75;
}

.week-jump {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.week-jump button {
  min-width: 0;
  min-height: 38px;
  padding: 0 8px;
  font-size: 0.86rem;
  background: #eaf7f9;
  color: #125b66;
  border: 1px solid rgba(18, 91, 102, 0.14);
}

.notebook-frame {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(12px, 2vw, 22px);
  background:
    linear-gradient(90deg, rgba(18, 91, 102, 0.12), transparent 10% 90%, rgba(18, 91, 102, 0.12)),
    #ffffff;
  border: 1px solid rgba(18, 91, 102, 0.14);
  box-shadow: 0 24px 60px rgba(11, 64, 70, 0.14);
}

.notebook-frame iframe {
  display: block;
  width: 100%;
  height: min(82vh, 920px);
  min-height: 620px;
  border: 0;
  background: #ffffff;
}

.notebook-fallback {
  max-width: 1180px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.notebook-fallback a {
  color: #0c7f9b;
  font-weight: 800;
}

.safety {
  background: #ffffff;
}

.safety ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.safety li {
  padding: 12px 14px;
  border-left: 5px solid var(--teal);
  border-radius: 6px;
  background: #eef8f8;
  color: var(--teal-dark);
  font-weight: 800;
}

.project-menu {
  background: #ffffff;
}

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(11, 64, 70, 0.11);
}

.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.project-card span,
.project-card h3,
.project-card p {
  display: block;
  margin-right: 18px;
  margin-left: 18px;
}

.project-card span {
  margin-top: 18px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.project-card h3 {
  margin-top: 4px;
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.project-card p {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--muted);
}

.project-subpage {
  background: #f4f8f8;
}

.project-banner {
  position: relative;
  display: grid;
  width: min(100%, 1200px);
  height: clamp(330px, 48vw, 540px);
  margin: clamp(24px, 4vw, 40px) auto 0;
  overflow: hidden;
}

.project-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-banner-background img {
  object-position: center 52%;
}

.project-banner-challenge img {
  object-position: center 48%;
}

.project-banner-methods img {
  object-position: center 58%;
}

.project-banner-description img {
  object-position: center bottom;
}

.project-banner-design img {
  object-position: center 48%;
}

.project-banner-results img {
  object-position: center 42%;
}

.project-banner-protocol img {
  object-position: center 50%;
}

.project-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 38, 44, 0.14);
}

.project-banner-light::after {
  background: rgba(255, 255, 255, 0.04);
}

.project-banner h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(calc(100% - 48px), 1000px);
  margin: 0;
  padding: 24px;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 1.08;
  text-align: center;
  text-shadow:
    0 2px 0 rgba(15, 99, 61, 0.78),
    0 5px 16px rgba(0, 0, 0, 0.42);
}

.project-banner .project-tabs {
  display: none;
}

.project-tabs {
  position: absolute;
  top: 0;
  right: clamp(70px, 9vw, 150px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: clamp(176px, 18vw, 224px);
  margin: 0;
  padding: 10px 18px 14px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(11, 64, 70, 0.1);
}

.project-tabs a {
  position: relative;
  width: 100%;
  padding: 2px 0;
  color: #18c9f2;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.32;
  text-align: center;
  text-decoration: none;
}

.project-tabs a.active,
.project-tabs a:hover {
  color: #0a98c0;
}

.project-tabs a.active::after,
.project-tabs a:hover::after {
  content: none;
}

.document-tabs {
  width: clamp(220px, 22vw, 300px);
}

.document-tabs a {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 980px);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.article-nav {
  position: sticky;
  top: 108px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 250, 251, 0.96));
  border: 1px solid rgba(18, 91, 102, 0.12);
  border-left: 5px solid #7ecfe3;
  box-shadow: 0 18px 38px rgba(20, 80, 88, 0.1);
}

.article-nav a {
  position: relative;
  display: block;
  padding: 10px 12px 10px 18px;
  color: #12606b;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.48;
  text-decoration: none;
  border-radius: 8px;
}

.article-nav a::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7ecfe3;
  box-shadow: 0 0 0 4px rgba(126, 207, 227, 0.18);
}

.article-nav a:hover {
  color: #16b8dd;
  background: rgba(126, 207, 227, 0.13);
}

.article-page {
  width: 100%;
  min-width: 0;
  padding: clamp(42px, 7vw, 76px) clamp(22px, 5vw, 72px);
  background: #ffffff;
}

.article-section {
  scroll-margin-top: 104px;
}

.article-page h2 {
  max-width: 780px;
  margin-top: 0;
  margin-bottom: 24px;
  color: #174e58;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.article-page h3 {
  max-width: 820px;
  margin: 0 0 14px;
  color: #125b66;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.18;
}

.article-page h4 {
  max-width: 780px;
  margin: 28px 0 12px;
  color: #174e58;
  font-size: clamp(1.06rem, 1.8vw, 1.25rem);
  line-height: 1.3;
}

.article-section + .article-section,
.article-figure + .article-section {
  margin-top: 42px;
}

.article-page p,
.article-page figcaption {
  max-width: 840px;
  color: #2b4247;
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.78;
}

.article-page p {
  margin: 0 0 18px;
}

.article-figure {
  width: min(100%, 920px);
  margin: clamp(34px, 5vw, 54px) auto;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  border: 1px solid rgba(18, 91, 102, 0.12);
  box-shadow: 0 18px 42px rgba(20, 80, 88, 0.12);
}

.article-page figcaption {
  margin-top: 14px;
  color: #537278;
  font-size: 0.94rem;
  line-height: 1.58;
}

.references-section {
  margin-top: clamp(56px, 8vw, 86px);
  padding-top: 34px;
  border-top: 1px solid rgba(18, 91, 102, 0.16);
}

.reference-list {
  max-width: 880px;
  margin: 18px 0 0;
  padding-left: 30px;
}

.reference-list li {
  margin-bottom: 13px;
  padding-left: 4px;
  color: #3f5d63;
  font-size: 0.92rem;
  line-height: 1.55;
}

.reference-list li::marker {
  color: #128ea5;
  font-weight: 850;
}

.reference-list a {
  color: #0c7f9b;
  overflow-wrap: anywhere;
}

.site-footer {
  position: relative;
  margin-top: clamp(70px, 10vw, 120px);
  padding: clamp(58px, 7vw, 82px) clamp(24px, 5vw, 86px) clamp(46px, 6vw, 76px);
  overflow: visible;
  background:
    radial-gradient(circle at 35% 100%, rgba(8, 79, 85, 0.24) 0 54px, transparent 56px),
    linear-gradient(180deg, #bfe2f1 0%, #82c2e3 100%);
  color: #153940;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 32%;
  bottom: -84px;
  width: 150px;
  height: 150px;
  background: #0e6f75;
  clip-path: polygon(50% 0, 58% 31%, 84% 12%, 71% 42%, 100% 50%, 71% 58%, 84% 88%, 58% 69%, 50% 100%, 42% 69%, 16% 88%, 29% 58%, 0 50%, 29% 42%, 16% 12%, 42% 31%);
  opacity: 0.95;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 38%, rgba(255, 255, 255, 0.3), transparent 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 44%);
}

.footer-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(24px, 4vw, 54px);
  max-width: 1220px;
  margin: 0 auto;
}

.footer-content section {
  text-align: center;
}

.footer-content p,
.footer-project-menu {
  margin-right: auto;
  margin-left: auto;
}

.footer-content h2 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #153940;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.2;
}

.footer-content p {
  max-width: 270px;
  margin: 0;
  color: #235f67;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.45;
}

.footer-project-links p {
  max-width: 270px;
}

.footer-project-menu {
  position: relative;
  width: min(100%, 270px);
  margin-bottom: 12px;
  line-height: 1;
}

.footer-project-menu summary {
  display: inline-block;
  margin: 0;
  padding: 0;
  color: #153940;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}

.footer-project-menu summary::-webkit-details-marker {
  display: none;
}

.footer-project-menu summary:hover {
  color: #0e6f75;
}

.footer-project-menu nav {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 12px);
  z-index: 5;
  display: grid;
  gap: 2px;
  width: 190px;
  padding: 12px 16px 14px;
  transform: translateX(50%);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(11, 64, 70, 0.16);
}

.footer-project-menu:not([open]) nav {
  display: none;
}

.footer-project-menu a {
  color: #18c9f2;
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.28;
  text-align: center;
  text-decoration: none;
}

.footer-project-menu a:hover {
  color: #0a98c0;
}

@keyframes homeDrift {
  0% {
    background-position: center 44%;
    transform: scale(1.01);
  }

  100% {
    background-position: center 49%;
    transform: scale(1.055);
  }
}

@keyframes tideGlow {
  0% {
    opacity: 0.86;
  }

  100% {
    opacity: 1;
  }
}

@keyframes riseIn {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes linePulse {
  0%,
  100% {
    width: 42px;
    opacity: 0.82;
  }

  50% {
    width: 64px;
    opacity: 1;
  }
}

@keyframes metaFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes flowSweep {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    box-shadow: 0 0 0 8px rgba(126, 207, 227, 0.2);
  }

  50% {
    box-shadow: 0 0 0 13px rgba(126, 207, 227, 0.08);
  }
}

@keyframes ringBreath {
  0%,
  100% {
    transform: scale(1);
    border-color: rgba(130, 194, 216, 0.78);
  }

  50% {
    transform: scale(1.08);
    border-color: rgba(22, 184, 221, 0.64);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes gentleFloatA {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-6px) rotate(0.35deg);
  }
}

@keyframes gentleFloatB {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(6px) rotate(-0.35deg);
  }
}

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

  .scroll-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .results,
  .safety,
  .detail {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .home-cover {
    min-height: min(720px, calc(100svh - 120px));
  }

  .issue-grid,
  .bottleneck-grid,
  .hub-grid,
  .document-grid,
  .project-card-grid,
  .mentor-responsibility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-flowline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-flowline::before {
    content: none;
  }

  .notebook-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .notebook-controls {
    justify-content: flex-start;
  }

  .week-jump {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bottleneck-poster {
    min-height: auto;
  }

  .bottleneck-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 20px;
  }

  .tile-cold,
  .tile-activity,
  .tile-screening,
  .tile-intermediate,
  .label-enzyme,
  .label-process {
    grid-column: auto;
    grid-row: auto;
  }

  .bottleneck-label {
    min-height: 92px;
    display: grid;
    place-items: center;
    border: 2px solid transparent;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-grid,
  .featured-members {
    grid-template-columns: 1fr;
  }

  .supervisor-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 84px;
    padding-top: 64px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-content p {
    margin-right: auto;
    margin-left: auto;
  }

  .subnav {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-layout {
    display: block;
    max-width: 980px;
  }

  .article-nav {
    position: static;
    flex-direction: row;
    gap: 14px;
    margin-bottom: 18px;
    padding: 16px 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-left-width: 0;
  }

  .article-nav a {
    flex: 0 0 auto;
    max-width: min(300px, 62vw);
    padding: 10px 14px 10px 20px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 18px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 6px 14px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2rem, 13vw, 3.1rem);
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-cover {
    min-height: 620px;
    padding-top: 68px;
    padding-bottom: 74px;
    place-items: end start;
  }

  .cover-copy {
    margin-top: 0;
  }

  .home-cover::before {
    background:
      linear-gradient(90deg, rgba(3, 25, 32, 0.9) 0%, rgba(3, 42, 51, 0.72) 58%, rgba(2, 46, 55, 0.36) 100%),
      linear-gradient(180deg, rgba(6, 61, 72, 0.06) 0%, rgba(4, 30, 38, 0.58) 100%),
      url("assets/media/3b8b355ae17929f8327e3b8096d1779f.png") center 44% / cover no-repeat;
  }

  .home-kicker {
    font-size: 0.78rem;
  }

  .home-kicker::before {
    width: 30px;
  }

  .cover-copy h1 {
    font-size: clamp(2rem, 9vw, 3.05rem);
  }

  .cover-copy h1 small {
    font-size: clamp(1.2rem, 6vw, 1.85rem);
  }

  .home-summary {
    font-size: 0.98rem;
  }

  .home-hero-actions {
    gap: 10px;
  }

  .home-hero-actions a {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.92rem;
  }

  .home-hero-meta {
    gap: 8px;
  }

  .home-hero-meta span {
    min-height: 30px;
    font-size: 0.78rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .issue-grid,
  .bottleneck-grid,
  .hub-grid,
  .team-grid,
  .document-grid,
  .project-card-grid,
  .mentor-responsibility-grid,
  .subnav,
  .home-flowline {
    grid-template-columns: 1fr;
  }

  .home-flowline div {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    min-height: 86px;
    text-align: left;
  }

  .home-flowline div + div {
    border-top: 1px solid rgba(18, 91, 102, 0.1);
    border-left: 0;
  }

  .week-jump {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notebook-controls {
    width: 100%;
    grid-template-columns: minmax(74px, 1fr) minmax(150px, 1.35fr) minmax(74px, 1fr);
  }

  .notebook-controls label,
  .notebook-btn {
    width: auto;
  }

  .notebook-btn {
    width: 100%;
    min-width: 74px;
  }

  .notebook-controls label {
    justify-content: center;
  }

  .notebook-frame {
    padding: 8px;
  }

  .notebook-frame iframe {
    height: 74vh;
    min-height: 520px;
  }

  .project-banner {
    height: 360px;
    margin-top: 0;
  }

  .project-tabs {
    position: static;
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0 18px;
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-bottom: 1px solid rgba(23, 49, 54, 0.12);
    box-shadow: 0 10px 28px rgba(11, 64, 70, 0.07);
  }

  .project-tabs a {
    width: auto;
    padding: 12px 14px;
    font-size: 0.96rem;
    white-space: nowrap;
  }

  .article-nav {
    margin-right: -18px;
    margin-left: -18px;
    padding: 14px 18px;
    border-right: 0;
    border-left: 0;
  }

  .article-nav a {
    max-width: 72vw;
    font-size: 0.98rem;
  }

  .bottleneck-poster {
    padding-top: 42px;
  }

  .poster-heading {
    margin-bottom: 28px;
  }

  .poster-note {
    font-size: 0.78rem;
  }

  .bottleneck-board {
    grid-template-columns: 1fr;
  }

  .bottleneck-label {
    min-height: auto;
    padding: 12px;
  }

  .team-grid .leader {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .member-card,
  .supervisor-card {
    grid-template-columns: 1fr;
  }

  .member-card img {
    max-height: 360px;
  }

  .floating-stat {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }
}
