:root {
  --green-950: #062c25;
  --green-900: #073c31;
  --green-800: #075344;
  --green-700: #0b6655;
  --green-500: #0f8c74;
  --green-100: #e8f4ef;
  --cream: #f8f5ee;
  --ivory: #fffdf8;
  --wood: #b88b60;
  --ink: #17211e;
  --muted: #66746f;
  --line: rgba(28, 45, 40, 0.12);
  --shadow: 0 24px 70px rgba(4, 28, 23, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
  --header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  background: #fff;
  color: var(--green-900);
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { left: 12px; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: linear-gradient(90deg, rgba(5, 45, 37, 0.98), rgba(5, 68, 55, 0.96));
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, height 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0.98;
}
.brand-mark img { width: 100%; height: 100%; filter: brightness(0) invert(1); }
.brand-text strong {
  display: block;
  font-size: 23px;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 780;
}
.brand-text small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: .02em;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  font-size: 15px;
  font-weight: 650;
  color: rgba(255,255,255,.9);
}
.site-nav a {
  position: relative;
  padding: 8px 0;
  transition: color .2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
  opacity: .86;
}
.site-nav a:hover,
.site-nav a:focus { color: #fff; }
.site-nav a:hover::after,
.site-nav a:focus::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 32%, rgba(9, 94, 78, .08), transparent 34%),
    linear-gradient(90deg, rgba(1, 22, 18, .84) 0%, rgba(1, 22, 18, .62) 35%, rgba(1, 22, 18, .18) 72%, rgba(1, 22, 18, .28) 100%),
    linear-gradient(0deg, rgba(2, 24, 20, .42), rgba(2, 24, 20, .04));
}
.hero-content {
  padding-block: 110px;
  max-width: var(--container);
}
.eyebrow {
  margin: 0 0 16px;
  color: #d9fff3;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--green-800); }
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 860;
}
.hero h2 {
  margin: 22px 0 0;
  max-width: 670px;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.14;
  letter-spacing: -.035em;
  font-weight: 760;
}
.hero-copy {
  max-width: 540px;
  margin: 24px 0 0;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.65;
  color: rgba(255,255,255,.88);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 780;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  box-shadow: 0 14px 34px rgba(4, 103, 83, .32);
}
.btn-ghost {
  color: #fff;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(12px);
}

.section,
.features { padding: 86px 0; }
.section-soft { background: linear-gradient(180deg, #fffdf8 0%, #f4efe7 100%); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card {
  position: relative;
  min-height: 270px;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: 0 18px 44px rgba(36, 45, 40, .06);
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 28px 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green-500), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}
.feature-card:hover::after { opacity: .85; }
.feature-icon {
  display: inline-flex;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
}
.feature-icon svg {
  width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.feature-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--green-900);
}
.feature-card p { margin: 0; color: var(--muted); font-size: 16px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.section-heading h2,
.about h2,
.contact-band h2,
.split-copy h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 820;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-800);
  font-weight: 800;
  white-space: nowrap;
}
.section-link span { font-size: 20px; }

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
}
.swatch-card {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(24, 35, 31, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.swatch-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.swatch-card img {
  width: 100%;
  aspect-ratio: 2 / 3.05;
  object-fit: cover;
}
.swatch-card h3 {
  min-height: 56px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 10px;
  font-size: 15px;
  line-height: 1.1;
  text-align: center;
  font-weight: 760;
  letter-spacing: -.02em;
  background: #fff;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.application-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ddd;
  box-shadow: 0 18px 50px rgba(12, 34, 28, .1);
}
.application-card img {
  width: 100%; height: 100%; min-height: 270px;
  object-fit: cover;
  transition: transform .42s ease;
}
.application-card:hover img { transform: scale(1.04); }
.application-card::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.66));
}
.application-card span {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.03em;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}

.split-section { background: var(--ivory); }
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.split-row-reverse .split-media { order: 2; }
.split-media img {
  width: 100%; height: 100%; min-height: 460px;
  object-fit: cover;
}
.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 90px);
  background:
    radial-gradient(circle at 90% 10%, rgba(15, 140, 116, .12), transparent 32%),
    linear-gradient(135deg, #fffdf8, #edf7f2);
}
.pill {
  width: max-content;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--green-800);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.01em;
}
.split-copy p {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.about {
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 56px;
  align-items: center;
}
.about-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 20px;
}
.about-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.about-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: calc(var(--radius-xl) - 10px);
  z-index: 1;
  pointer-events: none;
}
.about-media img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.stat-card {
  padding: 18px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f6f3ec);
  text-align: center;
}
.stat-card strong {
  display: block;
  color: var(--green-900);
  font-size: 18px;
  line-height: 1.05;
  font-weight: 850;
}
.stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 650;
}

.contact-band {
  padding: 78px 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(20, 145, 120, .38), transparent 34%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  align-items: center;
}
.contact-band h2 { color: #fff; max-width: 760px; }
.contact-band p:not(.eyebrow) {
  margin: 20px 0 0;
  max-width: 620px;
  color: rgba(255,255,255,.78);
  font-size: 19px;
}
.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.contact-card a,
.contact-card span {
  display: block;
  color: #fff;
  font-weight: 750;
  font-size: 18px;
}

.site-footer {
  color: rgba(255,255,255,.84);
  background: #071817;
  padding: 42px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-column strong {
  display: block;
  color: #fff;
  font-size: 16px;
  margin-bottom: 8px;
}
.footer-column span,
.footer-column a {
  display: block;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.54);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  :root { --header-height: 76px; }
  .container { width: min(calc(100% - 34px), var(--container)); }
  .site-nav { gap: 20px; font-size: 14px; }
  .brand-text strong { font-size: 19px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .swatch-grid { grid-template-columns: repeat(4, 1fr); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .site-header { height: auto; min-height: var(--header-height); }
  .header-inner { min-height: var(--header-height); flex-wrap: wrap; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text strong { font-size: 18px; }
  .brand-text small { font-size: 11px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    width: 100%;
    padding: 8px 0 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); }
  .hero { min-height: 720px; }
  .hero-content { padding-block: 88px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero h2 { font-size: clamp(25px, 7vw, 34px); }
  .hero-copy { font-size: 17px; }
  .btn { width: 100%; }
  .section, .features { padding: 64px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .feature-grid,
  .application-grid,
  .split-row { grid-template-columns: 1fr; }
  .split-row-reverse .split-media { order: 0; }
  .split-media img { min-height: 300px; }
  .split-copy { padding: 42px 24px; }
  .swatch-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .application-card,
  .application-card img { min-height: 235px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
