:root {
  --ink: #14212b;
  --muted: #52616d;
  --line: #dce3e8;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --brand: #1f5d73;
  --brand-dark: #173d4d;
  --accent: #8b5a2b;
  --success: #55705c;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  min-width: 138px;
  text-decoration: none;
}

.brand span {
  color: var(--brand-dark);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-dark);
  background: var(--soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(64px, 10vw, 128px) clamp(20px, 5vw, 56px) 56px;
  color: #ffffff;
  background:
    linear-gradient(105deg, rgba(20, 33, 43, 0.9), rgba(31, 93, 115, 0.78)),
    url("assets/images/process-engineering.jpg") center / cover;
}

.hero-copy,
.hero-panel {
  align-self: center;
  max-width: var(--max-width);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e6c49e;
}

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

h1 {
  max-width: 920px;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

p {
  margin: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2.5vw, 1.36rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 6px;
}

.button.primary {
  color: var(--ink);
  background: #ffffff;
  border-color: #ffffff;
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.hero-panel div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 72px;
}

.metric {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
}

.hero-panel span:last-child {
  color: rgba(255, 255, 255, 0.84);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 112px) 20px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.12rem;
}

.services-section {
  display: grid;
  gap: 76px;
  padding-top: 20px;
}

.service {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.service.reverse img {
  order: 2;
}

.service img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.service-copy {
  display: grid;
  gap: 18px;
}

.service-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
}

li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  content: "";
}

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

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

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.client-logo {
  display: grid;
  min-height: 120px;
  place-items: center;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.client-logo img {
  max-height: 64px;
  object-fit: contain;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(64px, 8vw, 96px) clamp(20px, 5vw, 56px);
  color: #ffffff;
  background: var(--brand-dark);
}

.contact-section > div {
  max-width: 760px;
}

.contact-section .eyebrow {
  color: #e6c49e;
}

.contact-section p {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  font-style: normal;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.contact-card strong {
  font-size: 1.35rem;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card a {
  width: fit-content;
  color: #ffffff;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(20px, 5vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--brand-dark);
  text-decoration: none;
}

@media (max-width: 840px) {
  .site-header,
  .hero,
  .intro-section,
  .service,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
  }

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

  .hero {
    min-height: auto;
  }

  .service.reverse img {
    order: 0;
  }

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

@media (max-width: 520px) {
  .site-header {
    position: static;
  }

  .site-nav a {
    padding-left: 0;
  }

  .hero-panel div {
    grid-template-columns: 1fr;
  }

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