/* =========================================================
   Less Is More — Project Page Styles
   ========================================================= */

/* ---------- Global ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Google Sans", "Noto Sans", "Castoro", serif;
  background: #fff;
  color: #222;
}

/* ---------- Hero / Title ---------- */
.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #444;
  margin-top: 0.5rem;
}

.venue-tag {
  display: inline-block;
  background: #8b1a1a;
  color: #fff;
  font-size: 1.0rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.2em 0.9em;
  border-radius: 4px;
}

/* ---------- Author block ---------- */
.author-list {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.author-list a {
  color: #2a6496;
  text-decoration: none;
}

.author-list a:hover {
  text-decoration: underline;
}

.affiliation-list {
  font-size: 0.92rem;
  color: #555;
}

/* ---------- Link Buttons ---------- */
.publication-links .button {
  margin: 0.3rem 0.25rem;
  font-weight: 600;
}

.publication-links .icon {
  margin-right: 0.3em;
}

/* ---------- Section headers ---------- */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

/* ---------- Teaser ---------- */
.teaser-image {
  width: 100%;
  max-width: 960px;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}

.teaser-caption {
  text-align: center;
  font-size: 0.97rem;
  color: #555;
  margin-top: 0.75rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Abstract ---------- */
.abstract-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
  text-align: justify;
}

/* ---------- Pipeline ---------- */
.pipeline-image {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.pipeline-caption {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.6;
  margin-top: 0.75rem;
  text-align: justify;
}

/* ---------- Training Data Strips ---------- */
.data-strip {
  margin-bottom: 1.5rem;
}

.data-strip-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.strip-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.strip-endlabel {
  font-size: 0.72rem;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
  align-self: center;
  min-width: 2.4rem;
}

.strip-endlabel.right {
  text-align: right;
}

.strip-items {
  display: flex;
  flex: 1;
  gap: 4px;
}

.strip-item {
  flex: 1;
  min-width: 0;
}

.strip-item video,
.strip-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

/* ---------- Gallery Tabs ---------- */
.gallery-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #ddd;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.gallery-tab-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #666;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}

.gallery-tab-btn:hover {
  color: #222;
}

.gallery-tab-btn.is-active {
  color: #111;
  border-bottom-color: #2c2c2c;
}

.gallery-panel {
  display: none;
}

.gallery-panel.is-active {
  display: block;
}

/* ---------- Scene Blocks ---------- */
.scene-block {
  margin-bottom: 2.5rem;
}

.scene-prompt {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
  text-align: center;
  margin-top: 0.5rem;
}

.condition-row {
  display: flex;
  gap: 6px;
}

.condition-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.condition-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #444;
  text-align: center;
  margin-bottom: 4px;
  white-space: nowrap;
}

.condition-item video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- Citation ---------- */
.citation-block {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  line-height: 1.65;
  overflow-x: auto;
  white-space: pre;
  color: #222;
  border-left: 4px solid #2c2c2c;
}

/* ---------- Acknowledgements ---------- */
.ack-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  text-align: center;
}

.ack-text a {
  color: #2a6496;
  text-decoration: none;
}

.ack-text a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
footer.footer {
  padding: 2rem 1.5rem;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.footer-note {
  font-size: 0.82rem;
  color: #aaa;
  text-align: center;
}

/* ---------- Divider ---------- */
.section-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .strip-items {
    gap: 2px;
  }

  .condition-row {
    gap: 3px;
  }

  .condition-label {
    font-size: 0.6rem;
  }

  .gallery-tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
