:root {
  --bg: #0c0d0d;
  --panel: #151716;
  --panel-soft: #1d201f;
  --line: #333734;
  --text: #f2f0ea;
  --muted: #b7b0a4;
  --accent: #d87a32;
  --accent-dark: #9f4c1b;
  --steel: #7c837d;
  --white: #fffaf0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(12, 13, 13, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #120b06;
  background: var(--accent);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

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

.nav-quote {
  padding: 10px 15px;
  color: var(--white) !important;
  border: 1px solid var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--line);
}

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

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  padding: 130px clamp(18px, 5vw, 76px) 70px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/images/latest-rear-rack-factory.png");
  background-size: cover;
  background-position: center 55%;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.88) 0%, rgba(5, 6, 6, 0.68) 42%, rgba(5, 6, 6, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 13, 13, 1) 0%, rgba(12, 13, 13, 0) 35%);
}

.hero-content {
  position: relative;
  width: min(790px, 100%);
}

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

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

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.7rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.25rem;
}

.hero-subtitle {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--white);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 700;
}

.hero-body {
  max-width: 680px;
  margin: 16px 0 0;
  color: #d4cfc5;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: #140b05;
  background: var(--accent);
}

.button-primary:hover,
.button-primary:focus {
  background: #ee8c3f;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

.section {
  padding: clamp(70px, 10vw, 126px) clamp(18px, 5vw, 76px);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(216, 122, 50, 0.12), transparent 28%),
    var(--bg);
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 34px;
}

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

.type-card {
  overflow: hidden;
  min-height: 230px;
  background: linear-gradient(145deg, var(--panel), #101211);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.type-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.type-card h3,
.type-card p,
.type-card span {
  margin-left: 24px;
  margin-right: 24px;
}

.type-card span {
  display: inline-block;
  margin-top: 22px;
  margin-bottom: 30px;
  color: var(--accent);
  font-weight: 800;
}

.type-card p,
.idea-card p,
.split-copy p,
.quote-copy p,
.site-footer p,
.steps p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: #111312;
}

.split-copy p {
  max-width: 620px;
  font-size: 1.04rem;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.feature-image {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

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

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

.idea-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}

.idea-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.idea-card div {
  padding: 24px;
}

.gallery-section {
  background: #151716;
}

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

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--panel-soft);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 9px 11px;
  color: var(--white);
  background: rgba(8, 9, 9, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.process-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  min-height: 180px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.steps span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.steps p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  background:
    linear-gradient(rgba(12, 13, 13, 0.86), rgba(12, 13, 13, 0.95)),
    url("assets/images/new-latch-closeup.png") center / cover;
}

.contact-panel {
  margin-top: 28px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-panel p {
  margin: 0 0 10px;
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: rgba(21, 23, 22, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--text);
  background: #0f1110;
  border: 1px solid #3b403c;
  border-radius: 0;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(216, 122, 50, 0.5);
  border-color: var(--accent);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-help {
  margin: 0;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 42px clamp(18px, 5vw, 76px);
  background: #080909;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h2 {
  font-size: 1.25rem;
}

.site-footer p {
  margin: 8px 0 0;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    background: rgba(12, 13, 13, 0.97);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 13px 0;
  }

  .nav-quote {
    margin-top: 8px;
    padding: 12px 14px !important;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .type-grid,
  .idea-grid,
  .split-section,
  .quote-section {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .brand span:last-child {
    max-width: 190px;
    font-size: 0.9rem;
    line-height: 1.15;
  }

  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  .hero-media {
    background-position: 57% center;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 52px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .type-grid,
  .steps,
  .gallery-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .type-card,
  .steps li {
    min-height: auto;
  }

  .steps span {
    margin-bottom: 32px;
  }

  .gallery-grid {
    grid-auto-rows: 260px;
  }

  .gallery-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
