/* ============================================================
   FloraForge project page — styles
   Builds on Bulma; mirrors the Academic Project Page Template
   (Nerfies) look with a light botanical accent.
   ============================================================ */

:root {
  --ink: #25302b;
  --muted: #5b6b62;
  --accent: #2e7d46;          /* botanical green */
  --accent-dark: #1f5a32;
  --tint: #f5f8f5;            /* faint green section tint */
  --tint-line: #e2ece4;
  --btn: #363636;            /* Nerfies-style dark buttons */
}

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

/* ---------- Title / hero ---------- */
.publication-title {
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.publication-venue {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--accent-dark);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.author-block { margin: 0 0.35rem; white-space: nowrap; }
.publication-authors a { color: var(--accent); }
.publication-authors a:hover { color: var(--accent-dark); text-decoration: underline; }
.author-noted { color: var(--ink); }      /* author without a link yet */
.affil-line { color: var(--muted); margin-top: 0.35rem; }
.corresp { color: var(--muted); margin-top: 0.25rem; }

/* ---------- Link buttons ---------- */
.publication-links { margin-top: 1.4rem; }
.publication-links .button {
  background: var(--btn);
  color: #fff;
  border: none;
  border-radius: 999px;
  margin: 0.25rem;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  transition: transform .12s ease, background .12s ease;
}
.publication-links .button:hover { background: #000; transform: translateY(-1px); color: #fff; }
.publication-links .button .icon { color: #fff; }
.publication-links .button.is-soon {
  background: #e9efe9; color: var(--muted); cursor: not-allowed;
}
.publication-links .button.is-soon .icon { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 3rem 1.5rem; }
.section-tint { background: var(--tint); border-top: 1px solid var(--tint-line); border-bottom: 1px solid var(--tint-line); }
.title.is-3 { color: var(--ink); font-weight: 700; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 700; color: var(--accent); margin-bottom: 0.4rem;
}
.content.has-text-justified p { line-height: 1.65; }

/* ---------- Highlights list ---------- */
.highlights { max-width: 880px; margin: 0 auto; }
.highlights .hl {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.7rem 0; border-bottom: 1px solid var(--tint-line);
}
.highlights .hl:last-child { border-bottom: none; }
.highlights .hl .ico { color: var(--accent); flex: 0 0 auto; margin-top: 0.15rem; }

/* ---------- Figure / asset placeholders ---------- */
.asset {
  border: 2px dashed #b9d2bf;
  background: repeating-linear-gradient(45deg, #fbfdfb, #fbfdfb 12px, #f4f8f4 12px, #f4f8f4 24px);
  border-radius: 14px;
  padding: 2.4rem 1.5rem;
  text-align: center;
  color: var(--muted);
}
.asset .ico { font-size: 1.7rem; color: var(--accent); }
.asset .asset-name { font-weight: 700; color: var(--ink); margin-top: 0.4rem; }
.asset .asset-file { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.82rem; color: var(--accent-dark); }
.asset .asset-desc { font-size: 0.92rem; margin-top: 0.3rem; }
.asset.is-wide { min-height: 320px; display: flex; flex-direction: column; justify-content: center; }

figure.fig { margin: 0; }
figure.fig img { border-radius: 12px; box-shadow: 0 6px 22px rgba(0,0,0,0.08); width: 100%; }
figure.fig figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.7rem; text-align: center; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) { .gallery-grid, .gallery-grid.cols-2 { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1rem;
  max-width: 920px; margin: 0 auto;
}
@media (max-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-member { text-align: center; }
.team-member img, .team-member .avatar {
  width: 116px; height: 116px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 0.5rem; display: block; background: #e9efe9;
  border: 3px solid #fff; box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.team-member .avatar { display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.6rem; }
.team-member a { color: var(--ink); font-weight: 600; }
.team-member a:hover { color: var(--accent); }
.team-member .affil { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 400; }

/* ---------- BibTeX ---------- */
.bibtex pre {
  background: #1f2d27; color: #e9f3ec; border-radius: 12px;
  padding: 1.2rem 1.3rem; overflow-x: auto; font-size: 0.86rem;
}

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--tint-line); }
.footer .content { color: var(--muted); font-size: 0.86rem; }
.footer a { color: var(--accent); }
