:root {
  --ink: #101820;
  --muted: #5b6570;
  --line: #d9dee3;
  --paper: #f5f6f7;
  --panel: #ffffff;
  --charcoal: #101923;
  --steel: #24313d;
  --yellow: #f4b81c;
  --yellow-dark: #d69a00;
  --orange: #c76f1b;
  --green: #184c3a;
  --shadow: 0 18px 48px rgba(16, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 70px);
  color: #fff;
  background: rgba(16, 25, 35, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 310px;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 58px;
  height: 40px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.logo-bg {
  fill: var(--yellow);
  stroke: rgba(255, 255, 255, 0.36);
  stroke-width: 2;
}

.logo-ground,
.logo-track,
.logo-arm {
  fill: none;
  stroke: var(--charcoal);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-ground {
  stroke-width: 3.5;
}

.logo-track {
  stroke-width: 4.5;
}

.logo-arm {
  stroke-width: 4;
}

.logo-bucket {
  fill: var(--charcoal);
}

.logo-check {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.2;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a,
.header-cta {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

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

.header-cta {
  color: var(--charcoal);
  background: var(--yellow);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 20, 29, 0.94) 0%, rgba(12, 20, 29, 0.78) 42%, rgba(12, 20, 29, 0.25) 100%),
    linear-gradient(0deg, rgba(12, 20, 29, 0.86), rgba(12, 20, 29, 0.08) 48%, rgba(12, 20, 29, 0.62)),
    url("assets/img/yard-12.webp") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: var(--yellow);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
  padding: 56px 0;
}

.hero-kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  color: var(--charcoal);
  background: var(--yellow);
  border-radius: 4px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: 0.94;
  letter-spacing: 0;
}

h1 span {
  color: var(--yellow);
}

.mobile-break {
  display: none;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 32px 0;
}

.trust-row article {
  min-height: 92px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  margin-bottom: 6px;
  color: #fff;
}

.trust-row span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.btn.primary {
  color: var(--charcoal);
  background: var(--yellow);
}

.btn.primary:hover {
  background: #ffd34f;
}

.btn.outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.04);
}

.btn.dark {
  color: #fff;
  background: var(--steel);
}

.micro-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.section {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 78px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-head p,
.intro-grid p,
.machine-body p,
.video-grid p,
.process p,
.contact-copy p,
figcaption {
  color: var(--muted);
}

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

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: 28px;
  align-items: stretch;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-facts article,
.machine-card,
.video-grid article,
.process article,
.lead-form,
.contact-copy,
.disclaimer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.06);
}

.quick-facts article {
  min-height: 118px;
  padding: 18px;
}

.quick-facts span,
.quick-facts strong {
  display: block;
}

.quick-facts span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quick-facts strong {
  margin-top: 10px;
  font-size: 24px;
}

.stock-section {
  display: flex;
  flex-direction: column;
}

.stock-section .section-head {
  order: 0;
}

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

.stock-group {
  margin-top: 34px;
}

.stock-group:first-of-type {
  margin-top: 0;
}

.stock-group-large {
  order: 1;
  margin-top: 0;
}

.stock-group-small {
  order: 2;
  margin-top: 34px;
}

.stock-group-midi {
  order: 3;
}

.stock-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
  padding: 22px 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(244, 184, 28, 0.2), rgba(244, 184, 28, 0) 48%),
    var(--charcoal);
  border-left: 8px solid var(--yellow);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stock-group-head h3 {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.98;
  text-transform: uppercase;
}

.stock-group-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.stock-group-head strong {
  flex: 0 0 auto;
  color: var(--yellow);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.stock-eyebrow {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.brand-grid article {
  min-height: 142px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(244, 184, 28, 0.16), rgba(244, 184, 28, 0) 58%),
    var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brand-grid strong,
.brand-grid span {
  display: block;
}

.brand-grid strong {
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 22px;
}

.brand-grid span {
  color: rgba(255, 255, 255, 0.76);
}

.machine-card {
  overflow: hidden;
}

.machine-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  background: #eef2f5;
}

.machine-body {
  padding: 20px;
}

.pill {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: var(--charcoal);
  background: #f5d978;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
}

dl {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
  text-align: right;
}

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

.inspection-grid figure {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border-color: #cfd6dd;
  box-shadow: 0 10px 26px rgba(16, 24, 32, 0.08);
}

.inspection-grid figure img {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
}

.inspection-grid figcaption {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 14px 16px;
}

.inspection-grid figcaption span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 24px;
  margin-bottom: 10px;
  border-radius: 4px;
  color: var(--ink);
  background: #ffe08a;
  font-size: 0.78rem;
  font-weight: 900;
}

.inspection-grid figcaption strong {
  margin-bottom: 6px;
  font-size: 1rem;
}

.inspection-grid figcaption p {
  margin: 0;
  color: var(--muted);
}

figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

figure img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
}

figcaption {
  padding: 16px;
}

figcaption strong {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
}

.video-section {
  width: 100%;
  max-width: none;
  padding: 82px clamp(22px, 4vw, 70px);
  background: #121c26;
  color: #fff;
}

.video-section .section-head {
  width: min(1240px, 100%);
  margin-inline: auto;
}

.video-section .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.video-grid {
  display: grid;
  width: min(1240px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-grid article {
  overflow: hidden;
  color: var(--ink);
}

.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.video-grid h3,
.video-grid p {
  padding: 0 18px;
}

.video-grid h3 {
  padding-top: 18px;
}

.video-grid p {
  padding-bottom: 18px;
}

.model-video-block {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-top: 0;
  border-top: 0;
}

.model-video-intro {
  max-width: 880px;
  margin-bottom: 30px;
}

.model-video-intro h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
}

.model-video-intro p {
  color: rgba(255, 255, 255, 0.72);
}

.video-model-group {
  margin-top: 36px;
}

.video-model-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.video-model-head span {
  display: block;
  margin-bottom: 6px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-model-head h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.05;
}

.video-model-head p {
  max-width: 740px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.video-model-head strong {
  color: var(--yellow);
  font-size: 26px;
  white-space: nowrap;
}

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

.model-video-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
}

.model-video-card {
  overflow: hidden;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.model-video-card iframe,
.video-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 0;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transform: scale(1.02);
  transition: transform 180ms ease, filter 180ms ease;
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.38));
}

.video-thumb:hover img {
  filter: saturate(1.06) contrast(1.08);
  transform: scale(1.06);
}

.play-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 11px;
  color: var(--charcoal);
  background: var(--yellow);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.play-badge::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--charcoal);
}

.model-video-card div {
  padding: 16px;
}

.model-video-card .pill {
  margin-bottom: 10px;
}

.model-video-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.22;
}

.model-video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.video-source {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.video-source:hover {
  color: var(--orange);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process article {
  min-height: 220px;
  padding: 18px;
}

.process span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--charcoal);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
}

.process strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1fr);
  gap: 18px;
  align-items: start;
}

.contact-copy,
.lead-form {
  padding: 26px;
}

address {
  margin-top: 24px;
  color: var(--muted);
  font-style: normal;
}

address strong {
  color: var(--ink);
}

.lead-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--ink);
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(244, 184, 28, 0.35);
  border-color: var(--yellow-dark);
}

.disclaimer {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto 60px;
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
}

.disclaimer strong {
  color: var(--ink);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.86);
}

.video-modal.open {
  display: flex;
}

.video-modal-panel {
  position: relative;
  width: min(1040px, calc(100vw - 40px));
  overflow: hidden;
  color: #fff;
  background: #0c141d;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.42);
}

.video-modal-panel h3 {
  margin: 0;
  padding: 18px 58px 16px 18px;
  color: #fff;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.2;
}

.video-modal-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-player iframe,
.video-modal-player video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.video-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 40px;
  padding: 8px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  cursor: pointer;
}

.video-modal-close {
  z-index: 1;
}

@media (max-width: 1120px) {
  .trust-row,
  .stock-grid,
  .brand-grid,
  .video-grid,
  .model-video-grid,
  .model-video-grid.compact,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .intro-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    width: calc(100% - 32px);
    max-width: 358px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    overflow: hidden;
  }

  .nav a {
    padding-inline: 3px;
    text-align: center;
    font-size: 13px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-bg {
    background-position: center;
  }

  .hero-content {
    width: calc(100% - 28px);
    max-width: 362px;
    margin-left: 14px;
    margin-right: 14px;
    padding: 48px 0 58px;
    overflow: hidden;
  }

  .hero-kicker {
    display: inline-block;
    max-width: 100%;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  h1 {
    font-size: 40px;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .mobile-break {
    display: block;
  }

  .hero-copy {
    font-size: 17px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .trust-row,
  .stock-grid,
  .brand-grid,
  .inspection-grid,
  .video-grid,
  .model-video-grid,
  .model-video-grid.compact,
  .process,
  .quick-facts {
    grid-template-columns: 1fr;
  }

  .section,
  .disclaimer {
    width: calc(100% - 28px);
    padding-block: 54px;
  }

  .video-section {
    width: 100%;
    padding-inline: 14px;
  }

  .model-video-block {
    margin-top: 0;
    padding-top: 0;
  }

  .video-model-head {
    display: block;
    padding: 18px;
  }

  .video-model-head strong {
    display: block;
    margin-top: 12px;
    font-size: 24px;
  }

  .contact-section {
    width: calc(100% - 28px);
  }

  .stock-group {
    margin-top: 26px;
  }

  .stock-group-large {
    margin-top: 0;
  }

  .stock-group-small {
    margin-top: 26px;
  }

  .stock-group-head {
    display: block;
    padding: 18px;
  }

  .stock-group-head h3 {
    font-size: 31px;
  }

  .stock-group-head strong {
    display: block;
    margin-top: 14px;
    font-size: 34px;
  }
}
