:root {
  --ink: #101820;
  --ink-2: #1f2a33;
  --panel: #f3f0ea;
  --paper: #fbfaf7;
  --line: rgba(16, 24, 32, 0.14);
  --muted: #5b6670;
  --white: #ffffff;
  --safety: #e8a21a;
  --oxide: #9b4f2b;
  --steel: #52616d;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: rgba(16, 24, 32, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  object-fit: contain;
  background: var(--white);
}

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

.brand strong {
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.95) 0%, rgba(16, 24, 32, 0.72) 40%, rgba(16, 24, 32, 0.24) 100%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.85) 0%, rgba(16, 24, 32, 0) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 82px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--safety);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 770px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

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

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--max), calc(100% - 36px));
  margin: -36px auto 0;
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(16, 24, 32, 0.14);
}

.intro-band div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.intro-band div:last-child {
  border-right: 0;
}

.intro-band span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-band strong {
  display: block;
  margin-top: 6px;
}

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

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading p:last-child,
.split-section p,
.about-section p,
.contact-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 360px;
  padding: 24px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.service-card:nth-child(2) {
  background: var(--ink-2);
}

.service-card:nth-child(3) {
  background: #26323b;
}

.service-card:nth-child(4) {
  background: #34291f;
}

.service-card p {
  color: rgba(255, 255, 255, 0.74);
}

.service-icon {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--safety);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industry-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-list li {
  padding: 18px 20px;
  color: var(--white);
  background: linear-gradient(90deg, var(--ink) 0%, var(--steel) 100%);
  border-left: 5px solid var(--safety);
  border-radius: 6px;
  font-weight: 800;
}

.safety-section {
  width: 100%;
  padding-inline: max(18px, calc((100% - var(--max)) / 2));
  background: var(--panel);
}

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

.safety-grid div {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.safety-grid p {
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
}

.contact-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 72px;
  padding: 48px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(16, 24, 32, 0.98), rgba(55, 44, 31, 0.94)),
    radial-gradient(circle at 85% 10%, rgba(232, 162, 26, 0.26), transparent 30%);
  border-radius: 8px;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-note {
  margin-top: 24px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 52px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer-brand {
  flex-shrink: 0;
}

.footer-brand img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: var(--white);
}

@media (max-width: 980px) {
  .service-grid,
  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-band,
  .split-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .intro-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand small {
    font-size: 0.62rem;
    overflow-wrap: anywhere;
  }

  .nav-toggle {
    display: block;
    flex-shrink: 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(16, 24, 32, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
  }

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

  .site-nav a {
    padding: 12px;
  }

  .brand small {
    max-width: 190px;
  }

  .hero {
    min-height: 88vh;
  }

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.94) 0%, rgba(16, 24, 32, 0.78) 60%, rgba(16, 24, 32, 0.42) 100%),
      linear-gradient(0deg, rgba(16, 24, 32, 0.9) 0%, rgba(16, 24, 32, 0) 48%);
  }

  .hero-content {
    padding-bottom: 56px;
  }

  .service-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .contact-section {
    padding: 30px 22px;
  }

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