:root {
  --green-900: #143524;
  --green-800: #1f4a33;
  --green-700: #2f6b45;
  --sage: #8aac72;
  --cream: #f7f2df;
  --sand: #e7d7a2;
  --clay: #a0643b;
  --ink: #18251d;
  --muted: #647263;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 53, 36, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfaf4;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 242, 223, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 53, 36, 0.1);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--green-800);
  font-weight: 650;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--clay); }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-800);
  color: var(--white) !important;
  text-decoration: none;
  padding: 11px 17px;
  border-radius: 999px;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(31, 74, 51, 0.22);
}

.cta:hover { transform: translateY(-1px); background: var(--green-900); }

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px 50px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--clay);
  background: rgba(160, 100, 59, 0.12);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--sand);
  background: rgba(231, 215, 162, 0.15);
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  color: var(--green-900);
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  margin: 18px 0 18px;
  letter-spacing: -0.055em;
}

.hero p {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  color: var(--green-800);
  border: 1px solid rgba(31, 74, 51, 0.22);
  background: rgba(255, 255, 255, 0.55);
}

.hero-card {
  background: var(--white);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 74, 51, 0.1);
}

.hero-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-card-caption {
  padding: 20px 24px 24px;
  color: var(--muted);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 22px;
}

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

.section-title h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0;
}

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

.grid-cities {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border-radius: 24px;
  padding: 26px;
  border: 1px solid rgba(31, 74, 51, 0.1);
  box-shadow: 0 12px 34px rgba(20, 53, 36, 0.08);
}

.card h3 { margin-top: 0; font-size: 1.35rem; }
.card p { color: var(--muted); }
.card a { color: var(--green-800); font-weight: 800; text-decoration: none; }
.card a:hover { text-decoration: underline; }

.card-city h3 { color: var(--clay); }

.feature-band {
  background: var(--green-900);
  color: var(--cream);
  margin-top: 40px;
}

.feature-band .section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: center;
}

.feature-band h2 { color: var(--cream); }
.feature-band p { color: rgba(247, 242, 223, 0.82); }

/* ---- Article page styles ---- */

.article-page {
  max-width: 850px;
  margin: 0 auto;
  padding: 62px 22px;
}

.article-page h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 8px; }
.article-page h2 {
  font-size: 1.7rem;
  margin-top: 42px;
  margin-bottom: 12px;
}
.article-page h3 {
  font-size: 1.25rem;
  margin-top: 28px;
  margin-bottom: 8px;
}
.article-page p, .article-page li {
  font-size: 1.08rem;
  color: #39483d;
}
.article-page p { margin-bottom: 16px; }
.article-page ul, .article-page ol { padding-left: 1.4em; }
.article-page li { margin-bottom: 8px; }

.article-page strong { color: var(--green-900); }

.article-page a {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: none;
}
.article-page a:hover { text-decoration: underline; }

/* Article header image (3:2 images cropped to banner) */
.article-header-img {
  width: 100%;
  height: clamp(180px, 28vw, 340px);
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  margin: 0 0 28px;
  display: block;
  border: 1px solid rgba(31, 74, 51, 0.1);
  box-shadow: 0 12px 34px rgba(20, 53, 36, 0.10);
}

/* Modifier: show full image without cropping (for grid/quadrant images) */
.article-header-img--full {
  height: auto;
  object-fit: contain;
}

.article-lead {
  font-size: 1.2rem !important;
  color: var(--muted) !important;
  margin-bottom: 28px !important;
}

/* Callout box */
.callout {
  background: rgba(138, 172, 114, 0.12);
  border-left: 4px solid var(--sage);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--green-800); }

/* Plant table */
.plant-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}
.plant-table th {
  background: var(--green-800);
  color: var(--cream);
  text-align: left;
  padding: 10px 14px;
  font-family: Georgia, serif;
  font-weight: 600;
}
.plant-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(31, 74, 51, 0.1);
  color: #39483d;
}
.plant-table tr:nth-child(even) td {
  background: rgba(138, 172, 114, 0.06);
}
.plant-table td:first-child { font-weight: 700; color: var(--green-900); }

/* Month cards */
.month-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.month-card {
  background: var(--white);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(31, 74, 51, 0.1);
  box-shadow: 0 8px 24px rgba(20, 53, 36, 0.06);
}
.month-card h3 {
  color: var(--clay);
  margin-top: 0;
  font-size: 1.15rem;
}
.month-card ul { padding-left: 1.2em; margin: 8px 0 0; }
.month-card li { font-size: 0.98rem; margin-bottom: 6px; color: #39483d; }

/* Related links */
.related-links {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(31, 74, 51, 0.12);
}
.related-links h3 {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.related-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.related-links li a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(31, 74, 51, 0.06);
  color: var(--green-800);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.related-links li a:hover { background: rgba(31, 74, 51, 0.12); }

/* Article header eyebrow + meta */
.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* Contact card */
.contact-card {
  background: var(--white);
  border-radius: 28px;
  padding: 40px;
  border: 1px solid rgba(31, 74, 51, 0.1);
  box-shadow: var(--shadow);
}
.contact-card h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 10px 0 16px; }
.contact-card p { color: var(--muted); font-size: 1.08rem; margin-bottom: 20px; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.contact-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(31, 74, 51, 0.08);
  color: #39483d;
  font-size: 1rem;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list strong { color: var(--green-900); }
.contact-list a { color: var(--green-700); font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.site-footer {
  background: var(--green-900);
  color: rgba(247, 242, 223, 0.82);
  padding: 36px 22px;
  margin-top: 50px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--sand);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--white); }

@media (max-width: 860px) {
  .hero,
  .feature-band .section {
    grid-template-columns: 1fr;
  }

  .grid,
  .grid-cities {
    grid-template-columns: 1fr;
  }

  .month-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-card { padding: 28px 22px; }

  .patio-grid,
  .landscaper-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Patio & Pavers section ---- */

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

.patio-card h3 {
  color: var(--clay);
  font-size: 1.2rem;
}

/* ---- Landscaper directory section ---- */

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

/* When the last card is alone in its row (3n+1 position), span full width */
.landscaper-card:last-child:nth-child(3n+1) {
  grid-column: 1 / -1;
}

.landscaper-card h3 {
  color: var(--green-800);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.landscaper-meta {
  font-size: 0.85rem !important;
  color: var(--clay) !important;
  font-weight: 700;
  margin-bottom: 10px !important;
  letter-spacing: 0.02em;
}

.landscaper-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 12px;
}

.landscaper-links a {
  color: var(--green-700);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.landscaper-links a:hover { text-decoration: underline; }

.landscaper-links span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.directory-note {
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(138, 172, 114, 0.08);
  border-radius: 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

.directory-note a {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: none;
}
.directory-note a:hover { text-decoration: underline; }

/* ---- Newsletter signup section ---- */

.newsletter-band {
  background: var(--green-900);
  margin-top: 40px;
}

.newsletter-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 22px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.newsletter-content h2 {
  color: var(--cream);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 10px 0 12px;
}

.newsletter-content p {
  color: rgba(247, 242, 223, 0.78);
  font-size: 1.02rem;
}

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

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 2px solid rgba(247, 242, 223, 0.25);
  background: rgba(247, 242, 223, 0.08);
  color: var(--cream);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.newsletter-form input::placeholder {
  color: rgba(247, 242, 223, 0.45);
}

.newsletter-form input:focus {
  border-color: var(--sand);
  background: rgba(247, 242, 223, 0.12);
}

.newsletter-btn {
  white-space: nowrap;
  background: var(--sage);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.newsletter-btn:hover {
  background: #9bb87e;
}

.newsletter-status {
  grid-column: 2;
  margin: 10px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: rgba(247, 242, 223, 0.6);
}

.newsletter-success {
  color: var(--sage) !important;
  font-weight: 600;
}

.newsletter-error {
  color: #e8a87c !important;
}

/* ---- Guides grid (2x2 for 4 cards) ---- */

.grid-guides {
  grid-template-columns: repeat(2, 1fr);
}

/* ---- Accessibility utility ---- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Responsive: newsletter ---- */

@media (max-width: 860px) {
  .newsletter-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .newsletter-status {
    grid-column: 1;
  }

  .grid-guides {
    grid-template-columns: 1fr;
  }
}