/* ============================================================
   SPEEDY CRANE TRUCKS - industrial / pit-lane design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  --black: #0B0C0E;
  --charcoal: #131519;
  --panel: #191C21;
  --panel-2: #1F232A;
  --steel: #262A31;
  --steel-2: #343A44;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  --yellow: #F7B500;
  --yellow-2: #FFCB2E;
  --gold: #C99A3B;

  --silver: #D7DCE2;
  --white: #F4F6F8;
  --ink: #E7EAEE;
  --muted: #99A1AC;
  --muted-2: #6C7480;

  --font-display: 'Anton', sans-serif;
  --font-head: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);

  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 16px, #101114 16px 32px);
  --checker: conic-gradient(#0B0C0E 0 25%, #F4F6F8 0 50%, #0B0C0E 0 75%, #F4F6F8 0);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--yellow); color: #000; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--yellow);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; line-height: .96; text-transform: uppercase; }

.h-xl { font-size: clamp(44px, 8.5vw, 108px); }
.h-lg { font-size: clamp(34px, 5.6vw, 68px); }
.h-md { font-size: clamp(26px, 3.6vw, 42px); }

.lead { font-size: clamp(17px, 1.9vw, 21px); color: var(--muted); max-width: 56ch; }

.chrome {
  background: linear-gradient(180deg, #FFFFFF 0%, #D7DCE2 42%, #8B929B 60%, #EFF2F5 61%, #A9B0BA 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.amber { color: var(--yellow); -webkit-text-fill-color: var(--yellow); }
.gold { color: var(--gold); }

/* ---------- Decorative bands ---------- */
.hazard-rule { height: 6px; width: 100%; background: var(--hazard); }
.checker-rule {
  height: 22px; width: 100%;
  background-image: var(--checker);
  background-size: 22px 22px;
  opacity: .9;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 15px 26px;
  border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--yellow); color: #0A0A0A; }
.btn--primary:hover { background: var(--yellow-2); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--steel-2); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 12, 14, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .hazard-rule { height: 4px; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand__txt { display: none; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  padding: 10px 14px; border-radius: 2px; position: relative;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--yellow); }
.nav-links a.is-active { color: var(--yellow); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--yellow);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-family: var(--font-mono); font-weight: 700; font-size: 15px;
  color: var(--white); display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.nav-phone span { color: var(--yellow); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--white); margin: 5px 0; transition: .25s; }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 80;
  background: var(--black);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.6,0,.2,1);
  display: flex; flex-direction: column;
  padding: 24px var(--pad);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-nav__top img { height: 40px; }
.mobile-nav__close { background: none; border: 0; color: var(--white); font-size: 34px; cursor: pointer; line-height: 1; }
.mobile-nav a.mlink {
  font-family: var(--font-display); font-size: 34px; text-transform: uppercase;
  padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--white);
}
.mobile-nav a.mlink:hover { color: var(--yellow); }
.mobile-nav .btn { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 120% at 75% 20%, #24272E 0%, #101216 45%, var(--black) 100%); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,12,14,.96) 0%, rgba(11,12,14,.82) 42%, rgba(11,12,14,.35) 100%),
    linear-gradient(0deg, rgba(11,12,14,.98) 2%, rgba(11,12,14,0) 55%);
}
.hero__inner { padding-block: clamp(72px, 12vw, 150px) clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 15ch; margin: 22px 0 20px; }
.hero .lead { margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Spec strip */
.spec-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-strong); background: rgba(19,21,25,.6);
  margin-top: clamp(40px, 6vw, 64px);
  backdrop-filter: blur(4px);
}
.spec {
  padding: 22px 24px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.spec:last-child { border-right: 0; }
.spec__num { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); color: var(--white); line-height: 1; }
.spec__num .u { color: var(--yellow); }
.spec__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Ticker ---------- */
.ticker { background: var(--yellow); color: #0A0A0A; overflow: hidden; border-block: 4px solid #0A0A0A; }
.ticker__track { display: flex; gap: 0; white-space: nowrap; animation: scroll-x 34s linear infinite; }
.ticker__track span {
  font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: .05em;
  text-transform: uppercase; padding: 12px 26px; display: inline-flex; align-items: center; gap: 26px;
}
.ticker__track span::after { content: "◆"; font-size: 9px; opacity: .55; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Section head ---------- */
.sec-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { margin: 16px 0 18px; }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; gap: 40px; flex-wrap: wrap; }

/* ---------- Capacity gauge (signature) ---------- */
.gauge { border: 1px solid var(--line); background: var(--charcoal); }
.gauge__scale {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-2);
  padding: 14px 22px; border-bottom: 1px solid var(--line);
  text-transform: uppercase;
}
.gauge__rows { padding: 8px 0; }
.grow {
  display: grid; grid-template-columns: 220px 1fr; align-items: center;
  gap: 22px; padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.grow:last-child { border-bottom: 0; }
.grow__label { display: flex; flex-direction: column; gap: 2px; }
.grow__label b { font-family: var(--font-display); font-size: 24px; color: var(--white); font-weight: 400; }
.grow__label small { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.grow__bar { position: relative; height: 30px; background: #0E0F12; border: 1px solid var(--line); overflow: hidden; }
.grow__fill {
  position: absolute; inset: 0 auto 0 0; width: 0;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, #D89E00 12px 24px);
  transition: width 1.1s cubic-bezier(.2,.7,.2,1);
  display: flex; align-items: center; justify-content: flex-end;
}
.grow__fill b { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: #0A0A0A; padding-right: 10px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel); border: 1px solid var(--line);
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); background: var(--panel-2); }
.card__k { font-family: var(--font-mono); font-size: 12px; color: var(--yellow); letter-spacing: .1em; }
.card h3 { font-size: 24px; margin: 14px 0 10px; color: var(--white); }
.card p { color: var(--muted); font-size: 15.5px; }
.card__ico {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--steel-2); color: var(--yellow); margin-bottom: 6px;
}
.card__ico svg { width: 24px; height: 24px; }

/* lift list */
.lift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lift {
  background: var(--charcoal); padding: 20px 22px; display: flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .02em;
  color: var(--ink); transition: background .2s ease, color .2s ease;
}
.lift:hover { background: var(--panel-2); color: var(--yellow); }
.lift .n { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); min-width: 26px; }

/* feature list with tick */
.checks { display: grid; gap: 14px; }
.checks li { list-style: none; display: flex; gap: 14px; align-items: flex-start; }
.checks li .tk {
  flex: none; width: 24px; height: 24px; margin-top: 2px;
  background: var(--yellow); color: #0A0A0A; display: grid; place-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 5px 100%, 0 calc(100% - 5px));
}
.checks li .tk svg { width: 14px; height: 14px; }
.checks li b { color: var(--white); font-family: var(--font-head); font-weight: 700; }
.checks li span { color: var(--muted); font-size: 15px; display: block; }

/* ---------- Case study cards ---------- */
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cs {
  background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .25s ease, transform .25s ease;
}
.cs:hover { border-color: var(--yellow); transform: translateY(-4px); }
.cs__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--steel); }
.cs__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: contrast(1.03); }
.cs:hover .cs__img img { transform: scale(1.06); }
.cs__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--yellow); color: #0A0A0A; padding: 5px 10px; font-weight: 700;
}
.cs__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cs__body h3 { font-size: 20px; color: var(--white); line-height: 1.02; }
.cs__body p { color: var(--muted); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--charcoal); overflow: hidden; }
.cta-band__inner { text-align: center; padding-block: clamp(56px, 8vw, 96px); position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(38px, 6.5vw, 82px); color: var(--white); }
.cta-band .lead { margin: 18px auto 32px; text-align: center; }
.cta-band .hero-cta { justify-content: center; }
.cta-band__flag {
  position: absolute; inset: 0 0 auto 0; height: 22px;
  background-image: var(--checker); background-size: 22px 22px; opacity: .5;
}
.cta-band__flag--b { inset: auto 0 0 0; top: auto; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); filter: grayscale(.2) contrast(1.05); }
.split__media .badge {
  position: absolute; bottom: -18px; right: -18px; background: var(--yellow); color: #0A0A0A;
  padding: 18px 22px; font-family: var(--font-display); font-size: 40px; line-height: .9;
}
.split__media .badge small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; font-weight: 700; }

/* ---------- Stats row ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.stat { padding: 32px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--font-display); font-size: clamp(40px, 5vw, 62px); color: var(--white); display: block; line-height: 1; }
.stat b .u { color: var(--yellow); }
.stat span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { border-top: 3px solid var(--steel-2); padding-top: 22px; transition: border-color .25s ease; }
.step:hover { border-color: var(--yellow); }
.step__n { font-family: var(--font-display); font-size: 44px; color: var(--yellow); line-height: 1; }
.step h3 { font-size: 20px; color: var(--white); margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-block { display: grid; gap: 2px; margin-bottom: 26px; }
.info-block .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 6px; }
.info-block .v { font-size: 19px; color: var(--white); font-family: var(--font-head); font-weight: 600; }
.info-block .v a:hover { color: var(--yellow); }
.info-block .sub { color: var(--muted); font-size: 14px; }

.form { background: var(--panel); border: 1px solid var(--line); padding: clamp(26px, 4vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: #0E0F12; border: 1px solid var(--steel);
  color: var(--white); font-family: var(--font-body); font-size: 16px; padding: 13px 15px;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: 13px; color: var(--muted-2); margin-top: 14px; font-family: var(--font-mono); }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .tick-big {
  width: 64px; height: 64px; margin: 0 auto 18px; background: var(--yellow); color: #0A0A0A;
  display: grid; place-items: center; clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.form-success .tick-big svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 30px; color: var(--white); margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* ---------- Map ---------- */
.map-embed { border: 1px solid var(--line); filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(120% 130% at 80% 10%, #22252C 0%, #101216 50%, var(--black) 100%); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) contrast(1.05) brightness(.5); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,12,14,.7), rgba(11,12,14,.92));
}
.page-hero__inner { padding-block: clamp(64px, 10vw, 128px) clamp(48px, 7vw, 88px); }
.page-hero h1 { margin: 18px 0 16px; max-width: 18ch; }
.crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--yellow); }
.crumbs span { color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.footer-brand img { height: 54px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: 15px; padding: 5px 0; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p, .footer-bottom a { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); letter-spacing: .04em; }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
  .lift-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .burger { display: block; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(2) { border-right: 0; }
  .spec:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .grow { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cs-grid { grid-template-columns: 1fr; }
  .lift-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .split__media .badge { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
