/* ==========================================================================
   TheTruckDNA — "Chassis Plate"

   Palette comes from the subject's own world: highway direction-sign green,
   hazard-marking amber, diesel-dark ink, weighbridge-slip paper. The signature
   element is the chassis plate — the riveted ID plate stamped on every truck —
   used for review spec sheets and echoed in the segment selector.

   Type: Barlow Condensed stamped uppercase for display, Barlow for reading,
   IBM Plex Mono for every number and label. Numbers are set in mono
   throughout, because on this site numbers are the argument.

   Zero border-radius, 2px rules, no soft shadows. Nothing here is decorative.
   ========================================================================== */

:root {
	--ink:      #141A17;
	--ink-soft: #2A312C;
	--steel:    #5A635E;
	--rule:     #C9CEC9;
	--paper:    #EDEEEA;
	--surface:  #FFFFFF;
	--signal:   #0B5138;
	--signal-d: #073626;
	--hazard:   #F5B301;
	--warn:     #A8320F;

	--accent: var(--signal);

	--display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--body:    "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

	--wrap: 1320px;
	--gap:  clamp(16px, 2.2vw, 28px);
	--sec:  clamp(40px, 5vw, 72px);
}

.section-reviews { --accent: var(--signal); }
.section-news    { --accent: var(--warn); }
.section-blog    { --accent: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
	font-synthesis: none;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--signal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); background: var(--hazard); }

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

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.005em;
	margin: 0 0 0.4em;
	text-wrap: balance;
}

p { margin: 0 0 1em; }

.sr-only {
	position: absolute; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--hazard); color: var(--ink);
	padding: 10px 16px; font-family: var(--mono); font-size: 13px;
}
.skip:focus { left: 0; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(16px, 3vw, 32px);
}

/* --- Shared devices ------------------------------------------------------ */

.kicker {
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--steel);
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	gap: 7px;
}
.kicker::before {
	content: "";
	width: 7px; height: 7px;
	background: var(--accent);
	flex: none;
}

.section-head {
	font-family: var(--display);
	font-size: clamp(20px, 2.4vw, 27px);
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin: 0 0 var(--gap);
	padding-bottom: 10px;
	border-bottom: 3px solid var(--ink);
}

.hazard {
	height: 7px;
	background: repeating-linear-gradient(45deg, var(--hazard) 0 9px, var(--ink) 9px 18px);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--display);
	font-weight: 700;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 12px 22px;
	border: 2px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	text-decoration: none;
	cursor: pointer;
	transition: transform .12s ease, background .12s ease, color .12s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--signal); color: #fff; border-color: var(--signal); }
.btn--primary { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn--primary:hover { background: var(--hazard); border-color: var(--ink); color: var(--ink); }
.btn--hazard { background: var(--hazard); border-color: var(--ink); color: var(--ink); }
.btn--hazard:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ghost-dark { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

.chip {
	display: inline-block;
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 7px 12px;
	border: 2px solid var(--rule);
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
}
.chip:hover, .chip.is-on { border-color: var(--ink); background: var(--hazard); }

.chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--gap); }

.morelink {
	font-family: var(--mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	white-space: nowrap;
}

/* --- Ticker + masthead -------------------------------------------------- */

.ticker { background: var(--ink); color: #B9C2BB; font-family: var(--mono); font-size: 12px; }
.ticker__inner { display: flex; align-items: center; gap: 14px; height: 34px; overflow: hidden; }
.ticker__label {
	background: var(--hazard); color: var(--ink);
	padding: 3px 8px; text-transform: uppercase; letter-spacing: 0.1em;
	font-size: 10px; flex: none;
}
.ticker__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; }
.ticker__list a, .ticker__brands { color: #E4E9E4; text-decoration: none; }
.ticker__list a:hover, .ticker__brands:hover { background: none; color: var(--hazard); }
.ticker__brands { margin-left: auto; flex: none; text-transform: uppercase; letter-spacing: 0.1em; }

.masthead { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 2px solid var(--ink); }
.masthead__inner { display: flex; align-items: center; gap: var(--gap); min-height: 68px; }

.brandmark__text { text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 27px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; }
.brandmark__text:hover { background: none; }
.brandmark__the { color: var(--steel); }
.brandmark__truck { color: var(--ink); }
.brandmark__dna {
	color: #fff; background: var(--signal);
	padding: 2px 6px; margin-left: 3px;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list li { position: relative; }
.nav__list a {
	display: block;
	font-family: var(--display);
	font-weight: 600;
	font-size: 17px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ink);
	text-decoration: none;
	padding: 10px 12px;
	border-bottom: 3px solid transparent;
}
.nav__list a:hover, .nav__list .current-menu-item > a { background: none; border-bottom-color: var(--hazard); }
.nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 50;
	min-width: 240px; margin: 0; padding: 6px 0; list-style: none;
	background: var(--ink); border: 2px solid var(--ink); border-top: 0;
	display: none;
}
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { display: block; }
.nav__list .sub-menu a { color: var(--paper); font-size: 15px; border-bottom: 0; padding: 9px 16px; }
.nav__list .sub-menu a:hover { background: var(--hazard); color: var(--ink); }

.masthead__actions { display: flex; align-items: center; gap: 8px; }
.iconbtn {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	background: none; border: 2px solid var(--rule);
	color: var(--ink); cursor: pointer;
}
.iconbtn:hover { border-color: var(--ink); background: var(--hazard); }
.iconbtn svg { width: 18px; height: 18px; }
.iconbtn--menu { display: none; }
.burger { width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

.searchpanel { border-top: 2px solid var(--ink); background: var(--paper); padding: 16px 0; }

.searchform { display: flex; gap: 0; }
.searchform input[type="search"], .signup input, .siteftr__form input, .widget input[type="email"] {
	flex: 1; min-width: 0;
	font-family: var(--body); font-size: 16px;
	padding: 12px 14px;
	border: 2px solid var(--ink);
	background: var(--surface);
	color: var(--ink);
}
.searchform .btn { border-left: 0; }

/* Visibility is driven by the [hidden] attribute, which main.js toggles.
   A `display` value set on the class itself would override the browser's
   own [hidden] styling and the panel would never appear. */
.mobilenav { display: block; padding: 16px clamp(16px,3vw,32px) 28px; background: var(--surface); border-bottom: 2px solid var(--ink); }
.mobilenav[hidden] { display: none; }
.mobilenav__list { list-style: none; margin: 16px 0; padding: 0; }
.mobilenav__list a {
	display: block; padding: 12px 0;
	border-bottom: 1px solid var(--rule);
	font-family: var(--display); font-weight: 600; font-size: 19px;
	text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.mobilenav .sub-menu { list-style: none; margin: 0 0 0 14px; padding: 0; }
.mobilenav .sub-menu a { font-size: 16px; font-family: var(--body); text-transform: none; }

/* --- Page heads --------------------------------------------------------- */

.main { display: block; padding-bottom: var(--sec); }

.crumbs { padding: 18px 0 4px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.pagehead { padding: clamp(18px, 3vw, 34px) 0 var(--gap); border-bottom: 3px solid var(--ink); margin-bottom: var(--sec); }
.pagehead__title { font-size: clamp(34px, 6vw, 62px); text-transform: uppercase; margin: 0; }
.pagehead__band { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--signal); margin: 10px 0 0; }
.pagehead__intro { max-width: 62ch; margin-top: 14px; color: var(--ink-soft); }
.pagehead__intro p:last-child { margin-bottom: 0; }

/* --- Layout ------------------------------------------------------------- */

.layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.layout__main { min-width: 0; }
/* Sticky, so a short sidebar does not leave a dead column beside long copy.
   Offset clears the sticky masthead plus its hazard band. */
.layout__rail { min-width: 0; position: sticky; top: 96px; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.module { margin-bottom: var(--sec); }
.module__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.module__head .section-head { flex: 1; }

.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--gap); }

/* --- Cards -------------------------------------------------------------- */

.card { background: var(--surface); border: 2px solid var(--ink); display: flex; flex-direction: column; position: relative; transition: transform .14s ease; }
.card::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--hazard); transition: width .14s ease; }
.card:hover { transform: translateY(-3px); }
.card:hover::after { width: 5px; }
.card__media { display: block; background: var(--rule); }
.card__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card__media:hover { background: var(--rule); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 21px; margin: 0 0 8px; text-transform: none; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { background: var(--hazard); }
.card__deck { color: var(--ink-soft); font-size: 16px; }
.card__meta { margin: auto 0 0; padding-top: 12px; display: flex; gap: 14px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--steel); }

.card__specs { display: flex; flex-wrap: wrap; gap: 0; margin: 6px 0 10px; border-top: 2px solid var(--ink); }
.card__specs > div { flex: 1; min-width: 84px; padding: 8px 10px 8px 0; }
.card__specs dt { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--steel); }
.card__specs dd { margin: 2px 0 0; font-family: var(--mono); font-size: 14px; }
.card__score { font-family: var(--display) !important; font-size: 26px !important; font-weight: 700; line-height: 1; color: var(--signal); }
.card__score span { font-family: var(--mono); font-size: 12px; color: var(--steel); }

.card--hero .card__title { font-size: clamp(30px, 3.6vw, 44px); text-transform: uppercase; }
.card--hero .card__media img { aspect-ratio: 16/9; }
.card--wide { flex-direction: row; }
.card--wide .card__media { flex: 0 0 44%; }
.card--wide .card__media img { height: 100%; aspect-ratio: auto; }
.card--compact { border: 0; border-bottom: 2px solid var(--rule); background: none; padding-bottom: 14px; }
.card--compact:hover { transform: none; }
.card--compact::after { display: none; }
.card--compact .card__body { padding: 0; }
.card--compact .card__title { font-size: 22px; }

/* --- Hero --------------------------------------------------------------- */

.home { display: flex; flex-direction: column; }

.hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--gap); padding-top: var(--gap); margin-bottom: var(--sec); }
.hero__stack { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hero__stack li { border-bottom: 2px solid var(--rule); }
.hero__stack li:first-child { border-top: 3px solid var(--ink); }
.hero__stack a { display: flex; gap: 14px; padding: 14px 0; text-decoration: none; color: var(--ink); align-items: flex-start; }
.hero__stack a:hover { background: none; }
.hero__stack a:hover .hero__headline { background: var(--hazard); }
.hero__thumb { flex: 0 0 84px; }
.hero__thumb img { width: 84px; height: 62px; object-fit: cover; }
.hero__headline { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.1; display: block; }

/* --- Segment selector (plate-derived) ---------------------------------- */

.segments { margin-bottom: var(--sec); }
.segments__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gap); }
.segcard {
	display: flex; flex-direction: column; gap: 2px;
	padding: 20px 18px 18px;
	background: var(--surface);
	border: 2px solid var(--ink);
	text-decoration: none; color: var(--ink);
	position: relative;
	transition: background .14s ease, transform .14s ease;
}
.segcard::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
	background: var(--signal);
}
.segcard--fleet::before { background: var(--hazard); }
.segcard:hover { transform: translateY(-3px); background: var(--ink); color: var(--paper); }
.segcard:hover .segcard__gvw, .segcard:hover .segcard__use { color: var(--hazard); }
.segcard__code { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; text-transform: uppercase; }
.segcard__gvw { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--signal); }
.segcard__name { font-family: var(--display); font-weight: 600; font-size: 17px; text-transform: uppercase; margin-top: 8px; }
.segcard__use { font-size: 14px; color: var(--steel); }

/* --- The chassis plate ------------------------------------------------- */

.plate {
	background: linear-gradient(180deg, #F7F8F6, #E4E7E3);
	border: 2px solid var(--ink);
	padding: 14px;
	position: relative;
	margin-bottom: var(--gap);
	background-image:
		radial-gradient(circle 3px at 9px 9px, var(--steel) 99%, transparent),
		radial-gradient(circle 3px at calc(100% - 9px) 9px, var(--steel) 99%, transparent),
		radial-gradient(circle 3px at 9px calc(100% - 9px), var(--steel) 99%, transparent),
		radial-gradient(circle 3px at calc(100% - 9px) calc(100% - 9px), var(--steel) 99%, transparent),
		linear-gradient(180deg, #F7F8F6, #E4E7E3);
}
.plate__head { border-bottom: 2px solid var(--ink); padding: 4px 12px 10px; margin-bottom: 6px; }
.plate__stamp {
	display: block;
	font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--steel);
}
.plate__model { display: block; font-family: var(--display); font-weight: 700; font-size: 21px; text-transform: uppercase; line-height: 1.1; }
.plate__rows { margin: 0; padding: 0 12px 4px; }
.plate__row { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px dotted var(--steel); }
.plate__row:last-child { border-bottom: 0; }
.plate__row dt { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--steel); flex: 0 0 42%; }
.plate__row dd { margin: 0; font-family: var(--mono); font-size: 14px; font-weight: 500; text-align: right; flex: 1; }

/* --- Review furniture -------------------------------------------------- */

.revhead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gap); padding: clamp(18px,3vw,30px) 0 var(--gap); border-bottom: 3px solid var(--ink); }
.revhead__title { font-size: clamp(32px, 5.4vw, 58px); text-transform: uppercase; margin: 0; }
.revhead__deck { font-size: 19px; color: var(--ink-soft); max-width: 56ch; margin: 12px 0 0; }

.scoreblock { flex: none; background: var(--signal); color: #fff; padding: 16px 22px; text-align: center; }
.scoreblock__value { display: block; font-family: var(--display); font-weight: 700; font-size: 62px; line-height: 1; }
.scoreblock__outof { font-family: var(--mono); font-size: 13px; opacity: .8; }
.scoreblock__label { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; margin-top: 8px; color: var(--hazard); }

.layout--review { margin-top: var(--sec); }

.verdict { border-left: 6px solid var(--hazard); padding: 4px 0 4px 20px; margin-bottom: var(--gap); }
.verdict__head { font-size: 24px; text-transform: uppercase; }
.verdict__body { font-size: 20px; line-height: 1.45; margin-bottom: 12px; }
.verdict__who { font-family: var(--mono); font-size: 15px; margin: 0; }
.verdict__who span { background: var(--ink); color: var(--paper); padding: 2px 7px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em; margin-right: 8px; }

.proscons { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; border: 2px solid var(--ink); margin-bottom: var(--sec); background: var(--surface); }
.proscons__col { padding: 16px 18px; }
.proscons__col + .proscons__col { border-left: 2px solid var(--ink); }
.proscons h3 { font-size: 17px; text-transform: uppercase; letter-spacing: 0.04em; }
.proscons ul { margin: 0; padding-left: 0; list-style: none; }
.proscons li { padding: 6px 0 6px 22px; position: relative; font-size: 16px; border-bottom: 1px solid var(--rule); }
.proscons li:last-child { border-bottom: 0; }
.proscons li::before { position: absolute; left: 0; top: 6px; font-family: var(--mono); font-weight: 500; }
.proscons__col--pro li::before { content: "+"; color: var(--signal); }
.proscons__col--con li::before { content: "−"; color: var(--warn); }

.rating { border: 2px solid var(--ink); background: var(--surface); padding: 18px; margin-bottom: var(--sec); }
.rating__overall { display: flex; align-items: baseline; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 14px; }
.rating__score { font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1; color: var(--signal); }
.rating__outof { font-family: var(--mono); font-size: 13px; color: var(--steel); }
.rating__label { margin-left: auto; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--steel); }
.rating__criteria { list-style: none; margin: 0; padding: 0; }
.rating__criteria li { display: grid; grid-template-columns: 1fr 42px 1fr 42px; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.rating__name { font-size: 15px; }
.rating__weight, .rating__value { font-family: var(--mono); font-size: 13px; color: var(--steel); text-align: right; }
.rating__value { color: var(--ink); font-weight: 500; }
.rating__bar { display: block; height: 10px; background: var(--rule); }
.rating__bar span { display: block; height: 100%; background: var(--signal); }
.rating__method { margin: 14px 0 0; font-family: var(--mono); font-size: 12px; color: var(--steel); }

.disclose { border: 2px dashed var(--steel); padding: 14px 16px; background: var(--surface); margin-bottom: var(--gap); }
.disclose__head { font-size: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.disclose ul { list-style: none; margin: 0 0 10px; padding: 0; }
.disclose li { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 13px; padding: 5px 0; border-bottom: 1px dotted var(--rule); }
.disclose li span { color: var(--steel); text-transform: uppercase; font-size: 10px; letter-spacing: 0.1em; }
.disclose__source { margin: 0; font-size: 14px; color: var(--ink-soft); }

.rivals, .funnel, .trust, .brands, .brandblock, .related, .authorbox, .catcards, .seotext { margin-bottom: var(--sec); }

.funnel__links { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.funnel__links li { border-bottom: 1px solid var(--rule); }
.funnel__links a { display: block; padding: 13px 0; font-family: var(--display); font-weight: 600; font-size: 19px; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.funnel__links a::after { content: " →"; color: var(--signal); }

/* --- Lists, rivers, archives ------------------------------------------- */

.river { list-style: none; margin: 0; padding: 0; }
.river__item { margin-bottom: 20px; }

.filterbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0; border-block: 2px solid var(--ink); margin-bottom: var(--gap); }
.filterbar__count, .filterbar__sort { margin: 0; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.filterbar__sort { display: flex; align-items: center; gap: 8px; color: var(--steel); }

.catcards__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); }
.catcard { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--surface); border: 2px solid var(--ink); border-left-width: 6px; border-left-color: var(--signal); text-decoration: none; color: var(--ink); transition: transform .14s ease; }
.catcard:hover { transform: translateX(3px); border-left-color: var(--hazard); background: var(--surface); }
.catcard__name { font-family: var(--display); font-weight: 700; font-size: 23px; text-transform: uppercase; line-height: 1.1; }
.catcard__scope { font-size: 15px; color: var(--ink-soft); }
.catcard__count { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--steel); margin-top: auto; }

.linklist { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.linklist a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 20px; text-transform: uppercase; }
.linklist a:hover { background: none; color: var(--signal); }
.linklist em { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--steel); }

.brands__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.brands__list a { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 14px; border: 2px solid var(--rule); background: var(--surface); text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 17px; text-transform: uppercase; }
.brands__list a:hover { border-color: var(--ink); background: var(--hazard); }
.brands__list span { font-family: var(--mono); font-size: 11px; color: var(--steel); }

.related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 var(--gap); }
.related__list a { display: block; padding: 14px 0; border-top: 2px solid var(--rule); text-decoration: none; color: var(--ink); }
.related__list a:hover { background: none; }
.related__list a:hover .related__title { background: var(--hazard); }
.related__kicker { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel); margin-bottom: 4px; }
.related__title { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.15; }

/* --- Long-form ---------------------------------------------------------- */

.arthead { padding: clamp(18px,3vw,30px) 0 var(--gap); border-bottom: 3px solid var(--ink); }
.arthead__title { font-size: clamp(32px, 5vw, 54px); text-transform: uppercase; }
.arthead__deck { font-size: 20px; color: var(--ink-soft); max-width: 60ch; margin: 12px 0 0; }

.byline { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--steel); }
.byline a { color: var(--ink); }
.byline__updated { color: var(--warn); }

.figure { margin: var(--gap) 0; }
.figure figcaption { font-family: var(--mono); font-size: 12px; color: var(--steel); padding-top: 8px; border-top: 1px solid var(--rule); }
.figure--full img { width: 100%; }

/* 72ch keeps the line length readable while using more of a wide screen. */
.prose__body { max-width: 72ch; }
.prose__body > * + * { margin-top: 1.1em; }
.prose__body p, .prose__body li { font-size: 18px; line-height: 1.68; }
.prose__body h2 { font-size: clamp(25px, 3vw, 33px); text-transform: uppercase; margin-top: 1.8em; padding-top: 14px; border-top: 3px solid var(--ink); }
.prose__body h3 { font-size: 23px; margin-top: 1.5em; }
.prose__body ul, .prose__body ol { padding-left: 22px; }
.prose__body li + li { margin-top: 6px; }
.prose__body blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 6px solid var(--hazard); font-family: var(--display); font-size: 25px; line-height: 1.25; }
.prose__body blockquote p { font-size: inherit; }
.prose__body table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 14px; }
.prose__body th { background: var(--ink); color: var(--paper); text-align: left; font-family: var(--display); font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; }
.prose__body th, .prose__body td { padding: 9px 12px; border: 1px solid var(--rule); }
.prose__body tbody tr:nth-child(even) { background: var(--surface); }
.prose__body code { font-family: var(--mono); font-size: 15px; background: var(--surface); padding: 1px 5px; }
.prose--page .prose__body, .prose--page { max-width: none; }
.prose--page .entry-content { max-width: 72ch; }

.artfoot { margin-top: var(--sec); padding-top: 18px; border-top: 3px solid var(--ink); }
.tags { font-family: var(--mono); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.tags span { text-transform: uppercase; font-size: 10px; letter-spacing: 0.12em; color: var(--steel); }
.tags a { text-decoration: none; border-bottom: 2px solid var(--hazard); }
.upnav { font-family: var(--display); font-size: 20px; text-transform: uppercase; }

.authorbox { border: 2px solid var(--ink); padding: 18px; background: var(--surface); }
.authorbox__inner { display: flex; gap: 18px; align-items: flex-start; }
.authorbox__avatar { flex: none; }
.authorbox h3 { font-size: 21px; text-transform: uppercase; margin-bottom: 6px; }
.authorbox p { font-size: 16px; margin-bottom: 8px; }

/* --- Bands -------------------------------------------------------------- */

.signup {
	background: var(--hazard);
	border-block: 3px solid var(--ink);
	padding: clamp(24px, 3.4vw, 40px) clamp(16px, 3vw, 32px);
	margin: 0 0 var(--sec);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
	gap: clamp(20px, 3vw, 48px);
}
.signup__text { max-width: 46ch; }
.signup__text .kicker { color: var(--ink); font-size: 12px; }
.signup__text .kicker::before { background: var(--ink); }
.signup__text p { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 31px); line-height: 1.12; text-transform: uppercase; margin: 0; }
.signup__form { display: flex; min-width: min(420px, 100%); }
.signup--fleet, .signup--news { background: var(--signal); }
.signup--fleet .signup__text, .signup--news .signup__text { color: #fff; }
.signup--fleet .kicker, .signup--news .kicker { color: var(--hazard); }
.signup--fleet .kicker::before, .signup--news .kicker::before { background: var(--hazard); }

.fleetdesk { background: var(--signal-d); color: #fff; padding: clamp(30px, 4vw, 56px) 0; margin-bottom: var(--sec); }
.fleetdesk__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--gap); }
.fleetdesk h2 { font-size: clamp(26px, 3.4vw, 40px); text-transform: uppercase; color: #fff; }
.fleetdesk p { max-width: 52ch; color: #CBD8CF; }
.fleetdesk .kicker { color: var(--hazard); }
.fleetdesk .kicker::before { background: var(--hazard); }
.fleetdesk__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.trust p { max-width: 68ch; }
.trust__links { display: flex; flex-wrap: wrap; gap: 12px; }

.seotext { border-top: 2px solid var(--rule); padding-top: var(--gap); }
.seotext h2 { font-size: 22px; text-transform: uppercase; }
.seotext p { max-width: 90ch; font-size: 16px; color: var(--ink-soft); }

/* --- Rail --------------------------------------------------------------- */

.rail { display: flex; flex-direction: column; gap: var(--gap); position: sticky; top: 96px; }
.widget { background: var(--surface); border: 2px solid var(--ink); padding: 16px 18px; }
.widget__title { font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.widget ul, .widget ol { margin: 0; padding-left: 0; list-style: none; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.widget li:last-child { border-bottom: 0; }
.widget a { text-decoration: none; }
.widget a:hover { background: var(--hazard); }
.ranklist { counter-reset: rank; }
.ranklist li { display: flex; gap: 12px; counter-increment: rank; }
.ranklist li::before { content: counter(rank, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--steel); flex: none; }
.widget--signup, .widget--cta { background: var(--ink); color: var(--paper); }
.widget--signup .widget__title, .widget--cta .widget__title { color: #fff; border-color: var(--hazard); }
.widget--signup p, .widget--cta p { font-size: 15px; color: #C4CCC6; }
.widget--cta .btn + .btn { margin-top: 8px; }
.widget--cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.widget--cta .btn--ghost:hover { background: #fff; color: var(--ink); }

/* --- Pagination, empty states ------------------------------------------ */

.pagination { margin-top: var(--sec); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border: 2px solid var(--rule); background: var(--surface);
	font-family: var(--mono); font-size: 14px; text-decoration: none; color: var(--ink);
}
.pagination .page-numbers:hover { border-color: var(--ink); background: var(--hazard); }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.empty { border: 2px dashed var(--steel); padding: clamp(24px,4vw,48px); text-align: center; margin-bottom: var(--sec); background: var(--surface); }
.empty h1, .empty h2 { font-size: clamp(26px,3.6vw,40px); text-transform: uppercase; }
.empty .kicker { justify-content: center; font-size: 13px; }
.empty .searchform { max-width: 460px; margin: 20px auto 0; }
.empty--404 { margin-top: var(--sec); }

/* --- Footer ------------------------------------------------------------- */

.siteftr { background: var(--ink); color: #B9C2BB; margin-top: var(--sec); }
.siteftr a { color: #E4E9E4; text-decoration: none; }
.siteftr a:hover { color: var(--ink); background: var(--hazard); }
.siteftr__grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: var(--gap); padding: clamp(30px,4vw,52px) clamp(16px,3vw,32px); }
.siteftr__head { font-size: 15px; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; font-family: var(--mono); font-weight: 500; padding-bottom: 10px; border-bottom: 1px solid #3A423C; }
.siteftr__list { list-style: none; margin: 0; padding: 0; }
.siteftr__list li { padding: 6px 0; font-size: 16px; }
.siteftr__pitch { font-size: 15px; }
.siteftr__form { display: flex; max-width: 420px; }
.siteftr__form input { border-color: #fff; }
.siteftr__note { padding: 0 clamp(16px,3vw,32px) 26px; }
.siteftr__note p { font-size: 13px; color: #8C958E; max-width: 90ch; margin: 0; border-top: 1px solid #3A423C; padding-top: 16px; }
.siteftr__bar { background: #0B0F0C; }
.siteftr__barinner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px clamp(16px,3vw,32px); }
.siteftr__barinner p { margin: 0; font-family: var(--mono); font-size: 12px; }
.siteftr__legal { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 12px; }

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 1080px) {
	.layout { grid-template-columns: 1fr; }
	.layout__rail, .rail { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--gap); align-items: start; position: static; }
	.grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.segments__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.siteftr__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) {
	.mobilenav, .mobilenav[hidden] { display: none; }
}

@media (max-width: 900px) {
	.nav, .masthead__actions .btn { display: none; }
	.iconbtn--menu { display: grid; }
	.masthead__actions { margin-left: auto; }
	.hero { grid-template-columns: 1fr; }
	.split { grid-template-columns: 1fr; }
	.grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.catcards__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.revhead { flex-direction: column; align-items: flex-start; }
	.ticker__brands { display: none; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.grid--2, .grid--3, .grid--4, .catcards__grid, .segments__grid, .related__list, .proscons { grid-template-columns: 1fr; }
	.proscons__col + .proscons__col { border-left: 0; border-top: 2px solid var(--ink); }
	.layout__rail, .rail { grid-template-columns: 1fr; }
	.card--wide { flex-direction: column; }
	.card--wide .card__media { flex: none; }
	.card--wide .card__media img { aspect-ratio: 16/9; }
	.siteftr__grid { grid-template-columns: 1fr; }
	.signup__form, .searchform { flex-direction: column; gap: 8px; }
	.searchform .btn { border-left: 2px solid var(--ink); }
	.rating__criteria li { grid-template-columns: 1fr 40px; }
	.rating__bar { grid-column: 1 / -1; }
	.prose__body p, .prose__body li { font-size: 17px; }
	.ticker__inner { height: auto; padding: 6px 0; }

	/* Mobile reorders the homepage: segment selector first, hero second.
	   On a phone, "what are you running?" out-pulls a hero image. */
	.home > :nth-child(1) { order: 2; }
	.home > :nth-child(2) { order: 1; }
	.home > :nth-child(3) { order: 3; }
	.home > :nth-child(4) { order: 5; }
	.home > :nth-child(5) { order: 4; }
	.home > :nth-child(6) { order: 6; }
	.home > :nth-child(7) { order: 8; }
	.home > :nth-child(8) { order: 7; }
	.home > :nth-child(9) { order: 9; }
	.home > :nth-child(10) { order: 10; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.card:hover, .segcard:hover, .btn:hover, .catcard:hover { transform: none; }
}

@media print {
	.masthead, .ticker, .siteftr, .signup, .rail, .related, .mobilenav, .hazard { display: none; }
	body { background: #fff; font-size: 12pt; }
	.plate { border: 1pt solid #000; background: none; }
}
