:root {
  --ink: #18212b;
  --muted: #64707c;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --accent: #315f72;
  --line: #e4e4df;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-size: 1.03rem;
}

.navbar {
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: rgba(251,250,247,.96) !important;
}

.navbar-brand { font-weight: 700; letter-spacing: -.02em; }

.hero-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5.2rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1.35fr .75fr;
  gap: 4.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(3.1rem, 7vw, 6.2rem);
  line-height: .95;
  letter-spacing: -.055em;
  margin: .35rem 0 1rem;
}

.hero-copy h2 {
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.eyebrow {
  font-size: .78rem;
  letter-spacing: .18em;
  font-weight: 800;
  color: var(--accent);
}

.hero-links { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.7rem; }

.hero-image img {
  width: 100%;
  max-width: 390px;
  display: block;
  margin: 0 auto;
  border-radius: 30px;
  box-shadow: 0 18px 60px rgba(30,40,50,.12);
}

.image-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: .7rem; }

.stripe {
  padding: 4.2rem max(2rem, calc((100vw - 1180px)/2));
  background: #f0f2ef;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stripe > h2, .home-section > h2 { font-size: 2.25rem; letter-spacing: -.035em; margin-bottom: 1.6rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.site-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
  min-height: 100%;
}

.site-card img { width: 100%; height: 175px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }
.site-card h3 { font-size: 1.28rem; margin-top: .1rem; }
.site-card p, .site-card li { color: #4e5963; }
.text-card { padding: 1.6rem; }

.home-section { max-width: 900px; margin: 0 auto; padding: 4.5rem 2rem 5rem; }

.paper {
  padding: 1.4rem 0 1.7rem;
  border-bottom: 1px solid var(--line);
}
.paper h3 { font-size: 1.35rem; margin-bottom: .35rem; }

.quarto-title-banner { background: transparent; }

@media (max-width: 850px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3.5rem; }
  .hero-image { max-width: 310px; }
  .card-grid { grid-template-columns: 1fr; }
}
