/* =========================================================================
   IMS Express LLC — heavy-haul site stylesheet
   Palette: paper + ink + hi-vis amber. No gradients, no glassmorphism.
   Type: Oswald (display, condensed) + Inter (body).
   ========================================================================= */

:root {
  /* core palette */
  --paper:        #f4f1ea;   /* warm off-white, primary background */
  --paper-2:      #ebe6dc;   /* alt section background */
  --surface:      #ffffff;   /* card surfaces */
  --ink:          #0e0e0e;   /* near-black, primary text & footer */
  --ink-2:        #1f1f1e;   /* dark steel */
  --ink-3:        #3a3a37;   /* secondary dark */
  --muted:        #5c5a55;   /* muted text on paper */
  --muted-2:      #8a8780;   /* further muted */
  --rule:         #d6d2c7;   /* hairline rules on paper */
  --rule-strong:  #1a1a18;   /* hairline rules on dark */

  /* accents */
  --amber:        #f59e0b;   /* hi-vis amber, primary accent */
  --amber-deep:   #b45309;   /* hover / pressed */
  --amber-soft:   #fde9c1;   /* tint backgrounds */
  --safety-red:   #b91c1c;   /* used very sparingly */

  /* layout */
  --max:          1240px;
  --gutter:       clamp(20px, 4vw, 32px);
  --radius-xs:    3px;
  --radius-sm:    4px;
  --radius:       6px;

  /* type */
  --display:      "Oswald", "Inter", "Helvetica Neue", Arial, sans-serif;
  --body:         "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

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

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

p { margin: 0 0 1rem; }

ul { margin: 0; padding-left: 1.1rem; }

/* ------------------------------------------------------------- containers */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container-wide { max-width: 1480px; }

/* --------------------------------------------------------------- typography */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin: 0 0 0.85rem;
  color: var(--ink);
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.012em;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  font-weight: 600;
}

h3 {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}

h4 {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-deep);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--amber);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--ink-3);
  max-width: 60ch;
  line-height: 1.55;
}

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

.small { font-size: 0.86rem; }

.mono {
  font-family: ui-monospace, "SF Mono", "Menlo", "Cascadia Mono", "Consolas", monospace;
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------------ topbar */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.83rem;
  border-bottom: 2px solid var(--amber);
}

.topbar .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  color: #d8d4c7;
}

.topbar-left::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.topbar-cta {
  color: var(--paper);
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar-cta:hover { color: var(--amber); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.logo span { color: var(--amber-deep); }

.logo-mark {
  display: inline-block;
  width: 10px; height: 22px;
  background: var(--amber);
  margin-right: 0.35rem;
  transform: skewX(-12deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
  position: relative;
  white-space: nowrap;
}

.nav a:hover { background: var(--paper-2); color: var(--ink); }

.nav a.active { color: var(--ink); }

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.18rem;
  height: 2px;
  background: var(--amber);
}

.nav-cta { display: inline-flex; gap: 0.55rem; }

/* mobile hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-deep);
  border-color: var(--amber-deep);
  color: var(--paper);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.btn-ghost:hover { border-color: var(--ink); }

.btn-block { width: 100%; }

.btn .arrow { font-weight: 400; transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 4px solid var(--amber);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(14,14,14,0.28) 0%, rgba(14,14,14,0.58) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  max-width: 920px;
}

.hero .eyebrow { color: var(--amber); }
.hero .eyebrow::before { background: var(--amber); }

.hero h1 {
  color: var(--paper);
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  margin-bottom: 1.4rem;
  letter-spacing: -0.015em;
}

.hero p.lead {
  color: #d4cfc1;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  max-width: 56ch;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-actions .btn-secondary {
  color: var(--paper);
  border-color: var(--paper);
}
.hero-actions .btn-secondary:hover {
  background: var(--paper);
  color: var(--ink);
}

/* hero fact strip */
.hero-strip {
  position: relative;
  z-index: 2;
  background: rgba(14,14,14,0.92);
  border-top: 1px solid rgba(245,158,11,0.25);
}

.hero-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245,158,11,0.18);
  padding: 0;
}

.hero-fact {
  background: var(--ink);
  padding: 1.1rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-fact:first-child { padding-left: var(--gutter); }

.hero-fact .label {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.hero-fact .value {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------------ section */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section.alt {
  background: var(--paper-2);
}

.section.dark {
  background: var(--ink);
  color: var(--paper);
}

.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--paper); }
.section.dark .lead, .section.dark .muted { color: #c9c4b6; }
.section.dark .eyebrow { color: var(--amber); }
.section.dark .eyebrow::before { background: var(--amber); }

.section-head {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 70ch;
}

.section-head.between {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}

.section-head.between > .text { max-width: 60ch; }

.section-cta { margin-top: 2rem; }

/* ------------------------------------------------------------------ grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem; }

/* ---------------------------------------------------------- the value cards */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.value-grid > .value {
  background: var(--surface);
  padding: 1.6rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
}

.value-grid > .value .num {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--amber-deep);
  margin-bottom: 0.65rem;
}

.value-grid > .value h3 {
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
}

.value-grid > .value p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-3);
  line-height: 1.55;
}

/* --------------------------------------------------- service photo cards */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.service {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service:hover {
  transform: translateY(-2px);
  border-color: var(--ink-3);
  box-shadow: 0 8px 24px rgba(14,14,14,0.08);
}

.service-photo {
  aspect-ratio: 16 / 9;
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}

.service-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service:hover .service-photo img { transform: scale(1.04); }

.service-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.32rem 0.55rem;
  border-radius: var(--radius-xs);
}

.service-body {
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
}

.service-body p {
  margin: 0 0 1rem;
  color: var(--ink-3);
  font-size: 0.97rem;
}

.service-meta {
  margin-top: auto;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------------------------------------------------- "from the road" strip */
.proof {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
}

.proof h2 { color: var(--paper); }
.proof .eyebrow { color: var(--amber); }
.proof .eyebrow::before { background: var(--amber); }
.proof .lead { color: #c9c4b6; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.proof-grid a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--ink-2);
}

.proof-grid a img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
  opacity: 0.92;
}

.proof-grid a:hover img { transform: scale(1.05); opacity: 1; }

.proof-grid a.tall { grid-row: span 2; aspect-ratio: 4 / 6; }

/* --------------------------------------------------------------- callout */
.callout {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.2rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  border-left: 6px solid var(--amber);
}

.callout h2 { color: var(--paper); margin-bottom: 1rem; }
.callout p { color: #c9c4b6; margin-bottom: 1.5rem; }

.callout-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.callout-actions .btn-secondary {
  color: var(--paper);
  border-color: var(--paper);
}
.callout-actions .btn-secondary:hover {
  background: var(--paper);
  color: var(--ink);
}

.callout-aside {
  font-family: var(--display);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.callout-aside .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(245,158,11,0.18);
  padding-bottom: 0.7rem;
}

.callout-aside .row:last-child { border-bottom: none; }

.callout-aside .label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.callout-aside .value {
  font-size: 1.1rem;
  color: var(--paper);
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------------- forms */
.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.list-clean li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-2);
  font-size: 0.97rem;
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px; height: 2px;
  background: var(--amber);
}

.quote-panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.quote-panel h3, .quote-panel h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

label {
  display: block;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.78rem 0.9rem;
  font-family: var(--body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder, textarea::placeholder { color: var(--muted-2); }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.18);
}

textarea { resize: vertical; min-height: 130px; }

.form-submit-wrap {
  margin-top: 1.4rem;
  margin-bottom: 0;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------------------------------------- trailer configuration cards */
.config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.config-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.config-card:hover {
  border-color: var(--ink-3);
  box-shadow: 0 8px 24px rgba(14, 14, 14, 0.08);
}

.config-head {
  background: var(--ink);
  border-bottom: 3px solid var(--amber);
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.config-head .config-axle {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.config-head h3 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0;
}

.config-figure {
  background: #ffffff;
  padding: 1.4rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 150px;
}

.config-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 220px;
}

@media (max-width: 880px) {
  .config-grid { grid-template-columns: 1fr; }
  .config-figure { padding: 1.1rem 0.9rem; min-height: 110px; }
  .config-head { padding: 0.75rem 1rem; flex-wrap: wrap; gap: 0.45rem; }
  .config-head h3 { font-size: 0.9rem; }
}

/* job application form sections */
.form-section-title {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin: 2.2rem 0 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.form-section-title::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--amber);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  margin-top: 0.4rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-size: 0.94rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
  font-weight: 400;
  cursor: pointer;
  padding: 0.4rem 0;
}

.check-item input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--amber);
  flex: 0 0 auto;
}

.app-quals {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 1.5rem;
}

.app-quals h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.4rem;
}

/* --------------------------------------------------------------- page hero */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--amber);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(14,14,14,0.78) 0%, rgba(14,14,14,0.92) 100%),
    url("assets/gallery-hero-bg.png") center 45% / cover no-repeat;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  color: var(--paper);
  margin-bottom: 0.85rem;
}

.page-hero .lead {
  color: #d4cfc1;
  margin: 0;
}

.page-hero .eyebrow { color: var(--amber); }
.page-hero .eyebrow::before { background: var(--amber); }

.page-hero.gallery-hero::before {
  background:
    linear-gradient(180deg, rgba(14,14,14,0.65) 0%, rgba(14,14,14,0.85) 100%),
    url("assets/gallery-hero-bg.png") center 35% / cover no-repeat;
}

/* ---------------------------------------------------------- info cards (about/services pages) */
.info-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}

.info-card h2 {
  font-size: 1.7rem;
  margin-bottom: 0.85rem;
}

.info-card h3 {
  margin-top: 1.3rem;
  margin-bottom: 0.4rem;
}

.info-card p { color: var(--ink-3); }

/* numbered process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--rule);
}

.step {
  background: var(--surface);
  padding: 1.6rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.step:not(:last-child) { border-right: 1px solid var(--rule); }

.step .step-num {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--amber-deep);
}

.step h3 { font-size: 1.1rem; margin: 0 0 0.25rem; }

.step p { margin: 0; color: var(--ink-3); font-size: 0.95rem; }

/* ------------------------------------------------------------- contact card */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}

.contact-row:first-of-type { padding-top: 0; }
.contact-row:last-of-type { border-bottom: none; padding-bottom: 0; }

.contact-row .label {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-row .value {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--ink);
}

.phone-link {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.phone-link:hover { color: var(--amber-deep); }

/* ----------------------------------------------------------------- gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  display: block;
  background: var(--ink);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.2s ease;
  opacity: 0.95;
}

.gallery-item:hover img { transform: scale(1.04); opacity: 1; }

/* ------------------------------------------------------------------ footer */
.footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 4px solid var(--amber);
}

.footer .container {
  padding-top: clamp(2.8rem, 5vw, 4rem);
  padding-bottom: 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer h3 {
  color: var(--paper);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer .brand h3 {
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.footer .brand p {
  color: #b8b3a4;
  font-size: 0.94rem;
  max-width: 32ch;
  margin: 0 0 1.2rem;
}

.footer .brand .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--display);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.4);
  padding: 0.32rem 0.55rem;
  border-radius: var(--radius-xs);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer ul li a, .footer ul li {
  color: #c9c4b6;
  font-size: 0.94rem;
  transition: color 0.15s ease;
}

.footer ul li a:hover { color: var(--amber); }

.footer .contact-line {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.94rem;
  color: #c9c4b6;
}

.footer .contact-line a { color: var(--paper); font-weight: 500; }
.footer .contact-line a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid rgba(245,158,11,0.18);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  font-size: 0.82rem;
  color: #8c887b;
}

.footer-bottom .container > div { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }

.footer-bottom .mc {
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9c4b6;
}

/* ------------------------------------------------------------- map / misc */
.map-wrap iframe {
  border: 0;
  width: 100%;
  min-height: 320px;
  border-radius: var(--radius);
  filter: grayscale(0.15);
}

.coverage-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 6px solid var(--amber);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}

.coverage-card h2 { margin-bottom: 0.7rem; }

.narrow-form {
  max-width: 760px;
  margin: 0 auto;
}

/* utility */
.center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ------------------------------------------------------------ responsive */

/* gallery progressive reveal */
.gallery-item.hidden-extra { display: none; }
.gallery-grid.expanded .gallery-item.hidden-extra { display: block; }

.gallery-reveal-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.gallery-reveal {
  min-width: 240px;
}

@media (max-width: 1100px) {
  .hero-strip .container { grid-template-columns: repeat(2, 1fr); }
  .hero-fact { padding: 1rem var(--gutter); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .nav { display: none; }
  .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 0.65rem var(--gutter);
    gap: 0;
  }
  .nav.open a {
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid var(--rule);
  }
  .nav.open a:last-child { border-bottom: none; }
  .nav.open a.active::after { display: none; }
  .nav.open a.active { color: var(--amber-deep); }

  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
  .services { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid a.tall { grid-row: auto; aspect-ratio: 4 / 3; }
  .callout { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }

  .section-head.between {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

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

@media (max-width: 640px) {
  body { font-size: 16px; }
  .check-grid { grid-template-columns: 1fr; }
  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    gap: 0.3rem;
    min-height: 0;
  }
  .topbar-left { font-size: 0.78rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .grid-4, .value-grid, .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .footer .container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}

/* ================================================================== */
/*               Mobile optimization — refined breakpoints            */
/* ================================================================== */

/* HERO STRIP — was breaking 2+1 with 3 facts. Force 3-up always but shrink. */
@media (max-width: 1100px) {
  .hero-strip .container { grid-template-columns: repeat(3, 1fr); }
  .hero-fact .label { font-size: 0.66rem; letter-spacing: 0.14em; }
  .hero-fact .value { font-size: 1rem; }
}

@media (max-width: 720px) {
  .hero-strip .container { grid-template-columns: 1fr; }
  .hero-fact {
    padding: 0.85rem var(--gutter);
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
  }
  .hero-fact .label { font-size: 0.7rem; }
  .hero-fact .value { font-size: 0.95rem; text-align: right; }
}

/* HERO HEADLINE — let it scale smaller on narrow screens */
@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: 1rem;
  }
  .hero p.lead {
    font-size: 1rem;
    margin-bottom: 1.6rem;
  }
  .hero-inner { padding: clamp(3rem, 8vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
  .hero .eyebrow { font-size: 0.72rem; letter-spacing: 0.14em; }
}

/* HEADER on mobile — keep CTA visible, ensure hamburger hits 44px target */
@media (max-width: 880px) {
  .nav-wrap { min-height: 64px; gap: 0.6rem; }
  .logo { font-size: 1.15rem; gap: 0.3rem; }
  .logo-mark { width: 8px; height: 18px; }
  .nav-cta .btn-primary {
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
  }
}
@media (max-width: 460px) {
  .logo { font-size: 1rem; letter-spacing: 0.04em; }
  .nav-cta .btn-primary { padding: 0.6rem 0.7rem; font-size: 0.74rem; }
  .nav-cta .btn-primary .arrow { display: none; }
  .nav-toggle { width: 38px; height: 38px; }
  .nav-cta { gap: 0.4rem; }
}

/* TOPBAR — dispatch link can crowd, wrap cleanly */
@media (max-width: 480px) {
  .topbar { font-size: 0.76rem; }
  .topbar-cta { font-size: 0.78rem; letter-spacing: 0.04em; }
}

/* SECTION HEADS (eyebrow + h2 + lead) — tighten on small */
@media (max-width: 640px) {
  .section { padding: clamp(2.5rem, 6vw, 3.5rem) 0; }
  h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .lead { font-size: 1rem; }
  .section-head, .section-head.between { margin-bottom: 1.6rem; }
}

/* SERVICE / EQUIPMENT CARDS — ratio + body padding */
@media (max-width: 880px) {
  .services { gap: 1.1rem; }
  .service-photo { aspect-ratio: 16 / 10; }
  .service-body { padding: 1.1rem 1.2rem 1.3rem; }
  .service-body h3 { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .service-photo { aspect-ratio: 4 / 3; }
  .service-tag { font-size: 0.62rem; padding: 0.25rem 0.45rem; }
}

/* VALUE GRID (Why Operations Teams Call Us) — single col stacking */
@media (max-width: 880px) {
  .value-grid > .value { padding: 1.3rem 1.2rem 1.4rem; }
  .value-grid > .value h3 { font-size: 1.1rem; }
}

/* CALLOUT — left amber bar + spec sheet stack on mobile */
@media (max-width: 880px) {
  .callout { padding: 1.6rem 1.4rem; border-left-width: 5px; gap: 1.3rem; }
  .callout-aside .row { padding-bottom: 0.55rem; gap: 0.6rem; }
  .callout-aside .label { font-size: 0.72rem; letter-spacing: 0.14em; }
  .callout-aside .value { font-size: 1rem; }
  .callout-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  .callout { padding: 1.3rem 1.1rem; }
  .callout h2 { font-size: 1.5rem; }
}

/* GALLERY REVEAL BUTTON — full-width on small */
@media (max-width: 480px) {
  .gallery-reveal-wrap { margin-top: 1.5rem; }
  .gallery-reveal { width: 100%; min-width: 0; }
}

/* PAGE HERO (inner page banners) */
@media (max-width: 640px) {
  .page-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
  .page-hero h1 { font-size: clamp(1.9rem, 7vw, 2.7rem); }
  .page-hero .lead { font-size: 1rem; }
}

/* FORMS — better tap targets and spacing on mobile */
@media (max-width: 640px) {
  input, select, textarea {
    padding: 0.85rem 0.9rem;
    font-size: 16px; /* prevents iOS zoom-on-focus */
  }
  label { font-size: 0.72rem; }
  .form-grid { gap: 0.85rem; }
  .form-section-title {
    font-size: 0.84rem;
    margin: 1.6rem 0 0.7rem;
    padding-top: 1.1rem;
  }
  .quote-panel { padding: 1.2rem 1.1rem; }
  .app-quals { padding: 1.2rem 1.1rem; }
}

/* CONTACT CARD — phone number scaled for thumb access */
@media (max-width: 640px) {
  .contact-card { padding: 1.3rem 1.2rem; }
  .contact-row { padding: 0.85rem 0; }
  .contact-row .label { font-size: 0.7rem; }
  .contact-row .value { font-size: 1.15rem; }
  .phone-link.value { font-size: 1.5rem; }
}

/* INFO CARDS (about page) */
@media (max-width: 880px) {
  .info-card { padding: 1.4rem 1.3rem; }
  .info-card h2 { font-size: 1.4rem; }
}

/* COVERAGE CARD (contact page bottom) */
@media (max-width: 640px) {
  .coverage-card { padding: 1.3rem 1.2rem; border-left-width: 5px; }
  .coverage-card h2 { font-size: 1.4rem; }
}

/* STEPS (How a load moves with us) */
@media (max-width: 640px) {
  .step { padding: 1.3rem 1.2rem; }
  .step h3 { font-size: 1.05rem; }
}

/* FOOTER tightening */
@media (max-width: 640px) {
  .footer .container { padding-top: 2.5rem; padding-bottom: 1.5rem; }
  .footer .brand h3 { font-size: 1.3rem; }
  .footer h3 { font-size: 0.78rem; }
}

/* HORIZONTAL OVERFLOW SAFETY */
html, body { overflow-x: hidden; max-width: 100vw; }
img, video { max-width: 100%; height: auto; }

