/* ─── Calibrate shared stylesheet ─── */

:root {
  --green: #1F5F3F;
  --green-deep: #143F2A;
  --green-soft: #E8F0EC;
  --green-line: #C9DBD0;
  --ink: #1A1A1A;
  --ink-2: #2B3530;
  --muted: #888888;
  --paper: #F5F1E8;
  --surface: #FFFFFF;
  --line: #E5E7E2;
  --shadow-sm: 0 1px 2px rgba(15, 26, 20, 0.04), 0 1px 3px rgba(15, 26, 20, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 26, 20, 0.06), 0 2px 4px rgba(15, 26, 20, 0.04);
  --shadow-lg: 0 20px 40px rgba(15, 26, 20, 0.08), 0 8px 16px rgba(15, 26, 20, 0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.serif { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.01em; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.container-article { max-width: 720px; margin: 0 auto; padding: 0 24px; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); text-decoration: underline; }

/* ─── Nav ─── */
nav.site-nav {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 18px 0;
  z-index: 100;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { display: inline-block; text-decoration: none; line-height: 0; }
.logo img { display: block; height: 56px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--green); text-decoration: none; }
.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: var(--green-deep); transform: translateY(-1px); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  font-family: inherit;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); color: #fff; }
.btn-secondary { background: transparent; color: var(--green); border: 1px solid var(--green-line); }
.btn-secondary:hover { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.btn-large { padding: 16px 28px; font-size: 15.5px; }
.micro-copy {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* ─── Typography ─── */
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
h1.page-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}
h2.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 740px;
}
h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.lead {
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 700px;
  margin-bottom: 24px;
}

/* ─── Sections ─── */
section { padding: 80px 0; }
section.hero { padding: 72px 0 60px; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ─── Cards / grids ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ─── Prose (for blog / legal) ─── */
.prose { font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.7rem; margin: 48px 0 16px; letter-spacing: -0.015em; }
.prose h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.3rem; margin: 32px 0 12px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 3px solid var(--green);
  padding: 8px 22px;
  margin: 28px 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-2);
}
.prose code {
  background: var(--green-soft);
  color: var(--green-deep);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ─── Footer ─── */
footer.site-footer {
  padding: 56px 0 32px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
footer.site-footer h5 {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 14px;
}
footer.site-footer p { color: rgba(255, 255, 255, 0.65); line-height: 1.6; max-width: 360px; }
footer.site-footer ul { list-style: none; padding: 0; }
footer.site-footer ul li { margin-bottom: 8px; }
footer.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
footer.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.15s;
}
.footer-social a:hover { background: var(--green); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ─── Forms ─── */
.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 500; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); }

/* ─── Mobile ─── */
@media (max-width: 880px) {
  section { padding: 56px 0; }
  .nav-links a:not(.nav-cta) { display: none; }
  .logo img { height: 44px; }
  .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}
