:root {
  --ink: #111717;
  --muted: #5c6865;
  --paper: #f7f7f2;
  --white: #ffffff;
  --line: #d8ded8;
  --teal: #0d766f;
  --teal-dark: #084943;
  --amber: #d69a2d;
  --charcoal: #16201f;
  --shadow: 0 22px 48px rgba(12, 23, 22, 0.16);
  --max-width: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 247, 242, 0.94);
  box-shadow: 0 12px 36px rgba(12, 23, 22, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.1);
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: calc(var(--header-height) + 46px) clamp(20px, 5vw, 56px) 82px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 16, 16, 0.9) 0%, rgba(8, 16, 16, 0.78) 34%, rgba(8, 16, 16, 0.24) 68%, rgba(8, 16, 16, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 16, 16, 0.5) 0%, rgba(8, 16, 16, 0.04) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(670px, 100%);
  margin-top: 24px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 13ch;
  font-size: clamp(3.1rem, 8vw, 6.5rem);
}

h2 {
  max-width: 800px;
  font-size: clamp(2rem, 4vw, 4.1rem);
}

h3 {
  font-size: 1.22rem;
}

.hero-copy {
  max-width: 580px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.button-outline {
  color: var(--teal-dark);
  border-color: rgba(8, 73, 67, 0.28);
  background: transparent;
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.section,
.section-band,
.cta {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 56px);
}

.section-band {
  background: var(--white);
}

.section-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.intro {
  padding-top: clamp(42px, 6vw, 78px);
  padding-bottom: clamp(54px, 7vw, 92px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: start;
}

.intro-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.intro-metrics div,
.service-card,
.steps article,
.industry-list div,
.contact-form {
  background: var(--white);
}

.intro-metrics div {
  min-height: 230px;
  padding: 26px;
}

.intro-metrics span,
.service-icon,
.steps span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.intro-metrics strong {
  display: block;
  font-size: 1.2rem;
}

.intro-metrics p,
.service-card p,
.product-feature p,
.steps p,
.industry-list p,
.process .section-heading p,
.cta p {
  color: var(--muted);
}

.products {
  background: #eef4f0;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.product-feature > div > p {
  max-width: 640px;
  font-size: 1.08rem;
}

.product-card {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-card h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.product-label {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  color: var(--teal-dark);
  background: rgba(13, 118, 111, 0.1);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(34px, 5vw, 62px);
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(12, 23, 22, 0.03);
}

.service-card h3,
.industry-list h3 {
  margin-bottom: 14px;
}

.process {
  background: var(--charcoal);
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 118px;
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 16px;
}

.steps article {
  color: var(--ink);
  padding: 30px;
  border-left: 5px solid var(--amber);
}

.steps span {
  margin-bottom: 18px;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.industry-list div {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
}

.cta {
  color: var(--white);
  background: var(--teal-dark);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.cta h2 {
  max-width: 620px;
}

.cta p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

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

.contact-form span {
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfcf9;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 118, 111, 0.16);
}

.contact-form .button {
  width: 100%;
}

.site-footer {
  padding: 28px clamp(20px, 5vw, 56px);
  background: #0f1716;
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 88svh;
    align-items: end;
  }

  .hero-image {
    object-position: 63% center;
  }

  h1 {
    max-width: 10ch;
  }

  .intro-grid,
  .product-feature,
  .process-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .intro-metrics,
  .service-grid,
  .industry-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .hero {
    min-height: 88svh;
    padding: calc(var(--header-height) + 40px) 18px 52px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 16, 16, 0.92) 0%, rgba(8, 16, 16, 0.82) 52%, rgba(8, 16, 16, 0.38) 100%),
      linear-gradient(0deg, rgba(8, 16, 16, 0.58) 0%, rgba(8, 16, 16, 0.1) 58%);
  }

  .hero-content {
    margin-top: 0;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.75rem, 14vw, 4.8rem);
  }

  h2 {
    font-size: clamp(1.95rem, 10vw, 3rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section,
  .section-band,
  .cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro-metrics div,
  .service-card,
  .steps article,
  .industry-list div,
  .contact-form {
    padding: 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
