/* Project page styles — adapted from the Nerfies / academic-project-page template,
   with a bioacoustics accent palette (deep teal + spectrogram amber). */

:root {
  --ink: #1a1f24;
  --muted: #5b6770;
  --teal: #0f7b8a;
  --teal-dark: #0a5963;
  --amber: #e8973a;
  --amber-soft: #f6c177;
  --line: #e4e8ea;
  --bg-soft: #f6f9fa;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

.serif { font-family: 'Noto Serif', Georgia, serif; }

/* ---------- Hero ---------- */
.hero-banner {
  background:
    radial-gradient(1200px 380px at 20% -10%, rgba(15,123,138,0.14), transparent 60%),
    radial-gradient(900px 360px at 90% 0%, rgba(232,151,58,0.12), transparent 55%),
    #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 3.2rem 1rem 2.6rem;
}

.publication-title {
  font-family: 'Noto Serif', Georgia, serif;
  font-weight: 700;
  font-size: 2.35rem;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.venue-badge {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.32rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  box-shadow: 0 6px 18px rgba(15,123,138,0.28);
}

.authors { font-size: 1.18rem; margin: 1.1rem 0 0.2rem; }
.authors a { color: var(--teal-dark); font-weight: 600; }
.authors a:hover { color: var(--amber); }
.author-block { white-space: nowrap; margin: 0 0.15rem; }
.affiliations { color: var(--muted); font-size: 1.0rem; margin-top: 0.35rem; }
.sup { color: var(--teal); font-weight: 700; }

.link-buttons { margin-top: 1.6rem; }
.link-buttons .button {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  margin: 0.25rem;
  transition: transform .12s ease, background .12s ease;
}
.link-buttons .button:hover { background: var(--teal-dark); color:#fff; transform: translateY(-2px); }
.link-buttons .button .icon { margin-right: .4rem; }

/* ---------- Sections ---------- */
.section { padding: 2.6rem 1rem; }
.section.alt { background: var(--bg-soft); }
.section-title {
  font-family: 'Noto Serif', Georgia, serif;
  font-weight: 700;
  font-size: 1.85rem;
  text-align: center;
  margin-bottom: 0.4rem;
}
.section-kicker {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.content-narrow { max-width: 820px; margin: 0 auto; }

.tldr {
  border-left: 4px solid var(--amber);
  background: #fffaf2;
  padding: 1.1rem 1.4rem;
  border-radius: 0 10px 10px 0;
  font-size: 1.08rem;
}

/* ---------- Findings ---------- */
.finding-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem;
  height: 100%;
  box-shadow: 0 4px 18px rgba(20,30,40,0.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.finding-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(20,30,40,0.10); }
.finding-card .tag-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700; margin-bottom: .7rem;
}
.finding-card h4 { font-weight: 700; font-size: 1.12rem; margin-bottom: .4rem; }
.stat { color: var(--amber); font-weight: 700; }

/* ---------- Figures ---------- */
.figure-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.1rem; box-shadow: 0 4px 18px rgba(20,30,40,0.05);
}
.figure-card img { display:block; margin: 0 auto; max-width: 100%; height: auto; }
.figure-caption { color: var(--muted); font-size: 0.94rem; margin-top: 0.8rem; }
.figure-caption b { color: var(--ink); }

/* ---------- Interactive widgets ---------- */
.widget {
  background:#fff; border:1px solid var(--line); border-radius:14px;
  padding:1.3rem 1.4rem; box-shadow:0 4px 18px rgba(20,30,40,0.05);
}
.widget h4 { font-weight:700; margin-bottom:.2rem; }
.widget .sub { color:var(--muted); font-size:.92rem; margin-bottom:1rem; }
.widget svg { display:block; width:100%; height:auto; }
.controls { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; margin-top:1rem; }
.seg-btn {
  border:1px solid var(--teal); color:var(--teal-dark); background:#fff;
  border-radius:999px; padding:.35rem 1rem; font-weight:600; cursor:pointer; font-size:.92rem;
  transition: all .12s ease;
}
.seg-btn.active { background:var(--teal); color:#fff; }
.seg-btn.danger.active { background:#c0392b; border-color:#c0392b; }
input[type=range]{ width:100%; accent-color: var(--teal); }
.readout { font-variant-numeric: tabular-nums; font-weight:700; color:var(--teal-dark); }

.eq {
  text-align:center; font-size:1.18rem; margin:1.2rem 0; color:var(--ink);
  font-family:'Noto Serif', Georgia, serif;
}

/* ---------- Video ---------- */
.video-wrap { background:#fff; border:1px solid var(--line); border-radius:14px; padding:1rem; }
.video-wrap video { width:100%; border-radius:10px; display:block; }

/* ---------- BibTeX ---------- */
pre.bibtex {
  background:#0f1417; color:#e6edf0; border-radius:12px; padding:1.2rem 1.4rem;
  overflow-x:auto; font-size:0.86rem; line-height:1.5;
}

/* ---------- Footer ---------- */
.footer { background:#fff; border-top:1px solid var(--line); padding:2.2rem 1rem; color:var(--muted); }
.footer a { color: var(--teal-dark); }

@media (max-width: 768px) {
  .publication-title { font-size: 1.7rem; }
  .section-title { font-size: 1.45rem; }
}
