/* TruckDaily v2 — living truck news. Light paper, dark type, photo-first. Sharp corners. */
:root {
  --red: #FF0000;
  --bg: #F6F4F0;
  --paper: #F6F4F0;
  --text: #111111;
  --muted: #5C5C5C;
  --card: #FFFFFF;
  --line: #DDDDDD;
  --header: 68px;
  --header-bg: #000000;
  --header-text: #FFFFFF;
  --header-muted: #B3B3B3;
  --buybar: 88px;
  --measure: 65ch;
  --wide: 1180px;
  --gutter: clamp(16px, 4vw, 36px);
  --ease: 160ms ease;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100svh;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
h1, h2, h3 {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--text);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--red); color: #fff; padding: 10px 14px; z-index: 200;
  min-height: 44px;
}
.skip-link:focus { left: var(--gutter); top: 8px; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.display {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.kicker {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}
.muted { color: var(--muted); }

.wrap {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  max-width: 100%;
  margin-inline: auto;
}
.measure { max-width: var(--measure); }

/* Header — black chrome on light paper */
.site-header {
  position: sticky; top: 0; z-index: 80;
  height: var(--header);
  background: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid #1a1a1a;
  box-shadow: inset 0 2px 0 var(--red);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 100%;
}
.logo { display: flex; align-items: center; min-height: 44px; min-width: 44px; }
.logo img { height: 28px; width: auto; max-width: min(160px, 58vw); }
@media (min-width: 720px) {
  .logo img { height: 34px; }
}
.nav-desktop {
  display: none;
  gap: 28px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--header-muted);
}
.nav-desktop a { min-height: 44px; display: inline-flex; align-items: center; color: inherit; }
.nav-desktop a:hover { color: var(--header-text); text-decoration: none; }
.nav-desktop a[aria-current="page"] {
  color: var(--header-text);
  box-shadow: inset 0 -2px 0 var(--red);
}
.menu-btn {
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu-btn span, .menu-btn::before, .menu-btn::after {
  display: block; width: 22px; height: 2px; background: var(--header-text); content: "";
}
.nav-panel {
  display: none;
  background: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid #1a1a1a;
  padding: 8px var(--gutter) 16px;
}
.nav-panel.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 8px var(--gutter) calc(28px + env(safe-area-inset-bottom));
}
.nav-panel a {
  display: flex; align-items: center;
  min-height: 56px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--header-muted);
  border-bottom: 1px solid #262626;
}
.nav-panel a:hover { color: var(--header-text); text-decoration: none; }
.nav-panel a[aria-current="page"] { color: var(--header-text); }
body.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}
body.nav-open .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 100;
}
body.nav-open main,
body.nav-open .site-footer {
  pointer-events: none;
}
@media (min-width: 720px) {
  .nav-desktop { display: flex; }
  .menu-btn, .nav-panel { display: none !important; }
  body.nav-open { overflow: visible; }
  body.nav-open .site-header { position: sticky; }
  body.nav-open main,
  body.nav-open .site-footer { pointer-events: auto; }
}

/* Crumbs */
.crumbs {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { color: var(--text); }


/* Buttons */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  border: 1px solid transparent;
  border-radius: 0;
  text-decoration: none !important;
}
.btn { background: var(--red); color: #fff; border-color: var(--red); }
.btn:hover { background: #cc0000; color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn-ghost:hover { background: var(--text); color: #fff; }

/* Home — lead feature */
.lead-feature {
  display: grid;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .lead-feature { grid-template-columns: 1.45fr 1fr; min-height: 460px; }
}
.lead-photo {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #e8e6e1;
  min-height: 220px;
}
.lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1280 / 829;
}
@media (min-width: 900px) {
  .lead-photo img { aspect-ratio: auto; min-height: 460px; }
}
.lead-copy {
  padding: 28px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
}
.lead-copy h1 {
  font-size: clamp(32px, 8vw, 64px);
  margin: 0 0 12px;
}
.lead-copy h1 a:hover { text-decoration: none; color: var(--text); }
.lead-copy .lede {
  font-size: 20px;
  line-height: 1.5;
  max-width: 42rem;
  margin: 0 0 16px;
  border-left: 3px solid var(--red);
  padding-left: 16px;
}
.meta-row {
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}

/* Story grid */
.story-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 720px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .story-grid { grid-template-columns: repeat(3, 1fr); }
}
.story-card {
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  color: inherit;
  min-height: 100%;
  overflow: hidden;
}
.story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e8e6e1;
}
.story-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.story-card h2 {
  font-size: 22px;
  margin: 0;
}
.story-card p { color: var(--muted); margin: 0; font-size: 16px; }
.story-card:hover h2 { text-decoration: underline; text-underline-offset: 3px; }

/* Guide rail */
.guide-rail {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .guide-rail { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .guide-rail { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .guide-rail { grid-template-columns: repeat(4, 1fr); }
}
.guide-card {
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  color: inherit;
  min-height: 100%;
}
.guide-card .shot {
  background: #fff;
  border-bottom: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.guide-card .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}
.guide-card .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide-card h3 { font-size: 18px; margin: 0; letter-spacing: -0.02em; }
.guide-card p { color: var(--muted); margin: 0; font-size: 15px; flex: 1; }
.guide-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-bottom: 22px;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0;
}
.section-head a { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.section-head a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Legacy home blocks still used on inner pages */
.mast {
  padding: 28px 0 8px;
  border-bottom: 1px solid var(--line);
}
.mast h1 { font-size: clamp(32px, 6vw, 52px); margin: 0 0 12px; }
.mast .lede { max-width: 42rem; color: var(--text); margin: 0; font-size: 18px; border: 0; padding: 0; }

.front {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .front { grid-template-columns: 1.35fr 1fr; }
}
.lead, .stack-card {
  background: var(--bg);
  padding: 28px 0;
  display: block;
  color: inherit;
}
@media (min-width: 900px) {
  .lead { padding: 36px 36px 36px 0; }
  .stack { display: flex; flex-direction: column; background: var(--line); gap: 1px; }
  .stack-card { padding: 28px 0 28px 36px; flex: 1; }
}
.lead h2, .stack-card h2 { margin: 0 0 10px; }
.lead h2 { font-size: clamp(32px, 5vw, 52px); }
.stack-card h2 { font-size: clamp(22px, 3vw, 28px); }
.lead p, .stack-card p { color: var(--muted); margin: 0 0 16px; }

.buy-grid {
  display: grid; gap: 16px;
}
@media (min-width: 800px) {
  .buy-grid { grid-template-columns: 1fr 1fr; }
}
.buy-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 100%;
}
.buy-card .rank {
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.14em;
  font-size: 12px;
  text-transform: uppercase;
}
.buy-card h3 { font-size: 24px; margin: 0; }
.buy-card p { color: var(--muted); margin: 0; flex: 1; }

.skip-strip {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
}
.skip-strip .label {
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 12px;
  margin: 0 0 8px;
}
.skip-strip h2 { margin: 0 0 8px; font-size: 22px; }
.skip-strip a { color: var(--text); }
.skip-strip a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Page hero (News / Guides / About) */
.page-hero {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(36px, 7vw, 60px);
  margin: 0 0 12px;
}
.page-hero .lede { max-width: var(--measure); margin: 0; border: 0; padding: 0; font-size: 20px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 28px 0;
}
.stats div {
  background: var(--card);
  padding: 16px;
}
.stats b {
  display: block;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
}

/* Lists + photo rows */
.list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.row img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  background: #e8e6e1;
}
.row .who {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 12px;
}
.row h3 { margin: 0 0 4px; font-size: 22px; }
.row p { margin: 0; color: var(--muted); font-size: 16px; }
.row .when { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.row:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
}

/* Article reading */
.article { padding: 28px 0 120px; }
.article .wrap { max-width: 720px; }
.article .wide { max-width: 1120px; margin: 28px auto; }
.article h1 {
  font-size: clamp(32px, 5.5vw, 52px);
  margin: 0 0 16px;
}
.article h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 2em 0 0.6em;
}
.article h3 { font-size: 1.05em; font-weight: 700; letter-spacing: -0.02em; margin: 1.4em 0 0.4em; }
.article a { color: var(--text); }
.article a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lede {
  font-size: 20px;
  line-height: 1.5;
  border-left: 3px solid var(--red);
  padding-left: 16px;
  margin: 0 0 1.2em;
}
.byline {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.disc { font-size: 13px; color: var(--muted); margin: 0 0 1.4em; }
.verdict {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 18px 20px;
  margin: 0 0 28px;
}
.verdict .label {
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 12px;
  margin: 0 0 8px;
}
.verdict p { margin: 0; }

.hero {
  margin: 0 0 1.6em;
}
.hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #e8e6e1;
}
.hero figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.picks, .cards {
  display: grid; gap: 16px;
  margin: 0 0 28px;
}
@media (min-width: 800px) {
  .picks, .cards { grid-template-columns: repeat(3, 1fr); }
  .picks.two, .cards.two { grid-template-columns: repeat(2, 1fr); }
}
.pick, .card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.pick .who, .card .badge {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 12px;
}
.pick h2, .card h2 {
  font-size: 22px;
  margin: 0;
}
.pick p, .card p { color: var(--muted); margin: 0; }
.card ul { color: var(--text); margin: 0; flex: 1; }
.card .draw { color: var(--muted); font-size: 15px; }
.tile {
  height: 72px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 13px;
}

.fit, .skip-box {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px 20px;
  margin: 0 0 28px;
}
.skip-box { border-left: 3px solid var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.chip {
  min-height: 44px;
  display: inline-flex; align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 14px;
}
.chip:hover { border-color: var(--text); text-decoration: none; }

.q {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.q h3 { margin: 0 0 6px; }
.q p { margin: 0; color: var(--muted); }
.art-foot { font-size: 14px; color: var(--muted); margin-top: 32px; }

.read-next {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.read-next a { color: var(--text); display: block; min-height: 44px; padding: 8px 0; }
.read-next a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Comparison table */
.table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 0 0 28px;
  border: 1px solid var(--line);
  background: var(--card);
  scroll-margin-top: calc(var(--header) + 12px);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 520px;
  background: var(--card);
  color: var(--text);
}
table.compare th, table.compare td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
table.compare th:last-child, table.compare td:last-child { border-right: 0; }
table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare th {
  background: #FAFAF8;
  font-weight: 700;
  letter-spacing: -0.01em;
}
table.compare caption {
  text-align: left;
  font-weight: 700;
  padding: 12px 14px;
  caption-side: top;
}

/* Product wells — money pages */
.prod {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
}
.prod img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  display: block;
}
.pick .prod img { height: auto; }

.pick a.product-shot,
.card a.product-shot {
  display: block;
  width: 100%;
  overflow: hidden;
  margin: -18px -18px 8px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.pick a.product-shot img,
.card a.product-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  background: #fff;
}

/* Sticky buy — bottom dock */
.sticky-buy {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.sticky-buy .btn, .sticky-buy .btn-ghost { flex: 1 1 240px; max-width: 560px; }
body.has-buybar { padding-bottom: calc(var(--buybar) + env(safe-area-inset-bottom)); }

/* Footer — black chrome */
.site-footer {
  border-top: 1px solid #1a1a1a;
  padding: 32px 0 40px;
  background: #000;
  color: var(--header-text);
}
.foot-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;
  margin-bottom: 20px;
}
.foot-top .logo img { height: 26px; width: auto; }
.foot-nav {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--header-muted);
}
.foot-nav a { min-height: 44px; display: inline-flex; align-items: center; color: inherit; }
.foot-nav a:hover { color: #fff; text-decoration: none; }
.legal { font-size: 12px; color: #A3A3A3; margin: 0 0 6px; }
.legal a { color: inherit; }
.legal a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 480px) {
  body { font-size: 18px; }
  .lede { font-size: 18px; }
}
