/* Forge deck kit — the look (live demo copy, review-comment styles left out). */
:root {
  --page: #E8E8E6; --bg: #FFFFFF; --surface: #F4F4F2; --ink: #141414; --muted: #5C5C5C; --faint: #9B9B9B;
  --line: #E4E4E1; --line-strong: #CFCFCB; --accent: #2F54EB; --on-accent: #FFFFFF; --slot: #A6A6A6;
  --night: #141414; --night-ink: #EDEDEB; --done: #2F7D53; --danger: #C4442F;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, "Arial Hebrew", sans-serif;
  --font-display: var(--font);
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --eyebrow: 17px; --display: 88px; --title: 56px; --lede: 26px; --body: 22px; --small: 17px; --figure: 96px;
  --tracking-tight: -0.025em;
  --pad-top: 96px; --pad-x: 112px; --pad-bottom: 112px; --gap: 56px; --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--page); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow: hidden; }
.viewport { position: fixed; inset: 0 0 52px 0; display: flex; align-items: center; justify-content: center; }
.stage { flex: 0 0 auto; position: relative; transform-origin: center center; background: var(--bg); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 12px 40px rgba(0,0,0,0.08); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 20; }
.progress-fill { display: block; height: 100%; width: 0; background: var(--ink); opacity: 0.35; transition: width 220ms ease; }
.deck { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: none; }
.slide.is-current { display: block; animation: fade 220ms ease both; }
.slide-in { position: absolute; inset: 0; padding: var(--pad-top) var(--pad-x) var(--pad-bottom); display: flex; flex-direction: column; }
.slide-error { margin: auto; font: 500 22px/1.4 var(--font-ui); color: var(--danger); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.eyebrow { margin: 0 0 20px; font-size: var(--eyebrow); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.display, .title { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: var(--tracking-tight); text-wrap: balance; }
.display { font-size: var(--display); line-height: 1.04; }
.title { font-size: var(--title); line-height: 1.1; max-width: 26ch; }
.lede { margin: 24px 0 0; font-size: var(--lede); line-height: 1.45; color: var(--muted); max-width: 52ch; }
.meta { margin: 0; font-size: var(--small); color: var(--muted); }
.source, .caption { margin: auto 0 0; padding-top: 24px; font-size: var(--small); color: var(--faint); }
.item-title { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.item-body { margin: 8px 0 0; font-size: var(--body); line-height: 1.45; color: var(--muted); }
.card-label { margin: 0 0 14px; font-size: var(--small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.role { margin: 4px 0 0; font-size: var(--small); color: var(--muted); }
.display, .title, .lede, .item-title, .item-body, blockquote { white-space: pre-line; }
.hl { font-style: normal; color: var(--accent); }
.slot { color: var(--slot); font-weight: inherit; }
.head { flex: 0 0 auto; }
.head + * { margin-top: var(--gap); }
.head + .source, .head + .caption { margin-top: auto; }
.icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.icon svg { width: 22px; height: 22px; display: block; }
.bullets { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.bullets li { display: flex; align-items: flex-start; gap: 16px; font-size: var(--body); line-height: 1.45; }
.bullets .dot { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 0.62em; border-radius: 50%; background: var(--ink); }
.bullets .icon { width: 36px; height: 36px; border-radius: 8px; }
.bullets .icon svg { width: 18px; height: 18px; }

.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); min-height: 0; }
.frame img, .frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame.is-contain img { object-fit: contain; }
.frame.is-slot { background: transparent; border: 2px dashed var(--line-strong); display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.frame.is-slot span { font-size: var(--body); color: var(--slot); max-width: 28ch; }

.cover { flex: 1; display: grid; grid-template-columns: 1fr 640px; gap: 80px; align-items: center; }
.cover.is-text { grid-template-columns: 1fr; }
.cover-text .meta { margin-top: 48px; }
.cover-vis { height: 100%; max-height: 640px; }
.section { margin: auto 0; }
.section-n { margin: 0 0 28px; font-size: 24px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.statement { margin: auto 0; }
.statement .display { max-width: 22ch; }
.split { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; min-height: 0; }
.split.is-flip .split-text { order: 2; }
.split-vis { height: 100%; }
.split .title { max-width: 18ch; }
.list { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 36px 72px; align-content: start; }
.list-item { display: flex; gap: 24px; align-items: flex-start; padding-top: 28px; border-top: 1px solid var(--line); }
.list-n { flex: 0 0 auto; min-width: 44px; font-size: 22px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; line-height: 1.35; }
.numbers { display: grid; grid-template-columns: repeat(var(--cols), 1fr); margin-block-start: auto; margin-block-end: auto; }
.stat { padding-inline: 40px; border-inline-start: 1px solid var(--line); }
.stat:first-child { padding-inline-start: 0; border-inline-start: 0; }
.figure { margin: 0; font-size: var(--figure); line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-label { margin: 20px 0 0; font-size: 24px; font-weight: 600; }
.stat-note { margin: 6px 0 0; font-size: var(--small); color: var(--muted); line-height: 1.4; }
.table { width: 100%; border-collapse: collapse; font-size: var(--body); }
.table th { text-align: start; font-size: var(--small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); padding: 0 24px 16px 0; border-bottom: 1px solid var(--line-strong); }
.table td { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table td:first-child { font-weight: 600; }
.table tr.is-hl td { color: var(--accent); }
.table tr.is-hl td:first-child { box-shadow: inset 3px 0 0 var(--accent); padding-inline-start: 16px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; flex: 1; min-height: 0; }
.card { background: var(--surface); border-radius: var(--radius); padding: 40px 44px; border: 2px solid transparent; }
.card.is-hl { background: var(--bg); border-color: var(--accent); }
.card.is-hl .card-label { color: var(--accent); }
.card .bullets { margin-top: 28px; }
.timeline { list-style: none; margin-block-start: auto; margin-block-end: auto; margin-inline: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 40px; position: relative; }
.timeline::before { content: ""; position: absolute; inset-inline: 0; top: 9px; height: 2px; background: var(--line); }
.timeline li { position: relative; padding-top: 44px; }
.timeline .tick { position: absolute; top: 0; inset-inline-start: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); }
.timeline li.is-now .tick { background: var(--accent); border-color: var(--accent); }
.when { margin: 0 0 10px; font-size: var(--small); font-weight: 600; color: var(--faint); letter-spacing: 0.04em; text-transform: uppercase; }
.timeline li.is-now .when { color: var(--accent); }
.chart-slide { flex: 1; display: grid; grid-template-columns: 520px 1fr; gap: 88px; min-height: 0; }
.chart-text { display: flex; flex-direction: column; }
.chart-text .title { max-width: 14ch; }
.chart { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 0 20px; height: 100%; min-height: 0; }
.bar { display: grid; grid-template-rows: 1fr auto; min-height: 0; }
.bar-plot { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-height: 0; overflow: hidden; border-bottom: 1px solid var(--line-strong); }
.bar-fill { width: 100%; max-width: 96px; background: var(--line-strong); border-radius: 6px 6px 0 0; }
.bar.is-hl .bar-fill { background: var(--accent); }
.bar-v { font-size: 20px; font-weight: 600; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.bar.is-hl .bar-v { color: var(--accent); }
.bar-l { padding-top: 16px; text-align: center; font-size: var(--small); color: var(--muted); }
.wide-vis { flex: 1; }
.quote { margin: auto 0; max-width: 1180px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 54px; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 120px; line-height: 0.8; color: var(--accent); margin-bottom: 8px; }
.quote figcaption { display: flex; align-items: center; gap: 20px; margin-top: 48px; }
.who { display: block; font-size: 22px; font-weight: 600; }
.quote .role { display: block; }
.logos { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 20px; align-content: start; }
.logo { height: 140px; border-radius: var(--radius); background: var(--surface); display: flex; align-items: center; justify-content: center; padding: 24px; }
.logo span { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--muted); }
.closing { margin: auto 0; }
.contact { display: flex; flex-wrap: wrap; gap: 12px 48px; margin-top: 56px; }
.contact .meta { font-size: 22px; color: var(--ink); }
.foot { position: absolute; inset-inline: var(--pad-x); bottom: 44px; display: flex; justify-content: space-between; font-size: 15px; color: var(--faint); }
.foot-n { font-variant-numeric: tabular-nums; }

.chrome { position: fixed; inset-inline-end: 20px; bottom: 14px; display: flex; align-items: center; gap: 14px; z-index: 10; }
.counter { margin: 0; font: 13px var(--font-ui); color: var(--muted); font-variant-numeric: tabular-nums; }
.counter-sep { opacity: 0.5; }
.nav { display: flex; gap: 6px; }
.navbtn { appearance: none; width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.10); background: #fff; color: var(--ink); font: 14px/1 var(--font-ui); cursor: pointer; }
.navbtn:hover { border-color: rgba(0,0,0,0.24); }
.navbtn:disabled { opacity: 0.35; cursor: default; }
.hints { position: fixed; bottom: 14px; inset-inline-start: 20px; z-index: 10; margin: 0; font: 12px var(--font-ui); color: var(--muted); display: flex; align-items: center; gap: 16px; }
.hints > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hints[hidden] { display: none; }
.keycap { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border: 1px solid rgba(0,0,0,0.12); border-bottom-width: 2px; border-radius: 5px; background: #fff; font: 11px var(--font-ui); color: var(--ink); }
@media (max-width: 640px) { .hints { display: none; } }

.notes { position: fixed; inset: auto 0 0 0; z-index: 40; max-height: 50vh; overflow: auto; background: var(--night); color: var(--night-ink); box-shadow: 0 -16px 40px rgba(0,0,0,0.25); transform: translateY(101%); transition: transform 220ms cubic-bezier(0.2,0.7,0.2,1); padding: 22px 28px 26px; font-family: var(--font-ui); }
.notes.is-open { transform: none; }
.notes-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.notes .notes-title { margin: 0; font-size: 14px; font-weight: 600; color: #fff; }
.notes-time { font-size: 12px; color: var(--night); background: var(--night-ink); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
.notes .notes-total { margin: 0; margin-inline-start: auto; font-size: 12px; color: color-mix(in srgb, var(--night-ink) 55%, transparent); }
.notes p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; max-width: 92ch; }

@page { size: 1600px 900px; margin: 0; }
@media print {
  html, body { height: auto; overflow: visible; background: var(--bg); }
  .viewport { position: static; display: block; }
  .stage { transform: none !important; box-shadow: none; overflow: visible; height: auto !important; }
  .deck { position: static; }
  .slide { display: block !important; position: relative; width: var(--stage-w); height: var(--stage-h); overflow: hidden; break-after: page; animation: none !important; }
  .progress, .chrome, .hints, .notes { display: none !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
