@font-face {
  font-family: Rubik;
  src: url("./rubik-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Rubik;
  src: url("./rubik-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f8f0;
  --white: #fffef7;
  --moss: #435d36;
  --ink: #19251c;
  --muted: #4a584c;
  --line: #d7dccd;
  --forest: #202e24;
  --lime: #e1ef9d;
  --light-muted: #d6e0cf;
  --radius: 16px;
  --page-padding: clamp(22px, 5.5vw, 92px);
  background: var(--paper);
  color: var(--ink);
  font-family: Rubik, system-ui, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; }
h2 { font-size: clamp(2.25rem, 4.4vw, 4.4rem); letter-spacing: -.052em; line-height: 1.04; }
h3 { letter-spacing: -.027em; }
p { line-height: 1.6; }

:focus-visible {
  outline: 2px solid #1a683b;
  outline-offset: 5px;
}

.wrap {
  width: min(1280px, calc(100% - 2 * var(--page-padding)));
  margin-inline: auto;
}

.section {
  padding-block: clamp(66px, 8vw, 118px);
  scroll-margin-top: 14px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 15px;
  transform: translateY(calc(-100% - 20px));
  background: var(--white);
  border-radius: 6px;
}

.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border-bottom: 1px solid #34433515;
}

.header-inner {
  min-height: 77px;
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: clamp(18px, 3.2vw, 44px);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 9px;
}

.brand img { flex: none; object-fit: contain; }
.brand-copy { display: grid; gap: 3px; }
.brand strong { font-size: 1.4rem; line-height: 1; letter-spacing: -.05em; }
.brand strong span { color: #3e682f; }
.brand small { color: var(--muted); font-size: .66rem; letter-spacing: .015em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.45vw, 40px);
  color: #344237;
  font-size: .9rem;
}

.main-nav a { padding-block: 9px; white-space: nowrap; }
.main-nav a:hover { color: #265b2d; text-decoration: underline; text-underline-offset: .33em; }
.mobile-contact { display: none; }
.menu-toggle { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  white-space: nowrap;
}

.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.25;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.button-header {
  min-height: 42px;
  border-color: #bdc8b7;
  padding-inline: 14px;
  font-size: .84rem;
}

.button-header:hover { background: #e9eed9; border-color: #aab9a2; }

.arrow {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  flex: none;
  vertical-align: middle;
}

.arrow::before, .arrow::after {
  content: "";
  position: absolute;
}

.arrow::before {
  bottom: 1px;
  left: 1px;
  width: 13.5px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: left center;
}

.arrow::after {
  top: 0;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
}

.arrow-down-right { transform: rotate(90deg); }
.arrow-up { transform: rotate(-45deg); }

.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #f0ffc0; }
.button-glass { background: #17251cb3; border-color: #f2f4e48a; color: #fffef7; }
.button-glass:hover { background: #314837; border-color: #ffffffb3; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #455c3a;
  font-size: clamp(.69rem, 1.1vw, .77rem);
  font-weight: 700;
  letter-spacing: .105em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  flex: none;
  background: #86a45c;
}

.eyebrow-light { color: #f0f4e7; }
.eyebrow-light::before { background: var(--lime); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(555px, 47vw, 710px);
  display: grid;
  background: #26372a;
  color: #fffef8;
}

.hero-photo, .hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.hero-photo { z-index: -2; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

.hero::before {
  content: "";
  background:
    linear-gradient(90deg, #112019f5 0%, #16251dd9 21%, #1c291c70 59%, #31402b00 88%),
    linear-gradient(0deg, #121e1ac7 0%, #1a261c0a 64%);
}

.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  padding-top: 38px;
  padding-bottom: 66px;
}

.hero-copy { width: min(850px, 100%); }
.hero .eyebrow { margin-bottom: 20px; }

.hero h1 {
  font-size: clamp(3.4rem, 6.3vw, 6.25rem);
  line-height: .99;
  letter-spacing: -.058em;
}

.hero h1 span { color: var(--lime); }
.hero-description {
  max-width: 570px;
  text-wrap: pretty;
  margin-top: 25px;
  color: #f0f4e7;
  font-size: clamp(1.03rem, 1.62vw, 1.22rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }

.play-triangle {
  width: 0;
  height: 0;
  flex: none;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.hero-depth {
  position: absolute;
  right: 0;
  bottom: 35px;
  display: grid;
  grid-template-columns: 15px auto 13px;
  align-items: center;
  gap: 12px;
  padding: 14px 15px 13px 13px;
  border: 1px solid #f5fade5e;
  border-radius: 10px;
  background: #283729cf;
  color: #f7f9ed;
  transition: background-color .18s ease, border-color .18s ease;
}

.hero-depth:hover { background: #263b2c; border-color: #f5fadea5; }
.depth-scale {
  display: block;
  width: 14px;
  height: 40px;
  border-block: 1px solid #d9e68a;
  border-inline-start: 1px solid #d9e68a;
  background: repeating-linear-gradient(to bottom, transparent 0 8px, #d9e68a 8px 9px, transparent 9px 10px) left / 7px 100% no-repeat;
}

.depth-copy { display: grid; gap: 3px; }
.depth-label { font-size: .68rem; }
.depth-copy strong { color: var(--lime); white-space: nowrap; font-size: 1.6rem; letter-spacing: -.04em; line-height: 1; }
.depth-copy small { font-size: .79rem; letter-spacing: 0; }
.depth-arrow { align-self: end; color: var(--lime); }

.hero :focus-visible, .agent :focus-visible, .contact :focus-visible {
  outline-color: var(--lime);
}

.section-intro {
  display: grid;
  grid-template-columns: 1.5fr .78fr;
  align-items: end;
  gap: clamp(26px, 5vw, 80px);
  margin-bottom: 42px;
}

.section-intro > p {
  padding-bottom: 4px;
  color: var(--muted);
  font-size: clamp(.98rem, 1.23vw, 1.14rem);
}

.method-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  gap: clamp(28px, 5.3vw, 84px);
}

.soil-figure {
  position: relative;
  min-height: 435px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #614d3a;
}

.soil-figure img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.soil-figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 11px 15px;
  background: #1a261de8;
  color: var(--white);
  border-top-right-radius: 9px;
  font-size: .74rem;
}

.method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  align-self: center;
}

.method-steps li {
  display: grid;
  grid-template-columns: 39px 1fr;
  gap: 13px;
  align-items: start;
  min-height: 100px;
  padding-block: 19px;
  border-top: 1px solid var(--line);
}

.method-steps li:last-child { border-bottom: 1px solid var(--line); }
.step-number {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  margin-top: 1px;
  border: 1px solid #c7d2be;
  border-radius: 50%;
  background: #edf1e3;
  color: var(--moss);
  font-size: .76rem;
  font-weight: 700;
}

.method-steps h3 { margin-bottom: 5px; font-size: clamp(1.03rem, 1.85vw, 1.38rem); line-height: 1.22; }
.method-steps p { color: var(--muted); font-size: clamp(.9rem, 1.2vw, 1.03rem); }

.agent {
  overflow: hidden;
  background: radial-gradient(ellipse at 84% 24%, #364c39 0%, transparent 58%), var(--forest);
  color: var(--white);
}

.agent-grid {
  display: grid;
  grid-template-columns: .87fr 1fr;
  align-items: center;
  gap: clamp(32px, 6.45vw, 98px);
}

.agent h2 { font-size: clamp(2.1rem, 3.85vw, 3.8rem); }
.agent h2 span, .contact h2 span { color: var(--lime); }

.agent-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 440px;
  color: var(--light-muted);
  font-size: clamp(1rem, 1.46vw, 1.125rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 27px;
  padding-block: 5px;
  color: var(--lime);
  border-bottom: 1px solid #e1ef9d85;
  font-size: .94rem;
  font-weight: 700;
}

.text-link:hover { border-color: currentColor; }

.product-window {
  min-width: 0;
  padding: 8px;
  border: 1px solid #a9c0a260;
  border-radius: var(--radius);
  background: #ecf1e2;
  color: var(--ink);
  box-shadow: 0 25px 57px #0d1b1490;
}

.product-tabs {
  display: flex;
  gap: 7px;
  padding: 4px 3px 9px;
}

.product-tabs button {
  min-height: 39px;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #405242;
  font-size: .86rem;
  cursor: pointer;
}

.product-tabs button:hover { background: #dde7d5; color: var(--ink); }
.product-tabs button[aria-selected="true"] {
  border-color: #334f3b;
  background: #334f3b;
  color: #fffef7;
  font-weight: 700;
}

.product-tabs button:focus-visible, .product-panel:focus-visible {
  outline-color: #2e6937;
  outline-offset: 0;
}

.product-panel {
  overflow: hidden;
  border-radius: 10px;
  background: #fffef9;
}

.product-panel + .product-panel { margin-top: 8px; }
.product-panel[hidden] + .product-panel { margin-top: 0; }

.product-panel img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.89;
  object-fit: contain;
  background: #e3e9dc;
}

.product-caption { min-height: 102px; padding: 14px 16px 13px; }
.product-caption h3 { margin-bottom: 4px; font-size: 1.03rem; letter-spacing: -.01em; }
.product-caption p { color: var(--muted); font-size: .86rem; line-height: 1.5; }

.videos { background: #eef0e5; }
.video-card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  margin-top: 35px;
  overflow: hidden;
  border: 1px solid #d6ddcf;
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.video-card:hover { border-color: #98aa8e; box-shadow: 0 8px 26px #2c44221e; }

.video-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 2.18;
  isolation: isolate;
  background: #36543b;
  color: var(--white);
}

.video-cover img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.video-cover::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #152d21a6, #152d2126 57%, #152d2114);
}

.video-play {
  display: grid;
  width: 61px;
  height: 61px;
  place-items: center;
  border: 1px solid #f4f9e9bd;
  border-radius: 50%;
  background: #20372bdb;
  color: var(--white);
  transition: color .18s ease, background-color .18s ease;
}

.video-play .play-triangle {
  margin-left: 4px;
  border-top-width: 9px;
  border-bottom-width: 9px;
  border-left-width: 14px;
}

.video-card:hover .video-play { background: var(--lime); color: var(--ink); }

.video-duration {
  position: absolute;
  right: 13px;
  bottom: 13px;
  padding: 5px 8px;
  border-radius: 5px;
  background: #18281eea;
  font-size: .77rem;
  line-height: 1.2;
}

.video-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 23px;
}

.video-copy h3 { font-size: clamp(1.17rem, 2.1vw, 1.63rem); line-height: 1.18; }
.video-copy p { margin-top: 8px; max-width: 430px; color: var(--muted); font-size: .91rem; }
.video-arrow {
  display: grid;
  flex: none;
  width: 39px;
  height: 39px;
  place-items: center;
  align-self: center;
  border: 1px solid #ccd8c3;
  border-radius: 50%;
  color: #315333;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.04fr .9fr;
  align-items: center;
  gap: clamp(36px, 7vw, 112px);
}

.about-description { max-width: 490px; margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.credentials {
  display: grid;
  grid-template-columns: .88fr 1fr;
  gap: 18px;
  margin-top: 27px;
}

.credentials > div { border-top: 1px solid #cdd5c3; padding-top: 14px; }
.credentials strong { display: block; color: #365831; font-size: clamp(1.13rem, 2.1vw, 1.65rem); letter-spacing: -.035em; }
.credentials p { margin-top: 4px; color: var(--muted); font-size: .83rem; }

.team-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding-bottom: 19px;
}

.team-photos img { width: 100%; height: auto; border-radius: 11px; }
.team-photos img:nth-child(2) { transform: translateY(19px); }

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #253b2c;
  color: var(--white);
}

.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(110deg, #202f25 18%, #223729eb 54%, #202f24c4 100%),
    url("./field-sunrise.webp") center 55% / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  gap: clamp(24px, 8vw, 115px);
}

.contact h2 { font-size: clamp(2.6rem, 5.85vw, 5.5rem); }
.contact h2 span { display: block; }
.contact-panel {
  min-width: 0;
  padding: clamp(19px, 3.1vw, 36px);
  border: 1px solid #c1d5b35e;
  border-radius: var(--radius);
  background: #203428e0;
}

.contact-email {
  width: 100%;
  justify-content: space-between;
  text-align: left;
  overflow-wrap: anywhere;
}
.contact-email .arrow { flex: none; }

.site-footer { background: var(--paper); }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 11px;
  min-height: 80px;
}

.footer-inner p, .back-to-top { font-size: .82rem; color: var(--muted); }
.back-to-top { justify-self: end; display: flex; align-items: center; gap: 6px; }
.back-to-top:hover { text-decoration: underline; text-underline-offset: .25em; }

@media (max-width: 1050px) {
  .hero h1 { font-size: clamp(3.35rem, 7.25vw, 5.2rem); }
  .section-intro { grid-template-columns: 1.36fr .8fr; }
  .wide-break { display: none; }
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 10px;
    min-height: 66px;
  }
  .header-inner > .brand { min-height: 66px; width: fit-content; }
  .header-actions { display: none; }
  .mobile-contact { display: flex; align-items: center; gap: 7px; }
  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid #bdc8b7;
    border-radius: 8px;
    background: transparent;
    font-size: .87rem;
    font-weight: 700;
    cursor: pointer;
  }
  .site-header.has-menu-toggle .menu-toggle { display: inline-flex; }
  .menu-icon, .menu-icon::before, .menu-icon::after {
    display: block;
    width: 15px;
    height: 1.5px;
    background: var(--ink);
    transition: transform .18s ease;
  }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; }
  .menu-icon::before { top: -5px; }
  .menu-icon::after { top: 5px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-5px) rotate(-45deg); }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 1px 11px;
  }
  .main-nav a { min-height: 43px; padding: 12px 2px; border-top: 1px solid var(--line); }
  .site-header.has-menu-toggle .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding-inline: var(--page-padding);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 22px #17261a22;
  }
  .site-header.has-menu-toggle .menu-toggle[aria-expanded="false"] + .main-nav { display: none; }
}

@media (max-width: 850px) {
  .hero { min-height: 590px; }
  .hero-inner { padding-bottom: 120px; }
  .hero-depth { bottom: 25px; }
  .section-intro { grid-template-columns: 1fr; gap: 15px; margin-bottom: 27px; }
  .section-intro > p { max-width: 550px; }
  .method-grid { gap: 26px; }
  .soil-figure { min-height: 400px; }
  .method-steps li { min-height: 0; padding-block: 13px; }
  .agent-grid { gap: 25px; }
  .about-grid { gap: 25px; }
  .contact-grid { grid-template-columns: 1fr .9fr; gap: 24px; }
}

@media (max-width: 680px) {
  .hero { min-height: 625px; }
  .hero-photo img { object-position: center 57%; }
  .hero::before {
    background:
      linear-gradient(90deg, #15231ce0 0%, #19291fa6 56%, #253c2b44 100%),
      linear-gradient(0deg, #18261ac4 0%, #18251a10 86%);
  }
  .hero-inner { padding-top: 39px; padding-bottom: 126px; }
  .hero h1 { font-size: clamp(2.56rem, 9vw, 3.9rem); line-height: 1.02; }
  .hero .eyebrow { max-width: 295px; margin-bottom: 16px; }
  .hero-description { margin-top: 19px; max-width: 440px; }
  .hero-actions { margin-top: 22px; }
  .hero-depth { right: auto; left: 0; min-width: 183px; }
  .section { padding-block: 59px; }
  .eyebrow { margin-bottom: 12px; }
  .method-grid, .agent-grid, .about-grid, .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .soil-figure { min-height: 0; aspect-ratio: 1.18; }
  .method-steps li { padding-block: 15px; }
  .agent-grid { gap: 26px; }
  .agent-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { margin-top: 15px; }
  .text-link { margin-top: 14px; }
  .video-card { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .video-copy { padding: 17px 16px 19px; }
  .video-arrow { width: 34px; height: 34px; }
  .video-play { width: 52px; height: 52px; }
  .team-photos { max-width: 450px; }
  .about-description { font-size: 1rem; }
  .contact-grid { gap: 24px; }
  .footer-inner { min-height: 74px; }
  .footer-inner .brand { gap: 4px; }
  .footer-inner .brand img { width: 29px; height: 29px; }
  .footer-inner .brand strong { font-size: 1.04rem; }
}

@media (max-width: 390px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .button { min-height: 47px; }
  .hero-depth { bottom: 20px; }
}

@media (max-width: 440px) {
  .footer-inner { grid-template-columns: 1fr auto; padding-block: 12px; }
  .footer-inner p { grid-row: 2; grid-column: 1 / -1; }
  .back-to-top { grid-column: 2; grid-row: 1; }
  .header-inner { column-gap: 8px; }
  .header-inner > .brand { gap: 6px; }
  .header-inner > .brand img { width: 34px; height: 34px; }
  .header-inner .brand strong { font-size: 1.2rem; }
  .header-inner .brand small { font-size: .59rem; }
  .menu-toggle { width: 42px; justify-content: center; }
  .menu-label { display: none; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: clamp(1.75rem, 10.6vw, 2.12rem); }
  .hero-actions .button { padding-inline: 14px; font-size: .88rem; }
  .contact-email { padding-inline: 12px; font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
