/* CJ340.com — Built for the blokes who get it | v5 */

/* ═══ Self-hosted webfonts ═══════════════════════════════════════════
   Previously loaded from fonts.googleapis.com, which cost two blocking
   third-party round trips (CSS -> gstatic woff2) before first paint —
   PageSpeed measured ~1,760ms of render blocking on slow 4G.
   Now same-origin, and the two above-the-fold faces are <link rel=preload>ed
   in each page head. 110 KB total across 9 files.
   ═══════════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/anton-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/anton-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/barlow-condensed-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/barlow-condensed-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/barlow-condensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/share-tech-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallbacks — these hold the exact line-box height and text
   run length of the real face while it loads, so the swap does not move
   anything. Overrides derived from the actual font tables: size-adjust
   matches mean lowercase advance width (stops reflow), ascent/descent
   overrides match the hhea box (stops line-height change).
   Measured against CLS 0.181 in the 2026-08-14 mobile PageSpeed run. */
@font-face {
  font-family: 'Anton Fallback';
  src: local('Impact'), local('Haettenschweiler'), local('Arial Narrow Bold');
  size-adjust: 98.46%;
  ascent-override: 119.47%;
  descent-override: 33.43%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Barlow Condensed Fallback';
  src: local('Helvetica'), local('Arial'), local('Roboto');
  size-adjust: 80.08%;
  ascent-override: 124.88%;
  descent-override: 24.98%;
  line-gap-override: 0%;
}

:root {
  --black: #080604;
  --soot: #12100c;
  --steel: #2a2824;
  --olive: #4a5238;
  --mud: #6b5a42;
  --amber: #d4882a;
  --amber-glow: rgba(212, 136, 42, 0.45);
  --rust: #9e4a28;
  --bone: #e8e0d0;
  --smoke: rgba(232, 224, 208, 0.42);
  --font-stencil: 'Anton', 'Anton Fallback', 'Impact', sans-serif;
  --font-cond: 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif;
  --font-mono: 'Share Tech Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 20px;
}

@media (min-width: 480px) {
  html { font-size: 22px; }
}

@media (min-width: 1024px) {
  html { font-size: 24px; }
}

body {
  font-family: var(--font-cond);
  font-size: 1.05rem;
  background: var(--black);
  color: var(--bone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: linear-gradient(to bottom, rgba(8,6,4,0.95), transparent);
  border-bottom: 1px solid rgba(212,136,42,0.08);
}

.nav-logo {
  font-family: var(--font-stencil);
  font-size: 2.1rem;
  letter-spacing: 0.08em;
  color: var(--bone);
}

.nav-logo em {
  font-style: normal;
  color: var(--amber);
}

.nav-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  display: none;
}

@media (min-width: 700px) { .nav-tag { display: block; } }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-blog-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid rgba(212, 136, 42, 0.25);
  transition: color 0.2s, border-color 0.2s;
}

.nav-blog-link:hover {
  color: var(--amber);
  border-color: rgba(212, 136, 42, 0.5);
}

.lang-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-select {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  background: rgba(18, 16, 12, 0.9);
  color: var(--bone);
  border: 1px solid var(--amber);
  padding: 8px 10px;
  border-radius: 2px;
  cursor: pointer;
  min-width: 110px;
}

.lang-select:focus {
  outline: 1px solid var(--amber);
  outline-offset: 2px;
}

.nav-dots { display: none; gap: 12px; }

@media (min-width: 700px) { .nav-dots { display: flex; } }

.nav-dot {
  width: 8px;
  height: 8px;
  background: rgba(232,224,208,0.2);
  transform: rotate(45deg);
  transition: all 0.3s;
}

.nav-dot.active, .nav-dot:hover {
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber-glow);
}

/* ─── PANELS ─── */
.panel {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 28px 56px;
}

/* ─── HERO ─── */
.hero-panel {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  justify-content: flex-end;
}

/* The hero photo is a real <img> rather than a CSS background. As a
   background it was invisible to the browser's preload scanner — the fetch
   could not begin until style.css had downloaded and parsed, which is why
   PageSpeed measured LCP 9.9s on 2026-08-14. As markup it is discovered in
   the first HTML chunk and carries fetchpriority="high".
   Scrim gradients moved to ::before so they layer over the <img>. */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--black); /* paints instantly, before the photo arrives */
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center; /* same framing as the old background-position */
  filter: contrast(1.05) saturate(1.02);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(8,6,4,0.92) 0%, rgba(8,6,4,0.35) 40%, transparent 70%),
    linear-gradient(to right, rgba(8,6,4,0.88) 0%, rgba(8,6,4,0.45) 42%, transparent 72%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 50% 50% at 78% 45%, rgba(212,136,42,0.15) 0%, transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 28px 72px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--rust);
}

/* Was ".hero h1" — a selector that never matched anything. The hero section
   is <section class="panel hero-panel">, and no element on the site carries a
   bare "hero" class, so these two rules were dead from the start and the h1
   rendered as unstyled inherited body text. Renamed to .hero-panel to match
   the actual markup and the sibling .hero-* convention. */
.hero-panel h1 {
  font-family: var(--font-stencil);
  font-size: clamp(5.5rem, 18vw, 15rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 4px 40px rgba(0,0,0,0.8);
}

.hero-panel h1 span {
  display: block;
  font-size: 0.18em;
  letter-spacing: 0.4em;
  color: var(--smoke);
  margin-top: 0.75em;
  font-family: var(--font-mono);
}

.hero-punch {
  margin-top: 28px;
  max-width: 580px;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--bone);
  text-transform: uppercase;
}

.hero-punch em {
  font-style: normal;
  color: var(--amber);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.badge {
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(212,136,42,0.35);
  background: rgba(8,6,4,0.6);
  color: var(--smoke);
}

.badge strong { color: var(--amber); font-weight: 400; }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--smoke);
  writing-mode: vertical-rl;
}

/* ─── CREED ─── */
/* ─── PARTS FOR SALE ───
   Replaced the old .creed-panel band. Cards link out to the individual
   product pages on nonuventures.com. */
.parts-panel {
  min-height: auto;
  /* .panel-inner already pads calc(var(--nav-h) + 40px) at the top; adding a
     further 88px here stacked to ~200px of dead space above the heading. */
  padding: 16px 0 88px;
  border-top: 4px solid var(--amber);
  border-bottom: 1px solid var(--steel);
  background: var(--soot);
  /* parts.html redirects to /#parts, and the nav is fixed — without this the
     heading lands underneath it. */
  scroll-margin-top: var(--nav-h);
}

.parts-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}

.part-card {
  display: flex;
  flex-direction: column;
  background: var(--black);
  border: 1px solid var(--steel);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.part-card:hover,
.part-card:focus-visible {
  border-color: var(--amber);
  transform: translateY(-4px);
}

.part-card-img {
  background: radial-gradient(ellipse at center, #17150f 0%, var(--black) 74%);
  border-bottom: 1px solid var(--steel);
}

.part-card-img img {
  display: block;
  width: 100%;
  /* All seven product shots are exactly 432x600, so pinning the box to their
     native ratio fills it edge to edge with no letterboxing — and because the
     ratio is fixed here rather than derived per image, the row height cannot
     shift as they lazy-load. */
  aspect-ratio: 18 / 25;
  height: auto;
  /* contain, not cover: with the box on the images' native ratio the two are
     identical today, but if a future part photo ships at a different size this
     letterboxes it rather than cropping the product out of frame. */
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}

.part-card:hover .part-card-img img { transform: scale(1.05); }

.part-card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.part-cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}

.part-name {
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bone);
}

.part-sku {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--smoke);
}

.part-grade {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid currentColor;
  margin-top: 2px;
}

.part-grade[data-grade="oem"]    { color: var(--amber); }
.part-grade[data-grade="recon"]  { color: #7fa06a; }
.part-grade[data-grade="export"] { color: var(--smoke); }

.part-cta {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: color 0.28s var(--ease);
}

.part-card:hover .part-cta { color: var(--amber); }

.parts-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--smoke);
  max-width: 640px;
}

.parts-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 520px) {
  .parts-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .part-card-body { padding: 12px 12px 16px; }
  .part-name { font-size: 0.95rem; }
}

/* ─── VIEWER ─── */
.viewer-panel {
  background: var(--soot);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.section-headline {
  font-family: var(--font-stencil);
  font-size: clamp(3rem, 7vw, 5.5rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 8px;
}

.section-voice {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--smoke);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  max-width: 560px;
}

.viewer-stage {
  border: 2px solid var(--steel);
  background: var(--black);
  position: relative;
}

.viewer-stage::before {
  content: 'INSPECT';
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  padding: 6px 12px;
  border: 1px solid var(--amber);
}

.viewer-canvas {
  position: relative;
  aspect-ratio: 16/9;
}

.viewer-canvas img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: contrast(1.1) saturate(0.9);
  transition: opacity 0.6s var(--ease);
}

.viewer-canvas img.active { opacity: 1; }

.viewer-tabs {
  display: flex;
  border-top: 2px solid var(--steel);
}

.viewer-tab {
  flex: 1;
  padding: 18px 10px;
  font-family: var(--font-stencil);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
  border-right: 1px solid var(--steel);
  transition: all 0.25s;
}

.viewer-tab:last-child { border-right: none; }

.viewer-tab:hover { color: var(--bone); background: rgba(212,136,42,0.08); }

.viewer-tab.active {
  color: var(--black);
  background: var(--amber);
}

.viewer-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--steel);
}

@media (max-width: 600px) {
  .viewer-specs { grid-template-columns: repeat(2, 1fr); }
}

.viewer-spec {
  padding: 20px 12px;
  text-align: center;
  border-right: 1px solid var(--steel);
  background: var(--soot);
}

.viewer-spec:last-child { border-right: none; }

.viewer-spec strong {
  display: block;
  font-family: var(--font-stencil);
  font-size: 2rem;
  color: var(--bone);
  letter-spacing: 0.02em;
}

.viewer-spec span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* ─── ENGINE ─── */
.engine-panel { background: var(--black); }

.engine-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .engine-layout { grid-template-columns: 1fr; }
}

.engine-shot {
  position: relative;
  border: 2px solid var(--steel);
}

.engine-shot img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: contrast(1.15) saturate(0.85);
}

.engine-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--black), transparent 40%);
}

.engine-quote {
  font-family: var(--font-stencil);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.engine-quote span { color: var(--amber); }

.dogtags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dogtag {
  padding: 20px;
  background: var(--soot);
  border-left: 3px solid var(--amber);
  border-bottom: 1px solid var(--steel);
}

.dogtag strong {
  display: block;
  font-family: var(--font-stencil);
  font-size: 2.75rem;
  line-height: 1;
}

.dogtag span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* ─── GUTS / EXPLODED ─── */
.guts-panel { background: var(--soot); }

.guts-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .guts-layout { grid-template-columns: 1fr; }
}

.guts-visual {
  position: relative;
  border: 2px solid var(--steel);
}

.guts-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: contrast(1.1);
}

.part-list { display: flex; flex-direction: column; gap: 0; }

.part-item {
  padding: 18px 20px;
  border-bottom: 1px solid var(--steel);
  border-left: 3px solid transparent;
  transition: all 0.25s;
  cursor: default;
}

.part-item:first-child { border-top: 1px solid var(--steel); }

.part-item.active, .part-item:hover {
  border-left-color: var(--amber);
  background: rgba(212,136,42,0.06);
}

.part-item strong {
  display: block;
  font-family: var(--font-stencil);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.part-item span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--smoke);
  text-transform: uppercase;
}

.guts-voice {
  margin-top: 28px;
  padding: 24px;
  background: var(--black);
  border: 1px solid var(--steel);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--smoke);
}

.guts-voice b { color: var(--amber); font-weight: 600; }

/* ─── STYLES SHOWCASE ─── */
.styles-panel {
  background: var(--black);
  border-top: 1px solid var(--steel);
}

.styles-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.styles-feature {
  border: 2px solid var(--steel);
  overflow: hidden;
  background: var(--soot);
}

.styles-feature img {
  display: block;
  width: 100%;
  /* Fixed box, not height:auto. The switcher cycles this <img> through
     three different aspect ratios (3:2 vehicle-front, 4:3 style-green,
     3:4 portrait style-overland), so height:auto resized the container on
     every swap AND on first paint — a main contributor to the CLS 0.181
     measured on 2026-08-14. 4:3 is the majority ratio in the set; the
     existing object-fit:contain already letterboxes, so nothing crops. */
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center;
  background: radial-gradient(ellipse at center, #1a1814 0%, var(--soot) 72%);
  filter: contrast(1.08) saturate(0.92);
  transition: opacity 0.45s var(--ease);
}

.styles-feature-info {
  padding: 24px 32px 28px;
  background: var(--soot);
  border-top: 1px solid var(--steel);
}

.styles-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--amber);
  padding: 5px 12px;
  margin-bottom: 10px;
}

.styles-name {
  font-family: var(--font-stencil);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 6px;
}

.styles-paint {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 14px;
}

.styles-acc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.acc-chip {
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(212,136,42,0.35);
  color: var(--bone);
  background: rgba(8,6,4,0.55);
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

@media (max-width: 1100px) {
  .styles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .styles-grid {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
}

.style-card {
  position: relative;
  border: 2px solid var(--steel);
  background: var(--soot);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
  scroll-snap-align: start;
}

@media (max-width: 600px) {
  .style-card {
    flex: 0 0 42vw;
    min-width: 160px;
  }
}

.style-card:hover {
  border-color: rgba(212,136,42,0.5);
  transform: translateY(-3px);
}

.style-card.active {
  border-color: var(--amber);
  box-shadow: 0 0 24px var(--amber-glow);
}

.style-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  object-position: center;
  background: var(--black);
  padding: 6px;
  filter: contrast(1.05) saturate(0.9);
  transition: transform 0.5s var(--ease);
}

.style-card:hover img { transform: scale(1.02); }

.style-card-body {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--steel);
}

.style-swatch {
  width: 100%;
  height: 4px;
  margin-bottom: 10px;
  border-radius: 1px;
}

.style-card-name {
  font-family: var(--font-stencil);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.style-card-era {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: 4px;
}

/* ─── BROTHERHOOD QUOTES ─── */
.brothers-panel {
  background: var(--black);
  padding: 80px 0;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .quotes-grid { grid-template-columns: 1fr; }
}

.quote-card {
  padding: 28px;
  background: var(--soot);
  border: 1px solid var(--steel);
  position: relative;
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: var(--font-stencil);
  font-size: 4rem;
  line-height: 1;
  color: var(--amber);
  opacity: 0.25;
}

.quote-text {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  min-height: 4.5em;
}

.quote-who {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ─── TIMELINE ─── */
.timeline-panel {
  background: linear-gradient(180deg, var(--soot) 0%, var(--black) 100%);
  border-top: 1px solid var(--steel);
}

.timeline-strip {
  display: flex;
  overflow-x: auto;
  gap: 0;
  padding-bottom: 8px;
}

.timeline-card {
  flex: 0 0 240px;
  padding: 32px 28px;
  border-right: 1px solid var(--steel);
  position: relative;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.timeline-card:hover::before { transform: scaleX(1); }

.timeline-year {
  font-family: var(--font-stencil);
  font-size: 3.75rem;
  color: var(--amber);
  line-height: 1;
}

.timeline-card h3 {
  font-family: var(--font-stencil);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 12px 0 8px;
}

.timeline-card p {
  font-size: 1.05rem;
  color: var(--smoke);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ─── MARQUEE ─── */
.stampede {
  padding: 40px 0;
  background: var(--rust);
  overflow: hidden;
  border-top: 3px solid var(--amber);
}

.stampede-track {
  display: flex;
  gap: 48px;
  animation: stampede 22s linear infinite;
  width: max-content;
}

.stampede-track span {
  font-family: var(--font-stencil);
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 0.08em;
  color: rgba(8,6,4,0.35);
  white-space: nowrap;
}

.stampede-track .hot { color: rgba(8,6,4,0.65); }

@keyframes stampede {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── REGIONS ─── */
.regions-panel { background: var(--black); }

.region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

@media (max-width: 700px) {
  .region-grid { grid-template-columns: 1fr; }
}

.region-tile {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
}

.region-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(0.8);
  transition: transform 1.2s var(--ease), filter 0.5s;
}

.region-tile:hover img {
  transform: scale(1.06);
  filter: contrast(1.15) saturate(0.95);
}

.region-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,6,4,0.92) 0%, rgba(8,6,4,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.region-overlay h3 {
  font-family: var(--font-stencil);
  font-size: clamp(3rem, 6vw, 4.25rem);
  text-transform: uppercase;
  line-height: 0.95;
}

.region-overlay p {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 8px;
}

.region-voice {
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--smoke);
  letter-spacing: 0.03em;
}

/* ─── CTA ─── */
.cta-panel {
  min-height: auto;
  padding: 72px 0;
  background:
    linear-gradient(135deg, var(--soot) 0%, var(--black) 100%);
  border-top: 2px solid var(--steel);
  text-align: center;
}

.cta-headline {
  font-family: var(--font-stencil);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  text-transform: uppercase;
  margin-bottom: 32px;
  line-height: 1;
}

.cta-headline span { color: var(--amber); }

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.link-btn {
  padding: 18px 36px;
  font-family: var(--font-stencil);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--amber);
  color: var(--amber);
  transition: all 0.3s;
}

.link-btn:hover {
  background: var(--amber);
  color: var(--black);
}

.link-btn.fill {
  background: var(--amber);
  color: var(--black);
}

.link-btn.fill:hover {
  background: var(--bone);
  border-color: var(--bone);
}

/* ─── SEO PANEL ─── */
.seo-panel {
  padding: 64px 28px 48px;
  background: var(--soot);
  border-top: 1px solid var(--steel);
}

.seo-title {
  font-family: var(--font-stencil);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.seo-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--smoke);
  max-width: 720px;
  margin-bottom: 16px;
}

/* Homepage FAQ — visible counterpart to the FAQPage schema. */
.faq-panel .seo-text {
  margin-bottom: 22px;
}

.faq-q {
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bone);
  max-width: 720px;
  margin: 26px 0 8px;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-links a {
  color: var(--amber);
  border-bottom: 1px solid rgba(212, 136, 42, 0.35);
  padding-bottom: 2px;
}

.seo-links a:hover { color: var(--bone); }

.seo-blog-links {
  margin-top: 12px;
  opacity: 0.92;
}

/* ─── GEO LANDING PAGES ─── */
.geo-page { padding-top: 72px; }

.geo-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(8, 6, 4, 0.95);
  border-bottom: 1px solid rgba(212, 136, 42, 0.08);
}

.geo-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--smoke);
}

.geo-nav-links a:hover { color: var(--amber); }

.geo-hero {
  position: relative;
  min-height: 50vh;
  display: grid;
  align-items: end;
}

.geo-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.geo-hero-text {
  position: relative;
  z-index: 1;
  padding: 48px 28px 56px;
  max-width: 800px;
}

.geo-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.geo-hero h1 {
  font-family: var(--font-stencil);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.geo-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--smoke);
  margin-bottom: 24px;
}

.geo-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 28px 64px;
}

@media (min-width: 800px) {
  .geo-main { grid-template-columns: 1fr 260px; }
}

.geo-main article section {
  margin-bottom: 36px;
}

.geo-main h2 {
  font-family: var(--font-stencil);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.geo-main p,
.geo-main li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--smoke);
  margin-bottom: 12px;
}

.geo-main a { color: var(--amber); }
.geo-main a:hover { color: var(--bone); }

.geo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.geo-table th,
.geo-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--steel);
}

.geo-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  width: 35%;
}

.geo-aside {
  background: var(--soot);
  border: 1px solid var(--steel);
  padding: 24px;
  align-self: start;
}

.geo-aside h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
  margin-top: 20px;
}

.geo-aside h3:first-child { margin-top: 0; }

.geo-aside ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--smoke);
}

.geo-aside li { margin-bottom: 6px; }
.geo-aside a { color: var(--amber); }

/* ─── FOOTER ─── */
.footer {
  padding: 32px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--smoke);
  border-top: 1px solid var(--steel);
}

.footer a { color: var(--amber); }

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }

/* ─── BLOG ─── */
.blog-index-hero {
  padding: 100px 28px 40px;
  max-width: 900px;
}

.blog-index-hero h1 {
  font-family: var(--font-stencil);
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.blog-index-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--smoke);
}

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 28px 80px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--steel);
  background: var(--soot);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.blog-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  object-position: center;
  background: var(--black);
  padding: 8px;
}

.blog-card-body {
  padding: 18px 20px 22px;
  flex: 1;
}

.blog-card-body h2 {
  font-family: var(--font-stencil);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 8px 0 10px;
}

.blog-card-body p:last-child {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--smoke);
}

.blog-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
}

.blog-tag {
  padding: 2px 8px;
  border: 1px solid var(--steel);
}

.blog-tag-positive { color: var(--amber); border-color: rgba(212,136,42,0.4); }
.blog-tag-negative { color: #e07050; border-color: rgba(224,112,80,0.4); }
.blog-tag-mixed { color: var(--bone); }

.blog-geo { color: var(--amber); }

.blog-article-hero {
  position: relative;
  margin-top: var(--nav-h);
}

.blog-article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  background: var(--black);
  padding: 16px;
}

.blog-article-hero-text {
  padding: 32px 28px;
  max-width: 900px;
}

.blog-article-hero h1 {
  font-family: var(--font-stencil);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin: 12px 0;
}

.blog-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--smoke);
}

.blog-article-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px 64px;
}

@media (min-width: 800px) {
  .blog-article-main { grid-template-columns: 1fr 260px; }
}

.blog-article-body h2 {
  font-family: var(--font-stencil);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 28px 0 12px;
}

.blog-article-body h2:first-child { margin-top: 0; }

.blog-article-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--smoke);
  margin-bottom: 14px;
}

.blog-intro {
  margin-bottom: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--steel);
}

.blog-intro-p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--bone);
}

.blog-article-body a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article-body a:hover {
  color: var(--bone);
}

.blog-article-body ul {
  margin: 0 0 18px 0;
  padding-left: 1.25rem;
  color: var(--smoke);
  font-size: 0.95rem;
  line-height: 1.65;
}

.blog-article-body li {
  margin-bottom: 8px;
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9rem;
}

.blog-table th,
.blog-table td {
  padding: 10px 14px;
  border: 1px solid var(--steel);
  text-align: left;
  vertical-align: top;
}

.blog-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--soot);
  width: 38%;
}

.blog-table td {
  color: var(--smoke);
  background: rgba(18, 16, 12, 0.5);
}

.blog-faq {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--steel);
}

.blog-faq h2 {
  margin-top: 0;
}

.blog-faq h3 {
  /* was var(--font-body), which is not defined anywhere — the declaration was
     invalid and the element silently inherited instead. --font-cond is the
     body face this was reaching for. */
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bone);
  margin: 20px 0 8px;
}

.blog-faq p {
  margin-bottom: 12px;
}

.blog-cta {
  margin-top: 40px;
  padding: 28px;
  border: 2px solid var(--steel);
  background: var(--soot);
}

.blog-cta h2 {
  margin-top: 0;
}

.blog-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.blog-aside {
  background: var(--soot);
  border: 1px solid var(--steel);
  padding: 24px;
  align-self: start;
}

.blog-aside h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
  margin-top: 20px;
}

.blog-aside h3:first-child { margin-top: 0; }

.blog-aside ul { list-style: none; font-size: 0.85rem; color: var(--smoke); }
.blog-aside li { margin-bottom: 8px; }
.blog-aside a { color: var(--amber); }