/* /r/<code> — one ride (pnj plan 117 lane W, 2026-09-26). The site's own look:
   cream on black, the chrome headline, the site's buttons. No new colour and no
   new font — the typeface, the mark and the finish are Red's. */

.ride-main {
  max-width: 720px; margin: 0 auto; padding: 96px 16px 64px;
  min-height: 100vh; box-sizing: border-box;
}
.ride-status { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(242,237,230,.5); }
.ride-status[hidden], .ride-main [hidden] { display: none; }

.ride-kicker { margin: 0 0 8px; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(242,237,230,.5); }
.ride-title {
  margin: 0; font-size: clamp(2rem, 8vw, 3.2rem); font-weight: 800; font-stretch: condensed;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1.02; overflow-wrap: anywhere;
}
.ride-lead { margin: 14px 0 0; font-size: .95rem; line-height: 1.55; letter-spacing: .04em; color: rgba(242,237,230,.8); max-width: 46ch; }
.ride-tag { margin: 8px 0 0; font-size: 1rem; letter-spacing: .08em; color: #f2ede6; }
.ride-line { margin: 4px 0 0; font-size: .82rem; letter-spacing: .06em; color: rgba(242,237,230,.65); }
.ride-owner { margin: 10px 0 0; font-size: .7rem; letter-spacing: .16em; color: rgba(242,237,230,.5); }

.ride-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ride-btn { display: inline-block; text-decoration: none; text-align: center; }
.ride-fine { margin: 12px 0 0; font-size: .68rem; line-height: 1.5; letter-spacing: .05em; color: rgba(242,237,230,.45); }
.ride-fine a { color: rgba(242,237,230,.75); }

/* the photos: one big, the rest as thumbs */
.ride-gallery { margin: 0 0 22px; }
.ride-hero { aspect-ratio: 4 / 3; background: #14110f; overflow: hidden; }
.ride-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ride-thumbs { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; }
.ride-thumbs:empty { display: none; }
.ride-thumb { flex: none; width: 64px; height: 48px; padding: 0; border: 1px solid transparent; background: #14110f; cursor: pointer; opacity: .6; }
.ride-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ride-thumb.is-on { opacity: 1; border-color: #f2ede6; }

/* the revs + the VIN mark */
.ride-stats {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 22px; padding: 16px 0;
  border-top: 1px solid rgba(242,237,230,.08); border-bottom: 1px solid rgba(242,237,230,.08);
}
.ride-revs { display: flex; align-items: baseline; gap: 8px; }
.ride-revs-n { font-size: 2rem; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.ride-revs-w { font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(242,237,230,.55); }
.ride-vin {
  font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: #f2ede6;
  border: 1px solid rgba(242,237,230,.45); padding: 7px 10px;
}
.ride-vin::before { content: "\2713\00a0\00a0"; }

.ride-desc { margin: 18px 0 0; font-size: .9rem; line-height: 1.6; color: rgba(242,237,230,.82); white-space: pre-line; overflow-wrap: anywhere; }

/* the mods, grouped by category (ruling 111) */
.ride-mods { margin-top: 28px; }
.ride-h2 { margin: 0 0 6px; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(242,237,230,.55); font-weight: 700; }
.ride-mod-group { padding: 12px 0; border-bottom: 1px solid rgba(242,237,230,.06); }
.ride-mod-cat { margin: 0 0 8px; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(242,237,230,.45); font-weight: 700; }
.ride-mod-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ride-mod-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ride-mod-name { font-size: .92rem; letter-spacing: .03em; overflow-wrap: anywhere; }
.ride-mod-brand { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(242,237,230,.5); }
.ride-mod-note { margin: 3px 0 0; font-size: .78rem; line-height: 1.5; color: rgba(242,237,230,.65); overflow-wrap: anywhere; }
