:root {
  --page-bg: #f5f6f8;
  --surface: #ffffff;

  --text: #171a1f;
  --body-text: #3f4853;
  --muted: #68727e;

  --accent: #2864bd;
  --accent-dark: #174c99;
  --accent-soft: #edf3fc;
  --seal-red: #b93428;

  --table-head: #f3f5f7;
  --table-line: #e7eaee;
  --row-highlight: #eff5fd;
  --suite-bg: #f5f6f8;

  --panel-shadow:
    14px 16px 34px rgba(31, 41, 55, 0.085),
    0 2px 7px rgba(31, 41, 55, 0.035);

  --media-shadow:
    8px 10px 24px rgba(31, 41, 55, 0.07);
}


/* =========================================================
   BASE
   ========================================================= */

* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  background: var(--page-bg);
  color: var(--text);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    sans-serif;

  font-size: 16px;
  line-height: 1.68;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


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


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


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


section {
  scroll-margin-top: 84px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;

  background: rgba(255, 255, 255, 0.94);

  box-shadow:
    0 3px 16px rgba(31, 41, 55, 0.055);

  backdrop-filter: blur(12px);
}


.nav-container {
  width: min(1040px, calc(100% - 40px));
  min-height: 60px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}


.brand {
  color: var(--accent);

  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}


.nav-links {
  display: flex;
  align-items: center;

  gap: 25px;
}


.nav-links a {
  position: relative;

  color: var(--muted);

  font-size: 0.9rem;
  font-weight: 500;

  transition: color 0.15s ease;
}


.nav-links a::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;

  height: 2px;

  background: var(--accent);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.16s ease;
}


.nav-links a:hover {
  color: var(--accent-dark);
}


.nav-links a:hover::after {
  transform: scaleX(1);
}


/* =========================================================
   PAGE PANELS
   ========================================================= */

.page-container {
  width: min(1040px, calc(100% - 40px));

  margin: 0 auto 58px;
}


.content-panel {
  background: var(--surface);

  border: 0;
  border-radius: 2px;

  box-shadow: var(--panel-shadow);
}


.hero-panel {
  position: relative;

  overflow: hidden;

  width: 100%;
  padding: 68px 20px 42px;

  border: 0;
  border-radius: 0;

  background:
    radial-gradient(circle at 12% 100%, rgba(40, 100, 189, 0.08), transparent 34%),
    radial-gradient(circle at 88% 100%, rgba(40, 100, 189, 0.07), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);

  box-shadow: none;

  text-align: center;
}


.hero-panel::before,
.hero-panel::after {
  content: "";

  position: absolute;

  pointer-events: none;
}


.hero-panel::before {
  right: -9%;
  bottom: -118px;
  left: -9%;

  height: 330px;

  background:
    radial-gradient(72% 80% at 0% 55%, rgba(40, 100, 189, 0.13), transparent 58%),
    radial-gradient(68% 76% at 100% 60%, rgba(72, 128, 220, 0.14), transparent 60%),
    radial-gradient(52% 56% at 55% 100%, rgba(122, 165, 232, 0.11), transparent 62%);

  opacity: 0.86;
}


.hero-panel::after {
  top: 54px;
  right: -120px;

  width: min(620px, 48vw);
  height: 210px;

  border-top: 2px dashed rgba(80, 128, 210, 0.15);
  border-radius: 50%;

  transform: rotate(-14deg);
}


.hero-inner {
  position: relative;
  z-index: 1;

  width: min(1180px, 100%);

  margin: 0 auto;
}


.content-panel {
  margin-top: 34px;
  padding: 42px 46px 45px;
}


/* =========================================================
   HERO
   ========================================================= */

.project-label {
  max-width: 1120px;

  margin: 0 auto 18px;

  color: var(--muted);

  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.015em;

  text-align: left;
}


.hero-panel h1 {
  max-width: 1120px;

  margin: 0 auto 28px;

  font-size: 1rem;
  font-weight: 700;
  line-height: 1.14;

  letter-spacing: 0;
  text-align: left;
}


.hero-question {
  position: relative;

  display: block;

  margin: 0 0 34px;
  padding: 0.06em 0 0.04em;

  color: #07133f;

  font-size: 4.15rem;
  font-weight: 800;
  line-height: 1.3;

  letter-spacing: -0.022em;
  white-space: nowrap;

  background:
    linear-gradient(92deg, #07133f 0%, #102c6b 56%, #2864bd 100%);

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}


.hero-question::after {
  content: "";

  position: absolute;
  bottom: -12px;
  left: 0;

  width: 176px;
  height: 8px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      rgba(40, 100, 189, 0.72) 0%,
      rgba(78, 126, 214, 0.46) 58%,
      rgba(146, 178, 235, 0.12) 100%
    );

  box-shadow:
    0 7px 18px rgba(40, 100, 189, 0.14);
}


.hero-title-main {
  display: block;

  max-width: 1060px;

  margin: 0;

  color: #182541;

  font-size: clamp(1.62rem, 3.15vw, 2.64rem);
  font-weight: 750;
  line-height: 1.23;

  letter-spacing: -0.02em;
}


.authors {
  max-width: 960px;

  margin: 22px auto 4px;

  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.72;

  color: #18325c;
}


.affiliations {
  max-width: 940px;

  margin: 0 auto;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 3px 22px;

  color: var(--muted);

  font-size: 0.88rem;
}


.resource-buttons {
  margin: 0 auto;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 12px;
}


.resource-button {
  min-width: 136px;

  padding: 10px 22px;

  border: 1px solid rgba(40, 100, 189, 0.28);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.86);
  color: var(--accent);

  box-shadow:
    0 8px 20px rgba(40, 100, 189, 0.08);

  font-size: 0.91rem;
  font-weight: 700;

  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}


.resource-button:hover {
  border-color: rgba(40, 100, 189, 0.45);

  background: #ffffff;
  color: var(--accent-dark);

  box-shadow:
    0 12px 24px rgba(40, 100, 189, 0.13);

  transform: translateY(-2px);
}


.video-menu {
  position: relative;

  min-width: 136px;
}


.video-menu-toggle {
  display: block;

  width: 100%;

  cursor: pointer;
  list-style: none;
}


.video-menu-toggle::-webkit-details-marker {
  display: none;
}


.video-menu[open] .video-menu-toggle {
  border-color: rgba(40, 100, 189, 0.45);

  background: #ffffff;
  color: var(--accent-dark);

  box-shadow:
    0 12px 24px rgba(40, 100, 189, 0.13);
}


.video-menu-options {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  left: 50%;

  display: grid;
  min-width: 190px;
  padding: 8px;

  border: 1px solid rgba(40, 100, 189, 0.18);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 30px rgba(40, 55, 80, 0.16);

  transform: translateX(-50%);
}


.video-menu-options a {
  padding: 9px 12px;

  border-radius: 9px;

  color: var(--accent);

  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}


.video-menu-options a:hover,
.video-menu-options a:focus-visible {
  background: rgba(40, 100, 189, 0.08);
  color: var(--accent-dark);
}


.resource-button.primary {
  background: var(--accent);
  color: #ffffff;

  box-shadow:
    0 5px 14px rgba(40, 100, 189, 0.24);
}


.resource-button.primary:hover {
  background: var(--accent-dark);

  box-shadow:
    0 7px 17px rgba(23, 76, 153, 0.26);
}


.resource-button.disabled {
  color: #7a8798;

  cursor: default;

  opacity: 0.72;

  pointer-events: none;
}


.resource-button.disabled:hover {
  border-color: rgba(40, 100, 189, 0.28);

  background: rgba(255, 255, 255, 0.86);

  box-shadow:
    0 8px 20px rgba(40, 100, 189, 0.08);

  transform: none;
}


.concept-card {
  margin: 30px auto 0;
  padding: 24px 25px;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;

  text-align: left;

  border: 1px solid rgba(40, 100, 189, 0.14);
  border-radius: 18px;

  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 255, 0.88));

  box-shadow:
    0 18px 42px rgba(40, 64, 95, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}


.concept-seal {
  width: 68px;
  height: 68px;

  display: grid;
  place-items: center;

  border-radius: 16px;

  background: rgba(185, 52, 40, 0.07);
}


.concept-seal img {
  width: 58px;
  height: 58px;

  object-fit: contain;

  filter:
    drop-shadow(0 8px 13px rgba(185, 52, 40, 0.13));
}


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


.concept-heading {
  margin: 0 0 8px;

  color: #18325c;

  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}


.concept-quote {
  margin: 0 0 9px;

  color: #1d3562;

  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: clamp(1.18rem, 2.1vw, 1.55rem);
  line-height: 1.26;
}


.concept-cn {
  margin: 0 0 8px;

  color: #66758a;

  font-size: 0.95rem;
  line-height: 1.5;
}


.concept-description {
  margin: 0;

  color: #6d7a8c;

  font-size: 0.92rem;
  line-height: 1.55;
}


.concept-action {
  min-width: 210px;
  padding-left: 24px;

  display: flex;
  justify-content: center;

  border-left: 1px solid rgba(40, 100, 189, 0.14);
}


.concept-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 148px;
  padding: 12px 22px;

  border-radius: 999px;

  background: linear-gradient(135deg, #4d78d6, #2864bd);
  color: #ffffff;

  box-shadow:
    0 12px 24px rgba(40, 100, 189, 0.24);

  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1;

  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}


.concept-button:hover {
  background: linear-gradient(135deg, #416ecb, #174c99);

  box-shadow:
    0 15px 28px rgba(23, 76, 153, 0.28);

  transform: translateY(-2px);
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-heading {
  margin-bottom: 29px;
}


.section-heading h2 {
  margin-bottom: 7px;

  font-size: 1.72rem;
  font-weight: 500;
  line-height: 1.2;

  letter-spacing: -0.025em;
}


.section-heading p {
  margin-bottom: 0;

  color: var(--muted);

  font-size: 0.91rem;
}


/* =========================================================
   ABSTRACT
   ========================================================= */

.abstract-block {
  max-width: 920px;

  margin: 0 auto 34px;
}


.abstract-block h3 {
  margin-bottom: 13px;

  font-size: 1.18rem;
  font-weight: 500;
}


.abstract-block p {
  margin-bottom: 14px;

  color: var(--body-text);

  font-size: 0.96rem;
  line-height: 1.78;
}


.abstract-block p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   FIGURES
   ========================================================= */

.main-figure {
  margin: 0 0 30px;

  overflow: hidden;

  background: #ffffff;

  border: 0;
  border-radius: 1px;

  box-shadow: var(--media-shadow);
}


.main-figure:last-child {
  margin-bottom: 0;
}


.main-figure img {
  width: 100%;
  height: auto;

  background: #ffffff;

  object-fit: contain;
}


.main-figure figcaption {
  padding: 13px 17px 15px;

  color: var(--muted);

  font-size: 0.84rem;
  line-height: 1.6;
}


.main-figure figcaption strong {
  color: #39434e;
  font-weight: 600;
}


/* =========================================================
   HEADLINE RESULTS
   ========================================================= */

.result-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto 30px;
}


.result-card {
  padding: 18px 20px 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(40, 100, 189, 0.14);
  border-radius: 4px;
  text-align: center;
}


.result-card strong {
  display: block;
  color: var(--accent-dark);
  font-size: 1.72rem;
  line-height: 1.1;
  font-weight: 750;
}


.result-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}


/* =========================================================
   RESULTS
   ========================================================= */

.aerial-results,
.aerial-scenes,
.aerial-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aerial-results h3,
.aerial-scene h3 {
  margin: 0 0 10px;
  font-size: 0.96rem;
  font-weight: 650;
}

.aerial-comparison {
  margin: 0;
}

.aerial-scenes,
.aerial-pair {
  display: grid;
  gap: 14px;
}

.aerial-scene {
  padding: 16px 12px 12px;
  border: 1px solid var(--table-line);
  border-radius: 4px;
  text-align: center;
}

.aerial-pair p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.aerial-pair > div:last-child p {
  color: var(--accent-dark);
}

/* Use the manuscript's crop windows on the 886 × 380 source montage. */
.aerial-plot {
  --h: 166;
  --y: 45;
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--w) / var(--h);
}

.aerial-plot-amc {
  --h: 153;
  --y: 222;
}

.aerial-plot img {
  position: absolute;
  top: calc(-100% * var(--y) / var(--h));
  left: calc(-100% * var(--x) / var(--w));
  width: calc(100% * 886 / var(--w));
  max-width: none;
  height: auto;
}

.aerial-comparison figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.result-section {
  padding-bottom: 38px;
}


.result-section + .result-section {
  padding-top: 35px;

  border-top: 1px solid #eceff2;
}


.result-section:last-child {
  padding-bottom: 0;
}


.result-heading {
  margin-bottom: 16px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 24px;
}


.result-heading h3 {
  margin-bottom: 0;

  font-size: 1.16rem;
  font-weight: 500;
}


.result-heading > p {
  max-width: 360px;

  margin-bottom: 0;

  color: var(--muted);

  font-size: 0.81rem;
  line-height: 1.5;

  text-align: right;
}


.result-label {
  display: block;

  margin-bottom: 4px;

  color: var(--accent);

  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}


.table-scroll {
  overflow-x: auto;

  border: 0;
  border-radius: 3px;

  box-shadow:
    0 4px 15px rgba(31, 41, 55, 0.055);
}


.results-table {
  width: 100%;
  min-width: 820px;

  border-collapse: collapse;

  background: #ffffff;
}


.results-table th,
.results-table td {
  padding: 10px 11px;

  border-bottom: 1px solid var(--table-line);

  text-align: right;
  white-space: nowrap;

  font-size: 0.83rem;
}


.results-table th:first-child,
.results-table td:first-child {
  text-align: left;
}


.policy-table th:nth-child(2),
.policy-table td:nth-child(2) {
  text-align: left;
}


.results-table th {
  background: var(--table-head);
  color: #3d4651;

  font-size: 0.78rem;
  font-weight: 600;
}


.results-table tbody tr:last-child td {
  border-bottom: 0;
}


.results-table tbody tr:hover:not(.suite-row) {
  background: #fafcff;
}


.ours-row {
  background: var(--row-highlight);
}


.ours-row td:first-child,
.ours-row td:nth-child(2) {
  color: var(--accent-dark);
  font-weight: 650;
}


.suite-row td {
  padding: 8px 11px;

  background: var(--suite-bg);
  color: #59636f;

  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-transform: uppercase;

  text-align: left !important;
}


.table-caption {
  margin: 11px 2px 0;

  color: var(--muted);

  font-size: 0.8rem;
  line-height: 1.55;
}


/* =========================================================
   DEMOS
   ========================================================= */

.demo-category + .demo-category {
  margin-top: 38px;
  padding-top: 35px;

  border-top: 1px solid #eceff2;
}


.demo-category-heading {
  margin-bottom: 17px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 24px;
}


.demo-category-heading h3 {
  margin-bottom: 0;

  font-size: 1.16rem;
  font-weight: 500;
}


.demo-category-heading p {
  max-width: 470px;

  margin-bottom: 0;

  color: var(--muted);

  font-size: 0.82rem;

  text-align: right;
}


.demo-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}


.demo-item {
  margin: 0;
  padding: 10px;

  overflow: hidden;

  background: #ffffff;

  border: 0;
  border-radius: 2px;

  box-shadow:
    8px 10px 23px rgba(31, 41, 55, 0.075);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}


.demo-item:hover {
  box-shadow:
    11px 14px 29px rgba(31, 41, 55, 0.095);

  transform: translateY(-2px);
}


.demo-item img {
  width: 100%;
  height: auto;

  background: #f7f8f9;

  border-radius: 0;

  object-fit: contain;
}


.demo-item figcaption {
  padding: 9px 4px 2px;

  color: #58636f;

  font-size: 0.83rem;
  font-weight: 500;
}


.visualization-note {
  max-width: 520px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}


/* =========================================================
   ACKNOWLEDGMENTS
   ========================================================= */

.acknowledgments-panel {
  padding-top: 38px;
  padding-bottom: 40px;
}


.acknowledgments-panel .section-heading {
  margin-bottom: 17px;
}


.acknowledgments-panel p {
  max-width: 920px;

  margin: 0;

  color: var(--body-text);

  font-size: 0.93rem;
  line-height: 1.75;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding: 0 20px 44px;

  color: var(--muted);

  text-align: center;

  font-size: 0.82rem;
}


.footer p {
  margin: 3px 0;
}


.footer a {
  color: var(--accent-dark);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

  .hero-panel {
    padding: 48px 30px 35px;
  }


  .hero-panel::before {
    height: 270px;
    bottom: -102px;
  }


  .hero-question {
    font-size: 2.86rem;
  }


  .hero-question::after {
    width: 144px;
  }


  .concept-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
  }


  .concept-action {
    grid-column: 1 / -1;

    min-width: 0;
    padding-left: 0;
    padding-top: 18px;

    justify-content: flex-start;

    border-top: 1px solid rgba(40, 100, 189, 0.14);
    border-left: 0;
  }


  .content-panel {
    padding: 34px 29px 37px;
  }


  .result-heading,
  .demo-category-heading {
    align-items: flex-start;
    flex-direction: column;

    gap: 8px;
  }


  .result-heading > p,
  .demo-category-heading p {
    max-width: none;

    text-align: left;
  }

}


@media (max-width: 650px) {

  .nav-container,
  .page-container {
    width: min(100% - 20px, 1040px);
  }


  .nav-links {
    display: none;
  }


  .page-container {
    margin-top: 0;
  }


  .hero-panel {
    padding: 40px 18px 29px;

    text-align: center;
  }


  .hero-panel::before {
    right: -30%;
    bottom: -112px;
    left: -30%;

    height: 255px;
  }


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


  .project-label,
  .hero-panel h1 {
    text-align: center;
  }


  .hero-question {
    margin-bottom: 24px;

    font-size: 1.72rem;
    line-height: 1.12;
  }


  .hero-question::after {
    bottom: -10px;
    left: 50%;

    width: 118px;
    height: 7px;

    transform: translateX(-50%);
  }


  .hero-title-main {
    margin: 0 auto;

    font-size: 1.24rem;
    line-height: 1.28;
  }

  .authors {
    font-size: 0.89rem;
  }


  .affiliations {
    justify-content: center;

    gap: 3px 14px;
  }


  .resource-buttons {
    justify-content: center;
  }


  .resource-button {
    flex: 1 1 120px;

    min-width: 0;

    text-align: center;
  }


  .video-menu {
    flex: 1 1 120px;

    min-width: 0;
  }


  .concept-card {
    margin-top: 25px;
    padding: 20px;

    grid-template-columns: 1fr;
    gap: 16px;

    border-radius: 16px;
  }


  .concept-seal {
    width: 58px;
    height: 58px;
  }


  .concept-seal img {
    width: 50px;
    height: 50px;
  }


  .concept-quote {
    font-size: 1.14rem;
  }


  .concept-action {
    padding-top: 16px;
  }


  .concept-button {
    width: 100%;
  }


  .content-panel {
    margin-top: 16px;
    padding: 28px 17px 31px;
  }


  .section-heading {
    margin-bottom: 24px;
  }


  .section-heading h2 {
    font-size: 1.42rem;
  }


  .abstract-block p {
    font-size: 0.92rem;
  }


  .demo-grid,
  .aerial-scenes {
    grid-template-columns: 1fr;
  }


  .result-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }


  .main-figure figcaption {
    padding: 11px 12px 13px;
  }


  .acknowledgments-panel p {
    font-size: 0.9rem;
  }

}


@media (max-width: 480px) {

  .hero-question {
    font-size: 1.34rem;
  }


  .hero-question::after {
    width: 92px;
  }

}
