:root {
  color: #f7f8f6;
  background: #091112;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #091112;
}

a {
  color: inherit;
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(9, 17, 18, 0.96) 0%, rgba(9, 17, 18, 0.78) 45%, rgba(9, 17, 18, 0.18) 100%),
    url("assets/engineering-lab.png") right center / cover no-repeat;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  align-content: center;
  padding: 88px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #76d2c4;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 6.7rem);
  line-height: 0.95;
}

.lead {
  max-width: 720px;
  margin-bottom: 34px;
  color: #d7dfdc;
  font-size: clamp(1.2rem, 2.2vw, 1.72rem);
  line-height: 1.45;
}

.actions,
.brand-grid,
.capability-grid {
  display: grid;
  gap: 14px;
}

.actions {
  grid-template-columns: repeat(2, fit-content(240px));
}

.button {
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #f7f8f6;
  color: #091112;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
  color: #f7f8f6;
}

section {
  padding: 72px 0;
}

section:nth-of-type(odd) {
  background: #f6f7f3;
  color: #111819;
}

section:nth-of-type(even) {
  background: #dfe8e2;
  color: #111819;
}

h2 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
}

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

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

.brand,
.capability {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(17, 24, 25, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.brand h3,
.capability h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.brand p,
.capability p,
.body-copy {
  color: #455052;
  line-height: 1.58;
}

.brand {
  display: grid;
  align-content: space-between;
  gap: 20px;
}

.brand a {
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

footer {
  padding: 28px 0;
  background: #091112;
  color: #aeb9b7;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.88rem;
}

@media (max-width: 840px) {
  .brand-grid,
  .capability-grid,
  .actions,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    min-height: 760px;
    background:
      linear-gradient(180deg, rgba(9, 17, 18, 0.96) 0%, rgba(9, 17, 18, 0.82) 55%, rgba(9, 17, 18, 0.28) 100%),
      url("assets/engineering-lab.png") center bottom / cover no-repeat;
  }
}
