* {
  box-sizing: border-box;
}

:root {
  --bg: #fbf8f4;
  --bg-soft: #ffffff;
  --bg-card: #ffffff;
  --text: #2f2a24;
  --text-muted: #5f5448;
  --border: #eadfd2;
  --brand: #c16a2f;
  --brand-strong: #d0834d;
  --award: #b95d25;
  --shadow: 0 10px 30px rgba(75, 45, 24, 0.08);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: #9d5426;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.hero {
  padding: 42px 0 28px;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 3rem);
  max-width: 970px;
  line-height: 1.2;
  margin-inline: auto;
  background: linear-gradient(90deg, #b85a28 0%, #cf7a3f 52%, #e29a64 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 8px auto 0;
  max-width: 880px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.25;
  color: #744a30;
}

.hero-authors {
  margin: 18px auto 10px;
  color: var(--text-muted);
  max-width: 860px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 1.05rem;
}

.hero-authors a {
  color: #6d5948;
  font-weight: 500;
}

.hero-authors sup {
  margin-left: 1px;
  font-size: 0.72em;
  vertical-align: super;
}

.hero-authors a:hover {
  color: #8f4b25;
}

.hero-authors span {
  color: #b9a795;
}

.hero-affiliations {
  margin: 2px auto 12px;
  max-width: 860px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  color: #786250;
  font-size: 1rem;
}

.hero-affiliations sup {
  font-size: 0.82em;
  margin-right: 1px;
  color: #2f2a24;
}

.hero-award {
  margin: 0 auto 20px;
  color: #9b4d1d;
  font-weight: 700;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cf8d57;
  background: linear-gradient(90deg, #bc6a33 0%, #d58a52 100%);
  color: white;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  min-width: 130px;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.btn-muted {
  border: 1px solid #cf8d57;
  background: linear-gradient(90deg, #bc6a33 0%, #d58a52 100%);
  color: white;
}

.section {
  padding: 30px 0;
}

.section-alt {
  background: #f8efe6;
  border-top: 1px solid #eadfd2;
  border-bottom: 1px solid #eadfd2;
}

.section-title {
  margin: 0 0 10px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.hero-media {
  padding-top: 8px;
}

.hero-video-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(214, 137, 82, 0.16), transparent 34%),
    linear-gradient(135deg, #fff7ef 0%, #fff1e4 100%);
  box-shadow: 0 24px 60px rgba(87, 49, 21, 0.12);
  padding: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.hero-video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(193, 106, 47, 0.18);
  background: #000;
}

.hero-video-shell video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-image-grid {
  margin-top: 24px;
}

.hero-image-grid .image-card {
  border-radius: 16px;
}

.tldr {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  margin: 0 0 18px;
  text-align: center;
}

.abstract-card {
  border: 1px solid #eadfd2;
  border-radius: 18px;
  background: linear-gradient(90deg, #fff6ef 0%, #fff2e8 100%);
  padding: 20px;
}

.section-subtitle {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.abstract-text {
  margin: 0;
  max-width: 980px;
  color: var(--text-muted);
}

.citation-section {
  padding-top: 24px;
  padding-bottom: 8px;
}

.citation-title {
  margin-bottom: 6px;
  background: linear-gradient(90deg, #b85a28 0%, #cf7a3f 52%, #e29a64 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

.citation-subtitle {
  margin-bottom: 14px;
  color: #5f5448;
  text-align: center;
}

.citation-card {
  border: 1px solid #eadfd2;
  border-radius: 18px;
  background: linear-gradient(90deg, #fff6ef 0%, #fdf0e8 100%);
  padding: 20px;
  overflow-x: auto;
  max-width: 980px;
  margin: 0 auto;
}

.citation-pre {
  margin: 0;
}

.citation-pre code {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.98rem;
  line-height: 1.35;
  color: #1f2937;
  white-space: pre;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card,
.image-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.video-card {
  padding: 12px;
}

.video-card h3 {
  margin: 2px 2px 10px;
  font-size: 0.95rem;
}

.video-card video {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #000;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.image-card {
  margin: 0;
  overflow: hidden;
}

.image-card img,
.image-card video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-footer {
  border-top: 1px solid #eadfd2;
  margin-top: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.84rem;
  padding: 24px 10px 30px;
}

@media (max-width: 900px) {
  .image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-video-card {
    padding: 14px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(1120px, calc(100% - 30px));
  }

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