/* ---------- Base / Typography ---------- */
:root {
  --bg:        #f5f1eb;
  --bg-section:#faf7f3;
  --bg-card:   #ffffff;
  --accent:    #990000;
  --text:      #1a1a1a;
  --text-muted:#4a4a4a;
  --text-light:#6b6b6b;
  --border:    #e0d9cf;
  --shadow:    0 4px 24px rgba(30, 20, 10, 0.08);
  --radius:    14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', 'Noto Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}

/* ---------- Hero ---------- */
.hero { background: var(--bg); }
.hero.is-light { background: var(--bg); }

.publication-title {
  font-family: 'Castoro', 'Georgia', serif;
  color: var(--text);
  letter-spacing: -0.01em;
}

.publication-authors {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
}
.publication-authors a { color: #0071bc; }
.publication-authors a:hover { color: var(--accent); text-decoration: none; }
.author-block { display: inline-block; }

/* ---------- Buttons ---------- */
.button.is-dark {
  background: #2b2b2b;
  border-color: transparent;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.18s, transform 0.12s;
}
.button.is-dark:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* ---------- Teaser section ---------- */
.hero.teaser {
  background: var(--bg);
  padding-bottom: 2.5rem;
}
.hero.teaser .subtitle {
  font-family: 'IBM Plex Sans', 'Noto Sans', system-ui, sans-serif;
  color: var(--text-muted);
  font-size: 1.0rem;
  line-height: 1.8;
}

/* ---------- Content sections ---------- */
.section {
  background: var(--bg-section);
  padding: 3rem 1.5rem;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
}

/* ---------- Section titles ---------- */
.title.is-3 {
  font-family: 'Castoro', 'Georgia', serif;
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem !important;
}
/* Sub-section headers (e.g. "DACO-400K Dataset Samples") */
.title.is-4 {
  font-family: 'Castoro', 'Georgia', serif;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-top: 0.25rem !important;
  margin-bottom: 0.65rem !important;
}

/* ---------- Figure wrapper ---------- */
.figure-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}
.figure-wrap img { border-radius: var(--radius-sm); width: 100%; }


/* ---------- Abstract / text content ---------- */
.content.has-text-justified p {
  font-family: 'IBM Plex Sans', 'Noto Sans', system-ui, sans-serif;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.85;
}

.figure-caption {
  font-family: 'IBM Plex Sans', 'Noto Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.85rem;
  line-height: 1.65;
}

/* ---------- BibTeX block ---------- */
pre {
  background: #1e1e1e !important;
  color: #d4d4d4 !important;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  font-size: 0.82rem;
  overflow-x: auto;
  border: none;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
}
pre code { background: transparent; color: inherit; padding: 0; }

/* ---------- Footer ---------- */
footer.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}
footer .content p { color: var(--text-muted); font-size: 0.88rem; }
footer a { color: #0071bc; }
footer a:hover { color: var(--accent); }

/* ---------- Interpolation panel (framework) ---------- */
.interpolation-panel {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow);
}

/* ---------- Dividers ---------- */
.section-spacer { margin: 2.5rem 0; }
