:root {
  --bg: #ffffff;
  --ink: #050505;
  --muted: #666b69;
  --line: #dfe4df;
  --lime: #b7ff2a;
  --lime-strong: #8dff00;
  --graphite: #101311;
  --soft: #f3f6f1;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(var(--max), calc(100% - 44px));
  margin: 18px auto 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(5, 5, 5, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #252927;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: #5ab900;
}

.header-cta {
  justify-self: end;
  padding: 12px 18px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 54px;
  align-items: center;
  width: min(var(--max), calc(100% - 44px));
  min-height: 730px;
  margin: 0 auto;
  padding: 70px 0 88px;
}

.hero-copy,
.section-heading,
.intro-text,
.split-section p,
.contact p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.section-label {
  margin: 0 0 18px;
  color: #5ab900;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 26px;
  font-size: clamp(50px, 6.5vw, 88px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 34px;
  color: #3e4440;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

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

.button.primary {
  background: var(--lime);
  color: var(--ink);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--soft);
}

.hero-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.48), rgba(5, 5, 5, 0));
  content: "";
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
}

.metric-card {
  position: absolute;
  z-index: 2;
  width: 178px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.metric-card span,
.metric-card small {
  display: block;
}

.metric-card span {
  color: #69706b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.metric-card strong {
  display: block;
  margin: 7px 0 4px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
}

.metric-card small {
  color: #414842;
  font-size: 12px;
  line-height: 1.45;
}

.metric-card-top {
  top: 28px;
  right: 28px;
}

.metric-card-bottom {
  left: 28px;
  bottom: 28px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.proof-strip div {
  min-height: 134px;
  padding: 24px;
  border-right: 1px solid var(--ink);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  margin-bottom: 12px;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.proof-strip span {
  color: #3c433e;
  font-size: 14px;
  line-height: 1.5;
}

.section-pad {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 110px 0;
}

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

.section-heading.wide {
  max-width: 940px;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5.3vw, 72px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 80px;
  align-items: end;
}

.intro-text,
.split-section p,
.contact p {
  color: #3d443f;
  font-size: 19px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 46px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.service-grid article {
  min-height: 330px;
  padding: 28px;
  background: white;
}

.service-grid article span {
  display: inline-flex;
  margin-bottom: 70px;
  color: #5ab900;
  font-size: 13px;
  font-weight: 900;
}

.service-grid h3 {
  margin-bottom: 16px;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.service-grid p,
.case-card span,
.team-grid span,
.process-line span {
  color: #4c534e;
  font-size: 15px;
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 76px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.impact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--ink);
}

.impact-list div {
  min-height: 180px;
  padding: 26px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.impact-list div:nth-child(2n) {
  border-right: 0;
}

.impact-list div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.impact-list strong {
  display: block;
  margin-bottom: 28px;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.impact-list span {
  color: #3f4641;
  line-height: 1.55;
}

.cases {
  border-top: 1px solid var(--line);
}

.case-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  margin-top: 46px;
}

.case-card {
  min-height: 430px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.case-card.dark {
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.12), rgba(16, 19, 17, 0.86)),
    var(--graphite);
  color: white;
}

.case-card.light {
  background: var(--lime);
  color: var(--ink);
}

.case-card p {
  margin-bottom: auto;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.case-card h3 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.case-card.dark span {
  color: #dce3dd;
}

.case-card.light span {
  color: #273024;
}

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

.process-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 46px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.process-line div {
  min-height: 170px;
  padding: 22px;
  background: white;
}

.process-line strong {
  display: block;
  margin-bottom: 38px;
  color: #5ab900;
}

.team {
  border-top: 1px solid var(--line);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.team-grid article {
  padding: 24px;
  background: var(--soft);
}

.team-grid strong {
  display: block;
  margin-bottom: 38px;
  font-size: 22px;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto 28px;
  padding: 70px;
  background: var(--graphite);
  color: white;
}

.contact .section-label {
  color: var(--lime);
}

.contact h2 {
  color: white;
}

.contact p {
  color: #d9dfda;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: #dbe3dc;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 14px 15px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.contact-form select option {
  color: var(--ink);
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.footer {
  display: flex;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 26px 0 44px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    background: var(--ink);
  }

  .menu-button span {
    width: 20px;
    height: 2px;
    background: white;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .nav {
    display: grid;
    grid-column: 1 / -1;
    gap: 12px;
    padding: 18px 4px 6px;
  }

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

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

  .hero-visual,
  .hero-visual img {
    min-height: 430px;
  }

  .proof-strip,
  .service-grid,
  .process-line,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 42px 26px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .proof-strip,
  .section-pad,
  .contact,
  .footer {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -0.035em;
    word-break: break-all;
  }

  .hero-lede {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .proof-strip,
  .service-grid,
  .impact-list,
  .process-line,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div,
  .impact-list div,
  .impact-list div:nth-child(2n),
  .impact-list div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .proof-strip div:last-child,
  .impact-list div:last-child {
    border-bottom: 0;
  }

  .metric-card {
    position: static;
    width: auto;
    margin: 10px 0 0;
  }

  .hero-visual {
    overflow: visible;
  }

  .hero-visual::after {
    display: none;
  }

  .footer {
    display: grid;
    gap: 10px;
  }
}
