/* SS Chad Express LLC - shared styles for index.html, about.html and apply.html */

:root {
  --red: #c8102e;
  --red-deep: #a30d25;
  --ink: #141414;
  --black: #111111;
  --stone: #f1efec;
  --line: #d6d2cc;
  --muted: #444444;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--black); }
.page { font-family: var(--body); font-size: 17px; line-height: 1.5; color: var(--ink); background: #ffffff; }
img { display: block; max-width: 100%; }
p { margin: 0; }
a { color: #b00d27; }
a:hover { color: #7d0a1c; }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }

/* Type */
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 0.96; margin: 0; text-wrap: balance; }
.d-xl { font-size: 80px; }
.d-lg { font-size: 60px; }
.d-md { font-size: 40px; }
.d-sm { font-size: 28px; font-weight: 700; line-height: 1.05; }
.kicker { font-weight: 600; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; }
.textlink { font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 0; background: var(--red); color: #ffffff; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--red-deep); color: #ffffff; }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: #000000; }

/* Header */
.site-header { background: var(--black); color: #ffffff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: 0.02em; color: #ffffff; text-decoration: none; }
.wordmark:hover { color: #ffffff; }
.wordmark small { font-weight: 600; font-size: 16px; letter-spacing: 0.08em; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-weight: 500; font-size: 16px; }
.site-nav a { color: #ffffff; text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 6px; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); }
.site-nav .btn { min-height: 44px; padding: 0 18px; font-size: 19px; }
.site-nav .btn:hover { text-decoration: none; }

/* Home hero */
.hero { position: relative; background: #1a1a1a; color: #ffffff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(12, 12, 12, 0.62); }
.hero .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 48px; padding-top: 64px; padding-bottom: 64px; }
.hero__copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero__copy p { font-size: 21px; line-height: 1.45; max-width: 520px; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; font-size: 15px; font-weight: 600; }
.tags span { border: 2px solid currentColor; padding: 6px 12px; }

/* Forms */
.card-form { flex: 1 1 360px; max-width: 420px; background: #ffffff; color: var(--ink); border-top: 8px solid var(--red); padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.card-form > p { font-size: 15px; color: #333333; }
.form-row { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.field { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; gap: 3px; border: 0; margin: 0; padding: 0; }
.card-form > .field, .app-form > .field { flex: none; }
.field > label, .field > legend { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field select, .field textarea { font: inherit; font-size: 16px; width: 100%; height: 44px; padding: 0 10px; border: 2px solid var(--ink); border-radius: 0; background: #ffffff; color: var(--ink); }
.field textarea { height: auto; min-height: 96px; padding: 8px 10px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 0 20px; }
.choice { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 16px; font-weight: 500; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); }
.form-note { font-size: 14px; color: var(--muted); }
.app-form { background: #ffffff; border: 2px solid var(--ink); border-top: 8px solid var(--red); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.app-form .form-row { gap: 16px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-actions .form-note { flex: 1 1 240px; }
.form-status { font-weight: 600; padding: 12px 14px; background: var(--stone); border: 2px solid var(--ink); }
.form-status:empty { display: none; }

/* Stats band */
.stats { background: var(--red); color: #ffffff; }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 28px; padding-top: 36px; padding-bottom: 36px; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; }
.stat span { font-weight: 500; }

/* Sections */
.section { padding: 88px 0; }
.section--dark { background: var(--black); color: #ffffff; }
.section--stone { background: var(--stone); }
.stack { display: flex; flex-direction: column; gap: 36px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.split--top { align-items: flex-start; }
.col { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.col--narrow { flex: 1 1 300px; }
.col--wide { flex: 2 1 520px; }
.photo-tall { flex: 0 1 400px; width: 400px; aspect-ratio: 3 / 4; object-fit: cover; }
.photo-wide { flex: 1 1 400px; min-width: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.col > img { flex: none; }
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.chips div { background: var(--stone); padding: 14px 18px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { border: 2px solid currentColor; padding: 24px; display: flex; flex-direction: column; gap: 8px; }

/* Photo strips */
.strip { background: var(--black); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px; padding: 6px 0; }
.strip img { width: 100%; height: 320px; object-fit: cover; }

/* Call-to-action band */
.cta { background: var(--stone); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }

/* Quotes */
.quotes-block { display: flex; flex-direction: column; gap: 18px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.quote { margin: 0; padding: 26px 24px 22px; background: var(--stone); display: flex; flex-direction: column; gap: 14px; }
.quote__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.quote__mark { font-family: var(--display); font-weight: 800; font-size: 84px; line-height: 0.7; height: 30px; color: var(--red); }
.quote__sample { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid currentColor; padding: 3px 8px; }
.quote blockquote { margin: 0; font-size: 19px; line-height: 1.45; }
.quote figcaption { margin-top: auto; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.section--dark .quote { background: #222222; }
.section--dark .quote__mark { color: #ff4d5e; }
.section--dark .quote figcaption { color: #c9c9c9; }

/* Numbered reasons */
.lead { display: flex; flex-direction: column; gap: 20px; max-width: 780px; }
.keepcase { text-transform: none; }
.reasons-block { display: flex; flex-direction: column; gap: 22px; }
.reasons { list-style: none; margin: 0; padding: 0; columns: 2 400px; column-gap: 56px; }
.reasons li { break-inside: avoid; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.reasons__n { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--red); }
.reasons strong { display: block; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.15; text-transform: uppercase; }
.section--dark .reasons li { border-top-color: #3a3a3a; }
.section--dark .reasons__n { color: #ff4d5e; }
.section--dark .bigstat b { color: #ff4d5e; }

/* Customers section */
.bigstat b { display: block; font-family: var(--display); font-weight: 800; font-size: 150px; line-height: 0.88; letter-spacing: -0.01em; color: var(--red); }
.bigstat span { display: block; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; text-transform: uppercase; margin-top: 6px; }
.points { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.points li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.points strong { display: block; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.15; text-transform: uppercase; }

/* Inner page hero */
.page-hero { position: relative; background: var(--black); color: #ffffff; overflow: hidden; }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; background: rgba(12, 12, 12, 0.72); }
.page-hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; padding-top: 72px; padding-bottom: 72px; }
.page-hero--photo .wrap { padding-top: 120px; padding-bottom: 96px; }
.page-hero p { font-size: 20px; max-width: 620px; }
.steps { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 6px 0 0; padding: 0; font-weight: 600; }
.steps a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 2px solid #ffffff; color: #ffffff; text-decoration: none; }
.steps a:hover { background: #ffffff; color: var(--ink); }
.steps b { font-family: var(--display); font-weight: 800; font-size: 22px; }

/* Download lists */
.dl-heading { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase; margin: 0 0 4px; }
.dl-list { list-style: none; margin: 10px 0 0; padding: 0; border-top: 3px solid var(--ink); }
.dl { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.dl:hover { color: #b00d27; }
.dl__tag { flex: none; min-width: 46px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 0.04em; background: var(--red); color: #ffffff; padding: 3px 7px; }
.dl__tag--dark { background: var(--ink); }
.dl small { display: block; font-size: 15px; color: var(--muted); }
.dl-groups { display: flex; flex-direction: column; gap: 36px; }

/* Facts table */
.facts { margin: 0; border-top: 3px solid var(--ink); }
.facts div { display: flex; flex-wrap: wrap; gap: 2px 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { flex: 0 0 170px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { flex: 1 1 220px; margin: 0; }

/* Footer */
.site-footer { background: var(--black); color: #ffffff; font-size: 16px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 32px; padding-top: 48px; padding-bottom: 48px; }
.site-footer a { color: #ffffff; }
.site-footer strong { display: block; font-weight: 600; }
.site-footer .wordmark { display: block; font-size: 28px; line-height: 1.1; margin-bottom: 2px; }

/* Phones */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .d-xl { font-size: 52px; }
  .d-lg { font-size: 42px; }
  .section { padding: 56px 0; }
  .hero .wrap { padding-top: 40px; padding-bottom: 40px; }
  .hero__copy p { font-size: 19px; }
  .card-form { max-width: none; }
  .stat b { font-size: 48px; }
  .bigstat b { font-size: 104px; }
  .photo-tall { width: 100%; flex-basis: 100%; }
  .strip img { height: 220px; }
  .page-hero--photo .wrap { padding-top: 72px; padding-bottom: 56px; }
  .app-form { padding: 20px; }
  .facts dt { flex-basis: 100%; }
}

/* Truck Pictures gallery (home page) */
.gallery-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gallery li { margin: 0; }
.gallery a { display: block; overflow: hidden; background: var(--black); }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.3s ease; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.04); }

/* Recognizing our Drivers (home page) */
.award { border-top: 3px solid var(--ink); padding-top: 32px; }
.award__badge { align-self: flex-start; background: var(--red); color: #ffffff; font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; }
.award__to { font-size: 20px; margin: 0; }
