:root {
  --ink: #17201c;
  --muted: #64716c;
  --paper: #f7f5f0;
  --panel: #ffffff;
  --line: #d9ded7;
  --teal: #0f7f78;
  --teal-dark: #075b56;
  --copper: #c66b35;
  --yellow: #f2bf4b;
  --steel: #728391;
  --shadow: 0 22px 70px rgba(23, 32, 28, 0.14);
}

* {
  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);
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 240, 0.92);
  border-bottom: 1px solid rgba(23, 32, 28, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--copper));
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #35413d;
  font-size: 0.94rem;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
}

.site-nav a:hover {
  background: rgba(15, 127, 120, 0.1);
}

.nav-cta {
  color: #fff;
  background: var(--ink);
}

.site-nav .nav-cta:hover {
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 66vh;
  padding: clamp(30px, 4vw, 52px) clamp(18px, 5vw, 72px) 26px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.7vw, 4.25rem);
  line-height: 0.99;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.95rem, 3.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 650px;
  color: #44514d;
  font-size: clamp(1.03rem, 1.7vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
}

.button.primary {
  color: #fff;
  background: var(--teal-dark);
  box-shadow: 0 12px 32px rgba(7, 91, 86, 0.22);
}

.button.primary:hover {
  background: var(--teal);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 0;
}

.hero-stats div {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
}

.hero-stats dt {
  color: var(--copper);
  font-size: 1.36rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
  min-height: 360px;
}

.hero-media img {
  width: 100%;
  height: min(48vh, 500px);
  min-height: 350px;
  object-fit: cover;
  border: 1px solid rgba(23, 32, 28, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.inspection-card {
  position: absolute;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  max-width: 240px;
  padding: 16px 18px;
  color: #fff;
  background: rgba(23, 32, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.inspection-card span,
.inspection-card strong {
  display: block;
}

.inspection-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-strip span {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 14px;
  background: #fff;
  color: #3f4b47;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: clamp(58px, 8vw, 116px) clamp(18px, 5vw, 72px);
}

.intro,
.capabilities,
.quality,
.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.intro p:last-child,
.capability-copy p,
.media-band p,
.quote-copy p {
  color: #4d5a56;
  font-size: 1.06rem;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 30px;
}

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

.product-card {
  min-height: 230px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(23, 32, 28, 0.06);
}

.product-card p,
.product-card li {
  color: var(--muted);
}

.product-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.featured-product {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1fr);
  gap: 22px;
  min-height: 360px;
}

.featured-product img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: contain;
  background: #f7f5f0;
  border-radius: 8px;
}

.capabilities {
  background: #e9efec;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
}

.process-list span {
  grid-row: span 2;
  color: var(--copper);
  font-size: 1.15rem;
  font-weight: 900;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.media-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.media-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.industry-grid article {
  min-height: 230px;
  padding: 22px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}

.industry-grid article:nth-child(2) {
  background: var(--teal-dark);
}

.industry-grid article:nth-child(3) {
  background: #7f4b32;
}

.industry-grid article:nth-child(4) {
  background: #4b606a;
}

.industry-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.quality {
  background: #fff;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quality-grid article {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quality-grid span {
  color: var(--muted);
}

.quote-section {
  padding: clamp(58px, 8vw, 116px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, #17201c 0%, #184944 52%, #8a4d2f 100%);
}

.quote-section .eyebrow {
  color: #f7d174;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: #394743;
  font-size: 0.9rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #cfd8d3;
  border-radius: 8px;
  color: var(--ink);
  background: #f9fbfa;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 6px;
  min-width: 210px;
  text-align: right;
}

.footer-contact a {
  color: #fff;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 74px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-toggle {
    display: block;
  }

  .hero,
  .intro,
  .capabilities,
  .media-band,
  .quality,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 0;
  }

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

  .featured-product {
    grid-column: span 2;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 26px;
    padding-bottom: 8px;
    gap: 16px;
  }

  h1 {
    font-size: clamp(2.05rem, 9.2vw, 2.55rem);
    line-height: 1.02;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions,
  .product-grid,
  .industry-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-stats {
    display: none;
  }

  .hero-media img {
    height: 136px;
    min-height: 0;
    aspect-ratio: auto;
  }

  .inspection-card {
    display: none;
  }

  .featured-product {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .process-list article {
    grid-template-columns: 1fr;
  }

  .process-list span {
    grid-row: auto;
  }

  .site-footer {
    display: grid;
  }

  .footer-contact {
    min-width: 0;
    text-align: left;
  }
}
