/* The Handover demo. Ridgeline Fabrication. Light only.
   Paper, a deep green ink, one copper signature, and a slate for the quiet parts. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-var-latin.woff2") format("woff2"); font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-var-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #F7F6F2; --surface: #FFFFFF; --tint: #F1EFE8; --tint-2: #E9E5DA;
  --ink: #1C1E1A; --ink-soft: #45453F; --ink-mute: #63635C;
  --rule: #DEDACF; --rule-2: #EAE6DC;
  --copper: #C4922B; --copper-dk: #8A6414; --copper-wash: #F8F1E2; --copper-line: #E4CFA2;
  --bar: #B85C1E;
  --green: #2F7D5B; --green-wash: #E3F0E8; --red: #B4402F; --red-wash: #F6E4E1; --amber: #B7841B; --amber-wash: #F6ECD6;
  --disp: "Archivo", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --r: 14px; --r-sm: 8px; --rail: 16.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
body { font-family: var(--body); font-size: 1rem; line-height: 1.55; color: var(--ink); background: var(--paper); min-height: 100vh; }
a { color: var(--copper-dk); }
h1, h2, h3 { font-family: var(--disp); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; font-variation-settings: "wdth" 110; text-wrap: balance; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 800; }
h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); }
h3 { font-size: 1.05rem; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 3px; }
small { font-size: .85em; }
b { font-weight: 700; }

/* ---------- the demo bar ---------- */
.bar { background: var(--bar); color: #fff; }
.bar__in { max-width: 88rem; margin-inline: auto; padding: .55rem 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.bar__say { flex: 1 1 14rem; font-size: .95rem; }
.bar__btns { display: flex; flex-wrap: wrap; gap: .45rem; }
.bar__btn { border: 1.5px solid rgba(255,255,255,.7); background: transparent; color: #fff; border-radius: 7px; padding: .35rem .75rem; font-weight: 600; font-size: .92rem; cursor: pointer; }
.bar__btn--gold { background: #fff; color: var(--bar); border-color: #fff; }
.bar__btn--plain { border-color: transparent; text-decoration: underline; }
.bar__btn:hover { filter: brightness(.95); }

/* ---------- the frame ---------- */
.app { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: calc(100vh - 3rem); }
.rail { background: var(--surface); border-right: 1px solid var(--rule); padding: 1.25rem 1rem; display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 0; height: 100vh; overflow: auto; }
.plant { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); padding: .25rem .35rem; }
.plant__mark { width: 2.4rem; height: 2.4rem; border-radius: 9px; background: var(--copper); color: #fff; font-family: var(--disp); font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; flex: none; }
.plant__words b { display: block; font-family: var(--disp); font-size: 1rem; line-height: 1.15; letter-spacing: -.01em; }
.plant__words em { display: block; font-style: normal; font-size: .78rem; color: var(--copper-dk); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: .15rem; }
.nav { display: grid; gap: .15rem; }
.nav a { display: flex; align-items: center; gap: .65rem; padding: .6rem .6rem; border-radius: 9px; text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav a small { margin-left: auto; color: var(--ink-mute); font-weight: 500; }
.nav a:hover { background: var(--tint); color: var(--ink); }
.nav a.is-on { background: var(--copper-wash); color: var(--ink); box-shadow: inset 3px 0 0 var(--copper); }
.nav a.is-on small { color: var(--copper-dk); }
.nav__i { width: 1.6rem; height: 1.6rem; border-radius: 6px; background: var(--tint); color: var(--ink); display: grid; place-items: center; font-family: var(--disp); font-weight: 700; font-size: .85rem; flex: none; }
.nav a.is-on .nav__i { background: var(--copper); color: #fff; }
.ready { margin-top: auto; background: var(--tint); border: 1px solid var(--rule-2); border-radius: var(--r); padding: 1rem; }
.ready__k { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.ready__n { font-family: var(--disp); font-size: 1.05rem; margin-top: .25rem; }
.ready__n b { font-size: 1.6rem; letter-spacing: -.02em; }
.ready__bar { height: .5rem; border-radius: 99px; background: var(--rule-2); margin: .6rem 0; overflow: hidden; }
.ready__bar span { display: block; height: 100%; width: 94%; background: var(--green); border-radius: 99px; transition: width .6s ease; }
.ready__s { font-size: .85rem; color: var(--ink-soft); line-height: 1.45; }
.ready__link { display: inline-block; margin-top: .5rem; font-weight: 700; font-size: .85rem; }
.powered { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink-soft); font-size: .85rem; padding: .25rem .35rem; }
.powered__mark { width: 1.4rem; height: 1.4rem; border-radius: 5px; background: var(--copper); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.powered b { color: var(--ink); }

.main { padding: 1.25rem clamp(1rem, 3vw, 2.5rem) 2rem; min-width: 0; }
.top { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; font-size: .9rem; color: var(--ink-soft); padding-bottom: .9rem; border-bottom: 1px solid var(--rule); }
.top b { color: var(--ink); }
.top__sum { font-family: var(--disp); font-size: 1rem; color: var(--ink); }
.top__sum b { font-size: 1.25rem; }
.view { padding-top: 1.5rem; }
.want { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: .95rem; }
.want a { font-weight: 700; }

/* ---------- pieces ---------- */
.eye { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-dk); margin-bottom: .45rem; }
.lede { color: var(--ink-soft); max-width: 60ch; margin-top: .5rem; }
.grid { display: grid; gap: .9rem; margin-top: 1.25rem; }
@media (min-width: 46rem) { .grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 62rem) { .grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.tile { display: block; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--rule-2); border-radius: var(--r); padding: 1rem 1.1rem; transition: border-color .2s, transform .2s; }
a.tile:hover { border-color: var(--copper); transform: translateY(-2px); }
.tile__k { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.tile h3 { margin-top: .3rem; }
.tile p { color: var(--ink-soft); font-size: .92rem; margin-top: .4rem; }
.tile__foot { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; align-items: center; font-size: .82rem; color: var(--ink-mute); }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 99px; padding: .22rem .6rem; border: 1px solid; }
.chip--ok { color: var(--green); border-color: #BFDCCB; background: var(--green-wash); }
.chip--wait { color: var(--amber); border-color: #E7D3A6; background: var(--amber-wash); }
.chip--bad { color: var(--red); border-color: #E7C2BC; background: var(--red-wash); }
.chip--film { color: var(--ink); border-color: var(--rule); background: var(--tint); }
.chip--dept { color: var(--ink-soft); border-color: var(--rule-2); background: var(--surface); }
.back { display: inline-block; margin-bottom: 1rem; font-weight: 700; text-decoration: none; font-size: .92rem; }
.back::before { content: "\2190  "; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.75rem; padding: .7rem 1.35rem; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-size: .98rem; }
.btn--gold { background: var(--copper); color: var(--ink); }
.btn--gold:hover { background: #D19F35; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--plain { background: var(--surface); border-color: var(--rule); color: var(--ink); }
.btn--big { min-height: 3.3rem; font-size: 1.1rem; padding: .9rem 1.8rem; }
.note { margin-top: 1rem; font-size: .9rem; color: var(--ink-mute); }

/* ---------- ask it ---------- */
.ask { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.25rem; box-shadow: 0 12px 30px -20px rgba(27,42,36,.35); }
.ask h1 { max-width: 22ch; }
.ask__row { display: flex; gap: .6rem; margin-top: 1rem; }
.ask__in { flex: 1; min-width: 0; border: 1.5px solid var(--rule); border-radius: 10px; padding: .85rem 1rem; font-size: 1.05rem; background: var(--paper); }
.ask__in:focus { border-color: var(--copper); outline: 0; background: #fff; }
.ask__go { flex: none; }
.ask__sug { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.ask__sug button { border: 1px solid var(--rule); background: var(--paper); border-radius: 99px; padding: .4rem .8rem; font-size: .88rem; cursor: pointer; color: var(--ink-soft); }
.ask__sug button:hover { border-color: var(--copper); color: var(--ink); }
.ans { margin-top: 1.25rem; border-left: 4px solid var(--copper); background: var(--copper-wash); border: 1px solid var(--copper-line); border-left-width: 4px; border-radius: var(--r-sm); padding: 1rem 1.2rem; animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ans__k { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-dk); }
.ans h2 { margin-top: .3rem; }
.ans__a { margin-top: .6rem; }
.ans__a ol { list-style: decimal; padding-left: 1.3rem; display: grid; gap: .35rem; margin-top: .4rem; }
.ans__meta { display: flex; flex-wrap: wrap; gap: .9rem 1.75rem; margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--copper-line); }
.ans__meta dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.ans__meta dd { font-weight: 600; margin-top: .1rem; }
.ans__more { margin-top: .9rem; font-size: .9rem; }
.ans--none { background: var(--tint); border-color: var(--rule); border-left-color: var(--ink-mute); }
.changes { margin-top: 1.5rem; }
.changes li { display: grid; grid-template-columns: 3rem 1fr; gap: .75rem; padding: .6rem 0; border-top: 1px solid var(--rule-2); font-size: .92rem; }
.changes li b { color: var(--ink-mute); font-weight: 600; }

/* ---------- procedure ---------- */
.doc { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.doc__head { padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--rule-2); background: var(--tint); }
.doc__head .eye { margin-bottom: .3rem; }
.doc__body { padding: 1.25rem 1.4rem; display: grid; gap: 1.25rem; }
@media (min-width: 58rem) { .doc__body { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.steps { counter-reset: s; display: grid; gap: .55rem; }
.steps li { counter-increment: s; position: relative; padding: .7rem .9rem .7rem 3rem; background: var(--paper); border: 1px solid var(--rule-2); border-radius: var(--r-sm); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: .9rem; top: .75rem; font-family: var(--disp); font-weight: 700; color: var(--copper-dk); font-size: .9rem; }
.when { background: var(--amber-wash); border: 1px solid #E7D3A6; border-radius: var(--r-sm); padding: .9rem 1rem; }
.when .eye { color: var(--amber); }
.signoff { border: 1px solid var(--rule-2); border-radius: var(--r-sm); padding: .9rem 1rem; display: grid; gap: .6rem; }
.signoff dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.signoff dd { font-weight: 600; }
.signoff--wait { border-color: #E7D3A6; background: var(--amber-wash); }
.film { display: flex; align-items: center; gap: .8rem; background: var(--copper-wash); border: 1px solid var(--copper-line); color: var(--ink); border-radius: var(--r-sm); padding: .8rem 1rem; }
.film__play { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--copper); color: #fff; display: grid; place-items: center; flex: none; font-size: .8rem; }
.film small { color: var(--ink-soft); display: block; }
.filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.filter a { text-decoration: none; border: 1px solid var(--rule); border-radius: 99px; padding: .35rem .75rem; font-size: .85rem; color: var(--ink-soft); background: var(--surface); }
.filter a.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- roles ---------- */
.role { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.4rem; }
.role__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
.role__cols { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 58rem) { .role__cols { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.role__col { border-top: 3px solid var(--copper); padding-top: .8rem; }
.role__col h3 { font-size: .95rem; }
.role__col ul { display: grid; gap: .5rem; margin-top: .6rem; }
.role__col li { position: relative; padding-left: 1.1rem; font-size: .92rem; color: var(--ink-soft); }
.role__col li::before { content: ""; position: absolute; left: 0; top: .55em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--copper); }
.leaving { display: inline-block; margin-top: .3rem; }

/* ---------- machines ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; margin-top: 1.25rem; font-size: .92rem; }
.table th, .table td { text-align: left; padding: .7rem .8rem; border-top: 1px solid var(--rule-2); vertical-align: top; }
.table th { background: var(--tint); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); border-top: 0; }
.table tr.is-bad td:first-child { box-shadow: inset 4px 0 0 var(--red); }
.table tr.is-due td:first-child { box-shadow: inset 4px 0 0 var(--amber); }
.table__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mach { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.25rem 1.4rem; }
.plate { display: grid; gap: .8rem; margin-top: 1rem; }
@media (min-width: 46rem) { .plate { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.plate div { background: var(--paper); border: 1px solid var(--rule-2); border-radius: var(--r-sm); padding: .7rem .9rem; }
.plate dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.plate dd { font-weight: 600; margin-top: .15rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; }
.plate dd.plain { font-family: var(--body); }

/* ---------- safety ---------- */
.safe { display: grid; gap: .75rem; margin-top: 1.25rem; }
.safe li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; background: var(--surface); border: 1px solid var(--rule-2); border-radius: var(--r-sm); padding: .9rem 1rem; }
.safe__dot { width: .9rem; height: .9rem; border-radius: 50%; margin-top: .35rem; }
.safe__dot--ok { background: var(--green); } .safe__dot--behind { background: var(--red); } .safe__dot--none { background: var(--ink-mute); }
.safe h3 { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.safe p { color: var(--ink-soft); font-size: .92rem; margin-top: .3rem; }
.safe small { color: var(--ink-mute); display: block; margin-top: .3rem; }

/* ---------- suppliers ---------- */
.sup { display: block; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--rule-2); border-radius: var(--r-sm); padding: .9rem 1rem; }
.sup--flag { border-color: #E7C2BC; background: var(--red-wash); }
.sup__row { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin-top: .4rem; font-size: .88rem; color: var(--ink-soft); }
.sup__row b { color: var(--ink); font-weight: 600; }
.sup__flag { margin-top: .5rem; color: var(--red); font-weight: 700; font-size: .9rem; }

/* ---------- a day ---------- */
.day { position: relative; margin-top: 1.5rem; padding-left: 5.5rem; }
.day::before { content: ""; position: absolute; left: 4.5rem; top: .4rem; bottom: .4rem; width: 2px; background: var(--rule); }
.day li { position: relative; padding: .5rem 0 .9rem; }
.day__t { position: absolute; left: -5.5rem; width: 4rem; text-align: right; font-family: var(--disp); font-weight: 700; color: var(--ink); }
.day li::before { content: ""; position: absolute; left: -1.28rem; top: .95rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--copper); border: 2px solid var(--paper); }
.day__who { font-weight: 700; }
.day p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- overlays ---------- */
.veil { position: fixed; inset: 0; z-index: 50; background: rgba(28,30,26,.55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 1rem; overflow: auto; }
.veil[hidden] { display: none; }
.card { position: relative; background: var(--surface); border-radius: var(--r); padding: 1.5rem 1.6rem 1.4rem; max-width: 40rem; width: 100%; max-height: calc(100vh - 2rem); overflow: auto; box-shadow: 0 30px 60px -20px rgba(28,30,26,.5); }
.card--welcome { max-width: 44rem; }
.card h1 { margin-top: .4rem; }
.card h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-dk); margin-top: 1.1rem; font-family: var(--body); }
.card p { margin-top: .5rem; color: var(--ink-soft); }
.card p b { color: var(--ink); }
.card blockquote { margin-top: .5rem; padding: .7rem 1rem; border-left: 4px solid var(--copper); background: var(--copper-wash); border-radius: var(--r-sm); font-style: italic; }
.card__eye { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-dk); display: flex; align-items: center; gap: .5rem; }
.card__mark { width: 1.3rem; height: 1.3rem; border-radius: 5px; background: var(--copper); color: #fff; display: grid; place-items: center; font-size: .75rem; }
.card__x { position: absolute; right: .9rem; top: .8rem; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink-mute); }
.card__btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.card__skip { margin-top: .9rem; border: 0; background: transparent; text-decoration: underline; color: var(--ink-mute); cursor: pointer; padding: 0; }
.card--end { text-align: center; }
.card--end .card__eye, .card--end .card__btns { justify-content: center; }
.card__small { margin-top: 1rem; display: flex; justify-content: center; gap: 1.25rem; font-size: .9rem; }
.card__small button { border: 0; background: transparent; text-decoration: underline; color: var(--ink-mute); cursor: pointer; }

.tour { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; max-width: 22rem; width: calc(100% - 2rem); }
.tour[hidden] { display: none; }
.tour__card { background: var(--surface); color: var(--ink); border: 2px solid var(--copper); border-radius: var(--r); padding: 1.1rem 1.2rem; box-shadow: 0 24px 50px -18px rgba(28,30,26,.45); }
.tour__step { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-dk); font-weight: 700; }
.tour__card h2 { margin-top: .35rem; font-size: 1.15rem; }
.tour__card p { margin-top: .45rem; color: var(--ink-soft); font-size: .95rem; }
.tour__btns { display: flex; gap: .5rem; margin-top: .9rem; align-items: center; }
.tour__btns .btn--plain { background: var(--paper); color: var(--ink); border-color: var(--rule); }
.tour__x { margin-left: auto; border: 0; background: transparent; color: var(--ink-mute); font-size: 1.4rem; cursor: pointer; }
.is-lit { outline: 3px solid var(--copper); outline-offset: 4px; border-radius: 10px; }

/* ---------- phones ---------- */
@media (max-width: 57.99rem) {
  .app { grid-template-columns: 1fr; }
  .rail { position: static; height: auto; padding: .9rem 1rem; gap: .9rem; border-right: 0; border-bottom: 1px solid var(--rule); }
  .nav { display: flex; overflow-x: auto; gap: .35rem; padding-bottom: .25rem; -webkit-overflow-scrolling: touch; }
  .nav a { flex: none; padding: .5rem .7rem; font-size: .9rem; }
  .nav a small { margin-left: .3rem; }
  .nav__i { display: none; }
  .nav__h { flex: none; white-space: nowrap; margin: 0 .2rem 0 .6rem; align-self: center; padding-left: .6rem; border-left: 1px solid var(--rule); }
  .ready { display: none; }
  .ready__n b { font-size: 1.3rem; }
  .powered { display: none; }
  .main { padding: 1rem 1rem 2rem; }
  .top { font-size: .85rem; }
  .ask__row { flex-direction: column; }
  .day { padding-left: 4.4rem; } .day::before { left: 3.5rem; } .day__t { left: -4.4rem; width: 3.1rem; font-size: .9rem; }
  .card { padding: 1.25rem 1.1rem 1.2rem; }
  .tour { right: .6rem; bottom: .6rem; left: .6rem; width: auto; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .ans, a.tile { animation: none; transition: none; } }

/* the welcome: what was missing, what we did, the wins */
.miss { display: grid; gap: .35rem; margin-top: .5rem; }
.miss li { position: relative; padding-left: 1.25rem; color: var(--ink-soft); }
.miss li::before { content: ""; position: absolute; left: .1rem; top: .55em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); }
.did { display: grid; gap: .55rem; margin-top: .5rem; counter-reset: d; }
.did li { counter-increment: d; position: relative; padding: .6rem .8rem .6rem 2.6rem; background: var(--paper); border: 1px solid var(--rule-2); border-radius: var(--r-sm); color: var(--ink-soft); font-size: .95rem; }
.did li::before { content: counter(d); position: absolute; left: .75rem; top: .55rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--copper); color: #fff; font-family: var(--disp); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.did li b { color: var(--ink); }
.wins { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .5rem; margin-top: .6rem; }
.wins div { background: var(--copper-wash); border: 1px solid var(--copper-line); border-radius: var(--r-sm); padding: .6rem .5rem; text-align: center; }
.wins b { display: block; font-family: var(--disp); font-size: 1.5rem; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.wins span { display: block; font-size: .72rem; color: var(--ink-soft); margin-top: .3rem; line-height: 1.3; }
.wins--end { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 1rem; }
.card--end h1 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
@media (max-width: 40rem) { .wins { grid-template-columns: repeat(2, minmax(0,1fr)); } .wins--end { grid-template-columns: 1fr 1fr 1fr; } }
