:root {
  color-scheme: light;
  --green-950: #062f22;
  --green-900: #083c2c;
  --green-800: #0e4a36;
  --green-700: #176044;
  --green-100: #e8f0ea;
  --text: #10291d;
  --muted: #5e7168;
  --line: #dfe7e1;
  --paper: #ffffff;
  --soft: #f4f7f2;
  --amber: #c87505;
  --amber-dark: #a45d00;
  --shadow: 0 22px 55px rgba(8, 60, 44, 0.14);
  --sidebar-width: 280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--soft);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input,
select,
textarea {
  font: inherit;
}

.menu-toggle {
  display: none;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--sidebar-width);
  padding: 28px 18px;
  color: #fff;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.11), transparent 34%),
    linear-gradient(180deg, #063f2d 0%, #05281f 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.brand {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 25px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.35;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  min-height: 58px;
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.side-nav a:hover,
.side-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
}

.side-nav a:hover {
  transform: translateX(2px);
}

.nav-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.nav-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.side-nav span:last-child {
  display: grid;
  gap: 3px;
  font-weight: 700;
  font-size: 14px;
}

.side-nav small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 500;
}

.side-cta {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.side-cta span {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.side-cta small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.scrim {
  display: none;
}

.page-shell {
  margin-left: var(--sidebar-width);
  background: var(--soft);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 48px;
}

.hero {
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 52px;
  align-items: center;
  background: linear-gradient(90deg, #fff 0%, #fff 55%, #f2f5f0 100%);
}

.section-label {
  margin: 0 0 12px;
  color: var(--amber-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--green-950);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
  color: var(--green-950);
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy > p:not(.section-label),
.section-copy > p,
.section-heading > p,
.contact-copy > p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(180deg, #d78916, var(--amber));
  box-shadow: 0 14px 28px rgba(200, 117, 5, 0.23);
}

.button.primary:hover {
  background: linear-gradient(180deg, #dc9228, var(--amber-dark));
}

.button.ghost {
  color: var(--green-800);
  background: #fff;
  border-color: var(--line);
}

.hero-points {
  display: grid;
  gap: 9px;
  color: var(--green-800);
  font-weight: 750;
}

.hero-points span {
  position: relative;
  padding-left: 24px;
}

.hero-points span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.hero-media,
.image-frame,
.wide-product-image {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #e9ede8;
}

.hero-media {
  aspect-ratio: 4 / 3;
}

.route-hero {
  min-height: 56svh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 46px;
  align-items: center;
  background: #fff;
}

.route-hero-compact {
  min-height: auto;
  display: block;
  padding-bottom: 30px;
}

.route-hero h1,
.section-copy h1,
.section-heading h1,
.contact-copy h1 {
  max-width: 780px;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.02;
}

.route-hero p {
  max-width: 690px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.68;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.page-card-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.page-card-grid h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.12;
}

.page-card-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.page-card-grid a {
  color: var(--amber-dark);
  font-weight: 850;
}

.split,
.formulation {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 46px;
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
}

.detail-section,
.standalone-process {
  border-top: 1px solid var(--line);
}

.formulation {
  grid-template-columns: minmax(420px, 1.05fr) minmax(0, 0.95fr);
}

.image-frame {
  aspect-ratio: 16 / 10;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-list article,
.process-steps article,
.product-grid article,
.quality-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-list article {
  padding: 18px;
}

.feature-list strong,
.quality-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-950);
}

.feature-list span,
.quality-grid span,
.process-steps p,
.product-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.process,
.products {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-steps article {
  padding: 24px;
}

.process-steps span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--amber);
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--green-800);
  font-weight: 700;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}

.wide-product-image {
  aspect-ratio: 16 / 7;
  margin-bottom: 18px;
}

.product-grid,
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-grid article,
.quality-grid article {
  padding: 20px;
}

.quality {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 47, 34, 0.98), rgba(12, 86, 61, 0.94)),
    #063f2d;
}

.quality .section-label,
.quality h1,
.quality h2,
.quality .section-heading p {
  color: #fff;
}

.quality .section-heading p {
  opacity: 0.78;
}

.quality-grid article {
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1.22fr);
  gap: 46px;
  align-items: start;
  background: #fff;
  border-top: 1px solid var(--line);
}

.contact-card {
  display: grid;
  gap: 8px;
  max-width: 380px;
  margin-top: 30px;
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--green-900);
}

.contact-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 700;
}

.contact-card strong {
  margin-bottom: 10px;
  font-size: 19px;
}

.contact-note {
  display: grid;
  gap: 10px;
  max-width: 440px;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.contact-note strong {
  color: var(--green-950);
  font-size: 18px;
}

.contact-note span {
  color: var(--muted);
  line-height: 1.55;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label,
.field-group {
  display: grid;
  gap: 8px;
  color: var(--green-900);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.custom-select-trigger {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfdad2;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  background: #fbfcfa;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.custom-select {
  position: relative;
}

.field-label {
  display: block;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.select-chevron {
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--green-950);
  border-bottom: 2px solid var(--green-950);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.custom-select.is-open .select-chevron {
  transform: rotate(225deg) translate(-2px, -1px);
}

.custom-select-menu {
  position: absolute;
  inset: calc(100% + 8px) 0 auto 0;
  z-index: 12;
  display: none;
  overflow: hidden;
  border: 1px solid #b8c8be;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(8, 60, 44, 0.16);
}

.custom-select.is-open .custom-select-menu {
  display: grid;
}

.custom-select-menu button {
  min-height: 44px;
  border: 0;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
  text-align: left;
  font-weight: 750;
  cursor: pointer;
}

.custom-select-menu button:hover,
.custom-select-menu button[aria-selected="true"] {
  color: var(--green-950);
  background: var(--green-100);
}

.contact-form textarea {
  min-height: 134px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.custom-select-trigger:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(23, 96, 68, 0.12);
}

.full {
  grid-column: 1 / -1;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 24px;
  margin: -2px 0 0;
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 750;
}

.form-status.is-success {
  color: var(--green-700);
}

.form-status.is-error {
  color: #a83225;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 38px 48px 44px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
  background: var(--green-950);
}

.site-footer strong {
  font-size: 26px;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

@media (max-width: 1120px) {
  :root {
    --sidebar-width: 250px;
  }

  .section {
    padding-inline: 34px;
  }

  .hero,
  .route-hero,
  .split,
  .formulation,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 60px;
  }

  .hero-media,
  .image-frame {
    max-height: 560px;
  }

  .process-steps,
  .page-card-grid,
  .product-grid,
  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    background: #fff;
  }

  .menu-toggle {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 50;
    display: grid;
    gap: 5px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 1px solid rgba(8, 60, 44, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(8, 60, 44, 0.12);
  }

  .menu-toggle span {
    width: 21px;
    height: 2px;
    background: var(--green-950);
    transition:
      transform 160ms ease,
      opacity 160ms ease;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .sidebar {
    width: min(84vw, 330px);
    transform: translateX(-102%);
    transition: transform 200ms ease;
  }

  .menu-open .sidebar {
    transform: translateX(0);
  }

  .scrim {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: block;
    pointer-events: none;
    background: rgba(4, 25, 18, 0);
    transition: background 200ms ease;
  }

  .menu-open .scrim {
    pointer-events: auto;
    background: rgba(4, 25, 18, 0.45);
  }

  .page-shell {
    margin-left: 0;
  }

  .section {
    padding: 58px 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
    background: #fff;
  }

  .route-hero {
    min-height: auto;
    padding-top: 86px;
  }

  h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 34px;
  }

  .route-hero h1,
  .section-copy h1,
  .section-heading h1,
  .contact-copy h1 {
    font-size: 38px;
  }

  .hero-copy > p:not(.section-label),
  .section-copy > p,
  .section-heading > p,
  .contact-copy > p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-media,
  .image-frame,
  .wide-product-image {
    aspect-ratio: 4 / 3;
  }

  .process-steps,
  .page-card-grid,
  .product-grid,
  .quality-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-section {
    gap: 26px;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    padding: 32px 20px;
    flex-direction: column;
  }
}

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