*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a18;
  background: #faf8f4;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:root {
  --forest: #1a3a2a;
  --forest-deep: #0f2118;
  --sage: #4a6741;
  --sage-light: #6b8f5e;
  --moss: #8aad7a;
  --cream: #faf8f4;
  --warm-white: #f5f2ec;
  --stone: #e8e3db;
  --charcoal: #2a2a28;
  --text: #1a1a18;
  --text-mid: #5a5a56;
  --text-light: #8a8a84;
  --amber: #c4943a;
  --amber-light: #d4a84e;
  --radius: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --max-w: 1120px;
  --nav-height: 72px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.65rem 1.1rem;
  background: var(--forest);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 1rem; top: 1rem; outline: 2px solid var(--amber-light); outline-offset: 2px; }
section[id], header[id], footer[id] { scroll-margin-top: calc(var(--nav-height) + 16px); }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--forest);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--forest); }
.nav-cta {
  background: var(--forest);
  color: #fff !important;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-phone { font-weight: 600 !important; color: var(--forest) !important; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.page-shell {
  padding-top: calc(var(--nav-height) + 2rem);
  position: relative;
}
.page-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(196,148,58,0.13), transparent 28%),
    radial-gradient(circle at 0% 0%, rgba(74,103,65,0.11), transparent 24%);
  pointer-events: none;
}

.page-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
}
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 100px;
  background: rgba(26,58,42,0.08);
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.page-hero h1,
.article-card h1,
.listing-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}
.page-hero h1 { font-size: clamp(2.35rem, 5vw, 4rem); max-width: 14ch; }
.page-hero .intro,
.listing-hero p {
  max-width: 68ch;
  margin: 1rem 0 0;
  color: var(--text-mid);
  font-size: 1.05rem;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
  color: var(--text-mid);
  font-size: 0.92rem;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,0.06);
}

.article-wrap {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.article-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.article-card .article-cover {
  height: 14px;
  background: linear-gradient(90deg, var(--forest), var(--sage), var(--amber));
}
.article-card .article-body {
  padding: clamp(1.4rem, 3.5vw, 3rem);
}
.article-card h2,
.article-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 2rem 0 0.8rem;
}
.article-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.article-card h3 { font-size: 1.25rem; }
.article-card h2:first-child,
.article-card h3:first-child { margin-top: 0; }
.article-card p { margin: 0 0 1rem; color: var(--text); }
.article-card ul,
.article-card ol { margin: 0 0 1rem 1.2rem; padding: 0; color: var(--text); }
.article-card li { margin: 0.35rem 0; }
.article-card strong { color: var(--forest-deep); }
.article-card a { color: var(--forest); font-weight: 600; text-decoration: none; }
.article-card a:hover { text-decoration: underline; }
.article-card blockquote {
  margin: 1.35rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--amber);
  background: rgba(212,168,78,0.08);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.article-card blockquote p { margin-bottom: 0; }
.article-card hr {
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin: 1.75rem 0;
}

.callout-band {
  margin-top: 1.5rem;
  /* Bottom stops at forest-deep so a flush footer (same token) does not get a second green edge */
  background: linear-gradient(150deg, var(--forest) 0%, #244b36 55%, var(--forest-deep) 100%);
  color: #fff;
  border-radius: 24px;
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow-md);
}
/* CTA above site footer: solid cream in this strip (padding is above page-shell::before) */
.cta-section {
  background: var(--cream);
  padding-bottom: 0;
}
.callout-band h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 0.45rem;
  color: #fff;
}
.callout-band p {
  margin: 0 0 1.1rem;
  max-width: 68ch;
  color: rgba(255,255,255,0.76);
}
.cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.92rem 1.35rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-primary { background: var(--amber); color: var(--forest-deep); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.36); }
.btn-primary:hover { background: var(--amber-light); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); }

.blog-layout { padding: 1rem 0 2rem; }
.listing-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}
.listing-hero h1 { font-size: clamp(2.35rem, 5vw, 4.1rem); max-width: 12ch; }
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.post-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.post-card .tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 100px;
  background: rgba(26,58,42,0.08);
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  margin-bottom: 0.8rem;
}
.post-card h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.18;
  margin: 0 0 0.7rem;
  color: var(--charcoal);
}
.post-card p { color: var(--text-mid); margin: 0 0 1rem; }
.post-card .post-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
}
.post-card .post-link:hover { text-decoration: underline; }

.footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.82);
  /* Separates the green band from <main> so body/cream is visible (not a second green against CTA) */
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 4rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand {
  font-family: 'Fraunces', Georgia, serif;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer p { margin: 0; max-width: 300px; font-size: 0.9rem; line-height: 1.7; }
.footer h4 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 0.4rem; }
.footer a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.9rem; }
.footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 1.4rem;
  gap: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-md);
}

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open .nav-cta { text-align: center; }
  .page-shell { padding-top: calc(var(--nav-height) + 1rem); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer p { max-width: none; }
}
@media (max-width: 640px) {
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; justify-content: center; }
}
