:root {
  --text: #363636;
  --muted: #666;
  --border: #e5e5e5;
  --section-alt: #fafafa;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Noto Sans", sans-serif;
  line-height: 1.65;
}

a {
  color: #3273dc;
}

.title,
.publication-title,
.publication-venue,
.publication-authors,
.publication-affiliations,
.publication-links {
  font-family: "Google Sans", "Noto Sans", sans-serif;
}

.publication-header .hero-body {
  padding: 3rem 1.5rem;
}

.publication-title {
  max-width: 960px;
  margin: 0 auto 0.6rem !important;
  color: var(--text);
  font-size: 44px !important;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.publication-venue {
  margin: 0 0 1.15rem;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}

.publication-authors {
  margin-bottom: 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.publication-authors a {
  color: #3273dc;
}

.author-block {
  display: inline-block;
  white-space: nowrap;
}

.publication-authors .author-block:not(:last-child) {
  margin-right: 0.2rem;
}

.publication-authors sup,
.publication-affiliations sup {
  font-size: 0.65em;
}

.publication-affiliations {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.5;
}

.affiliation-separator {
  margin: 0 0.45rem;
  color: #aaa;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.publication-links .button {
  min-width: 104px;
  border: 0;
  box-shadow: none;
  font-weight: 500;
}

.project-section {
  padding: 3.25rem 1.5rem;
}

.project-section .title.is-3 {
  margin-bottom: 1.5rem;
  color: var(--text);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.abstract-text,
.project-section > .container > .content {
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.75;
}

.abstract-text p:last-child,
.project-section > .container > .content p:last-child {
  margin-bottom: 0;
}

.abstract-layout {
  margin-top: 0;
}

.abstract-qualitative {
  max-width: 390px;
  margin: 0 auto;
}

.abstract-qualitative .title {
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
}

.figure-section {
  background: var(--section-alt);
}

.section-intro {
  max-width: 760px;
  margin: -0.65rem auto 1.75rem;
  color: var(--muted);
  font-size: 1rem;
}

.paper-figure {
  margin: 0 auto;
}

.qualitative-figure {
  max-width: 390px;
}

.architecture-figure {
  max-width: 980px;
}

.heatmap-figure {
  max-width: 680px;
}

.application-figure {
  max-width: 720px;
}

.paper-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.paper-figure figcaption {
  max-width: 920px;
  margin: 0.85rem auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
}

.key-points {
  margin: 0 0 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.method-points {
  margin-top: 2.5rem;
}

.key-points .column,
.method-points .column {
  color: var(--muted);
  text-align: center;
}

.key-points .column {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.key-points .column + .column {
  border-left: 1px solid var(--border);
}

.key-points .title,
.method-points .title {
  margin-bottom: 0.55rem;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 500;
}

.key-points p,
.method-points p {
  margin: 0 auto;
  max-width: 300px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.motivation-copy {
  max-width: 800px;
  margin: 0 auto;
}

.method-detail,
.result-detail {
  margin-top: 3.25rem;
}

.method-detail-copy,
.result-copy {
  color: #4a4a4a;
  font-size: 0.98rem;
  line-height: 1.72;
}

.method-detail-copy .title,
.result-copy .title {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 500;
}

.metrics-row {
  margin: 2rem auto 2.5rem;
}

.metric-item {
  padding: 1.25rem 1rem !important;
  border-left: 1px solid var(--border);
  text-align: center;
}

.metric-item:last-child {
  border-right: 1px solid var(--border);
}

.metric-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.metric-value {
  margin-bottom: 0.3rem !important;
  color: var(--text) !important;
  font-family: "Google Sans", "Noto Sans", sans-serif;
  font-size: 2rem !important;
  font-weight: 500;
  line-height: 1.1;
}

.result-chart {
  max-width: 780px;
}

.application-copy {
  max-width: 780px;
  margin: 0 auto 2rem;
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.72;
}

.bibtex {
  margin: 0;
  padding: 1.25rem 1.4rem;
  overflow-x: auto;
  border-radius: 6px;
  background: #f5f5f5;
  color: #333;
  font-size: 0.88rem;
  line-height: 1.6;
}

.project-footer {
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}

.project-footer p {
  margin: 0;
}

.project-footer p + p {
  margin-top: 0.35rem;
}

@media screen and (max-width: 768px) {
  .publication-header .hero-body {
    padding: 2.5rem 1rem 2.25rem;
  }

  .publication-title {
    font-size: 2.15rem !important;
    letter-spacing: -0.025em;
    line-height: 1.16;
  }

  .publication-venue {
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }

  .publication-authors {
    font-size: 1.05rem;
  }

  .publication-affiliations {
    font-size: 1rem;
  }

  .affiliation-separator {
    display: none;
  }

  .publication-affiliations .author-block {
    display: block;
  }

  .project-section {
    padding: 2.75rem 1rem;
  }

  .project-section .title.is-3 {
    font-size: 1.75rem;
  }

  .abstract-text,
  .project-section > .container > .content {
    font-size: 1rem;
  }

  .key-points,
  .method-points {
    margin-top: 1.75rem;
  }

  .key-points {
    margin-top: 0;
    margin-bottom: 1.75rem;
  }

  .key-points .column + .column {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .abstract-qualitative {
    max-width: 350px;
    margin-top: 1.5rem;
  }

  .method-detail,
  .result-detail {
    margin-top: 2rem;
  }

  .key-points .column,
  .method-points .column {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .metrics-row {
    margin-top: 1.5rem;
  }

  .metric-item,
  .metric-item:last-child {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .metric-item:last-child {
    border-bottom: 1px solid var(--border);
  }
}
