/* The six-slide deck: a numbered list of slides (a real sequence) beside the open slide. */
.deck { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; }
.slides { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: start; counter-reset: slide; }
.slides button {
  width: 100%; text-align: left; display: flex; gap: 14px; align-items: baseline;
  font: 500 15px/1.35 var(--sans); color: var(--ink-muted); background: none; border: 0; border-radius: var(--r);
  padding: 12px 14px; cursor: pointer; transition: color .2s, background-color .2s, box-shadow .3s var(--ease);
}
.slides button::before { counter-increment: slide; content: counter(slide); font-variant-numeric: tabular-nums; color: var(--ink-subtle); width: 1ch; }
.slides button:hover { color: var(--ink); background: var(--surface); }
.slides button[aria-selected="true"] { color: var(--ink); background: var(--raised); box-shadow: inset 3px 0 0 var(--violet); }

.slide { position: relative; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: clamp(24px, 3.5vw, 44px); min-height: 420px; animation: slide-in .45s var(--ease); }
@keyframes slide-in { from { opacity: 0; transform: translateY(8px); } }
.slide[hidden] { display: none; }
.slide-count { position: absolute; top: clamp(24px, 3.5vw, 44px); right: clamp(24px, 3.5vw, 44px); font-size: 13px; color: var(--ink-subtle); }
.slide h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; max-width: 20em; padding-right: 48px; }
.slide > p { margin-top: 14px; color: var(--ink-muted); max-width: 40em; }
.slide .from { margin-top: 28px; font-size: 13px; color: var(--ink-subtle); }

/* single-series bars: one hue, direct labels, the leader a step lighter */
.bars { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 560px; }
.bars li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 52px; gap: 14px; align-items: center; font-size: 14px; }
.bars .track { height: 10px; }
.bars .fill { display: block; height: 100%; width: var(--w); background: var(--violet); border-radius: 0 4px 4px 0; animation: grow .8s var(--ease) both; }
.bars li:nth-child(2) .fill { animation-delay: .06s; } .bars li:nth-child(3) .fill { animation-delay: .12s; }
.bars li:nth-child(4) .fill { animation-delay: .18s; } .bars li:nth-child(5) .fill { animation-delay: .24s; }
.bars .val { text-align: right; color: var(--ink-muted); }
.bars .top .fill { background: var(--violet-ink); }
@keyframes grow { from { width: 0; } }

.cols { display: flex; align-items: flex-end; gap: 10px; height: 170px; margin-top: 32px; max-width: 520px; border-bottom: 1px solid var(--grid); }
.cols div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; font-size: 12px; color: var(--ink-muted); }
.cols i { display: block; width: 100%; max-width: 44px; height: var(--h); background: var(--violet); border-radius: 4px 4px 0 0; animation: rise .8s var(--ease) both; }
.cols .top i { background: var(--violet-ink); }
@keyframes rise { from { height: 0; } }
.days { display: flex; gap: 10px; max-width: 520px; margin-top: 8px; font-size: 12px; color: var(--ink-subtle); }
.days span { flex: 1; text-align: center; }

.quote { margin: 28px 0 0; padding-left: 20px; border-left: 2px solid var(--violet); font: 400 21px/1.55 var(--serif); max-width: 34em; }
.quote cite { display: block; margin-top: 10px; font: 400 13px/1.4 var(--sans); color: var(--ink-subtle); font-style: normal; }

table.partners { margin-top: 28px; border-collapse: collapse; font-size: 14px; width: 100%; max-width: 560px; }
.partners th { text-align: left; font-weight: 500; color: var(--ink-subtle); padding: 0 0 8px; border-bottom: 1px solid var(--hairline); }
.partners td { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.partners td:first-child { color: var(--violet-ink); }
.partners th:not(:first-child), .partners td:not(:first-child) { text-align: right; }

@media (max-width: 960px) {
  .deck { grid-template-columns: 1fr; }
  .slides { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 640px) {
  .bars li { grid-template-columns: 110px minmax(0, 1fr) 44px; }
}
