/* FXR Archive: wireframe stylesheet (one shared file). Neutral, light, placeholder-only. */
:root {
  --bg: #f4f4f2;
  --surface: #ffffff;
  --ink: #1c1d20;
  --muted: #6b6c72;
  --line: #dcdcd7;
  --ph: #e5e5e1;
  --ph-edge: #b6b6b0;
  --ph-ink: #85868c;
  --dark: #141414;
  --dark-2: #2c2d31;
  --accent: #3a3b40;
  --radius: 10px;
  --maxw: 1200px;
  --tab-h: 62px;
  --bar-h: 52px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--font); background: var(--bg); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6rem; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.01em; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .8rem; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.wf-note { background: #fbf6dc; color: #5c5424; font-size: .78rem; text-align: center; padding: .3rem 1rem; letter-spacing: .02em; }

/* ---------- Placeholders ---------- */
.ph {
  background: var(--ph);
  border: 1.5px dashed var(--ph-edge);
  border-radius: 8px;
  color: var(--ph-ink);
  font: 500 .82rem/1.3 var(--mono);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: .6rem .8rem; min-height: 2.4rem;
  margin: 0 0 .75rem;
}
.ph-text { min-height: 6rem; }
.ph-text-lg { min-height: 11rem; }
.ph-line { min-height: 1.9rem; justify-content: flex-start; padding: .25rem .6rem; }
.ph-line.short { max-width: 14rem; }
.ph-photo { aspect-ratio: 16 / 10; }
.ph-hero { aspect-ratio: 16 / 9; }
.ph-square { aspect-ratio: 1 / 1; }
.ph-portrait { aspect-ratio: 3 / 4; }
.ph-wide { aspect-ratio: 21 / 9; }
.ph-chart { aspect-ratio: 2 / 1; }
.ph-inline { display: inline-flex; min-height: 0; margin: 0; padding: .1rem .5rem; font-size: .76rem; }
.ph:last-child { margin-bottom: 0; }

/* ---------- Desktop header ---------- */
.site-header { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: stretch; min-height: 72px; gap: 1.5rem; }
.wordmark { display: flex; align-items: center; text-decoration: none; flex: none; padding: 8px 0; }
.wordmark img { height: 56px; width: auto; }
.foot-mark { padding: 0; }
.foot-mark img { height: 90px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.main-nav { display: flex; margin-left: auto; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: .1rem; }
.nav > li { position: relative; display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; height: 100%; padding: 0 .7rem; text-decoration: none; color: #e9e9ec; font-size: .95rem; border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
.nav .has-sub .nav-link { padding-right: .2rem; }
.nav-link:hover, .nav > li:hover > .nav-link { color: #fff; }
.nav-link[aria-current="page"], .nav > li.active > .nav-link { color: #fff; border-bottom-color: #fff; }
.sub-toggle { background: none; border: 0; color: #c9c9ce; cursor: pointer; padding: 0 .45rem 0 .15rem; height: 100%; display: flex; align-items: center; }
.sub-toggle svg { width: 12px; height: 12px; transition: transform .15s; }
.nav > li.open .sub-toggle svg { transform: rotate(180deg); }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--surface); color: var(--ink); list-style: none; margin: 0; padding: .45rem; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.18); z-index: 60; }
.sub.cols { columns: 2; column-gap: .3rem; min-width: 460px; }
.nav > li:last-child .sub { left: auto; right: 0; }
.nav > li:hover > .sub, .nav > li:focus-within > .sub, .nav > li.open > .sub { display: block; }
.sub li { break-inside: avoid; }
.sub a { display: block; padding: .5rem .7rem; border-radius: 6px; text-decoration: none; font-size: .92rem; }
.sub a:hover, .sub a:focus { background: var(--bg); }
.sub a[aria-current="page"] { font-weight: 700; background: var(--bg); }
.sub .sub-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .4rem .7rem .2rem; }

/* ---------- Phone app bar (hidden on desktop) ---------- */
.app-bar { display: none; }

/* ---------- Breadcrumb ---------- */
.crumbs { max-width: var(--maxw); margin: 0 auto; padding: .9rem 1.5rem 0; font-size: .85rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--ph-edge); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Page structure ---------- */
main { padding-top: 1.25rem; padding-bottom: 3rem; }
.page-head { padding: 1rem 0 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.75rem; }
.page-head .ph-text { max-width: 760px; min-height: 4.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--muted); font-weight: 600; margin-bottom: .4rem; }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .8rem; }
.sec { margin: 0 0 2.5rem; scroll-margin-top: 90px; }
.sec > h2 { padding-bottom: .4rem; border-bottom: 2px solid var(--ink); display: inline-block; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.sec-head a { font-size: .9rem; color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.callout { background: var(--surface); border-left: 4px solid var(--accent); border-radius: 6px; padding: .9rem 1rem; margin: 0 0 1rem; }
.callout h3 { font-size: .95rem; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.g4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.grid.g2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; text-decoration: none; color: var(--ink); min-width: 0; transition: box-shadow .15s, transform .15s; }
a.card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-1px); }
.card h3 { margin: .2rem 0 .5rem; }
.card .card-body { min-width: 0; }
.card .more { margin-top: auto; font-size: .85rem; color: var(--muted); padding-top: .3rem; }
.card.feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; align-items: center; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: .15rem .55rem; color: var(--muted); background: var(--bg); }

/* Lists / rows */
.rows { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.rows li { display: grid; grid-template-columns: 8rem 1fr auto; gap: 1rem; align-items: center; padding: .75rem 1rem; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.rows .ph { margin: 0; }

/* ---------- Home hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 1rem 0 2.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
.hero .ph-hero { margin: 0; }
.btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.1rem; border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; border: 1.5px solid var(--ink); cursor: pointer; font-family: inherit; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- On-page TOC layout (model pages etc.) ---------- */
.with-toc { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.toc { position: sticky; top: 84px; font-size: .9rem; }
.toc h2 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .5rem; border: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .35rem .8rem; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 1rem; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .6rem .85rem; border-top: 1px solid var(--line); vertical-align: middle; }
thead th { border-top: 0; background: var(--bg); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tbody th { font-weight: 600; width: 34%; }
td.phc { color: var(--ph-ink); font-family: var(--mono); font-size: .8rem; }

/* ---------- Chips / filter bar ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem; margin: 0 0 1.5rem; }
.filters .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: .25rem; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .95rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 500 .9rem var(--font); white-space: nowrap; text-decoration: none; cursor: pointer; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.ph-chip { font-family: var(--mono); font-size: .8rem; color: var(--ph-ink); border-style: dashed; background: var(--ph); }
.select, .input { min-height: 40px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 .75rem; font: .9rem var(--font); background: var(--surface); color: var(--muted); }
.filters .input { flex: 1 1 200px; min-width: 0; }
.filters .spacer { flex: 1; }
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; }
.chip-row .chip { min-height: 36px; padding: 0 .75rem; font-size: .85rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--ink); }
.tl-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.25rem; padding: 0 0 1.6rem 1.25rem; position: relative; scroll-margin-top: 90px; }
.tl-row::before { content: ""; position: absolute; left: -9px; top: .35rem; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 3px solid var(--ink); }
.tl-year { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.tl-body .ph-photo { max-width: 360px; }

/* ---------- VIN diagram ---------- */
.vin { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 4px; margin: 0 0 1rem; }
.vin div { background: var(--ph); border: 1.5px dashed var(--ph-edge); border-radius: 5px; text-align: center; padding: .55rem 0 .35rem; font: 700 1rem var(--mono); color: var(--ph-ink); }
.vin small { display: block; font-size: .62rem; font-weight: 500; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field .input, .field textarea, .field .select { width: 100%; }
.field textarea { min-height: 8rem; border: 1.5px solid var(--line); border-radius: 8px; padding: .6rem .75rem; font: .95rem var(--font); background: var(--surface); resize: vertical; }
.field input[type=file] { font: .9rem var(--font); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.article figure { margin: 1.5rem 0; }
.article figcaption .ph { margin-top: .4rem; }
.article blockquote { margin: 1.5rem 0; padding: 0 0 0 1.1rem; border-left: 4px solid var(--ink); }
.article aside { margin: 1.5rem 0; }

/* ---------- More page list ---------- */
.list-group { margin: 0 0 1.75rem; }
.list-group h2 { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 .5rem .2rem; }
.list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.list li + li { border-top: 1px solid var(--line); }
.list a { display: flex; align-items: center; gap: .85rem; min-height: 56px; padding: .5rem 1rem; text-decoration: none; color: var(--ink); font-weight: 500; }
.list a:hover { background: var(--bg); }
.list .ico { width: 34px; height: 34px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.list .ico svg { width: 18px; height: 18px; }
.list .chev { margin-left: auto; color: var(--ph-edge); width: 16px; height: 16px; flex: none; }
.list .sub-item a { padding-left: 3.9rem; font-weight: 400; min-height: 50px; color: var(--muted); }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cfcfd4; margin-top: 2rem; }
.site-footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1.5rem 1.5rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: .25rem 0; color: #cfcfd4; text-decoration: none; font-size: .92rem; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.site-footer .ph { background: var(--dark-2); border-color: #55565c; color: #9a9ba1; }
.site-footer .wordmark { margin-bottom: .8rem; }
.site-footer .legal { max-width: var(--maxw); margin: 0 auto; padding: 1rem 1.5rem 1.5rem; border-top: 1px solid #3a3b40; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .8rem; }

/* ---------- Tab bar (phone only) ---------- */
.tabbar { display: none; }

/* ======================================================================
   Medium widths: put the main nav on its own row so it never overflows
   ====================================================================== */
@media (min-width: 768px) and (max-width: 1080px) {
  .site-header .inner { flex-wrap: wrap; gap: 0; }
  .wordmark img { height: 52px; }
  .main-nav { margin-left: 0; width: 100%; border-top: 1px solid #36373c; }
  .nav { margin: 0; min-height: 46px; flex-wrap: wrap; }
  .nav > li:nth-last-child(-n+2) .sub { left: auto; right: 0; }
  .hero, .two-col { grid-template-columns: 1fr; }
  .with-toc { grid-template-columns: minmax(0, 1fr); }
  .grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; border: 0; gap: .4rem; }
  .toc a { border: 1.5px solid var(--line); border-radius: 999px; padding: .35rem .8rem; background: var(--surface); }
  .site-footer .inner { grid-template-columns: 1fr 1fr; }
}

/* ======================================================================
   PHONE (< 768px): app-style layout
   ====================================================================== */
@media (max-width: 767.98px) {
  body { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); }
  .wf-note { font-size: .7rem; }
  .site-header, .crumbs { display: none; }
  .wrap { padding: 0 1rem; }

  .app-bar {
    display: flex; align-items: center; gap: .25rem;
    position: sticky; top: 0; z-index: 50;
    min-height: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) .4rem 0;
    background: var(--dark); color: #fff;
  }
  .app-bar .back, .app-bar .home-mark { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; text-decoration: none; border-radius: 10px; flex: none; }
  .app-bar .back svg { width: 22px; height: 22px; }
  .app-bar .title { flex: 1; min-width: 0; font-weight: 700; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: .35rem; }
  .app-bar .back + .title { padding-left: 0; }
  .app-bar .home-mark { width: 56px; }
  .app-bar .home-mark img { height: 15px; width: auto; }
  .bar-logo { display: inline-flex; align-items: center; gap: .6rem; padding-left: .3rem; }
  .bar-logo img { height: 22px; width: auto; }
  .bar-archive { font-weight: 300; font-size: .8rem; letter-spacing: .42em; text-transform: uppercase; color: #F2F0EA; padding-left: .6rem; border-left: 1px solid rgba(242,240,234,.55); line-height: 1.6; }

  main { padding-top: .75rem; padding-bottom: 1.5rem; }
  h1 { font-size: 1.6rem; }
  .page-head { padding: .5rem 0 1rem; margin-bottom: 1.25rem; }
  .sec { margin-bottom: 2rem; scroll-margin-top: 64px; }
  .sec > h2 { font-size: 1.2rem; }

  .hero, .two-col, .card.feature { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .hero { padding: .25rem 0 1.5rem; margin-bottom: 1.5rem; }
  .hero h1 { font-size: 2.1rem; }
  .btns .btn { flex: 1 1 auto; min-height: 48px; }

  /* single-column, app-style cards (thumbnail + text) */
  .grid, .grid.g3, .grid.g4, .grid.g2 { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .card { flex-direction: row; gap: .85rem; align-items: center; padding: .65rem; min-height: 76px; }
  .card > .ph:first-child { width: 88px; flex: none; aspect-ratio: 1 / 1; margin: 0; font-size: .7rem; padding: .3rem; }
  .card > .ph-portrait:first-child { aspect-ratio: 3 / 4; width: 72px; }
  .card .card-body { flex: 1; }
  .card h3 { margin: 0 0 .35rem; font-size: 1rem; }
  .card .card-body .ph { margin-bottom: .35rem; }
  .card .more { display: none; }
  .card.stack { flex-direction: column; align-items: stretch; }
  .card.stack > .ph:first-child { width: 100%; aspect-ratio: 16 / 9; }

  .rows li { grid-template-columns: 1fr; gap: .35rem; padding: .8rem; }

  .with-toc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc, .toc-content { min-width: 0; }
  .toc { position: sticky; top: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); z-index: 20; background: var(--bg); margin: -.25rem -1rem 1rem; padding: .5rem 1rem; border-bottom: 1px solid var(--line); }
  .toc h2 { display: none; }
  .toc ol { display: flex; gap: .4rem; overflow-x: auto; border: 0; scrollbar-width: none; }
  .toc ol::-webkit-scrollbar { display: none; }
  .toc li { flex: none; }
  .toc a { border: 1.5px solid var(--line); border-radius: 999px; padding: 0 .85rem; min-height: 38px; display: flex; align-items: center; background: var(--surface); white-space: nowrap; }

  /* filter bars become a single swipeable row */
  .filters { flex-wrap: nowrap; overflow-x: auto; padding: .55rem; margin-left: -1rem; margin-right: -1rem; border-radius: 0; border-left: 0; border-right: 0; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters > * { flex: none; }
  .filters .input { flex: 0 0 11rem; }
  .filters .spacer { display: none; }
  .chip, .select, .input { min-height: 44px; }

  .tl-row { grid-template-columns: 1fr; gap: .4rem; padding-left: 1rem; }
  .tl-year { font-size: 1.25rem; }

  .vin { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .vin div { font-size: .85rem; }

  tbody th { width: auto; }
  th, td { padding: .55rem .65rem; }

  .list a { min-height: 58px; font-size: 1.02rem; }
  .more-grid { grid-template-columns: 1fr; }

  .site-footer { margin-top: 1rem; }
  .site-footer .inner { grid-template-columns: 1fr 1fr; gap: 1.25rem; padding: 1.75rem 1rem 1rem; }
  .site-footer .brand-col { grid-column: 1 / -1; }
  .site-footer li a { padding: .5rem 0; }
  .site-footer .legal { padding: 1rem; }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(0,0,0,.05);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: .7rem; font-weight: 600; min-height: 48px; position: relative; -webkit-tap-highlight-color: transparent; }
  .tabbar svg { width: 24px; height: 24px; }
  .tabbar a[aria-current="page"], .tabbar a.active { color: var(--ink); }
  .tabbar a.active::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--ink); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ==========================================================================
   Content styles (content workstream, Sep 2026): prose, citations, badges,
   figures, real tables, unverified flags. Appended; no rules above changed.
   ========================================================================== */
.lead { font-size: 1.08rem; color: var(--ink); max-width: 760px; margin: 0 0 .75rem; }
.tagline { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--muted); margin: 0 0 .4rem; }
.prose { max-width: 760px; }
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }
.bullets { margin: 0 0 1rem; padding-left: 1.2rem; }
.bullets li { margin: 0 0 .45rem; }
.small { font-size: .85rem; color: var(--muted); }
a.cite { color: var(--muted); font-size: .88em; text-decoration: underline; text-decoration-color: var(--ph-edge); text-underline-offset: 2px; }
a.cite:hover { color: var(--ink); }
.needs-source { display: inline-block; font: 600 .74rem/1.4 var(--mono); color: #8a2d12; background: #fdf0ea; border: 1.5px dashed #d98b6f; border-radius: 5px; padding: 0 .35rem; white-space: nowrap; }
.cbadge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: .12rem .5rem; border: 1px solid; white-space: nowrap; vertical-align: middle; }
.b-confirmed { color: #1d5b2c; background: #e8f4ea; border-color: #9cc8a5; }
.b-probable { color: #7a4d00; background: #fff4dc; border-color: #e3c27a; }
.b-reported { color: #2e4a6b; background: #eaf0f7; border-color: #a9bcd3; }
.b-conflict { color: #6b2e6b; background: #f6ebf6; border-color: #cfa6cf; }
.b-needs { color: #8a2d12; background: #fdf0ea; border-color: #d98b6f; }
.fig { margin: 0 0 1rem; }
.fig img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--ph); }
.fig figcaption { font-size: .85rem; color: var(--muted); margin-top: .45rem; }
.fig .credit { display: block; font-size: .78rem; margin-top: .15rem; }
.fig .credit a { color: var(--muted); }
.hero-fig { margin: 0; }
.tl-fig { max-width: 420px; margin-top: .5rem; }
.tl-body p { margin: 0 0 .6rem; }
.card-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: .6rem; background: var(--ph); }
.card p { margin: 0 0 .5rem; font-size: .93rem; }
.card .role { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.card .card-foot { margin-top: auto; font-size: .82rem; color: var(--muted); }
.table-wrap.real td, .table-wrap.real th { vertical-align: top; }
.table-note { font-size: .84rem; color: var(--muted); margin: -.4rem 0 1rem; max-width: 760px; }
.src-list { margin: 0 0 .75rem; padding-left: 1.3rem; font-size: .9rem; }
.src-list li { margin: 0 0 .4rem; }
.rows li .date { font-size: .85rem; color: var(--muted); }
.rows li > a { color: var(--ink); font-weight: 500; }
.chip.yr { cursor: default; color: var(--ph-ink); border-style: dashed; }
.chip.yr.on { color: #fff; border-style: solid; }
.pop-card .meta { font-size: .8rem; color: var(--muted); margin-bottom: .35rem; }
.pop-card .links { font-size: .8rem; margin-top: auto; }
.pop-card .links a { color: var(--muted); margin-right: .5rem; }
.pop-card[hidden] { display: none !important; }
.vin.real div { background: var(--surface); border-style: solid; border-color: var(--line); color: var(--ink); }
.vin.real div.hl { background: var(--ink); color: #fff; border-color: var(--ink); }
.vin.real div.hl small { color: #d0d0d4; }
.legal a { color: #cfcfd4; }
@media (max-width: 767.98px) {
  .card > .card-img:first-child { width: 88px; flex: none; aspect-ratio: 1 / 1; margin: 0; }
  .lead { font-size: 1rem; }
  .tl-fig { max-width: 100%; }
  .pop-card { align-items: flex-start; }
}
.site-footer .foot-tag { color: #fff; font-weight: 600; margin: .75rem 0 .4rem; }
.site-footer .foot-disc { font-size: .82rem; color: #a9a9b0; margin: 0; max-width: 34rem; }
.toc-content > .sec > .fig, .toc-content .sec > .fig { max-width: 760px; }
@media (max-width: 767.98px) {
  .card.tcard { flex-direction: column; align-items: stretch; gap: .3rem; }
}

/* ---------- Phone Dyno page (tech/phone-dyno.html) ---------- */
.head-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: -.25rem 0 1.25rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; max-width: 760px; margin: 1rem 0 0; padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }
.prose h3 { margin: 1.4rem 0 .5rem; font-size: 1.05rem; }
.prose h3:first-child { margin-top: 0; }
.prose ol.bullets { padding-left: 1.4rem; }
.prose q { quotes: "\201C" "\201D"; }
.prose code, .table-wrap code { font: .88em var(--mono); background: #efefeb; border-radius: 4px; padding: .05em .3em; }
pre.code { max-width: 760px; margin: 0 0 1rem; padding: .8rem 1rem; background: #1f2023; color: #f1f1ee; border-radius: 8px; overflow-x: auto; font: .84rem/1.55 var(--mono); }
pre.code code { background: none; padding: 0; color: inherit; font: inherit; }
.callout.placeholder { border-left-color: #d98b6f; background: #fffaf7; }
.callout.warn { border-left-color: #b45309; background: #fff8ec; margin-top: 1rem; }
.callout.warn p { margin: .3rem 0 0; }
.diagram { margin: 0 0 1.25rem; }
.diagram-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem; -webkit-overflow-scrolling: touch; }
.diagram-svg { display: block; width: 100%; min-width: 560px; height: auto; }
.diagram figcaption, .chart figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; max-width: 760px; }
.chart-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin: 0 0 1rem; }
.chart { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .6rem .8rem; }
.chart-svg { display: block; width: 100%; height: auto; }
.chart-legend { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: .4rem 0 0; font-size: .82rem; color: var(--muted); }
.chart-legend .lg::before { content: ""; display: inline-block; width: 18px; height: 0; border-top: 3px solid; vertical-align: middle; margin-right: .35rem; }
.chart-legend .hp::before { border-color: #c2410c; }
.chart-legend .tq::before { border-color: #1c1d20; }
.chart-legend .ref::before { border-top: 2px dashed #8a8b90; }
.chart-legend .dots::before { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #9b9ca0; }
.beta-cols { align-items: start; }
.beta-form .hint { font-size: .8rem; color: var(--muted); margin: .3rem 0 0; }
.beta-form .input { color: var(--ink); font-size: 1rem; min-height: 44px; }
.beta-form textarea { font-size: 1rem; }
.beta-form .check { font-size: .95rem; }
.beta-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1d5b2c; }
.form-status.err { color: #9b2c2c; }
.beta-form.sent .field, .beta-form.sent .btns { display: none; }
.terms h3 { margin-bottom: .5rem; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; gap: .1rem; }
  .facts dd { margin-bottom: .45rem; }
  .head-cta .btn { flex: 1 1 auto; }
}
.needs-source.placeholder-mark { white-space: normal; }
@media (max-width: 760px) { pre.code { font-size: .76rem; padding: .7rem .8rem; } }
.result-cards { margin: 0 0 1.4rem; }
.rdl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem .8rem; margin: .4rem 0 0; font-size: .92rem; }
.rdl dt { font-weight: 700; }
.rdl dd { margin: 0; }
@media (max-width: 760px) {
  .toc-content > .sec { scroll-margin-top: 7.5rem; }
  .rdl { grid-template-columns: 1fr; gap: 0; }
  .rdl dd { margin-bottom: .45rem; color: var(--muted); }
}

/* Scene directory and events (content pass 2) */
.dir-card[hidden], .ev-row[hidden] { display: none !important; }
.dir-chips { display: flex; flex-wrap: wrap; gap: .4rem; flex-basis: 100%; }
.dir-chips .chip { min-height: 36px; padding: 0 .8rem; font-size: .85rem; }
.dir-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin: .1rem 0 .5rem; }
.dir-card .card-foot a { word-break: break-word; }
.ev-rows li { align-items: start; grid-template-columns: 11rem 1fr auto; }
.ev-rows .ev-what { margin: .35rem 0 .2rem; }
.ev-rows .small { margin: 0; }
@media (max-width: 767.98px) {
  .filters.dir-filters { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; border-radius: var(--radius); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .filters.dir-filters .input { flex: 1 1 100%; }
  .filters.dir-filters .select { flex: 1 1 auto; }
  .dir-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -.2rem; padding: 0 .2rem; }
  .dir-chips::-webkit-scrollbar { display: none; }
  .dir-chips .chip { flex: none; min-height: 40px; }
  .ev-rows li { grid-template-columns: 1fr; }
}
h3.sub-h { font-size: 1rem; margin: 1.5rem 0 .5rem; }

/* ==========================================================================
   Home v2 (Sep 29, 2026): full-bleed photo hero, brand intro, section cards.
   Scoped to home classes; no rules above changed.
   ========================================================================== */
:root { --orange: #FF5A1F; --orange-ink: #d9420c; }
body[data-section="home"] { overflow-x: clip; }
body[data-section="home"] main { padding-top: 0; }

.home-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: clamp(560px, calc(100svh - 72px), 920px); overflow: hidden; background: #1c1517; color: #fff; isolation: isolate; }
.hh-media, .hh-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hh-media img { object-fit: cover; object-position: var(--hero-pos, 70% 60%); }
.hh-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14,11,13,.80) 0%, rgba(14,11,13,.55) 30%, rgba(14,11,13,.12) 55%, rgba(14,11,13,0) 70%),
  linear-gradient(0deg, rgba(14,11,13,.45) 0%, rgba(14,11,13,0) 28%); }
.hh-inner { position: relative; z-index: 1; max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; }
.hh-copy { max-width: 33rem; }
.hh-logo { margin: 0 0 1.4rem; line-height: 0; }
.hh-logo img { width: clamp(260px, 29vw, 420px); height: auto; filter: drop-shadow(0 2px 16px rgba(0,0,0,.35)); }
.hh-tag { font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.5; font-weight: 500; margin: 0 0 1.7rem; max-width: 27rem; color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.hh-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.hh-btns .btn { min-height: 50px; padding: 0 1.5rem; font-size: 1rem; border-radius: 10px; }
.btn-accent { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-ink); border-color: var(--orange-ink); }
.btn-glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.75); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.btn:focus-visible, .hcard:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.hh-credit { position: absolute; right: 1rem; bottom: .55rem; z-index: 1; margin: 0; font-size: .7rem; line-height: 1.35; color: rgba(255,255,255,.72); max-width: 36rem; text-align: right; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hh-credit a { color: rgba(255,255,255,.9); }

.kicker { display: flex; align-items: center; gap: .65rem; text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 700; color: var(--muted); margin: 0 0 .55rem; }
.kicker::before { content: ""; flex: none; width: 20px; height: 3px; background: var(--orange); transform: skewX(-40deg); }

.home-intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; padding: 3.75rem 0 3.25rem; border-bottom: 1px solid var(--line); margin-bottom: 3.25rem; }
.home-intro .lead { font-size: 1.16rem; line-height: 1.7; margin: 0; max-width: 44rem; }
.hi-facts { margin: 0; display: grid; border-left: 1px solid var(--line); }
.hi-facts div { padding: .85rem 0 .85rem 1.5rem; border-top: 1px solid var(--line); }
.hi-facts div:first-child { border-top: 0; }
.hi-facts dt { font-weight: 800; font-size: 1.4rem; letter-spacing: -.015em; line-height: 1.15; }
.hi-facts dd { margin: .15rem 0 0; color: var(--muted); font-size: .9rem; }

.home-sec { margin-bottom: 3.5rem; }
.hs-head h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.015em; margin: 0 0 1.4rem; }
.home-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.hcard { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s, border-color .18s; }
.hcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.10); border-color: #c8c8c2; }
.hc-media { display: block; aspect-ratio: 4 / 3; background: var(--dark); overflow: hidden; }
.hc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.hcard:hover .hc-media img { transform: scale(1.04); }
.hc-tile { position: relative; display: grid; place-items: center; color: #F2F0EA; background: linear-gradient(140deg, #19191b 0%, #2b2b30 100%); }
.hc-tile::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-58deg, rgba(255,255,255,.028) 0 2px, transparent 2px 14px); }
.hc-tile::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 46%; background: var(--orange); transform: translate(34px, -50%) skewX(-34deg); border-radius: 1px; }
.hc-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 999px; border: 1.5px solid rgba(242,240,234,.28); background: rgba(20,20,22,.6); }
.hc-tile svg { width: 34px; height: 34px; stroke-width: 1.6; }
.hc-body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.25rem; }
.hc-num { font: 700 .72rem/1 var(--mono); color: var(--muted); letter-spacing: .08em; }
.hc-title { font-weight: 800; font-size: 1.14rem; letter-spacing: -.01em; line-height: 1.25; }
.hc-text { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.hc-go { position: absolute; right: .9rem; top: 1rem; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); opacity: 0; transition: opacity .18s, transform .18s; }
.hc-go svg { width: 16px; height: 16px; }
.hcard:hover .hc-go { opacity: 1; transform: translateX(2px); }

.home-lower { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; align-items: start; margin-bottom: 1rem; }
.home-lower .home-sec { margin-bottom: 0; }
.home-callout { border-left-color: var(--orange); padding: 1.25rem 1.35rem; margin: 0; }
@media (min-width: 1081px) { .home-callout { margin-top: 4.1rem; } }
.home-rows li { grid-template-columns: 7.5rem 1fr auto; }

@media (min-width: 768px) and (max-width: 1080px) {
  .home-hero { height: clamp(480px, 62vw, 640px); }
  .hh-media img { object-position: 80% 60%; }
  .hh-copy { max-width: 20.5rem; }
  .hh-logo img { width: 230px; }
  .hh-tag { font-size: 1rem; }
  .hh-btns .btn { padding: 0 1.1rem; }
  .home-intro { grid-template-columns: 1fr; gap: 1.75rem; padding: 2.75rem 0 2.5rem; }
  .hi-facts { border-left: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hi-facts div, .hi-facts div:first-child { border-top: 0; border-left: 1px solid var(--line); padding: .2rem 0 .2rem 1rem; }
  .home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-lower { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 767.98px) {
  .home-hero { height: calc(100svh - var(--bar-h) - var(--tab-h) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); min-height: 540px; max-height: 780px; }
  .hh-media img { object-position: var(--hero-ppos, 50% 100%); }
  .hh-shade { background: linear-gradient(180deg, rgba(14,11,13,.62) 0%, rgba(14,11,13,.30) 36%, rgba(14,11,13,0) 56%, rgba(14,11,13,0) 84%, rgba(14,11,13,.35) 100%); }
  .hh-inner { align-items: flex-start; padding: 1.9rem 1.25rem 0; }
  .hh-copy { max-width: none; width: 100%; }
  .hh-logo { margin-bottom: 1rem; }
  .hh-logo img { width: min(60vw, 240px); }
  .hh-tag { font-size: 1rem; line-height: 1.45; margin-bottom: 1.1rem; max-width: 21rem; }
  .hh-btns { gap: .55rem; flex-wrap: nowrap; }
  .hh-btns .btn { flex: 1 1 0; min-height: 48px; padding: 0 .75rem; font-size: .95rem; }
  .hh-credit { left: 1rem; right: 1rem; bottom: .4rem; font-size: .6rem; text-align: left; max-width: none; }

  .home-intro { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.75rem 0 1.75rem; margin-bottom: 1.75rem; }
  .home-intro .lead { font-size: 1rem; line-height: 1.6; }
  .hi-facts { border-left: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .hi-facts div, .hi-facts div:first-child { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: .65rem .6rem; }
  .hi-facts dt { font-size: .92rem; }
  .hi-facts dd { font-size: .74rem; line-height: 1.35; }

  .home-sec { margin-bottom: 2rem; }
  .hs-head h2 { font-size: 1.35rem; margin-bottom: .9rem; }
  .home-cards { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .hcard { flex-direction: row; align-items: stretch; min-height: 88px; }
  .hcard:hover { transform: none; }
  .hc-media { width: 88px; flex: none; aspect-ratio: auto; }
  .hc-ico { width: 46px; height: 46px; border: 0; background: none; }
  .hc-tile svg { width: 28px; height: 28px; }
  .hc-tile::after { width: 6px; height: 40%; transform: translate(18px, -50%) skewX(-34deg); }
  .hc-body { flex: 1; min-width: 0; justify-content: center; padding: .7rem 2.4rem .75rem .9rem; gap: .15rem; }
  .hc-num { display: none; }
  .hc-title { font-size: 1.02rem; }
  .hc-text { font-size: .84rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hc-go { opacity: .55; top: 50%; right: .6rem; transform: translateY(-50%); background: none; }
  .hcard:hover .hc-go { transform: translateY(-50%); }

  .home-lower { grid-template-columns: 1fr; gap: 1.25rem; }
  .home-rows li { grid-template-columns: 1fr; }
  .home-rows li .tag { justify-self: start; }
}

/* ---------- Home hero tagline (Sep 29, 2026): large primary line, optional small subline ---------- */
.hh-logo { margin-bottom: 1.2rem; }
.hh-tag { font-size: clamp(1.7rem, 2.7vw, 2.6rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; max-width: 11.5em; margin: 0 0 1.6rem; text-wrap: balance; }
.hh-sub { font-size: clamp(.98rem, 1.2vw, 1.12rem); line-height: 1.5; font-weight: 500; color: rgba(255,255,255,.9); max-width: 26rem; margin: -.9rem 0 1.6rem; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
@media (min-width: 768px) and (max-width: 1080px) {
  .hh-tag { font-size: 1.75rem; margin-bottom: 1.3rem; }
}
@media (max-width: 767.98px) {
  .hh-tag { font-size: 1.75rem; line-height: 1.12; max-width: 11em; margin-bottom: 1.2rem; }
  .hh-sub { font-size: .95rem; margin: -.6rem 0 1.1rem; }
}

/* ---------- Phone hero v5 (Sep 29, 2026): compact copy block so logo, tagline and buttons clear the bike ---------- */
@media (max-width: 767.98px) {
  .hh-inner { padding: 1.25rem 1.25rem 0; }
  .hh-logo { margin-bottom: .75rem; }
  .hh-logo img { width: min(52vw, 210px); }
  .hh-tag { font-size: 1.55rem; line-height: 1.12; margin-bottom: 1rem; }
  .hh-btns { gap: .5rem; }
  .hh-btns .btn { min-height: 46px; padding: 0 .6rem; font-size: .92rem; white-space: nowrap; }
}
@media (max-width: 767.98px) and (max-height: 700px) {
  .hh-inner { padding-top: .9rem; }
  .hh-logo { margin-bottom: .6rem; }
  .hh-logo img { width: min(45vw, 170px); }
  .hh-tag { font-size: 1.4rem; margin-bottom: .75rem; }
  .hh-btns .btn { min-height: 44px; }
}

/* ---------- Logo fix (Sep 29, 2026): one logo on home, legible FXR | ARCHIVE lockup in headers elsewhere ---------- */
/* Header brand is the horizontal lockup (assets/logo/logo-lockup-light.svg); the home page renders no header brand. */
.site-header .wordmark { padding: 0; }
.site-header .wordmark img { height: 28px; width: auto; }
@media (min-width: 768px) and (max-width: 1080px) {
  .site-header .wordmark { min-height: 64px; }
  .site-header .wordmark img { height: 28px; }
  body[data-section="home"] .main-nav { border-top: 0; }
}
@media (max-width: 767.98px) {
  /* home has no app bar (the hero logo is the brand), so the hero only reserves room for the tab bar */
  body[data-section="home"] .home-hero { height: calc(100svh - var(--tab-h) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
  .app-bar .home-mark { width: auto; padding: 0 .45rem 0 .35rem; }
  .app-bar .home-mark img { height: 20px; width: auto; }
}
@media (max-width: 389.98px) {
  .app-bar .title { font-size: 1rem; }
  .app-bar .home-mark { padding: 0 .3rem 0 .2rem; }
  .app-bar .home-mark img { height: 18px; }
}

/* ---------- Stories + CVO photos (Sep 29, 2026) ---------- */
.fig picture, .card picture { display: block; }
.fig picture img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--ph); }
.card picture .card-img { margin-bottom: .6rem; }
.cvo-gallery .fig { margin: 0; }
.two-col > .fig { margin: 0; }
.article.story { max-width: 820px; }
.story .page-head .lead { font-size: 1.15rem; }
.story-meta { display: flex; flex-wrap: wrap; gap: .45rem; color: var(--muted); font-size: .9rem; margin: .4rem 0 0; }
.story-hero { margin: 0 0 1.75rem; }
.story-body { max-width: 760px; }
.story h2 { margin: 2rem 0 .75rem; }
.story .story-body h2:first-child { margin-top: 1.5rem; }
.story .table-wrap { margin: 0 0 1rem; }
.story-table.num td { font-variant-numeric: tabular-nums; }
.story .gain { color: #15803d; font-weight: 700; white-space: nowrap; }
.story-chart { margin: 1.5rem 0 1rem; }
.story-chart picture img { background: #111; }
.story-box { margin: 1.25rem 0; }
.story-box p { margin: .35rem 0 0; }
.story-note { font-size: .92rem; color: var(--muted); }
.story-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; align-items: start; }
.story-photos .fig { margin: 0; }
.story-photos .span2 { grid-column: 1 / -1; max-width: 560px; }
.story-notes p { font-size: .88rem; color: var(--muted); max-width: 760px; }
.fnref a { text-decoration: none; font-weight: 700; padding: 0 .1em; }
.story-feature .feature-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.story-feature .card-body p { margin: .4rem 0; }
@media (max-width: 767.98px) {
  .story-photos { grid-template-columns: minmax(0, 1fr); }
  .story .page-head .lead { font-size: 1.05rem; }
  .story h2 { margin-top: 1.6rem; }
}

/* ---------- Pop Culture: Spotlight Feature card (Sep 30, 2026). Scoped to .spotlight; no rules above changed. ---------- */
.spotlight .spotlight-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 1.5rem 1.75rem 1.35rem; max-width: 820px; }
.spotlight .kicker { margin-bottom: .6rem; }
.spotlight h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0 0 .35rem; padding: 0; border: 0; display: block; }
.spotlight .spotlight-byline { color: var(--muted); font-size: .9rem; margin: 0 0 1.1rem; }
.spotlight .spotlight-body p { line-height: 1.65; }
.spotlight .spotlight-store { font-weight: 600; padding-top: .9rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.spotlight .spotlight-store a { color: var(--orange-ink); text-underline-offset: 2px; }
.spotlight .spotlight-sources { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }
.spotlight .spotlight-sources a { color: inherit; }
@media (max-width: 767.98px) {
  .spotlight .spotlight-card { padding: 1.1rem 1rem 1rem; border-left-width: 3px; }
  .spotlight .spotlight-body p { font-size: .98rem; line-height: 1.6; }
}

/* ---------- Culture: Spotlight Feature tile, Pop Culture link card, feature page (Sep 30, 2026). Scoped; no rules above changed. ---------- */
/* The full .spotlight card rules above are no longer used by any page (the feature moved to its own page, parked Oct 1, 2026). */
.spot-tile-sec { margin-bottom: 2.75rem; }
.spot-tile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 250px; }
.spot-tile .spot-art { aspect-ratio: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .55rem; padding: 1.75rem 2.25rem; }
.spot-tile .spot-art::after { left: auto; right: 16%; top: 50%; width: 16px; height: 58%; transform: translateY(-50%) skewX(-34deg); }
.spot-art-code { position: relative; z-index: 1; font-weight: 900; font-size: clamp(3.2rem, 6vw, 4.8rem); letter-spacing: -.02em; line-height: .95; color: #F2F0EA; }
.spot-art-sub { position: relative; z-index: 1; font: 700 .78rem/1 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: rgba(242,240,234,.72); }
.spot-tile .spot-body { justify-content: center; gap: .45rem; padding: 1.75rem 2.25rem; }
.spot-tile .kicker { margin: 0 0 .1rem; }
.spot-title { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.015em; line-height: 1.15; }
.spot-hook { font-size: 1.08rem; line-height: 1.5; max-width: 34rem; }
.spot-hook strong { font-weight: 700; }
.spot-meta { font-size: .88rem; color: var(--muted); }
.spot-go { margin-top: .45rem; font-weight: 700; font-size: .95rem; color: var(--orange-ink); }
.spot-tile:hover .spot-go { text-decoration: underline; text-underline-offset: 3px; }
.spot-tile:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.spotlight-link-sec { margin-bottom: 1.5rem; }
.spot-link { flex-direction: row; align-items: center; gap: 1.25rem; max-width: 820px; padding: 1rem 1.25rem; border-left: 4px solid var(--orange); }
.spot-link .card-body { flex: 1; }
.spot-link .kicker { margin-bottom: .35rem; }
.spot-link h3 { margin: 0 0 .2rem; font-size: 1.15rem; }
.spot-link p:last-child { margin: 0; color: var(--muted); }
.spot-link .more { margin: 0; padding: 0; font-weight: 700; color: var(--orange-ink); white-space: nowrap; }

.spotlight-page .spotlight-body p { line-height: 1.7; }
.spotlight-page .spotlight-store { font-weight: 600; margin-top: 1.25rem; padding-top: .9rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.spotlight-page .spotlight-store a { color: var(--orange-ink); text-underline-offset: 2px; }
.spotlight-page .spotlight-sources { font-size: .85rem; color: var(--muted); max-width: 760px; margin: 1.25rem 0 0; }
.spotlight-page .spotlight-sources a { color: inherit; }
.spotlight-page .spotlight-more { margin-top: 1rem; }

@media (max-width: 767.98px) {
  .spot-tile-sec { margin-bottom: 1.9rem; }
  .spot-tile { display: flex; flex-direction: column; min-height: 0; }
  .spot-tile .spot-art { width: auto; height: 112px; flex-direction: row; align-items: center; gap: .8rem; padding: 1rem 1.2rem; }
  .spot-tile .spot-art::after { width: 10px; height: 56%; right: 14%; transform: translateY(-50%) skewX(-34deg); }
  .spot-art-code { font-size: 2.8rem; }
  .spot-art-sub { font-size: .68rem; letter-spacing: .22em; }
  .spot-tile .spot-body { padding: 1rem 1.1rem 1.15rem; gap: .35rem; }
  .spot-title { font-size: 1.35rem; }
  .spot-hook { font-size: 1rem; }
  .spot-link { padding: .85rem .95rem; border-left-width: 3px; }
  .spot-link h3 { font-size: 1.05rem; }
  .spotlight-page .spotlight-body p { font-size: .98rem; line-height: 1.6; }
}

/* ---------- Site search (Sep 30, 2026): header button, phone Search tab, results dialog. Appended; rules above unchanged. ---------- */
.nav > li.nav-search { margin-left: .35rem; }
.search-btn { display: inline-flex; align-items: center; gap: .45rem; align-self: center; height: 38px; padding: 0 .85rem 0 .7rem; border: 1px solid #45464c; border-radius: 999px; background: rgba(255,255,255,.06); color: #e9e9ec; font: inherit; font-size: .9rem; cursor: pointer; }
.search-btn svg { width: 17px; height: 17px; }
.search-btn:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #6a6b72; }
.search-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (min-width: 768px) and (max-width: 1080px) { .nav > li.nav-search { margin-left: auto; padding: 4px 0; } }
.tab-search { display: none; }
@media (max-width: 767.98px) {
  .tabbar { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tabbar .tab-search { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 48px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .7rem; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .tabbar .tab-search svg { width: 24px; height: 24px; }
  .tabbar a span, .tabbar .tab-search span { white-space: nowrap; }
}
@media (max-width: 359.98px) { .tabbar a, .tabbar .tab-search { font-size: .64rem; } }

html.search-open, html.search-open body { overflow: hidden; }
.search-dlg[hidden] { display: none; }
.search-dlg { position: fixed; inset: 0; z-index: 200; }
.search-backdrop { position: absolute; inset: 0; background: rgba(12,12,14,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.search-panel { position: relative; display: flex; flex-direction: column; width: min(720px, calc(100% - 2rem)); max-height: calc(100vh - 12vh - 2rem); margin: 8vh auto 0; background: var(--surface); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; }
.search-bar { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem .7rem 1rem; border-bottom: 1px solid var(--line); border-top: 3px solid var(--orange); }
.search-bar svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.search-input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: none; font: inherit; font-size: 1.1rem; color: var(--ink); }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-close { flex: none; height: 36px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.search-status { margin: 0; padding: .6rem 1rem .3rem; font-size: .82rem; color: var(--muted); }
.search-results { list-style: none; margin: 0; padding: .2rem .5rem .6rem; overflow-y: auto; overscroll-behavior: contain; }
.sr-item { display: block; padding: .65rem .6rem; border-radius: 8px; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.sr-item:hover, .sr-item:focus { background: var(--bg); outline: 0; }
.sr-item:focus-visible { box-shadow: inset 0 0 0 2px var(--orange); }
.sr-title { display: block; font-weight: 700; font-size: 1rem; line-height: 1.3; }
.sr-where { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--orange-ink); margin: .15rem 0 .25rem; }
.sr-snip { display: block; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.sr-snip mark { background: #ffe3d6; color: var(--ink); border-radius: 2px; padding: 0 1px; }
@media (max-width: 767.98px) {
  .search-panel { width: 100%; max-height: none; height: 100%; margin: 0; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); }
  .search-bar { padding: .5rem .6rem .5rem .9rem; }
  .search-input { font-size: 1rem; }
  .search-results { padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Pre-launch pass (Sep 30, 2026): branded card tiles, card photos, photo-wanted notes, story links, home reads, More rows ---------- */
.card-tile { display: grid; aspect-ratio: 16 / 10; border-radius: 6px; margin-bottom: .6rem; overflow: hidden; }
.card-tile.hc-tile::after { width: 10px; height: 44%; transform: translate(30px, -50%) skewX(-34deg); }
.card-tile .hc-ico { width: 64px; height: 64px; }
.card-tile svg { width: 30px; height: 30px; stroke-width: 1.6; }
.spot-art-card { place-items: center; }
.spot-art-card .spot-art-code { font-size: clamp(2.2rem, 4vw, 3rem); }
.spot-art-card.hc-tile::after { transform: translate(72px, -50%) skewX(-34deg); }
.card > picture:first-child { display: block; }
.card > picture:first-child .card-img { margin-bottom: .6rem; }
.photo-wanted { max-width: 760px; }
.photo-wanted p { margin: 0; }
.story-link { border-left-color: var(--orange); max-width: 760px; margin: 0 0 1.25rem; padding: .75rem 1rem; }
.story-link p { margin: 0; }
.story-link-kicker { font-weight: 700; }
.story-link a { color: var(--orange-ink); font-weight: 600; text-underline-offset: 2px; }
.home-reads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-reads .hc-media { aspect-ratio: 16 / 9; }
.home-reads picture.hc-media img { width: 100%; height: 100%; object-fit: cover; }
#reads .hs-head { align-items: flex-end; margin-bottom: 1.4rem; }
#reads .hs-head h2 { margin: 0; }
#reads .hs-head > a { font-size: .92rem; color: var(--muted); }
.list .list-note { display: flex; align-items: flex-start; gap: .85rem; padding: .8rem 1rem; color: var(--ink); font-size: .92rem; line-height: 1.5; }
.list .list-btn { display: flex; align-items: center; gap: .85rem; width: 100%; min-height: 56px; padding: .5rem 1rem; border: 0; background: none; font: inherit; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer; }
.list .list-btn:hover { background: var(--bg); }
@media (min-width: 768px) and (max-width: 1080px) { .home-reads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  .card > .card-tile:first-child { width: 88px; flex: none; aspect-ratio: 1 / 1; margin: 0; }
  .card-tile .hc-ico { width: 46px; height: 46px; border: 0; background: none; }
  .card-tile svg { width: 28px; height: 28px; }
  .card-tile.hc-tile::after { width: 6px; height: 40%; transform: translate(18px, -50%) skewX(-34deg); }
  .spot-art-card .spot-art-code { font-size: 1.45rem; }
  .spot-art-card.hc-tile::after { transform: translate(30px, -50%) skewX(-34deg); }
  .card > picture:first-child { width: 88px; flex: none; }
  .card > picture:first-child .card-img { aspect-ratio: 1 / 1; margin: 0; }
  .home-reads { grid-template-columns: minmax(0, 1fr); }
  .home-reads .hc-media { aspect-ratio: auto; }
  .home-reads .hc-num { display: block; font-size: .64rem; }
  .list .list-btn { min-height: 58px; font-size: 1.02rem; }
}
@media (min-width: 768px) {
  .home-reads .hcard { flex-direction: row; }
  .home-reads .hc-media { width: 44%; flex: none; aspect-ratio: 4 / 3; }
  .home-reads .hc-body { justify-content: center; padding: 1.1rem 2.6rem 1.2rem 1.2rem; }
  .home-reads .spot-art-card.hc-tile::after { transform: translate(48px, -50%) skewX(-34deg); }
  .home-reads .spot-art-card .spot-art-code { font-size: 2.3rem; }
}

/* ---------- Launch prep (Sep 30, 2026): unverified flag, contact link, Phone Dyno note ---------- */
.unverified { display: inline-block; font: 600 .68rem/1.5 var(--font); letter-spacing: .03em; text-transform: uppercase; color: #6f5310; background: #fbf5e4; border: 1px solid #e2cf98; border-radius: 999px; padding: 0 .45rem; margin: 0 .1rem; vertical-align: .08em; white-space: nowrap; cursor: help; }
td > .unverified:only-child { margin: 0; }
.unverified-note { margin: .6rem 0 .4rem; }
.unverified-note .unverified { cursor: default; }
[data-contact][hidden] { display: none !important; }
.contact-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }
.contact-addr { font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.contact-addr:empty { display: none; }
.contact-noscript { font-weight: 600; }
.contact-cta { margin: 1rem 0 0; }
.callout.why-note { border-left-color: var(--orange, #FF5A1F); }
.callout.why-note p { margin: .35rem 0 0; }
.dyno-chart { margin: 0 0 1.4rem; }
.dyno-chart img { background: #141414; }
.chart-kicker { margin: 0 0 .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.chart-legend { margin-top: 0; }

/* ---------------------------------------------------------------- Road Tests page (Sep 30, 2026)
   Desktop: one table per model. Phone: each row becomes a stacked card (no sideways scroll). */
.rt-table { font-size: .86rem; }
.rt-table th[scope="row"] { min-width: 13rem; font-weight: 400; }
.rt-table td { white-space: normal; }
.rt-mag { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rt-title { display: block; font-weight: 600; margin: .1rem 0; }
.rt-meta { display: block; font-size: .8rem; color: var(--muted); }
.rt-na { color: var(--muted); font-size: .8rem; }
.rt-years { color: var(--muted); font-size: .9rem; margin: 0 0 .75rem; }
.rt-notes, .rt-also { font-size: .92rem; }
.rt-also-h { font-weight: 600; margin: 1rem 0 .35rem; }
.rt-model { margin-top: .5rem; }
.rt-link-note { background: var(--surface); border-left: 4px solid var(--orange, #FF5A1F); border-radius: 6px; padding: .7rem .9rem; margin: 0 0 1rem; }
@media (max-width: 767.98px) {
  .rt-wrap { overflow: visible; background: none; border: 0; border-radius: 0; }
  .rt-table, .rt-table tbody, .rt-table tr, .rt-table th, .rt-table td { display: block; width: auto; }
  .rt-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rt-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 .75rem; padding: .7rem .85rem; }
  .rt-table th[scope="row"] { min-width: 0; padding: 0 0 .45rem; border: 0; border-bottom: 1px solid var(--line); margin-bottom: .35rem; }
  .rt-table td { display: flex; justify-content: space-between; gap: 1rem; padding: .28rem 0; border: 0; text-align: right; }
  .rt-table td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; text-align: left; flex: none; }
}
/* Road Tests is the first two-word top-level nav item: keep labels on one line, and tighten spacing where the single-row nav gets crowded. */
.nav-link { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1240px) { .nav-link { padding: 0 .5rem; font-size: .9rem; } .nav .has-sub .nav-link { padding-right: .1rem; } }

/* ---------- Article bylines, running footer and print (Sep 30, 2026) ----------
   Byline "By FXRarchive.com | <Month Year>" directly under each article title and on story cards and tiles.
   Running footer "FXRarchive.com | <Section> | <Month Year>" as the last line of each article. In print, a per-page
   @page rule in that page's <head> repeats it in the bottom margin with "Page X of Y". */
.page-head .byline .byline-text { white-space: nowrap; }
.byline .byline-extra { color: var(--muted); }
.story .page-head .byline { margin: .1rem 0 .7rem; }
.card-body .byline { margin: .15rem 0 .45rem; }
.spot-tile .spot-meta { margin: .1rem 0 .15rem; }
.article-foot { margin: 2rem 0 0; padding-top: .7rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; letter-spacing: .02em; }

@media print {
  @page { size: letter; margin: 0.6in 0.6in 0.7in; }
  html, body { background: #fff !important; color: #000; }
  body { font-size: 11pt; line-height: 1.45; }
  .skip, .wf-note, .site-header, .app-bar, .crumbs, .tabbar, .site-footer, .search-dialog, [data-search-open] { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  main { padding: 0 !important; margin: 0 !important; }
  .article, .article.story { max-width: none; }
  .story-body, .story-notes p { max-width: none; }
  .page-head { padding-top: 0; }
  a { color: inherit; text-decoration: none; }
  .fig, figure, .story-box, .callout, tr, .story-photos .fig { break-inside: avoid; }
  .story-hero img, .story-photos .fig img { width: auto !important; max-height: 3.6in; margin: 0 auto; }
  .story-hero figcaption, .story-photos figcaption { text-align: left; }
  h2, h3 { break-after: avoid; }
  img { max-width: 100% !important; }
  .story-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-foot { color: #555; }
}

/* ---------- Road Tests and Reviews section (Sep 30, 2026) ----------
   Home: nine section tiles now, so the "Explore the archive" grid runs 3 x 3 from tablet up (same tile style).
   Modern Reviews: ranked YouTube list with lazy 320x180 thumbnails from i.ytimg.com (no iframes); phone = thumb left, text right,
   summary full width under both. */
@media (min-width: 768px) { #start .home-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.yt-rule { background: var(--surface); border-left: 4px solid var(--orange, #FF5A1F); border-radius: 6px; padding: .7rem .9rem; margin: 0 0 1.1rem; }
.yt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.yt-item { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 1rem 1.2rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; scroll-margin-top: 90px; }
.yt-thumb { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #141414; aspect-ratio: 16 / 9; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-rank { position: absolute; left: .45rem; top: .45rem; min-width: 1.9rem; height: 1.9rem; padding: 0 .4rem; display: grid; place-items: center; border-radius: 999px; background: #141414; color: #fff; font-weight: 800; font-size: .95rem; box-shadow: 0 0 0 2px var(--orange, #FF5A1F); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 52px; transform: translate(-50%, -50%); opacity: .9; transition: opacity .15s; }
.yt-thumb:hover .yt-play { opacity: 1; }
.yt-body { min-width: 0; }
.yt-body p { margin: 0; }
.yt-model { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.yt-model a { color: inherit; }
.yt-rank-txt { color: var(--orange-ink, #b43c0f); margin-right: .25rem; }
.yt-title { margin: .25rem 0 .3rem; font-size: 1.05rem; line-height: 1.3; overflow-wrap: anywhere; }
.yt-meta { font-size: .86rem; color: var(--muted); margin-bottom: .45rem !important; }
.yt-meta strong { color: var(--ink); }
.yt-sum { font-size: .93rem; }
.pr-list li { margin-bottom: .55rem; }
.pr-pub { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 768px) and (max-width: 1080px) { .yt-item { grid-template-columns: 220px minmax(0, 1fr); } }
@media (max-width: 767.98px) {
  .yt-item { grid-template-columns: 132px minmax(0, 1fr); gap: .55rem .75rem; padding: .65rem; }
  .yt-body { display: contents; }
  .yt-thumb { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .yt-model, .yt-title { grid-column: 2; }
  .yt-meta { grid-column: 1 / -1; }
  .yt-title { margin: 0; font-size: .95rem; }
  .yt-meta { font-size: .8rem; margin-bottom: 0 !important; }
  .yt-sum { grid-column: 1 / -1; font-size: .9rem; }
  .yt-rank { left: .3rem; top: .3rem; min-width: 1.55rem; height: 1.55rem; font-size: .8rem; }
  .yt-play { width: 36px; }
}
/* Tablet widths: the longer "Road Tests and Reviews" label would push the nav to a second row; tighten it like the 1081 to 1240 band. */
@media (min-width: 768px) and (max-width: 1080px) { .nav-link { padding: 0 .5rem; font-size: .9rem; } .nav .has-sub .nav-link { padding-right: .1rem; } }
@media (max-width: 374.98px) { body[data-section="roadtests"] .app-bar .title { letter-spacing: -.012em; } }
@media (min-width: 768px) { .grid.g2.rr-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Home "Menu" button and site menu sheet (Oct 1, 2026): built by content.home_menu, behavior in assets/js/menu.js ---------- */
.hh-menu-btn { gap: .5rem; }
.hh-menu-ico { width: 18px; height: 18px; flex: none; }
html.menu-open, html.menu-open body { overflow: hidden; }
.site-menu[hidden] { display: none; }
.site-menu { position: fixed; inset: 0; z-index: 150; }
.sm-backdrop { position: absolute; inset: 0; background: rgba(12,12,14,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sm-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(440px, 100%); background: var(--bg); box-shadow: -18px 0 50px rgba(0,0,0,.3); animation: sm-in .2s ease-out; }
@keyframes sm-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sm-panel { animation: none; } }
.sm-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .8rem .7rem 1.1rem; background: var(--dark); color: #fff; border-top: 3px solid var(--orange); padding-top: calc(.7rem + env(safe-area-inset-top, 0px)); }
.sm-bar h2 { margin: 0; font-size: 1.1rem; font-weight: 800; letter-spacing: .02em; }
.sm-close { flex: none; height: 36px; padding: 0 .9rem; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.sm-close:hover { background: rgba(255,255,255,.18); }
.sm-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
.sm-list a, .sm-list .list-btn { min-height: 58px; }
.sm-list a[aria-current="page"] .ico { background: var(--orange); border-color: var(--orange); color: #fff; }
.sm-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sm-label { font-weight: 700; }
.sm-note { font-size: .8rem; font-weight: 400; color: var(--muted); }
.sm-head { margin: 1.4rem 0 .55rem; font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.sm-every { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sm-sec + .sm-sec { border-top: 1px solid var(--line); }
.sm-sec summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: .4rem 1rem; font-weight: 600; cursor: pointer; list-style: none; }
.sm-sec summary::-webkit-details-marker { display: none; }
.sm-sec summary:hover { background: var(--bg); }
.sm-caret { width: 16px; height: 16px; color: var(--muted); transition: transform .15s; }
.sm-caret svg { width: 16px; height: 16px; }
.sm-sec[open] .sm-caret { transform: rotate(180deg); }
.sm-sec ul { list-style: none; margin: 0; padding: 0 0 .5rem; }
.sm-sec li a { display: block; padding: .5rem 1rem .5rem 1.6rem; color: var(--ink); text-decoration: none; font-size: .94rem; }
.sm-sec li a:hover { background: var(--bg); color: var(--orange-ink); }
.site-menu a:focus-visible, .site-menu button:focus-visible, .site-menu summary:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
@media (max-width: 767.98px) {
  .sm-panel { width: 100%; box-shadow: none; }
  .sm-body { padding: .75rem .75rem calc(1rem + env(safe-area-inset-bottom, 0px)); }
}
@media print { .site-menu { display: none !important; } }

/* ===== Known Issues page (tech/known-issues.html) ===== */
.ki-sec { margin-bottom: 1.5rem; }
.ki-num { color: var(--orange-ink, #d9420c); font-weight: 700; font-variant-numeric: tabular-nums; }
.ki-list { display: grid; gap: .9rem; }
.ki-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.ki-card[hidden] { display: none; }
.ki-card > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; padding: .9rem 1rem; }
.ki-card > summary::-webkit-details-marker { display: none; }
.ki-card > summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: var(--radius); }
.ki-card > summary .ki-num { font-size: 1.05rem; min-width: 2.2rem; }
.ki-head { display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: center; min-width: 0; }
.ki-title { margin: 0; font-size: 1.12rem; line-height: 1.3; scroll-margin-top: calc(var(--bar-h) + 1rem); }
.ki-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .03em; border-radius: 999px; padding: .15rem .6rem; color: var(--orange-ink, #d9420c); background: rgba(255, 90, 31, .1); border: 1px solid rgba(255, 90, 31, .35); white-space: nowrap; }
.ki-caret { display: inline-flex; width: 1.25rem; height: 1.25rem; color: var(--muted); transition: transform .15s; }
.ki-caret svg { width: 100%; height: 100%; }
.ki-card[open] > summary .ki-caret { transform: rotate(180deg); }
.ki-body { padding: 0 1rem 1rem; border-top: 1px solid var(--line); }
.ki-sum { font-size: 1.02rem; margin: .9rem 0 1rem; }
.ki-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.ki-part h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: .25rem 0 .4rem; }
.ki-part ul { margin: 0 0 .75rem; padding-left: 1.2rem; }
.ki-part li { margin: 0 0 .35rem; }
.ki-part p { margin: 0 0 .75rem; }
.ki-src-list { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .4rem; }
.ki-src-list li { margin: 0 !important; }
.ki-src-list a { display: inline-block; font-size: .82rem; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .65rem; text-decoration: none; background: var(--bg); }
.ki-src-list a:hover { border-color: var(--ink); }
@media (max-width: 767.98px) {
  .ki-cols { grid-template-columns: 1fr; gap: 0; }
  .ki-card > summary { padding: .8rem .85rem; gap: .6rem; }
  .ki-title { font-size: 1.02rem; }
  .ki-body { padding: 0 .85rem .85rem; }
}

/* Known Issues: keep an anchored card clear of the sticky header (Oct 1, 2026) */
.ki-card { scroll-margin-top: calc(var(--bar-h, 52px) + env(safe-area-inset-top, 0px) + .75rem); }
@media (min-width: 768px) { .ki-card { scroll-margin-top: 90px; } }

/* ---------- Nav priority pass (Oct 1, 2026): 5-tab phone bar, Menu button in the phone app bar, menu on every page ---------- */
.bar-menu { display: none; }
@media (max-width: 767.98px) {
  .tabbar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tabbar a, .tabbar .tab-search { padding: 0 2px; }
  .tabbar a span, .tabbar .tab-search span { letter-spacing: -.005em; }
  .app-bar .bar-menu { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: -.1rem; padding: 0; border: 0; border-radius: 10px; background: none; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .app-bar .bar-menu svg { width: 24px; height: 24px; }
  .app-bar .bar-menu:hover, .app-bar .bar-menu[aria-expanded="true"] { background: rgba(255,255,255,.1); }
  .app-bar .bar-menu:focus-visible, .app-bar .home-mark:focus-visible, .app-bar .back:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
}
@media (max-width: 359.98px) { .tabbar a, .tabbar .tab-search { font-size: .6rem; } }
.sm-sec li a[aria-current="page"] { font-weight: 700; color: var(--orange-ink); }
@media (max-width: 767.98px) {
  .app-bar .title.long { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .92rem; line-height: 1.15; }
}
/* Desktop header with Known Issues as a top-level item: below 1200px the nav takes its own row (same layout as 768 to
   1080px); from 1200px it shares the row with the logo, slightly tighter so all ten items and Search fit. */
@media (min-width: 1081px) and (max-width: 1199.98px) {
  .site-header .inner { flex-wrap: wrap; gap: 0; }
  .site-header .wordmark { min-height: 64px; }
  .main-nav { margin-left: 0; width: 100%; border-top: 1px solid #36373c; }
  body[data-section="home"] .main-nav { border-top: 0; }
  .nav { margin: 0; min-height: 46px; flex-wrap: wrap; }
  .nav > li:nth-last-child(-n+2) .sub { left: auto; right: 0; }
  .nav-link { padding: 0 .5rem; font-size: .9rem; }
  .nav .has-sub .nav-link { padding-right: .1rem; }
  .nav > li.nav-search { margin-left: auto; padding: 4px 0; }
}
@media (min-width: 1200px) {
  .site-header .inner { gap: 1rem; }
  .nav-link { padding: 0 .36rem; font-size: .86rem; }
  .nav .has-sub .nav-link { padding-right: .05rem; }
  .sub-toggle { padding: 0 .35rem 0 .1rem; }
  .nav > li.nav-search { margin-left: .2rem; }
}
@media (max-width: 359.98px) {
  .app-bar .title, .app-bar .title.long { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .84rem; line-height: 1.15; }
  .app-bar .home-mark img { height: 16px; }
}
.nav > li, .sub-toggle, .sub-toggle svg, .search-btn svg { flex-shrink: 0; }

/* Home intro "The Legendary FXR" (Oct 1, 2026): space between the stacked lead paragraphs */
.home-intro .lead + .lead { margin-top: 1rem; }

/* ---------- 6-tab phone bar (Oct 1, 2026): Home, History, Road Tests, FXR Issues, Stories, Search ---------- */
@media (max-width: 767.98px) {
  .tabbar { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tabbar a, .tabbar .tab-search { padding: 0 1px; font-size: .68rem; min-width: 0; }
  .tabbar svg, .tabbar .tab-search svg { width: 23px; height: 23px; }
  .tabbar a span, .tabbar .tab-search span { letter-spacing: -.01em; }
}
@media (max-width: 389.98px) { .tabbar a, .tabbar .tab-search { font-size: .64rem; } }
@media (max-width: 359.98px) { .tabbar a, .tabbar .tab-search { font-size: .58rem; } .tabbar a span, .tabbar .tab-search span { letter-spacing: -.02em; } }

/* ---------- Home hero "Tier List" button + tier list page (Oct 1, 2026) ---------- */
.hh-actions { display: grid; width: fit-content; max-width: 100%; gap: .6rem; }
.hh-actions .hh-btns { width: 100%; }
.hh-tier-btn { position: relative; width: 100%; min-height: 30px; padding: 0 1rem; font-size: .82rem; font-weight: 600; letter-spacing: .04em; border-radius: 8px; border-width: 1.5px; }
.hh-tier-btn::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; bottom: -7px; } /* 44px tap area, no bigger look */
@media (max-width: 767.98px) {
  .hh-actions { width: 100%; gap: .5rem; }
  .hh-tier-btn { min-height: 28px; font-size: .78rem; }
}
.tier-fig { margin: .5rem 0 1rem; max-width: 860px; }
.tier-page .tier-byline { margin: 0 0 1rem; }
.tier-fig a { display: block; border-radius: 10px; overflow: hidden; background: #111113; }
.tier-fig img { display: block; width: 100%; height: auto; }
.tier-fig figcaption { margin-top: .5rem; color: var(--muted); font-size: .85rem; }
@media (max-width: 767.98px) { .tier-fig { margin: 0 -1rem 1rem; max-width: none; } .tier-fig a { border-radius: 0; } .tier-fig figcaption { padding: 0 1rem; } }

/* Opinion/Issues text tiles in the phone home "Stories and features" list: fit the 88 px tile (was clipped to "OPINIO") */
@media (max-width: 767.98px) { .home-reads .spot-art-card .spot-art-code { font-size: 1.02rem; letter-spacing: -.01em; } }
.tier-title-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* 404 page (Oct 2, 2026) */
.nf-actions .btns { margin-top: 0; }
.nf-actions .btn svg { width: 18px; height: 18px; margin-right: .45rem; flex: none; }
.nf-links li { display: block; }
.nf-links li a { font-weight: 600; }
