/* ==========================================================================
   ZMSK — E-Bike Platforms
   Visual language: dark cinematic ground, oversized display type,
   hairline structure, one electric-orange signal colour.
   ========================================================================== */

/* Web fonts are in /css/fonts.css (generated by scripts/build-fonts.js):
   Barlow Condensed for display, Inter for body, both SIL OFL 1.1, self-hosted. */

:root {
  --ink: #0b0b0c;
  --ink-2: #111114;
  --ink-3: #17171b;
  --paper: #f2f2ef;
  --paper-2: #e8e8e3;
  --white: #ffffff;
  --accent: #ff4d00;
  --accent-soft: #ff7a3d;

  --on-dark: rgba(255, 255, 255, 0.66);
  --on-dark-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);

  --on-light: #2b2b2b;
  --on-light-muted: rgba(11, 11, 12, 0.56);
  --line-dark: rgba(11, 11, 12, 0.14);

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shell: 1520px;
  --pad: clamp(20px, 4.2vw, 60px);
  --section: clamp(72px, 9vw, 132px);
  /* Header height and lockup size scale with the viewport, so the logo keeps
     the same visual weight instead of staying fixed while everything else
     shrinks. 88px header / 60px lockup at >=1440, 66px / 32px at phone width. */
  --header-h: clamp(66px, 6.6vw, 88px);
  --logo-h: clamp(32px, 4.35vw, 60px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #0b0b0c; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }

/* ------------------------------------------------------------ typography */
.display,
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.94;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow-rule { width: 26px; height: 1px; background: currentColor; display: inline-block; }
.lead { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.75; color: var(--on-dark); }
.accent { color: var(--accent); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #0b0b0c; border-color: var(--accent); }
.btn-accent:hover { background: transparent; color: var(--accent); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-ghost--dark { color: var(--ink); border-color: var(--line-dark); }
.btn-ghost--dark:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: 10.5px; letter-spacing: 0.14em; }
.btn-lg { padding: 18px 38px; }
.btn-block { width: 100%; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-dark);
  transition: color 0.25s, border-color 0.25s;
}
.arrow-link .arrow { transition: transform 0.3s; }
.arrow-link:hover { color: var(--accent); border-color: var(--accent); }
.arrow-link:hover .arrow { transform: translateX(6px); }
.arrow-link--light { color: var(--white); border-color: var(--line-strong); }
.arrow-link--light:hover { color: var(--accent); }

/* ---------------------------------------------------------------- header */
.utility-bar {
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.utility-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.utility-links { display: flex; align-items: center; gap: 14px; }
.utility-links a:hover { color: var(--accent); }
.utility-sep { width: 1px; height: 10px; background: var(--line); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(11, 11, 12, 0.94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-lockup { display: block; height: var(--logo-h); width: auto; max-width: 100%; }
.brand-lockup--footer { height: clamp(34px, 4.4vw, 62px); }

.primary-nav ul { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }
.nav-link {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-strong);
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 1px solid var(--line);
  cursor: pointer; padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 22px; }
body.nav-open .nav-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
body.nav-open .nav-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: min(92svh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 62% 45%; opacity: 0.9; animation: heroIn 1.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes heroIn { from { transform: scale(1.06); opacity: 0; } to { transform: scale(1); opacity: 0.9; } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.8) 0%, rgba(11, 11, 12, 0.12) 40%, rgba(11, 11, 12, 0.92) 100%),
    linear-gradient(95deg, rgba(11, 11, 12, 0.95) 0%, rgba(11, 11, 12, 0.72) 38%, rgba(11, 11, 12, 0.12) 72%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(48px, 6vw, 84px); padding-top: 120px; }
.hero h1 {
  font-size: clamp(48px, 8.6vw, 150px);
  line-height: 0.86;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
  max-width: 16ch;
}
.hero h1 span { display: inline-block; }
.hero-lead {
  max-width: 46ch;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.7;
  color: var(--on-dark-strong);
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-index {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.5), rgba(11, 11, 12, 0.88));
}
.hero-index ol { display: grid; grid-template-columns: repeat(5, 1fr); }
.hero-index li { border-right: 1px solid rgba(255, 255, 255, 0.09); }
.hero-index li:last-child { border-right: 0; }
.hero-index a {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 18px 20px 0;
  transition: color 0.2s, padding 0.3s;
}
.hero-index a:hover { color: var(--accent); padding-left: 10px; }
.idx-code { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: 0.06em; }
.idx-name { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); }
.hero-index a:hover .idx-name { color: var(--accent); }

/* ------------------------------------------------------------- statement */
.statement { background: var(--paper); color: var(--ink); padding: var(--section) 0; }
.statement-inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.statement .display {
  font-size: clamp(34px, 5.2vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.statement-side p { font-size: 15.5px; line-height: 1.8; color: var(--on-light); margin-bottom: 18px; }
.statement-side .arrow-link { margin-top: 10px; }

/* -------------------------------------------------------------- chapters */
.chapters { background: var(--paper); color: var(--ink); padding-bottom: var(--section); }
.chapter {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line-dark);
}
.chapter:last-child { border-bottom: 1px solid var(--line-dark); }
.chapter--flip .chapter-media { order: 2; }
.chapter-media { overflow: hidden; background: var(--paper-2); }
.chapter-media a { display: block; aspect-ratio: 3 / 2; }
.chapter-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.chapter:hover .chapter-img { transform: scale(1.035); }

.chapter-body { position: relative; padding-left: clamp(0px, 2vw, 24px); }
.chapter-index {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.8;
  color: rgba(11, 11, 12, 0.13);
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}
.chapter-cat {
  font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.chapter h2 {
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 0.96;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.chapter h2 a:hover { color: var(--accent); }
.chapter-tagline { font-size: 15.5px; line-height: 1.75; color: var(--on-light); max-width: 44ch; margin-bottom: 26px; }

.key-stats { display: flex; gap: 0; margin-bottom: 30px; border-top: 1px solid var(--line-dark); }
.key-stats li { flex: 1; padding: 16px 14px 0 0; border-right: 1px solid var(--line-dark); }
.key-stats li:last-child { border-right: 0; padding-right: 0; }
.key-stats li + li { padding-left: 14px; }
.key-stats strong { display: block; font-family: var(--display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; line-height: 1; margin-bottom: 6px; }
.key-stats span { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-light-muted); }

/* ------------------------------------------------------------------- dna */
.dna { background: var(--ink); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.dna-kicker { font-size: 10.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 26px; }
.dna-words { display: grid; grid-template-columns: repeat(3, 1fr); }
.dna-words li { padding: 0 clamp(18px, 3vw, 44px); border-left: 1px solid var(--line); }
.dna-words li:first-child { border-left: 0; padding-left: 0; }
.dna-words strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 78px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 12px;
}
.dna-words span { font-size: 13px; color: var(--on-dark); line-height: 1.6; display: block; max-width: 28ch; }

/* ---------------------------------------------------------------- system */
.system { background: var(--ink-2); padding: var(--section) 0; border-top: 1px solid var(--line); }
.system-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.system-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.system-img { width: 100%; height: 100%; object-fit: cover; }
.system-body h2 { font-size: clamp(32px, 4vw, 62px); line-height: 0.96; margin-bottom: 20px; }
.system-body .lead { margin-bottom: 32px; max-width: 46ch; }
.system-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin-bottom: 34px; }
.system-list li { background: var(--ink-2); padding: 20px 18px 22px; }
.system-list strong { display: block; font-family: var(--display); font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; line-height: 1; color: var(--accent); margin-bottom: 6px; }
.system-list span { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.system-list p { font-size: 12.5px; line-height: 1.6; color: var(--on-dark); }

/* -------------------------------------------------------------- segments */
.segments { background: var(--paper); color: var(--ink); padding: var(--section) 0; }
.segments .display { font-size: clamp(32px, 4.6vw, 66px); line-height: 0.98; max-width: 20ch; margin-bottom: clamp(32px, 4vw, 56px); }
.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
/* 16:9 keeps the whole bicycle in frame: the scene photography is 1536x911,
   so a narrower (portrait or 3:2) box would crop the front and rear wheels. */
.segment-media { overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 20px; background: var(--paper-2); }
.segment-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.segment:hover .segment-img { transform: scale(1.04); }
.segment h3 { font-size: clamp(20px, 2vw, 28px); line-height: 1.02; margin-bottom: 10px; }
.segment p { font-size: 14px; line-height: 1.7; color: var(--on-light); max-width: 40ch; }

/* ------------------------------------------------------------- stats band */
.stats-band { background: var(--ink); padding: clamp(44px, 5vw, 66px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-band--light { background: var(--paper-2); border: 0; color: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 clamp(14px, 2.4vw, 34px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stats-band--light .stat { border-color: var(--line-dark); }
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 66px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.stat span { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-dark); }
.stats-band--light .stat span { color: var(--on-light-muted); }

/* ---------------------------------------------------------------- journal */
.journal { background: var(--paper); color: var(--ink); padding: var(--section) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head .display { font-size: clamp(28px, 3.8vw, 52px); line-height: 0.98; max-width: 22ch; }
.journal-list { border-top: 1px solid var(--line-dark); }
.journal-list li { border-bottom: 1px solid var(--line-dark); }
.journal-row {
  display: grid;
  grid-template-columns: 62px 1fr 150px 108px 40px;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  transition: background 0.3s, padding 0.3s;
}
.journal-row:hover { background: var(--white); padding-left: 20px; }
.journal-row:hover .journal-title { color: var(--accent); }
.journal-row:hover .row-arrow { transform: translateX(6px); color: var(--accent); }
.row-index { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--on-light-muted); letter-spacing: 0.08em; }
.journal-title { font-family: var(--display); font-size: clamp(19px, 1.9vw, 26px); font-weight: 600; line-height: 1.05; text-transform: uppercase; transition: color 0.25s; }
.journal-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.row-tag { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid var(--line-dark); padding: 4px 8px; color: var(--on-light-muted); }
.journal-date { font-size: 11.5px; letter-spacing: 0.1em; color: var(--on-light-muted); text-align: right; }
.row-arrow { text-align: right; font-size: 16px; transition: transform 0.3s, color 0.3s; }

/* --------------------------------------------------------------- cta band */
.cta-band { background: var(--accent); color: #0b0b0c; padding: clamp(48px, 6vw, 84px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 62px); line-height: 0.96; max-width: 20ch; margin-bottom: 10px; }
.cta-band p { font-size: 15px; max-width: 52ch; color: rgba(11, 11, 12, 0.72); }
.cta-band .btn-accent { background: #0b0b0c; color: var(--white); border-color: #0b0b0c; }
.cta-band .btn-accent:hover { background: transparent; color: #0b0b0c; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); padding: clamp(52px, 6vw, 90px) 0 30px; border-top: 1px solid var(--line); }
.footer-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line);
}
.footer-kicker {
  font-family: var(--display);
  font-size: clamp(26px, 3.6vw, 44px);
  text-transform: uppercase; line-height: 1; max-width: 20ch;
}
.footer-cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 8px;
}
.footer-cta:hover { color: var(--white); border-color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr;
  gap: clamp(24px, 3vw, 44px);
  padding: clamp(32px, 4vw, 56px) 0;
}
.footer-col h4 { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; font-weight: 600; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: var(--on-dark); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col .f-code { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--white); margin-right: 8px; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: var(--on-dark); max-width: 34ch; margin-top: 16px; }
.brand--footer { margin-bottom: 4px; }
.footer-contact li { font-size: 13px; color: var(--on-dark); margin-bottom: 10px; }
.footer-base {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 22px;
  font-size: 11px; color: rgba(255, 255, 255, 0.42);
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--accent); }

/* -------------------------------------------------------------- page hero */
.page-hero { position: relative; background: var(--ink); padding: clamp(64px, 8vw, 118px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.page-hero--compact { padding: clamp(52px, 6vw, 92px) 0 clamp(32px, 4vw, 52px); }
.page-hero-media, .page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero-img { object-fit: cover; opacity: 0.5; }
.page-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, 0.9), rgba(11, 11, 12, 0.75)); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(42px, 6.6vw, 104px); line-height: 0.9; letter-spacing: -0.015em; margin-bottom: 18px; }
.page-hero-lead { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; color: var(--on-dark-strong); max-width: 58ch; }

.crumbs { margin-bottom: 26px; }
.crumbs ol { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.crumbs a:hover { color: var(--accent); }
.crumbs-sep { color: rgba(255, 255, 255, 0.28); }

/* --------------------------------------------------------------- listing */
.listing { background: var(--paper); color: var(--ink); padding: clamp(36px, 4.5vw, 64px) 0 var(--section); }
.filter-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 1px solid var(--line-dark);
}
.filter-list { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 10px 16px; border: 1px solid var(--line-dark); color: var(--on-light-muted);
  transition: all 0.2s;
}
.filter-link:hover { border-color: var(--ink); color: var(--ink); }
.filter-link.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-link .count {
  font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
  opacity: 0.85; min-width: 1ch; text-align: center;
}
.filter-link.is-active .count { opacity: 0.72; }
.listing-count { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-light-muted); }
.segment-intro { max-width: 78ch; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.segment-intro p { font-size: 15px; line-height: 1.8; color: var(--on-light); }

.row-list { margin-top: 0; }
.row-item {
  display: grid;
  grid-template-columns: 56px 1fr 180px 300px 32px;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.3s, padding 0.3s;
}
.row-item:hover { background: var(--white); padding-left: 16px; padding-right: 16px; }
.row-item:hover .row-title { color: var(--accent); }
.row-item:hover .row-img { transform: scale(1.05); }
.row-item:hover .row-arrow { transform: translateX(6px); color: var(--accent); }
.row-main { display: flex; flex-direction: column; gap: 4px; }
.row-cat { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.row-title { font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; line-height: 1; text-transform: uppercase; transition: color 0.25s; }
.row-tagline { font-size: 13px; color: var(--on-light-muted); max-width: 52ch; }
.row-meta { display: flex; flex-direction: column; gap: 6px; }
.row-code { font-family: var(--display); font-size: 18px; font-weight: 600; }
.row-moq { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-light-muted); }
.row-media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.row-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.row-arrow { text-align: right; font-size: 16px; transition: transform 0.3s, color 0.3s; }
.empty { padding: 48px 0; color: var(--on-light-muted); font-size: 15px; }
.empty a { color: var(--accent); border-bottom: 1px solid var(--accent); }

.journal-list--full .journal-row { padding: 26px 8px; }

/* ----------------------------------------------------------- product page */
.pdp-hero {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: min(86svh, 820px);
  background: var(--ink);
}
.pdp-hero-inner {
  grid-column: 1; grid-row: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 42px; padding-bottom: clamp(28px, 4vw, 52px);
}
.pdp-crumbs { margin-bottom: 34px; }
.pdp-hero-media { grid-column: 2; grid-row: 1; position: relative; overflow: hidden; background: var(--paper); }
/* Product plates are shot on paper white, so the panel matches and the plate
   edge disappears. The -pdp plate is cropped tight around the bike, so contain
   fills the panel without ever cutting a wheel. */
.pdp-hero-img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 1.5%; }
.pdp-hero h1 { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.pdp-model { font-family: var(--display); font-size: clamp(56px, 8vw, 132px); line-height: 0.8; letter-spacing: -0.02em; font-weight: 700; }
.pdp-name { font-family: var(--display); font-size: clamp(18px, 2.1vw, 32px); font-weight: 500; letter-spacing: 0.06em; color: var(--on-dark-strong); line-height: 1.1; }
.pdp-tagline { font-size: clamp(14px, 1.1vw, 16px); color: var(--on-dark); max-width: 44ch; line-height: 1.65; }
.pdp-quick { display: flex; gap: 26px; flex-wrap: wrap; margin: 26px 0 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.pdp-quick span { display: block; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 5px; }
.pdp-quick strong { font-size: 12.5px; font-weight: 500; }
.pdp-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pdp-specbar { grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 2; border-top: 1px solid var(--line); background: var(--ink-2); }
.pdp-keystats { display: grid; grid-template-columns: repeat(3, 1fr); }
.pdp-keystats li { padding: 18px 20px 20px 0; border-right: 1px solid var(--line); }
.pdp-keystats li:last-child { border-right: 0; }
.pdp-keystats li + li { padding-left: 24px; }
.pdp-keystats strong { display: block; font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; line-height: 1; margin-bottom: 4px; }
.pdp-keystats span { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark); }

.pdp-sticky {
  position: sticky; top: var(--header-h); z-index: 70;
  background: rgba(11, 11, 12, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.pdp-sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 62px; }
.pdp-sticky-model { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: 0.06em; }
.pdp-sticky-model em { font-family: var(--body); font-style: normal; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark); margin-left: 10px; }
.pdp-sticky-actions { display: flex; gap: 10px; }

.pdp-body { background: var(--paper); color: var(--ink); padding: var(--section) 0; }
.pdp-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.pdp-copy h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1; margin-bottom: 24px; max-width: 20ch; }
.pdp-copy p { font-size: 15.5px; line-height: 1.85; color: var(--on-light); margin-bottom: 18px; max-width: 68ch; }
.pdp-facts { border-top: 1px solid var(--line-dark); padding-top: 22px; position: sticky; top: calc(var(--header-h) + 78px); }
.pdp-facts h3 { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--body); font-weight: 600; }
.fact-list li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.6; margin-bottom: 12px; color: var(--on-light); }
.fact-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 1px; background: var(--accent); }
.fact-meta { margin-top: 24px; border-top: 1px solid var(--line-dark); }
.fact-meta div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); }
.fact-meta dt { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-light-muted); }
.fact-meta dd { font-size: 12.5px; font-weight: 500; }

.pdp-spec { background: var(--paper-2); color: var(--ink); padding: var(--section) 0; }
.pdp-spec h2 { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: clamp(24px, 3vw, 40px); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.spec-cell { background: var(--paper-2); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.spec-cell--filler { background: var(--paper-2); }
.spec-cell dt { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-light-muted); }
.spec-cell dd { font-size: 14.5px; font-weight: 500; }
.spec-note { margin-top: 22px; font-size: 12.5px; color: var(--on-light-muted); max-width: 70ch; }

.pdp-gallery-section { background: var(--ink); padding: clamp(16px, 2vw, 24px) 0; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.gallery-item { overflow: hidden; aspect-ratio: 3 / 2; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; }

.pdp-apps { background: var(--paper); color: var(--ink); padding: var(--section) 0; }
.pdp-apps h2 { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: clamp(24px, 3vw, 40px); max-width: 22ch; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.app-card { background: var(--paper); padding: 28px 22px; }
.app-card--filler { pointer-events: none; }
.app-card h3 { font-size: clamp(18px, 1.8vw, 24px); margin-bottom: 10px; }
.app-card p { font-size: 13.5px; line-height: 1.7; color: var(--on-light); }

.pdp-faq { background: var(--paper-2); color: var(--ink); padding: var(--section) 0; }
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-head h2 { font-size: clamp(26px, 3.2vw, 42px); line-height: 1; max-width: 14ch; }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 44px 20px 0;
  position: relative;
  font-family: var(--display);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--body); font-size: 22px; font-weight: 300; color: var(--accent);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 44px 22px 0; }
.faq-a p { font-size: 14px; line-height: 1.8; color: var(--on-light); max-width: 66ch; }

.pdp-related { background: var(--paper); color: var(--ink); padding: 0 0 var(--section); }
.pdp-related h2 { font-size: clamp(26px, 3.2vw, 42px); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.related-card {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px;
  border-top: 1px solid var(--line-dark); padding-top: 14px;
}
/* height:auto is required: the markup carries width/height attributes for CLS,
   and an attribute height would otherwise win over aspect-ratio, turning the
   card into a tall strip that crops the bike. */
.related-img { grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 8px; background: var(--paper-2); transition: opacity 0.3s; }
.related-card:hover .related-img { opacity: 0.85; }
.related-code { font-family: var(--display); font-size: 20px; font-weight: 600; }
.related-name { grid-column: 1; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-light-muted); }
.related-card .arrow { grid-row: 2 / span 2; grid-column: 2; font-size: 15px; }
.related-card:hover .related-code, .related-card:hover .arrow { color: var(--accent); }

/* ---------------------------------------------------------------- article */
.article { background: var(--paper); color: var(--ink); }
.article-head { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 100px) 0 clamp(40px, 5vw, 64px); }
.article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 20px; }
.article-meta .dot { opacity: 0.4; }
.article-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { border: 1px solid var(--line-strong); padding: 3px 8px; color: var(--white); }
.article-head h1 { font-size: clamp(32px, 5vw, 76px); line-height: 0.95; letter-spacing: -0.015em; max-width: 22ch; margin-bottom: 20px; }
.article-lead { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.7; color: var(--on-dark-strong); max-width: 60ch; }
.article-cover { background: var(--ink); }
.article-cover .shell { padding-top: 0; }
.article-cover-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-top: clamp(24px, 3vw, 40px); }
.article-body { max-width: 820px; margin: 0 auto; padding: var(--section) 0; }
.article-body > p { font-size: 16.5px; line-height: 1.9; color: #262626; margin-bottom: 22px; }
.article-body > p:first-of-type { font-size: 18px; color: var(--ink); }
/* Rich-text blocks produced by lib/views.js richText() — agent-written
   articles arrive as Markdown, so headings and lists need real styling. */
.article-body > h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.1; letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); margin: 46px 0 16px; }
.article-body > h3 { font-family: var(--body); font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; line-height: 1.4; color: var(--ink); margin: 32px 0 12px; }
.article-body > ul, .article-body > ol { margin: 0 0 24px; padding-left: 26px; font-size: 16.5px; line-height: 1.85; color: #262626; }
.article-body > ul { list-style: disc; }
.article-body > ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body li::marker { color: var(--accent); }
.article-body blockquote { margin: 30px 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--accent); }
.article-body blockquote p { margin: 0; font-size: 18px; color: var(--ink); }
.article-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: var(--paper-2); padding: 2px 5px; }
.article-figure { margin: 34px 0; }
.article-figure img { display: block; width: 100%; height: auto; }
.article-cta { margin-top: 48px; padding: 34px; background: var(--ink); color: var(--white); }
.article-cta h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 12px; }
.article-cta p { font-size: 14px; color: var(--on-dark); margin-bottom: 22px; max-width: 56ch; }
.article-more { margin-top: 64px; }
.article-more h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 18px; }

/* Article → catalogue hand-off: the only internal links from editorial pages
   into product pages, so the band is full width and visually separate. */
.article-body--main { padding-bottom: 0; }
.article-picks { border-top: 1px solid var(--line-dark); padding: clamp(40px, 5vw, 64px) 0; }
.article-picks h2 { font-size: clamp(24px, 2.8vw, 36px); margin: 6px 0 12px; }
.article-picks-lead { font-size: 14px; line-height: 1.7; color: var(--on-light-muted); max-width: 64ch; margin-bottom: 28px; }
.article-tail { padding: 0 0 var(--section); }
.article-tail .article-more { margin-top: 56px; }

/* ---------------------------------------------------------------- contact */
.contact-section { background: var(--paper); color: var(--ink); padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.inquire-form { border-top: 2px solid var(--ink); padding-top: 26px; }
.form-head h2 { font-size: clamp(24px, 2.8vw, 36px); margin-bottom: 8px; }
.form-head p { font-size: 12px; color: var(--on-light-muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.field > span { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-light-muted); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-dark);
  padding: 11px 0;
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  border-radius: 0;
  transition: border-color 0.2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #0b0b0c 50%), linear-gradient(135deg, #0b0b0c 50%, transparent 50%); background-position: calc(100% - 14px) 18px, calc(100% - 9px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input.invalid, .field textarea.invalid { border-color: #d92c2c; }
.form-status { display: none; margin-bottom: 16px; padding: 12px 14px; font-size: 13px; }
.form-status.error { display: block; background: #fdecec; color: #a51f1f; border-left: 2px solid #d92c2c; }
.form-status.success { display: block; background: #eaf6ea; color: #1f6b32; border-left: 2px solid #2f8f45; }
.form-note { font-size: 11px; color: var(--on-light-muted); margin-top: 12px; }
.contact-side { display: grid; gap: 32px; }
.contact-block { border-top: 1px solid var(--line-dark); padding-top: 20px; }
.contact-block h3 { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--body); font-weight: 600; margin-bottom: 16px; }
.contact-block dl div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(11, 11, 12, 0.08); }
.contact-block dt { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-light-muted); padding-top: 3px; }
.contact-block dd { font-size: 13.5px; }
.contact-block dd a:hover { color: var(--accent); }
.next-list { counter-reset: n; }
.next-list li { counter-increment: n; position: relative; padding: 0 0 16px 30px; font-size: 13px; line-height: 1.65; color: var(--on-light); }
.next-list li::before { content: "0" counter(n); position: absolute; left: 0; top: 1px; font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--accent); }
.next-list strong { display: block; font-weight: 600; color: var(--ink); }

/* ------------------------------------------------------------ trust pages */
.trust-hero { position: relative; min-height: 62svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.trust-hero-media, .trust-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.trust-hero-img { object-fit: cover; opacity: 0.7; }
.trust-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, 0.86) 0%, rgba(11, 11, 12, 0.3) 38%, rgba(11, 11, 12, 0.94) 78%, #0b0b0c 100%); }
.trust-hero-inner { position: relative; z-index: 2; padding-bottom: clamp(36px, 5vw, 60px); padding-top: 100px; }
.trust-hero h1 { font-size: clamp(34px, 5.4vw, 82px); line-height: 0.94; max-width: 20ch; margin-bottom: 20px; }
.trust-lead { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; color: var(--on-dark-strong); max-width: 62ch; }
.trust-body { background: var(--paper); color: var(--ink); padding: var(--section) 0; }
.trust-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.trust-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.trust-aside .eyebrow { color: var(--accent); }
.aside-links { border-top: 1px solid var(--line-dark); }
.aside-links li { border-bottom: 1px solid var(--line-dark); }
.aside-links a { display: block; padding: 13px 0; font-size: 12.5px; letter-spacing: 0.06em; color: var(--on-light-muted); transition: color 0.2s, padding 0.2s; }
.aside-links a:hover { color: var(--accent); padding-left: 6px; }
.trust-main { max-width: 760px; }
.prose-section { padding-bottom: clamp(32px, 4vw, 48px); margin-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line-dark); }
.prose-section:last-child { border-bottom: 0; margin-bottom: 0; }
.prose-section h2 { font-size: clamp(24px, 2.8vw, 36px); margin-bottom: 18px; }
.prose p { font-size: 15.5px; line-height: 1.85; color: var(--on-light); margin-bottom: 16px; }

/* ------------------------------------------------------------------- 404 */
.notfound { background: var(--ink); min-height: 72svh; display: flex; align-items: center; padding: var(--section) 0; }
.notfound h1 { font-size: clamp(48px, 9vw, 140px); line-height: 0.86; margin-bottom: 20px; }
.notfound p { color: var(--on-dark); max-width: 44ch; margin-bottom: 30px; font-size: 15px; }
.notfound-links { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------- utilities */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 11, 12, 0.8); color: var(--white);
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 0.3s, background 0.3s, color 0.3s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #0b0b0c; border-color: var(--accent); }

body.js-reveal .reveal { opacity: 0; transform: translateY(26px); }
body.js-reveal .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- narrow */
@media (max-width: 1180px) {
  .row-item { grid-template-columns: 44px 1fr 150px 220px 24px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .utility-bar { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: rgba(11, 11, 12, 0.98);
    padding: 32px var(--pad);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 85;
  }
  body.nav-open .primary-nav { opacity: 1; transform: none; pointer-events: auto; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .primary-nav li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-link { display: block; padding: 18px 0; font-size: 15px; letter-spacing: 0.14em; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }

  .statement-inner { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .chapter { grid-template-columns: 1fr; gap: 24px; }
  .chapter--flip .chapter-media { order: 0; }
  .system-inner { grid-template-columns: 1fr; }
  .segment-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .journal-row { grid-template-columns: 44px 1fr 32px; gap: 14px; }
  .journal-tags, .journal-date { display: none; }
  .row-item { grid-template-columns: 40px 1fr 26px; gap: 16px; }
  .row-meta, .row-media { display: none; }
  .pdp-grid, .faq-wrap, .contact-grid, .trust-grid { grid-template-columns: 1fr; }
  .pdp-hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; }
  .pdp-hero-inner { grid-column: 1; grid-row: 1; justify-content: flex-start; padding-top: 28px; padding-bottom: 28px; }
  .pdp-hero-media { grid-column: 1; grid-row: 2; min-height: 42vh; }
  .pdp-specbar { grid-column: 1; grid-row: 3; }
  .pdp-crumbs { margin-bottom: 22px; }
  .pdp-facts, .trust-aside { position: static; }
  .spec-grid, .app-grid, .related-grid, .gallery-grid { grid-template-columns: 1fr; }
  .spec-cell--filler { display: none; }
  .app-card--filler { display: none; }
  .dna-words { grid-template-columns: 1fr; gap: 26px; }
  .dna-words li { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .dna-words li:first-child { border-top: 0; padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-head { flex-direction: column; align-items: flex-start; }
  .pdp-keystats { grid-template-columns: 1fr 1fr; }
  .pdp-keystats li:nth-child(3) { border-top: 1px solid var(--line); }

  /* Three stacked 16:10 cards add ~1500px of scroll on a phone, so the
     article hand-off collapses to compact rows: thumb left, code + name right. */
  .article-picks .related-grid { grid-template-columns: 1fr; gap: 0; }
  .article-picks .related-card {
    grid-template-columns: 118px 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 2px;
    padding: 14px 0;
  }
  .article-picks .related-img { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 4 / 3; margin-bottom: 0; }
  .article-picks .related-code { grid-column: 2; grid-row: 1; align-self: end; }
  .article-picks .related-name { grid-column: 2; grid-row: 2; align-self: start; }
  .article-picks .related-card .arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}

@media (max-width: 620px) {
  .hero { min-height: 88svh; }
  .hero-index ol { grid-template-columns: repeat(2, 1fr); }
  .hero-index li:nth-child(even) { border-right: 0; }
  .hero-index li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.09); }
  .hero-actions .btn { flex: 1; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .pdp-sticky-actions .btn-ghost { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .journal-row { padding: 18px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
  .stats-band--light .stat { border-bottom-color: var(--line-dark); }
  .stat:last-child { border-bottom: 0; padding-bottom: 0; }
}
