/* Ibis-inspired, not copied: clean technical publishing style */

:root {
  --ink: #202124;
  --muted: #5f6368;
  --line: #e9ecef;
  --soft: #f7f8fa;
  --accent: #315f72;
  --warm: #c66a3d;
  --cool: #3e7fa3;
  --green: #4f7f63;
  --purple: #701e5e; 
}

body {
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}

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

.navbar-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1, h2, h3 {
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1.title {
  font-size: 1.9rem;
  font-weight: 500;
  max-width: 900px;
  margin-top: 0.4rem;
  margin-bottom: 0.25rem;
}

.subtitle, .description {
  color: var(--muted);
  font-size: 1.15rem;
}

main.content {
  max-width: 920px;
}

/* Hero section */

.hero {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(198,106,61,0.12), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(62,127,163,0.12), transparent 34%),
    #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  margin-bottom: 0.5rem;
}

.big-question {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin: 0;
}

.hero-copy {
  color: var(--muted);
  font-size: 1.0rem;
  margin-top: 1.1rem;
}

.hero-image {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 24px;
}

/* Main content */

.insight {
  margin: 2rem 0;
  padding: 1.3rem 1.4rem;
  border-left: 6px solid var(--accent);
  background: var(--soft);
  border-radius: 14px;
  font-size: 1.12rem;
}

.mode-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0 2rem 0;
  overflow: hidden;
  border-radius: 16px;
}

.mode-table th, .mode-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0.9rem;
  vertical-align: top;
}

.mode-table th {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.callout-note, .callout-tip {
  border-radius: 18px;
}

.cell-output-display img {
  border-radius: 20px;
  border: 1px solid var(--line);
  margin: 1rem 0;
}

.quarto-figure img {
  border-radius: 22px;
}

.figure-caption, figcaption {
  color: var(--muted);
  font-size: 0.9rem;
}

code {
  border-radius: 6px;
}

.footer-note {
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 1rem;
}

/* Team section */

.team-section {
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem 0;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 70%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: #f3f4f6;
}

.team-name {
  margin-top: 0.8rem;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.team-info {
  margin-top: 0.0rem;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
}