:root {
  --ink: #080b0f;
  --charcoal: #111820;
  --slate: #26313b;
  --muted: #68727d;
  --line: #dfe5e9;
  --paper: #f6f8f7;
  --white: #ffffff;
  --green: #8fbf7a;
  --blue: #4da3ff;
  --green-dark: #263f31;
  --max: 1180px;
  --shadow: 0 22px 60px rgba(8, 11, 15, .16);
}

* {
  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(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

p {
  color: #43505b;
  font-size: 17px;
  line-height: 1.72;
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 247, .92);
  border-bottom: 1px solid rgba(17, 24, 32, .1);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.brand-logo {
  width: 148px;
  height: auto;
}

.brand-text {
  padding-left: 12px;
  border-left: 1px solid rgba(17, 24, 32, .18);
  color: #151b22;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .16em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--green-dark));
  border-radius: 6px;
  font-size: 18px;
}

.brand span:last-child {
  font-size: 13px;
  line-height: 1.1;
}

.brand .brand-text {
  font-size: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #25303a;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 24, 32, .16);
  background: var(--white);
  border-radius: 6px;
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: #1d2730;
}

.btn-secondary {
  background: var(--green);
  color: #071008;
}

.btn-outline {
  border-color: rgba(255, 255, 255, .38);
  color: var(--white);
  background: rgba(255, 255, 255, .06);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 78px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #080b0f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 15, .98) 0%, rgba(8, 11, 15, .88) 48%, rgba(38, 63, 49, .62) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 120px);
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22vh;
  background: linear-gradient(0deg, var(--paper), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 126px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-top: 22px;
  color: var(--white);
  font-size: clamp(46px, 7vw, 92px);
  line-height: .95;
  font-weight: 900;
}

.hero-copy {
  max-width: 790px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.hero-copy + .hero-copy {
  margin-top: 16px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-strip {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: -74px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid rgba(17, 24, 32, .08);
  box-shadow: var(--shadow);
}

.trust-strip div {
  min-height: 104px;
  display: flex;
  align-items: center;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
  font-weight: 850;
  color: #18222c;
}

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

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

.section.compact {
  padding: 72px 0;
}

.section-dark {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 104px max(20px, calc((100% - var(--max)) / 2));
  background: var(--charcoal);
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, .74);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: center;
}

.section-kicker {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-dark .section-kicker {
  color: var(--green);
}

.section-title {
  max-width: 840px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1;
  font-weight: 900;
}

.section-title.small {
  font-size: clamp(30px, 3.6vw, 48px);
}

.section-lede {
  max-width: 820px;
  margin-top: 24px;
  font-size: 18px;
}

.visual-panel {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(17, 24, 32, .94), rgba(38, 63, 49, .7)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 72px);
  border-radius: 8px;
}

.metric-stack {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
  width: min(320px, calc(100% - 44px));
}

.metric {
  padding: 18px;
  background: rgba(255, 255, 255, .92);
  border-left: 4px solid var(--green);
}

.metric:nth-child(2) {
  border-left-color: var(--blue);
}

.metric strong {
  display: block;
  font-size: 24px;
}

.metric span {
  color: #50606b;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid rgba(17, 24, 32, .09);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(8, 11, 15, .05);
}

.section-dark .card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.card p,
.section-dark .card p {
  font-size: 15px;
}

.card ul,
.list-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card li,
.list-panel li {
  position: relative;
  padding-left: 18px;
  color: #47535e;
  line-height: 1.65;
  font-size: 15px;
}

.section-dark .card li,
.section-dark .list-panel li {
  color: rgba(255, 255, 255, .75);
}

.card li::before,
.list-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  background: var(--green);
}

.icon-block {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  background: #ecf3ee;
  border-radius: 6px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.icon-block svg {
  width: 24px;
  height: 24px;
}

.power-band {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, .98), rgba(38, 63, 49, .84)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 88px);
  color: var(--white);
  padding: 104px max(20px, calc((100% - var(--max)) / 2));
}

.power-band p {
  color: rgba(255, 255, 255, .76);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.capability-list span {
  padding: 14px 16px;
  background: rgba(17, 24, 32, .04);
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 6px;
  font-weight: 750;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  margin-top: 34px;
}

.photo-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.photo-card.tall {
  min-height: 680px;
}

.photo-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(8, 11, 15, .78));
}

.photo-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.photo-stack {
  display: grid;
  gap: 18px;
}

.standards-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(145deg, rgba(8, 11, 15, .96), rgba(38, 63, 49, .78)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 82px);
  color: var(--white);
}

.standards-card.tall {
  min-height: 680px;
}

.standards-card::before {
  content: attr(data-code);
  position: absolute;
  top: 24px;
  left: 24px;
  color: rgba(255, 255, 255, .16);
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 900;
  letter-spacing: 0;
}

.standards-card h3 {
  position: relative;
  z-index: 1;
  max-width: 460px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.standards-card p {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: rgba(255, 255, 255, .72);
}

.showcase-placeholder {
  min-height: 420px;
  padding: 36px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(135deg, rgba(8, 11, 15, .96), rgba(38, 63, 49, .82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 96px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: var(--white);
}

.showcase-placeholder h3 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
}

.showcase-placeholder p {
  max-width: 620px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .72);
}

.section-dark .capability-list span,
.power-band .capability-list span {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .12);
}

.process {
  counter-reset: step;
}

.process .card {
  counter-increment: step;
}

.process .card::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 46px;
  color: var(--green-dark);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .12em;
}

.cta-block {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 96px;
  padding: 58px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 34px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

.cta-block h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.cta-block p {
  color: rgba(255, 255, 255, .74);
  margin-top: 18px;
}

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 104px max(20px, calc((100% - var(--max)) / 2)) 86px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(143, 191, 122, .2), transparent 66%);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .76);
  font-size: 19px;
}

.list-panel {
  padding: 34px;
  background: var(--white);
  border: 1px solid rgba(17, 24, 32, .09);
  border-radius: 8px;
}

.service-section {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 44px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.service-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-section h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 52px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(17, 24, 32, .09);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #27323c;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd8de;
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
  background: #fbfcfc;
  color: var(--ink);
}

textarea {
  min-height: 158px;
  resize: vertical;
}

.footer {
  background: #05070a;
  color: var(--white);
  padding: 54px max(20px, calc((100% - var(--max)) / 2));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 32px;
  align-items: end;
}

.footer p {
  color: rgba(255, 255, 255, .68);
  margin-top: 14px;
}

.footer .brand-logo {
  filter: invert(1);
}

.footer .brand-text {
  border-left-color: rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .82);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: rgba(255, 255, 255, .76);
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid rgba(17, 24, 32, .12);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }

  .trust-strip,
  .grid-4,
  .grid-3,
  .grid-2,
  .photo-grid,
  .split,
  .contact-grid,
  .cta-block,
  .service-section {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: 76px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .cta-block {
    padding: 36px;
  }

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

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav,
  .section,
  .trust-strip,
  .cta-block,
  .hero-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand span:last-child {
    max-width: 100px;
  }

  .brand-logo {
    width: 112px;
  }

  .brand-text {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .hero-inner {
    padding: 76px 0 118px;
  }

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

  .btn {
    width: 100%;
  }

  .section,
  .section-dark,
  .power-band {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .field-grid,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    min-height: 430px;
  }

  .photo-card,
  .photo-card.tall {
    min-height: 360px;
  }

  .page-hero {
    padding-top: 76px;
  }
}
