:root {
  --bg: #f4f1ea;
  --ink: #121614;
  --muted: #5e6862;
  --line: rgba(18, 22, 20, 0.14);
  --panel: #fffaf1;
  --steel: #9aa5a9;
  --green: #0e5f46;
  --gold: #c9963e;
  --rust: #a94832;
  --shadow: 0 24px 70px rgba(18, 22, 20, 0.14);
  --page-max: 1680px;
  --page-gutter: clamp(36px, 8vw, 144px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding-inline: max(calc((100vw - var(--page-max)) / 2), calc(var(--page-gutter) / 2));
  background: rgba(244, 241, 234, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--gold);
  font-size: 13px;
}

.main-nav {
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover,
.header-cta:hover {
  color: var(--green);
}

.header-cta {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  width: min(100% - var(--page-gutter), var(--page-max));
  min-height: min(820px, calc(100vh - 76px));
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) 0 44px;
  overflow: hidden;
}

.hero-copy {
  padding-top: clamp(22px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 18px 34px rgba(14, 95, 70, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.72);
}

.hero-visual {
  position: relative;
  min-height: clamp(500px, 66vh, 620px);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 35%),
    radial-gradient(circle at 25% 20%, rgba(201, 150, 62, 0.28), transparent 32%),
    linear-gradient(145deg, #1a201f 0%, #364341 45%, #111514 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), transparent 92%);
}

.plate,
.coil,
.pipe-row,
.visual-card {
  position: absolute;
}

.plate {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(120deg, #b8c0c3, #616d6f 46%, #d8dddc);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

.plate-one {
  width: 70%;
  height: 170px;
  top: 105px;
  right: -34px;
  transform: rotate(-11deg);
}

.plate-two {
  width: 62%;
  height: 145px;
  left: -30px;
  bottom: 134px;
  transform: rotate(10deg);
  background: linear-gradient(115deg, #6c7678, #c5ccca 54%, #4c5658);
}

.coil {
  width: 240px;
  height: 240px;
  left: 54px;
  top: 122px;
  border: 34px solid #c9953c;
  border-radius: 50%;
  box-shadow: inset 0 0 0 20px rgba(18, 22, 20, 0.32), 0 26px 50px rgba(0, 0, 0, 0.34);
}

.pipe-row {
  right: 36px;
  bottom: 66px;
  display: grid;
  gap: 14px;
  width: 56%;
}

.pipe-row span {
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #657174, #d7dddc 48%, #596466);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
}

.visual-card {
  left: 32px;
  right: 32px;
  bottom: 28px;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(12, 16, 15, 0.72);
  color: white;
  backdrop-filter: blur(14px);
}

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

.section {
  width: min(100% - var(--page-gutter), var(--page-max));
  margin-inline: auto;
  padding: clamp(58px, 9vw, 116px) 0;
}

.intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro p {
  max-width: 1120px;
  margin-bottom: 0;
  font-size: clamp(26px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.proof-copy h2,
.contact h2 {
  max-width: 740px;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.material-card {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.58);
}

.card-index {
  display: block;
  margin-bottom: 68px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 800;
}

.material-card p,
.step p,
.contact p,
.proof-list span {
  color: var(--muted);
  line-height: 1.6;
}

.process-band {
  padding-block: clamp(58px, 9vw, 116px);
  padding-inline: max(calc((100vw - var(--page-max)) / 2), calc(var(--page-gutter) / 2));
  background: #121614;
  color: white;
}

.process-band .eyebrow {
  color: var(--gold);
}

.process-band .section-heading h2 {
  color: white;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.step {
  min-height: 260px;
  padding: 30px;
  background: #171d1b;
}

.step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 72px;
  border-radius: 50%;
  background: var(--gold);
  color: #121614;
  font-weight: 800;
}

.step p {
  color: rgba(255, 255, 255, 0.68);
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.proof-list div {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--panel);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  width: min(100% - var(--page-gutter), var(--page-max));
  margin: 0 auto clamp(48px, 6vw, 72px);
  padding: clamp(34px, 5vw, 54px);
  border-radius: 8px;
  background: var(--green);
  color: white;
}

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

.contact h2 {
  margin-bottom: 18px;
  color: white;
}

.contact p {
  max-width: 720px;
  margin-bottom: 0;
}

.contact .button.primary {
  background: white;
  color: var(--green);
  box-shadow: none;
}

.contact .button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  overflow-wrap: anywhere;
  white-space: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - var(--page-gutter), var(--page-max));
  margin-inline: auto;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

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

@media (min-width: 1440px) {
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(560px, 0.9fr);
  }

  h1 {
    max-width: 920px;
    font-size: clamp(88px, 5.4vw, 104px);
  }

  .lead {
    max-width: 760px;
  }

  .hero-visual {
    min-height: clamp(560px, 56vh, 700px);
  }

  .material-card {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 28px;
  }

  .site-header {
    min-height: 66px;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    padding: 9px 12px;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 46px);
  }

  h2 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: clamp(340px, 86vw, 420px);
  }

  .coil {
    width: 176px;
    height: 176px;
    left: 24px;
    top: 90px;
    border-width: 24px;
  }

  .plate-one {
    top: 72px;
  }

  .plate-two {
    bottom: 118px;
  }

  .pipe-row {
    right: 20px;
    bottom: 74px;
    width: 64%;
  }

  .material-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .card-index,
  .step span {
    margin-bottom: 42px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  :root {
    --page-gutter: 24px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    font-size: 13px;
  }

  .hero-copy {
    padding-top: 12px;
  }

  .contact {
    padding: 26px 18px;
  }
}
