﻿:root {
  --ink: #18212a;
  --muted: #5b6773;
  --line: #d9e0e5;
  --paper: #ffffff;
  --soft: #f7f4f8;
  --accent: #6f2c8f;
  --accent-strong: #4f176f;
  --gold: #a5792a;
  --violet-soft: #efe5f3;
  --shadow: 0 18px 48px rgba(23, 34, 44, 0.13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

body.modal-open {
  overflow: hidden;
}

.feature-gated {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 224, 229, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
  font-size: 1.08rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
}

nav a:hover,
footer a:hover {
  color: var(--accent);
}

.template-link {
  color: var(--accent);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-overlay,
.vapor-animation {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("hero-images/siww-hero-water-cycle.gif");
  background-position: center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  transform: scale(1.01);
}

.vapor-animation {
  z-index: 1;
  opacity: 0.32;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.34), transparent 16%),
    repeating-linear-gradient(112deg, transparent 0 34px, rgba(255, 255, 255, 0.16) 36px 38px, transparent 40px 76px),
    linear-gradient(120deg, transparent 0%, rgba(142, 77, 169, 0.28) 42%, transparent 62%);
  background-size: 100% 100%, 240px 240px, 180% 180%;
  animation: vaporDrift 18s linear infinite;
  pointer-events: none;
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.42) 70%, rgba(255, 255, 255, 0.18) 100%),
    linear-gradient(0deg, rgba(70, 24, 90, 0.12), rgba(24, 33, 42, 0.01));
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: clamp(64px, 10vw, 118px) clamp(20px, 7vw, 88px);
}
.hero-content h1 {
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  white-space: nowrap;
}

.eyebrow,
.label,
.project-meta,
.timeline span {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.lead {
  max-width: 690px;
  color: #2f3d49;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  text-align: justify;
  text-align-last: left;
}

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

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.split-button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.logo-button {
  min-height: 56px;
  padding: 4px 8px;
}

.logo-button img {
  width: auto;
  max-width: 205px;
  height: 44px;
  object-fit: contain;
}

.cfi-logo-button {
  padding: 6px 10px;
}

.cfi-logo-button img {
  max-width: 190px;
  height: 40px;
}

.prep-aqua-logo-button {
  grid-column: 1;
  grid-row: auto;
  background: #fff;
  cursor: default;
}

.prep-aqua-logo-button img {
  width: auto;
  max-width: 230px;
  height: 48px;
  object-fit: contain;
}

.nus-ccl-logo-button img {
  max-width: 230px;
  height: 48px;
  object-fit: contain;
}

.prep-aqua-window {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(14, 116, 144, 0.22);
  background:
    linear-gradient(135deg, rgba(240, 249, 255, 0.96), rgba(255, 255, 255, 0.88) 52%, rgba(236, 253, 245, 0.9));
  box-shadow: var(--shadow);
}

.prep-aqua-window h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  line-height: 1.25;
}

.prep-aqua-window p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.prep-aqua-window .prep-aqua-kicker {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font-weight: 750;
  font-size: 0.93rem;
  box-shadow: 0 8px 22px rgba(24, 33, 42, 0.08);
}

.contact-actions .button {
  width: 100%;
}

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

.button:hover {
  transform: translateY(-1px);
}

.button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.72;
  pointer-events: none;
}

.button[aria-disabled="true"]:hover {
  transform: none;
}

body.maintenance-active {
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

body.maintenance-overlay-active {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

.maintenance-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 64px);
  overflow: auto;
  background: rgba(242, 238, 246, 0.58);
  backdrop-filter: blur(4px) saturate(0.82);
  -webkit-backdrop-filter: blur(4px) saturate(0.82);
}

.maintenance-overlay .maintenance-card {
  width: min(100%, 700px);
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 90px rgba(23, 34, 44, 0.24);
}

.maintenance-overlay .maintenance-card h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}

.maintenance-title-line {
  display: block;
  white-space: nowrap;
}

.maintenance-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 72px);
  background:
    radial-gradient(circle at 16% 18%, rgba(47, 137, 168, 0.16), transparent 34%),
    radial-gradient(circle at 84% 82%, rgba(111, 44, 143, 0.14), transparent 38%),
    linear-gradient(135deg, #f5fbfd, #ffffff 48%, #f7f1f9);
}

.maintenance-card {
  width: min(100%, 760px);
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid rgba(111, 44, 143, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 72px rgba(23, 34, 44, 0.12);
}

.maintenance-eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.maintenance-status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 22px;
  padding: 6px 10px;
  border: 1px solid rgba(111, 44, 143, 0.28);
  border-radius: 999px;
  background: rgba(239, 229, 243, 0.72);
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.maintenance-card h1 {
  max-width: 680px;
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 0.98;
}

.maintenance-copy,
.maintenance-contact {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
}

.maintenance-contact {
  margin-top: 12px;
}

.maintenance-contact a {
  color: var(--accent-strong);
  font-weight: 800;
}

@media (max-width: 600px) {
  .maintenance-overlay,
  .maintenance-screen {
    padding:
      max(16px, env(safe-area-inset-top))
      max(14px, env(safe-area-inset-right))
      max(16px, env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
  }

  .maintenance-card,
  .maintenance-overlay .maintenance-card {
    width: 100%;
    max-height: calc(100dvh - 32px);
    padding: clamp(22px, 6vw, 28px) clamp(18px, 5.5vw, 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .maintenance-card h1,
  .maintenance-overlay .maintenance-card h1 {
    margin-bottom: 16px;
    font-size: clamp(1.45rem, 7vw, 2.25rem);
    line-height: 1.04;
  }

  .maintenance-eyebrow {
    margin-bottom: 14px;
    font-size: 0.68rem;
  }

  .maintenance-status {
    margin-bottom: 18px;
    padding: 5px 9px;
    font-size: 0.68rem;
  }

  .maintenance-copy,
  .maintenance-contact {
    font-size: 0.96rem;
    line-height: 1.52;
  }

  .maintenance-contact {
    margin-top: 14px;
  }

  .maintenance-contact a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) and (max-height: 560px) {
  .maintenance-overlay,
  .maintenance-screen {
    place-items: start center;
  }
}

.profile-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-inline: clamp(20px, 7vw, 88px);
  background: var(--line);
  border: 1px solid var(--line);
}

.profile-strip > div {
  padding: 26px clamp(20px, 4vw, 44px);
  background: var(--paper);
}

.profile-strip strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.03rem;
}

.profile-strip p,
.section p,
li span,
footer {
  color: var(--muted);
}

.section,
.contact-section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 7vw, 88px);
}

.muted {
  background: var(--soft);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 30px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 32px;
}

.section-heading.split > p {
  max-width: 360px;
  text-align: left;
}

.research-page-hero .section-heading.split > p {
  max-width: 520px;
}


.section-heading.fluid-heading {
  width: 100%;
  max-width: none;
}

.section-heading.fluid-heading h2 {
  max-width: none;
  font-size: clamp(2.35rem, 3vw, 3.05rem);
}

.fluid-copy,
.wide-text.fluid-copy,
.institution-note.fluid-copy,
.research-page-hero .fluid-copy {
  width: 100%;
  max-width: min(100%, calc(100vw - clamp(64px, 8vw, 160px)));
}

.contact-section .fluid-copy,
.contact-section .institution-note.fluid-copy {
  width: 100%;
  max-width: none;
  text-align: left;
}

.section-heading.split.no-side-copy {
  grid-template-columns: minmax(0, 1fr);
}
.wide-text {
  max-width: 970px;
  font-size: 1.08rem;
}

.research-framework-card {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 34px);
  margin: 28px 0 32px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(111, 44, 143, 0.2);
  background:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,0.92), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(239,229,243,0.7));
  box-shadow: 0 14px 38px rgba(24, 33, 42, 0.07);
}

.framework-logo-wrap {
  display: grid;
  place-items: center;
  align-items: center;
  justify-items: center;
  min-height: 210px;
  border: 1px solid rgba(111, 44, 143, 0.16);
  background: rgba(255, 255, 255, 0.76);
}

.framework-logo-wrap img {
  display: block;
  width: min(100%, 240px);
  height: auto;
  aspect-ratio: 400 / 420;
}

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

.framework-copy h3 {
  color: var(--accent-strong);
  font-size: clamp(1.28rem, 2.2vw, 1.78rem);
}

.framework-motto {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-style: normal;
  font-weight: 650;
}

.framework-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 10px 0 12px;
  color: var(--accent-strong);
  font-weight: 850;
  line-height: 1.25;
}

.framework-equation span {
  font-size: clamp(1.14rem, 2vw, 1.48rem);
}

.framework-equation .formula {
  font-family: inherit;
  font-style: normal;
}

.framework-equation .arrow {
  color: var(--gold);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
}

.research-grid,
.project-list,
.columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.research-grid article,
.project-list article {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(24, 33, 42, 0.05);
}

.research-grid article {
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--accent);
}

.research-card-visual {
  display: block;
  width: 100%;
  aspect-ratio: 2.19 / 1;
  margin-bottom: 18px;
  border: 1px solid rgba(111, 44, 143, 0.16);
  background: #e1f5f6;
  object-fit: cover;
}

.research-grid {
  grid-template-columns: repeat(3, 1fr);
}

.text-link {
  display: inline-flex;
  margin-top: auto;
  color: var(--accent-strong);
  font-weight: 850;
}

.research-page-hero {
  background: var(--soft);
}

.research-heading-stack .fluid-copy {
  width: 100%;
  margin-top: -4px;
  max-width: none;
  min-width: 0;
  overflow-wrap: anywhere;
}
.research-carousel {
  margin-top: 28px;
}

.carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.carousel-toolbar button {
  min-height: 38px;
  border: 1px solid var(--accent);
  background: var(--paper);
  color: var(--accent-strong);
  padding: 8px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.carousel-toolbar button:hover {
  background: var(--accent);
  color: #fff;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  min-height: 10px;
  padding: 0;
  border-radius: 50%;
  border-color: rgba(111, 44, 143, 0.32);
  background: rgba(111, 44, 143, 0.18);
}

.carousel-dots button.active {
  background: var(--accent);
}

.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.research-slide {
  flex: 0 0 min(100%, 1060px);
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  scroll-snap-align: start;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 40px rgba(24, 33, 42, 0.08);
}

.research-slide h3 {
  color: var(--accent-strong);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.research-illustration {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(111, 44, 143, 0.2);
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.9), transparent 24%),
    linear-gradient(135deg, rgba(239,229,243,0.92), rgba(255,255,255,0.92));
}

.research-illustration span {
  position: absolute;
  display: block;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  margin: 0;
  border: 1px solid rgba(111, 44, 143, 0.22);
  background: #fff;
  color: var(--accent-strong);
  padding: 5px 9px;
  font-size: 0.86rem;
  font-weight: 750;
}

.tag-list a {
  color: inherit;
  text-decoration: none;
}

.module-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.research-overview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(111,44,143,0.1), transparent 52%),
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(239,229,243,0.72));
}

.overview-core {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(340px, 1.05fr) minmax(250px, 1fr);
  grid-template-rows: auto minmax(176px, 1fr);
  align-items: center;
  gap: 0;
  min-height: clamp(260px, 25vw, 345px);
  padding: clamp(6px, 1.2vw, 12px) clamp(16px, 2.6vw, 28px) clamp(2px, 0.4vw, 5px);
  border: 1px solid rgba(47,137,168,0.14);
  background:
    radial-gradient(ellipse at 16% 52%, rgba(47,137,168,0.11), transparent 42%),
    radial-gradient(ellipse at 84% 52%, rgba(221,128,54,0.12), transparent 43%),
    radial-gradient(ellipse at 50% 48%, rgba(255,255,255,0.98), rgba(255,255,255,0.72) 48%, transparent 72%),
    linear-gradient(90deg,
      rgba(47,137,168,0.07) 0%,
      rgba(241,249,250,0.84) 25%,
      rgba(255,255,255,0.96) 50%,
      rgba(253,248,241,0.84) 75%,
      rgba(221,128,54,0.08) 100%),
    linear-gradient(90deg,
      rgba(247, 252, 253, 0.92) 0%,
      rgba(255, 255, 255, 0.98) 35%,
      rgba(255, 255, 255, 0.98) 65%,
      rgba(253, 248, 241, 0.92) 100%);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 28px 68px rgba(23, 34, 44, 0.08);
}

.overview-core::before,
.overview-core::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.overview-core::before {
  inset: 12px;
  border: 1px solid rgba(255,255,255,0.56);
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0) 0%,
      rgba(47,137,168,0.08) 24%,
      rgba(255,255,255,0.5) 50%,
      rgba(221,128,54,0.09) 76%,
      rgba(255,255,255,0) 100%);
}

.overview-core::after {
  left: 5%;
  right: 5%;
  top: 50%;
  height: 74%;
  transform: translateY(-50%);
  background:
    linear-gradient(90deg,
      rgba(47,137,168,0.08),
      rgba(47,137,168,0.04) 24%,
      rgba(255,255,255,0.14) 48%,
      rgba(221,128,54,0.045) 76%,
      rgba(221,128,54,0.09));
  filter: blur(20px);
  opacity: 0.62;
}

.overview-core-copy {
  position: relative;
  grid-column: 2 / 3;
  grid-row: 2;
  align-self: center;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  width: 100%;
  min-height: clamp(145px, 13.5vw, 185px);
  min-width: 0;
  padding: clamp(12px, 2vw, 22px);
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  z-index: 2;
}

.overview-core-copy::before,
.overview-core-copy::after {
  display: none;
}

.overview-core-copy::before {
  right: 100%;
  background: linear-gradient(90deg, rgba(47,137,168,0), rgba(47,137,168,0.16));
}

.overview-core-copy::after {
  left: 100%;
  background: linear-gradient(90deg, rgba(221,128,54,0.14), rgba(221,128,54,0));
}

.framework-side {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-height: clamp(172px, 16.5vw, 225px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  z-index: 1;
}

.framework-water-resource {
  grid-column: 1 / 2;
  grid-row: 2;
}

.framework-water-hazard {
  grid-column: 3 / 4;
  grid-row: 2;
}

.framework-side::before {
  content: "";
  position: absolute;
  inset: -6% -10% -4%;
  opacity: 0.86;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 48% 58%, rgba(47,137,168,0.12), rgba(47,137,168,0.05) 44%, transparent 74%),
    linear-gradient(180deg, rgba(255,255,255,0.12), transparent 68%);
  filter: blur(10px);
}

.framework-water-hazard::before {
  background:
    radial-gradient(ellipse at 52% 58%, rgba(221,128,54,0.13), rgba(221,128,54,0.052) 44%, transparent 74%),
    radial-gradient(ellipse at 62% 50%, rgba(47,137,168,0.06), transparent 66%),
    linear-gradient(180deg, rgba(255,255,255,0.1), transparent 68%);
}

.framework-water-hazard {
  border-color: transparent;
}

.framework-art,
.framework-art-title {
  position: relative;
  z-index: 1;
}

.framework-art-title {
  color: var(--accent-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.34rem, 1.86vw, 1.88rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 8px 18px rgba(111,44,143,0.14);
}

.framework-art {
  display: block;
  width: min(118%, clamp(290px, 27vw, 410px));
  height: auto;
  aspect-ratio: 520 / 280;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(23, 34, 44, 0.13));
  mix-blend-mode: multiply;
}

.framework-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 12px;
}

.framework-canopy {
  display: grid;
  gap: 4px;
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
  width: min(100%, 920px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.framework-application {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.86rem, 1vw, 0.98rem);
  font-weight: 760;
  line-height: 1.34;
  letter-spacing: 0;
}

.framework-line strong {
  color: var(--accent-strong);
  font-size: clamp(1.32rem, 2vw, 2.04rem);
  line-height: 1.15;
}

.framework-line small {
  flex-basis: 100%;
  margin-left: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
}

.framework-line span {
  display: inline-block;
  min-width: 58px;
  padding: 0;
  background: transparent;
  color: #d8842c;
  font-size: clamp(1.24rem, 1.8vw, 1.84rem);
  font-weight: 900;
  line-height: 1;
}

.overview-core .framework-equation {
  justify-content: center;
  margin: 0;
}

.overview-core .framework-equation span {
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
}

.overview-core .framework-motto {
  max-width: min(78ch, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.34;
  white-space: normal;
  overflow: visible;
  width: 100%;
}

.overview-domain {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(111,44,143,0.18);
  background: rgba(255,255,255,0.78);
  color: var(--accent-strong);
  font-weight: 850;
}

.overview-domain small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}

.research-module {
  display: grid;
  grid-template-columns: minmax(300px, 460px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding: clamp(58px, 8vw, 104px) clamp(20px, 7vw, 88px);
  border-top: 1px solid var(--line);
}

.research-module.muted {
  background: var(--soft);
}

.research-module-aside {
  position: sticky;
  top: 92px;
}

.research-module-visual {
  position: sticky;
  top: 92px;
  display: block;
  width: 100%;
  aspect-ratio: 1.73 / 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(111, 44, 143, 0.2);
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.9), transparent 24%),
    linear-gradient(135deg, rgba(239,229,243,0.92), rgba(255,255,255,0.92));
  object-fit: cover;
}

.research-module-aside .research-module-visual {
  position: static;
  top: auto;
}

.research-module-visual span {
  position: absolute;
  display: block;
}

.module-guide {
  margin-top: 12px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(111, 44, 143, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.module-guide p {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-guide ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.35;
}

.module-guide li::marker {
  color: var(--gold);
  font-weight: 800;
}

.module-guide li {
  margin: 0;
}

.module-guide button {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.module-guide button:hover,
.module-guide button:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.module-guide li > ul {
  display: grid;
  gap: 3px;
  margin: 5px 0 0;
  padding-left: 13px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.module-guide li > ul button {
  font-weight: 650;
}

.module-guide li > ul li::marker {
  color: rgba(111, 44, 143, 0.48);
  font-weight: 700;
}

.research-module-body {
  width: 100%;
  max-width: none;
}

.research-module-body h2 {
  color: var(--accent-strong);
}

.module-carousel {
  margin-top: 24px;
}

.module-result-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.result-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 min(86%, 420px);
  scroll-snap-align: start;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.result-card[data-badge]::before {
  content: attr(data-badge);
  position: absolute;
  z-index: 2;
  top: 29px;
  left: 29px;
  max-width: calc(100% - 82px);
  padding: 4px 7px;
  border-radius: 5px;
  background: #6f2c8f;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(23, 35, 48, 0.14);
}

.result-visual {
  position: relative;
  height: 118px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(111,44,143,0.16);
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.8), transparent 24%),
    linear-gradient(135deg, rgba(239,229,243,0.86), rgba(255,255,255,0.92));
}

.result-visual span {
  position: absolute;
  display: block;
}

.result-card-cover {
  display: block;
  width: 100%;
  height: 170px;
  margin-bottom: 14px;
  border: 1px solid rgba(111, 44, 143, 0.16);
  filter: saturate(0.76) brightness(1.04);
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #fbfdff, #f4f8fa);
}

.result-card:hover .result-card-cover {
  filter: saturate(0.9) brightness(1.02);
}

.aggregation-cover {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  height: 118px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(111, 44, 143, 0.16);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.92), transparent 28%),
    linear-gradient(135deg, rgba(224,244,247,0.95), rgba(239,229,243,0.92));
}

.aggregation-cover span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(111, 44, 143, 0.12);
  background: rgba(255, 255, 255, 0.54);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.aggregation-cover i {
  position: absolute;
  display: block;
  border-radius: 999px;
  pointer-events: none;
}

.aggregation-cover i:nth-of-type(1) {
  left: 18px;
  top: 54px;
  width: 140px;
  height: 2px;
  background: rgba(47, 137, 168, 0.72);
  transform: rotate(-12deg);
}

.aggregation-cover i:nth-of-type(2) {
  right: 22px;
  top: 28px;
  width: 54px;
  height: 54px;
  border: 2px dashed rgba(165, 121, 42, 0.72);
}

.aggregation-cover i:nth-of-type(3) {
  left: 48%;
  bottom: 14px;
  width: 84px;
  height: 28px;
  border: 2px solid rgba(111, 44, 143, 0.34);
  transform: translateX(-50%);
}

.result-card strong,
.result-card span,
.result-card a,
.card-action {
  display: block;
}

.result-card strong {
  color: var(--ink);
}

.result-card span {
  margin-top: 8px;
  color: var(--muted);
}

.result-card .card-status {
  align-self: flex-start;
  width: fit-content;
  margin-top: 10px;
  padding: 4px 8px;
  border: 1px solid rgba(111, 44, 143, 0.28);
  border-radius: 999px;
  background: rgba(239, 229, 243, 0.72);
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.result-card a {
  margin-top: 14px;
  color: var(--accent-strong);
  font-weight: 850;
}

.card-action {
  width: fit-content;
  margin-top: auto;
  padding: 14px 0 0;
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.card-action:hover {
  color: var(--accent);
}

.module-more {
  display: none;
  margin-top: 20px;
}

.module-detail {
  display: none;
  gap: 8px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.module-detail.is-collapsed {
  display: none;
}

.module-detail h3 {
  color: var(--accent-strong);
}

.module-detail > .theory-feature {
  display: none;
}

.theory-feature {
  display: grid;
  gap: 18px;
  margin: 18px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(111, 44, 143, 0.2);
  background:
    radial-gradient(circle at 8% 10%, rgba(255,255,255,0.92), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(239,229,243,0.54));
}

.theory-heading {
  max-width: 920px;
}

.theory-hero,
.theory-figure-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
}

.theory-hero img,
.theory-figure-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.theory-hero figcaption,
.theory-figure-grid figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mechanism-grid article {
  min-height: 190px;
  padding: 16px;
  border: 1px solid rgba(111, 44, 143, 0.18);
  background:
    radial-gradient(circle at 78% 16%, rgba(255,255,255,0.86), transparent 24%),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(239,229,243,0.5));
}

.mechanism-grid strong,
.mechanism-grid span {
  display: block;
}

.mechanism-grid strong {
  color: var(--accent-strong);
  line-height: 1.25;
}

.mechanism-grid p {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.mechanism-grid span {
  margin-top: 14px;
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 900;
}

.equation-card {
  padding: 14px;
  border: 1px solid rgba(111, 44, 143, 0.18);
  background: rgba(255, 255, 255, 0.86);
}

.equation-card span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.equation-card strong {
  display: block;
  margin: 6px 0;
  color: var(--accent-strong);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.35;
}

.equation-card p {
  margin: 0;
  font-size: 0.92rem;
}

.theory-figure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.theory-figure-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.finding-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.finding-groups {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.finding-groups section {
  border: 1px solid rgba(89, 126, 151, 0.18);
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  background: rgba(251, 254, 253, 0.92);
}

.finding-groups h4 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.35;
}

.field-observation-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.field-observation-map > div {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(111, 44, 143, 0.2);
  background:
    radial-gradient(circle at 72% 20%, rgba(255,255,255,0.9), transparent 24%),
    linear-gradient(145deg, rgba(239,229,243,0.84), rgba(255,255,255,0.92));
}

.field-observation-map strong,
.field-observation-map span {
  display: block;
}

.field-observation-map strong {
  color: var(--accent-strong);
  font-size: 1.2rem;
}

.field-observation-map span {
  margin-top: 8px;
  color: var(--muted);
}

.source-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.source-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 32px);
}

.modal.is-hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 33, 42, 0.52);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  border: 1px solid rgba(111, 44, 143, 0.26);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.modal-close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  min-height: 38px;
  margin: 12px 12px 0 0;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 7px 12px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.modal .theory-feature {
  border: 0;
  margin: 0;
  padding-top: clamp(44px, 5vw, 58px);
  background:
    radial-gradient(circle at 8% 10%, rgba(255,255,255,0.96), transparent 24%),
    linear-gradient(135deg, #fff, rgba(239,229,243,0.52));
}

.detail-feature {
  display: grid;
  gap: 22px;
}

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

.detail-branch-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-branch-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.detail-branch-grid .wide-branch {
  grid-column: 1 / -1;
}

.detail-branch {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(111, 44, 143, 0.16);
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
}

.detail-section-titlebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 66px;
  background:
    linear-gradient(90deg,
      #17476a 0 62px,
      #efe4f3 62px 100%);
  overflow: hidden;
}

.detail-section-titlebar span {
  display: none;
}

.detail-section-titlebar strong {
  grid-column: 1;
  align-self: center;
  justify-self: start;
  text-align: left;
  color: var(--accent);
  font-size: clamp(1.08rem, 1.75vw, 1.58rem);
  line-height: 1.1;
  padding: 13px 20px 13px 88px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.detail-section-copy {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 1120px;
}

.detail-section-copy p {
  margin: 0;
}

.figure-analysis {
  grid-column: 1 / -1;
}

.detail-branch figure {
  margin: 0;
  display: grid;
  gap: 8px;
}

.detail-branch img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #f8fbfb;
  border: 1px solid rgba(89, 126, 151, 0.18);
}

.detail-branch figcaption {
  color: var(--muted);
  font-size: 0.88rem;
}

.detail-branch h3 {
  margin: 0;
  color: var(--accent-strong);
}

.detail-branch p {
  margin: 0;
  color: var(--muted);
}

.detail-figure-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-figure-pair figure {
  margin: 0;
}

.equal-figure-pair figure {
  display: grid;
  grid-template-rows: auto auto;
  align-self: stretch;
}

.equal-figure-pair img {
  height: 100%;
}

.detail-figure-pair img {
  aspect-ratio: 1 / 0.82;
  object-fit: contain;
}

.detail-section-card {
  display: grid;
  gap: 16px;
}

.detail-section-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.detail-section-card figure {
  margin: 0;
  display: grid;
  gap: 8px;
}

.detail-section-card img {
  display: block;
  width: 100%;
  object-fit: contain;
  background: #f8fbfb;
  border: 1px solid rgba(89, 126, 151, 0.18);
}

.detail-section-card figcaption {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.acoustic-agglomeration-detail > figure img,
.acoustic-agglomeration-detail .equation-image-figure img {
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  background: #fff;
}

.acoustic-process-figure,
.acoustic-frequency-figure {
  width: 100%;
  max-width: 1040px;
  justify-self: center;
  overflow: hidden;
}

.acoustic-mechanism-stack,
.isotope-exchange-stack {
  display: grid;
  gap: 3px;
  justify-items: center;
}

.acoustic-mechanism-stack figure,
.isotope-exchange-stack figure {
  margin: 0;
  display: grid;
  gap: 2px;
}

.acoustic-mechanism-stack img,
.isotope-exchange-stack img {
  display: block;
  line-height: 0;
}

.acoustic-mechanism-stack .acoustic-process-figure img {
  clip-path: inset(13% 0 14% 0);
  margin: -7.4% 0 -8.2%;
}

.acoustic-mechanism-stack .acoustic-frequency-figure img,
.isotope-exchange-stack figure img {
  clip-path: inset(10% 0 11% 0);
  margin: -5.8% 0 -6.5%;
}

.acoustic-mechanism-stack figcaption,
.isotope-exchange-stack figcaption {
  margin: 0;
  line-height: 1.24;
}

.acoustic-equation-block {
  background: rgba(251, 254, 253, 0.96);
}

.acoustic-equation-image {
  width: min(100%, 820px);
}

.acoustic-equation-image img {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(89, 126, 151, 0.16);
}

.acoustic-agglomeration-detail .paper-equation-block.acoustic-isotope-equation-block {
  gap: 0;
  padding: 3px 8px;
}

.acoustic-agglomeration-detail .paper-equation-block.acoustic-isotope-equation-block p {
  line-height: 1.18;
}

.acoustic-agglomeration-detail .acoustic-isotope-equation-block .paper-equation-line {
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 4.6em;
}

.acoustic-agglomeration-detail .acoustic-isotope-equation-block .equation-image-figure img {
  max-height: none;
  object-fit: contain;
}

.acoustic-agglomeration-detail .acoustic-isotope-equation-block .eq-no {
  font-size: clamp(0.72rem, 0.88vw, 0.86rem);
}

.module1-card2-isotope-core {
  display: grid;
  gap: 14px;
}

.module1-card2-isotope-core figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module1-card2-isotope-core img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.module1-card2-threshold-core,
.module1-card3-numerical-detail {
  display: grid;
  gap: 14px;
}

.module1-card2-threshold-core figure,
.module1-card3-numerical-detail figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module1-card2-threshold-core img,
.module1-card3-numerical-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.module1-card3-dem-fig3-4-pair figure {
  grid-template-rows: minmax(0, 1fr) auto;
}

.module1-card3-dem-fig3-4-pair img {
  width: 100%;
  height: clamp(300px, 34vw, 430px);
  object-fit: contain;
}

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

.threshold-summary section {
  border: 1px solid rgba(89, 126, 151, 0.16);
  background: rgba(251, 254, 253, 0.82);
  padding: 12px 14px;
}

.threshold-summary h4 {
  margin: 0 0 6px;
  color: var(--accent-strong);
  font-size: 0.98rem;
}

.module1-card3-device-compact {
  max-width: 720px;
}

.module1-card3-device-compact img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}


.module1-card3-device-detail {
  gap: 14px;
}

.module1-card3-device-detail .acoustic-device-equation {
  margin: 0;
}

.module1-card3-device-detail .paper-equation-line {
  background: #fff;
}


.module1-card4-observation-detail {
  display: grid;
  gap: 14px;
}

.module1-card4-observation-detail figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module1-card4-observation-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}


.module1-card5-summer-detail {
  display: grid;
  gap: 14px;
}

.module1-card5-summer-detail figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module1-card5-summer-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}


.module1-card6-winter-detail {
  display: grid;
  gap: 14px;
}

.module1-card6-winter-detail figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module1-card6-winter-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.module2-card1-overview-detail,
.module2-card1-yongding-detail {
  display: grid;
  gap: 14px;
}

.module2-card1-overview-detail figure,
.module2-card1-yongding-detail figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module2-card1-overview-detail img,
.module2-card1-yongding-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.module2-card1-overview-detail .model-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module2-card1-equation {
  gap: 6px;
}

.module2-card1-equation .paper-equation-line {
  min-height: 34px;
}

.module2-card1-equation .math-eq {
  font-size: 0.98rem;
}

.module2-card1-chaobai-detail {
  display: grid;
  gap: 14px;
}

.module2-card1-chaobai-detail figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module2-card1-chaobai-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.module2-card1-platform-detail {
  display: grid;
  gap: 14px;
}

.module2-card1-platform-detail figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module2-card1-platform-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.module2-card2-swatmod-detail {
  display: grid;
  gap: 14px;
}

.module2-card2-swatmod-detail figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module2-card2-swatmod-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.module2-card3-macro-detail {
  display: grid;
  gap: 14px;
}

.module2-card3-macro-detail figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module2-card3-macro-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.module2-card3-micro-detail {
  display: grid;
  gap: 14px;
}

.module2-card3-micro-detail figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module2-card3-micro-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.module2-card4-lake-classification-detail {
  display: grid;
  gap: 14px;
}

.module2-card4-lake-classification-detail figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module2-card4-lake-classification-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.module2-card4-lake-classification-detail .portrait-figure img {
  max-width: 820px;
  justify-self: center;
}

.module2-card4-lake-classification-detail .compact-figure img {
  max-width: 720px;
}

.module2-card4-hydroformer-detail {
  display: grid;
  gap: 14px;
}

.module2-card4-hydroformer-detail figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.module2-card4-hydroformer-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.module2-card4-hydroformer-detail .architecture-figure img {
  max-width: 1040px;
  justify-self: center;
}

.model-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.model-metric-grid section {
  border: 1px solid rgba(89, 126, 151, 0.16);
  background: rgba(251, 254, 253, 0.86);
  padding: 12px 14px;
}

.model-metric-grid strong {
  display: block;
  color: var(--accent-strong);
  margin-bottom: 6px;
}

.model-metric-grid span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}


.module1-card4-summer-detail .module1-card4-equation {
  margin: 0;
}

.module1-card4-summer-detail .paper-equation-line {
  background: #fff;
}

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

.acoustic-mechanism-grid article {
  padding: 14px 16px;
  border: 1px solid rgba(89, 126, 151, 0.18);
  background: rgba(251, 254, 253, 0.94);
}

.acoustic-mechanism-grid h3 {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 1rem;
  line-height: 1.35;
}

.acoustic-mechanism-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}
.water-balance-detail > figure img,
.water-balance-detail .detail-figure-pair img,
.ewr-forecast-detail > figure img {
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  background: #fff;
}

.water-balance-framework-figure,
.water-balance-method-figure,
.water-balance-trajectory-figure,
.ewr-study-figure,
.ewr-framework-figure,
.ewr-split-figure {
  width: 100%;
  justify-self: center;
}

.water-balance-framework-figure,
.water-balance-method-figure,
.water-balance-trajectory-figure,
.ewr-study-figure,
.ewr-split-figure {
  max-width: 980px;
}

.ewr-framework-figure {
  max-width: 860px;
}

.water-balance-figure-pair {
  align-items: start;
}
.oil-interface-detail .oil-interface-figure-pair {
  align-items: stretch;
}

.oil-interface-detail .oil-interface-figure-pair img {
  height: clamp(170px, 16vw, 235px);
  aspect-ratio: auto;
  padding: 0;
  background: #fff;
}

.oil-interface-detail > figure img {
  aspect-ratio: auto;
  background: #fff;
}

.oil-interface-detail > figure.compact-wide-figure {
  width: 75%;
  justify-self: center;
}

.oil-interface-detail > figure.compact-wide-figure img {
  width: 100%;
}

.oil-interface-detail .oil-gradient-figure {
  max-width: 760px;
  justify-self: center;
}

.oil-interface-detail .oil-gradient-figure img {
  max-height: 560px;
}

.oil-failure-detail > figure img {
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  background: #fff;
}

#m4-card2-failure > figure:nth-of-type(4) img,
#m4-card2-failure > figure:nth-of-type(5) img {
  width: 100%;
  max-width: 100%;
  max-height: none;
  justify-self: stretch;
}

.oil-sph-detail > figure img {
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  background: #fff;
}

#m4-card2-sph > figure:nth-of-type(4) img {
  width: 100%;
  max-width: 100%;
  max-height: none;
  justify-self: stretch;
}

.oil-failure-detail .epr-note {
  background: rgba(251, 254, 253, 0.96);
}

.breakwater-detail > figure img,
.breakwater-detail .detail-figure-pair img {
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  background: #fff;
}

.breakwater-snapshot-figure {
  max-width: 760px;
  justify-self: center;
}

.breakwater-coefficient-pair {
  align-items: stretch;
}

.breakwater-coefficient-pair figure {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
}

.breakwater-coefficient-pair img {
  width: 100%;
  height: 260px !important;
  object-fit: contain;
}

.overtopping-detail > figure img {
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  background: #fff;
}

.overtopping-domain-figure img,
.overtopping-boundary-figure img {
  width: 100%;
  max-width: 100%;
  max-height: none;
}

.overtopping-mesh-figure,
.overtopping-coupling-figure,
.overtopping-velocity-figure {
  justify-self: center;
}

.overtopping-mesh-figure {
  max-width: 800px;
}

.overtopping-coupling-figure,
.overtopping-velocity-figure {
  max-width: 720px;
}

.coupling-note {
  background: rgba(251, 254, 253, 0.96);
}

.silt-curtain-detail > figure img,
.silt-equation-note img {
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  background: #fff;
}

.silt-design-figure,
.silt-contour-figure {
  max-width: 760px;
  justify-self: center;
}

.silt-force-figure img {
  width: 100%;
}

.silt-equation-note {
  gap: 12px;
}

.silt-equation-note .silt-long-equation {
  align-items: flex-start;
  padding-right: 4.8em;
}

.silt-equation-note .silt-long-equation .math-eq {
  width: 100%;
  font-size: clamp(0.95rem, 1.35vw, 1.28rem);
  line-height: 1.42;
}

.silt-equation-note .root-term {
  display: inline-block;
  border-top: 1.5px solid currentColor;
  padding: 0 2px;
  margin-left: 1px;
}

.equation-image-figure {
  display: grid;
  gap: 8px;
  width: min(100%, 920px);
  margin: 0;
  justify-self: center;
  justify-items: center;
}

.equation-image-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.equation-image-figure figcaption {
  width: 100%;
  text-align: right;
}

.equation-image-figure.tall-equation-image img {
  max-width: 100%;
}

.vertical-cylinder-detail .flow3d-figure-stack,
.vertical-cylinder-detail .detail-figure-pair {
  gap: 16px;
}

.vertical-cylinder-detail .flow3d-figure-stack img,
.vertical-cylinder-detail .detail-figure-pair img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.vertical-cylinder-detail .detail-figure-pair {
  align-items: start;
}

.vertical-cylinder-detail .detail-figure-pair img {
  height: clamp(260px, 28vw, 390px);
}

.acoustic-droplet-detail .flow3d-figure-stack img,
.acoustic-droplet-detail .detail-figure-pair img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.acoustic-frequency-pair {
  align-items: start;
}

.acoustic-validation-pair {
  align-items: stretch;
}

.acoustic-validation-pair img {
  min-height: 0;
}

.acoustic-droplet-detail .equal-figure-pair img {
  height: 100%;
}

.acoustic-droplet-detail .acoustic-validation-pair img {
  height: clamp(390px, 31vw, 500px);
  object-fit: cover;
  object-position: center top;
}

.acoustic-droplet-detail .acoustic-frequency-pair img {
  height: clamp(390px, 31vw, 520px);
  object-fit: cover;
  object-position: center top;
}

.wedge-impact-detail .wedge-tank-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 14px;
  align-items: stretch;
}

.wedge-impact-detail .wedge-tank-layout img {
  display: block;
  width: 100%;
  height: clamp(280px, 25vw, 390px);
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(89, 126, 151, 0.18);
}

.wedge-impact-detail .flow3d-figure-stack img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.oilboom-prototype-detail {
  gap: 16px;
}

.oilboom-prototype-detail > figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.oilboom-prototype-detail .detail-figure-pair {
  align-items: start;
}

.oilboom-prototype-detail .detail-figure-pair figure {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto !important;
}

.oilboom-prototype-detail .detail-figure-pair img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain;
  background: #fff;
}

.oilboom-prototype-detail .equal-figure-pair img {
  height: auto !important;
}

#m4-card1-prototype .oilboom-photo-pair figure {
  align-self: start;
  gap: 8px;
}

#m4-card1-prototype .oilboom-photo-pair img {
  display: block;
  width: 100%;
  max-height: none !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: unset !important;
  object-fit: initial !important;
  background: #fff;
}

#m4-card1-prototype .oilboom-photo-stack {
  display: grid;
  gap: 12px;
}

#m4-card1-prototype .oilboom-photo-stack figure {
  margin: 0;
  display: grid;
  gap: 8px;
}

#m4-card1-prototype .oilboom-photo-stack img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: unset !important;
  object-fit: initial !important;
  background: #fff;
}

.oilboom-motion-note,
.oilboom-formula-note {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(89, 126, 151, 0.18);
  background: #fbfefd;
}

.oilboom-motion-note strong,
.oilboom-formula-note strong {
  color: var(--accent-strong);
}

.oilboom-formula-note code {
  display: block;
  padding: 9px 12px;
  background: rgba(239, 228, 243, 0.62);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.16rem, 1.8vw, 1.55rem);
  line-height: 1.3;
  text-align: center;
}

.oilboom-sph-detail {
  gap: 16px;
}

.oilboom-sph-detail > figure {
  margin: 0;
  display: grid;
  gap: 8px;
}

.oilboom-sph-detail > figure img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain;
  background: #fff;
}

.paper-equation-block {
  display: grid;
  gap: 9px;
  padding: 18px 20px;
  border: 1px solid rgba(89, 126, 151, 0.18);
  background: #fff;
}

.paper-equation-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

.paper-equation-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 2.1em;
  padding: 4px 5.8em 4px 0;
  overflow-x: visible;
}

.paper-equation-line.one-line-equation {
  display: flex;
}

.math-eq {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 1.8vw, 1.6rem);
  line-height: 1.28;
  text-align: left;
}

.one-line-equation .math-eq {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(0.72rem, 0.95vw, 0.92rem);
}

.eq-no {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  min-width: 4.4em;
  text-align: right;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.4vw, 1.28rem);
}

.equation-image-block .paper-equation-line {
  min-height: 0;
  padding-top: 6px;
  padding-bottom: 6px;
}

.equation-image-block .equation-image-figure {
  width: min(100%, 760px);
  justify-self: start;
  justify-items: start;
}

.equation-image-block .equation-image-figure img {
  border: 0;
}

.acoustic-isotope-equation-block .paper-equation-line {
  justify-content: flex-start;
  align-items: center;
  padding: 0.04em 5.2em 0.04em 0;
}

.acoustic-isotope-equation-block .equation-image-figure {
  width: calc(100% - 0.2em);
  max-width: none;
  margin: 0;
  justify-self: start;
  justify-items: start;
  line-height: 0;
}

.acoustic-isotope-equation-block .equation-image-figure img {
  display: block;
  width: auto;
  max-width: 100%;
}

.acoustic-isotope-equation-block .eq-no {
  right: 0;
  text-align: right;
}

.frac {
  display: inline-grid;
  grid-template-rows: auto auto;
  align-items: center;
  margin: 0 4px;
  vertical-align: middle;
  line-height: 1.05;
}

.frac > span:first-child {
  border-bottom: 1.5px solid currentColor;
  padding: 0 3px 2px;
  text-align: center;
}

.frac > span:last-child {
  padding: 2px 3px 0;
  text-align: center;
}

.sum {
  display: inline-grid;
  align-items: center;
  justify-items: center;
  margin: 0 4px;
  font-size: 1.55em;
  line-height: 0.9;
  vertical-align: middle;
}

.sum sub {
  font-size: 0.36em;
  line-height: 1;
}

.cases {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}

.cases > span:first-child {
  font-size: 2.7em;
  line-height: 0.9;
  transform: translateY(-1px);
}

.cases > span:last-child {
  font-size: 0.84em;
  line-height: 1.35;
}

.matrix {
  display: inline-grid;
  grid-template-columns: 1fr;
  gap: 1px;
  align-items: center;
  margin: 0 4px;
  padding: 0 6px;
  border-left: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  vertical-align: middle;
  font-size: 0.78em;
  line-height: 1.1;
}

.matrix.two-by-two {
  grid-template-columns: repeat(2, auto);
  column-gap: 10px;
  row-gap: 2px;
}

.oilboom-component-figure {
  max-width: 620px;
  justify-self: center;
}

.oilboom-component-pair {
  align-items: stretch;
}

.oilboom-component-pair figure {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
}

.oilboom-component-pair img {
  width: 100%;
  height: 210px !important;
  object-fit: contain;
  background: #fff;
}

.radar-resilience-detail {
  gap: 18px;
}

.radar-resilience-detail .radar-map-figure img,
.radar-resilience-detail .radar-framework-figure img,
.radar-resilience-detail .radar-gif-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #f8fbfb;
  border: 1px solid rgba(89, 126, 151, 0.2);
}

.radar-framework-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.radar-risk-row,
.radar-framework-row figure,
.radar-gif-figure,
.radar-map-figure {
  margin: 0;
}

.radar-framework-diagram {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  position: relative;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(23, 71, 106, 0.06), rgba(239, 228, 243, 0.72)),
    #fbfefd;
  border: 1px solid rgba(89, 126, 151, 0.18);
}

.radar-framework-diagram::before {
  content: "";
  position: absolute;
  inset: 52px 56px auto 56px;
  height: 2px;
  background: linear-gradient(90deg, rgba(23, 71, 106, 0.15), rgba(111, 44, 143, 0.52));
  box-shadow:
    0 116px 0 rgba(111, 44, 143, 0.18),
    0 232px 0 rgba(111, 44, 143, 0.12);
  pointer-events: none;
}

.framework-stage {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 118px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(111, 44, 143, 0.22);
  box-shadow: 0 10px 24px rgba(23, 71, 106, 0.08);
}

.framework-stage::after {
  content: ">";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 800;
}

.framework-stage:nth-child(3)::after,
.framework-stage:nth-child(6)::after,
.framework-stage:last-child::after {
  content: "";
}

.framework-stage strong {
  color: var(--accent-strong);
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  line-height: 1.1;
}

.framework-stage span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.38;
}

.framework-stage-wide {
  grid-column: 2 / 4;
}

.risk-formula-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(111, 44, 143, 0.18);
  background: rgba(251, 247, 255, 0.92);
  padding: 14px;
}

.risk-formula-panel h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--accent-strong);
  font-size: 1.02rem;
}

.risk-formula-card {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(89, 126, 151, 0.18);
  background: rgba(255, 255, 255, 0.9);
  padding: 11px;
}

.risk-formula-card strong {
  color: var(--accent-strong);
  font-size: 0.92rem;
}

.risk-formula-card code {
  display: block;
  white-space: normal;
  line-height: 1.5;
  color: var(--ink);
  background: #f4eef8;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.9rem;
}

.risk-formula-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.sph-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.sph-equation-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fbfefd;
  border: 1px solid rgba(89, 126, 151, 0.18);
}

.sph-equation-wide {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  max-width: none;
}

.sph-equation-card strong,
.sph-boundary-card strong {
  color: var(--accent-strong);
}

.sph-equation-card .formula {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  background: rgba(239, 228, 243, 0.62);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.35;
  text-align: center;
}

.paper-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
  min-height: 96px;
  white-space: nowrap;
}

.eq-frac {
  display: inline-grid;
  grid-template-rows: auto auto;
  align-items: center;
  min-width: 120px;
}

.eq-frac > span {
  display: block;
  padding: 2px 12px;
}

.eq-frac > span:first-child {
  border-bottom: 2px solid currentColor;
}

.eq-op,
.eq-term {
  display: inline-block;
  font-style: italic;
}

.eq-term {
  min-width: 120px;
}

.sph-equation-card p,
.sph-boundary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.sph-method-grid figure {
  margin: 0;
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
}

.sph-overview-figure {
  grid-column: 1 / -1;
}

.sph-method-grid img {
  width: 100%;
  height: clamp(300px, 28vw, 410px);
  aspect-ratio: auto;
  object-fit: contain;
  background: #f8fbfb;
  border: 1px solid rgba(89, 126, 151, 0.18);
}

.sph-overview-figure img {
  height: auto;
  aspect-ratio: 16 / 6.2;
}

.sph-boundary-figure img {
  object-position: center center;
}

.sph-method-grid figcaption {
  color: var(--muted);
  font-size: 0.88rem;
}

.sph-boundary-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  background: #fbfefd;
  border: 1px solid rgba(89, 126, 151, 0.18);
}

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

.flow3d-figure-stack figure {
  margin: 0;
  display: grid;
  gap: 8px;
}

.flow3d-figure-stack img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(89, 126, 151, 0.18);
}

.flow3d-figure-stack figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.singapore-coupling-stack,
.singapore-validation-stack {
  max-width: 980px;
  margin-inline: auto;
}

.singapore-coupling-detail .flow3d-figure-stack img {
  background: #fff;
}

.singapore-fig2-split {
  display: grid;
  grid-template-columns: minmax(180px, 0.62fr) minmax(360px, 1.38fr);
  align-items: start;
  gap: 18px;
}

.singapore-fig2-split figure {
  margin: 0;
  display: grid;
  gap: 8px;
}

.singapore-fig2-split img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.singapore-fig2a {
  max-width: 300px;
  justify-self: center;
}

.singapore-fig2b {
  max-width: 720px;
}

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

.ecowc-figure-grid figure {
  margin: 0;
}

.ecowc-figure-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #f8fbfb;
  border: 1px solid rgba(89, 126, 151, 0.18);
}

.ecowc-figure-grid .wide-figure {
  grid-column: 1 / -1;
}

.ecowc-experiment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px;
  align-items: center;
}

.ecowc-experiment-layout img {
  height: clamp(250px, 22vw, 315px);
  object-fit: contain;
}

.ecowc-experiment-layout .prototype-frame {
  height: clamp(250px, 22vw, 315px);
  width: 100%;
  border: 1px solid rgba(89, 126, 151, 0.18);
  background: #f8fbfb;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.ecowc-experiment-layout .prototype-frame img {
  height: clamp(205px, 17vw, 250px);
  width: auto;
  max-width: 100%;
  border: 0;
  background: transparent;
}

.detail-figure-showcase {
  display: grid;
  gap: 16px;
}

.detail-figure-showcase .wide-figure {
  grid-column: 1 / -1;
}

.detail-figure-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-figure-showcase figure {
  margin: 0;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(111, 44, 143, 0.16);
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
}

.detail-figure-showcase img {
  width: 100%;
  object-fit: contain;
  background: #f8fbfb;
  border: 1px solid rgba(89, 126, 151, 0.18);
}

.detail-figure-showcase .wide-figure img {
  aspect-ratio: 16 / 7;
}

.detail-figure-row img {
  aspect-ratio: 16 / 9;
}

.detail-figure-showcase figcaption {
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-composite-figure {
  margin: 0;
  border: 1px solid rgba(111, 44, 143, 0.18);
  background: rgba(255, 255, 255, 0.82);
  padding: 14px;
}

.detail-composite-figure img {
  width: 100%;
  display: block;
  background: #f8fbfb;
}

.detail-composite-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.news-timeline {
  display: grid;
  gap: 12px;
}

.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  gap: 24px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.news-copy {
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.news-copy > span {
  color: var(--gold);
  font-weight: 850;
}

.news-item h3 {
  color: var(--accent-strong);
}

.news-visual {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid rgba(111,44,143,0.16);
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.8), transparent 24%),
    linear-gradient(135deg, rgba(239,229,243,0.86), rgba(255,255,255,0.92));
}

.news-visual span {
  position: absolute;
  display: block;
}

.news-photo-collage {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 8px;
  min-height: 180px;
  padding: 8px;
  border: 1px solid rgba(111,44,143,0.16);
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.8), transparent 24%),
    linear-gradient(135deg, rgba(111,44,143,0.12), rgba(255,255,255,0.94));
}

.news-photo-collage img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255,255,255,0.7);
  background: #fff;
}

.news-photo-collage img:nth-child(2) {
  object-position: top center;
}

.news-photo-single {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 8px;
  border: 1px solid rgba(111,44,143,0.16);
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.8), transparent 24%),
    linear-gradient(135deg, rgba(111,44,143,0.12), rgba(255,255,255,0.94));
}

.news-photo-single img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: #fff;
}

.portrait-photo img {
  width: auto;
  max-width: 100%;
  max-height: 220px;
}

.award-photo {
  padding: 12px;
  border-color: rgba(165, 121, 42, 0.44);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(111,44,143,0.48), rgba(165,121,42,0.62)) border-box;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.88), 0 12px 28px rgba(24,33,42,0.08);
}

.award-photo img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  object-position: center;
  border: 6px solid #fff;
  box-shadow: 0 0 0 1px rgba(111,44,143,0.18);
}

.award-composite {
  align-content: center;
  gap: 8px;
}

.award-composite .award-logo {
  max-height: 54px;
  padding: 6px;
  object-fit: contain;
  border: 4px solid #fff;
}

.award-composite .wide-logo {
  max-height: 62px;
  object-fit: contain;
}

.award-composite .award-portrait {
  max-height: 176px;
  object-fit: contain;
}

.ches-composite {
  align-content: center;
  gap: 10px;
}

.ches-composite .ches-logo {
  width: min(78%, 360px);
  max-height: 58px;
  object-fit: contain;
  padding: 6px 10px;
  background: #fff;
}

.ches-composite .ches-banner {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.secondary-link {
  margin-top: 4px;
  color: var(--muted);
}

.mini-visual,
.project-visual {
  position: relative;
  overflow: hidden;
  height: 92px;
  margin-bottom: 18px;
  border: 1px solid rgba(111, 44, 143, 0.18);
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.72), transparent 22%),
    linear-gradient(135deg, rgba(239, 229, 243, 0.92), rgba(255, 255, 255, 0.92));
}

.mini-visual span,
.project-visual span {
  position: absolute;
  display: block;
}

.visual-coast span:nth-child(1) {
  left: 0;
  right: 0;
  bottom: 12px;
  height: 28px;
  background: repeating-radial-gradient(ellipse at 20% 50%, rgba(111, 44, 143, 0.28) 0 8px, rgba(111, 44, 143, 0.08) 9px 18px);
  border-radius: 50% 50% 0 0;
}

.visual-coast span:nth-child(2) {
  right: 24px;
  bottom: 36px;
  width: 54px;
  height: 34px;
  border: 3px solid rgba(165, 121, 42, 0.72);
  border-left: 0;
  border-bottom: 0;
  transform: skewX(-18deg);
}

.visual-coast span:nth-child(3) {
  left: 18px;
  top: 20px;
  width: 68%;
  height: 3px;
  background: rgba(111, 44, 143, 0.34);
  box-shadow: 28px 16px 0 rgba(111, 44, 143, 0.18);
}

.visual-cloud span:nth-child(1) {
  left: 26px;
  top: 24px;
  width: 86px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 30px 2px 0 rgba(255,255,255,0.88), 12px -14px 0 rgba(255,255,255,0.92);
}

.visual-cloud span:nth-child(2) {
  right: 24px;
  top: 18px;
  width: 52px;
  height: 52px;
  border: 3px solid rgba(111, 44, 143, 0.34);
  border-radius: 50%;
  border-left-color: transparent;
}

.visual-cloud span:nth-child(3) {
  left: 46px;
  bottom: 14px;
  width: 58%;
  height: 28px;
  background: repeating-linear-gradient(90deg, rgba(111,44,143,0.32) 0 3px, transparent 4px 14px);
  clip-path: polygon(0 0, 100% 16%, 92% 100%, 8% 86%);
}

.visual-particles span:nth-child(1) {
  left: 24px;
  top: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(111, 44, 143, 0.52);
  box-shadow: 38px 18px 0 rgba(165,121,42,0.55), 76px 4px 0 rgba(111,44,143,0.28), 116px 30px 0 rgba(111,44,143,0.42);
}

.visual-particles span:nth-child(2) {
  left: 42px;
  top: 40px;
  width: 120px;
  height: 2px;
  background: rgba(111, 44, 143, 0.24);
  transform: rotate(12deg);
}

.visual-particles span:nth-child(3) {
  right: 24px;
  bottom: 18px;
  width: 76px;
  height: 22px;
  border: 2px solid rgba(165, 121, 42, 0.48);
  border-radius: 999px;
}

.visual-data span:nth-child(1) {
  left: 22px;
  bottom: 18px;
  width: 24px;
  height: 26px;
  background: rgba(111, 44, 143, 0.38);
  box-shadow: 38px -12px 0 rgba(111,44,143,0.52), 76px -2px 0 rgba(165,121,42,0.55), 114px -28px 0 rgba(111,44,143,0.28);
}

.visual-data span:nth-child(2) {
  left: 18px;
  right: 18px;
  top: 22px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(111,44,143,0.52), transparent);
}

.visual-data span:nth-child(3) {
  right: 18px;
  top: 22px;
  width: 72px;
  height: 42px;
  border: 2px solid rgba(111, 44, 143, 0.25);
  border-radius: 50%;
}

.visual-review span:nth-child(1) {
  left: 22px;
  top: 18px;
  width: 54px;
  height: 64px;
  background: #fff;
  border: 2px solid rgba(111,44,143,0.24);
  box-shadow: 16px 8px 0 rgba(239,229,243,0.9);
}

.visual-review span:nth-child(2) {
  right: 28px;
  top: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(165,121,42,0.58);
}

.visual-review span:nth-child(3) {
  right: 48px;
  bottom: 16px;
  width: 36px;
  height: 3px;
  background: rgba(111,44,143,0.42);
  transform: rotate(42deg);
}

.pub-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 22px;
}

.pub-filter button {
  min-height: 38px;
  border: 1px solid rgba(111, 44, 143, 0.25);
  background: #fff;
  color: var(--accent-strong);
  padding: 8px 12px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.pub-filter button.active,
.pub-filter button:hover {
  background: var(--accent);
  color: #fff;
}

.prep-aqua-launch {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin: 0 0 24px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(47,137,168,0.22);
  background:
    linear-gradient(135deg, rgba(240,249,255,0.95), rgba(255,255,255,0.92) 46%, rgba(239,229,243,0.68)),
    radial-gradient(ellipse at 16% 20%, rgba(47,137,168,0.18), transparent 42%);
  box-shadow: 0 24px 54px rgba(23, 34, 44, 0.09);
}

.prep-aqua-launch-copy {
  display: grid;
  align-content: center;
  gap: 12px;
}

.prep-aqua-launch-copy h3 {
  width: 100%;
  margin: 0;
  color: var(--accent-strong);
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  line-height: 1.05;
  text-align: left;
}

.prep-aqua-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.prep-aqua-status {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid rgba(111, 44, 143, 0.28);
  border-radius: 999px;
  background: rgba(239, 229, 243, 0.72);
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.prep-aqua-launch-copy p:not(.eyebrow) {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
}

.prep-aqua-launch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.prep-aqua-launch-actions span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.prep-aqua-launch-visual {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(111,44,143,0.14);
  background: rgba(255,255,255,0.66);
}

.prep-aqua-launch-visual img {
  width: min(100%, 420px);
  height: auto;
  justify-self: center;
}

.prep-aqua-module-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.prep-aqua-module-map span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid rgba(47,137,168,0.18);
  background: rgba(255,255,255,0.78);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

@keyframes vaporDrift {
  0% {
    background-position: 0 0, 0 0, 0% 50%;
  }

  100% {
    background-position: 0 0, 240px 120px, 100% 50%;
  }
}

.publication-groups {
  display: grid;
  gap: 22px;
}

.publication-group {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.publication-group h3 {
  margin-bottom: 0;
  color: var(--accent-strong);
  font-size: 1.18rem;
}

.publication-group.is-hidden {
  display: none;
}

.group-heading {
  display: grid;
  grid-template-columns: 154px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.group-heading .mini-visual {
  height: 86px;
  margin-bottom: 0;
}

.group-card-visual {
  display: block;
  width: 154px;
  height: 86px;
  border: 1px solid rgba(111, 44, 143, 0.16);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) brightness(1.04);
}

.publication-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pubs;
}

.publication-list li {
  counter-increment: pubs;
  position: relative;
  display: block;
  padding: 16px 18px 16px 72px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.publication-list li::before {
  content: counter(pubs, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 17px;
  color: var(--gold);
  font-weight: 850;
}

.publication-list em {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  line-height: 1.45;
}

.publication-list span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.service-list li {
  font-weight: 750;
}

.service-list span {
  font-weight: 400;
}

.service-note {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  line-height: 1.7;
}

.service-note em {
  color: var(--ink);
}

.project-grant-list strong {
  display: block;
  color: var(--ink);
  line-height: 1.42;
}

.project-grant-list em {
  font-style: normal;
  color: var(--accent-strong);
}

.project-list {
  grid-template-columns: repeat(2, 1fr);
}

.project-meta {
  margin-bottom: 8px;
  color: var(--gold);
}

.more-panel {
  margin-top: 26px;
}

.more-button {
  min-height: 42px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 9px 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.all-projects {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.all-projects.is-collapsed {
  display: none;
}

.all-projects h3 {
  margin-top: 22px;
  color: var(--accent-strong);
}

.all-projects h3:first-child {
  margin-top: 0;
}

.compact-project-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-project-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.compact-project-list strong,
.compact-project-list span {
  display: block;
}

.compact-project-list span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.output-grid article,
.service-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.output-grid h3,
.service-grid h3 {
  color: var(--accent-strong);
}

.output-grid li,
.service-grid li {
  color: var(--muted);
}

.project-visual {
  height: 118px;
}

.visual-storm,
.visual-basin,
.visual-cloudwater,
.visual-aerosol,
.visual-structures {
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,0.78), transparent 18%),
    linear-gradient(135deg, rgba(111,44,143,0.14), rgba(255,255,255,0.95));
}

.visual-storm span:nth-child(1) {
  left: 22px;
  top: 24px;
  width: 110px;
  height: 44px;
  border-radius: 999px;
  background: rgba(111,44,143,0.28);
  box-shadow: 40px 0 0 rgba(111,44,143,0.18);
}

.visual-storm span:nth-child(2) {
  left: 30px;
  bottom: 18px;
  width: 76%;
  height: 26px;
  background: repeating-linear-gradient(100deg, rgba(111,44,143,0.35) 0 5px, transparent 6px 18px);
}

.visual-storm span:nth-child(3) {
  right: 26px;
  bottom: 22px;
  width: 84px;
  height: 16px;
  border-radius: 999px;
  background: rgba(165,121,42,0.58);
}

.visual-basin span:nth-child(1) {
  left: 22px;
  right: 22px;
  bottom: 22px;
  height: 42px;
  background: rgba(111,44,143,0.18);
  clip-path: polygon(0 80%, 18% 38%, 34% 62%, 54% 20%, 74% 58%, 100% 26%, 100% 100%, 0 100%);
}

.visual-basin span:nth-child(2) {
  left: 24px;
  top: 24px;
  width: 74%;
  height: 3px;
  background: rgba(111,44,143,0.34);
  transform: rotate(12deg);
  box-shadow: 22px 24px 0 rgba(165,121,42,0.42);
}

.visual-basin span:nth-child(3) {
  right: 34px;
  top: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(165,121,42,0.32);
}

.visual-cloudwater span:nth-child(1) {
  left: 30px;
  top: 20px;
  width: 96px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 44px 6px 0 rgba(255,255,255,0.82), 20px -14px 0 rgba(255,255,255,0.9);
}

.visual-cloudwater span:nth-child(2) {
  left: 48px;
  bottom: 16px;
  width: 66%;
  height: 34px;
  background: repeating-linear-gradient(90deg, rgba(111,44,143,0.36) 0 4px, transparent 5px 16px);
}

.visual-cloudwater span:nth-child(3) {
  right: 28px;
  top: 28px;
  width: 60px;
  height: 60px;
  border: 3px solid rgba(165,121,42,0.48);
  border-radius: 50%;
}

.visual-aerosol span:nth-child(1) {
  left: 28px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(111,44,143,0.45);
  box-shadow: 42px 16px 0 rgba(111,44,143,0.28), 82px -4px 0 rgba(165,121,42,0.48), 132px 24px 0 rgba(111,44,143,0.38);
}

.visual-aerosol span:nth-child(2) {
  left: 42px;
  top: 52px;
  width: 150px;
  height: 2px;
  background: rgba(111,44,143,0.24);
  transform: rotate(-10deg);
}

.visual-aerosol span:nth-child(3) {
  right: 30px;
  bottom: 18px;
  width: 84px;
  height: 32px;
  border: 2px dashed rgba(165,121,42,0.62);
  border-radius: 999px;
}

.visual-structures span:nth-child(1) {
  left: 24px;
  top: 34px;
  width: 46px;
  height: 92px;
  border: 3px solid rgba(111,44,143,0.5);
  border-right: 0;
  box-shadow: 18px 8px 0 -12px rgba(165,121,42,0.8);
}

.visual-structures span:nth-child(2) {
  left: 62px;
  top: 42px;
  width: 48%;
  height: 44px;
  background: repeating-radial-gradient(ellipse at 0 50%, transparent 0 13px, rgba(111,44,143,0.34) 14px 16px, transparent 17px 30px);
  transform: rotate(2deg);
}

.visual-structures span:nth-child(3) {
  right: 34px;
  top: 78px;
  width: 42%;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(165,121,42,0.72), rgba(111,44,143,0.58));
  box-shadow: -26px 42px 0 -2px rgba(111,44,143,0.28);
}

.visual-structures span:nth-child(4) {
  left: 28px;
  right: 24px;
  bottom: 24px;
  height: 44px;
  border-bottom: 5px solid rgba(111,44,143,0.3);
  background: repeating-linear-gradient(110deg, rgba(111,44,143,0.2) 0 5px, transparent 6px 22px);
  clip-path: polygon(0 58%, 18% 42%, 34% 68%, 52% 44%, 72% 62%, 100% 38%, 100% 100%, 0 100%);
}

.cover-visual {
  --cover-water: #2f89a8;
  --cover-deep: #1c506d;
  --cover-land: #ca9441;
  --cover-green: #2d6e52;
  --cover-light: #dceff1;
  --cover-purple: #6f2c8f;
  --cover-gold: #a5792a;
  isolation: isolate;
  border-color: rgba(111,44,143,0.18);
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,0.86), transparent 24%),
    linear-gradient(145deg, #f8fbfc 0%, #dceff1 46%, #f2e7f5 100%);
}

.mini-visual.cover-visual {
  height: 124px;
}

.cover-visual::before,
.cover-visual::after {
  content: "";
  position: absolute;
  display: block;
  pointer-events: none;
}

.cover-visual::before {
  z-index: 0;
  left: -14%;
  right: -10%;
  bottom: -12%;
  height: 58%;
  background:
    linear-gradient(130deg, rgba(202,148,65,0.9), rgba(221,179,92,0.76)),
    radial-gradient(ellipse at 78% 20%, rgba(45,110,82,0.82), transparent 38%);
  clip-path: polygon(0 62%, 18% 42%, 34% 55%, 50% 30%, 68% 50%, 88% 25%, 100% 40%, 100% 100%, 0 100%);
}

.cover-visual::after {
  z-index: 1;
  left: -8%;
  right: -8%;
  bottom: 8%;
  height: 34%;
  opacity: 0.72;
  background:
    repeating-linear-gradient(100deg, rgba(255,255,255,0.58) 0 2px, transparent 3px 22px),
    linear-gradient(125deg, transparent 0 12%, var(--cover-water) 13% 46%, transparent 47% 58%, var(--cover-deep) 59% 72%, transparent 73%);
  clip-path: polygon(0 60%, 22% 46%, 38% 56%, 50% 34%, 70% 56%, 100% 38%, 100% 100%, 0 100%);
  animation: coverFlow 7s linear infinite;
}

.cover-visual span {
  z-index: 2;
}

.cover-atmospheric span:nth-child(1) {
  left: 11%;
  top: 16%;
  width: 34%;
  height: 18%;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  box-shadow: 20px 4px 0 rgba(255,255,255,0.82), 44px 12px 0 rgba(255,255,255,0.72);
  animation: cloudDrift 8s ease-in-out infinite alternate;
}

.cover-atmospheric span:nth-child(2) {
  left: 24%;
  top: 38%;
  width: 48%;
  height: 30%;
  background: repeating-linear-gradient(90deg, rgba(111,44,143,0.34) 0 3px, transparent 4px 13px);
  clip-path: polygon(0 0, 100% 8%, 88% 100%, 10% 86%);
  animation: rainPulse 2.8s ease-in-out infinite;
}

.cover-atmospheric span:nth-child(3) {
  right: 6%;
  bottom: 20%;
  width: 46%;
  height: 34%;
  background: linear-gradient(135deg, rgba(111,44,143,0.36), rgba(255,255,255,0.5));
  clip-path: polygon(0 100%, 26% 34%, 42% 66%, 64% 18%, 100% 100%);
}

.cover-atmospheric span:nth-child(4) {
  right: 10%;
  top: 20%;
  width: 22%;
  height: 28%;
  border: 3px solid rgba(165,121,42,0.62);
  border-left-color: transparent;
  border-radius: 50%;
  animation: ringPulse 3.6s ease-in-out infinite;
}

.cover-water span:nth-child(1) {
  left: -10%;
  top: 10%;
  width: 104%;
  height: 62%;
  background:
    linear-gradient(128deg, transparent 0 10%, rgba(47,137,168,0.82) 11% 22%, transparent 23% 30%, rgba(47,137,168,0.62) 31% 42%, transparent 43% 50%, rgba(28,80,109,0.86) 51% 68%, transparent 69%),
    radial-gradient(ellipse at 68% 36%, rgba(47,137,168,0.52), transparent 34%);
  clip-path: polygon(0 16%, 20% 6%, 38% 34%, 58% 10%, 84% 38%, 100% 28%, 92% 78%, 58% 100%, 26% 82%, 4% 96%);
  animation: coverFlow 8s linear infinite;
}

.cover-water span:nth-child(2) {
  right: 9%;
  top: 30%;
  width: 40%;
  height: 20%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.76) 0 8px, rgba(111,44,143,0.22) 9px 12px),
    rgba(255,255,255,0.72);
  border-bottom: 6px solid rgba(165,121,42,0.76);
  transform: skewX(-18deg);
}

.cover-water span:nth-child(3) {
  right: 18%;
  top: 50%;
  width: 26%;
  height: 30%;
  background:
    linear-gradient(180deg, rgba(47,137,168,0.68), rgba(28,80,109,0.68)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.65) 0 4px, transparent 5px 13px);
  clip-path: polygon(0 0, 100% 12%, 88% 100%, 8% 88%);
  animation: rainPulse 3.5s ease-in-out infinite;
}

.cover-water span:nth-child(4) {
  left: 9%;
  bottom: 16%;
  width: 52%;
  height: 28%;
  background:
    radial-gradient(ellipse at 36% 72%, rgba(47,137,168,0.58), transparent 28%),
    rgba(45,110,82,0.76);
  clip-path: polygon(0 64%, 18% 26%, 35% 56%, 58% 18%, 78% 60%, 100% 30%, 100% 100%, 0 100%);
}

.cover-resilience span:nth-child(1) {
  left: 10%;
  bottom: 20%;
  width: 45%;
  height: 34%;
  background: repeating-linear-gradient(90deg, rgba(111,44,143,0.62) 0 12px, rgba(255,255,255,0.75) 13px 18px, rgba(111,44,143,0.28) 19px 32px);
  clip-path: polygon(0 100%, 0 34%, 18% 34%, 18% 10%, 34% 10%, 34% 46%, 50% 46%, 50% 0, 72% 0, 72% 28%, 100% 28%, 100% 100%);
}

.cover-resilience span:nth-child(2) {
  right: 10%;
  top: 18%;
  width: 40%;
  height: 18%;
  border-radius: 999px;
  background: rgba(111,44,143,0.26);
  box-shadow: 26px 6px 0 rgba(111,44,143,0.18);
  animation: cloudDrift 6s ease-in-out infinite alternate;
}

.cover-resilience span:nth-child(3) {
  right: 8%;
  bottom: 20%;
  width: 48%;
  height: 20%;
  background: repeating-linear-gradient(100deg, rgba(47,137,168,0.78) 0 8px, rgba(255,255,255,0.6) 9px 12px, transparent 13px 22px);
  animation: coverFlow 5.5s linear infinite;
}

.cover-resilience span:nth-child(4) {
  left: 18%;
  bottom: 16%;
  width: 66%;
  height: 7%;
  background: rgba(165,121,42,0.72);
  transform: rotate(-4deg);
}

.cover-protection span:nth-child(1) {
  left: -8%;
  right: -8%;
  bottom: 0;
  height: 68%;
  background:
    repeating-radial-gradient(ellipse at 22% 44%, rgba(255,255,255,0.48) 0 2px, transparent 3px 18px),
    linear-gradient(145deg, rgba(47,137,168,0.92), rgba(28,80,109,0.86));
  clip-path: polygon(0 18%, 18% 12%, 38% 22%, 58% 10%, 78% 20%, 100% 14%, 100% 100%, 0 100%);
  animation: waveLift 4.2s ease-in-out infinite;
}

.cover-protection span:nth-child(2) {
  left: 15%;
  bottom: 48%;
  width: 62%;
  height: 10%;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(165,121,42,0.9) 0 12px, rgba(255,255,255,0.78) 13px 20px);
  transform: rotate(-9deg);
  box-shadow: 0 18px 0 -9px rgba(28,80,109,0.38);
}

.cover-protection span:nth-child(3) {
  right: 9%;
  bottom: 34%;
  width: 42%;
  height: 22%;
  background:
    repeating-linear-gradient(90deg, rgba(111,44,143,0.42) 0 8px, rgba(255,255,255,0.58) 9px 15px),
    rgba(255,255,255,0.28);
  transform: skewX(-20deg) rotate(-4deg);
  border-bottom: 4px solid rgba(165,121,42,0.58);
}

.cover-protection span:nth-child(4) {
  left: 8%;
  top: 20%;
  width: 34%;
  height: 18%;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255,255,255,0.78) 9% 16%, transparent 17% 24%, rgba(255,255,255,0.72) 25% 32%, transparent 33%),
    rgba(28,80,109,0.34);
  border-radius: 999px;
  animation: ringPulse 4s ease-in-out infinite;
}

.cover-multiphase span:nth-child(1) {
  left: -6%;
  right: -6%;
  bottom: 8%;
  height: 42%;
  background:
    radial-gradient(ellipse at 58% 30%, rgba(47,137,168,0.62), transparent 36%),
    linear-gradient(180deg, rgba(47,137,168,0.52), rgba(202,148,65,0.74) 58%, rgba(126,92,61,0.5));
  clip-path: polygon(0 20%, 24% 34%, 44% 18%, 66% 38%, 100% 18%, 100% 100%, 0 100%);
}

.cover-multiphase span:nth-child(2) {
  left: 22%;
  bottom: 40%;
  width: 62%;
  height: 13%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(111,44,143,0.72), rgba(47,137,168,0.72));
  box-shadow:
    0 18px 0 -8px rgba(28,80,109,0.34),
    -42px 28px 0 -10px rgba(202,148,65,0.62),
    34px 30px 0 -11px rgba(202,148,65,0.58);
  animation: coverFlow 6s linear infinite;
}

.cover-multiphase span:nth-child(3) {
  left: 14%;
  top: 14%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(111,44,143,0.62);
  box-shadow: 28px 16px 0 rgba(165,121,42,0.68), 58px 2px 0 rgba(47,137,168,0.58), 90px 22px 0 rgba(111,44,143,0.42), 124px 6px 0 rgba(165,121,42,0.5), 154px 24px 0 rgba(47,137,168,0.46);
  animation: particleFloat 4.8s ease-in-out infinite alternate;
}

.cover-multiphase span:nth-child(4) {
  right: 10%;
  bottom: 18%;
  width: 34%;
  height: 20%;
  border: 2px dashed rgba(255,255,255,0.76);
  border-radius: 50%;
  background: repeating-linear-gradient(100deg, rgba(202,148,65,0.34) 0 5px, transparent 6px 14px);
  animation: particleFloat 3.8s ease-in-out infinite alternate;
}

.cover-energy span:nth-child(1) {
  left: 0;
  right: 0;
  bottom: 10%;
  height: 52%;
  background:
    linear-gradient(118deg, transparent 0 12%, rgba(47,137,168,0.82) 13% 34%, transparent 35% 46%, rgba(28,80,109,0.9) 47% 72%, transparent 73%),
    linear-gradient(160deg, rgba(45,110,82,0.88), rgba(202,148,65,0.6));
  clip-path: polygon(0 28%, 20% 18%, 42% 42%, 62% 16%, 100% 34%, 100% 100%, 0 100%);
}

.cover-energy span:nth-child(2) {
  left: 11%;
  top: 14%;
  width: 12px;
  height: 62px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 62px 16px 0 #fff, 136px 0 0 #fff;
}

.cover-energy span:nth-child(2)::before,
.cover-energy span:nth-child(2)::after {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.96);
  border-radius: 50%;
  border-left-color: transparent;
  animation: turbineSpin 5s linear infinite;
}

.cover-energy span:nth-child(2)::after {
  left: 122px;
  animation-duration: 6s;
}

.cover-energy span:nth-child(3) {
  right: 8%;
  bottom: 22%;
  width: 42%;
  height: 30%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.72) 0 2px, transparent 3px 100%),
    repeating-linear-gradient(105deg, rgba(255,255,255,0.7) 0 7px, rgba(111,44,143,0.24) 8px 14px);
  border: 2px solid rgba(255,255,255,0.62);
  transform: skewX(-18deg) rotate(-3deg);
}

.cover-energy span:nth-child(4) {
  left: 38%;
  top: 32%;
  width: 38%;
  height: 10%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.76) 0 8px, rgba(47,137,168,0.24) 9px 14px),
    rgba(255,255,255,0.76);
  border-bottom: 5px solid rgba(165,121,42,0.72);
  transform: skewX(-14deg);
}

@keyframes coverFlow {
  from { background-position: 0 0, 0 0; }
  to { background-position: 80px 0, 120px 0; }
}

@keyframes cloudDrift {
  from { transform: translateX(-3px); }
  to { transform: translateX(8px); }
}

@keyframes rainPulse {
  0%, 100% { opacity: 0.45; transform: translateY(-2px); }
  50% { opacity: 0.85; transform: translateY(5px); }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.58; }
  50% { transform: scale(1.06); opacity: 0.9; }
}

@keyframes waveLift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes particleFloat {
  from { transform: translateY(-4px); }
  to { transform: translateY(8px); }
}

@keyframes turbineSpin {
  to { transform: rotate(360deg); }
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline article {
  padding: 24px;
  background: var(--paper);
}

.columns {
  grid-template-columns: repeat(2, 1fr);
  gap: 42px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li + li {
  margin-top: 8px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  column-gap: clamp(56px, 6vw, 104px);
  row-gap: 36px;
  align-items: center;
  background:
    radial-gradient(circle at 86% 16%, rgba(111,44,143,0.1), transparent 28%),
    linear-gradient(135deg, #fbf8fc, #f0e7f4);
  color: var(--ink);
}

.contact-section p,
.contact-section .eyebrow {
  color: var(--muted);
}

.institution-note {
  max-width: min(78ch, 100%);
  text-align: justify;
  text-align-last: left;
}

.contact-section .button {
  width: 100%;
  background: rgba(255,255,255,0.82);
  border-color: rgba(111,44,143,0.24);
  color: var(--accent-strong);
  box-shadow: none;
}

.contact-section .button.primary {
  background: var(--accent);
  color: #fff;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 7vw, 88px);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

footer p {
  margin: 0;
}

@media (max-width: 1000px) {
  .research-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .section-heading.split,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .profile-strip {
    margin-inline: 14px;
  }

  .profile-strip > div {
    padding-block: 16px;
  }

  .overview-domain {
    min-height: 0;
    padding: 12px 16px;
  }

  .site-header {
    position: static;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-bg {
    background-position: 60% center;
    background-size: cover;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.82));
  }

  .profile-strip,
  .research-grid,
  .project-list,
  .output-grid,
  .service-grid,
  .timeline,
  .research-framework-card,
  .prep-aqua-launch,
  .columns {
    grid-template-columns: 1fr;
  }

  .award-groups {
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
  }

  .award-group {
    padding: 24px;
    background: var(--paper);
  }

  .framework-logo-wrap {
    min-height: 180px;
  }

  .group-heading {
    grid-template-columns: 1fr;
  }

  .group-heading .mini-visual {
    max-width: 260px;
  }

  .carousel-toolbar {
    align-items: stretch;
  }

  .research-slide {
    grid-template-columns: 1fr;
  }

  .research-module {
    grid-template-columns: 1fr;
  }

  .research-module-aside {
    position: relative;
    top: auto;
  }

  .detail-section-titlebar {
    grid-template-columns: 1fr;
    min-height: 52px;
    background:
      linear-gradient(90deg,
        #17476a 0 34px,
        #efe4f3 34px 100%);
  }

  .detail-section-titlebar strong {
    padding: 10px 12px 10px 48px;
    white-space: normal;
  }

  .paper-equation {
    gap: 8px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .eq-frac {
    min-width: 86px;
  }

  .ecowc-figure-grid,
  .ecowc-experiment-layout,
  .sph-method-grid {
    grid-template-columns: 1fr;
  }

  .radar-framework-row {
    grid-template-columns: 1fr;
  }

  .radar-framework-diagram,
  .risk-formula-panel {
    grid-template-columns: 1fr;
  }

  .framework-stage-wide {
    grid-column: auto;
  }

  .framework-stage::after,
  .radar-framework-diagram::before {
    display: none;
  }

  .ecowc-experiment-layout .prototype-frame {
    max-width: 260px;
    justify-self: center;
  }

  .equation-grid,
  .mechanism-grid,
  .detail-branch-grid,
  .detail-branch-grid.three,
  .detail-figure-pair,
  .detail-figure-row,
  .theory-figure-grid,
  .theory-figure-grid.two-col,
  .field-observation-map {
    grid-template-columns: 1fr;
  }

  .research-overview {
    grid-template-columns: 1fr;
  }

  .overview-core {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    min-height: auto;
    padding: 22px;
    text-align: center;
  }

  .framework-canopy,
  .overview-core-copy,
  .framework-water-resource,
  .framework-water-hazard,
  .overview-core .framework-equation,
  .overview-core .framework-motto {
    grid-column: 1;
  }

  .framework-canopy {
    grid-row: 1;
  }

  .overview-core-copy {
    grid-row: 2;
  }

  .framework-water-resource {
    grid-row: 3;
  }

  .framework-water-hazard {
    grid-row: 4;
  }

  .overview-core::before,
  .overview-core::after,
  .overview-core-copy::before,
  .overview-core-copy::after {
    display: none;
  }

  .framework-side {
    transform: none;
    min-height: 180px;
  }

  .framework-art {
    width: min(100%, 280px);
  }

  .overview-core .framework-line,
  .overview-core .framework-equation {
    flex-wrap: wrap;
    justify-content: center;
  }

  .overview-core .framework-line span {
    min-width: 0;
  }

  .overview-core .framework-line small {
    margin-left: 0;
  }

  .research-module-visual {
    position: relative;
    top: auto;
    min-height: 210px;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-photo-collage {
    grid-template-columns: 1fr;
  }

  .research-illustration {
    min-height: 200px;
  }

  .publication-list li {
    padding: 16px 16px 16px 58px;
  }

  .publication-list li::before {
    left: 16px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .acoustic-mechanism-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .threshold-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .module2-card1-overview-detail .model-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .module2-card1-overview-detail .model-metric-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive safety layer: keep the research modals and figure-heavy cards stable across browser widths. */
img,
svg,
video,
canvas {
  max-width: 100%;
}

.site-header,
.modal-panel,
.research-module,
.research-module-body,
.detail-feature,
.detail-section-card,
.detail-branch,
.result-card {
  min-width: 0;
}

.modal-panel {
  overscroll-behavior: contain;
}

.modal-panel img {
  max-width: 100%;
}

.detail-section-card,
.detail-branch,
.figure-analysis,
.paper-equation-block {
  overflow-wrap: anywhere;
}

.detail-section-card figure,
.detail-branch figure,
.equation-image-figure {
  min-width: 0;
}

.module-result-track,
.carousel-track {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}

.paper-equation-block {
  max-width: 100%;
  overflow-x: auto;
}

.paper-equation-line {
  min-width: 0;
}

.math-eq,
.equation-image-figure img {
  max-width: 100%;
}

@media (max-width: 1180px) {
  .research-module {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: clamp(20px, 3.5vw, 36px);
  }

  .research-module-body {
    max-width: 100%;
  }

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

@media (max-width: 1000px) {
  .research-overview {
    grid-template-columns: 1fr;
    padding: clamp(16px, 3vw, 28px);
  }

  .overview-core {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 12px;
    min-height: auto;
    padding: clamp(16px, 3vw, 28px);
  }

  .framework-canopy,
  .overview-core-copy,
  .framework-water-resource,
  .framework-water-hazard,
  .overview-core .framework-equation,
  .overview-core .framework-motto {
    grid-column: 1;
  }

  .framework-canopy {
    grid-row: 1;
  }

  .overview-core-copy {
    grid-row: 2;
    min-height: 0;
    padding: 4px 0;
  }

  .framework-water-resource {
    grid-row: 3;
  }

  .framework-water-hazard {
    grid-row: 4;
  }

  .overview-core::before,
  .overview-core::after,
  .overview-core-copy::before,
  .overview-core-copy::after {
    display: none;
  }

  .framework-side {
    min-height: 0;
    transform: none;
  }

  .framework-art {
    width: min(100%, 420px);
  }

  .overview-core .framework-line,
  .overview-core .framework-equation {
    flex-wrap: wrap;
    justify-content: center;
  }

  .overview-core .framework-line span {
    min-width: 0;
  }

  .overview-core .framework-line small {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 8px;
  }

  .research-module {
    grid-template-columns: 1fr;
    padding-inline: clamp(14px, 4vw, 32px);
  }

  .research-module-aside,
  .research-module-visual {
    position: relative;
    top: auto;
  }

  .research-module-aside {
    display: contents;
  }

  .research-module-visual {
    grid-column: 1;
    grid-row: 1;
  }

  .research-module-body {
    grid-column: 1;
    grid-row: 2;
  }

  .module-guide {
    grid-column: 1;
    grid-row: 3;
    margin-top: 0;
    padding: 12px;
  }

  .module-guide ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    padding-left: 18px;
  }

  .module-guide li > ul {
    padding-left: 12px;
  }

  .modal {
    padding: 10px;
  }

  .modal-panel {
    width: 100%;
    max-height: calc(100dvh - 20px);
  }

  .detail-branch-grid,
  .detail-branch-grid.three,
  .detail-figure-pair,
  .detail-figure-row {
    grid-template-columns: 1fr;
  }

  .detail-section-copy,
  .detail-section-card > p {
    font-size: 0.96rem;
    line-height: 1.58;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.52;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.55rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.45rem, 7vw, 1.95rem);
    line-height: 1.12;
  }

  .lead {
    font-size: 1rem;
  }

  .section-heading,
  .section-heading.split,
  .section-heading > *,
  .research-page-hero .section-heading.split > p {
    display: block;
    min-width: 0;
    max-width: calc(100vw - 28px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .site-header {
    padding: 12px 14px;
    gap: 12px;
  }

  .brand {
    font-size: 1rem;
  }

  nav {
    gap: 10px;
    font-size: 0.86rem;
  }

  .research-page-hero,
  .section,
  .research-module {
    padding-inline: 14px;
  }

  .research-slide,
  .detail-branch,
  .detail-section-card,
  .paper-equation-block {
    padding: 12px;
  }

  .module-guide ol {
    grid-template-columns: 1fr;
  }

  .module-guide li > ul {
    font-size: 0.78rem;
  }

  .result-card {
    flex-basis: min(92vw, 380px);
    padding: 14px;
  }

  .result-visual {
    height: 96px;
  }

  .framework-line {
    display: grid;
    justify-items: center;
    gap: 4px;
  }

  .framework-line strong {
    font-size: clamp(0.98rem, 5vw, 1.16rem);
    max-width: calc(100vw - 72px);
    overflow-wrap: anywhere;
  }

  .framework-line span {
    min-width: 0;
    font-size: clamp(0.96rem, 5vw, 1.12rem);
  }

  .framework-application,
  .overview-core .framework-equation span,
  .overview-core .framework-motto {
    font-size: 0.84rem;
  }

  .detail-section-titlebar strong {
    font-size: 1.02rem;
  }

  .detail-section-card figcaption,
  .detail-branch figcaption {
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .paper-equation-line {
    padding-right: 4.2em;
  }

  .math-eq {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
  }

  .eq-no {
    min-width: 3.7em;
    font-size: 0.96rem;
  }
}

@media (max-width: 420px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  nav {
    justify-content: flex-start;
    width: 100%;
  }

  .contact-actions,
  .split-button-row {
    grid-template-columns: 1fr;
  }

  .modal-close {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 0.86rem;
  }

  .detail-section-titlebar {
    min-height: 46px;
  }
}

