:root {
  --black: #070707;
  --charcoal: #111315;
  --steel: #242a2e;
  --steel-light: #899199;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f2e8;
  --muted: #b9b7ae;
  --gold: #d8a328;
  --gold-bright: #ffcf4b;
  --red: #b42620;
  --red-bright: #ee3d32;
  --max: 1180px;
  --header-h: 82px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    radial-gradient(circle at 80% 5%, rgba(216, 163, 40, 0.16), transparent 28rem),
    linear-gradient(135deg, #070707 0%, #151719 52%, #090909 100%);
  background-size: 54px 54px, 54px 54px, auto, auto;
}

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

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

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 12px clamp(18px, 4vw, 46px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 7, 7, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(230px, 48vw);
}

.brand img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 11px 16px;
  color: #e7e1d6;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

.site-nav .nav-cta {
  margin-left: 8px;
  color: #120d05;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border: 1px solid rgba(255, 207, 75, 0.5);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

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

.section-dark {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  padding: clamp(110px, 14vh, 180px) clamp(20px, 5vw, 70px) clamp(46px, 7vw, 86px);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.94) 0%, rgba(7, 7, 7, 0.72) 42%, rgba(7, 7, 7, 0.2) 100%),
    linear-gradient(0deg, #070707 0%, rgba(7, 7, 7, 0.12) 32%),
    url("assets/mobile-truck-snow.webp") center right / cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(180, 38, 32, 0.36), transparent 32%),
    radial-gradient(circle at 72% 20%, rgba(255, 207, 75, 0.18), transparent 24rem);
  mix-blend-mode: screen;
  pointer-events: none;
}

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

.hero h1,
.page-hero h1,
.contact-page h1,
.thanks h1 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(3.05rem, 7vw, 6.9rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero p {
  max-width: 760px;
  margin: 28px 0 0;
  color: #e0d8ca;
  font-size: clamp(1.06rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.button-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: #151006;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 14px 36px rgba(216, 163, 40, 0.24);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

.btn-secondary:hover {
  border-color: rgba(255, 207, 75, 0.48);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: clamp(28px, 5vw, 70px);
  width: min(360px, calc(100% - 40px));
  padding: 22px;
  border-left: 4px solid var(--red-bright);
  background: rgba(13, 14, 15, 0.78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-panel span,
.section-label,
.site-footer span {
  display: block;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.services-band,
.split-section,
.hiring-section,
.gallery-page,
.service-detail-list {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 70px);
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 34px;
}

.section-heading h2,
.split-copy h2,
.hiring-card h2,
.contact-copy h2 {
  margin: 8px 0 0;
  max-width: 850px;
  font-size: clamp(2rem, 4.8vw, 4.35rem);
  line-height: 1.02;
  font-weight: 950;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 260px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  transition: transform 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(180, 38, 32, 0.26), rgba(255,255,255,0.025));
}

.service-card span {
  color: var(--gold);
  font-weight: 950;
}

.service-card h3 {
  margin: 46px 0 12px;
  font-size: 1.23rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.split-copy p {
  max-width: 660px;
}

.split-copy,
.contact-copy,
.quote-form,
.page-hero-inner {
  min-width: 0;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 16px 16px 16px 42px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
  color: #ede7dc;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 21px;
  width: 10px;
  height: 10px;
  background: var(--red-bright);
  box-shadow: 0 0 16px rgba(238, 61, 50, 0.72);
}

.split-photo {
  border: 1px solid var(--line);
  padding: 10px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 28px 70px rgba(0,0,0,0.34);
}

.split-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery-preview {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 70px);
  background: linear-gradient(180deg, #111315, #070707);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 16px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.gallery-grid.compact {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid var(--line);
  background: var(--steel);
}

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

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 54px 16px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.86), transparent);
  color: #fff3dd;
  font-weight: 900;
  text-transform: uppercase;
}

.center-action {
  width: min(var(--max), 100%);
  margin: 28px auto 0;
}

.hiring-section {
  background:
    linear-gradient(90deg, rgba(180,38,32,0.24), transparent 40%),
    url("assets/gold-city-hat.webp") right center / min(42vw, 520px) auto no-repeat,
    #121315;
}

.hiring-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 207, 75, 0.28);
  background: rgba(7, 7, 7, 0.76);
}

.hiring-card p {
  max-width: 720px;
}

.contact-strip,
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 70px);
  background:
    linear-gradient(90deg, rgba(7,7,7,0.9), rgba(7,7,7,0.72)),
    url("assets/welder-sparks.webp") center / cover;
}

.contact-page {
  min-height: calc(100vh - var(--header-h));
  align-items: center;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border-top: 4px solid var(--gold);
  background: rgba(12, 13, 14, 0.9);
  box-shadow: 0 24px 80px rgba(0,0,0,0.36);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: #f3edde;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: #080909;
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
  font-size: 1rem;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(255, 207, 75, 0.56);
  outline-offset: 1px;
}

.hidden {
  display: none;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 560px;
}

.contact-list a,
.contact-list div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-left: 3px solid var(--red-bright);
  background: rgba(255,255,255,0.05);
}

.contact-list strong {
  color: var(--gold-bright);
  text-transform: uppercase;
  font-size: 0.78rem;
}

.contact-list span {
  color: #f6f2e8;
  overflow-wrap: anywhere;
}

.page-hero {
  min-height: 62vh;
  display: grid;
  align-items: end;
  padding: clamp(120px, 18vh, 210px) clamp(20px, 5vw, 70px) clamp(50px, 8vw, 96px);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7,7,7,0.92), rgba(7,7,7,0.35)), var(--hero-img) center / cover;
}

.service-hero {
  --hero-img: url("assets/bucket-repair-yard.webp");
}

.gallery-hero {
  --hero-img: url("assets/truck-industrial-site.webp");
}

.page-hero-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.page-hero p {
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.service-detail-list {
  display: grid;
  gap: 18px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.service-detail {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

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

.service-detail h2 {
  margin: 0 0 8px;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 28px;
  padding: 44px clamp(20px, 5vw, 70px);
  border-top: 1px solid var(--line);
  background: #050505;
}

.site-footer strong {
  font-size: 1.2rem;
  text-transform: uppercase;
}

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

.site-footer small {
  grid-column: 1 / -1;
  color: #807d76;
}

.thanks {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(7,7,7,0.94), rgba(7,7,7,0.74)),
    url("assets/mobile-truck-snow.webp") center / cover;
}

.thanks-card {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  background: rgba(7,7,7,0.82);
}

.thanks-card img {
  width: 240px;
  margin-bottom: 32px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (max-width: 1040px) {
  .service-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split-section,
  .contact-strip,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    position: static;
    margin-top: 34px;
  }

  .hiring-section {
    background:
      linear-gradient(90deg, rgba(180,38,32,0.24), transparent 58%),
      #121315;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }

  .site-header {
    padding: 10px 16px;
  }

  .brand {
    width: 188px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(7,7,7,0.96);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .site-nav .nav-cta {
    margin: 12px 0 0;
    padding: 15px 18px;
    text-align: center;
  }

  .hero {
    min-height: 780px;
    align-items: end;
    padding-top: 110px;
  }

  .hero-media {
    background:
      linear-gradient(0deg, #070707 0%, rgba(7,7,7,0.42) 52%, rgba(7,7,7,0.16) 100%),
      url("assets/mobile-truck-snow.webp") center top / cover;
  }

  .hero h1,
  .page-hero h1,
  .contact-page h1,
  .thanks h1 {
    font-size: clamp(2.1rem, 9.4vw, 2.85rem);
  }

  .section-heading h2,
  .split-copy h2,
  .hiring-card h2,
  .contact-copy h2 {
    font-size: clamp(1.72rem, 7.8vw, 2.45rem);
  }

  .contact-page h1 {
    max-width: 330px;
    font-size: clamp(1.72rem, 6.5vw, 2.05rem);
  }

  .contact-page .contact-copy,
  .contact-page .contact-copy > p {
    max-width: 330px;
  }

  .button-row,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-grid,
  .gallery-grid,
  .gallery-grid.compact,
  .check-list {
    grid-template-columns: 1fr;
  }

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

  .gallery-item.large,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .hiring-card {
    display: grid;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
