html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #131821;
  font-family: "Noto Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 184, 107, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(89, 109, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #f4f6fb 0%, #eef2f8 48%, #e8eef6 100%);
}

a {
  color: #2f3d57;
}

a:hover {
  color: #c97830;
}

.hero-paper {
  padding: 2.5rem 1.5rem 0.65rem;
}

.publication-title,
.publication-subtitle,
.section-card-title,
.feature-card h3 {
  font-family: "Google Sans", "Noto Sans", sans-serif;
}

.wordmark {
  background: linear-gradient(120deg, #111111 0%, #5b657f 42%, #d57a29 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.publication-title {
  margin-bottom: 0.35rem !important;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.publication-subtitle {
  margin: 0 auto 1.2rem;
  max-width: 860px;
  color: #2a3240;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
}

.publication-authors {
  margin: 1rem auto 0.5rem;
  max-width: 900px;
  color: #394255;
  line-height: 1.9;
}

.author-block {
  display: inline-block;
  margin: 0 0.25rem;
}

.publication-meta {
  color: #697285;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.35rem 0 1.35rem;
}

.publication-links .button {
  min-width: 152px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(120deg, #1d2533 0%, #2f3d57 55%, #c97830 100%);
  box-shadow: 0 12px 28px rgba(29, 37, 51, 0.18);
}

.publication-links .button:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.showcase-section {
  padding-top: 1rem;
  padding-bottom: 1.4rem;
}

.sticky-nav-wrap {
  position: sticky;
  top: 12px;
  z-index: 24;
  width: min(92vw, 1040px);
  margin: 0 auto 1.65rem;
}

.sticky-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 18px 40px rgba(29, 37, 51, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: "Google Sans", "Noto Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2a3240;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.nav-link:hover {
  color: #1b2330;
  background: rgba(201, 120, 48, 0.08);
  transform: translateY(-1px);
}

.nav-link.is-active {
  color: #ffffff;
  background: linear-gradient(120deg, #1d2533 0%, #2f3d57 55%, #c97830 100%);
  box-shadow: 0 12px 24px rgba(29, 37, 51, 0.2);
}

.showcase-shell {
  max-width: 1060px !important;
}

.content-card,
.abstract-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  box-shadow: 0 26px 60px rgba(31, 41, 55, 0.1);
}

.abstract-card {
  margin-top: 0;
  padding: 1.5rem 1.6rem 1.6rem;
  text-align: left;
  width: 100%;
}

.content-card {
  padding: 1.85rem 1.8rem 2rem;
}

.abstract-accent,
.section-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #d57a29 0%, #5163ff 52%, #1e2635 100%);
}

.section-card-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: #111827;
  font-size: 1.55rem;
  font-weight: 800;
}

.section-card-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #d57a29, #5163ff);
  box-shadow: 0 0 0 6px rgba(213, 122, 41, 0.08);
}

.section-card-text,
.feature-card p,
.publication-meta p {
  margin: 0;
  color: #40495a;
  line-height: 1.8;
}

.figure-frame {
  margin-top: 1.35rem;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(239, 243, 250, 0.95));
  box-shadow: inset 0 0 0 1px rgba(84, 96, 122, 0.08);
}

.paper-figure {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.citation-card {
  margin-bottom: 2rem;
}

#abstract,
#overview,
#architecture,
#training,
#citation {
  scroll-margin-top: 118px;
}

.coming-soon-text {
  margin: 0;
  color: #40495a;
  font-size: 1.05rem;
  line-height: 1.8;
}

.footer {
  background: transparent;
}

.institution-footer {
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
}

.institution-shell {
  width: min(96vw, 1400px);
  max-width: 1400px !important;
}

.institution-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.08fr) minmax(0, 1.3fr);
  gap: 2.1rem;
  align-items: center;
  padding: 1.8rem 2.6rem;
  border: 1px solid rgba(112, 122, 142, 0.12);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(244, 238, 230, 0.92), rgba(234, 238, 246, 0.9));
  box-shadow:
    0 18px 42px rgba(31, 41, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.institution-item {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  justify-content: flex-start;
  min-width: 0;
}

.institution-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  padding: 0;
  overflow: hidden;
}

.institution-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.institution-logo-wide {
  width: 98px;
}

.institution-logo-academy {
  width: 96px;
  height: 78px;
}

.institution-copy {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.institution-title {
  margin: 0;
  font-family: "Google Sans", "Noto Sans", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.28;
  white-space: nowrap;
}

.institution-title a {
  color: #2f3d57;
}

.institution-title a:hover {
  color: #c97830;
}

.institution-subtitle {
  margin: 0.28rem 0 0;
  color: #617089;
  font-size: 0.82rem;
  line-height: 1.45;
}

@media screen and (max-width: 768px) {
  .hero-paper {
    padding-top: 1.5rem;
  }

  .content-card,
  .abstract-card {
    border-radius: 22px;
  }

  .content-card {
    padding: 1.45rem 1.15rem 1.55rem;
  }

  .abstract-card {
    padding: 1.25rem 1.1rem 1.3rem;
  }

  .publication-links .button {
    min-width: 140px;
  }

  .sticky-nav-wrap {
    top: 10px;
    width: min(94vw, 760px);
    margin-bottom: 1.3rem;
  }

  .sticky-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
    padding: 10px;
  }

  .sticky-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.95rem;
  }

  .institution-shell {
    width: min(96vw, 900px);
  }

  .institution-band {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.2rem;
    border-radius: 24px;
  }
}
