:root {
  --wm-ink: #172033;
  --wm-muted: #607087;
  --wm-border: #dfe7ed;
  --wm-paper: #ffffff;
  --wm-mist: #f1f9f8;
  --wm-cyan: #55bdb3;
  --wm-cyan-dark: #2f9d94;
  --wm-coral: #ef7b65;
  --wm-violet: #7367d9;
  --wm-shadow: 0 24px 70px rgba(28, 45, 65, 0.12);
}

html {
  background: var(--wm-paper);
}

body {
  color: var(--wm-ink);
  background: var(--wm-paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.65rem 1rem;
  color: #fff;
  background: var(--wm-ink);
  border-radius: 999px;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.wm-hero {
  min-height: 760px;
  background:
    radial-gradient(circle at 12% 18%, rgba(85, 189, 179, 0.18), transparent 31%),
    radial-gradient(circle at 88% 8%, rgba(115, 103, 217, 0.15), transparent 28%),
    linear-gradient(180deg, #fbfdfc 0%, #f1f9f8 100%);
  border-bottom: 1px solid var(--wm-border);
}

.wm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.33;
  background-image:
    linear-gradient(rgba(23, 32, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 51, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000 10%, transparent 85%);
  pointer-events: none;
}

.wm-hero .hero-body {
  position: relative;
  z-index: 1;
  padding: 6rem 1.5rem 5rem;
}

.hero-copy {
  max-width: 970px;
  margin: 0 auto;
}

.section-label {
  margin-bottom: 1.2rem;
  color: var(--wm-cyan-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.publication-title {
  max-width: 1020px;
  margin-right: auto !important;
  margin-left: auto !important;
  color: var(--wm-ink) !important;
  font-size: clamp(2.3rem, 4.6vw, 4rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.047em;
}

.title-mark {
  color: var(--wm-cyan-dark);
  white-space: nowrap;
}

.publication-authors {
  max-width: 900px;
  margin: 2.1rem auto 0.9rem !important;
  color: #31425a;
  line-height: 1.8;
}

.author-block {
  margin: 0 0.28rem;
  font-weight: 650;
}

.author-block:not(:last-child)::after {
  content: ",";
}

sup {
  color: var(--wm-cyan-dark);
  font-size: 0.62em;
  font-weight: 800;
}

.publication-affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.4rem;
  color: var(--wm-muted);
  font-size: 0.97rem;
}

.project-figure {
  max-width: 1050px;
  margin: 4.3rem auto 0;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(195, 210, 216, 0.88);
  border-radius: 24px;
  box-shadow: var(--wm-shadow);
  backdrop-filter: blur(18px);
}

.project-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17px;
}

.abstract-section {
  padding: 7rem 1.5rem;
  background: var(--wm-paper);
}

.section-label {
  text-align: center;
}

.title.is-3 {
  color: var(--wm-ink);
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  letter-spacing: -0.025em;
}

.title.is-3::after {
  background: linear-gradient(90deg, var(--wm-cyan), var(--wm-violet));
}

.abstract-copy {
  margin-top: 2.5rem;
  color: #415169;
  font-size: 1.15rem;
  line-height: 1.9;
  text-align: left;
}

.project-footer {
  padding: 3rem 1.5rem;
  color: #6b7889;
  background: #fff;
}

.project-footer strong {
  color: var(--wm-ink);
}

.template-credit {
  font-size: 0.82rem;
}

.project-footer a {
  color: var(--wm-cyan-dark);
}

.scroll-to-top {
  background: var(--wm-ink);
  font-size: 1.35rem;
}

.scroll-to-top:hover {
  background: var(--wm-cyan-dark);
}

@media screen and (max-width: 768px) {
  .wm-hero {
    min-height: auto;
  }

  .wm-hero .hero-body {
    padding: 4.2rem 1rem 3.2rem;
  }

  .publication-title {
    font-size: clamp(1.9rem, 8.8vw, 2.75rem) !important;
  }

  .publication-affiliations {
    display: block;
  }

  .publication-affiliations span {
    display: block;
    margin-bottom: 0.35rem;
  }

  .project-figure {
    margin-top: 3rem;
    padding: 0.45rem;
    border-radius: 18px;
  }

  .project-figure img {
    border-radius: 14px;
  }

  .abstract-section {
    padding: 4.5rem 1.1rem;
  }

  .abstract-copy {
    font-size: 1.02rem;
    line-height: 1.78;
  }
}

@media screen and (max-width: 480px) {
  .scroll-to-top {
    width: 44px;
    height: 44px;
    right: 1rem;
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
