/* ROOTED WEBSITE
   Change brand colours in the :root section below.
*/
:root {
  --forest: #20382d;
  --forest-dark: #14251d;
  --sage: #8d9d7a;
  --sand: #e7decd;
  --cream: #f7f3eb;
  --clay: #b36f4b;
  --ink: #1f2722;
  --white: #ffffff;
  --line: rgba(32, 56, 45, 0.16);
  --shadow: 0 22px 60px rgba(20, 37, 29, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 76px);
  background: rgba(247, 243, 235, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark { width: 42px; height: 42px; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { color: var(--forest); font-size: 1.18rem; letter-spacing: .14em; }
.brand small { margin-top: 5px; color: #667069; font-size: .68rem; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; font-size: .93rem; font-weight: 650; }
.main-nav a:hover { color: var(--clay); }
.nav-cta { padding: 11px 17px; border-radius: 999px; background: var(--forest); color: white !important; }

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-size: 1.6rem;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding: clamp(64px, 8vw, 120px) clamp(20px, 7vw, 110px);
  background:
    radial-gradient(circle at 85% 15%, rgba(141, 157, 122, .22), transparent 28%),
    linear-gradient(135deg, var(--cream), #efe7d9);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .16em;
}
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 {
  max-width: 790px;
  margin-bottom: 24px;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -.045em;
}
h1 span { color: var(--clay); }
h2 {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -.035em;
}
h3 { color: var(--forest); font-size: 1.2rem; }
.hero-text { max-width: 640px; font-size: clamp(1rem, 1.5vw, 1.18rem); color: #5e675f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.button.primary { background: var(--forest); color: white; }
.button.primary:hover { background: var(--forest-dark); }
.button.secondary { color: var(--forest); background: transparent; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: #5f6b63; font-size: .88rem; }

.hero-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--forest);
  color: white;
  border-radius: 34px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.hero-card-top { display: flex; justify-content: space-between; align-items: center; letter-spacing: .14em; font-weight: 800; }
.pill { padding: 7px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: .63rem; }
.hero-card > p { margin: auto 0 0; font-family: Georgia, serif; font-size: 1.35rem; }
.foundation-graphic { position: relative; flex: 1; min-height: 310px; }
.stem { position: absolute; left: 50%; top: 83px; width: 7px; height: 116px; background: var(--sand); border-radius: 10px; transform: translateX(-50%); }
.leaf { position: absolute; width: 90px; height: 55px; background: var(--sage); border-radius: 100% 0 100% 0; }
.leaf-one { left: calc(50% - 86px); top: 64px; transform: rotate(15deg); }
.leaf-two { left: calc(50% + 2px); top: 32px; transform: rotate(75deg); }
.ground { position: absolute; left: 16%; right: 16%; top: 194px; height: 4px; background: var(--sand); border-radius: 6px; }
.roots { position: absolute; left: 50%; top: 194px; width: 250px; height: 105px; transform: translateX(-50%); }
.roots i { position: absolute; top: 0; left: 50%; width: 4px; height: 100px; background: var(--sand); border-radius: 8px; transform-origin: top; }
.roots i:nth-child(1) { transform: rotate(0deg); height: 96px; }
.roots i:nth-child(2) { transform: rotate(25deg); height: 92px; }
.roots i:nth-child(3) { transform: rotate(-25deg); height: 92px; }
.roots i:nth-child(4) { transform: rotate(47deg); height: 75px; }
.roots i:nth-child(5) { transform: rotate(-47deg); height: 75px; }

.section { padding: clamp(70px, 9vw, 130px) clamp(20px, 7vw, 110px); }
.intro {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  background: white;
}
.intro p:last-child { max-width: 650px; color: #657068; font-size: 1.07rem; }
.section-heading { max-width: 780px; margin-bottom: 40px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 27px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 42px; background: var(--sand); border-radius: 18px; font-size: 1.8rem; }
.product-card p { color: #667069; }
.product-card a { margin-top: auto; color: var(--clay); font-weight: 800; text-decoration: none; }

.kits {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
  background: var(--sand);
}
.kits-copy > p:not(.eyebrow) { color: #5d675f; }
.check-list { list-style: none; padding: 0; margin: 28px 0 34px; }
.check-list li { position: relative; margin: 12px 0; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--clay); font-weight: 900; }
.kit-box {
  position: relative;
  min-height: 430px;
  padding: 54px 42px 34px;
  background: #c89966;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(78, 53, 31, .2);
  transform: rotate(-2deg);
}
.tape { position: absolute; width: 120px; height: 34px; background: rgba(247, 243, 235, .5); }
.tape-one { left: -20px; top: 30px; transform: rotate(-20deg); }
.tape-two { right: -18px; bottom: 36px; transform: rotate(-18deg); }
.kit-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 32px;
  background: var(--cream);
  text-align: center;
}
.kit-label img { width: 58px; }
.kit-label strong { color: var(--forest); letter-spacing: .12em; }
.kit-label small { color: #6d756f; }
.kit-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.kit-items span { padding: 13px; background: rgba(255,255,255,.22); border: 1px dashed rgba(255,255,255,.5); text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 110px); background: var(--forest); color: white; }
.about h2 { color: white; }
.about-panel p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.values-grid div { padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; }
.values-grid strong, .values-grid span { display: block; }
.values-grid strong { margin-bottom: 8px; color: var(--sand); font-size: 1.05rem; }
.values-grid span { color: rgba(255,255,255,.68); font-size: .9rem; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 110px); background: white; }
.contact-copy a { color: var(--clay); font-weight: 800; }
.contact-note { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; padding: 20px; background: var(--cream); border-left: 4px solid var(--clay); border-radius: 0 14px 14px 0; }
.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote-form label { display: flex; flex-direction: column; gap: 7px; color: var(--forest); font-size: .86rem; font-weight: 800; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  outline: none;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(179,111,75,.12); }
.full { grid-column: 1 / -1; }
.form-help { margin: -4px 0 0; color: #79827c; font-size: .76rem; text-align: center; }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
  padding: 34px clamp(20px, 7vw, 110px);
  background: var(--forest-dark);
  color: rgba(255,255,255,.72);
  font-size: .82rem;
}
footer > div { display: flex; flex-direction: column; }
footer a { text-decoration: none; }
.footer-brand strong { color: white; }

@media (max-width: 980px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .hero, .kits, .about, .contact { grid-template-columns: 1fr; }
  .hero-card { max-width: 620px; width: 100%; justify-self: center; }
  .intro { grid-template-columns: 1fr; gap: 12px; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .menu-button { display: block; }
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .nav-cta { text-align: center; }
  .product-grid, .values-grid, .quote-form { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .hero { padding-top: 68px; }
  .hero-card { min-height: 390px; }
  .trust-row { flex-direction: column; gap: 5px; }
}
