:root {
  --bg-main: #f6f8f7;
  --bg-soft: #ecf2ee;
  --ink-main: #15211b;
  --ink-sub: #44544a;
  --line: #d2dcd5;
  --accent: #0f766e;
  --accent-2: #1f9d8e;
  --card: #ffffff;
  --shadow: 0 14px 40px rgba(22, 38, 30, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: radial-gradient(circle at 0% 0%, #e2efe8 0%, transparent 38%),
              radial-gradient(circle at 100% 10%, #e5f5f1 0%, transparent 28%),
              var(--bg-main);
  color: var(--ink-main);
}

p,
li {
  color: var(--ink-sub);
  line-height: 1.8;
}

.t2av-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(246, 248, 247, 0.85);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-project {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.project-tag {
  display: inline-block;
  background: #d7efe8;
  color: #085950;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.project-title {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.project-subtitle {
  font-size: 1.13rem;
  max-width: 920px;
  margin: 0 auto 1.2rem auto;
}

.project-authors {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-authors span {
  padding: 0.2rem 0.55rem;
  border-radius: 0.5rem;
  background: #e9f3ef;
}

.project-org {
  text-align: center;
  color: #2d4137;
  margin-bottom: 1.2rem;
}

.project-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.project-links .button {
  background: #1b2c24;
  transition: transform 0.22s ease, background 0.22s ease;
}

.project-links .button:hover {
  background: #23392f;
  transform: translateY(-2px);
}

.section {
  padding: 3.5rem 1.5rem;
}

.section-figure {
  padding-top: 0.5rem;
  padding-bottom: 0.8rem;
}

.section-title {
  font-family: 'Source Serif 4', serif;
}

.section-overview,
.section-dataset {
  background: rgba(255, 255, 255, 0.8);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.metric-item {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--bg-soft);
}

.metric-item + .metric-item {
  margin-top: 0.7rem;
}

.metric-value {
  font-size: 1.65rem;
  font-weight: 700;
  color: #0b5f58;
}

.metric-name {
  color: #385045;
}

.pain-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.pain-card h3 {
  color: #123f35;
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.section-note {
  margin-bottom: 1rem;
}

.split-title {
  margin-top: 1.3rem;
  margin-bottom: 0.7rem !important;
  color: #1c3a2f;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.leaderboard-table {
  margin-bottom: 0;
  background: var(--card);
}

.leaderboard-table thead th {
  background: #daeae3;
  color: #1d352a;
  border-bottom: 1px solid #c6d6cf;
}

.leaderboard-table tbody tr:nth-child(odd) {
  background: #f8fbf9;
}

.dimension-card {
  height: 100%;
  background: linear-gradient(160deg, #ffffff 0%, #f1f7f4 100%);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.dimension-card h3 {
  color: #174339;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.section-dataset video {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section-citation pre {
  background: #111b16;
  color: #d5efe2;
  border-radius: 1rem;
  padding: 1.25rem;
  overflow-x: auto;
}

.paper-figure {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #ffffff;
}

.figure-caption {
  margin-top: 0.65rem;
  font-size: 0.95rem;
}

.paper-figure-block + .paper-figure-block {
  margin-top: 1.15rem;
}

.suite-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.suite-cluster + .suite-cluster {
  margin-top: 1.1rem;
}

.suite-group-title {
  display: inline-block;
  font-weight: 700;
  color: #0f4f42;
  background: #e3f1eb;
  border: 1px solid #c8ddd2;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.suite-card {
  background: linear-gradient(165deg, #ffffff 0%, #f4faf7 100%);
  border: 1px solid #cfe0d7;
  border-radius: 0.95rem;
  padding: 0.9rem 0.95rem;
  box-shadow: 0 8px 24px rgba(21, 33, 27, 0.08);
}

.suite-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.28rem;
}

.suite-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: #123f35;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.suite-card h3 {
  color: #18483b;
  margin: 0;
  font-size: 1rem;
}

.suite-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.suite-method {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: #1c5a4a;
  background: #eaf5f0;
  border: 1px solid #d4e6dd;
  border-radius: 0.5rem;
  padding: 0.2rem 0.46rem;
}

.fig-row {
  margin-top: 1.4rem;
}

.takeaway-box {
  border: 1px solid #c9ddd2;
  background: linear-gradient(155deg, #eef7f2 0%, #f8fcfa 100%);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.takeaway-box h3 {
  color: #1a4f42;
  margin-bottom: 0.45rem;
}

.takeaway-list {
  margin: 0;
  padding-left: 1.1rem;
}

.project-footer {
  background: #101a15;
  color: #d7e9df;
  padding: 2rem 1.5rem;
}

@media (max-width: 768px) {
  .hero-project {
    padding-top: 1.8rem;
  }

  .section {
    padding: 2.6rem 1rem;
  }

  .project-subtitle {
    font-size: 1rem;
  }

  .suite-grid {
    grid-template-columns: 1fr;
  }

}
