:root {
  --ink: #090909;
  --ink-2: #111210;
  --paper: #f0eee8;
  --white: #fff;
  --muted: #a5a69f;
  --line: rgba(255,255,255,.14);
  --acid: #d8ee28;
  --max: 1180px;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--white); background: var(--ink); font-family: var(--body); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.topbar { position: sticky; top: 0; z-index: 50; color: var(--ink); background: var(--paper); border-bottom: 1px solid rgba(9,9,9,.16); }
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { width: 265px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nav-links a:hover { color: #555; }
.nav-call { padding-left: 24px; border-left: 1px solid rgba(9,9,9,.18); }
.nav-call small { display: block; font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.nav-call strong { font: 800 1.2rem var(--display); }

.page-hero { position: relative; min-height: 620px; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.28)), linear-gradient(0deg, var(--ink), transparent 45%); }
.page-hero img { position: absolute; inset: 0; z-index: -2; height: 100%; object-fit: cover; filter: saturate(.82); }
.page-hero img.hero-focus-lineboring { object-position: center 62%; }
.hero-copy { max-width: 880px; padding: 140px 0 76px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--acid); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 42px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 900px; margin-bottom: 25px; font: 900 clamp(4rem, 9vw, 8rem)/.8 var(--display); text-transform: uppercase; }
.lead { max-width: 720px; margin-bottom: 0; color: #e2e2dc; font-size: 1.1rem; }

.section { padding: 100px 0; }
.section-paper { color: var(--ink); background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
.section h2 { margin-bottom: 28px; font: 800 clamp(3rem, 6vw, 5.7rem)/.88 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.statement-title { max-width: 760px; }
.statement-title span { display: block; }
.statement-title .contrast {
  width: fit-content;
  margin-top: .12em;
  padding: .1em .18em .14em;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--body);
  font-size: .54em;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.section-copy { max-width: 680px; color: #454640; font-size: 1rem; }
.section-copy p { margin-bottom: 18px; }
.feature-panel { padding: 34px; color: var(--white); background: var(--ink-2); border-top: 5px solid var(--acid); }
.feature-panel h3 { margin-bottom: 20px; font: 800 2rem/1 var(--display); text-transform: uppercase; }
.feature-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 15px 0 15px 28px; border-bottom: 1px solid var(--line); }
.feature-list li::before { content: "→"; position: absolute; left: 0; color: var(--acid); font-weight: 900; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 580px; }
.split-media img { height: 100%; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(30px,7vw,100px); background: var(--ink-2); }
.split-copy p { max-width: 650px; color: var(--muted); }

.cta { padding: 90px 0; text-align: center; background: var(--acid); color: var(--ink); }
.cta h2 { margin-bottom: 18px; font: 900 clamp(3rem,7vw,6rem)/.85 var(--display); text-transform: uppercase; }
.cta p { max-width: 650px; margin: 0 auto 30px; }
.actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: transform .2s, color .2s, background .2s; }
.btn::after { content: "↗"; margin-left: 18px; font-size: 1rem; }
.btn:hover { transform: translateY(-3px); color: var(--ink); background: var(--white); }
.btn-outline { color: var(--ink); background: transparent; }

.service-switcher { padding: 72px 0; background: var(--ink); }
.service-switcher-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.service-switcher-head h2 { margin: 0; font: 800 clamp(2.6rem,5vw,4.6rem)/.88 var(--display); text-transform: uppercase; }
.service-switcher-head p { max-width: 440px; margin: 0; color: var(--muted); }
.service-switcher-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.service-switcher a {
  position: relative;
  min-height: 165px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px;
  background: #171815;
  border: 1px solid var(--line);
  border-top: 4px solid var(--acid);
  transition: color .2s, background .2s, transform .2s;
}
.service-switcher a:hover { color: var(--ink); background: var(--acid); transform: translateY(-4px); }
.service-switcher a[aria-current="page"] { color: var(--ink); background: var(--paper); }
.service-switcher small { color: var(--acid); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.service-switcher a:hover small,
.service-switcher a[aria-current="page"] small { color: var(--ink); }
.service-switcher strong {
  margin-top: 22px;
  font: 800 1.55rem/.95 var(--display);
  text-transform: uppercase;
}
.service-switcher .switch-arrow { align-self: flex-end; margin-top: auto; font-size: 1.3rem; }

.product-hero { min-height: 520px; }
.product-section { padding: 68px 0; scroll-margin-top: 90px; }
.product-section:nth-child(even) { background: var(--ink-2); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.product-image { min-height: 480px; height: 100%; object-fit: cover; }
.product-copy h2 { margin-bottom: 22px; font: 900 clamp(3.4rem,7vw,6.4rem)/.82 var(--display); text-transform: uppercase; }
.product-copy p { color: var(--muted); }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 32px; }
.product-tags span { padding: 8px 11px; color: var(--ink); background: var(--acid); font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.product-links { display: flex; gap: 12px; flex-wrap: wrap; }
.product-links .btn { border-color: var(--line); }

.catalogue-nav { position: sticky; top: 88px; z-index: 20; background: var(--acid); color: var(--ink); }
.catalogue-nav .shell { display: flex; gap: 0; overflow-x: auto; }
.catalogue-nav a { flex: 1 0 auto; padding: 16px 22px; border-right: 1px solid rgba(9,9,9,.22); font-size: .7rem; font-weight: 900; letter-spacing: .11em; text-align: center; text-transform: uppercase; }
.catalogue-intro { max-width: 760px; margin-bottom: 48px; color: var(--muted); }
.catalogue-group + .catalogue-group { margin-top: 55px; }
.catalogue-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.catalogue-heading h3 { margin: 0; font: 800 clamp(2rem,4vw,3.5rem)/.9 var(--display); text-transform: uppercase; }
.catalogue-heading span { color: var(--acid); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.catalogue-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.catalogue-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 0 22px 22px; overflow: hidden; background: #171815; border: 1px solid var(--line); border-top: 4px solid var(--acid); }
.catalogue-card img { width: calc(100% + 44px); height: 190px; margin: 0 -22px 18px; padding: 14px; object-fit: contain; background: #e8e8e4; }
.catalogue-card.tool-card img,
.catalogue-card.undercarriage-card img { height: 210px; }
.catalogue-card .code { color: var(--acid); font: 900 1rem var(--display); letter-spacing: .08em; }
.catalogue-card h4 { margin: 10px 0 8px; font: 800 1.65rem/.95 var(--display); text-transform: uppercase; }
.catalogue-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.catalogue-image { width: 100%; height: 340px; margin-bottom: 42px; object-fit: cover; }
.catalogue-enquiry { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-top: 34px; padding: 28px; color: var(--ink); background: var(--acid); }
.catalogue-enquiry p { max-width: 650px; margin: 0; }

.footer-wrap { background: #c9c9c6; border-top: 1px solid #aaa; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 40px 0; color: #4c4d49; font-size: .76rem; }
.footer img { width: 220px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .intro-grid, .product-grid, .split { grid-template-columns: 1fr; }
  .catalogue-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-switcher-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .split-media { min-height: 430px; }
  .product-image { min-height: 420px; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 30px), var(--max)); }
  .nav { min-height: 72px; }
  .logo { width: 205px; }
  .nav-call { display: none; }
  .page-hero { min-height: 540px; }
  .hero-copy { padding: 110px 0 55px; }
  h1 { font-size: clamp(3.7rem, 19vw, 5.5rem); }
  .section, .product-section { padding: 72px 0; }
  .intro-grid { gap: 38px; }
  .feature-panel { padding: 26px 22px; }
  .split-copy { padding: 65px 24px; }
  .product-image { min-height: 350px; }
  .catalogue-grid { grid-template-columns: 1fr; }
  .catalogue-card { min-height: 0; }
  .catalogue-image { height: 280px; }
  .catalogue-enquiry { align-items: flex-start; flex-direction: column; }
  .service-switcher-head { align-items: flex-start; flex-direction: column; }
  .service-switcher-grid { grid-template-columns: 1fr; }
  .service-switcher a { min-height: 130px; }
  .footer { align-items: flex-start; flex-direction: column; }
}
