/* BlackCopper Journal, post 23 only - "The part that wears out."
   The maintenance piece, and deliberately the quietest page in the Journal: a near-white sheet,
   type first and picture second, because this is the one post people read standing at a counter
   with the lid open. A measuring-tape rule stands in for the kilometre rating, and the two panes
   are set as plain columns rather than cards so the lists read as one comparison.
   Everything is namespaced under .jr23.

   Contrast on paper #f7f6f4: ink #17161a (15.9:1), muted #55515a (8.1:1),
   crimson #9c0030 on paper (9.4:1) and on the tint #fbeef1 (8.8:1),
   green #1a5c3a on the tint #eef6f1 (7.6:1).
   The tape rule is decorative and aria-hidden; the caption under it says the same thing. */

.jr23{
  --bg:#f7f6f4; --card:#fffefc; --tintB:#fbeef1; --tintG:#eef6f1;
  --rule:#e0ddd7; --rule2:#c6c1b8;
  --ink:#17161a; --tx2:#55515a; --cr:#9c0030; --cr2:#6e0021; --gn:#1a5c3a;
  position:relative;
  background:var(--bg); color:var(--ink);
  margin-inline:calc(50% - 50vw); width:100vw; max-width:100vw;
  overflow-x:clip;
  font-size:17.5px; line-height:1.78;
  -webkit-font-smoothing:antialiased;
}
.jr23 *{box-sizing:border-box}

/* ---------------------------------------------------------------- hero: words first */
.jr23-hero{padding:76px 24px 0}
.jr23-hero__text{max-width:1060px;margin:0 auto 42px}
.jr23-kicker{margin:0 0 20px;font-size:11.5px;font-weight:800;letter-spacing:3.4px;text-transform:uppercase;color:var(--cr)}
.jr23-title{margin:0 0 20px;font-size:clamp(40px,6.6vw,82px);line-height:1.04;font-weight:800;letter-spacing:-.036em;color:var(--ink)}
.jr23-dek{margin:0 0 20px;max-width:620px;font-size:clamp(18px,2.1vw,23px);line-height:1.5;color:var(--tx2)}
.jr23-meta{display:flex;flex-wrap:wrap;gap:10px;margin:0;font-size:13.5px;color:var(--tx2)}
.jr23-hero__img{display:block;max-width:1060px;margin:0 auto}
.jr23-hero__img img{display:block;width:100%;height:auto;border:1px solid var(--rule)}

/* ---------------------------------------------------------------- body */
.jr23-body{padding:0 24px 96px}
.jr23-col{max-width:676px;margin:0 auto}
.jr23-col--wide{max-width:1060px}
.jr23-body p{margin:0 0 20px;color:var(--tx2);font-size:inherit}
p.jr23-lede{margin-top:62px!important;font-size:20.5px;line-height:1.64;color:var(--ink)}
.jr23-body b{color:var(--ink);font-weight:800}
.jr23-body i{color:var(--cr2);font-style:italic}
.jr23-body a{color:var(--cr2);text-decoration:underline;text-underline-offset:3px;font-weight:600}
.jr23-body a:hover{color:var(--ink)}

.jr23-sec{margin:0 0 82px}
.jr23 h2{margin:58px 0 18px;font-size:13px;font-weight:800;letter-spacing:3.2px;text-transform:uppercase;
  color:var(--cr);padding:0 0 12px;border-bottom:1px solid var(--rule2)}
.jr23 h3{margin:0 0 8px;font-size:20px;font-weight:800;letter-spacing:-.018em;color:var(--ink)}

/* ---------------------------------------------------------------- the tape */
.jr23-tape{margin:32px 0 10px}
.jr23-tape svg{display:block;width:100%;height:86px}
.jr23-tape__r{stroke:var(--rule2);stroke-width:1}
.jr23-tape__t{stroke:var(--rule2);stroke-width:1}
.jr23-tape__t--big{stroke:var(--cr);stroke-width:2}
.jr23-tape__fill{fill:var(--cr);opacity:.16}
.jr23--anim .jr23-tape__fill{animation:jr23fill 5s cubic-bezier(.22,.61,.36,1) 1 both}
@keyframes jr23fill{from{transform:scaleX(0);transform-origin:left}to{transform:scaleX(1);transform-origin:left}}
p.jr23-tape__cap{margin:0!important;font-size:14.5px;color:var(--tx2)}

/* ---------------------------------------------------------------- the two panes */
.jr23-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(304px,1fr));gap:1px;margin:30px 0 0;background:var(--rule)}
.jr23-pane{padding:30px 30px;background:var(--card)}
.jr23-pane--bad{background:var(--tintB)}
.jr23-pane--good{background:var(--tintG)}
p.jr23-pane__t{margin:0 0 18px!important;font-size:12.5px;font-weight:800;letter-spacing:2.4px;text-transform:uppercase}
.jr23-pane--bad .jr23-pane__t{color:var(--cr)}
.jr23-pane--good .jr23-pane__t{color:var(--gn)}
.jr23-pane__l{margin:0;padding:0;list-style:none}
.jr23-pane__l li{position:relative;margin:0 0 15px;padding:0 0 0 20px;font-size:16px;line-height:1.66;color:var(--tx2)}
.jr23-pane__l li::before{content:"";position:absolute;left:0;top:11px;width:10px;height:2px}
.jr23-pane--bad .jr23-pane__l li::before{background:var(--cr)}
.jr23-pane--good .jr23-pane__l li::before{background:var(--gn)}
.jr23--anim .jr23-pane.reveal{transform:translateY(16px)}
.jr23--anim .jr23-pane.reveal.is-in{transform:none;transition:transform .26s ease}
.jr23-two .jr23-pane:nth-child(2).is-in{transition-delay:.02s}

/* ---------------------------------------------------------------- steps */
.jr23-steps{margin:24px 0 20px;padding:0 0 0 22px}
.jr23-steps li{margin:0 0 12px;color:var(--tx2)}
.jr23-steps li::marker{color:var(--cr);font-weight:800}
p.jr23-note{font-size:15px;color:var(--tx2);font-style:italic}

/* ---------------------------------------------------------------- quote */
.jr23-quote{max-width:860px;margin:0 auto 80px;padding:0 0 0 26px;border-left:3px solid var(--cr)}
.jr23-quote p{margin:0;font-size:clamp(20px,2.6vw,30px);line-height:1.3;font-weight:800;letter-spacing:-.024em;color:var(--ink)}

/* ---------------------------------------------------------------- symptom cards */
.jr23-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:28px 0 24px}
.jr23-card{padding:24px 22px;background:var(--card);border-top:2px solid var(--cr)}
.jr23-card p{margin:0;font-size:15.5px;line-height:1.64;color:var(--tx2)}
.jr23--anim .jr23-card.reveal{transform:translateY(16px)}
.jr23--anim .jr23-card.reveal.is-in{transform:none;transition:transform .26s ease}
.jr23-cards .jr23-card:nth-child(2).is-in{transition-delay:.02s}
.jr23-cards .jr23-card:nth-child(3).is-in{transition-delay:.04s}

/* ---------------------------------------------------------------- table */
.jr23-tbl{width:100%;margin:28px 0 0;border-collapse:collapse;font-size:15.5px;background:var(--card)}
.jr23-tbl__cap{text-align:left;padding:0 0 12px;font-size:13px;color:var(--tx2)}
.jr23-tbl thead th{padding:12px 16px;text-align:left;font-size:11.5px;font-weight:800;letter-spacing:2px;
  text-transform:uppercase;color:var(--cr2);background:#f0ebe4;border-bottom:1px solid var(--rule2)}
.jr23-tbl tbody th{padding:11px 16px;text-align:left;font-weight:800;color:var(--ink);
  border-bottom:1px solid var(--rule);white-space:nowrap}
.jr23-tbl td{padding:11px 16px;border-bottom:1px solid var(--rule);color:var(--tx2)}
.jr23-tbl__n{font-variant-numeric:tabular-nums;white-space:nowrap}
.jr23-tbl tr:hover th,.jr23-tbl tr:hover td{background:#fbf7f1}

/* ---------------------------------------------------------------- end */
.jr23-sec--end{margin:0;padding:48px 0 0;border-top:1px solid var(--rule2)}
p.jr23-help{display:flex;flex-wrap:wrap;gap:20px;margin:28px 0 0!important}
.jr23-help a{color:var(--cr2);text-decoration:underline;text-underline-offset:4px;font-weight:700;font-size:15.5px}
.jr23-help a:hover{color:var(--ink)}

@media (max-width:700px){
  .jr23{font-size:16.5px}
  .jr23-hero{padding:52px 20px 0}
  .jr23-body{padding:0 20px 76px}
  .jr23-tape svg{height:60px}
  .jr23-pane{padding:24px 20px}
  .jr23-tbl{font-size:14.5px}
  .jr23-tbl thead th,.jr23-tbl tbody th,.jr23-tbl td{padding:10px 10px}
}

@media (prefers-reduced-motion:reduce){
  .jr23--anim .reveal,.jr23--anim .reveal.is-in{transform:none;transition:none}
  .jr23--anim .jr23-tape__fill{animation:none}
}
