/* ============================================================
   TRUCKING LIFE WITH SHAWN — shared stylesheet
   Rugged asphalt + safety-amber identity. Barlow Condensed display.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Surfaces */
  --asphalt:    #14130F;   /* near-black warm */
  --asphalt-2:  #1C1A14;
  --steel:      #26241D;
  --steel-2:    #322F26;
  --bone:       #F4EFE3;   /* paper */
  --bone-2:     #E9E2D0;
  --bone-3:     #DCD3BC;

  /* Brand accents */
  --amber:      #E47A18;   /* safety orange — primary */
  --amber-2:    #F2A516;
  --hivis:      #F4D23F;   /* hi-vis yellow — sparingly */
  --rust:       #B5471F;

  /* Text */
  --ink:        #16140F;   /* text on bone */
  --ink-2:      #4A463C;
  --ink-3:      #6E695B;
  --on-dark:    #F4EFE3;
  --on-dark-2:  #B7B1A0;
  --on-dark-3:  #837E70;

  /* Lines */
  --line:       rgba(22,20,15,0.14);
  --line-2:     rgba(22,20,15,0.08);
  --line-dark:  rgba(244,239,227,0.14);
  --line-dark-2:rgba(244,239,227,0.07);

  /* Type */
  --display: 'Barlow Condensed', system-ui, sans-serif;
  --body:    'Barlow', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  --shadow-1: 0 1px 2px rgba(0,0,0,0.18), 0 10px 30px rgba(0,0,0,0.10);
  --shadow-2: 0 2px 4px rgba(0,0,0,0.22), 0 24px 60px rgba(0,0,0,0.22);

  --maxw: 1200px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--bone);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- Hazard stripe ---------- */
.hazard {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber) 0 18px,
    var(--asphalt) 18px 36px
  );
}
.hazard.thin { height: 5px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-pad { padding: 84px 0; }
.section-pad-lg { padding: 110px 0; }

.dark { background: var(--asphalt); color: var(--on-dark); }
.dark-2 { background: var(--asphalt-2); color: var(--on-dark); }
.paper { background: var(--bone); color: var(--ink); }
.paper-2 { background: var(--bone-2); color: var(--ink); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; margin: 0; line-height: 0.98; letter-spacing: -0.01em; text-transform: uppercase; }
.display { font-size: clamp(44px, 7vw, 88px); line-height: 0.92; letter-spacing: -0.02em; }
h2.section-title { font-size: clamp(34px, 4.6vw, 58px); line-height: 0.95; }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--ink-2); }
.dark .lead, .dark-2 .lead { color: var(--on-dark-2); }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

.muted { color: var(--ink-3); }
.dark .muted, .dark-2 .muted { color: var(--on-dark-3); }
.center { text-align: center; }
.section-head { max-width: 740px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 18px;
  padding: 16px 30px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .12s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: scale(0.97); }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-2); }
.btn-ink { background: var(--asphalt); color: var(--bone); }
.btn-ink:hover { background: var(--steel); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost, .dark-2 .btn-ghost { border-color: var(--line-dark); color: var(--on-dark); }
.dark .btn-ghost:hover, .dark-2 .btn-ghost:hover { border-color: var(--on-dark); background: rgba(244,239,227,0.06); }
.btn-block { width: 100%; }
.btn-sm { font-size: 15px; padding: 11px 18px; }
.btn-lg { font-size: 21px; padding: 19px 38px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,19,15,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  color: var(--bone); text-decoration: none; font-size: 20px; letter-spacing: 0.01em;
  line-height: 0.92; display: flex; flex-direction: column; white-space: nowrap;
}
.brand b { color: var(--amber); }
.brand small { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; color: var(--on-dark-3); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  color: var(--on-dark-2); text-decoration: none; font-family: var(--display);
  font-weight: 600; text-transform: uppercase; font-size: 15px; letter-spacing: 0.02em;
  padding: 8px 12px; border-radius: 4px; transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--bone); background: rgba(244,239,227,0.07); }
.nav-links a.cta.active { color: #fff; }
.nav-links a.cta { background: var(--amber); color: #fff; }
.nav-links a.cta:hover { background: var(--amber-2); }
.nav-toggle { display: none; }

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

.card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--ink); }
.card.on-dark { background: var(--steel); border-color: var(--line-dark); color: var(--on-dark); }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--bone-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card.on-dark .card-media { background: var(--asphalt-2); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 22px; }
.card-desc { font-size: 15.5px; color: var(--ink-2); line-height: 1.45; flex: 1; }
.card.on-dark .card-desc { color: var(--on-dark-2); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.price { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.01em; }
.price s { font-family: var(--body); font-weight: 500; font-size: 16px; color: var(--ink-3); margin-right: 8px; }

/* Tag / badge */
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 3px;
  background: var(--asphalt); color: var(--bone);
}
.tag.amber { background: var(--amber); color: #fff; }
.tag.hivis { background: var(--hivis); color: var(--asphalt); }

/* ---------- Stamp / trust strip ---------- */
.stamp {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 13px;
}
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 14px;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); }
.trust-strip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pillar { padding: 40px 34px; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: none; }
.pillar .pnum { font-family: var(--mono); font-weight: 700; color: var(--amber); font-size: 14px; letter-spacing: 0.1em; }
.pillar h3 { margin: 14px 0 10px; font-size: 26px; }
.pillar p { color: var(--ink-2); font-size: 16px; margin: 0; }

/* ---------- Feature blocks ---------- */
.feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; font-size: 16.5px; line-height: 1.45; }
.checklist .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--amber); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 1px; }

/* price tag block */
.pricebox { background: var(--steel); border: 1px solid var(--line-dark); border-radius: 10px; padding: 30px; }
.pricebox .row { display: flex; align-items: baseline; gap: 12px; }
.pricebox .big { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 0.9; color: var(--bone); letter-spacing: -0.02em; }
.pricebox .was { font-family: var(--body); font-size: 18px; color: var(--on-dark-3); text-decoration: line-through; }
.pricebox .note { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-top: 6px; }

/* ---------- Email capture ---------- */
.capture {
  background: var(--steel); border: 1px solid var(--line-dark);
  border-radius: 12px; padding: 34px;
}
.field { display: flex; gap: 10px; flex-wrap: wrap; }
.field input[type="email"], .field input[type="text"], .field textarea {
  flex: 1; min-width: 220px;
  font-family: var(--body); font-size: 16px;
  padding: 15px 16px; border-radius: 6px; border: 1px solid var(--line-dark);
  background: var(--asphalt); color: var(--bone);
}
.field input::placeholder, .field textarea::placeholder { color: var(--on-dark-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--on-dark-3); margin-top: 14px; }
.form-ok { color: var(--hivis); font-weight: 600; margin-top: 14px; display: none; }
.form-ok.show { display: block; }

/* full contact form (on paper) */
.form-paper input, .form-paper textarea {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
}
.form-paper input::placeholder, .form-paper textarea::placeholder { color: var(--ink-3); }
.form-label { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; display: block; }

/* ---------- Story / quote ---------- */
.prose p { font-size: 18px; line-height: 1.66; color: var(--ink-2); margin: 0 0 1.1em; }
.prose strong { color: var(--ink); }
.prose .pull { font-family: var(--display); font-weight: 700; font-size: clamp(24px,3vw,34px); line-height: 1.05; color: var(--ink); text-transform: uppercase; margin: 26px 0; }
blockquote.scripture {
  font-family: var(--body); font-style: italic; font-size: 19px; color: var(--ink-2);
  border-left: 3px solid var(--amber); padding: 6px 0 6px 22px; margin: 28px 0;
}

/* ---------- Recruiting / affiliate roles ---------- */
.recruit-banner {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--asphalt); background: var(--hivis);
  padding: 7px 14px; border-radius: 4px;
}
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.role {
  background: var(--steel); border: 1px solid var(--line-dark); border-radius: 12px;
  padding: 34px; display: flex; flex-direction: column;
}
.role.feature-role { border-color: var(--amber); }
.role .pct { font-family: var(--display); font-weight: 800; font-size: 66px; line-height: 0.86; color: var(--amber); letter-spacing: -0.02em; }
.role .pct small { font-family: var(--body); font-weight: 600; font-size: 15px; color: var(--on-dark-2); letter-spacing: 0.04em; display: block; text-transform: uppercase; margin-top: 6px; }
.role h3 { color: var(--bone); font-size: 27px; margin: 16px 0 8px; }
.role .rsub { color: var(--on-dark-2); font-size: 16px; margin: 0 0 20px; }
.role .checklist { margin: 0 0 26px; }
.role .checklist li { color: var(--on-dark-2); font-size: 15.5px; }
.role .btn { margin-top: auto; }
.role-tag { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.field select {
  flex: 1; min-width: 220px; font-family: var(--body); font-size: 16px;
  padding: 15px 16px; border-radius: 6px; border: 1px solid var(--line-dark);
  background: var(--asphalt); color: var(--bone);
}
.field select:focus { outline: none; border-color: var(--amber); }
@media (max-width: 760px) { .role-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--asphalt); color: var(--on-dark-2); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer h4 { font-size: 16px; color: var(--bone); margin-bottom: 16px; letter-spacing: 0.04em; }
.footer a { color: var(--on-dark-2); text-decoration: none; display: block; padding: 5px 0; font-size: 15px; }
.footer a:hover { color: var(--amber); }
.footer .social { display: flex; gap: 10px; }
.footer .social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 6px; padding: 0; }
.footer .social a:hover { border-color: var(--amber); color: var(--amber); }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--on-dark-3); font-family: var(--mono); letter-spacing: 0.04em; }

.disclosure { font-size: 13.5px; color: var(--ink-3); line-height: 1.5; max-width: 820px; }
.dark .disclosure, .dark-2 .disclosure { color: var(--on-dark-3); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.kicker-band { background: var(--asphalt); color: var(--bone); padding: 14px 0; }
.kicker-band .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.kicker-band .lbl { font-family: var(--mono); font-weight: 700; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.kicker-band a { color: var(--bone); font-family: var(--display); font-weight: 700; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--amber); }

/* ---------- Fund the CDL school tab ---------- */
.fund-tab {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--amber); color: #fff; text-decoration: none;
  padding: 20px 18px; text-align: center;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.02em; font-size: clamp(18px, 2.6vw, 26px); line-height: 1.05;
  border-top: 4px solid var(--rust); border-bottom: 4px solid var(--rust);
  transition: background .15s;
}
.fund-tab:hover { background: var(--amber-2); }
.fund-tab .ft-ico { font-size: 1.15em; line-height: 1; }
.fund-tab .arrow { display: inline-block; transition: transform .15s; }
.fund-tab:hover .arrow { transform: translateX(7px); }
@media (max-width: 600px) { .fund-tab { font-size: 18px; padding: 16px 12px; gap: 9px; } }

/* ===== SPONSOR BAND ===== */
.sponsor-band { background: var(--asphalt); color: var(--on-dark); }
.sponsor-eyebrow {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 700; font-size: 15px; color: var(--amber-2); margin: 0 0 10px;
}
.sponsor-head {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  line-height: 1.02; font-size: clamp(30px, 5vw, 56px); margin: 0 auto 16px; max-width: 14ch;
}
.sponsor-sub {
  font-size: clamp(16px, 1.9vw, 20px); line-height: 1.5; color: var(--on-dark-2);
  max-width: 620px; margin: 0 auto 30px;
}
.btn-giant {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--amber); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.02em; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.05;
  padding: 26px 52px; border-radius: 12px;
  border-bottom: 5px solid var(--rust);
  box-shadow: 0 0 0 0 rgba(228,122,24,0.55);
  animation: sponsorPulse 2.4s ease-out infinite;
  transition: background .15s, transform .12s;
}
.btn-giant:hover { background: var(--amber-2); transform: translateY(-2px); animation: none; }
.btn-giant:active { transform: scale(0.98); }
.btn-giant .bg-arrow { display: inline-block; transition: transform .15s; }
.btn-giant:hover .bg-arrow { transform: translateX(8px); }
@keyframes sponsorPulse {
  0%   { box-shadow: 0 0 0 0 rgba(228,122,24,0.55); }
  70%  { box-shadow: 0 0 0 22px rgba(228,122,24,0); }
  100% { box-shadow: 0 0 0 0 rgba(228,122,24,0); }
}
.sponsor-fine { font-size: 14px; color: var(--on-dark-3); margin: 22px auto 0; max-width: 560px; }
@media (max-width: 600px) {
  .btn-giant { padding: 22px 30px; width: 100%; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .btn-giant { animation: none; } }

/* ---------- Responsive ---------- */
/* Nav collapses to hamburger well before the desktop links would wrap */
@media (max-width: 1080px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--asphalt); border-bottom: 1px solid var(--line-dark); padding: 8px; flex-wrap: nowrap; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 17px; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-dark); border-radius: 6px; color: var(--bone); cursor: pointer; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip > :first-child { order: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section-pad, .section-pad-lg { padding: 60px 0; }
  .pricebox .big { font-size: 52px; }
  .display { font-size: clamp(38px, 12vw, 56px); }
}
