/* ============================================================
   LZ METALFUSION GROUP — Site-wide design system
   Blueprint §2: low-saturation, warm-tone, heavy-industrial feel.
   No blue-purple gradients. No high-saturation blocks.
   ============================================================ */

:root {
  /* Palette (Blueprint §2) */
  --charcoal: #1E2A32;   /* deep charcoal-teal: text / dark blocks */
  --charcoal-2: #26343D; /* slightly lighter dark surface */
  --sand: #B08D57;       /* warm sand-gold: accents / numbers / CTA outline */
  --sand-soft: #C7A97A;
  --offwhite: #F5F2EC;   /* warm off-white: light background */
  --grey: #6B7280;       /* mid grey: secondary text */
  --line: #DCD6CB;       /* hairline on light bg */
  --line-dark: rgba(245, 242, 236, 0.16); /* hairline on dark bg */

  /* Type */
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Rhythm */
  --container: 1200px;
  --section-pad: 112px;
  --section-pad-sm: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Shared atoms ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 600;
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section-lead {
  color: var(--grey);
  max-width: 640px;
  font-size: 18px;
}
.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--charcoal); color: var(--offwhite); }
.section--dark .section-lead { color: rgba(245, 242, 236, 0.72); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--sand);
  color: var(--sand);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--sand); color: var(--charcoal); }
.btn--solid { background: var(--sand); color: var(--charcoal); }
.btn--solid:hover { background: var(--sand-soft); border-color: var(--sand-soft); }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--offwhite);
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--sand); }

.nav-toggle { display: none; } /* hidden checkbox drives no-JS mobile menu */
.nav-toggle-btn {
  display: none;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
}
.nav-toggle-btn span,
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--offwhite);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle-btn span { top: 21px; }
.nav-toggle-btn span::before { top: -8px; left: 0; right: 0; }
.nav-toggle-btn span::after { top: 8px; left: 0; right: 0; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-list a {
  color: rgba(245, 242, 236, 0.85);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-list a:hover, .nav-list a[aria-current="page"] {
  color: var(--offwhite);
  border-bottom-color: var(--sand);
}
.lang-switch {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(245, 242, 236, 0.85);
  text-decoration: none;
  border: 1px solid var(--line-dark);
  padding: 7px 14px;
  white-space: nowrap;
}
.lang-switch:hover { border-color: var(--sand); color: var(--sand); }
.lang-switch b { color: var(--sand); font-weight: 600; }

/* ============================================================
   S1 — Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--charcoal); /* dark fallback behind image */
  color: var(--offwhite);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  background: var(--charcoal);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--charcoal); /* dark fallback while loading */
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 50, 0.40); /* blueprint: darken 40% */
}
.hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 96px; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 780px;
  margin-bottom: 28px;
}
.hero__sub {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(245, 242, 236, 0.82);
  max-width: 640px;
  margin-bottom: 44px;
}
.hero__cta { display: flex; gap: 18px; flex-wrap: wrap; }

/* ============================================================
   S2 — Numbers band (oversized figures, 64px+)
   ============================================================ */
.stats {
  background: var(--charcoal);
  color: var(--offwhite);
  padding: 72px 0;
  border-top: 1px solid var(--line-dark);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 1;
  color: var(--sand);
  margin-bottom: 14px;
}
.stat__label {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.66);
}

/* ============================================================
   S3 — Capability stage chain (01–05)
   ============================================================ */
.stages { padding: var(--section-pad) 0; }
.stages__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.stage {
  padding: 40px 28px 8px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.stage:last-child { border-right: 0; }
.stage__num {
  font-family: var(--serif);
  font-size: 44px;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 18px;
}
.stage__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.stage__desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--grey);
  margin: 0;
  padding-right: 8px;
}

/* ============================================================
   S4 — Industries four-tile grid
   ============================================================ */
.industries { padding: var(--section-pad) 0; background: #EDE8DF; }
.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.ind-card { background: var(--offwhite); display: flex; flex-direction: column; }
.ind-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--charcoal); }
.ind-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--charcoal); /* dark fallback */
  transition: transform 0.5s ease;
}
.ind-card:hover .ind-card__media img { transform: scale(1.04); }
.ind-card__body { padding: 26px 24px 30px; }
.ind-card__title {
  font-family: var(--serif);
  font-size: 21px;
  margin-bottom: 10px;
}
.ind-card__desc { font-size: 14.5px; color: var(--grey); line-height: 1.6; margin: 0; }

/* ============================================================
   S5 — Featured Projects cards
   ============================================================ */
.projects { padding: var(--section-pad) 0; }
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.proj-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.proj-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--charcoal); }
.proj-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--charcoal);
}
.proj-card__body { padding: 28px 26px 32px; flex: 1; display: flex; flex-direction: column; }
.proj-card__type {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 16px;
}
.proj-card__meta { font-size: 14.5px; color: var(--grey); margin-bottom: 4px; }
.proj-card__meta li { padding: 3px 0; }
.proj-card__meta b { color: var(--charcoal); font-weight: 600; }
.proj-card__scope {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--charcoal);
}
.proj-card__scope b { color: var(--sand); font-weight: 600; }
.proj-card__client {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}
.projects__more { margin-top: 48px; }

/* ============================================================
   S6 — OEM Procurement band
   ============================================================ */
.oem {
  background: var(--charcoal);
  color: var(--offwhite);
  padding: 96px 0;
}
.oem .container {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: center;
}
.oem__text { font-size: 19px; line-height: 1.75; color: rgba(245, 242, 236, 0.85); margin: 0; }
.oem__cta { text-align: right; }

/* ============================================================
   S7 — News
   ============================================================ */
.news { padding: var(--section-pad) 0; }
.news__list { margin-top: 48px; border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.news-item__date {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 600;
}
.news-item__title {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.35;
}
.news-item__title a { text-decoration: none; }
.news-item__title a:hover { color: var(--sand); }

/* ============================================================
   S8 — Footer
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: rgba(245, 242, 236, 0.78);
  padding: 80px 0 0;
  font-size: 14.5px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer__brand {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--offwhite);
  margin-bottom: 16px;
}
.footer__brand span { color: var(--sand); }
.footer__tag { color: rgba(245, 242, 236, 0.6); max-width: 320px; margin: 0; }
.footer__head {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer__grid address { font-style: normal; line-height: 1.8; }
.footer__grid a { color: rgba(245, 242, 236, 0.78); text-decoration: none; }
.footer__grid a:hover { color: var(--sand); }
.footer__nav li { padding: 5px 0; }
.iso-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.iso-badge {
  border: 1px solid var(--line-dark);
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(245, 242, 236, 0.85);
  background: var(--charcoal-2);
}
.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding: 26px 0;
  font-size: 13px;
  color: rgba(245, 242, 236, 0.5);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 88px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stages__row { grid-template-columns: repeat(2, 1fr); }
  .stage { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 32px; }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: 1fr; max-width: 640px; }
  .oem .container { grid-template-columns: 1fr; gap: 36px; }
  .oem__cta { text-align: left; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .container { padding: 0 24px; }

  /* Mobile nav: checkbox-driven, works without JS */
  .nav-toggle-btn { display: block; }
  .site-nav {
    position: absolute;
    top: 88px; left: 0; right: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 28px;
    border-top: 1px solid var(--line-dark);
    display: none;
  }
  .nav-toggle:checked ~ .site-header .site-nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
  .nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--sand); }
  .lang-switch { margin-top: 18px; text-align: center; }
  .nav-toggle:checked ~ .site-header .nav-toggle-btn span { background: transparent; }
  .nav-toggle:checked ~ .site-header .nav-toggle-btn span::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .site-header .nav-toggle-btn span::after { transform: translateY(-8px) rotate(-45deg); }

  .hero { min-height: 78vh; }
  .hero .container { padding-top: 140px; padding-bottom: 72px; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 600px) {
  :root { --section-pad: 72px; }
  .stats__grid { grid-template-columns: 1fr; gap: 36px; }
  .stages__row { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   Industries page (industries.html / vi/industries.html)
   Additive only — scoped classes, no changes to existing rules.
   Palette per Blueprint §2: charcoal / sand / offwhite / grey.
   ============================================================ */

/* Page hero: shorter than homepage hero */
.hero--page { min-height: 0; }
.hero--page .container { padding-top: 148px; padding-bottom: 88px; }
.hero--page .hero__sub { max-width: 700px; }

/* Anchor strip below hero */
.ind-nav {
  background: var(--charcoal);
  border-top: 1px solid var(--line-dark);
}
.ind-nav .container {
  display: flex; flex-wrap: wrap;
}
.ind-nav a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 20px 28px 20px 0;
  margin-right: 28px;
  color: rgba(245, 242, 236, 0.75);
  text-decoration: none;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border-top: 2px solid transparent;
}
.ind-nav a:hover { color: var(--sand); }
.ind-nav a b {
  color: var(--sand); font-weight: 600;
  font-size: 12px; letter-spacing: 0.14em;
}

/* Industry sections */
.ind-section { padding: var(--section-pad) 0; }
.ind-section--alt { background: #EDE8DF; }
.ind-section__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: start;
}
.ind-section--flip .ind-section__media { order: -1; }
.ind-section__num {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--sand);
  margin-bottom: 14px;
}
.ind-section__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.ind-section__lead {
  color: var(--grey);
  font-size: 17.5px;
  max-width: 560px;
  margin-bottom: 44px;
}
.ind-section__media {
  position: sticky;
  top: 120px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--charcoal); /* dark fallback behind image */
}
.ind-section__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ind-section--alt .ind-section__media { background: var(--charcoal); }

/* Process-unit list */
.unit-list { border-top: 1px solid var(--line); }
.unit-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.unit-item__num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--sand);
}
.unit-item__name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.unit-item__name small {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 3px;
}
.unit-item__desc {
  margin: 0;
  font-size: 15px;
  color: var(--grey);
  line-height: 1.65;
}

/* Typical equipment & standards note */
.equip-note {
  margin-top: 44px;
  padding: 26px 28px;
  border-left: 3px solid var(--sand);
  background: var(--offwhite);
}
.ind-section--alt .equip-note { background: #F5F2EC; }
.ind-section:not(.ind-section--alt) .equip-note { background: #EFEAE1; }
.equip-note__label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 600;
  margin-bottom: 10px;
}
.equip-note p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--charcoal);
}

/* Closing CTA band reuses .oem */

@media (max-width: 1024px) {
  .ind-section__grid { grid-template-columns: 1fr; gap: 48px; }
  .ind-section--flip .ind-section__media { order: 0; }
  .ind-section__media { position: static; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .unit-item { grid-template-columns: 40px 1fr; gap: 14px; }
  .ind-nav a { padding: 16px 18px 16px 0; margin-right: 18px; }
}
