/* ============================================================
   HaulHard marketing site — editorial layout, amber on charcoal.
   Designed to read like a trade publication, not a SaaS landing.
   ============================================================ */

:root {
  --bg:        #0e0c08;       /* near-black with a green-brown tint */
  --bg-alt:    #15120c;
  --rule:      #2a2317;
  --ink:       #f0e3c2;       /* warm cream body type */
  --ink-mute:  #998761;
  --amber:     #ffa500;       /* trucker amber — links + accents */
  --amber-hi:  #ffc04a;       /* hover */
  --serif:     'Source Serif 4', Georgia, 'Times New Roman', serif;
  --condensed: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --mono:      'JetBrains Mono', 'Menlo', 'Consolas', monospace;
  --maxw:      1080px;
  --gutter:    clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  font-feature-settings: "kern", "liga", "onum";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a {
  color: var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--amber-hi); }
hr.rule {
  border: 0;
  height: 1px;
  background: var(--rule);
  max-width: var(--maxw);
  margin: 80px auto;
}
::selection { background: var(--amber); color: var(--bg); }

/* ---------- Masthead ---------- */
.masthead {
  border-bottom: 1px solid var(--rule);
  padding: 14px var(--gutter);
}
.masthead-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.masthead-brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.brand-mark {
  font-family: var(--condensed);
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 12px;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 2px 6px;
  border-radius: 2px;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.masthead-meta {
  display: flex;
  gap: 22px;
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.meta-item { white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg);
  padding-bottom: 32px;
}
.hero-figure {
  margin: 0;
  border-bottom: 1px solid var(--rule);
}
.hero-figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  object-position: center 40%;
  filter: contrast(1.02) saturate(0.95);
}
.hero-text {
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding: 0 var(--gutter);
}
.kicker {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--amber);
  margin: 0 0 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  max-width: 22ch;
}
.dek {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 60ch;
  margin: 0 0 28px;
}
.byline {
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}

/* ---------- Main ---------- */
.main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--gutter) 0;
}

/* ---------- Lede paragraphs ---------- */
.lede {
  font-size: 20px;
  line-height: 1.65;
  max-width: 64ch;
  margin: 0 auto;
}
.lede p { margin: 0 0 1.4em; }
.dropcap {
  float: left;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 4.4em;
  line-height: 0.85;
  margin: 0.06em 0.08em -0.08em 0;
  color: var(--amber);
}

/* ---------- Numbered "bays" ---------- */
.bay { position: relative; }
.bay-num {
  font-family: var(--condensed);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin: 0 0 14px;
}
.bay h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  margin: 0 0 36px;
  max-width: 22ch;
  letter-spacing: -0.01em;
}
.bay-figure {
  margin: 0 calc(var(--gutter) * -1) 36px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.bay-figure img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
}
.bay-body {
  max-width: 64ch;
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.65;
}
.bay-body p { margin: 0 0 1.3em; }

/* Pull quote */
.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3em;
  line-height: 1.4;
  border-left: 2px solid var(--amber);
  padding: 0.4em 0 0.4em 1.4em;
  margin: 1.6em 0;
  color: var(--ink);
}

/* ---------- Terminal pre block ---------- */
pre.terminal {
  background: #07060a;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 18px 22px;
  margin: 1.4em 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  overflow-x: auto;
}
pre.terminal {
  white-space: pre;
  tab-size: 2;
}

/* ---------- "What we are not" ---------- */
.masthead-foot {
  max-width: 64ch;
  margin: 0 auto;
}
.masthead-foot h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 34px);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.negation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.negation-list li {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 1.4em;
  padding-left: 22px;
  position: relative;
}
.negation-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}
.negation-list strong {
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Signoff ---------- */
.signoff {
  max-width: 64ch;
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.65;
  font-style: italic;
  color: var(--ink-mute);
}
.signoff a { font-style: normal; }
.signoff-line { margin: 0 0 1.2em; }

/* ---------- Colophon ---------- */
.colophon {
  border-top: 1px solid var(--rule);
  margin-top: 100px;
  padding: 32px var(--gutter);
}
.colophon-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.colophon-line {
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  line-height: 1.65;
  margin: 0;
}
.colophon-line a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.colophon-line a:hover { color: var(--amber); border-color: var(--amber); }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .masthead-meta { display: none; }
  .hero h1 { letter-spacing: -0.01em; }
  .lede { font-size: 18px; }
  .bay-body { font-size: 17px; }
  pre.terminal { font-size: 13px; padding: 14px 16px; }
  .dropcap { font-size: 3.6em; }
}
