:root {
  --ink: #101419;
  --muted: #65717d;
  --paper: #f5f2ec;
  --surface: #ffffff;
  --deep: #151a1f;
  --steel: #26313a;
  --line: rgba(16, 20, 25, 0.13);
  --signal: #e6572b;
  --signal-dark: #a94020;
  --blue: #164d7d;
  --shadow: 0 22px 70px rgba(16, 20, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  color: #fff;
  background: rgba(15, 19, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.brand img {
  width: 154px;
  height: auto;
  filter: brightness(0) invert(1);
}

nav {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 750;
}

nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
}

nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px max(22px, calc((100vw - 1180px) / 2)) 72px;
  color: #fff;
  background: var(--deep);
}

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

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 13, 16, 0.93) 0%, rgba(10, 13, 16, 0.64) 48%, rgba(10, 13, 16, 0.16) 100%),
    linear-gradient(0deg, rgba(10, 13, 16, 0.9) 0%, rgba(10, 13, 16, 0.1) 52%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
}

.kicker {
  margin: 0 0 14px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7.4vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.hero p:not(.kicker) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 850;
}

.button.primary {
  color: #fff;
  background: var(--signal);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #2a3036;
  padding: 1px max(22px, calc((100vw - 1180px) / 2));
}

.metrics article {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: #fff;
  background: var(--deep);
}

.metrics strong {
  font-size: clamp(2.1rem, 3.8vw, 4rem);
  line-height: 1;
}

.metrics span {
  max-width: 240px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.split-section,
.capability-section,
.proof-section,
.customer-section,
.sustainability-strip,
.contact {
  padding: 94px max(22px, calc((100vw - 1180px) / 2));
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
  background: #fff;
}

.section-copy p:not(.kicker),
.customer-section p,
.sustainability-strip p,
.proof-card p,
.proof-grid p {
  color: var(--muted);
  font-size: 1.04rem;
}

.mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mini-proof span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--steel);
  background: #f7f7f5;
  font-size: 0.9rem;
  font-weight: 800;
}

.image-panel {
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.capability-section {
  background: var(--paper);
}

.section-head {
  width: min(850px, 100%);
  margin-bottom: 44px;
}

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

.capability-grid article {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 46px rgba(16, 20, 25, 0.1);
}

.capability-grid img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.capability-grid div {
  padding: 28px;
}

.capability-grid p {
  margin-bottom: 12px;
  color: var(--signal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.proof-section {
  background: #fff;
}

.proof-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
}

.proof-card.dark {
  color: #fff;
  background: var(--deep);
}

.proof-card.dark p:not(.kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.proof-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-grid article {
  min-height: 220px;
  padding: 28px;
  background: #f8f7f4;
}

.customer-section {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 54px;
  align-items: center;
  background: #e9eceb;
}

.customer-section img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sustainability-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  color: #fff;
  background: var(--steel);
}

.sustainability-strip img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.sustainability-strip img.location-map {
  padding: 18px;
  background: #f7f7f4;
  object-fit: contain;
}

.sustainability-strip p:not(.kicker) {
  color: rgba(255, 255, 255, 0.74);
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 54px;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 20, 25, 0.95), rgba(16, 20, 25, 0.76)),
    url("public/assets/machining-photo.jpg") center / cover;
}

.contact address {
  min-width: min(440px, 100%);
  display: grid;
  gap: 12px;
  padding: 30px;
  font-style: normal;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.contact address strong {
  font-size: 1.45rem;
}

.contact address a {
  color: rgba(255, 255, 255, 0.78);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 920px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: 90vh;
    padding-top: 178px;
  }

  .metrics,
  .split-section,
  .capability-grid,
  .proof-card,
  .proof-grid,
  .customer-section,
  .sustainability-strip,
  .contact {
    grid-template-columns: 1fr;
  }

  .metrics {
    padding: 1px;
  }

  .metrics article {
    min-height: 150px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 132px;
  }

  h1 {
    max-width: min(350px, calc(100vw - 36px));
    font-size: 2.15rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-inner,
  .hero p:not(.kicker) {
    width: min(350px, calc(100vw - 36px));
    max-width: min(350px, calc(100vw - 36px));
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .split-section,
  .capability-section,
  .proof-section,
  .customer-section,
  .sustainability-strip,
  .contact {
    padding: 72px 18px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .capability-grid img,
  .proof-card img,
  .image-panel,
  .image-panel img {
    min-height: 300px;
    height: 300px;
  }

  .proof-card {
    padding: 18px;
  }
}
