:root {
  --green: #155c34;
  --green2: #247042;
  --cream: #f4efdf;
  --paper: #fffdf5;
  --sage: #c9d8b7;
  --ink: #15351f;
  --muted: #68735d;
  --line: rgba(21, 92, 52, .16);
  --shadow: 0 24px 64px rgba(18, 48, 27, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page {
  overflow: hidden;
  background: radial-gradient(circle at 12% 0, rgba(255,255,255,.85), transparent 30rem),
    linear-gradient(180deg, #f8f4e7 0%, var(--cream) 50%, #fff9ec 100%);
}

.site-header {
  position: fixed;
  z-index: 50;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: min(1660px, calc(100vw - 64px));
  min-height: 108px;
  padding: 18px 30px 18px 22px;
  border-radius: 38px;
  background: var(--green);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 340px 1fr 370px 64px;
  gap: 22px;
  align-items: center;
  color: #fffdf6;
}

.brand { display: flex; align-items: center; gap: 16px; }
.brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 26px;
  background: #fff9ec;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-mark img { width: 72px; height: 72px; object-fit: contain; }
.brand strong { display: block; font-size: 31px; line-height: .88; text-transform: uppercase; }
.brand span span {
  display: block;
  margin-top: 7px;
  color: rgba(255,253,246,.72);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nav-area { display: grid; gap: 14px; justify-items: center; min-width: 0; }
.main-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 850;
}
.main-nav a,
.catalog-trigger {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255,253,246,.88);
  white-space: nowrap;
}
.catalog-trigger {
  appearance: none;
  border: 0;
  background: rgba(255,253,246,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .11em;
  cursor: pointer;
  gap: 8px;
}
.catalog-trigger span { transition: transform .2s ease; }
.catalog-trigger.is-open span { transform: rotate(180deg); }

.utility-nav {
  display: flex;
  gap: 22px;
  color: rgba(255,253,246,.68);
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 850;
}

.right-stack { display: grid; gap: 10px; justify-items: end; }
.region-mini { display: flex; gap: 8px; }
.region-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,253,246,.11);
  color: rgba(255,253,246,.84);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  border: 1px solid rgba(255,255,255,.28);
  cursor: pointer;
}
.region-toggle.is-active { background: #fff9ec; color: var(--green); border-color: #fff9ec; }
.phones { display: grid; gap: 6px; color: rgba(255,253,246,.78); font-size: 16px; font-weight: 850; letter-spacing: .04em; }
.tg {
  width: 56px;
  height: 56px;
  border: 3px solid #fffdf6;
  border-radius: 50%;
  background: #139bd8;
  display: grid;
  place-items: center;
  color: white;
  font-size: 29px;
  font-weight: 950;
}

.catalog-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 14px);
  display: none;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255,253,246,.96);
  border: 1px solid rgba(21,92,52,.18);
  box-shadow: 0 34px 90px rgba(16,45,26,.26);
  color: var(--ink);
  backdrop-filter: blur(18px);
}
.catalog-mega.is-open { display: block; }
.catalog-mega:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 390px;
  background: linear-gradient(180deg, #fffdf6, #eef5e6);
  border-right: 1px solid rgba(21,92,52,.12);
}
.mega-head {
  position: relative;
  z-index: 1;
  min-height: 74px;
  display: grid;
  grid-template-columns: 360px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid rgba(21,92,52,.12);
  background: linear-gradient(90deg, var(--green), var(--green2));
  color: white;
}
.mega-title { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.mega-close {
  appearance: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.48);
  background: rgba(255,255,255,.14);
  color: white;
  font-size: 24px;
  cursor: pointer;
}
.mega-search {
  justify-self: start;
  width: min(520px, 100%);
  height: 38px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.58);
  background: transparent;
  color: white;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
}
.mega-search::placeholder { color: rgba(255,255,255,.76); }
.mega-body { position: relative; z-index: 1; display: grid; grid-template-columns: 390px 1fr; min-height: 520px; }
.mega-categories { padding: 18px 0; }
.mega-category {
  width: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  text-align: left;
  border: 0;
  background: transparent;
  color: #653529;
  font: inherit;
  font-size: 17px;
  font-weight: 850;
  cursor: pointer;
}
.mega-category span { color: rgba(21,92,52,.65); font-size: 24px; }
.mega-category.is-active,
.mega-category:hover,
.mega-category:focus { background: rgba(21,92,52,.08); color: var(--green); outline: none; }
.mega-panels { padding: 28px 34px 34px; }
.mega-panel { display: none; }
.mega-panel.is-active { display: block; }
.mega-panel h3 { margin: 0 0 18px; color: var(--green); font-size: 28px; line-height: 1.05; text-transform: uppercase; letter-spacing: .06em; }
.mega-links { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 10px 34px; align-items: start; }
.mega-links a { display: flex; align-items: flex-start; min-height: 34px; color: #596054; font-size: 17px; line-height: 1.25; font-weight: 750; }
.mega-links a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.mega-note { margin-top: 26px; padding: 20px; border-radius: 8px; background: #eef5e6; border: 1px solid rgba(21,92,52,.12); color: var(--muted); font-size: 16px; line-height: 1.45; }

.hero {
  position: relative;
  min-height: 560px;
  padding: 190px 76px 58px;
  display: grid;
  align-items: end;
  color: white;
}
.home-hero {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(7,29,14,.03) 0%, rgba(7,29,14,.13) 43%, rgba(7,29,14,.62) 100%),
    linear-gradient(120deg, rgba(24,77,38,.25) 0%, rgba(24,77,38,.04) 42%, rgba(24,77,38,.28) 100%),
    url('../img/hero-team-landscape-garden.jpeg') center bottom / cover no-repeat;
}
.hero-inner,
.section,
.footer-inner { position: relative; z-index: 1; width: min(1520px, calc(100vw - 76px)); margin: 0 auto; }
.hero h1 {
  max-width: 1360px;
  margin: 26px 0 22px;
  font-size: clamp(64px, 6.2vw, 112px);
  line-height: .98;
  letter-spacing: 0;
  text-shadow: 0 8px 32px rgba(0,0,0,.22);
}
.lead { max-width: 560px; margin: 0; color: rgba(255,255,255,.92); font-size: 24px; line-height: 1.35; }
.hero-grid { display: grid; grid-template-columns: minmax(340px, 760px) 1fr; gap: 40px; align-items: end; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.home-line { height: 1px; background: rgba(255,255,255,.72); flex: 1; min-width: 220px; position: relative; align-self: center; }
.home-line:after { content: "→"; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); font-size: 34px; color: white; }
.btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.62);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .14em;
  white-space: nowrap;
  cursor: pointer;
}
.btn.primary,
.btn.dark { background: var(--green); border-color: var(--green); color: white; }
.home-hero .btn { min-width: 330px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; max-width: 1180px; }
.metric { display: flex; align-items: center; gap: 18px; text-transform: uppercase; font-weight: 950; }
.metric b { font-size: clamp(44px, 4.7vw, 80px); line-height: .8; }
.metric span { max-width: 190px; font-size: 22px; line-height: .95; }

.section { padding: 72px 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; margin-bottom: 30px; }
h2 { margin: 0; color: var(--green); font-size: clamp(38px, 3.8vw, 64px); line-height: .98; text-transform: uppercase; letter-spacing: .06em; }
.sub { margin: 12px 0 0; max-width: 760px; color: var(--muted); font-size: 20px; line-height: 1.42; }
.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.layout-2 { grid-template-columns: minmax(0, 1fr) 420px; }
.card { border-radius: 8px; background: rgba(255,253,246,.75); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(20,90,50,.07); padding: 24px; }
.card.dark { background: var(--green); color: white; }
.card.sage { background: var(--sage); }
.card h3 { margin: 0 0 12px; color: var(--green); font-size: 26px; line-height: 1.08; text-transform: uppercase; letter-spacing: .06em; }
.card.dark h3 { color: white; }
.card p { color: var(--muted); font-size: 18px; line-height: 1.5; }
.card.dark p { color: rgba(255,255,255,.82); }
.ico { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 20px; background: var(--green); color: white; font-size: 24px; font-weight: 950; }
.service-top { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: center; }
.service-card { min-height: 220px; display: grid; grid-template-rows: auto 1fr auto; }
.service-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 850; }
.dark .service-foot { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.18); }
.founder-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0 70px;
  background:
    radial-gradient(circle at 25% 62%, rgba(201,216,183,.34) 0 13rem, transparent 13.2rem),
    radial-gradient(circle at 6% 82%, transparent 0 3.6rem, rgba(21,92,52,.055) 3.7rem 3.78rem, transparent 3.9rem),
    radial-gradient(circle at 74% 73%, transparent 0 9rem, rgba(21,92,52,.045) 9.1rem 9.18rem, transparent 9.3rem),
    linear-gradient(145deg, transparent 0 58%, rgba(201,216,183,.36) 58.2% 100%),
    #fbf6df;
}
.founder-section:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background: url('../img/decor-topographic-lines.png') center / cover no-repeat;
  pointer-events: none;
}
.founder-layout {
  position: relative;
  z-index: 1;
  width: min(1520px, calc(100vw - 76px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(520px, .94fr) minmax(520px, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.founder-name {
  margin: 0 0 46px;
  color: var(--green);
  font-size: clamp(76px, 7vw, 128px);
  line-height: .82;
  text-transform: none;
  letter-spacing: 0;
}
.founder-photo-xl {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1;
  margin-left: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(201,216,183,.24);
  box-shadow: 0 0 0 50px rgba(201,216,183,.20), 0 0 0 92px rgba(201,216,183,.10);
}
.founder-photo-xl img {
  width: 86%;
  height: 86%;
  object-fit: cover;
  border-radius: 50%;
}
.founder-copy h3 {
  max-width: 760px;
  margin: 0 0 62px;
  color: var(--green);
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.02;
  letter-spacing: .03em;
}
.founder-points {
  display: grid;
  gap: 42px;
  max-width: 760px;
}
.founder-point {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 30px;
  align-items: start;
}
.founder-dot {
  width: 10px;
  height: 10px;
  margin-top: 12px;
  border-radius: 50%;
  background: var(--green);
}
.founder-point h4 {
  margin: 0 0 18px;
  color: var(--green);
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 650;
}
.founder-point p {
  margin: 0;
  color: var(--green);
  font-size: clamp(20px, 1.55vw, 28px);
  line-height: 1.28;
}
.founder-cta {
  margin-top: 70px;
  width: min(720px, 100%);
  min-height: 108px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 24px 32px;
  border-radius: 28px;
  background: rgba(201,216,183,.86);
}
.founder-cta .btn {
  min-height: 58px;
  padding: 0 24px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 18px;
}
.founder-cta p {
  margin: 0;
  color: var(--green);
  font-size: clamp(20px, 1.65vw, 28px);
  line-height: 1.12;
}
.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.engineering-section { padding-top: 46px; }
.engineering-card {
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(0, 1fr);
  gap: 44px;
  align-items: stretch;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255,253,246,.78);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(20,90,50,.10);
}
.engineering-media {
  min-height: 430px;
  border-radius: 8px;
  overflow: hidden;
}
.engineering-media img,
.photo-card img,
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.engineering-copy {
  padding: 34px 22px;
  display: grid;
  align-content: center;
}
.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.feature-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef5e6;
  color: var(--green);
  font-weight: 850;
}
.btn.compact {
  min-height: 48px;
  padding: 0 20px;
  font-size: 13px;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, 1fr);
  grid-auto-rows: 250px;
  gap: 18px;
}
.photo-card,
.video-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 8px;
  background: var(--green);
  border: 1px solid rgba(21,92,52,.16);
  box-shadow: 0 14px 36px rgba(20,90,50,.10);
}
.photo-card-large { grid-row: span 2; }
.photo-card:after,
.video-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8,32,16,.74) 100%);
}
.photo-card span,
.video-card span {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: white;
  font-size: 19px;
  line-height: 1.12;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.video-card { aspect-ratio: 16 / 9; min-height: 0; }
.photo-library { padding-top: 40px; }
.library-group { margin-top: 42px; }
.library-group h3 {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.library-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,253,246,.78);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(20,90,50,.08);
}
.library-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.video-library img { aspect-ratio: 16 / 9; }
.library-grid figcaption {
  padding: 14px 16px 16px;
  color: var(--green);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}
.quote { padding: 24px; border-left: 6px solid var(--green); background: rgba(201,216,183,.42); font-weight: 850; color: var(--green); }
.form { border-radius: 8px; background: var(--sage); padding: 28px; }
.form h3 { margin: 0 0 16px; color: var(--green); font-size: 34px; line-height: 1; }
.input { width: 100%; height: 50px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); margin-bottom: 12px; padding: 0 18px; color: var(--ink); display: flex; align-items: center; font: inherit; }
.form-message { color: var(--green); font-weight: 800; }
.footer { padding: 54px 0; background: var(--green); color: #fffdf6; }
.footer-inner { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
.footer a,
.footer p { color: rgba(255,253,246,.78); }
.footer h3 { margin: 0 0 14px; font-size: 22px; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 1180px) {
  .site-header {
    position: absolute;
    width: calc(100vw - 32px);
    grid-template-columns: 1fr auto;
    min-height: auto;
    border-radius: 26px;
  }
  .nav-area,
  .right-stack,
  .catalog-mega { display: none !important; }
  .hero { padding: 170px 24px 48px; min-height: 720px; }
  .hero-inner,
  .section,
  .footer-inner { width: calc(100vw - 32px); }
  .hero-grid,
  .section-head,
  .layout-2,
  .engineering-card,
  .footer-inner,
  .founder-layout,
  .metrics,
  .cols-2,
  .cols-3,
  .photo-grid,
  .video-grid,
  .library-grid { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .brand strong { font-size: 24px; }
  .brand-mark { width: 58px; height: 58px; border-radius: 20px; }
  .brand-mark img { width: 58px; height: 58px; }
  .founder-section { padding: 56px 0; }
  .founder-layout { width: calc(100vw - 32px); gap: 42px; }
  .founder-name { margin-bottom: 34px; font-size: clamp(52px, 17vw, 82px); }
  .founder-photo-xl { width: min(420px, calc(100vw - 78px)); margin: 0 auto; box-shadow: 0 0 0 28px rgba(201,216,183,.20), 0 0 0 52px rgba(201,216,183,.10); }
  .founder-copy h3 { margin-bottom: 36px; font-size: 30px; }
  .founder-point { grid-template-columns: 20px 1fr; gap: 18px; }
  .founder-point h4 { font-size: 21px; }
  .founder-point p { font-size: 18px; }
  .founder-cta { grid-template-columns: 1fr; margin-top: 42px; padding: 22px; }
  .engineering-card { padding: 14px; gap: 10px; }
  .engineering-media { min-height: 280px; }
  .engineering-copy { padding: 22px 8px 12px; }
  .photo-grid { grid-auto-rows: auto; }
  .photo-card,
  .photo-card-large,
  .video-card { min-height: 240px; grid-row: auto; }
  .video-card { aspect-ratio: auto; }
  .hero h1 { font-size: 54px; }
}
