﻿/* ============================================================
   CUSTOM OVERRIDES — Clemente & Son Logistics
   Dispatch-focused design + local truck illustrations
   ============================================================ */

html { scroll-behavior: smooth; }

/* Local cinematic hero (no B12 CDN dependency) */
.hero {
  background-image:
    linear-gradient(90deg, #11100e 0%, #11100ef5 31%, #11100eb8 54%, #11100e38 100%),
    url("hero-dispatch.svg");
  background-position: 50% 55%;
  background-size: cover;
}

/* Keep the header readable when the hero scrolls under it */
.site-header { background: #131210f2; }

/* Equipment illustrations */
.equipment-truck {
  margin-top: 16px;
  margin-bottom: 6px;
  min-height: 74px;
  display: flex;
  align-items: center;
}
.equipment-truck img {
  width: 100%;
  max-width: 220px;
  height: 78px;
  object-fit: contain;
  display: block;
}
.equipment-card {
  min-height: 300px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.equipment-card:hover {
  transform: translateY(-4px);
  border-color: #e87824;
  box-shadow: 0 16px 40px #00000055;
}
.equipment-card h3 { margin-top: 10px; }
.equipment-grid-eight .equipment-card h3 { margin-top: 8px; }

/* Dispatch section badge */
.dispatch-section { position: relative; }
.dispatch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #17120e;
  background: #e87824;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 7px 11px;
  margin-bottom: 16px;
}
.dispatch-badge::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #17120e;
  border-radius: 50%;
}

/* Hugo teaser on home */
.hugo-teaser-section {
  background: #131210;
  padding: 100px 32px;
}
.hugo-teaser {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 54px;
  align-items: center;
}
.hugo-teaser-portrait img {
  width: 100%;
  display: block;
  border: 1px solid #393631;
  background: #0d0c0a;
}
.hugo-teaser-copy h2 {
  text-transform: uppercase;
  letter-spacing: -.05em;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  margin: 14px 0 18px;
}
.hugo-teaser-copy p {
  color: #aaa59b;
  font-size: 15px;
  line-height: 1.75;
  max-width: 590px;
}
.hugo-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

/* Hugo page */
.hugo-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 32px 80px;
  background:
    radial-gradient(circle at 18% 35%, #e8782422, transparent 35%),
    linear-gradient(135deg, #15120f, #0d0c0a);
  border-bottom: 1px solid #34312b;
}
.hugo-hero-inner {
  max-width: 1176px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: center;
}
.hugo-hero-portrait img {
  width: 100%;
  display: block;
  border: 1px solid #4a443b;
  box-shadow: 0 24px 80px #00000066;
}
.hugo-hero-copy h1 {
  text-transform: uppercase;
  letter-spacing: -.06em;
  font-size: clamp(46px, 7vw, 84px);
  line-height: .94;
  margin: 16px 0 22px;
}
.hugo-hero-copy h1 span { color: #e87824; }
.hugo-hero-copy p {
  color: #c7c0b5;
  font-size: 16px;
  line-height: 1.75;
  max-width: 620px;
}
.hugo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  color: #d5cec3;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-size: 10px;
}
.hugo-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hugo-meta b { color: #e87824; font-size: 12px; }

.hugo-story-section { background: #131210; padding: 100px 32px; }
.hugo-story-grid {
  max-width: 1176px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.hugo-story-side h2 {
  text-transform: uppercase;
  letter-spacing: -.05em;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: .98;
  margin: 14px 0 22px;
}
.hugo-story-side p { color: #aaa59b; font-size: 14px; line-height: 1.8; }
.hugo-quote {
  border-left: 3px solid #e87824;
  padding: 10px 0 10px 24px;
  margin-top: 30px;
  color: #efebe4;
  font-size: 18px;
  line-height: 1.55;
  font-style: italic;
}
.hugo-quote small {
  display: block;
  color: #8d8579;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-style: normal;
  margin-top: 14px;
}
.hugo-story-main { display: grid; gap: 20px; }
.hugo-story-card {
  background: #191815;
  border: 1px solid #393631;
  padding: 30px;
}
.hugo-story-card .why-number { position: static; display: block; margin-bottom: 12px; }
.hugo-story-card h3 {
  text-transform: uppercase;
  font-size: 21px;
  margin: 0 0 10px;
}
.hugo-story-card p { color: #aaa59b; font-size: 13px; line-height: 1.75; margin: 0; }
.hugo-stats {
  max-width: 1176px;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hugo-stat {
  background: #191815;
  border: 1px solid #393631;
  padding: 26px;
}
.hugo-stat strong {
  display: block;
  color: #e87824;
  font-size: 36px;
  letter-spacing: -.04em;
  line-height: 1;
}
.hugo-stat span {
  display: block;
  color: #d1cbc1;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 800;
  margin-top: 8px;
}
.hugo-cta {
  background: #0d0c0a;
  border-top: 1px solid #34312b;
  padding: 72px 32px;
}
.hugo-cta-inner {
  max-width: 1176px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.hugo-cta h2 {
  text-transform: uppercase;
  letter-spacing: -.05em;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  margin: 10px 0 0;
}
.hugo-cta-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* Slight polish */
.button-primary { border-radius: 0; }
.equipment-link:hover { color: #f28a3a; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #e87824;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hugo-teaser { grid-template-columns: 1fr; }
  .hugo-teaser-portrait { max-width: 330px; }
  .hugo-hero-inner, .hugo-story-grid { grid-template-columns: 1fr; gap: 36px; }
  .hugo-hero-portrait { max-width: 340px; }
}
@media (max-width: 640px) {
  .hugo-stats { grid-template-columns: 1fr; }
  .hugo-teaser-section, .hugo-story-section, .hugo-hero, .hugo-cta { padding-left: 20px; padding-right: 20px; }
}

/* Real company logo + real Mr. Hugo photos */
.brand-logo,
.footer-brand-logo {
  clip-path: none !important;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
}
.brand-logo { width: 62px; height: 62px; }
.footer-brand-logo { width: 110px; height: 110px; }
.hugo-teaser-portrait img,
.hugo-hero-portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #4a443b;
}
.hugo-story-photo {
  width: 100%;
  display: block;
  margin-top: 26px;
  border: 1px solid #393631;
}
