:root {
  --ink: #56372c;
  --ink-deep: #42291f;
  --muted: #74665e;
  --green: #729d46;
  --green-dark: #4f783a;
  --leaf: #b9c551;
  --tomato: #cc6452;
  --carrot: #d1a154;
  --aubergine: #9f486f;
  --cream: #fefaee;
  --cream-deep: #f4edd9;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: rgba(86, 55, 44, 0.18);
  --line-strong: rgba(86, 55, 44, 0.32);
  --shadow: 0 16px 38px rgba(86, 55, 44, 0.09);
  --radius: 12px;
  --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
p { margin-top: 0; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--cream);
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(254, 250, 238, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}
.brand-wordmark {
  width: 245px;
  height: auto;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.primary-nav a {
  position: relative;
  padding: 8px 0 7px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 750;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--tomato);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--green-dark); }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-deep);
}
.nav-toggle span[aria-hidden="true"] {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
}
.draft-banner {
  color: var(--ink-deep);
  background: #f2d8a9;
  border-bottom: 1px solid rgba(86, 55, 44, 0.12);
  font-size: 0.84rem;
  font-weight: 750;
  text-align: center;
}
.draft-banner .shell { padding-block: 6px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 84px;
  background: var(--cream);
}
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--green-dark) 0 20%,
    var(--leaf) 20% 40%,
    var(--carrot) 40% 60%,
    var(--tomato) 60% 80%,
    var(--aubergine) 80% 100%
  );
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 70px;
}
.hero-copy { position: relative; z-index: 1; }
.hero-visual {
  display: grid;
  place-items: center;
  min-width: 0;
}
.hero-logo {
  width: 100%;
  max-width: 590px;
  height: auto;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  margin: 0 9px 2px 0;
  background: var(--tomato);
  vertical-align: middle;
}
h1, h2, h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}
h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.5vw, 5.35rem);
  letter-spacing: -0.045em;
}
h2 {
  margin-bottom: 17px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.03em;
}
h3 {
  margin-bottom: 10px;
  font-size: 1.46rem;
}
.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  color: var(--white);
  background: var(--green-dark);
}
.button-primary:hover { background: var(--ink); }
.button-secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: transparent;
}
.button-secondary:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}
.button-light {
  color: var(--ink);
  background: var(--cream);
}
.button-light:hover { background: var(--white); }
.button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
}

.section { padding: 82px 0; }
.section-soft { background: var(--cream-deep); }
.section-heading { margin-bottom: 32px; }
.heading-split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.text-link,
.card-link,
.back-to-top {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link:hover,
.card-link:hover,
.back-to-top:hover { color: var(--ink); }
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.news-card {
  display: flex;
  min-height: 100%;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  background: var(--paper);
}
.news-card:nth-child(2) { border-top-color: var(--carrot); }
.news-card:nth-child(3) { border-top-color: var(--tomato); }
.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}
.news-date {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.045em;
}
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.news-card-body > p:not(.news-date) {
  margin-bottom: 22px;
  color: var(--muted);
}
.news-card .card-link { margin-top: auto; }
.intro-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 86px;
}
.rich-copy {
  color: var(--muted);
  font-size: 1.06rem;
}
.rich-copy p { margin-bottom: 1.12em; }
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 44px 48px;
  color: var(--cream);
  border-radius: 10px;
  background: var(--ink);
}
.cta-panel h2 { color: var(--cream); }
.cta-panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: #eadfd4;
}
.cta-panel .eyebrow { color: var(--leaf); }
.cta-panel .eyebrow::before { background: var(--tomato); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 72px;
  background: var(--cream);
}
.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(3rem, 7vw, 4.8rem);
}
.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.17rem;
}
.news-feed { max-width: 900px; }
.news-entry {
  position: relative;
  padding: 0 0 68px;
  margin-bottom: 68px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.news-entry:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}
.news-entry-header {
  padding-left: 20px;
  border-left: 4px solid var(--green);
}
.news-entry:nth-child(3n + 2) .news-entry-header { border-left-color: var(--carrot); }
.news-entry:nth-child(3n) .news-entry-header { border-left-color: var(--tomato); }
.news-entry-header h2 { font-size: clamp(2rem, 5vw, 3.05rem); }
.news-content { max-width: 780px; }
.post-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.post-image-grid.single-image { grid-template-columns: minmax(0, 760px); }
.post-image-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-deep);
}
.post-image-grid a { display: block; }
.post-image-grid img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
}
.post-image-grid figcaption {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.84rem;
}
.back-to-top {
  display: inline-block;
  margin-top: 26px;
  font-size: 0.88rem;
}

.setup-note {
  margin-bottom: 32px;
  padding: 17px 19px;
  border-left: 4px solid var(--carrot);
  color: var(--ink-deep);
  background: #fbf1dc;
}
.setup-note code {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
}
.about-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
  gap: 72px;
}
.lead-paragraph {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.45;
}
.facts-card {
  position: sticky;
  top: 110px;
  padding: 28px;
  border: 1px solid rgba(114, 157, 70, 0.3);
  border-top: 5px solid var(--green);
  border-radius: 10px;
  background: #f3f6e8;
}
.facts-card h2 { font-size: 1.75rem; }
.facts-card dl { margin: 0; }
.facts-card dl div {
  padding: 15px 0;
  border-top: 1px solid rgba(86, 55, 44, 0.13);
}
.facts-card dt {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.facts-card dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 750;
  overflow-wrap: anywhere;
}
.quote-panel { max-width: 930px; text-align: center; }
.quote-panel blockquote {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.22;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 68px;
}
.contact-list { border-top: 1px solid var(--line); }
.contact-card {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-card h3 { margin-bottom: 3px; font-size: 1.25rem; }
.contact-card p { margin-bottom: 8px; color: var(--muted); }
.contact-card a { color: var(--green-dark); font-weight: 850; }
.form-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: 10px;
  background: var(--cream);
}
.form-panel h2 { font-size: 2.3rem; }
.contact-email {
  margin: 1.4rem 0 1.6rem;
  overflow-wrap: anywhere;
}
.contact-email a {
  color: var(--green-dark);
  font-size: 1.15rem;
  font-weight: 800;
  text-underline-offset: 4px;
}
.contact-email a:hover { color: var(--ink); }
.form-note {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer {
  padding: 58px 0 26px;
  color: #eadfd4;
  border-top: 5px solid var(--green);
  background: var(--ink-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 54px;
  padding-bottom: 38px;
}
.footer-grid h2 {
  margin-bottom: 13px;
  color: var(--leaf);
  font: 850 0.75rem/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-grid a:not(.footer-brand) {
  display: block;
  width: fit-content;
  margin-bottom: 6px;
  color: #eadfd4;
}
.footer-brand {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.62rem;
  font-weight: 700;
  text-decoration: none;
}
.footer-grid p {
  margin-top: 11px;
  color: #cbbdb3;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(254, 250, 238, 0.15);
  color: #b9aaa0;
  font-size: 0.8rem;
}

:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a {
    padding: 11px 8px;
    text-align: center;
  }
  .primary-nav a::after { display: none; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 650px; margin-inline: auto; }
  .news-card-grid { grid-template-columns: 1fr 1fr; }
  .news-card:last-child { grid-column: 1 / -1; }
  .intro-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .facts-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-inner { min-height: 68px; }
  .brand-wordmark { width: 188px; }
  .hero { padding: 58px 0 65px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .hero-logo { max-width: 520px; }
  .section { padding: 64px 0; }
  .heading-split,
  .cta-panel,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .news-card-grid { grid-template-columns: 1fr; }
  .news-card:last-child { grid-column: auto; }
  .news-card-body { padding: 24px; }
  .intro-grid { gap: 26px; }
  .cta-panel { padding: 30px 24px; }
  .page-hero { padding: 54px 0 58px; }
  .page-hero h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .news-entry {
    padding-bottom: 54px;
    margin-bottom: 54px;
  }
  .post-image-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 27px 20px; }
  .contact-email a { font-size: 1.05rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
