@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800;900&display=swap");

:root {
  --paper: #f7f8f4;
  --paper-2: #ffffff;
  --paper-3: #eef2e8;
  --ink: #14202a;
  --muted: #4b5660;
  --soft: #778170;
  --line: #d7ddd0;
  --line-strong: #b9c5b1;
  --green: #537d2f;
  --green-dark: #31531f;
  --green-bright: #9bd64c;
  --dark: #121e27;
  --dark-2: #192832;
  --white: #ffffff;
  --shadow: 0 1.35rem 3rem rgba(28, 42, 31, 0.12);
  --max: 1240px;
  --page-width: min(calc(100% - 2rem), var(--max));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(83, 125, 47, 0.08), transparent 22rem),
    linear-gradient(90deg, rgba(20, 32, 42, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 32, 42, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 5.5rem 5.5rem, 5.5rem 5.5rem, auto;
  color: var(--ink);
  font-family: "Geist", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-feature-settings: "cv02", "cv03", "cv04", "tnum";
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul,
figure,
address,
pre {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 120;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  width: var(--page-width);
  margin: 0 auto;
  padding: 1.1rem 1.25rem 0.75rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: var(--ink);
  font-size: clamp(1.35rem, 5vw, 1.78rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  align-items: center;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.site-nav a {
  min-height: 2.75rem;
  padding: 0.85rem 0.1rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green);
  outline: 0;
}

.header-cta,
.btn {
  display: inline-flex;
  height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  border: 1px solid #4e6f31;
  border-radius: 0.12rem;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.header-cta {
  justify-self: start;
  padding: 0 1.4rem;
  background: #557b34;
  color: var(--white);
}

.header-cta svg,
.btn svg,
.section-heading svg {
  width: 1.35rem;
  height: 1.35rem;
}

.header-cta:hover,
.btn:hover {
  background: #496f2c;
  border-color: #496f2c;
}

.hero {
  position: relative;
  display: grid;
  width: var(--page-width);
  min-height: 33rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1.4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(52rem, 64vw);
  height: 100%;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 80% 30%, rgba(83, 125, 47, 0.16), transparent 18rem),
    linear-gradient(90deg, rgba(83, 125, 47, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(83, 125, 47, 0.16) 1px, transparent 1px);
  background-size: auto, 3rem 3rem, 3rem 3rem;
  mask-image: linear-gradient(90deg, transparent, #000 25%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  min-height: 28rem;
  padding-top: 0.5rem;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.1rem;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.spark {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
}

.spark::before,
.spark::after {
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
}

.spark::after {
  transform: rotate(90deg);
}

.hero h1 {
  max-width: 13.8ch;
  color: var(--ink);
  font-size: clamp(3.18rem, 7.4vw, 5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.93;
  text-wrap: balance;
}

.hero h1 .headline-line,
.hero h1 .headline-accent {
  display: block;
}

.hero h1 .headline-line {
  color: var(--ink);
  white-space: nowrap;
}

.hero h1 .headline-accent {
  color: var(--green);
}

.hero h1::after {
  display: block;
  width: 3.9rem;
  height: 2px;
  margin-top: 1rem;
  background: var(--green);
  content: "";
}

.hero-text {
  max-width: 32rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(0.96rem, 2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  margin-top: 1.7rem;
}

.btn {
  min-width: 11.35rem;
  padding: 0 1.45rem;
}

.btn-primary {
  background: #557b34;
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  border-color: #9eae93;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.86);
  border-color: #6c8756;
  color: var(--green-dark);
}

.hero-system {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 26rem;
  align-items: center;
  justify-items: end;
  margin-top: 1.2rem;
}

.hero-system img {
  width: min(46.5rem, 118%);
  max-width: none;
  height: auto;
  margin-right: -1rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.quality-strip {
  display: grid;
  width: var(--page-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.quality-strip article {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 1rem;
  min-height: 7.2rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
}

.quality-strip article + article {
  border-top: 1px solid var(--line);
}

.quality-strip h2 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
  line-height: 1.1;
}

.quality-strip p {
  max-width: 14rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.42;
}

.quality-icon,
.process-icon {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--green);
  overflow: visible;
}

.quality-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.quality-strip article:nth-child(3) .quality-icon {
  transform: scale(1.18);
  transform-origin: center;
}

.process-icon {
  padding: 0.34rem;
  border-radius: 50%;
  background: rgba(83, 125, 47, 0.08);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.projects {
  background:
    radial-gradient(circle at 32% 12%, rgba(155, 214, 76, 0.12), transparent 24rem),
    linear-gradient(180deg, var(--dark), #111922);
  color: var(--white);
}

.section-heading,
.project-grid,
.metrics dl,
.process,
.technology,
.cta-band,
.about-footer {
  width: var(--page-width);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem 0.7rem;
}

.section-heading h2 {
  color: var(--white);
  font-size: clamp(1.55rem, 4vw, 1.95rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.section-heading a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--green-bright);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.project-grid {
  display: grid;
  gap: 0.85rem;
  padding: 0 1.25rem 1.35rem;
}

.project-card {
  display: grid;
  min-height: 15.1rem;
  padding: 0.75rem;
  border: 1px solid rgba(226, 235, 221, 0.42);
  border-radius: 0.22rem;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(155, 214, 76, 0.74);
  background: rgba(255, 255, 255, 0.045);
}

.project-visual {
  position: relative;
  aspect-ratio: 142 / 92;
  min-height: 0;
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(226, 235, 221, 0.16);
  border-radius: 0.15rem;
  background: rgba(255, 255, 255, 0.025);
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-number {
  margin-bottom: 0.3rem;
  color: var(--green-bright);
  font-size: 0.92rem;
  font-weight: 900;
}

.project-card h3 {
  margin-bottom: 0.45rem;
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.08;
}

.project-card p {
  color: #d8e0d6;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
}

.metrics {
  background: rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid var(--line);
}

.metrics dl {
  display: grid;
  padding: 1.05rem 1.25rem;
}

.metrics div {
  padding: 0.9rem 0;
  text-align: center;
}

.metrics div + div {
  border-top: 1px solid var(--line);
}

.metrics dt {
  color: var(--green);
  font-size: clamp(1.75rem, 6vw, 2rem);
  font-weight: 800;
  line-height: 1;
}

.metrics dd {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.process {
  padding: 1.2rem 1.25rem 1.45rem;
  border-bottom: 1px solid var(--line);
}

.process > h2,
.technology h2 {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  font-weight: 800;
}

.process ol {
  display: grid;
  gap: 1.2rem;
}

.process li {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 1rem;
  align-items: center;
}

.process-icon {
  width: 3.6rem;
  height: 3.6rem;
}

.process strong {
  color: var(--green);
  font-size: 0.72rem;
}

.process h3 {
  margin: 0.1rem 0 0.25rem;
  font-size: 0.92rem;
}

.process p {
  max-width: 13rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
}

.technology {
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.technology ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.technology li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  min-height: 3.45rem;
  align-items: center;
  gap: 0.58rem;
  padding: 0.65rem 0.72rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.tech-icon {
  justify-self: center;
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
}

.tech-icon-wide {
  width: 1.85rem;
  height: 1.35rem;
}

.cta-band {
  position: relative;
  display: grid;
  gap: 1.2rem;
  align-items: center;
  padding: 1.6rem 1.25rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(83, 125, 47, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(83, 125, 47, 0.1) 1px, transparent 1px),
    rgba(255, 255, 255, 0.58);
  background-size: 3rem 3rem;
}

.cta-band h2 {
  color: var(--green);
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.cta-band p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.about-footer {
  display: grid;
  gap: 1.7rem;
  padding: 1.8rem 1.25rem 2.2rem;
  background: rgba(255, 255, 255, 0.72);
}

.about-footer .brand-lockup {
  margin-bottom: 1rem;
  font-size: 1.55rem;
}

.footer-brand p,
.about-footer a,
.about-footer span,
.copyright {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.about-footer h2 {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.about-footer nav,
.about-footer address {
  display: grid;
  align-content: start;
  gap: 0.18rem;
  font-style: normal;
}

.about-footer a {
  width: max-content;
  text-decoration: none;
}

.about-footer a:hover,
.about-footer a:focus-visible {
  color: var(--green);
  outline: 0;
}

.social div {
  display: flex;
  gap: 1.05rem;
}

.social a,
.social-icon {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  color: var(--ink);
}

.social svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2.2;
}

.copyright {
  align-self: end;
}

@media (min-width: 40rem) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .header-cta {
    justify-self: end;
  }

  .quality-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-strip article:nth-child(2n) {
    border-left: 1px solid var(--line);
  }

  .quality-strip article:nth-child(2) {
    border-top: 1px solid var(--line);
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics dl {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .metrics div {
    padding: 0.65rem 0.7rem;
  }

  .metrics div + div {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technology ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-footer {
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
  }

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

@media (min-width: 56rem) {
  .site-header {
    grid-template-columns: minmax(13rem, 0.7fr) minmax(28rem, 1.5fr) minmax(10rem, 0.7fr);
    padding-top: 1.45rem;
    padding-bottom: 1.2rem;
  }

  .site-nav {
    grid-column: auto;
    gap: clamp(1.2rem, 3vw, 2.9rem);
  }

  .header-cta {
    min-width: 11rem;
  }

  .hero {
    grid-template-columns: minmax(28rem, 0.9fr) minmax(29rem, 1.1fr);
    min-height: 25.6rem;
    padding-top: 0.7rem;
    padding-bottom: 1rem;
  }

  .hero-copy {
    min-height: 23.8rem;
    padding-right: 1rem;
  }

  .hero h1 {
    width: 32rem;
    max-width: 32rem;
    font-size: clamp(3.35rem, 5.5vw, 3.82rem);
  }

  .hero-system {
    min-height: 25rem;
    margin-top: 0;
  }

  .quality-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .quality-strip article {
    border-top: 0;
  }

  .quality-strip article + article {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process li {
    grid-template-columns: 4.5rem 1fr;
    padding-right: 1.2rem;
  }

  .process li + li {
    border-left: 1px dashed var(--line-strong);
    padding-left: 2rem;
  }

  .technology ul {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .technology li {
    min-height: 3rem;
  }

  .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .about-footer {
    grid-template-columns: 1.6fr 0.7fr 0.9fr 0.7fr 1.2fr;
    padding-top: 2rem;
    padding-bottom: 2.4rem;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (min-width: 70rem) {
  :root {
    --page-width: min(calc(100% - 7.5rem), var(--max));
  }

  .site-header,
  .hero,
  .quality-strip,
  .section-heading,
  .project-grid,
  .metrics dl,
  .process,
  .technology,
  .cta-band,
  .about-footer {
    padding-left: 0;
    padding-right: 0;
  }

  .hero {
    min-height: 25.8rem;
  }

  .hero h1 {
    font-size: 3.82rem;
  }

  .project-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 35rem) {
  .site-header .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9.4vw, 2.45rem);
  }

  .hero h1 .headline-line {
    white-space: nowrap;
  }

  .hero-system {
    min-height: 17rem;
    justify-items: center;
  }

  .hero-system img {
    width: min(32rem, 112%);
    margin-right: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-system {
    animation: riseIn 760ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }

  .hero-system {
    animation-delay: 120ms;
  }

}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
