/* ==========================================================================
   Crowder's Trucking, LLC
   Static stylesheet - no build step, no external dependencies, no web fonts.
   Brand colours are sampled directly from the company logo:
     blue #2020AA   red #AA2020
   ========================================================================== */

:root {
  --blue:        #2020AA;
  --blue-dark:   #191985;
  --blue-tint:   #EEEEF9;
  --red:         #AA2020;
  --red-dark:    #8A1A1A;
  --red-tint:    #FBEEEE;
  --gold:        #C49220;

  --navy:        #12162D;
  --navy-soft:   #1B2044;
  --ink:         #12162D;
  --body:        #4B5168;
  --muted:       #767C93;
  --line:        #E2E5EF;
  --surface:     #F5F6FA;
  --white:       #FFFFFF;

  --shell:       1180px;
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
  --radius:      14px;
  --radius-sm:   9px;

  --shadow-sm:   0 1px 2px rgba(18,22,45,.06), 0 2px 8px rgba(18,22,45,.05);
  --shadow-md:   0 4px 12px rgba(18,22,45,.07), 0 14px 32px rgba(18,22,45,.08);
  --shadow-lg:   0 10px 24px rgba(18,22,45,.09), 0 28px 64px rgba(18,22,45,.12);

  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;

  --header-h: 76px;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.16; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1.15em; }
a { color: var(--blue); }
ul, ol { margin: 0 0 1.15em; padding-left: 1.35em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--blue); color: #fff; padding: .8rem 1.25rem;
  font-weight: 700; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* ------------------------------------------------------------- layout --- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 3.75rem) 0; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: #C7CBDD; }
.section--navy h2, .section--navy h3 { color: #fff; }

.center { text-align: center; }
.measure { max-width: 68ch; }
.center .measure { margin-inline: auto; }

/* Section heading block --------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9rem;
}
.section--navy .eyebrow { color: var(--gold); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -.015em; }
.section-head p { font-size: 1.09rem; margin-bottom: 0; }
.section--navy .section-head p { color: #AAB0C8; }

/* Gold rule - echoes the eagle painted on the truck ------------------------ */
.rule { width: 62px; height: 4px; background: var(--gold); border-radius: 2px; margin: 0 0 1.5rem; }
.center .rule { margin-inline: auto; }

/* ------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: inherit; font-size: 1rem; font-weight: 700;
  padding: .85rem 1.6rem; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--red-dark); box-shadow: var(--shadow-md); }

.btn--blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--blue:hover { background: var(--blue-dark); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-tint); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; box-shadow: var(--shadow-md); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.center .btn-row { justify-content: center; }

/* -------------------------------------------------------------- header --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .shell {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand-name {
  font-family: var(--serif); font-weight: 700; letter-spacing: -.01em;
  font-size: 1.24rem; color: var(--ink); line-height: 1.05;
}
.brand-name span { color: var(--blue); }
.brand-sub {
  display: block; font-family: var(--sans); font-size: .66rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-top: .2rem;
}

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 42px; background: transparent;
  border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; }
.site-nav ul { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav ul a {
  display: block; padding: .55rem .8rem; border-radius: var(--radius-sm);
  font-size: .97rem; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.site-nav ul a:hover { background: var(--blue-tint); color: var(--blue); }
.site-nav ul a[aria-current="page"] { color: var(--blue); background: var(--blue-tint); }

.header-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-left: .6rem; padding: .68rem 1.15rem; font-size: .97rem;
}

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none; padding: .6rem var(--gutter) 1.1rem;
  }
  .site-nav.is-open { display: block; }
  /* Without scripting the hamburger cannot work, so the links stay visible -
     see the <noscript> block in each page head. */
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .site-nav ul a { padding: .8rem .75rem; font-size: 1.05rem; }
  .header-cta { margin-left: 0; margin-top: .7rem; width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% 15%, #FFFFFF 0%, rgba(255,255,255,0) 62%),
    linear-gradient(168deg, #FFFFFF 0%, #F3F5FB 58%, #EAEEF8 100%);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 38%, var(--gold) 38%, var(--gold) 46%, var(--red) 46%, var(--red) 100%);
}
.hero .shell {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.04fr);
  gap: clamp(1.5rem, 4vw, 3.25rem); align-items: center;
  padding-block: clamp(3rem, 6vw, 4.75rem);
}
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5.6vw, 3.85rem);
  letter-spacing: -.02em; line-height: 1.05; margin-bottom: .55rem;
}
.hero-copy h1 .tint { color: var(--blue); display: block; }
.hero-tag {
  font-family: var(--serif); font-style: italic; color: var(--red);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem); margin-bottom: 1.1rem;
}
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.17rem); max-width: 54ch; color: var(--body); }
.hero-lead strong { color: var(--ink); }

.hero-media { position: relative; }
/* The photograph sits on a pure-white surround, so multiply drops it onto the
   gradient cleanly with no cut-out artefacts. */
.hero-media img { mix-blend-mode: multiply; width: 100%; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; padding: 0; list-style: none;
}
.hero-badges li {
  margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); background: rgba(255,255,255,.8); border: 1px solid var(--line);
  padding: .45rem .85rem; border-radius: 100px;
}

@media (max-width: 860px) {
  .hero .shell { grid-template-columns: 1fr; padding-block: clamp(2.25rem, 7vw, 3rem); }
  .hero-media { order: -1; }
}

/* --------------------------------------------------------------- cards --- */
.grid { display: grid; gap: 1.35rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.85rem 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D3D8E8; }
.card h3 { font-size: 1.24rem; margin-bottom: .5rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 1.05rem;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
  background: var(--blue-tint); color: var(--blue);
}
.card-num--red  { background: var(--red-tint); color: var(--red); }
.card-num--gold { background: #FBF3E0; color: #9A7215; }

.section--navy .card {
  background: var(--navy-soft); border-color: rgba(255,255,255,.1); color: #B9BFD6; box-shadow: none;
}
.section--navy .card:hover { border-color: rgba(255,255,255,.24); transform: translateY(-3px); }
.section--navy .card-num { background: rgba(255,255,255,.09); color: #fff; }

/* Checklist --------------------------------------------------------------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 1.9rem; margin: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 9px; height: 15px; border: solid var(--red);
  border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.ticks--blue li::before { border-color: var(--blue); }
.ticks--gold li::before { border-color: var(--gold); }
.ticks--2 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); column-gap: 1.75rem; }

/* Split feature ----------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center;
}
.split-media img { mix-blend-mode: multiply; width: 100%; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }

/* Pull quote -------------------------------------------------------------- */
.quote {
  margin: 0; padding: 1.75rem 0 1.75rem 1.75rem;
  border-left: 5px solid var(--gold);
  font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.45; color: var(--ink); font-style: italic;
}
.quote cite {
  display: block; margin-top: .9rem; font-family: var(--sans); font-style: normal;
  font-size: .82rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.section--navy .quote { color: #fff; }
.section--navy .quote cite { color: #98A0BC; }

/* Fact row ---------------------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.facts li { margin: 0; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.facts b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--blue); margin-bottom: .15rem; }
.facts span { font-size: .95rem; }

/* --------------------------------------------------------------- video --- */
.video-wrap { max-width: 900px; margin-inline: auto; }
.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.video iframe, .video img, .video button { position: absolute; inset: 0; width: 100%; height: 100%; }
.video iframe { border: 0; }
/* Click-to-load facade: nothing is requested from YouTube until the visitor
   presses play, which keeps the page fast and sets no third-party cookies. */
.video-poster { object-fit: cover; }
.video-play {
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; padding: 0;
  transition: background-color .2s ease;
}
.video-play:hover { background: rgba(18,22,45,.12); }
/* White disc with a red triangle so the control reads over any part of the
   photograph, light or dark. */
.video-play::before {
  content: ""; width: 88px; height: 88px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23AA2020'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 54% 50%/36px no-repeat;
  box-shadow: 0 6px 28px rgba(18,22,45,.42), 0 0 0 1px rgba(18,22,45,.06);
  transition: transform .2s ease;
}
.video-play:hover::before { transform: scale(1.08); }

.video-caption { margin-top: 1rem; font-size: .92rem; color: var(--muted); text-align: center; }

details.transcript {
  max-width: 900px; margin: 1.5rem auto 0;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
details.transcript > summary {
  cursor: pointer; padding: .95rem 1.25rem; font-weight: 700; color: var(--ink); font-size: .95rem; list-style: none;
}
details.transcript > summary::-webkit-details-marker { display: none; }
details.transcript > summary::before { content: "\25B8"; color: var(--gold); display: inline-block; margin-right: .6rem; }
details.transcript[open] > summary::before { content: "\25BE"; }
.transcript-body { padding: 0 1.25rem 1.25rem; font-size: .96rem; }
.transcript-body p { margin-bottom: .8rem; }
.transcript-body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------- banners --- */
.band {
  background: linear-gradient(120deg, var(--red) 0%, #8E1B1B 100%);
  color: #fff; text-align: center;
}
.band h2 { color: #fff; font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
.band p { color: rgba(255,255,255,.9); font-size: 1.08rem; max-width: 60ch; margin-inline: auto; }
.band .eyebrow { color: rgba(255,255,255,.85); }
.band--blue { background: linear-gradient(120deg, var(--blue) 0%, #16167A 100%); }

/* -------------------------------------------------------------- panels --- */
.panel {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue);
  border-radius: var(--radius); padding: 1.6rem 1.75rem; box-shadow: var(--shadow-sm);
}
.panel--red { border-left-color: var(--red); }
.panel--gold { border-left-color: var(--gold); }
.panel h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }

/* Contact detail list ----------------------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { margin: 0; display: grid; grid-template-columns: 112px 1fr; gap: 1rem; align-items: baseline; }
.contact-list .lbl {
  font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.contact-list .val { font-size: 1.06rem; color: var(--ink); font-weight: 600; }
.contact-list .val a { text-decoration: none; }
.contact-list .val a:hover { text-decoration: underline; }
.contact-list .note { display: block; font-size: .88rem; font-weight: 400; color: var(--muted); margin-top: .1rem; }
@media (max-width: 520px) {
  .contact-list li { grid-template-columns: 1fr; gap: .15rem; }
}

/* ---------------------------------------------------------- page header -- */
.page-head {
  background: linear-gradient(168deg, #FFFFFF 0%, #F3F5FB 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.5rem, 5.5vw, 3.9rem) 0 clamp(2.25rem, 5vw, 3.25rem);
  position: relative;
}
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 38%, var(--gold) 38%, var(--gold) 46%, var(--red) 46%, var(--red) 100%);
}
.page-head h1 { font-family: var(--serif); font-size: clamp(2.05rem, 4.6vw, 3rem); letter-spacing: -.02em; margin-bottom: .45rem; }
.page-head p { font-size: clamp(1.03rem, 1.6vw, 1.16rem); max-width: 60ch; margin-bottom: 0; }

.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs span { margin: 0 .45rem; }

/* -------------------------------------------------------------- footer --- */
.site-footer { background: var(--navy); color: #9AA1BC; padding: clamp(3rem, 6vw, 4rem) 0 0; }
.site-footer h2 { color: #fff; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #C7CBDD; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.35fr; gap: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { margin-right: 0; margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name span { color: #8E8EE0; }
.footer-brand p { font-size: .96rem; max-width: 34ch; }
.footer-brand .tagline { font-family: var(--serif); font-style: italic; color: var(--gold); margin-bottom: .8rem; }

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; font-size: .96rem; }
.footer-tel { font-family: var(--serif); font-size: 1.5rem; color: #fff !important; font-weight: 700; }

.footer-bottom {
  margin-top: clamp(2.25rem, 5vw, 3rem); border-top: 1px solid rgba(255,255,255,.11);
  padding: 1.4rem 0 1.6rem; font-size: .86rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center;
}
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------ utilities -- */
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 1.5rem; }
.mb0 { margin-bottom: 0; }
.mt2 { margin-top: 2rem; }

/* Obfuscated e-mail addresses: script.js assembles the real mailto link, and
   the <noscript> fallback in the markup keeps it readable without scripting. */
a.email { color: var(--blue); font-weight: 600; text-decoration: none; }
a.email:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- print -- */
@media print {
  .site-header, .nav-toggle, .video, .band, .btn, .skip { display: none !important; }
  body { color: #000; font-size: 11pt; background: #fff; }
  .section, .page-head { padding: 1rem 0; }
  .site-footer { background: #fff; color: #000; }
  .site-footer a, .site-footer h2, .footer-tel { color: #000 !important; }
}
