:root {
  --bg: #f7f3ee;
  --bg-soft: #f3ede4;
  --surface: #fffdfa;
  --surface-soft: #efe5d7;
  --text: #2d2a26;
  --text-muted: #5b554f;
  --accent: #7b4b2a;
  --accent-soft: #a66a3f;
  --accent-green: #3f6b5b;
  --border: #d9cbb8;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --max-width: 1120px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus {
  color: var(--accent-green);
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #ffffff;
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  z-index: 999;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 250, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0;
}

.site-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-menu a {
  color: var(--text);
  font-size: 0.97rem;
}

.hero {
  padding: 4.5rem 0 2.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.lead,
.section-intro {
  color: var(--text-muted);
  max-width: 70ch;
}

.hero-card,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.35rem;
}

.hero-card ul,
.card ul {
  margin: 0;
  padding-left: 1.2rem;
}

section {
  padding: 1.4rem 0 2.5rem;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1.2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.25rem;
}

.finding-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
}

.book-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-green);
  background: #e7f0ec;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.callout {
  margin-top: 1rem;
  padding: 1.1rem 1.2rem;
  background: #f0eadf;
  border-left: 6px solid var(--accent);
  border-radius: 0 14px 14px 0;
}

.references-list {
  padding-left: 1.25rem;
  margin: 0;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.button-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.1rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}

.button-link:hover,
.button-link:focus {
  background: var(--accent-green);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
.hero-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.image-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}
.grid-3 .card img {
  height: 280px;
  width: auto;
  display: block;
  margin: 0 auto 0.75rem;
  border-radius: 12px;
}
