/* Minimal, understated styling customisations for the Quarto site. */

:root {
  --accent: #1f4b7a;
  --text-main: #1d1d1d;
  --text-muted: #5a5a5a;
  --surface-soft: #f7f9fb;
  --border-soft: #dbe2ea;
}

body {
  color: var(--text-main);
  font-size: 1.02rem;
  line-height: 1.65;
}

.navbar {
  border-bottom: 1px solid var(--border-soft);
}

.navbar-brand,
.nav-link {
  font-weight: 500;
}

h1, h2, h3 {
  letter-spacing: 0.01em;
  margin-top: 1.1rem;
}

h1 {
  font-size: 2.05rem;
  margin-bottom: 0.6rem;
}

h2 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-top: 1.8rem;
}

p,
li {
  max-width: 72ch;
}

a {
  text-underline-offset: 0.15em;
}

.profile-card {
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0.9rem;
}

.profile-placeholder {
  border: 1px dashed #9aaec1;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.profile-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

#quarto-footer {
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 0.93rem;
}

@media (max-width: 767px) {
  h1 {
    font-size: 1.75rem;
  }
}
