:root {
  --green: #31553d;
  --green-dark: #203a2a;
  --green-soft: #6f806d;
  --cream: #f6f3ec;
  --paper: #ffffff;
  --ink: #353832;
  --muted: #71756e;
  --wood: #9b6f46;
  --line: #dcdcd3;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: white;
  background: var(--green-dark);
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(49,85,61,.12);
}
.header-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 118px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}
.brand {
  flex: 0 0 auto;
  display: block;
  width: 270px;
  text-decoration: none;
}
.brand img { width: 100%; height: auto; }
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2.4vw, 39px);
  min-width: 0;
}
.primary-nav a {
  position: relative;
  padding: 46px 0 42px;
  color: #42463f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}
.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.section-pad { padding: 88px 24px; }
.narrow-copy { width: min(875px, 100%); margin: 0 auto; text-align: center; }
.wide-wrap { width: min(1240px, 100%); margin: 0 auto; }

h1, h2, h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--green-dark);
}
h1, h2 {
  margin-bottom: 10px;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.015em;
  text-align: center;
}
.leaf-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 144px;
  height: 27px;
  margin: 5px auto 31px;
}
.leaf-rule::before,
.leaf-rule::after {
  width: 47px;
  height: 1px;
  content: "";
  background: #afbaa9;
}
.leaf-rule span {
  position: relative;
  width: 23px;
  height: 23px;
  margin: 0 11px;
  transform: rotate(45deg);
}
.leaf-rule span::before,
.leaf-rule span::after {
  position: absolute;
  width: 11px;
  height: 17px;
  content: "";
  background: var(--green-soft);
  border-radius: 100% 0 100% 0;
}
.leaf-rule span::before { left: 2px; top: 1px; }
.leaf-rule span::after { right: 2px; bottom: 1px; transform: rotate(180deg); }

.owner-note { background: white; }
.owner-note p {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.87;
  color: #555950;
}
.owner-note .signature {
  margin: 31px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  font-style: italic;
  line-height: 1.25;
  color: var(--green-dark);
}
.owner-note .owner-title {
  margin: 3px 0 0;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.planters {
  background: var(--cream);
  border-top: 1px solid rgba(49,85,61,.07);
  border-bottom: 1px solid rgba(49,85,61,.07);
}
.planter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  margin-top: 43px;
}
.planter-card {
  display: block;
  color: inherit;
  text-align: center;
  text-decoration: none;
}
.photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #d8dbd2;
}
.photo-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: inset 0 0 0 7px rgba(255,255,255,.11);
  pointer-events: none;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
}
.planter-card:hover .photo-frame img { transform: scale(1.035); filter: saturate(1.03); }
.planter-card h3 {
  margin: 21px 0 0;
  font-size: 31px;
  line-height: 1.1;
}

.reviews {
  position: relative;
  overflow: hidden;
  min-height: 485px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.reviews::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255,255,255,.94), rgba(255,255,255,.94)),
    url("assets/review-pattern.svg") center/620px auto repeat;
}
.review-shell {
  position: relative;
  z-index: 1;
  width: min(1020px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 62px;
  align-items: center;
}
.review {
  width: min(805px, 100%);
  min-height: 276px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
  transition: opacity .22s ease, transform .22s ease;
}
.review.is-changing { opacity: 0; transform: translateY(5px); }
.quote-mark {
  height: 54px;
  margin: -8px 0 -3px;
  font-family: Georgia, serif;
  font-size: 88px;
  line-height: 1;
  color: #a9b3a5;
}
.review-copy {
  margin: 0 auto 31px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.75;
  color: #4c514a;
}
.reviewer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
}
.review-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
}
.reviewer strong,
.reviewer span { display: block; }
.reviewer strong {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.reviewer span {
  margin-top: 1px;
  color: #83877f;
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
}
.review-arrow {
  width: 46px;
  height: 46px;
  padding: 0 0 5px;
  border: 1px solid #b9c0b6;
  border-radius: 50%;
  color: var(--green);
  background: white;
  font-family: Georgia, serif;
  font-size: 35px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.review-arrow:hover,
.review-arrow:focus-visible { color: white; background: var(--green); border-color: var(--green); }
.review-dots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-top: 28px;
}
.review-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b9beb6;
  cursor: pointer;
}
.review-dots button.active { background: var(--green); transform: scale(1.35); }

.feature-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 265px;
  background: var(--green-dark);
}
.feature-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 265px;
  color: white;
  background-color: var(--green-dark);
  background-position: center;
  background-size: cover;
  text-decoration: none;
}
.feature-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(24,42,31,.58);
  transition: background .35s ease;
}
.feature-card::after {
  position: absolute;
  inset: 17px;
  content: "";
  border: 1px solid rgba(255,255,255,.34);
  transition: inset .35s ease, border-color .35s ease;
}
.feature-card span {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  font-family: var(--serif);
  font-size: clamp(27px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.feature-card:hover::before { background: rgba(24,42,31,.39); }
.feature-card:hover::after { inset: 11px; border-color: rgba(255,255,255,.7); }
.feature-card.projects { background-image: url("assets/projects.svg"); }
.feature-card.table { background-image: url("assets/garden-table.svg"); }
.feature-card.blog { background-image: url("assets/blog.svg"); }
.feature-card.resources { background-image: url("assets/resources.svg"); }

.site-footer {
  padding: 38px 24px 32px;
  color: rgba(255,255,255,.72);
  background: #192d21;
  text-align: center;
}
.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 22px;
}
.socials a {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: white;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  transition: background .2s, border-color .2s;
}
.socials a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.site-footer p {
  margin: 0;
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.site-footer p span { margin-left: 6px; color: rgba(255,255,255,.5); }

@media (max-width: 980px) {
  .header-inner { min-height: 94px; }
  .brand { width: 230px; }
  .menu-toggle {
    display: flex;
    width: 55px;
    height: 54px;
    padding: 8px 7px 5px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    color: var(--green-dark);
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { width: 24px; height: 1px; background: currentColor; }
  .menu-toggle b { margin-top: 3px; font-size: 8px; letter-spacing: .11em; text-transform: uppercase; }
  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    overflow: hidden;
    max-height: 0;
    padding: 0 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    transition: max-height .35s ease, padding .35s ease;
  }
  .primary-nav.open { max-height: 500px; padding-top: 10px; padding-bottom: 18px; }
  .primary-nav a { padding: 14px 7px; border-bottom: 1px solid #eceee9; }
  .primary-nav a::after { display: none; }
  .planter-grid { grid-template-columns: repeat(2, 1fr); gap: 38px 25px; }
  .feature-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .header-inner { width: min(100% - 30px, 1180px); }
  .brand { width: 200px; }
  .section-pad { padding: 67px 20px; }
  h1, h2 { font-size: 43px; }
  .owner-note p { font-size: 16px; line-height: 1.78; text-align: left; }
  .owner-note .signature,
  .owner-note .owner-title { text-align: center; }
  .planter-grid { grid-template-columns: 1fr; width: min(420px, 100%); margin-right: auto; margin-left: auto; }
  .planter-card h3 { font-size: 32px; }
  .reviews { min-height: 530px; }
  .review-shell { grid-template-columns: 1fr; }
  .review { padding: 0 5px; }
  .review-arrow { position: absolute; bottom: -58px; }
  .review-arrow.previous { left: calc(50% - 57px); }
  .review-arrow.next { right: calc(50% - 57px); }
  .review-dots { display: none; }
  .feature-links { grid-template-columns: 1fr; }
  .feature-card, .feature-links { min-height: 220px; }
  .site-footer p span { display: block; margin: 4px 0 0; }
}

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