/* ==========================================================================
   TRIPLE R TRAILERS
   Booneville, Mississippi. Built Strong. Haul Confident.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Ultra';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/ultra-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/barlow-condensed-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/barlow-condensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/barlow-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/barlow-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/barlow-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/barlow-700.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0e1012;
  --coal: #16181b;
  --coal-2: #1a1d20;
  --panel: #1e2125;
  --bone: #ece7dc;
  --bone-dim: #a39f96;
  --steel: #8d939a;
  --steel-dim: #4b5157;
  --red: #c1121f;
  --red-bright: #e01b2b;
  --red-deep: #8d0d17;
  --line: rgba(236, 231, 220, 0.11);
  --line-strong: rgba(236, 231, 220, 0.22);
  --ink-line: rgba(14, 16, 18, 0.16);

  --display: 'Ultra', 'Rockwell Extra Bold', 'Arial Black', serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-stamp: cubic-bezier(0.34, 1.56, 0.64, 1);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--bone);
  background: var(--coal);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
address { font-style: normal; }

::selection { background: var(--red); color: var(--bone); }

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

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--red); color: var(--bone); padding: 10px 18px;
  font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.08em;
}
.skip-link:focus { left: 0; }

.red { color: var(--red-bright); }

/* ---------- Film grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain-shift 0.9s steps(3) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-1.2%, 0.8%); }
  66% { transform: translate(0.9%, -1.1%); }
  100% { transform: translate(0, 0); }
}

/* ==========================================================================
   Reveal system
   ========================================================================== */
.rev {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease-out) calc(var(--i, 0) * 90ms),
    transform 0.9s var(--ease-out) calc(var(--i, 0) * 90ms);
}
.rev.in { opacity: 1; transform: none; }

/* Slat reveal for display headlines */
.line { display: block; overflow: hidden; padding-block: 0.04em; }
.line__in {
  display: inline-block;
  transform: translateY(118%) rotate(1.8deg);
  transform-origin: 0 100%;
  transition: transform 1s var(--ease-out) calc(var(--i, 0) * 120ms);
}
.in .line__in, .line.in .line__in { transform: translateY(0) rotate(0deg); }
.line__in--red { color: var(--red-bright); }

/* Rubber stamp entrance */
.stamp {
  opacity: 0;
  transform: scale(1.45) rotate(-16deg);
}
.stamp.in {
  opacity: 1;
  transform: scale(1) rotate(-4deg);
  transition:
    opacity 0.25s ease-out 0.55s,
    transform 0.65s var(--ease-stamp) 0.55s;
}

/* Self-drawing line art */
.draw path, .draw circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.draw.drawn path, .draw.drawn circle {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s ease-out;
}
.draw.drawn path:nth-child(1), .draw.drawn circle:nth-child(1) { transition-delay: 0.05s; }
.draw.drawn path:nth-child(2), .draw.drawn circle:nth-child(2) { transition-delay: 0.12s; }
.draw.drawn path:nth-child(3), .draw.drawn circle:nth-child(3) { transition-delay: 0.19s; }
.draw.drawn path:nth-child(4), .draw.drawn circle:nth-child(4) { transition-delay: 0.26s; }
.draw.drawn path:nth-child(5), .draw.drawn circle:nth-child(5) { transition-delay: 0.33s; }
.draw.drawn path:nth-child(6), .draw.drawn circle:nth-child(6) { transition-delay: 0.4s; }
.draw.drawn path:nth-child(7), .draw.drawn circle:nth-child(7) { transition-delay: 0.47s; }
.draw.drawn path:nth-child(8), .draw.drawn circle:nth-child(8) { transition-delay: 0.54s; }
.draw.drawn path:nth-child(9), .draw.drawn circle:nth-child(9) { transition-delay: 0.61s; }
.draw.drawn path:nth-child(10), .draw.drawn circle:nth-child(10) { transition-delay: 0.68s; }
.draw.drawn path:nth-child(11), .draw.drawn circle:nth-child(11) { transition-delay: 0.75s; }
.draw.drawn path:nth-child(12), .draw.drawn circle:nth-child(12) { transition-delay: 0.82s; }
.draw.drawn path:nth-child(13), .draw.drawn circle:nth-child(13) { transition-delay: 0.89s; }
.draw.drawn path:nth-child(14), .draw.drawn circle:nth-child(14) { transition-delay: 0.96s; }
.draw.drawn path:nth-child(15), .draw.drawn circle:nth-child(15) { transition-delay: 1.03s; }
.draw.drawn path:nth-child(16), .draw.drawn circle:nth-child(16) { transition-delay: 1.1s; }

/* ==========================================================================
   Photo blending: photos are graded into the palette and their edges
   dissolve into the section background so they sit in the page, not on it
   ========================================================================== */
.blend { position: relative; display: block; overflow: hidden; --blendbg: var(--coal); }
.blend img {
  width: 100%; object-fit: cover;
  filter: saturate(0.78) contrast(1.06) brightness(0.88);
}
.blend::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(85% 70% at 50% 45%, rgba(193, 18, 31, 0.07), transparent 70%),
    radial-gradient(115% 100% at 50% 48%, transparent 55%, var(--blendbg) 99%),
    linear-gradient(to right, var(--blendbg) 0%, transparent 24%),
    linear-gradient(to left, var(--blendbg) 0%, transparent 24%),
    linear-gradient(to top, var(--blendbg) 4%, transparent 34%),
    linear-gradient(to bottom, var(--blendbg) 0%, transparent 30%);
}
.blend--featured { --blendbg: #0e1012; }
.blend--bleed::after {
  background:
    radial-gradient(85% 70% at 55% 45%, rgba(193, 18, 31, 0.06), transparent 70%),
    linear-gradient(to right, var(--blendbg) 0%, transparent 34%),
    linear-gradient(to top, var(--blendbg) 2%, transparent 28%),
    linear-gradient(to bottom, var(--blendbg) 0%, transparent 24%);
}
.blend--custom { --blendbg: #1a1d20; }

/* ==========================================================================
   Shared bits
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--cond); font-weight: 600; font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--bone-dim);
}
.eyebrow__tick {
  width: 22px; height: 10px; flex: none;
  background: repeating-linear-gradient(-45deg, var(--red) 0 4px, transparent 4px 8px);
}
.eyebrow--dark { color: rgba(14, 16, 18, 0.6); }

.sechead { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.sechead__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.06; letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-top: 18px;
}
.sechead__lede { margin-top: 20px; color: var(--bone-dim); font-size: 17px; max-width: 58ch; }

/* Buttons: notched corner, sliding fill */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap;
  padding: 15px 30px 14px;
  font-family: var(--cond); font-weight: 700; font-size: 16px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--bone);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  overflow: hidden;
  transition: color 0.3s ease;
  isolation: isolate;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  transition: background 0.3s ease;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: translateX(-101%) skewX(-14deg) scaleX(1.2);
  transform-origin: 100% 50%;
  transition: transform 0.42s var(--ease-out);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(0) skewX(0) scaleX(1); }

.btn--red::before { background: var(--red); }
.btn--red::after { background: var(--bone); }
.btn--red:hover, .btn--red:focus-visible { color: var(--ink); }

.btn--ghost { color: var(--bone); }
.btn--ghost::before { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost::after { background: var(--bone); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); }

.btn--dark { color: var(--bone); }
.btn--dark::before { background: var(--ink); }
.btn--dark::after { background: var(--bone); }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--ink); }

.btn--lg { padding: 18px 38px 17px; font-size: 17px; }
.btn--sm { padding: 11px 16px 10px; font-size: 14px; }

.arrowlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--cond); font-weight: 600; font-size: 16px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--bone-dim);
  transition: color 0.25s ease;
}
.arrowlink svg { transition: transform 0.3s var(--ease-out); }
.arrowlink:hover { color: var(--red-bright); }
.arrowlink:hover svg { transform: translateX(5px); }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  font-family: var(--cond); font-size: 14px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-dim);
  position: relative; z-index: 60;
}
.topbar::before {
  content: ''; display: block; height: 3px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--ink) 14px 28px);
}
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 9px; }
.topbar__note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__links { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.topbar__sep { width: 1px; height: 12px; background: var(--line-strong); }
.topbar__login { color: var(--bone); transition: color 0.25s ease; }
.topbar__login:hover { color: var(--red-bright); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(14, 16, 18, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 18px; padding-block: 14px; transition: padding 0.3s ease; }
.header.scrolled .header__row { padding-block: 8px; }

.header__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; flex-shrink: 0; }
.header__brand img { width: 62px; transition: width 0.3s ease; }
.header.scrolled .header__brand img { width: 48px; }
.header__brandtext { display: flex; flex-direction: column; line-height: 1.1; }
.header__brandname {
  font-family: var(--display); font-size: 17px; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--bone);
  white-space: nowrap;
}
.header__brandname b { color: var(--red-bright); font-weight: 400; }
.header__brandtag {
  font-family: var(--cond); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-dim);
  margin-top: 4px;
}

.nav__list { display: flex; gap: 0; }
.nav__link {
  position: relative; display: block; padding: 10px 9px;
  white-space: nowrap;
  font-family: var(--cond); font-weight: 600; font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--bone-dim);
  transition: color 0.25s ease;
}
.nav__link::after {
  content: ''; position: absolute; left: 9px; right: 9px; bottom: 4px; height: 2px;
  background: var(--red-bright);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 0.32s var(--ease-out);
}
.nav__link:hover { color: var(--bone); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__link.is-current { color: var(--bone); }
.nav__link.is-current::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
  font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.05em;
  color: var(--bone);
  transition: color 0.25s ease;
}
.header__phone svg { color: var(--red-bright); }
.header__phone:hover { color: var(--red-bright); }

/* Burger */
.burger { display: none; position: relative; z-index: 95; width: 44px; height: 44px; padding: 10px; }
.burger span {
  display: block; height: 2px; margin: 5px 0;
  background: var(--bone);
  transition: transform 0.35s var(--ease-out), opacity 0.2s ease;
}
.burger span:nth-child(1) { width: 24px; }
.burger span:nth-child(2) { width: 17px; }
.burger span:nth-child(3) { width: 24px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 24px; }
.burger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }

/* ==========================================================================
   Mobile drawer
   ========================================================================== */
.drawer {
  position: fixed; inset: 0; z-index: 65;
  background: var(--ink);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  visibility: hidden;
}
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer__inner {
  height: 100%; display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 40px;
  overflow-y: auto;
}
.drawer__list li {
  opacity: 0; transform: translateX(36px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
  transition-delay: 0s;
  border-bottom: 1px solid var(--line);
}
.drawer.open .drawer__list li {
  opacity: 1; transform: none;
  transition-delay: calc(0.12s + var(--i) * 0.055s);
}
.drawer__list a {
  display: block; padding: 15px 0;
  font-family: var(--display); font-size: clamp(26px, 6.5vw, 38px);
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1;
  color: var(--bone);
  transition: color 0.25s ease, padding-left 0.3s var(--ease-out);
}
.drawer__list a:hover { color: var(--red-bright); padding-left: 12px; }
.drawer__foot { margin-top: 36px; display: grid; gap: 16px; justify-items: start; }
.drawer__phone {
  font-family: var(--display); font-size: 24px; color: var(--red-bright); letter-spacing: 0.02em;
}
.drawer__meta { font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.12em; font-size: 14px; color: var(--bone-dim); }
.drawer__login { font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.12em; font-size: 14px; color: var(--bone); border-bottom: 1px solid var(--red); padding-bottom: 2px; }

body.no-scroll { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--coal);
  overflow: hidden;
}

/* Full-bleed photo environment with a slow drift */
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__kb { position: absolute; inset: -8%; will-change: transform; }
.hero__kb img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%;
  filter: saturate(0.7) contrast(1.08) brightness(0.52);
  animation: kenburns 26s ease-in-out infinite alternate;
  transform-origin: 60% 60%;
}
@keyframes kenburns {
  from { transform: scale(1.02) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.8%, -1.2%); }
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 78% 30%, rgba(193, 18, 31, 0.12), transparent 65%),
    linear-gradient(90deg, var(--coal) 26%, rgba(22, 24, 27, 0.72) 50%, rgba(22, 24, 27, 0.28) 72%, rgba(22, 24, 27, 0.6) 100%),
    linear-gradient(to bottom, rgba(22, 24, 27, 0.9) 0%, transparent 32%),
    linear-gradient(to top, var(--coal) 3%, rgba(22, 24, 27, 0.5) 30%, transparent 58%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  mask-image: radial-gradient(900px 700px at 70% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 700px at 70% 20%, #000 0%, transparent 75%);
}
.hero__ghost {
  position: absolute; right: -4%; top: 4%;
  font-family: var(--display); font-size: clamp(220px, 34vw, 520px); line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 231, 220, 0.06);
  letter-spacing: -0.04em;
  pointer-events: none; user-select: none;
  will-change: transform;
}

.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  align-items: center; gap: clamp(24px, 5vw, 64px);
  padding-top: clamp(56px, 9vh, 110px);
  padding-bottom: clamp(140px, 20vh, 210px);
}
.hero__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(38px, 4.7vw, 63px);
  line-height: 1.04; letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-top: 22px;
  white-space: nowrap;
}
.hero__sub { margin-top: 26px; max-width: 56ch; color: var(--bone-dim); font-size: clamp(16px, 1.4vw, 18px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.hero__media {
  position: relative; justify-self: end; align-self: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.hero__badge {
  width: clamp(220px, 24vw, 340px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}
.hero__medianote {
  font-family: var(--cond); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(236, 231, 220, 0.75);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero__stats {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line);
  background: rgba(14, 16, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__statsrow { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 20px 18px 18px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  display: block;
  font-family: var(--display); font-size: clamp(20px, 2.3vw, 30px);
  letter-spacing: 0.02em; color: var(--bone); line-height: 1;
  text-transform: uppercase;
}
.stat__num b { font-weight: 400; color: var(--red-bright); }
.stat__label {
  display: block; margin-top: 8px;
  font-family: var(--cond); font-weight: 600; font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-dim);
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  position: relative; z-index: 5;
  background: var(--red);
  border-block: 3px solid var(--ink);
  overflow: hidden;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; padding-block: 14px; }
.marquee__item {
  font-family: var(--display); font-size: clamp(22px, 3vw, 36px);
  text-transform: uppercase; letter-spacing: 0.03em; line-height: 1;
  color: var(--ink); white-space: nowrap;
  padding-inline: 30px;
}
.marquee__item--out {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(14, 16, 18, 0.8);
}
.marquee__dot {
  width: 10px; height: 10px; flex: none;
  background: var(--ink);
  transform: rotate(45deg);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.3333%); }
}

/* ==========================================================================
   Lineup
   ========================================================================== */
.lineup {
  padding-block: clamp(80px, 12vw, 140px); position: relative;
  background:
    radial-gradient(950px 520px at 90% -40px, rgba(193, 18, 31, 0.07), transparent 65%),
    radial-gradient(700px 500px at -60px 100%, rgba(236, 231, 220, 0.035), transparent 60%),
    var(--coal);
}
.cats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cat {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 26px 24px;
  min-height: 300px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.35s ease;
  overflow: hidden;
}
.cat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.4s var(--ease-out);
}
.cat:hover { background: var(--coal-2); }
.cat:hover::before { transform: scaleX(1); }

.cat__num {
  font-family: var(--cond); font-weight: 700; font-size: 14px;
  letter-spacing: 0.2em; color: var(--steel-dim);
  transition: color 0.3s ease;
}
.cat:hover .cat__num { color: var(--red-bright); }

.cat__art { margin: 18px 0 8px; color: var(--steel); transition: color 0.35s ease, transform 0.5s var(--ease-out); }
.cat__art svg { width: 100%; max-width: 230px; }
.cat:hover .cat__art { color: var(--bone); transform: translateX(6px); }

.cat__body { margin-top: auto; }
.cat__name {
  display: block;
  font-family: var(--display); font-size: clamp(21px, 1.9vw, 26px);
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1;
  color: var(--bone);
}
.cat__spec { display: block; margin-top: 8px; font-size: 14.5px; color: var(--bone-dim); line-height: 1.5; }

.cat__go {
  position: absolute; right: 22px; top: 22px;
  color: var(--steel-dim);
  transform: translateX(-6px); opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.3s ease, color 0.3s ease;
}
.cat:hover .cat__go { transform: translateX(0); opacity: 1; color: var(--red-bright); }

.custom {
  position: relative;
  margin-top: clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  border: 1px solid var(--line);
  background: var(--coal-2);
}
.custom::before {
  content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 4px; z-index: 2;
  background: repeating-linear-gradient(-45deg, var(--red) 0 12px, transparent 12px 24px);
}
.custom__photo { position: relative; margin: 0; min-height: 300px; }
.custom__photo .blend { position: absolute; inset: 0; }
.custom__photo .blend img { height: 100%; object-position: 50% 58%; }
.custom__photo .blend::after {
  background:
    radial-gradient(85% 70% at 50% 45%, rgba(193, 18, 31, 0.06), transparent 70%),
    linear-gradient(to left, var(--blendbg) 0%, transparent 32%),
    linear-gradient(to right, var(--blendbg) 0%, transparent 14%),
    linear-gradient(to top, var(--blendbg) 0%, transparent 20%),
    linear-gradient(to bottom, var(--blendbg) 0%, transparent 16%);
}
.custom__body { padding: clamp(28px, 4vw, 52px); align-self: center; }
.custom__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(24px, 2.8vw, 38px);
  text-transform: uppercase; line-height: 1.08;
  color: var(--bone);
  margin-top: 16px;
}
.custom__text { margin: 14px 0 24px; color: var(--bone-dim); font-size: 16px; max-width: 54ch; }

/* ==========================================================================
   Why Triple R (light section)
   ========================================================================== */
.why {
  position: relative;
  background: var(--bone);
  color: var(--ink);
  padding-block: clamp(80px, 12vw, 150px);
}
.why::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 16px, transparent 16px 32px);
  opacity: 0.9;
}
.why__grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.why__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.04; text-transform: uppercase;
  margin-top: 18px;
  color: var(--ink);
}
.why__title .line__in--red { color: var(--red); }
.why__lede { margin-top: 24px; max-width: 62ch; color: rgba(14, 16, 18, 0.72); font-size: 17.5px; }

.proof { margin-top: 40px; border-top: 1px solid var(--ink-line); }
.proof__item {
  display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center;
  padding-block: 20px;
  border-bottom: 1px solid var(--ink-line);
}
.proof__num {
  font-family: var(--display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1;
  color: var(--red);
  letter-spacing: 0.01em;
}
.proof__text { color: rgba(14, 16, 18, 0.72); font-size: 16px; }
.proof__text b { color: var(--ink); }

.why__warranty { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.wchip {
  display: inline-block; padding: 9px 16px 8px;
  border: 1.5px solid var(--ink);
  font-family: var(--cond); font-weight: 700; font-size: 14.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.wchip b { color: var(--red); }
.why__warrantynote { font-size: 14px; font-style: italic; color: rgba(14, 16, 18, 0.55); }

.why__stampcol { text-align: center; }
.why__stamp {
  width: clamp(220px, 24vw, 360px);
  margin-inline: auto;
  mix-blend-mode: multiply;
  opacity: 0.92;
  transform: rotate(-6deg);
}
.why__stampcaption {
  margin-top: 22px;
  font-family: var(--cond); font-weight: 600; font-size: 14px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(14, 16, 18, 0.5);
}

/* ==========================================================================
   Featured (tabs)
   ========================================================================== */
.featured { padding-block: clamp(80px, 12vw, 140px); background: var(--ink); position: relative; }
.featured::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(1000px 500px at 15% 0%, rgba(193, 18, 31, 0.08), transparent 60%);
  pointer-events: none;
}

.tabs {
  display: flex; flex-wrap: wrap; gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(36px, 5vw, 56px);
}
.tab {
  position: relative;
  padding: 14px 26px 13px;
  font-family: var(--cond); font-weight: 700; font-size: 17px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--bone-dim);
  transition: color 0.25s ease;
}
.tab::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--red-bright);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease-out);
}
.tab:hover { color: var(--bone); }
.tab.is-active { color: var(--bone); }
.tab.is-active::after { transform: scaleX(1); }

.panel { display: none; }
.panel.is-active { display: block; }
.panel.is-active .panel__info {
  animation: panel-copy-in 0.6s var(--ease-out) both;
}
.panel.is-active .panel__photo,
.panel.is-active .panel__art {
  animation: panel-photo-in 0.85s ease 0.05s both;
}
@keyframes panel-copy-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes panel-photo-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.panel__grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.panel__name {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  text-transform: uppercase; line-height: 1.05;
  color: var(--bone);
}
.panel__pitch { margin-top: 16px; color: var(--bone-dim); font-size: 16.5px; max-width: 52ch; }

.specs { width: 100%; margin-top: 26px; border-collapse: collapse; }
.specs th, .specs td { padding: 11px 4px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th {
  width: 34%;
  font-family: var(--cond); font-weight: 600; font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel);
}
.specs td { font-size: 15.5px; color: var(--bone); }
.specs a[href^="tel:"] { white-space: nowrap; }

.panel__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }

.panel__art { color: var(--steel); }
.panel__art svg { width: 100%; max-width: 560px; margin-inline: auto; }

.panel__photo {
  position: relative; margin: 0; width: auto;
  margin-right: calc((min(1240px, 100vw) - 100vw) / 2 - var(--gutter));
}
.panel__photo .blend img {
  aspect-ratio: auto; width: 100%; height: clamp(380px, 40vw, 560px);
  will-change: transform;
}
.panel__photo figcaption {
  display: flex; align-items: center; gap: 10px;
  margin-top: 2px; padding-left: 14px;
  font-family: var(--cond); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone-dim);
}
.panel__photo figcaption::before {
  content: ''; width: 8px; height: 8px; flex: none;
  background: var(--red);
  transform: rotate(45deg);
}

/* ==========================================================================
   Dealer band
   ========================================================================== */
.dealerband {
  position: relative;
  background: var(--red);
  color: var(--bone);
  padding-block: clamp(60px, 8vw, 96px);
  clip-path: polygon(0 clamp(12px, 2vw, 26px), 100% 0, 100% calc(100% - clamp(12px, 2vw, 26px)), 0 100%);
  margin-block: clamp(-8px, -1vw, -4px);
  z-index: 4;
}
.dealerband::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 85% 20%, rgba(14, 16, 18, 0.25), transparent 60%);
  pointer-events: none;
}
.dealerband__row {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.dealerband__kicker {
  font-family: var(--cond); font-weight: 600; font-size: 14.5px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(236, 231, 220, 0.75);
}
.dealerband__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 4.6vw, 58px);
  text-transform: uppercase; line-height: 1.04;
  margin-top: 12px;
}
.dealerband__text { margin-top: 16px; max-width: 62ch; color: rgba(236, 231, 220, 0.9); font-size: 17px; }
.dealerband__cta { display: grid; gap: 18px; justify-items: start; }
.dealerband__login {
  font-family: var(--cond); font-weight: 600; font-size: 15px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(236, 231, 220, 0.85);
  border-bottom: 1px solid rgba(236, 231, 220, 0.5);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.dealerband__login:hover { color: var(--bone); border-color: var(--bone); }

/* ==========================================================================
   Territory
   ========================================================================== */
.territory {
  padding-block: clamp(90px, 13vw, 150px);
  background:
    radial-gradient(900px 540px at 6% 6%, rgba(193, 18, 31, 0.06), transparent 62%),
    radial-gradient(760px 520px at 102% 96%, rgba(236, 231, 220, 0.035), transparent 60%),
    var(--coal);
}
.states {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.states > li { display: contents; }
.state {
  position: relative; display: block;
  padding: 30px 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease;
}
.state:hover { background: var(--coal-2); }
.state__ab {
  display: block;
  font-family: var(--display); font-size: clamp(54px, 7vw, 92px); line-height: 0.95;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--steel-dim);
  transition: color 0.35s ease, -webkit-text-stroke-color 0.35s ease;
}
.state:hover .state__ab { color: var(--bone); -webkit-text-stroke-color: var(--bone); }
.state__name {
  display: block; margin-top: 14px;
  font-family: var(--cond); font-weight: 600; font-size: 16px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone-dim);
}
.state__tag {
  position: absolute; top: 24px; right: 22px;
  font-family: var(--cond); font-weight: 700; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--line-strong);
  padding: 5px 10px 4px;
}
.state__tag--home { color: var(--bone); background: var(--red); border-color: var(--red); }

.territory__note { margin-top: 34px; color: var(--bone-dim); font-size: 16px; }
.territory__note a {
  color: var(--bone); font-weight: 600;
  border-bottom: 2px solid var(--red);
  transition: color 0.25s ease;
}
.territory__note a:hover { color: var(--red-bright); }

/* ==========================================================================
   Bottom CTA
   ========================================================================== */
.cta {
  position: relative;
  background:
    radial-gradient(900px 480px at 50% 0%, rgba(193, 18, 31, 0.16), transparent 65%),
    var(--ink);
  text-align: center;
  padding-block: clamp(90px, 13vw, 160px);
  overflow: hidden;
}
.cta__hazard {
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 16px, var(--ink) 16px 32px);
}
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.02; text-transform: uppercase;
  margin-top: 20px;
}
.cta__sub { margin-top: 22px; max-width: 54ch; color: var(--bone-dim); font-size: 17px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 38px; }
.cta__phone { margin-top: 46px; display: inline-block; }
.cta__phonelabel {
  display: block;
  font-family: var(--cond); font-weight: 600; font-size: 14px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--bone-dim);
}
.cta__phonenum {
  display: block; margin-top: 8px;
  font-family: var(--display); font-size: clamp(30px, 4.4vw, 54px); line-height: 1;
  color: var(--bone);
  transition: color 0.25s ease, letter-spacing 0.35s var(--ease-out);
}
.cta__phone:hover .cta__phonenum { color: var(--red-bright); letter-spacing: 0.03em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #0b0d0f; border-top: 1px solid var(--line); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(56px, 8vw, 88px);
}
.footer__brand img { width: 88px; }
.footer__tag { margin-top: 20px; max-width: 40ch; color: var(--bone-dim); font-size: 15px; }
.footer__fb {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-family: var(--cond); font-weight: 600; font-size: 14px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.25s ease;
}
.footer__fb:hover { color: var(--red-bright); }

.footer__head {
  font-family: var(--cond); font-weight: 700; font-size: 14px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 4px; }
.footer__col ul a {
  position: relative; display: inline-block; padding: 5px 0 5px 0;
  font-size: 15.5px; color: var(--bone-dim);
  transition: color 0.25s ease, padding-left 0.3s var(--ease-out);
}
.footer__col ul a::before {
  content: ''; position: absolute; left: 0; top: 50%; margin-top: -1px;
  width: 0; height: 2px; background: var(--red-bright);
  transition: width 0.3s var(--ease-out);
}
.footer__col ul a:hover { color: var(--bone); padding-left: 16px; }
.footer__col ul a:hover::before { width: 10px; }

.footer__address { color: var(--bone-dim); font-size: 15.5px; line-height: 1.7; }
.footer__phone {
  display: inline-block; margin-top: 14px;
  font-family: var(--display); font-size: 21px; color: var(--bone);
  transition: color 0.25s ease;
}
.footer__phone:hover { color: var(--red-bright); }
.footer__warranty {
  margin-top: 18px;
  font-family: var(--cond); font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel);
  line-height: 1.8;
}

.footer__bar { border-top: 1px solid var(--line); }
.footer__barrow {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-block: 20px;
  font-family: var(--cond); font-size: 13.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel-dim);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
section[id] { scroll-margin-top: 96px; }

@media (max-width: 1280px) {
  .header__phone span { display: none; }
  .header__brandtag { display: none; }
  .nav__link { padding-inline: 8px; font-size: 14px; }
}

@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__quote { display: none; }
  .header__phone span { display: inline; }

  .hero__grid { grid-template-columns: 1fr; padding-bottom: clamp(150px, 24vh, 230px); }
  .hero__media { display: none; }
  .hero__ghost { right: -14%; top: 0; }

  .cats { grid-template-columns: repeat(2, 1fr); }
  .cat { min-height: 260px; }

  .why__grid { grid-template-columns: 1fr; }
  .why__stampcol { order: -1; text-align: left; }
  .why__stamp { margin-inline: 0; width: clamp(160px, 22vw, 220px); }
  .why__stampcaption { display: none; }

  .panel__grid { grid-template-columns: 1fr; }
  .panel__art { order: -1; max-width: 480px; }
  .panel__photo { order: -1; margin-inline: calc(-1 * var(--gutter)); }
  .panel__photo .blend img { height: clamp(260px, 52vw, 420px); }
  .panel__photo figcaption { padding-left: var(--gutter); }

  .hero__kb img { object-position: 62% 68%; }
  .hero__bg::after {
    background:
      linear-gradient(rgba(22, 24, 27, 0.62), rgba(22, 24, 27, 0.62)),
      linear-gradient(to bottom, rgba(22, 24, 27, 0.9) 0%, transparent 40%),
      linear-gradient(to top, var(--coal) 4%, rgba(22, 24, 27, 0.5) 34%, transparent 62%);
  }

  .dealerband__row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .topbar__hours { display: none; }
  .topbar__note { font-size: 12.5px; }
  .header__brandtext { display: none; }
  .header__brand img { width: 52px; }

  .hero__grid { padding-top: 48px; }
  .hero__title { font-size: clamp(30px, 9vw, 44px); }

  .hero__statsrow { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 14px 14px 12px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .cats { grid-template-columns: 1fr; }
  .cat { min-height: 0; flex-direction: row; align-items: center; gap: 18px; padding: 18px 20px; }
  .cat__num { position: absolute; top: 14px; right: 18px; }
  .cat__art { margin: 0; flex: none; width: 108px; }
  .cat:hover .cat__art { transform: none; }
  .cat__body { margin-top: 0; }
  .cat__name { font-size: 20px; }
  .cat__spec { font-size: 13.5px; margin-top: 5px; }
  .cat__go { display: none; }

  .proof__item { grid-template-columns: 76px 1fr; gap: 14px; }

  .custom { grid-template-columns: 1fr; }
  .custom__photo { min-height: 0; }
  .custom__photo .blend { position: static; }
  .custom__photo .blend img { height: auto; aspect-ratio: 16 / 10; }
  .custom__photo .blend::after {
    background:
      linear-gradient(to bottom, var(--blendbg) 0%, transparent 20%),
      linear-gradient(to top, var(--blendbg) 0%, transparent 26%),
      linear-gradient(to right, var(--blendbg) 0%, transparent 16%),
      linear-gradient(to left, var(--blendbg) 0%, transparent 16%);
  }

  .tabs { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
  .tab { padding: 13px 8px 12px; font-size: 15px; text-align: center; }
  .tab::after { bottom: 0; }

  .states { grid-template-columns: repeat(2, 1fr); }
  .state { padding: 20px 18px 18px; display: flex; flex-direction: column; align-items: flex-start; }
  .state__tag { position: static; order: 3; margin-top: 12px; }
  .state__name { margin-top: 10px; }

  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__barrow { justify-content: center; text-align: center; }
}

@media (max-width: 400px) {
  .btn--lg { padding: 15px 26px 14px; font-size: 15px; }
  .hero__ctas .btn { width: 100%; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { width: 100%; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .rev, .line__in, .stamp { opacity: 1 !important; transform: none !important; }
  .draw path, .draw circle { stroke-dashoffset: 0 !important; }
  .grain { animation: none; }
  .marquee__track { animation: none; }
  .hero__ghost { transform: none !important; }
}

/* ==========================================================================
   Interior pages
   ========================================================================== */
.pagehero {
  position: relative;
  background:
    radial-gradient(900px 420px at 80% 20%, rgba(193, 18, 31, 0.1), transparent 65%),
    var(--coal);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.pagehero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.3;
  mask-image: radial-gradient(800px 500px at 75% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(800px 500px at 75% 30%, #000 0%, transparent 75%);
}
.pagehero__ghost {
  position: absolute; right: -2%; top: -12%;
  font-family: var(--display); font-size: clamp(160px, 24vw, 340px); line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 231, 220, 0.06);
  letter-spacing: -0.02em;
  pointer-events: none; user-select: none;
  text-transform: uppercase;
}
.pagehero__inner { position: relative; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(48px, 7vw, 84px); }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--cond); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 22px;
}
.crumbs a { color: var(--bone-dim); transition: color 0.25s ease; }
.crumbs a:hover { color: var(--red-bright); }
.crumbs__sep { color: var(--steel-dim); }
.pagehero__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05; text-transform: uppercase;
  max-width: 20ch;
  margin-top: 18px;
}
.pagehero__lede { margin-top: 20px; max-width: 62ch; color: var(--bone-dim); font-size: 17.5px; }
.pagehero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.sec { padding-block: clamp(64px, 9vw, 110px); position: relative; }
.sec::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(760px 440px at 92% -60px, rgba(193, 18, 31, 0.07), transparent 65%),
    radial-gradient(640px 420px at -80px 105%, rgba(236, 231, 220, 0.035), transparent 60%);
}
section.sec:nth-of-type(even)::before {
  background:
    radial-gradient(760px 440px at 6% -60px, rgba(193, 18, 31, 0.06), transparent 65%),
    radial-gradient(640px 420px at 105% 100%, rgba(236, 231, 220, 0.035), transparent 60%);
}
.sec--tight { padding-block: clamp(44px, 6vw, 72px); }
.sec--tint {
  background:
    radial-gradient(820px 480px at 10% 0%, rgba(193, 18, 31, 0.06), transparent 65%),
    radial-gradient(700px 480px at 100% 110%, rgba(236, 231, 220, 0.03), transparent 60%),
    linear-gradient(rgba(236, 231, 220, 0.045) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(236, 231, 220, 0.045) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--coal-2);
  border-block: 1px solid var(--line);
}
.sec--tint::before { content: none; }
.sec--light { background: var(--bone); color: var(--ink); }
.sec--light .sechead__title { color: var(--ink); }
.sec--light .sechead__lede, .sec--light p { color: rgba(14, 16, 18, 0.72); }
.sechead--sub { margin-bottom: clamp(28px, 4vw, 48px); }
.sechead--sub .sechead__title { font-size: clamp(26px, 3.6vw, 42px); }

.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; padding: 26px 26px 24px;
  border: 1px solid var(--line);
  background: transparent;
  transition: background 0.3s ease;
  overflow: hidden;
}
.tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.4s var(--ease-out);
}
.tile:hover { background: var(--coal-2); }
.tile:hover::before { transform: scaleX(1); }
.tile__head {
  font-family: var(--display); font-weight: 400; font-size: 19px;
  text-transform: uppercase; line-height: 1.2; color: var(--bone);
}
.tile__text { margin-top: 10px; font-size: 15px; color: var(--bone-dim); }
.tile__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-family: var(--cond); font-weight: 700; font-size: 14px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-dim);
  transition: color 0.25s ease;
}
.tile__link:hover, a.tile:hover .tile__link { color: var(--red-bright); }
a.tile { display: block; }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 72px); align-items: start; }
.split__aside { border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); background: var(--coal-2); }
.sec--light .split__aside { border-color: var(--ink-line); background: rgba(14, 16, 18, 0.04); }

.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12; text-transform: uppercase;
  margin-top: 1.9em;
}
.prose h3 {
  font-family: var(--cond); font-weight: 700; font-size: 19px;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-top: 1.7em;
}
.prose p, .prose li { color: var(--bone-dim); font-size: 16.5px; }
.prose strong { color: var(--bone); }
.prose a { color: var(--bone); font-weight: 600; border-bottom: 2px solid var(--red); transition: color 0.25s ease; }
.prose a:hover { color: var(--red-bright); }
.prose ul { padding-left: 4px; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; list-style: none; }
.prose ul li::before {
  content: ''; position: absolute; left: 2px; top: 0.5em;
  width: 8px; height: 8px; background: var(--red);
  transform: rotate(45deg);
}
.prose ol { padding-left: 22px; display: grid; gap: 10px; }
.prose ol li::marker { color: var(--red-bright); font-family: var(--cond); font-weight: 700; }
.prose .specs { max-width: 640px; }

.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 2px;
  font-family: var(--cond); font-weight: 700; font-size: 17px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--bone); cursor: pointer; list-style: none;
  transition: color 0.25s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none;
  font-family: var(--display); font-size: 20px; color: var(--red-bright);
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red-bright); }
.faq details p { padding: 0 2px 20px; color: var(--bone-dim); font-size: 16px; max-width: 70ch; }

.form { display: grid; gap: 18px; max-width: 760px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--cond); font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dim);
}
.field input, .field textarea, .field select {
  font: inherit; color: var(--bone);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  padding: 12px 14px;
  border-radius: 0;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--red-bright);
}
.field input::placeholder, .field textarea::placeholder { color: var(--steel-dim); }
.form__note { font-size: 14px; color: var(--steel); font-style: italic; }
.form .btn { justify-self: start; }

.dealercols { columns: 3; column-gap: 40px; max-width: 1000px; }
.dealercols li {
  break-inside: avoid;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--cond); font-weight: 500; font-size: 15.5px;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--bone-dim);
}

.chiprow { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: 9px 16px 8px;
  border: 1px solid var(--line-strong);
  font-family: var(--cond); font-weight: 600; font-size: 14px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.chip:hover { color: var(--bone); border-color: var(--red); background: rgba(193, 18, 31, 0.12); }

.imgband { position: relative; margin: 0; }
.imgband .blend img { width: 100%; height: clamp(300px, 38vw, 520px); object-fit: cover; will-change: transform; }
.imgband figcaption {
  display: flex; align-items: center; gap: 10px;
  margin-top: 2px; padding-left: var(--gutter);
  font-family: var(--cond); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone-dim);
}
.imgband figcaption::before {
  content: ''; width: 8px; height: 8px; flex: none;
  background: var(--red); transform: rotate(45deg);
}

.bandcta {
  position: relative; text-align: center;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(193, 18, 31, 0.15), transparent 65%),
    var(--ink);
  padding-block: clamp(64px, 9vw, 110px);
  border-top: 1px solid var(--line);
}
.bandcta::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--ink) 14px 28px);
}
.bandcta__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.05; text-transform: uppercase;
}
.bandcta__sub { margin: 16px auto 0; max-width: 54ch; color: var(--bone-dim); font-size: 16.5px; }
.bandcta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.bandcta__phone {
  display: inline-block; margin-top: 30px;
  font-family: var(--display); font-size: clamp(22px, 3vw, 34px);
  color: var(--bone); transition: color 0.25s ease;
}
.bandcta__phone:hover { color: var(--red-bright); }

.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.statgrid__cell { background: var(--coal); padding: 24px 20px; }
.sec--light .statgrid { background: var(--ink-line); border-color: var(--ink-line); }
.sec--light .statgrid__cell { background: var(--bone); }
.statgrid__num { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); line-height: 1; color: var(--red); display: block; }
.statgrid__label {
  display: block; margin-top: 8px;
  font-family: var(--cond); font-weight: 600; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim);
}
.sec--light .statgrid__label { color: rgba(14, 16, 18, 0.6); }

.notice {
  border: 1px solid var(--line-strong); border-left: 3px solid var(--red);
  padding: 16px 20px; max-width: 760px;
  font-size: 15px; color: var(--bone-dim);
}

@media (max-width: 900px) {
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .dealercols { columns: 2; }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .dealercols { columns: 1; }
}

.footer__states { border-top: 1px solid var(--line); }
.footer__statesrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  padding-block: 16px;
  font-family: var(--cond); font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.footer__statesrow span { color: var(--steel-dim); }
.footer__statesrow a { color: var(--bone-dim); transition: color 0.25s ease; }
.footer__statesrow a:hover { color: var(--red-bright); }

/* ==========================================================================
   Dealer map
   ========================================================================== */
.dmap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr); gap: 0; border: 1px solid var(--line); }
#dealermap { height: clamp(420px, 55vh, 620px); background: var(--panel); z-index: 1; }
#dealermap .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(0.72) contrast(1.15) sepia(0.14) hue-rotate(175deg); }
#dealermap .leaflet-control-attribution {
  background: rgba(14, 16, 18, 0.8); color: var(--steel);
  font-family: var(--body); font-size: 10px;
}
#dealermap .leaflet-control-attribution a { color: var(--bone-dim); }
#dealermap .leaflet-control-zoom a {
  background: var(--ink); color: var(--bone); border-color: var(--line-strong);
}
#dealermap .leaflet-control-zoom a:hover { background: var(--red); }
#dealermap .leaflet-popup-content-wrapper {
  background: var(--ink); color: var(--bone);
  border: 1px solid var(--line-strong); border-radius: 0;
  font-family: var(--body); font-size: 14px; line-height: 1.6;
}
#dealermap .leaflet-popup-content-wrapper strong {
  font-family: var(--cond); font-weight: 700; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
#dealermap .leaflet-popup-content a { color: var(--red-bright); font-weight: 600; }
#dealermap .leaflet-popup-tip { background: var(--ink); border: 1px solid var(--line-strong); }
#dealermap .leaflet-popup-close-button { color: var(--steel); }

.dpin {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--red);
  border: 2px solid var(--bone);
  color: var(--bone);
  font-family: var(--display); font-size: 16px; line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}
.dpin--factory { background: var(--ink); border-color: var(--red-bright); color: var(--red-bright); }

.dmap-side {
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line); background: var(--coal-2);
  min-height: 0;
  max-height: clamp(420px, 55vh, 620px);
}
.dmap-controls { padding: 18px; border-bottom: 1px solid var(--line); }
.dmap-controls form { display: flex; gap: 8px; }
.dmap-controls input {
  flex: 1; min-width: 0;
  font: inherit; color: var(--bone);
  background: var(--panel); border: 1px solid var(--line-strong);
  padding: 10px 12px;
}
.dmap-controls input:focus { outline: none; border-color: var(--red-bright); }
.dmap-controls input::placeholder { color: var(--steel-dim); }
.dmap-locate {
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 0;
  font-family: var(--cond); font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.25s ease;
}
.dmap-locate:hover { color: var(--red-bright); }
.dmap-status { margin-top: 10px; font-size: 13.5px; color: var(--steel); min-height: 1.2em; }
#dmap-list { overflow-y: auto; flex: 1; }
#dmap-list li { border-bottom: 1px solid var(--line); }
.dmap-item {
  display: block; width: 100%; text-align: left;
  padding: 13px 18px;
  transition: background 0.25s ease;
}
.dmap-item:hover { background: var(--panel); }
.dmap-item__name {
  display: block;
  font-family: var(--cond); font-weight: 600; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--bone);
}
.dmap-item__meta { display: block; margin-top: 3px; font-size: 13px; color: var(--bone-dim); }
.dmap-note {
  padding: 14px 18px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--steel); font-style: italic;
}

@media (max-width: 900px) {
  .dmap { grid-template-columns: 1fr; }
  .dmap-side { border-left: 0; border-top: 1px solid var(--line); }
  #dmap-list { max-height: 300px; }
  #dealermap { height: clamp(320px, 48vh, 480px); }
}

.dealercols__loc {
  display: block; margin-top: 1px;
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--steel);
}

/* ==========================================================================
   Trailer showcase (trailers hub)
   ========================================================================== */
.showcase { border-top: 1px solid var(--line); }
.showcase:last-of-type { border-bottom: 1px solid var(--line); }
.showcase__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(44px, 6vw, 72px);
  position: relative;
}
.showcase__num {
  position: absolute; top: 14px; right: 0;
  font-family: var(--display); font-size: clamp(60px, 8vw, 110px); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 231, 220, 0.09);
  pointer-events: none; user-select: none;
}
.showcase--flip .showcase__inner > .showcase__media { order: 2; }
.showcase--flip .showcase__num { right: auto; left: 0; }
.showcase__kicker {
  font-family: var(--cond); font-weight: 600; font-size: 14px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-bright);
}
.showcase__name {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.04; text-transform: uppercase;
  margin-top: 10px;
}
.showcase__name a { color: inherit; transition: color 0.25s ease; }
.showcase__name a:hover { color: var(--red-bright); }
.showcase__desc { margin-top: 14px; color: var(--bone-dim); font-size: 16.5px; max-width: 54ch; }
.showcase__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.showcase__chips .chip { font-size: 13px; padding: 7px 12px 6px; }
.showcase__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 26px; }
.showcase__media { position: relative; }
.showcase__media .blend img {
  width: 100%; height: clamp(300px, 30vw, 420px); object-fit: cover;
  will-change: transform;
}
.showcase__media .panel__art svg { max-width: 480px; }
.showcase__warranty {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: var(--cond); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel);
}
.showcase__warranty::before {
  content: ''; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg);
}

@media (max-width: 900px) {
  .showcase__inner { grid-template-columns: 1fr; gap: 22px; padding-block: 38px; }
  .showcase--flip .showcase__inner > .showcase__media { order: 0; }
  .showcase__media .blend img { height: clamp(220px, 46vw, 320px); }
  .showcase__num { top: 6px; }
}

/* Service area hub */
.sa-state { padding-block: 26px; border-bottom: 1px solid var(--line); }
.sa-state:first-child { border-top: 1px solid var(--line); }
.sa-state__name {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  text-transform: uppercase; margin-bottom: 14px;
}
.sa-state__name a { color: var(--bone); transition: color 0.25s ease; }
.sa-state__name a:hover { color: var(--red-bright); }

/* Dealer portal */
.portal-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--line); background: var(--coal-2);
}
.portal-who { font-size: 15px; color: var(--bone-dim); }
.portal-who strong { color: var(--bone); }
.doclist { margin-top: 20px; border-top: 1px solid var(--line); max-width: 860px; }
.doclist li { border-bottom: 1px solid var(--line); }
.doclist .portal-empty { padding: 18px 4px; color: var(--bone-dim); font-size: 15.5px; }
.doclink {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 16px 8px;
  transition: background 0.25s ease;
}
.doclink:hover { background: var(--coal-2); }
.doclink__name {
  font-family: var(--cond); font-weight: 600; font-size: 17px;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--bone);
}
.doclink:hover .doclink__name { color: var(--red-bright); }
.doclink__meta { font-size: 13.5px; color: var(--steel); white-space: nowrap; }

/* ==========================================================================
   Photo gallery + photo marquee
   ========================================================================== */
.gallery { columns: 3 200px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; position: relative; break-inside: avoid; }
.gallery .blend img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  will-change: transform;
}
.gallery__tall .blend img { aspect-ratio: 3 / 4; }
.gallery figcaption {
  display: flex; align-items: center; gap: 8px;
  margin-top: 4px; padding-left: 8px;
  font-family: var(--cond); font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel);
}
.gallery figcaption::before {
  content: ''; width: 7px; height: 7px; flex: none;
  background: var(--red); transform: rotate(45deg);
}
@media (max-width: 700px) {
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
}

.photomarquee {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
}
.photomarquee__track {
  display: flex; gap: 14px; width: max-content;
  padding-block: 14px;
  animation: photomarquee 60s linear infinite;
}
.photomarquee:hover .photomarquee__track { animation-play-state: paused; }
.photomarquee img {
  height: clamp(150px, 20vw, 240px); width: auto;
  filter: saturate(0.85) contrast(1.05) brightness(0.9);
}
@keyframes photomarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .photomarquee { overflow-x: auto; }
  .photomarquee__track { animation: none; }
}

.about-photocol { align-self: start; }
.about-photocap {
  display: flex; align-items: center; gap: 8px;
  margin-top: 4px; padding-left: 8px;
  font-family: var(--cond); font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel);
}
.about-photocap::before {
  content: ''; width: 7px; height: 7px; flex: none;
  background: var(--red); transform: rotate(45deg);
}

/* ==========================================================================
   Dealer order builder
   ========================================================================== */

.pagehero--short { padding-bottom: 34px; }

.portal-dealer {
  margin-top: 3px;
  font-family: var(--cond); font-weight: 700; font-size: 15px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone);
}

.portal-nav {
  display: flex; flex-wrap: wrap; gap: 2px;
  margin-top: 14px; border-bottom: 1px solid var(--line);
}
.portal-nav a {
  position: relative; padding: 12px 18px;
  font-family: var(--cond); font-weight: 700; font-size: 14.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone-dim); border-bottom: 2px solid transparent;
  transition: color 0.22s ease, border-color 0.22s ease;
}
.portal-nav a:hover { color: var(--bone); }
.portal-nav a.is-on { color: var(--bone); border-bottom-color: var(--red); }
.portal-nav__badge:not(:empty) {
  display: inline-block; margin-left: 7px; min-width: 19px; padding: 1px 5px;
  background: var(--red); color: #fff; font-size: 12px; text-align: center;
}

.ob-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 34px; margin-top: 32px; align-items: start; }
.ob-main { min-width: 0; }
.ob-h {
  font-family: var(--cond); font-weight: 700; font-size: 15px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-dim);
  margin-bottom: 14px;
}
.ob-h3 {
  font-family: var(--cond); font-weight: 700; font-size: 15px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone);
  margin-bottom: 12px;
}
.ob-loading { color: var(--bone-dim); font-size: 15.5px; padding: 16px 0; }
.ob-empty { color: var(--bone-dim); font-size: 15.5px; padding: 26px 4px; text-align: center; }
.ob-empty svg { color: var(--steel-dim); margin-bottom: 12px; }
.ob-empty p { margin: 0; color: var(--bone); font-family: var(--cond); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; font-size: 14px; }
.ob-empty__sub { margin-top: 7px !important; font-family: var(--body) !important; font-weight: 400 !important;
  text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; color: var(--steel) !important; }
.ob-cart__badge:not(:empty) {
  float: right; min-width: 22px; padding: 1px 6px; background: var(--red); color: #fff;
  font-size: 12.5px; text-align: center; letter-spacing: 0;
}
.ob-empty a { color: var(--bone); border-bottom: 2px solid var(--red); }

/* step rail */
.ob-steps {
  position: relative; display: flex; flex-wrap: wrap; gap: 0; list-style: none;
  margin: 26px 0 34px; border: 1px solid var(--line); background: var(--coal-2);
}
.ob-step {
  flex: 1 1 0; min-width: 120px; display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-right: 1px solid var(--line); position: relative;
}
.ob-step:last-child { border-right: 0; }
.ob-step__n {
  font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  color: var(--steel-dim);
}
.ob-step__l {
  font-family: var(--cond); font-weight: 700; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel);
}
.ob-step.is-done .ob-step__n, .ob-step.is-done .ob-step__l { color: var(--bone-dim); }
.ob-step.is-on { background: var(--ink); }
.ob-step.is-on::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red);
}
.ob-step.is-on .ob-step__n { color: var(--red-bright); }
.ob-step.is-on .ob-step__l { color: var(--bone); }
.ob-steps[data-count]::after {
  content: attr(data-count); margin-left: auto; align-self: center; padding: 0 18px;
  font-family: var(--cond); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-bright);
}

.ob-h__n {
  display: inline-block; margin-right: 10px; color: var(--red);
  font-family: var(--cond); font-weight: 700; letter-spacing: 0.1em;
}

/* category tiles */
.ob-cats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 10px; margin-bottom: 38px;
}
.ob-cat {
  position: relative; display: block; padding: 0; overflow: hidden;
  border: 1px solid var(--line); background: var(--coal-2); text-align: left;
  transition: border-color 0.24s ease, transform 0.24s var(--ease-out);
}
.ob-cat__img {
  display: block; width: 100%; height: 96px; object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.62);
  transition: filter 0.3s ease, transform 0.5s var(--ease-out);
}
.ob-cat__body { display: block; padding: 12px 14px 13px; }
.ob-cat__name {
  display: block; font-family: var(--cond); font-weight: 700; font-size: 15.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); line-height: 1.15;
}
.ob-cat__meta { display: block; margin-top: 3px; font-size: 12.5px; color: var(--steel); }
.ob-cat:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.ob-cat:hover .ob-cat__img { filter: saturate(0.9) contrast(1.06) brightness(0.78); transform: scale(1.04); }
.ob-cat.is-on { border-color: var(--red); }
.ob-cat.is-on .ob-cat__img { filter: saturate(1) contrast(1.05) brightness(0.85); }
.ob-cat.is-on .ob-cat__body { background: var(--red); }
.ob-cat.is-on .ob-cat__meta { color: rgba(255, 255, 255, 0.82); }

/* model lines */
.ob-linegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-bottom: 34px; }
.ob-line {
  position: relative; display: flex; flex-direction: column; gap: 9px; padding: 18px;
  border: 1px solid var(--line); background: var(--coal-2); text-align: left;
  transition: border-color 0.22s ease, transform 0.22s var(--ease-out), background 0.22s ease;
}
.ob-line:hover { border-color: var(--line-strong); transform: translateY(-3px); background: var(--panel); }
.ob-line.is-on { border-color: var(--red); background: var(--panel); }
.ob-line.is-on::before {
  content: ''; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--red);
}
.ob-line__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.ob-line__name {
  font-family: var(--cond); font-weight: 700; font-size: 16.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--bone); line-height: 1.2;
}
.ob-line__from {
  flex: none; text-align: right; font-family: var(--display); font-size: 17px;
  color: var(--bone); line-height: 1;
}
.ob-line__from em {
  display: block; font-family: var(--cond); font-style: normal; font-weight: 600;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel);
  margin-bottom: 3px;
}
.ob-line__from--q { font-family: var(--cond); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.ob-line__blurb { font-size: 14px; color: var(--bone-dim); line-height: 1.5; }
.ob-line__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 9px; border-top: 1px solid var(--line);
  font-family: var(--cond); font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel);
}
.ob-line__go { color: var(--red-bright); font-weight: 700; }
.ob-line__go::after { content: ' \2192'; }

/* configurator */
.ob-panel { border: 1px solid var(--line); background: var(--coal-2); padding: 26px; }
.ob-panel__head {
  display: flex; align-items: flex-start; gap: 18px;
  border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 20px;
}
.ob-panel__art {
  flex: none; width: 132px; height: 92px; object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.8) contrast(1.05) brightness(0.8);
}
.ob-panel__headtext { min-width: 0; }
.ob-panel__title {
  font-family: var(--display); font-size: clamp(24px, 3vw, 32px);
  color: var(--bone); line-height: 1.05; margin-top: 8px;
}
.ob-panel__blurb { margin-top: 10px; font-size: 15px; color: var(--bone-dim); }

.ob-std { margin-bottom: 20px; border: 1px solid var(--line); }
.ob-std summary, .ob-group summary {
  cursor: pointer; padding: 12px 16px; list-style: none;
  font-family: var(--cond); font-weight: 700; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone);
}
.ob-std summary::-webkit-details-marker, .ob-group summary::-webkit-details-marker { display: none; }
.ob-std summary::after, .ob-group summary::after { content: '+'; float: right; color: var(--red-bright); }
.ob-std[open] summary::after, .ob-group[open] summary::after { content: '\2212'; }
.ob-std ul { padding: 0 16px 16px 32px; }
.ob-std li { font-size: 14.5px; color: var(--bone-dim); line-height: 1.7; list-style: disc; }

.ob-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 20px; }
.ob-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.ob-field label {
  font-family: var(--cond); font-weight: 700; font-size: 13.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dim);
}
.ob-field label span { color: var(--steel-dim); letter-spacing: 0.08em; }
.ob-field input, .ob-field select, .ob-field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--body); font-size: 15px;
  color: var(--bone); background: var(--ink); border: 1px solid var(--line);
  transition: border-color 0.22s ease;
}
.ob-field input:focus, .ob-field select:focus, .ob-field textarea:focus {
  outline: none; border-color: var(--red);
}
.ob-field--qty { max-width: 130px; }

.ob-opts { margin-bottom: 22px; }
.ob-group { border: 1px solid var(--line); margin-bottom: 6px; background: var(--ink); }
.ob-optlist { padding: 4px 16px 14px; }
.ob-opt {
  display: flex; align-items: center; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14.5px;
}
.ob-opt:last-child { border-bottom: 0; }
.ob-opt input[type="checkbox"] { width: 17px; height: 17px; flex: none; accent-color: var(--red); }
.ob-opt__label { flex: 1; color: var(--bone); }
.ob-opt__label em { font-style: normal; color: var(--steel); font-size: 13px; }
.ob-opt__price {
  font-family: var(--cond); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; color: var(--bone-dim); white-space: nowrap;
}
.ob-opt.is-off { opacity: 0.4; cursor: not-allowed; }
.ob-optqty { width: 68px; padding: 6px 8px; background: var(--coal); border: 1px solid var(--line); color: var(--bone); font-size: 14px; }

.ob-live {
  position: relative; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px; padding: 22px; margin-top: 6px;
  border: 1px solid var(--line-strong); background: var(--ink);
}
.ob-live::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red);
}
.ob-live__fig { min-width: 0; }
.ob-live__label {
  display: block; font-family: var(--cond); font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel);
}
.ob-live__num { display: block; font-family: var(--display); font-size: clamp(30px, 4vw, 38px); color: var(--bone); line-height: 1.05; }
.ob-live__sub { display: block; margin-top: 4px; font-size: 13px; color: var(--steel); }
#ob-add.is-added { background: var(--bone); color: var(--ink); }

/* cart */
.ob-cart { position: sticky; top: 96px; border: 1px solid var(--line); background: var(--coal-2); padding: 22px; }
.ob-cart__title {
  font-family: var(--cond); font-weight: 700; font-size: 15px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone);
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.ob-ci { padding: 15px 0; border-bottom: 1px solid var(--line); }
.ob-ci__top { display: flex; align-items: baseline; gap: 8px; }
.ob-ci__qty { font-family: var(--cond); font-weight: 700; color: var(--red-bright); font-size: 15px; }
.ob-ci__name { flex: 1; font-size: 14.5px; color: var(--bone); line-height: 1.4; }
.ob-ci__name em { font-style: normal; color: var(--steel); }
.ob-ci__x { flex: none; color: var(--steel); font-size: 20px; line-height: 1; padding: 0 4px; transition: color 0.2s ease; }
.ob-ci__x:hover { color: var(--red-bright); }
.ob-ci__opts { margin: 7px 0 0 0; }
.ob-ci__opts li {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 13px; color: var(--steel); line-height: 1.7;
}
.ob-ci__note { margin-top: 6px; font-size: 13px; color: var(--bone-dim); font-style: italic; }
.ob-ci__total { margin-top: 8px; text-align: right; font-family: var(--cond); font-weight: 700; font-size: 16px; color: var(--bone); }

.ob-sum { padding-top: 16px; }
.ob-sum__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14.5px; color: var(--bone-dim); }
.ob-sum__row strong { color: var(--bone); }
.ob-sum__row--big { padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line-strong); font-size: 16px; }
.ob-sum__row--big strong { font-family: var(--display); font-size: 24px; }
.ob-sum__note { margin-top: 10px; font-size: 12.5px; color: var(--steel); line-height: 1.6; }

.ob-form { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.ob-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.ob-status { margin-top: 12px; font-size: 14px; color: var(--bone-dim); min-height: 1.2em; }
.ob-status.is-bad { color: var(--red-bright); }
.ob-fine { margin-top: 12px; font-size: 12.5px; color: var(--steel); line-height: 1.6; }

/* confirmation */
.ob-done { max-width: 720px; padding: 40px 0; }
.ob-done__title { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); color: var(--bone); line-height: 1.05; margin-top: 10px; }
.ob-done__lede { margin-top: 16px; font-size: 17px; color: var(--bone-dim); line-height: 1.65; }
.ob-done__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.ob-done__mail { margin-top: 24px; font-size: 14.5px; color: var(--steel); }
.ob-done__mail a { color: var(--bone); border-bottom: 2px solid var(--red); }

/* past requests */
.rq { border: 1px solid var(--line); background: var(--coal-2); padding: 22px; margin-top: 16px; }
.rq__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rq__no { font-family: var(--display); font-size: 24px; color: var(--bone); }
.rq__when { margin-top: 4px; font-size: 13.5px; color: var(--steel); }
.rq__status {
  padding: 6px 12px; font-family: var(--cond); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--panel); color: var(--bone-dim); border: 1px solid var(--line);
}
.rq__status--submitted { color: var(--bone); border-color: var(--line-strong); }
.rq__status--confirmed, .rq__status--in_build { background: var(--red); color: #fff; border-color: var(--red); }
.rq__status--ready, .rq__status--delivered { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.rq__items { margin-top: 14px; }
.rq__items li { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--bone); }
.rq__items li:last-child { border-bottom: 0; }
.rq__name { min-width: 0; }
.rq__items li em { font-style: normal; color: var(--steel); }
.rq__qty { font-family: var(--cond); font-weight: 700; color: var(--red-bright); }
.rq__amt { font-family: var(--cond); font-weight: 700; color: var(--bone); white-space: nowrap; }
.rq__opts, .rq__note { grid-column: 2 / -1; font-size: 13px; color: var(--steel); }
.rq__note { font-style: italic; color: var(--bone-dim); }
.rq__ordernote { margin-top: 12px; font-size: 14px; color: var(--bone-dim); }
.rq__ordernote strong { color: var(--bone); }
.rq__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-strong); font-family: var(--cond); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-dim); }
.rq__foot strong { color: var(--bone); }

@media (max-width: 1040px) {
  .ob-grid { grid-template-columns: 1fr; }
  .ob-cart { position: static; }
}
@media (max-width: 620px) {
  .ob-panel { padding: 18px; }
  .ob-panel__head { flex-direction: column; gap: 14px; }
  .ob-panel__art { width: 100%; height: 150px; }
  .ob-step { flex: 1 1 50%; min-width: 50%; border-bottom: 1px solid var(--line); }
  .ob-steps[data-count]::after { flex-basis: 100%; padding: 10px 18px; margin-left: 0; }
  .ob-cat { flex: 1 1 44%; }
  .ob-live { flex-direction: column; align-items: stretch; }
  .ob-live .btn { justify-content: center; }
  .portal-nav a { padding: 11px 13px; font-size: 13.5px; letter-spacing: 0.1em; }
}

/* ==========================================================================
   Dealer parts requests
   ========================================================================== */

.pr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; margin-top: 32px; align-items: start; }
.pr-main { min-width: 0; }

.pr-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) 92px 34px;
  gap: 12px; align-items: end;
  padding: 14px; margin-bottom: 8px;
  border: 1px solid var(--line); background: var(--coal-2);
}
.pr-row .ob-field { margin-bottom: 0; }
.pr-row__x {
  height: 44px; color: var(--steel); font-size: 21px; line-height: 1;
  transition: color 0.2s ease;
}
.pr-row__x:hover { color: var(--red-bright); }

.pr-add {
  margin-top: 6px; padding: 11px 18px;
  border: 1px dashed var(--line-strong); background: transparent;
  font-family: var(--cond); font-weight: 700; font-size: 13.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dim);
  transition: color 0.22s ease, border-color 0.22s ease;
}
.pr-add:hover { color: var(--bone); border-color: var(--bone-dim); }
.pr-add::before { content: '+ '; color: var(--red-bright); }

.pr-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 16px; }
.pr-main .btn { margin-top: 8px; }

.pr-side { border: 1px solid var(--line); background: var(--coal-2); padding: 22px; }
.pr-steps { margin-top: 16px; counter-reset: prstep; list-style: none; }
.pr-steps li {
  position: relative; counter-increment: prstep;
  padding-left: 34px; margin-bottom: 16px;
  font-size: 14.5px; color: var(--bone-dim); line-height: 1.6;
}
.pr-steps li strong { color: var(--bone); }
.pr-steps li::before {
  content: counter(prstep, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font-family: var(--cond); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; color: var(--red);
}

@media (max-width: 1040px) { .pr-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .pr-row { grid-template-columns: 1fr 64px; gap: 10px 12px; }
  .pr-row__desc, .pr-row__for { grid-column: 1 / -1; }
  .pr-row__x { grid-column: 2; justify-self: end; }
}

/* ==========================================================================
   The office desk (dealer-admin.html)
   ========================================================================== */

.ad-card {
  border: 1px solid var(--line); background: var(--coal-2);
  padding: 26px; margin-top: 26px;
}
.ad-fields {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 18px;
}
.ad-f--wide { grid-column: span 2; }
.ad-f--state { max-width: 120px; }
.ad-sub {
  border-left: 2px solid var(--red); padding-left: 18px; margin-bottom: 4px;
}
.ad-sub[hidden] { display: none; }

.ad-manual { margin-top: 22px; }
.ad-manual p { margin-top: 8px; }
.ad-manual__steps {
  margin: 14px 0 18px; padding-left: 20px; list-style: decimal;
  font-size: 14.5px; color: var(--bone-dim); line-height: 1.9;
}
.ad-manual__steps strong { color: var(--bone); }

/* ---- requests coming in ---- */

.ad-reqs { display: grid; gap: 12px; margin-top: 24px; }
.ad-req {
  display: grid; align-items: center; gap: 10px 20px;
  grid-template-columns: 190px minmax(0, 1fr) 190px 230px;
  border: 1px solid var(--line); background: var(--coal-2); padding: 16px 18px;
  transition: border-color 0.18s ease;
}
.ad-req:hover { border-color: var(--line-strong); }
.ad-req__id { display: flex; flex-direction: column; gap: 4px; }
.ad-req__tag {
  align-self: flex-start; padding: 3px 8px;
  font-family: var(--cond); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--bone-dim);
}
.ad-req__tag--trailer { background: var(--red); border-color: var(--red); color: #fff; }
.ad-req__id strong {
  font-family: var(--cond); font-size: 19px; letter-spacing: 0.06em; color: var(--bone);
}
.ad-req__when { font-size: 12.5px; color: var(--steel); }
.ad-req__who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ad-req__who strong { font-size: 15.5px; color: var(--bone); }
.ad-req__who span { font-size: 13px; color: var(--steel); }
.ad-req__what { display: flex; flex-direction: column; gap: 3px; }
.ad-req__what span { font-size: 12.5px; color: var(--steel); }
.ad-req__what strong {
  font-family: var(--cond); font-size: 17px; letter-spacing: 0.04em; color: var(--bone);
}
.ad-req__set { display: flex; flex-direction: column; gap: 5px; }
.ad-req__label {
  font-family: var(--cond); font-weight: 700; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel);
}
.ad-req__set select {
  width: 100%; padding: 9px 11px; background: var(--ink); color: var(--bone);
  border: 1px solid var(--line-strong); font-family: var(--body); font-size: 14.5px;
}
.ad-req__set select:focus { outline: none; border-color: var(--red); }
.ad-req__saved { min-height: 1.1em; font-size: 12.5px; color: var(--steel); }
.ad-req__saved.is-ok { color: var(--bone-dim); }
.ad-req__saved.is-bad { color: var(--red-bright); }
.ad-req__note {
  grid-column: 1 / -1; margin: 2px 0 0; padding-top: 12px;
  border-top: 1px solid var(--line); font-size: 13.5px; color: var(--bone-dim);
}
.ad-req__note strong { color: var(--bone); }

/* ---- logins with nowhere to go ---- */

.ad-loose {
  border: 1px solid var(--red); background: var(--coal-2);
  padding: 20px 22px; margin-top: 24px;
}
.ad-loose__title {
  font-family: var(--cond); font-weight: 700; font-size: 17px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone);
}
.ad-loose__note { margin-top: 7px; font-size: 14px; color: var(--bone-dim); line-height: 1.6; }
.ad-loose__row {
  display: grid; grid-template-columns: minmax(0, 1fr) 240px auto;
  align-items: center; gap: 12px; margin-top: 14px;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.ad-loose__who { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--bone); }
.ad-loose__who em { font-style: normal; font-size: 12.5px; color: var(--steel); }
.ad-loose__pick {
  padding: 9px 11px; background: var(--ink); color: var(--bone);
  border: 1px solid var(--line-strong); font-family: var(--body); font-size: 14px;
}
.ad-loose__pick:focus { outline: none; border-color: var(--red); }

/* ---- dealerships and who can sign in ---- */

.ad-dealers { display: grid; gap: 12px; margin-top: 24px; }
.ad-dealer {
  border: 1px solid var(--line); background: var(--coal-2); padding: 18px 20px;
  transition: border-color 0.18s ease;
}
.ad-dealer:hover { border-color: var(--line-strong); }
.ad-dealer__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.ad-dealer__name {
  font-family: var(--cond); font-weight: 700; font-size: 20px;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--bone);
}
.ad-dealer__meta { margin-top: 4px; font-size: 13px; color: var(--steel); }
.ad-dealer__none { margin-top: 12px; font-size: 13.5px; color: var(--steel); }
.ad-logins { margin-top: 14px; border-top: 1px solid var(--line); }
.ad-logins li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.ad-logins li:last-child { border-bottom: 0; padding-bottom: 0; }
.ad-login__who { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--bone); }
.ad-login__who em { font-style: normal; font-size: 12.5px; color: var(--steel); }
.ad-login__seen { font-size: 12.5px; color: var(--steel); white-space: nowrap; }

.ad-mini {
  padding: 8px 13px; background: transparent; color: var(--bone-dim);
  border: 1px solid var(--line-strong); cursor: pointer;
  font-family: var(--cond); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.ad-mini:hover { color: var(--bone); border-color: var(--bone-dim); }
.ad-mini:disabled { opacity: 0.5; cursor: default; }
.ad-mini--off:hover { color: #fff; background: var(--red); border-color: var(--red); }
.ad-mini--go { background: var(--red); border-color: var(--red); color: #fff; }
.ad-mini--go:hover { background: var(--red-bright); border-color: var(--red-bright); color: #fff; }

@media (max-width: 1040px) {
  .ad-req { grid-template-columns: 170px minmax(0, 1fr); }
  .ad-req__what, .ad-req__set { grid-column: span 1; }
}
@media (max-width: 620px) {
  .ad-card { padding: 18px; }
  .ad-fields { grid-template-columns: 1fr; }
  .ad-f--wide { grid-column: span 1; }
  .ad-f--state { max-width: none; }
  .ad-req { grid-template-columns: 1fr; gap: 12px; }
  .ad-loose__row { grid-template-columns: 1fr; }
  .ad-loose__row .ad-mini { justify-self: start; }
  .ad-dealer__head { flex-direction: column; gap: 12px; }
  .ad-logins li { grid-template-columns: 1fr; gap: 6px; }
  .ad-logins li .ad-mini { justify-self: start; margin-top: 4px; }
}
