:root {
  --green-900: #14352a;
  --green-800: #1b4332;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-500: #52b788;
  --green-200: #b7e4c7;
  --green-100: #d8f3dc;
  --cream: #f7f3ea;
  --cream-dark: #eee6d6;
  --paper: #fffcf6;
  --ink: #1c1917;
  --ink-soft: #57534e;
  --muted: #78716c;
  --gold: #c4782a;
  --gold-soft: #e8b86d;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 53, 42, 0.08);
  --shadow-sm: 0 8px 24px rgba(20, 53, 42, 0.06);
  --radius: 22px;
  --max: 1180px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(247, 243, 234, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 53, 42, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--green-800);
}

.logo-mark {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--green-800);
  background: var(--green-100);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-800);
  transition: 0.2s ease;
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}

h1,
h2,
h3,
.serif {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.08;
  color: var(--green-900);
  margin-bottom: 18px;
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 36ch;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--green-800);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.hero-card figcaption {
  position: absolute;
  inset: auto 16px 16px 16px;
  background: rgba(255, 252, 246, 0.92);
  backdrop-filter: blur(10px);
  padding: 16px 18px;
  border-radius: 16px;
}

.hero-card small {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--green-900);
}

.section-head p,
.muted {
  color: var(--muted);
}

.link-more {
  font-weight: 700;
  color: var(--green-700);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-media {
  height: 210px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card h3 {
  font-size: 1.28rem;
  line-height: 1.3;
  color: var(--green-900);
}

.card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.meta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.band {
  background: var(--green-800);
  color: var(--cream);
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.band h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.band p {
  opacity: 0.88;
}

.principles {
  display: grid;
  gap: 14px;
}

.principle {
  background: rgba(255, 255, 255, 0.08);
  padding: 16px 18px;
  border-radius: 16px;
}

.principle strong {
  display: block;
  margin-bottom: 4px;
}

.newsletter {
  background: var(--paper);
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.newsletter form {
  display: flex;
  gap: 10px;
}

.newsletter input {
  flex: 1;
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  padding: 13px 16px;
  border-radius: 999px;
  outline: none;
}

.newsletter input:focus {
  border-color: var(--green-600);
}

.form-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--green-700);
  min-height: 1.2em;
}

.page-hero {
  padding: 48px 0 20px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--green-900);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}

.filter-btn {
  border: 1px solid rgba(20, 53, 42, 0.12);
  background: var(--paper);
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--green-800);
  color: white;
  border-color: var(--green-800);
}

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  padding-bottom: 64px;
}

.article-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 24px;
  margin: 18px 0 28px;
}

.article-body {
  font-size: 1.08rem;
  color: #3f3a36;
}

.article-body h2 {
  margin: 32px 0 12px;
  font-size: 1.7rem;
  color: var(--green-900);
}

.article-body p,
.article-body ul {
  margin-bottom: 16px;
}

.article-body ul {
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 8px 0 8px 22px;
  border-left: 3px solid var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  color: var(--green-800);
  line-height: 1.4;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  z-index: 80;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.panel {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  padding: 12px 14px;
  border-radius: 14px;
  outline: none;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  background: var(--green-900);
  color: #e7efe9;
  padding: 48px 0 24px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer a {
  color: #d8f3dc;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  font-size: 0.9rem;
  opacity: 0.75;
}

.card.is-hidden {
  display: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .band,
  .newsletter,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: var(--cream);
    padding: 12px 20px 20px;
    border-bottom: 1px solid rgba(20, 53, 42, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-card,
  .hero-card img {
    min-height: 280px;
  }

  .band,
  .newsletter {
    padding: 28px 22px;
  }

  .article-hero-img {
    height: 240px;
  }
}
