:root {
  --forest: #244b36;
  --forest-deep: #173426;
  --leaf: #6f8f58;
  --sage: #dce5d3;
  --beige: #f3ead8;
  --sand: #dfcda9;
  --cream: #fffaf0;
  --ink: #233027;
  --muted: #667066;
  --white: #fff;
  --shadow: 0 18px 45px rgba(24, 52, 38, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}
a { color: var(--forest); }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: .75rem clamp(1rem, 3vw, 2rem);
  background: rgba(255, 250, 240, .94);
  border-bottom: 1px solid rgba(36, 75, 54, .12);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  width: min(1160px, 100%);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .8rem; color: var(--forest-deep); text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  color: var(--cream); background: var(--forest); border-radius: 50% 50% 46% 54%;
  font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.12);
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font: 700 1.12rem Georgia, serif; }
.brand-copy span { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  padding: .65rem .75rem; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 650;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); background: var(--forest); }
.menu-button { display: none; border: 0; border-radius: 12px; padding: .65rem .8rem; color: white; background: var(--forest); font-weight: 700; }

main { min-height: 65vh; }
.container { width: min(1100px, calc(100% - 2rem)); margin: auto; }
.hero {
  position: relative; overflow: hidden; padding: clamp(4rem, 10vw, 7.5rem) 0;
  color: var(--white); background: linear-gradient(125deg, var(--forest-deep), var(--forest) 62%, #55754a);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(243,234,216,.11); }
.hero::before { width: 420px; height: 420px; right: -100px; top: -220px; }
.hero::after { width: 280px; height: 280px; left: 46%; bottom: -210px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.45fr .8fr; gap: 3rem; align-items: center; }
.eyebrow { margin: 0 0 .7rem; color: var(--sand); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.12; }
h1 { margin: 0; font-size: clamp(2.7rem, 7vw, 5.4rem); letter-spacing: -.04em; }
.hero p { max-width: 690px; margin: 1.3rem 0 1.8rem; color: #f0eee6; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-card { padding: 1.6rem; color: var(--ink); background: var(--beige); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card h2 { margin-top: 0; color: var(--forest-deep); }
.button {
  display: inline-block; padding: .85rem 1.15rem; border: 2px solid var(--forest); border-radius: 999px;
  color: white; background: var(--forest); text-decoration: none; font-weight: 750;
}
.button:hover { color: var(--forest); background: transparent; }
.button.light { border-color: var(--beige); color: var(--forest-deep); background: var(--beige); }
.button.light:hover { color: white; background: transparent; }
.button.placeholder { border-style: dashed; cursor: default; }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.beige { background: var(--beige); }
.section.sage { background: var(--sage); }
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.section-heading h2, .page-hero h1 { margin: .25rem 0 .8rem; color: var(--forest-deep); font-size: clamp(2rem, 5vw, 3.5rem); }
.section-heading p { color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { padding: 1.5rem; background: var(--white); border: 1px solid rgba(36,75,54,.1); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(24,52,38,.08); }
.card h3 { margin-top: .2rem; color: var(--forest); font-size: 1.35rem; }
.stat { display: block; color: var(--forest); font: 700 2.3rem Georgia, serif; }
.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 3.5rem; background: linear-gradient(180deg, var(--beige), var(--cream)); }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.1rem; }
.content-grid { display: grid; grid-template-columns: 1.7fr .8fr; gap: 2rem; align-items: start; }
.prose h2 { margin-top: 2rem; color: var(--forest-deep); }
.callout { padding: 1.4rem; background: var(--sage); border-left: 5px solid var(--leaf); border-radius: 0 var(--radius) var(--radius) 0; }

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.person { padding: 1.15rem; background: var(--white); border-radius: 16px; border: 1px solid rgba(36,75,54,.12); }
.person strong, .person span { display: block; }
.person span { color: var(--muted); font-size: .92rem; }

.document-list { display: grid; gap: .9rem; }
.document-link {
  display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: center;
  padding: 1.15rem; color: var(--ink); background: var(--white); border: 1px solid rgba(36,75,54,.12);
  border-radius: 18px; text-decoration: none; box-shadow: 0 7px 20px rgba(24,52,38,.06);
}
.document-link:hover { transform: translateY(-2px); border-color: var(--leaf); box-shadow: var(--shadow); }
.document-icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 14px; color: white; background: var(--forest); font-weight: 800; }
.document-link strong, .document-link small { display: block; }
.document-link small { margin-top: .15rem; color: var(--muted); }
.document-link .arrow { color: var(--leaf); font-size: 1.4rem; }

.contact-list { padding: 0; list-style: none; }
.contact-list li { margin: .75rem 0; }
.site-footer { padding: 2.5rem 1rem; color: #e6e8e3; background: var(--forest-deep); }
.footer-grid { width: min(1100px, 100%); margin: auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer h2, .site-footer h3 { color: var(--beige); }
.site-footer a { color: var(--sand); }
.copyright { width: min(1100px, 100%); margin: 2rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }

@media (max-width: 860px) {
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; left: 1rem; right: 1rem; top: 72px; padding: .8rem; flex-direction: column; align-items: stretch; background: var(--cream); border-radius: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .hero-grid, .content-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand-copy span { display: none; }
  .people { grid-template-columns: 1fr; }
  .document-link { grid-template-columns: 2.6rem 1fr; }
  .document-icon { width: 2.6rem; height: 2.6rem; }
  .document-link .arrow { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .document-link { transition: .2s ease; }
}


/* Improve text contrast inside the homeowner resources card. */
.hero-card .eyebrow,
.hero-card > p {
  color: var(--forest);
}
