/* Let's Roll Forums. One stylesheet, platform fonts only, no scripts. */
:root {
  --sodium: #e6b85e;
  --night: #14202e;
  --tar: #3a2f1a;
  --rule: rgba(20, 32, 46, .28);
  --sign: #1f5b3f;
  --sign-ink: #f4f1e6;
  --road: "DIN Condensed", "DIN Alternate", "Bahnschrift Condensed", "Bahnschrift", "Arial Narrow", sans-serif;
  --text: Optima, Candara, "Segoe UI", "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--sodium); color: var(--night); }
body { margin: 0; font: 1.075rem/1.62 var(--text); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, .plate { font-family: var(--road); font-weight: 700; letter-spacing: .01em; line-height: 1.02; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- front: the desk on the left, the windshield on the right ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) 14px minmax(0, 7fr); min-height: 100vh; }
.desk { padding: 2.2rem clamp(1.2rem, 3.5vw, 3.4rem) 3rem; }
.desk .plate { display: block; font-size: clamp(3.4rem, 7.4vw, 7.2rem); text-decoration: none; margin: 0 0 .5rem; }
.desk .plate span { display: block; }
.desk .line { font-size: 1.15rem; max-width: 26rem; margin: 0 0 1.4rem; color: var(--tar); }
.desk nav a { font-family: var(--road); font-size: 1.3rem; margin-right: 1.3rem; }
.topics { list-style: none; margin: 2.6rem 0 0; padding: 0; border-top: 2px solid var(--night); }
.topics li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 0 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); }
.mm { grid-row: span 2; align-self: start; background: var(--sign); color: var(--sign-ink); border: 2px solid var(--sign-ink);
      outline: 2px solid var(--sign); font: 700 .78rem/1.05 var(--road); text-align: center; padding: .3rem 0 .25rem; }
.mm b { display: block; font-size: 1.35rem; }
.topics h2 { font-size: 1.75rem; margin: 0 0 .25rem; }
.topics h2 a { text-decoration: none; }
.topics h2 a:hover { text-decoration: underline; }
.topics p { margin: 0; color: var(--tar); }

.lane { background: var(--night); position: relative; }
.lane::before { content: ""; position: absolute; left: 5px; width: 4px; top: 0; bottom: 0;
  background: repeating-linear-gradient(to bottom, var(--sodium) 0 42px, transparent 42px 96px); }

.window { position: sticky; top: 0; align-self: start; height: 100vh; overflow: hidden; background: var(--night); }
.window video, .window .end { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.window .end { display: none; }
.odo { position: absolute; right: 1.2rem; bottom: 1.2rem; background: rgba(20, 32, 46, .82); color: var(--sodium);
       font: 700 1.05rem/1 var(--road); padding: .45rem .6rem .35rem; letter-spacing: .08em; }
.odo::before { content: "0412"; }

/* ---------- inner pages ---------- */
.cab { background: var(--night); color: var(--sodium); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
       gap: .4rem 1.5rem; padding: 1rem clamp(1rem, 4vw, 3rem); border-bottom: 6px dashed var(--sodium); }
.cab .plate { font-size: 2.3rem; text-decoration: none; }
.cab nav a { font-family: var(--road); font-size: 1.2rem; margin-left: 1.2rem; }
.page { max-width: 41rem; margin: 0 auto; padding: 2.4rem 1.2rem 3.5rem; }
.page h1 { font-size: clamp(2.6rem, 6vw, 3.9rem); margin: 0 0 .7rem; }
.page .deck { font-size: 1.25rem; line-height: 1.45; color: var(--tar); margin: 0 0 2rem; }
.page h2 { font-size: 1.85rem; margin: 2.3rem 0 .5rem; }
.page ul, .page ol { padding-left: 1.3rem; }
.page li { margin: .35rem 0; }
.page li::marker { font-family: var(--road); font-weight: 700; }
.over { max-width: 72rem; margin: 0 auto; }
.over img { width: 100%; }
.plate-shot { margin: 0 0 2rem; }
.plate-shot img { border: 3px solid var(--night); }
.plate-shot figcaption { font-size: .95rem; color: var(--tar); padding-top: .5rem; border-bottom: 1px solid var(--rule); padding-bottom: .6rem; }
.inset { margin: 2rem 0; }
.all { list-style: none; padding: 0; margin: 0; }
.all li { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.all a { font: 700 1.6rem/1.1 var(--road); }
.all span { display: block; color: var(--tar); margin-top: .2rem; }
.tail { background: var(--night); color: var(--sodium); padding: 1.4rem clamp(1rem, 4vw, 3rem); font-family: var(--road); font-size: 1.15rem; }
.tail a { text-decoration: none; }

/* ---------- phones ---------- */
@media (max-width: 52rem) {
  .split { display: flex; flex-direction: column; }
  .window { order: -1; position: relative; height: auto; aspect-ratio: 4 / 5; max-height: 78vh; }
  .lane { height: 14px; order: 0; }
  .lane::before { left: 0; right: 0; top: 5px; bottom: auto; height: 4px; width: auto;
    background: repeating-linear-gradient(to right, var(--sodium) 0 42px, transparent 42px 96px); }
  .desk .plate span { display: inline; }
  .cab nav a { margin: 0 1.1rem 0 0; }
}

/* ---------- motion: only the lane line, the odometer and the film move; text never does ---------- */
@media (prefers-reduced-motion: reduce) {
  .window video { display: none; }
  .window .end { display: block; }
}
@supports (animation-timeline: scroll()) {
  @property --mile { syntax: "<integer>"; inherits: false; initial-value: 412; }
  @media (prefers-reduced-motion: no-preference) {
    .lane::before { animation: dashes linear both; animation-timeline: scroll(root block); }
    .odo { animation: miles linear both; animation-timeline: scroll(root block); counter-reset: mile var(--mile); }
    .odo::before { content: "0" counter(mile); }
    @media (max-width: 52rem) { .lane::before { animation-name: dashes-x; } }
  }
}
@keyframes dashes { from { background-position: 0 0; } to { background-position: 0 1440px; } }
@keyframes dashes-x { from { background-position: 0 0; } to { background-position: -960px 0; } }
@keyframes miles { from { --mile: 412; } to { --mile: 571; } }
