:root {
  --bg: #f6f1e7;
  --bg-deep: #efe4cf;
  --surface: rgba(255, 251, 245, 0.88);
  --surface-strong: rgba(255, 248, 238, 0.98);
  --line: rgba(26, 42, 44, 0.12);
  --ink: #1a2a2c;
  --muted: #526366;
  --accent: #c8642e;
  --accent-strong: #8f3e19;
  --forest: #315c57;
  --shadow: 0 22px 60px rgba(54, 38, 18, 0.12);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(200, 100, 46, 0.16), transparent 22%),
    radial-gradient(circle at 90% 8%, rgba(49, 92, 87, 0.14), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(204, 171, 110, 0.15), transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, #f9f5ee 44%, var(--bg-deep) 100%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 254, 250, 0.96), rgba(245, 229, 201, 0.78));
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.94;
}

.lede {
  margin: 18px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(26, 42, 44, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.quick-links a:hover,
.quick-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(200, 100, 46, 0.25);
  background: rgba(255, 248, 238, 0.95);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(26, 42, 44, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  border-color: rgba(200, 100, 46, 0.24);
  background: linear-gradient(180deg, #d87438, #bb5728);
  color: #fff9f3;
}

.hero-panel {
  display: grid;
  gap: 14px;
  align-content: stretch;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 140px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(200, 100, 46, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(245, 232, 210, 0.84));
}

.stat-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.stat-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

.section {
  margin-top: 34px;
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.grid-featured {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover,
.card:focus-visible {
  border-color: rgba(200, 100, 46, 0.28);
  background: var(--surface-strong);
}

.card-featured {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.card-art {
  width: 100%;
  height: 156px;
  object-fit: cover;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.92), rgba(239, 228, 207, 0.84));
}

.card-featured .card-art {
  height: 100%;
  min-height: 180px;
}

.card-body {
  display: flex;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(26, 42, 44, 0.08);
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3 {
  margin: 12px 0 8px;
  font-size: 1.35rem;
  line-height: 1.06;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.96rem;
}

.link-label {
  margin-top: 14px;
  color: var(--accent-strong);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

  .card-featured {
    grid-template-columns: 1fr;
  }

  .card-featured .card-art {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
    padding: 14px 0 32px;
  }

  .hero {
    padding: 22px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .card,
  .stat-card,
  .hero {
    border-radius: var(--radius-md);
  }
}
