/* ============ Exit Playbook reader · light editorial theme ============ */
.reader {
  --p-bg: #f6f3ed; --p-card: #fffdf9; --p-ink: #201b18; --p-ink2: #3d3530; --p-mute: #6f655d; --p-dim: #9a8f86;
  --p-line: #e7e0d5; --p-line2: #d8cfc2; --p-tint: #f1ebe2; --p-ember: #ff6a2b; --p-ember-d: #d9480f; --p-ember-t: #fff1e9;
  --p-green: #2f7d4f; --p-green-t: #e8f4ec; --p-red: #c2362f; --p-red-t: #fbeceb; --p-amber: #b26b00; --p-amber-t: #fdf3e2;
  --p-shadow: 0 1px 2px rgba(32,27,24,.04), 0 12px 32px -18px rgba(32,27,24,.18);
  --measure: 680px;
  position: fixed; inset: 0; z-index: 200; background: var(--p-bg); color: var(--p-ink); font-family: var(--font-b);
  display: grid; grid-template-rows: auto minmax(0,1fr); -webkit-font-smoothing: antialiased;
}
.reader[hidden] { display: none; }
html.reading, html.reading body { overflow: hidden; }
html.reading .nav, html.reading .nav-sheet, html.reading .grain { display: none !important; }
.reader ::selection { background: rgba(255,106,43,.25); color: var(--p-ink); }
.reader :focus-visible { outline: 2px solid var(--p-ember); outline-offset: 3px; border-radius: 6px; }

/* top bar */
.r-top { display: grid; grid-template-columns: auto auto minmax(0,1fr) auto; align-items: center; gap: 14px; height: 60px; padding: 0 18px; background: rgba(246,243,237,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--p-line); position: relative; z-index: 5; }
.r-logo { display: flex; align-items: center; gap: 12px; }
.r-logo img { width: 84px; height: auto; filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(900%) hue-rotate(340deg); }
.r-logo span { font-size: 12.5px; font-weight: 700; color: var(--p-mute); padding-left: 12px; border-left: 1px solid var(--p-line2); white-space: nowrap; }
.r-chbtn { display: none; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--p-ink); background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line2); }
.r-chbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.r-now { min-width: 0; display: grid; gap: 6px; }
.r-now-t { font-size: 13px; font-weight: 700; color: var(--p-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-now-t b { color: var(--p-ember-d); font-weight: 800; margin-right: 8px; }
.r-bar { height: 3px; border-radius: 3px; background: var(--p-line); overflow: hidden; max-width: 520px; }
.r-bar i { display: block; height: 100%; width: 0; background: var(--p-ember); transition: width .15s linear; }
.r-actions { display: flex; align-items: center; gap: 8px; }
.r-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.r-btn:active { transform: scale(.97); }
.r-btn-primary { color: #fff; background: linear-gradient(180deg, #ff7a3d, #f25a1c); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 20px -10px rgba(242,90,28,.8); }
.r-btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 12px 28px -10px rgba(242,90,28,.9); }
.r-btn-ghost { color: var(--p-ink); background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line2); }
.r-btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--p-dim); }
.r-btn.sm { height: 34px; font-size: 13px; padding: 0 12px; }
.r-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--p-ink); background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line2); }
.r-icon:hover { background: #fff; }
.r-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* shell */
.r-shell { display: grid; grid-template-columns: 280px minmax(0,1fr); min-height: 0; }
.r-side { overflow-y: auto; padding: 22px 14px 40px 18px; border-right: 1px solid var(--p-line); background: var(--p-bg); scrollbar-width: thin; }
.r-side-home { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: var(--p-ink2); margin-bottom: 10px; }
.r-side-home:hover, .r-side-home[aria-current="page"] { background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.r-side-home svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.r-toc { display: grid; gap: 2px; }
.r-toc-ch > a { display: grid; grid-template-columns: 30px minmax(0,1fr) 18px; align-items: center; gap: 8px; padding: 10px 10px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--p-ink2); line-height: 1.3; transition: background-color .25s var(--ease), color .25s; }
.r-toc-ch > a b { font-family: var(--font-d); font-weight: 600; font-size: 13px; color: var(--p-dim); }
.r-toc-ch > a i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--p-line2); position: relative; }
.r-toc-ch.done > a i { background: var(--p-green); box-shadow: none; }
.r-toc-ch.done > a i::after { content: ""; position: absolute; left: 5px; top: 3.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.r-toc-ch > a:hover { background: var(--p-card); }
.r-toc-ch.on > a { background: var(--p-card); color: var(--p-ink); box-shadow: inset 3px 0 0 var(--p-ember), inset 0 0 0 1px var(--p-line); }
.r-toc-ch.on > a b { color: var(--p-ember-d); }
.r-subs { display: grid; overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); margin-left: 30px; }
.r-toc-ch.on .r-subs { max-height: 600px; }
.r-subs a { display: block; padding: 7px 10px 7px 14px; font-size: 13px; color: var(--p-mute); border-left: 1.5px solid var(--p-line2); transition: color .2s, border-color .2s; }
.r-subs a:hover { color: var(--p-ink); }
.r-subs a[aria-current="true"] { color: var(--p-ink); font-weight: 700; border-left-color: var(--p-ember); }
.r-side-foot { margin-top: 22px; padding: 16px 12px 0; border-top: 1px solid var(--p-line); display: grid; gap: 10px; font-size: 12.5px; color: var(--p-mute); }
.r-side-prog { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--p-ink2); }
.r-side-prog span:last-child { flex: 1; height: 4px; border-radius: 4px; background: var(--p-line); overflow: hidden; }
.r-side-prog i { display: block; height: 100%; background: var(--p-green); transition: width .4s var(--ease); }

.r-main { overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; outline: none; }
.r-page { padding: 48px clamp(20px, 5vw, 64px) 120px; }
.ch { display: none; max-width: 1060px; margin: 0 auto; }
.ch.on { display: block; animation: chIn .55s var(--ease-out); }
@keyframes chIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* typography */
.reader p { margin: 0; }
.ch .sub > p, .ch .sub > blockquote, .ch .sub > .mini-h, .ch .standfirst, .ch .sub > .fine-l, .ch .sub > .src-line { max-width: var(--measure); }
.ch .sub > p + p { margin-top: 16px; }
.ch .sub > p { font-size: 18px; line-height: 1.7; color: var(--p-ink2); margin-top: 16px; }
.ch strong { color: var(--p-ink); font-weight: 700; }
.ch em { font-style: normal; }
.ch a:not(.r-btn) { color: var(--p-ember-d); text-decoration: underline; text-decoration-color: rgba(217,72,15,.35); text-underline-offset: 3px; }
.eyebrow-l, .ch-num, .nk, .illus, .vs-tag, .deal-k, .tr-k, .tug-h, .so-h, .po-l { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ch-num, .eyebrow-l { color: var(--p-ember-d); }
.nk { color: var(--p-mute); display: block; margin-bottom: 10px !important; }
.ch-title, .home-title { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem); line-height: 1.0; letter-spacing: -.035em; color: var(--p-ink); margin-top: 14px; text-wrap: balance; }
.home-title em { display: block; color: var(--p-ember-d); }
.standfirst { margin-top: 20px !important; font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); line-height: 1.5; color: var(--p-mute); }
.sub { padding-top: 64px; scroll-margin-top: 24px; }
.sub-h { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.3rem); line-height: 1.08; letter-spacing: -.03em; color: var(--p-ink); max-width: 760px; text-wrap: balance; }
.mini-h { font-family: var(--font-d); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; margin-top: 40px; color: var(--p-ink); }
.fine-l, .src-line, .illus-note { font-size: 13.5px; line-height: 1.55; color: var(--p-dim); margin-top: 14px !important; }
.illus-note { margin-top: 16px !important; padding-top: 14px; border-top: 1px dashed var(--p-line2); }
.credit { display: inline; color: var(--p-dim); font-size: 12px; }
.big-q { margin: 28px 0 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--p-ember); font-family: var(--font-d); font-weight: 500; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); line-height: 1.25; letter-spacing: -.02em; color: var(--p-ink); text-wrap: balance; }

/* chapter opener */
.ch-open { display: grid; gap: 36px; padding-bottom: 8px; }
.ch-open.has-img { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: end; }
.ch-open-img { margin: 0; }
.ch-open-img img, .img-wide img { width: 100%; height: auto; border-radius: 20px; display: block; box-shadow: var(--p-shadow); aspect-ratio: 16/9; object-fit: cover; }
.ch-open-img.tall img { aspect-ratio: 9/11; max-height: 460px; }
figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--p-mute); }
.takeaways { margin-top: 40px; padding: 22px 26px; border-radius: 18px; background: var(--p-card); box-shadow: var(--p-shadow), inset 0 0 0 1px var(--p-line); display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 10px 24px; align-items: start; }
.takeaways .nk { margin: 3px 0 0 !important; color: var(--p-ember-d); }
.takeaways ul { list-style: none; display: grid; gap: 8px; }
.takeaways li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.5; color: var(--p-ink2); }
.takeaways li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--p-ember); }

/* cards and callouts */
.r-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.r-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.r-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.mini-cards > div, .test-strip > div, .metric-cards > div, .term-grid > div, .evidence-list > div, .room > div { padding: 20px; border-radius: 16px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.mini-cards > div:hover, .metric-cards > div:hover, .room > div:hover { box-shadow: inset 0 0 0 1px var(--p-line2), var(--p-shadow); transform: translateY(-2px); }
.mini-cards b, .test-strip b, .metric-cards b, .term-grid b, .evidence-list b, .room b { display: block; font-family: var(--font-d); font-weight: 600; font-size: 1.12rem; letter-spacing: -.015em; color: var(--p-ink); }
.mini-cards p, .test-strip p, .metric-cards p, .term-grid p, .evidence-list p, .room p { margin-top: 8px !important; font-size: 15px; line-height: 1.55; color: var(--p-mute); }
.test-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 30px; counter-reset: t; }
.test-strip > div { position: relative; padding-top: 44px; counter-increment: t; }
.test-strip > div::before { content: counter(t, decimal-leading-zero); position: absolute; top: 16px; left: 20px; font-family: var(--font-d); font-weight: 600; font-size: 13px; color: var(--p-ember-d); }
.note-card { padding: 24px; border-radius: 18px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.note-card.quiet { background: transparent; }
.note-card p { font-size: 15.5px; line-height: 1.6; color: var(--p-ink2); }
.num-list { list-style: none; counter-reset: n; display: grid; gap: 10px; }
.num-list li { position: relative; padding-left: 34px; font-size: 15.5px; line-height: 1.5; color: var(--p-ink2); counter-increment: n; }
.num-list li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--p-ink); }
.pull-note { margin-top: 18px; padding: 22px 24px; border-radius: 18px; background: var(--p-tint); }
.pull-note p { font-size: 15.5px; line-height: 1.6; color: var(--p-ink2); max-width: 820px; }
.insight { margin-top: 28px; max-width: 760px; padding: 22px 24px 22px 26px; border-radius: 18px; background: var(--p-card); box-shadow: inset 4px 0 0 var(--p-ink), inset 0 0 0 1px var(--p-line); }
.insight .nk { color: var(--p-ink); }
.insight p { font-size: 17px; line-height: 1.65; color: var(--p-ink2); }
.callout { margin-top: 28px; max-width: 760px; padding: 20px 24px; border-radius: 18px; }
.callout p { font-size: 16px; line-height: 1.6; color: var(--p-ink2); }
.callout.warn-l { background: var(--p-ember-t); box-shadow: inset 0 0 0 1px #ffd6c2; }
.callout.warn-l .nk { color: var(--p-ember-d); }
.callout.legal-l { background: transparent; box-shadow: inset 0 0 0 1px var(--p-line2); }
.callout.legal-l p { font-size: 14.5px; color: var(--p-mute); }
.checklist-mini { margin-top: 28px; max-width: 760px; padding: 22px 24px; border-radius: 18px; background: var(--p-green-t); }
.checklist-mini .nk { color: var(--p-green); }
.checklist-mini ul { list-style: none; display: grid; gap: 8px; }
.checklist-mini li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: var(--p-ink2); }
.checklist-mini li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--p-green); }
.dot-list { list-style: none; display: grid; gap: 10px; }
.dot-list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.6; color: var(--p-ink2); }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--p-ember); }
.ch-sum { margin-top: 72px; padding: 30px 32px; border-radius: 22px; background: var(--p-ink); color: #f6f3ed; }
.ch-sum .nk { color: #ffb783; }
.ch-sum ol { list-style: none; counter-reset: s; display: grid; gap: 14px; }
.ch-sum li { position: relative; padding-left: 40px; font-family: var(--font-d); font-weight: 500; font-size: 1.2rem; line-height: 1.35; letter-spacing: -.01em; counter-increment: s; }
.ch-sum li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-b); font-size: 12.5px; font-weight: 800; color: var(--p-ink); background: #ffb783; }

/* side by side */
.vs-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.vs-card { padding: 24px; border-radius: 20px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line), var(--p-shadow); }
.vs-card.good { box-shadow: inset 0 4px 0 var(--p-green), inset 0 0 0 1px var(--p-line), var(--p-shadow); }
.vs-card.bad { box-shadow: inset 0 4px 0 var(--p-red), inset 0 0 0 1px var(--p-line), var(--p-shadow); }
.vs-card.good .vs-tag { color: var(--p-green); } .vs-card.bad .vs-tag { color: var(--p-red); }
.vs-card dl { display: grid; margin-top: 12px; }
.vs-card dt { font-size: 12.5px; font-weight: 700; color: var(--p-dim); padding-top: 12px; }
.vs-card dd { margin: 3px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--p-line); font-size: 16px; font-weight: 600; color: var(--p-ink); }
.vs-card dd:last-child { border-bottom: 0; }
.tug { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 18px; }
.tug-col { padding: 22px; border-radius: 18px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.tug-col.up .tug-h { color: var(--p-green); } .tug-col.down .tug-h { color: var(--p-red); }
.tug-col ul { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.tug-col li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--p-ink2); }
.tug-col.up li::before { content: "↑"; position: absolute; left: 0; font-weight: 800; color: var(--p-green); }
.tug-col.down li::before { content: "↓"; position: absolute; left: 0; font-weight: 800; color: var(--p-red); }

/* tools common */
.r-tool { margin-top: 30px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line), 0 30px 60px -40px rgba(32,27,24,.35); }
.tool-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 22px; }
.illus { display: inline-flex; align-items: center; gap: 8px; color: var(--p-amber); }
.illus::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--p-amber); }
.link-btn { font-size: 13.5px; font-weight: 700; color: var(--p-mute); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--p-line2); }
.link-btn:hover { color: var(--p-ink); }
.ctl { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 4px 12px; }
.ctl label { font-size: 13.5px; font-weight: 700; color: var(--p-ink2); }
.ctl output { font-family: var(--font-d); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; color: var(--p-ink); font-variant-numeric: tabular-nums; }
.ctl input[type=range] { grid-column: 1 / -1; }
.reader input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 50%; }
.reader input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--p-ember) var(--p), var(--p-line) var(--p)); }
.reader input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--p-line); }
.reader input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--p-ember); }
.reader input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--p-ember), 0 4px 10px rgba(32,27,24,.25); transition: transform .2s var(--ease); }
.reader input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 2px solid var(--p-ember); border-radius: 50%; background: #fff; }
.reader input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.tool-msg { margin-top: 18px !important; font-size: 16px; line-height: 1.6; color: var(--p-ink2); }
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.seg-l { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--p-tint); }
.seg-l button { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--p-mute); transition: background-color .3s var(--ease), color .3s, box-shadow .3s; }
.seg-l button:hover { color: var(--p-ink); }
.seg-l button[aria-pressed="true"], .seg-l button[aria-selected="true"] { color: var(--p-ink); background: #fff; box-shadow: 0 2px 8px -2px rgba(32,27,24,.2), inset 0 0 0 1px var(--p-line); }
.seg-l.big button { height: 40px; padding: 0 18px; font-size: 14.5px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13.5px; color: var(--p-mute); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }

/* gap calculator */
.gap-controls { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 32px; }
.gap-viz { margin-top: 28px; }
.gv-row { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 16px; align-items: center; margin-top: 14px; }
.gv-lab { font-size: 14px; font-weight: 700; color: var(--p-ink2); line-height: 1.3; }
.gv-lab small { display: block; font-size: 12.5px; font-weight: 600; color: var(--p-dim); }
.gv-track { position: relative; height: 54px; border-radius: 12px; background: var(--p-tint); }
.gv-bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 12px; display: flex; align-items: center; justify-content: flex-end; padding: 0 14px; font-family: var(--font-d); font-weight: 600; font-size: 1.25rem; color: #fff; transition: width .7s var(--ease-out); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gv-bar.exp { background: #3d3530; }
.gv-bar.buy { background: var(--p-ember); }
.gv-gap { position: absolute; top: 0; bottom: 0; border-radius: 0 12px 12px 0; background: repeating-linear-gradient(135deg, rgba(194,54,47,.18) 0 6px, rgba(194,54,47,.06) 6px 12px); box-shadow: inset 0 0 0 1.5px rgba(194,54,47,.45); transition: left .7s var(--ease-out), width .7s var(--ease-out); }
.gv-split { display: flex; height: 14px; margin-top: 18px; border-radius: 7px; overflow: hidden; background: var(--p-tint); }
.gv-split i { display: block; height: 100%; transition: width .7s var(--ease-out); }
.gv-split .e { background: #c2362f; } .gv-split .m { background: #f0a37c; }
.gap-explain { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.gx { padding: 16px 18px; border-radius: 14px; background: var(--p-bg); }
.gx b { display: block; font-family: var(--font-d); font-weight: 600; font-size: 1.5rem; letter-spacing: -.03em; color: var(--p-ink); font-variant-numeric: tabular-nums; }
.gx.red b { color: var(--p-red); }
.gx p { margin-top: 6px !important; font-size: 13.5px; line-height: 1.45; color: var(--p-mute); }
.gx-k { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--p-mute); }
.gx-k i { width: 10px; height: 10px; border-radius: 3px; }

/* concentration */
.conc-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; align-items: center; }
.conc-row { display: grid; grid-template-columns: 12px minmax(0,1fr) 112px 92px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--p-line); }
.conc-row.head { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--p-dim); border-bottom-color: var(--p-line2); }
.conc-row i { width: 12px; height: 12px; border-radius: 3px; }
.conc-row b { font-size: 15px; font-weight: 700; }
.num-in { display: flex; align-items: center; height: 38px; padding: 0 10px; border-radius: 10px; background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--p-line2); }
.num-in:focus-within { box-shadow: inset 0 0 0 1.5px var(--p-ember); }
.num-in span { font-size: 13px; font-weight: 700; color: var(--p-dim); }
.num-in input { width: 100%; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--p-ink); text-align: right; outline: none; font-variant-numeric: tabular-nums; }
.donuts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.donuts figure { margin: 0; text-align: center; }
.donut { position: relative; width: min(200px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; transition: background .6s; }
.donut::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: var(--p-card); }
.donut b { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: var(--font-d); font-weight: 600; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; }
.donut b small { display: block; font-family: var(--font-b); font-size: 11px; font-weight: 700; color: var(--p-mute); letter-spacing: 0; margin-top: 4px; }
.donuts figcaption { font-size: 13px; font-weight: 700; color: var(--p-mute); }

/* waterfall (bridge) */
.wf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 8px; align-items: end; height: 300px; padding-top: 10px; position: relative; }
.wf-c { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.wf-b { position: absolute; left: 0; right: 0; border-radius: 6px; transition: bottom .6s var(--ease-out), height .6s var(--ease-out); }
.wf-b.start { background: #3d3530; } .wf-b.neg { background: #e8a184; } .wf-b.pos { background: #8cc5a0; } .wf-b.end { background: var(--p-ember); }
.wf-v { position: absolute; left: 0; right: 0; text-align: center; font-size: 12.5px; font-weight: 800; color: var(--p-ink); transition: bottom .6s var(--ease-out); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wf-l { margin-top: 10px; font-size: 12px; line-height: 1.3; font-weight: 600; color: var(--p-mute); text-align: center; min-height: 32px; }
.wf-axis { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 8px; border-top: 1px solid var(--p-line2); }
.bridge-inputs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px 24px; margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--p-line); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.stat-l { padding: 20px; border-radius: 16px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.stat-l b { font-family: var(--font-d); font-weight: 600; font-size: 2.4rem; letter-spacing: -.04em; line-height: 1; color: var(--p-ember-d); }
.stat-l p { margin-top: 8px !important; font-size: 14px; line-height: 1.45; color: var(--p-mute); }

/* levers */
.lever-map { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 120px 220px; align-items: center; }
.lever-list { display: grid; gap: 8px; position: relative; z-index: 1; }
.lever-list button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border-radius: 14px; font-size: 15px; font-weight: 700; color: var(--p-ink2); background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--p-line); transition: background-color .25s, box-shadow .25s, color .25s; }
.lever-list button span { font-family: var(--font-d); font-size: 13px; color: var(--p-dim); }
.lever-list button:hover { background: #fff; }
.lever-list button[aria-selected="true"] { background: var(--p-ink); color: #fff; box-shadow: none; }
.lever-list button[aria-selected="true"] span { color: #ffb783; }
.lever-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.lever-lines path { fill: none; stroke: var(--p-line2); stroke-width: 1.5; transition: stroke .3s, stroke-width .3s; }
.lever-lines path.on { stroke: var(--p-ember); stroke-width: 3; }
.lever-out { grid-column: 3; display: grid; gap: 14px; position: relative; z-index: 1; }
.lever-out > div { padding: 16px; border-radius: 14px; background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--p-line); transition: background-color .3s, box-shadow .3s, opacity .3s; opacity: .45; }
.lever-out > div.on { opacity: 1; background: var(--p-ember-t); box-shadow: inset 0 0 0 1.5px var(--p-ember); }
.lever-out b { display: block; font-family: var(--font-d); font-weight: 600; font-size: 1.1rem; }
.lever-out span { font-size: 12.5px; color: var(--p-mute); }
.lever-detail { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--p-line); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; animation: chIn .4s var(--ease-out); }
.lever-detail h4 { grid-column: 1 / -1; font-family: var(--font-d); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; }
.lever-detail p { font-size: 15px; line-height: 1.55; color: var(--p-ink2); }
.lever-detail .lk { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--p-ember-d); margin-bottom: 6px; }

/* per 100 */
.p100-row { display: grid; grid-template-columns: 120px minmax(0,1fr) 70px; gap: 14px; align-items: center; margin-top: 12px; }
.p100-row b { font-size: 14.5px; }
.p100-bar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; background: var(--p-tint); }
.p100-bar i { display: block; height: 100%; transition: width .6s var(--ease-out); }
.p100-row em { font-family: var(--font-d); font-weight: 600; font-size: 1.2rem; text-align: right; color: var(--p-green); font-variant-numeric: tabular-nums; }
.r-more { margin-top: 16px; }
.r-more summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--p-mute); list-style: none; }
.r-more summary::before { content: "+ "; color: var(--p-ember-d); }
.r-more[open] summary::before { content: "− "; }
.r-table-wrap { margin-top: 16px; overflow-x: auto; border-radius: 16px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.r-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.r-table th { text-align: left; padding: 13px 16px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--p-dim); border-bottom: 1px solid var(--p-line2); white-space: nowrap; }
.r-table td { padding: 12px 16px; border-bottom: 1px solid var(--p-line); color: var(--p-ink2); vertical-align: top; }
.r-table tr:last-child td { border-bottom: 0; }
.r-table .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-table tr.tot td { font-weight: 800; color: var(--p-ink); background: var(--p-ember-t); }
.q3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.q3 > div { position: relative; padding: 22px 20px 20px; border-radius: 16px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.q3 span { position: absolute; top: -12px; left: 20px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; color: #fff; background: var(--p-ink); }
.q3 b { display: block; font-family: var(--font-d); font-weight: 600; font-size: 1.1rem; }
.q3 p { margin-top: 8px !important; font-size: 14.5px; line-height: 1.5; color: var(--p-mute); }

/* brand imagery */
.brand-strip { margin: 26px 0 0; }
.bs-imgs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.bs-imgs img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--p-line); transition: transform .5s var(--ease); }
.bs-imgs img:hover { transform: scale(1.025); }
.case { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 0; margin-top: 28px; border-radius: 24px; overflow: hidden; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line), var(--p-shadow); }
.case-imgs { position: relative; background: #f6eef7; }
.case-imgs img:first-child { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 1; }
.case-imgs img:last-child { position: absolute; right: 18px; bottom: 18px; width: 34%; border-radius: 14px; box-shadow: 0 16px 30px -12px rgba(32,27,24,.4); background: #fff; }
.case-copy { padding: clamp(24px, 3vw, 40px); }
.case-copy .nk { color: var(--p-ember-d); }
.case-copy h3 { font-family: var(--font-d); font-weight: 600; font-size: 2rem; letter-spacing: -.03em; }
.case-metric { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; font-family: var(--font-d); font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); letter-spacing: -.045em; line-height: 1; }
.case-metric span { color: var(--p-dim); }
.case-metric .hl { color: var(--p-ember-d); }
.case-metric i { font-style: normal; font-size: .6em; color: var(--p-dim); }
.case-cap { margin-top: 8px !important; font-size: 14px; font-weight: 700; color: var(--p-mute); }
.case-copy > p:not(.nk):not(.case-cap) { margin-top: 16px !important; font-size: 16px; line-height: 1.6; color: var(--p-ink2); }
.case-why { padding: 14px 16px; border-radius: 12px; background: var(--p-bg); }
.pair-fig { margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; max-width: 760px; }
.pair-fig img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--p-line); }
.pair-fig figcaption { grid-column: 1 / -1; }
.img-wide { margin: 28px 0 0; max-width: 820px; }

/* metrics, ladder */
.metric-cards { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin-top: 26px; }
.metric-cards .f { font-size: 13px !important; color: var(--p-ember-d) !important; font-weight: 600; }
.ladder { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 28px; align-items: end; }
.ladder li { padding: 18px; border-radius: 16px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); display: flex; flex-direction: column; }
.ladder .l1 { min-height: 190px; } .ladder .l2 { min-height: 220px; } .ladder .l3 { min-height: 250px; } .ladder .l4 { min-height: 280px; background: var(--p-green-t); box-shadow: inset 0 0 0 1px #c7e3d1; }
.ladder b { font-family: var(--font-d); font-weight: 600; font-size: 1.1rem; }
.ladder p { margin-top: 8px !important; font-size: 14px; line-height: 1.45; color: var(--p-mute); }
.ladder span { margin-top: auto; padding-top: 12px; font-size: 13.5px; font-weight: 700; line-height: 1.4; color: var(--p-ink); }
.ladder .l1 span, .ladder .l2 span { color: var(--p-red); } .ladder .l3 span { color: var(--p-amber); } .ladder .l4 span { color: var(--p-green); }
.evidence-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 26px; }
.evidence-list > div:last-child { grid-column: 1 / -1; }

/* buyers */
.buyer-panel { margin-top: 22px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; animation: chIn .45s var(--ease-out); }
.bp-q { font-family: var(--font-d); font-weight: 500; font-size: 1.45rem; line-height: 1.25; letter-spacing: -.02em; color: var(--p-ink); }
.bp-dl { display: grid; margin-top: 18px; }
.bp-dl div { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--p-line); font-size: 15px; line-height: 1.45; }
.bp-dl dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--p-dim); padding-top: 2px; }
.bp-dl dd { margin: 0; color: var(--p-ink2); }
.prio-bars { display: grid; gap: 12px; }
.pbar { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 12px; align-items: center; font-size: 14px; font-weight: 600; color: var(--p-ink2); }
.pbar span { height: 12px; border-radius: 6px; background: var(--p-tint); overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: 6px; background: var(--p-ember); transition: width .6s var(--ease-out); }
.deals { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.deal { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line), var(--p-shadow); }
.deal-k { color: var(--p-mute); }
.deal h3 { margin-top: 10px; font-family: var(--font-d); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; }
.deal-big { margin-top: 14px !important; font-family: var(--font-d); font-weight: 600; font-size: 2.3rem; letter-spacing: -.04em; line-height: 1; color: var(--p-ember-d); }
.deal-cap { margin-top: 6px !important; font-size: 13.5px; font-weight: 700; color: var(--p-mute); }
.deal > p:not(.deal-k):not(.deal-big):not(.deal-cap) { margin-top: 14px !important; font-size: 15px; line-height: 1.55; color: var(--p-ink2); }
.deal-lesson { padding: 12px 14px; border-radius: 12px; background: var(--p-bg); }
.deal-src { margin-top: auto !important; padding-top: 14px; font-size: 12px !important; color: var(--p-dim) !important; }
.moat { display: grid; gap: 8px; margin-top: 24px; max-width: 760px; }
.moat-i { border-radius: 14px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.moat-i summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; }
.moat-i summary::-webkit-details-marker { display: none; }
.moat-i summary b { font-family: var(--font-d); font-weight: 600; font-size: 1.15rem; }
.moat-i summary span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--p-ember-d); }
.moat-i[open] summary span::after { content: " ↓"; }
.moat-i p { padding: 0 18px 18px; font-size: 16px; line-height: 1.55; color: var(--p-ink2); animation: chIn .35s var(--ease-out); }
.flips { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 24px; perspective: 1400px; }
.flip { position: relative; min-height: 150px; text-align: left; border-radius: 18px; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.flip[aria-pressed="true"] { transform: rotateY(180deg); }
.flip > span { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; font-size: 17px; line-height: 1.45; font-weight: 600; }
.flip i { font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.f-a { background: var(--p-card); color: var(--p-ink2); box-shadow: inset 0 0 0 1px var(--p-line2); }
.f-a i { color: var(--p-red); }
.f-a::after { content: "Tap to see the thesis ↻"; font-size: 12.5px; font-weight: 700; color: var(--p-dim); }
.f-b { background: var(--p-ink); color: #f6f3ed; transform: rotateY(180deg); }
.f-b i { color: #8cd3a6; }
.sens-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px 26px; }
.sens-bars { margin-top: 26px; display: grid; gap: 10px; }
.sb-row { display: grid; grid-template-columns: 250px minmax(0,1fr) 90px; gap: 14px; align-items: center; font-size: 14.5px; color: var(--p-ink2); }
.sb-row span:nth-child(2) { height: 22px; border-radius: 6px; background: var(--p-tint); overflow: hidden; }
.sb-row i { display: block; height: 100%; border-radius: 6px; background: #e8a184; transition: width .6s var(--ease-out); }
.sb-row b { text-align: right; font-variant-numeric: tabular-nums; color: var(--p-red); }
.sb-row.tot { padding-top: 12px; border-top: 1px solid var(--p-line2); font-weight: 800; color: var(--p-ink); }
.sb-row.tot i { background: var(--p-red); }

/* financial prep */
.chain-flow { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin-top: 26px; position: relative; }
.cf { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 16px; text-align: left; border-radius: 16px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); transition: box-shadow .3s, background-color .3s; }
.cf::after { content: "→"; position: absolute; right: -13px; top: 22px; z-index: 1; width: 16px; text-align: center; font-weight: 800; color: var(--p-dim); }
.cf:last-child::after { display: none; }
.cf b { font-family: var(--font-d); font-weight: 600; font-size: 1.05rem; color: var(--p-ink); }
.cf span { font-size: 12.5px; line-height: 1.4; color: var(--p-mute); }
.cf em { display: block; max-height: 0; overflow: hidden; font-size: 13px; line-height: 1.45; font-weight: 600; color: var(--p-red); transition: max-height .4s var(--ease); }
.cf:hover, .cf[aria-expanded="true"] { background: var(--p-red-t); box-shadow: inset 0 0 0 1px #f0c5c2; }
.cf:hover em, .cf[aria-expanded="true"] em { max-height: 120px; }
.nwf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 6px; height: 320px; align-items: end; }
.nwf-c { position: relative; height: 100%; }
.nwf-b { position: absolute; left: 0; right: 0; border-radius: 5px; transition: bottom .7s var(--ease-out), height .7s var(--ease-out), background-color .4s; }
.nwf-b.base { background: #3d3530; } .nwf-b.add { background: #8cc5a0; } .nwf-b.sub { background: #e8a184; } .nwf-b.rej { background: repeating-linear-gradient(135deg, #e7e0d5 0 5px, #f6f3ed 5px 10px); box-shadow: inset 0 0 0 1px var(--p-line2); } .nwf-b.end { background: var(--p-ember); }
.nwf-v { position: absolute; left: -6px; right: -6px; text-align: center; font-size: 12px; font-weight: 800; transition: bottom .7s var(--ease-out); font-variant-numeric: tabular-nums; }
.nwf-labels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 6px; border-top: 1px solid var(--p-line2); padding-top: 8px; }
.nwf-labels span { font-size: 11.5px; line-height: 1.25; font-weight: 600; color: var(--p-mute); text-align: center; }
.norm-notes { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.sorter { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.so { padding: 22px; border-radius: 18px; }
.so.ok { background: var(--p-green-t); } .so.no { background: var(--p-red-t); }
.so.ok .so-h { color: var(--p-green); } .so.no .so-h { color: var(--p-red); }
.so ul { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.so li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.45; color: var(--p-ink2); }
.so.ok li::before { content: "✓"; position: absolute; left: 0; font-weight: 900; color: var(--p-green); }
.so.no li::before { content: "✕"; position: absolute; left: 0; font-weight: 900; color: var(--p-red); }
.peg-chart { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 8px; align-items: end; height: 240px; position: relative; padding-bottom: 26px; }
.peg-chart button { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; padding: 0; }
.peg-chart button i { display: block; width: 100%; border-radius: 8px 8px 3px 3px; transition: background-color .3s, box-shadow .3s; }
.peg-chart button.below i { background: #f0c0ad; } .peg-chart button.above i { background: #bcdcc8; }
.peg-chart button:hover i { filter: brightness(.95); }
.peg-chart button[aria-pressed="true"] i { background: var(--p-ember); box-shadow: 0 10px 20px -10px rgba(242,90,28,.8); }
.peg-chart button span { position: absolute; bottom: -24px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 700; color: var(--p-dim); }
.peg-chart button[aria-pressed="true"] span { color: var(--p-ember-d); }
.peg-line { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--p-ink); pointer-events: none; }
.peg-line::after { content: "Peg $2.22M"; position: absolute; right: 0; top: -22px; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--p-ink); }
.peg-out { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.peg-out > div { padding: 16px; border-radius: 14px; background: var(--p-bg); }
.peg-out .hl { background: var(--p-ember-t); }
.po-l { color: var(--p-mute); }
.po-v { margin-top: 6px !important; font-family: var(--font-d); font-weight: 600; font-size: 1.8rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.peg-out .hl .po-v { color: var(--p-ember-d); }
.do-dont { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 26px; }
.do-dont > div { padding: 22px; border-radius: 18px; background: var(--p-green-t); }
.do-dont > div .nk { color: var(--p-green); }
.do-dont > .dont { background: var(--p-red-t); } .do-dont > .dont .nk { color: var(--p-red); }
.do-dont ul { list-style: none; display: grid; gap: 10px; }
.do-dont li { font-size: 15px; line-height: 1.5; color: var(--p-ink2); }
.chips-l { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; max-width: 860px; }
.chips-l button { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--p-ink2); background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line2); transition: background-color .25s, color .25s, box-shadow .25s; }
.chips-l button:hover { box-shadow: inset 0 0 0 1px var(--p-ink); }
.chips-l button[aria-pressed="true"] { color: #fff; background: var(--p-ink); box-shadow: none; }
.chip-why { margin-top: 14px !important; max-width: 760px; padding: 16px 18px; border-radius: 14px; background: var(--p-tint); font-size: 16px; line-height: 1.55; color: var(--p-ink2); min-height: 56px; }

/* tree, spof */
.tree { margin-top: 26px; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line), var(--p-shadow); }
.tq { font-family: var(--font-d); font-weight: 500; font-size: 1.35rem; line-height: 1.3; letter-spacing: -.02em; color: var(--p-ink); max-width: 640px; }
.tree-a { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tree-a button { padding: 12px 18px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--p-ink); background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--p-line2); transition: background-color .25s, color .25s; }
.tree-a button:hover { background: var(--p-ink); color: #fff; }
.tree-r { margin-top: 22px; padding: 22px; border-radius: 18px; background: var(--p-bg); animation: chIn .4s var(--ease-out); }
.tr-k { color: var(--p-ember-d); }
.tree-r p:not(.tr-k) { margin-top: 10px !important; font-size: 16px; line-height: 1.6; color: var(--p-ink2); max-width: 720px; }
.tr-next { padding: 12px 14px; border-radius: 12px; background: var(--p-card); }
.tree-reset { margin-top: 14px; }
.spof { position: relative; height: 380px; margin-top: 22px; border-radius: 24px; background: radial-gradient(circle at 50% 50%, var(--p-ember-t) 0 70px, transparent 71px), var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.spof-hub { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--font-d); font-weight: 600; font-size: 1.05rem; color: #fff; background: var(--p-ink); box-shadow: 0 0 0 10px rgba(32,27,24,.06); }
.spof-n { position: absolute; left: calc(50% + 155px * cos(calc(var(--a) * 60deg - 90deg))); top: calc(50% + 140px * sin(calc(var(--a) * 60deg - 90deg))); transform: translate(-50%, -50%); width: 170px; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--p-ink2); background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--p-line2); transition: background-color .25s, color .25s, box-shadow .25s; }
.spof-n:hover { box-shadow: inset 0 0 0 1.5px var(--p-ember); }
.spof-n[aria-pressed="true"] { color: #fff; background: var(--p-ember-d); box-shadow: none; }
.spof-out { margin-top: 14px; padding: 20px 22px; border-radius: 18px; background: var(--p-tint); min-height: 96px; }
.spof-out .sq { font-family: var(--font-d); font-weight: 500; font-size: 1.25rem; line-height: 1.3; color: var(--p-ink); }
.spof-out .sf { margin-top: 10px !important; font-size: 15.5px; color: var(--p-green); font-weight: 700; }
.acc-l { display: grid; gap: 8px; margin-top: 22px; }
.acc-l details { border-radius: 16px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.acc-l summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; font-family: var(--font-d); font-weight: 600; font-size: 1.2rem; letter-spacing: -.015em; }
.acc-l summary::-webkit-details-marker { display: none; }
.acc-l summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-b); font-size: 18px; color: var(--p-ink2); box-shadow: inset 0 0 0 1px var(--p-line2); transition: transform .4s var(--ease), background-color .3s; }
.acc-l details[open] summary::after { transform: rotate(45deg); background: var(--p-ember-t); }
.acc-l details > *:not(summary) { padding: 0 20px 20px; animation: chIn .35s var(--ease-out); }
.acc-l details > p { font-size: 16px; line-height: 1.6; color: var(--p-ink2); }

/* process */
.tl-curve { height: 120px; position: relative; }
.tl-curve svg { width: 100%; height: 100%; overflow: visible; }
.tl-steps { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 6px; margin-top: 10px; }
.tl-steps button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 10px; border-radius: 12px; text-align: left; font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--p-ink2); background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--p-line); transition: background-color .25s, color .25s; }
.tl-steps button span { font-size: 11px; font-weight: 700; color: var(--p-dim); }
.tl-steps button[aria-selected="true"] { color: #fff; background: var(--p-ink); box-shadow: none; }
.tl-steps button[aria-selected="true"] span { color: #ffb783; }
.tl-panel { margin-top: 18px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 20px; padding: 22px; border-radius: 18px; background: var(--p-bg); animation: chIn .4s var(--ease-out); }
.tl-panel h4 { font-family: var(--font-d); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; }
.tl-panel p { margin-top: 10px !important; font-size: 16px; line-height: 1.6; color: var(--p-ink2); }
.tl-watch { padding: 16px; border-radius: 14px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.tl-watch .nk { color: var(--p-red); }
.tl-watch p { margin-top: 0 !important; font-size: 15px !important; font-weight: 600; }
.room { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.room > div { position: relative; padding-left: 50px; }
.room > div::before { content: ""; position: absolute; left: 18px; top: 22px; width: 18px; height: 14px; border-radius: 3px 3px 2px 2px; background: var(--p-ember); box-shadow: inset 0 3px 0 rgba(255,255,255,.4); }
.cause-fix { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.cause-fix > div { padding: 22px; border-radius: 18px; background: var(--p-red-t); }
.cause-fix > div .nk { color: var(--p-red); }
.cause-fix > .fix { background: var(--p-green-t); } .cause-fix > .fix .nk { color: var(--p-green); }
.cause-fix ol { padding-left: 20px; display: grid; gap: 8px; }
.cause-fix li { font-size: 15px; line-height: 1.5; color: var(--p-ink2); }
.earn-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 32px; align-items: center; }
.earn-ctl { display: grid; gap: 18px; }
.earn-steps { display: grid; gap: 12px; }
.es { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 14px; align-items: center; }
.es b { font-size: 13.5px; color: var(--p-ink2); line-height: 1.3; }
.es div { position: relative; height: 46px; border-radius: 10px; background: var(--p-tint); overflow: hidden; }
.es i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 10px; transition: width .6s var(--ease-out); display: flex; align-items: center; padding-left: 12px; font-style: normal; font-family: var(--font-d); font-weight: 600; font-size: 1.1rem; color: #fff; white-space: nowrap; }
.es:nth-child(1) i { background: #3d3530; } .es:nth-child(2) i { background: #b9705a; } .es:nth-child(3) i { background: var(--p-ember); }
.term-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 22px; }
.escrow-viz { margin-top: 24px; padding: 22px; border-radius: 18px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); max-width: 760px; }
.ev-bar { display: grid; grid-template-columns: 90px minmax(0,1fr) 64px; gap: 12px; align-items: center; margin-top: 10px; font-size: 14px; font-weight: 700; }
.ev-bar i { height: 26px; width: var(--w); border-radius: 6px; background: var(--p-ember); }
.ev-bar:nth-child(2) i { background: #f0a37c; }
.ev-bar b { font-family: var(--font-d); font-size: 1.3rem; text-align: right; }

/* assessment */
.score-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 28px; align-items: start; }
.score-rows { display: grid; }
.score-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--p-line); }
.score-row .sa-area { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--p-ember-d); margin-bottom: 3px; }
.score-row p { font-size: 15.5px; line-height: 1.45; color: var(--p-ink2); }
.score-btns { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--p-tint); }
.score-btns button { width: 38px; height: 34px; border-radius: 999px; font-size: 14px; font-weight: 800; color: var(--p-mute); transition: background-color .25s, color .25s; }
.score-btns button:hover { color: var(--p-ink); background: #fff; }
.score-btns button[aria-checked="true"] { color: #fff; }
.score-btns button[aria-checked="true"][data-v="0"] { background: var(--p-red); }
.score-btns button[aria-checked="true"][data-v="1"] { background: #d98a1c; }
.score-btns button[aria-checked="true"][data-v="2"] { background: #6e9c4f; }
.score-btns button[aria-checked="true"][data-v="3"] { background: var(--p-green); }
.score-side { position: sticky; top: 20px; padding: 22px; border-radius: 20px; background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--p-line); display: grid; gap: 12px; }
.ss-total { font-family: var(--font-d); font-weight: 600; font-size: 3.4rem; letter-spacing: -.05em; line-height: 1; color: var(--p-ink); }
.ss-total small { font-size: .4em; color: var(--p-dim); letter-spacing: 0; }
.ss-ans { font-size: 13px; font-weight: 700; color: var(--p-mute); }
.area-bars { display: grid; gap: 9px; padding-top: 10px; border-top: 1px solid var(--p-line); }
.ab { display: grid; grid-template-columns: 100px minmax(0,1fr) 30px; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--p-ink2); }
.ab span { height: 8px; border-radius: 4px; background: var(--p-line); overflow: hidden; }
.ab i { display: block; height: 100%; border-radius: 4px; transition: width .5s var(--ease-out), background-color .3s; }
.ab em { text-align: right; font-style: normal; color: var(--p-mute); }
.ab.attn { color: var(--p-red); }
.ss-read { font-size: 14px; line-height: 1.5; color: var(--p-ink2); }
.ss-read b { display: block; font-family: var(--font-d); font-weight: 600; font-size: 1.1rem; color: var(--p-ink); margin-bottom: 4px; }
.ss-read .att { margin-top: 8px; color: var(--p-red); font-weight: 600; }
.chk-l { display: grid; gap: 8px; }
.chk-l label { position: relative; display: block; cursor: pointer; }
.chk-l input { position: absolute; opacity: 0; pointer-events: none; }
.chk-l span { display: block; padding: 13px 16px 13px 50px; border-radius: 14px; font-size: 15.5px; line-height: 1.4; color: var(--p-ink2); background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--p-line); transition: background-color .25s, box-shadow .25s; }
.chk-l span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--p-line2); transition: background-color .2s, box-shadow .2s; }
.chk-l span::after { content: ""; position: absolute; left: 22px; top: 50%; width: 9px; height: 5px; margin-top: -4px; border-left: 2.2px solid #fff; border-bottom: 2.2px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .2s var(--ease-out); }
.chk-l label:hover span { background: #fff; }
.chk-l input:checked + span { background: var(--p-card); box-shadow: inset 0 0 0 1.5px var(--p-ink); color: var(--p-ink); }
.chk-l input:checked + span::before { background: var(--p-ink); box-shadow: none; }
.chk-l input:checked + span::after { transform: rotate(-45deg) scale(1); }
.chk-l input:focus-visible + span { outline: 2px solid var(--p-ember); outline-offset: 2px; }
.chk-l.sm span { padding: 10px 12px 10px 42px; font-size: 14px; border-radius: 12px; }
.chk-l.sm span::before { left: 12px; width: 18px; height: 18px; margin-top: -9px; }
.chk-l.sm span::after { left: 17px; }
.founder-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 28px; align-items: start; }
.gauge-side { position: sticky; top: 20px; padding: 22px; border-radius: 20px; background: var(--p-bg); text-align: center; }
.gauge svg { width: 100%; height: auto; }
.g-msg { margin-top: 10px !important; font-size: 15px; line-height: 1.5; color: var(--p-ink2); font-weight: 600; }
.dd-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.dd-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--p-line); }
.dd-pill i { width: 30px; height: 6px; border-radius: 3px; background: var(--p-line); overflow: hidden; position: relative; }
.dd-pill i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--c); }
.dd-pill.attn { color: var(--p-red); box-shadow: inset 0 0 0 1px #f0c5c2; background: var(--p-red-t); }
.dd-total { font-family: var(--font-d); font-weight: 600; font-size: 1.1rem; padding: 6px 14px 6px 0; }
.dd-cols { display: grid; gap: 8px; }
.dd-g { border-radius: 16px; background: var(--p-bg); }
.dd-g summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; }
.dd-g summary::-webkit-details-marker { display: none; }
.dd-g summary b { font-family: var(--font-d); font-weight: 600; font-size: 1.12rem; }
.dd-p { font-size: 13px; font-weight: 800; color: var(--p-mute); font-variant-numeric: tabular-nums; }
.dd-g .chk-l { padding: 0 14px 16px; }
.dd-g .chk-l span { background: var(--p-card); }

/* blueprint */
.plan-track { position: relative; margin-top: 26px; display: grid; gap: 0; }
.pl-phase { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--p-line); animation: chIn .4s var(--ease-out); }
.pl-when b { display: block; font-family: var(--font-d); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.pl-when span { font-size: 13px; font-weight: 700; color: var(--p-mute); }
.pl-when .pl-prog { margin-top: 10px; height: 5px; border-radius: 3px; background: var(--p-line); overflow: hidden; }
.pl-when .pl-prog i { display: block; height: 100%; background: var(--p-green); transition: width .4s var(--ease); }
.pl-items { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.pl-item { position: relative; display: block; cursor: pointer; }
.pl-item input { position: absolute; opacity: 0; }
.pl-item span { display: block; height: 100%; padding: 11px 12px 11px 40px; border-radius: 12px; font-size: 14px; line-height: 1.4; color: var(--p-ink2); background: var(--p-bg); box-shadow: inset 3px 0 0 var(--k); transition: background-color .25s, opacity .25s; }
.pl-item span::before { content: ""; position: absolute; left: 13px; top: 13px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--p-line2); }
.pl-item input:checked + span { opacity: .6; text-decoration: line-through; text-decoration-color: var(--p-dim); }
.pl-item input:checked + span::before { background: var(--p-green); box-shadow: none; }
.pl-item input:focus-visible + span { outline: 2px solid var(--p-ember); }
.pl-item.c { --k: #3d6fb5; } .pl-item.t { --k: #b26b00; } .pl-item.m { --k: var(--p-ember); grid-column: 1 / -1; }
.pl-item.m span { font-weight: 700; background: var(--p-ember-t); }
.plan-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--p-mute); }
.plan-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.plan-legend .c::before { background: #3d6fb5; } .plan-legend .t::before { background: #b26b00; } .plan-legend .m::before { background: var(--p-ember); }
.two-work .nk.c { color: #3d6fb5; } .two-work .nk.t { color: #b26b00; }
.two-work > div { padding: 22px; border-radius: 18px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.two-work p:not(.nk) { font-size: 15.5px; line-height: 1.6; color: var(--p-ink2); }
.gap-drivers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.gap-drivers span { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--p-ink2); background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line2); }
.prio-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 24px; align-items: start; }
.prio-t input[type=text] { width: 100%; min-width: 160px; height: 36px; padding: 0 10px; border: 0; border-radius: 8px; font: inherit; font-size: 14px; color: var(--p-ink); background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--p-line2); outline: none; }
.prio-t input[type=number] { width: 48px; height: 36px; border: 0; border-radius: 8px; text-align: center; font: inherit; font-size: 14px; font-weight: 700; color: var(--p-ink); background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--p-line2); outline: none; }
.prio-t input:focus { box-shadow: inset 0 0 0 1.5px var(--p-ember); }
.prio-t td { padding: 8px 6px; vertical-align: middle; }
.prio-t td:first-child { padding-left: 12px; }
.prio-t .ps { font-family: var(--font-d); font-weight: 600; font-size: 1.05rem; color: var(--p-ember-d); }
.prio-t .rk { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; font-size: 11px; font-weight: 800; color: #fff; background: var(--p-ink); }
.prio-t .rm { width: 28px; height: 28px; border-radius: 50%; color: var(--p-dim); }
.prio-t .rm:hover { color: var(--p-red); background: var(--p-red-t); }
.prio-matrix { position: relative; aspect-ratio: 1; border-radius: 16px; background: linear-gradient(var(--p-line), var(--p-line)) 50% 0 / 1px 100% no-repeat, linear-gradient(var(--p-line), var(--p-line)) 0 50% / 100% 1px no-repeat, var(--p-bg); }
.pm-l { position: absolute; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--p-dim); }
.pm-dot { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--p-ink); box-shadow: 0 4px 10px rgba(32,27,24,.3); transition: left .5s var(--ease-out), top .5s var(--ease-out); }
.pm-dot.top { background: var(--p-ember); }
.ready-l { margin-top: 20px; display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 20px; align-items: center; }
.ready-msg { padding: 22px; border-radius: 18px; background: var(--p-tint); font-family: var(--font-d); font-weight: 500; font-size: 1.2rem; line-height: 1.35; color: var(--p-ink); }
.ready-msg.go { background: var(--p-green-t); color: var(--p-green); }

/* risk matrix */
.mx-wrap { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 22px; align-items: start; }
.mx { position: relative; aspect-ratio: 1.15; border-radius: 18px; background: var(--p-bg); overflow: hidden; }
.mx::before { content: ""; position: absolute; left: 0; top: 0; width: 50%; height: 50%; background: rgba(194,54,47,.07); }
.mx::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--p-line2), var(--p-line2)) 50% 0 / 1px 100% no-repeat, linear-gradient(var(--p-line2), var(--p-line2)) 0 50% / 100% 1px no-repeat; pointer-events: none; }
.mx-q { position: absolute; z-index: 1; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--p-dim); }
.mx-q.q1 { left: 14px; top: 12px; color: var(--p-red); } .mx-q.q2 { right: 14px; top: 12px; } .mx-q.q3 { left: 14px; bottom: 30px; } .mx-q.q4 { right: 14px; bottom: 30px; }
.mx-y { position: absolute; left: 4px; bottom: 50%; transform: rotate(-90deg) translateX(-50%); transform-origin: left bottom; font-size: 11px; font-weight: 700; color: var(--p-mute); white-space: nowrap; z-index: 1; display: none; }
.mx-x { position: absolute; right: 14px; bottom: 8px; font-size: 11px; font-weight: 700; color: var(--p-mute); z-index: 1; }
.mx-dot { position: absolute; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; color: var(--p-ink); background: #fff; box-shadow: inset 0 0 0 2px var(--p-ink), 0 6px 14px -6px rgba(32,27,24,.4); transition: transform .25s var(--ease), background-color .25s, color .25s; }
.mx-dot:hover { transform: scale(1.12); }
.mx-dot[aria-pressed="true"] { color: #fff; background: var(--p-ember); box-shadow: 0 0 0 6px rgba(255,106,43,.2); transform: scale(1.15); }
.mx-panel { padding: 22px; border-radius: 18px; background: var(--p-bg); min-height: 100%; animation: chIn .35s var(--ease-out); }
.mx-panel h4 { font-family: var(--font-d); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; line-height: 1.15; }
.mx-panel .mk { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--p-ember-d); margin-bottom: 8px; }
.mx-panel dl { margin-top: 12px; display: grid; gap: 12px; }
.mx-panel dt { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--p-mute); }
.mx-panel dd { margin: 3px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--p-ink2); }
.mx-panel dd.fix { padding: 10px 12px; border-radius: 10px; background: var(--p-green-t); color: var(--p-ink); }
.mx-list { display: grid; gap: 8px; margin-top: 22px; }
.mx-list details { border-radius: 14px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.mx-list summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; font-weight: 700; font-size: 15.5px; }
.mx-list summary::-webkit-details-marker { display: none; }
.mx-list summary b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; box-shadow: inset 0 0 0 1.5px var(--p-ink); }
.mx-list summary em { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--p-dim); }
.mx-list .mx-body { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; padding: 0 16px 16px; }
.mx-list .mx-body div { padding: 12px 14px; border-radius: 12px; background: var(--p-bg); }
.mx-list .mx-body div:last-child { background: var(--p-green-t); }
.mx-list .mx-body h5 { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--p-mute); }
.mx-list .mx-body p { margin-top: 5px !important; font-size: 14.5px; line-height: 1.5; color: var(--p-ink2); }

/* home */
.home-hero { padding: 10px 0 8px; max-width: 900px; }
.home-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; font-size: 14.5px; color: var(--p-mute); }
.home-meta b { color: var(--p-ink); font-family: var(--font-d); font-size: 1.2rem; margin-right: 4px; }
.home-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 40px; }
.home-grid a { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 200px; padding: 22px; border-radius: 20px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); text-decoration: none !important; color: inherit !important; }
.home-grid a:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--p-line2), 0 24px 40px -24px rgba(32,27,24,.35); }
.hg-num { font-family: var(--font-d); font-weight: 600; font-size: 3rem; letter-spacing: -.05em; line-height: .9; color: var(--p-ember); }
.hg-t { margin-top: 14px; font-family: var(--font-d); font-weight: 600; font-size: 1.25rem; line-height: 1.15; letter-spacing: -.02em; color: var(--p-ink); }
.hg-d { margin-top: 8px !important; font-size: 14px; line-height: 1.45; color: var(--p-mute); }
.hg-meta { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--p-dim); }
.hg-meta .ok { color: var(--p-green); }
.home-grid li.has-img a { padding-top: 0; }
.home-grid .hg-img { height: 120px; margin: 0 -22px 18px; background-size: cover; background-position: center; }
.home-notes { margin-top: 36px; }

/* pager */
.r-pager { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; max-width: 1060px; margin: 64px auto 0; }
.r-pager a { display: grid; gap: 4px; padding: 22px 24px; border-radius: 20px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); text-decoration: none !important; transition: box-shadow .3s, transform .3s var(--ease); }
.r-pager a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--p-ink); }
.r-pager a span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--p-mute); }
.r-pager a b { font-family: var(--font-d); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; color: var(--p-ink); }
.r-pager .next { text-align: right; background: var(--p-ink); }
.r-pager .next span { color: #ffb783; } .r-pager .next b { color: #fff; }
.r-pager .ghost { visibility: hidden; }
.close-card { margin-top: 30px; max-width: 820px; padding: 32px; border-radius: 24px; background: var(--p-ink); color: #f6f3ed; }
.close-card p { font-size: 18px; line-height: 1.65; color: #e7ddd2; }
.close-card p + p { margin-top: 14px; }
.close-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.close-cta .r-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.src-l { padding-left: 22px; display: grid; gap: 10px; margin-top: 16px; max-width: 820px; }
.src-l li { font-size: 14.5px; line-height: 1.55; color: var(--p-mute); }
.src-l.plain { list-style: disc; }

/* mobile bottom bar */
.r-mbar { display: none; }
.r-scrim { display: none; }

@media (max-width: 1100px) {
  .r-shell { grid-template-columns: minmax(0,1fr); }
  .r-side { position: fixed; z-index: 10; top: 60px; bottom: 0; left: 0; width: min(340px, 88vw); box-shadow: 20px 0 60px -20px rgba(32,27,24,.35); transform: translateX(-102%); transition: transform .45s var(--ease); }
  .reader.drawer .r-side { transform: none; }
  .r-scrim { display: block; position: fixed; inset: 60px 0 0; z-index: 9; background: rgba(32,27,24,.3); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .reader.drawer .r-scrim { opacity: 1; pointer-events: auto; }
  .r-chbtn { display: inline-flex; }
  .r-logo span { display: none; }
  .score-layout, .founder-grid { grid-template-columns: minmax(0,1fr); }
  .score-side, .gauge-side { position: static; }
  .metric-cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .r-top { grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; padding: 0 12px; }
  .r-logo { display: none; }
  .r-actions .r-btn { display: none; }
  .r-page { padding: 30px 18px 120px; }
  .r-mbar { position: fixed; z-index: 8; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,253,249,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--p-line2), 0 14px 30px -12px rgba(32,27,24,.35); }
  .r-mbar button { height: 42px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--p-ink); }
  .r-mbar button[disabled] { opacity: .35; }
  .r-mbar .mid { padding: 0 16px; background: var(--p-ink); color: #fff; }
  .ch-open.has-img, .vs-cards, .tug, .conc-grid, .r-grid2, .r-grid3, .q3, .case, .deals, .flips, .buyer-panel, .sorter, .do-dont, .cause-fix, .earn-grid, .tl-panel, .mx-wrap, .prio-layout, .ready-l, .evidence-list, .pair-fig, .lever-detail { grid-template-columns: minmax(0,1fr); }
  .r-grid4, .test-strip, .room, .term-grid, .metric-cards, .home-grid, .ladder { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ladder li { min-height: 0 !important; }
  .takeaways { grid-template-columns: minmax(0,1fr); padding: 20px; }
  .gap-controls, .bridge-inputs, .sens-grid { grid-template-columns: minmax(0,1fr); }
  .gap-explain, .norm-notes, .peg-out, .stat-row { grid-template-columns: minmax(0,1fr); }
  .gv-row { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .bs-imgs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .chain-flow { grid-template-columns: minmax(0,1fr); }
  .cf::after { content: "↓"; right: auto; left: 22px; top: auto; bottom: -15px; }
  .cf em { max-height: 120px; }
  .tl-steps { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .lever-map { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .lever-lines { display: none; }
  .lever-out { grid-column: 1; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
  .lever-out > div { padding: 12px; }
  .lever-out span { display: none; }
  .spof { height: auto; padding: 20px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; background: var(--p-card); }
  .spof-hub { display: none; }
  .spof-n { position: static; transform: none; width: auto; }
  .wf { height: 260px; gap: 4px; }
  .wf-v { font-size: 10.5px; }
  .wf-l { font-size: 10.5px; }
  .nwf { height: 260px; gap: 3px; }
  .nwf-v { font-size: 9.5px; }
  .nwf-labels span { font-size: 9px; }
  .p100-row { grid-template-columns: 90px minmax(0,1fr) 54px; gap: 8px; }
  .sb-row { grid-template-columns: minmax(0,1fr) 80px; }
  .sb-row span:nth-child(2) { display: none; }
  .mx-list .mx-body { grid-template-columns: minmax(0,1fr); }
  .es { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .pl-phase { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .pl-items { grid-template-columns: minmax(0,1fr); }
  .score-row { grid-template-columns: minmax(0,1fr); }
  .conc-row { grid-template-columns: 12px minmax(0,1fr) 96px 76px; }
  .peg-chart { gap: 3px; height: 200px; }
  .peg-chart button span { font-size: 10px; }
  .r-pager { grid-template-columns: minmax(0,1fr); }
  .ch .sub > p { font-size: 17px; }
}
@media (max-width: 480px) {
  .home-grid, .r-grid4, .test-strip, .room, .term-grid, .metric-cards, .ladder { grid-template-columns: minmax(0,1fr); }
  .tl-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .spof { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ch.on, .reader * { animation: none !important; transition: none !important; }
  .r-main { scroll-behavior: auto; }
}
.reader .wf-wrap, .reader .nwf-wrap { display: block; }
.reader .nwf-v { white-space: nowrap; }
@media (max-width: 600px) {
  .reader .wf-wrap, .reader .nwf-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .reader .wf-wrap > *, .reader .nwf-wrap > * { min-width: 560px; }
  .reader .nwf-wrap > * { min-width: 720px; }
  .reader .wf-v { font-size: 11px; } .reader .wf-l { font-size: 11px; }
  .reader .nwf-v { font-size: 11px; } .reader .nwf-labels span { font-size: 10.5px; }
  .reader .wf-wrap::after, .reader .nwf-wrap::after { content: "Swipe to see the full chart →"; display: block; font-size: 11px; color: var(--p-mute); margin-top: 6px; }
}

/* =================== editorial figures (replace stock photography) =================== */
.reader .ch-open.has-fig { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; }
.reader .ch-open-fig { margin: 0; padding: 22px 22px 18px; border-radius: 20px; background: var(--p-card); box-shadow: var(--p-shadow), inset 0 0 0 1px var(--p-line); }
.reader .ch-open-fig figcaption, .reader .fig-od figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--p-line); font-size: 13px; }
.reader .fig-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; font-family: var(--font-d); font-weight: 600; font-size: 17px; letter-spacing: -.01em; color: var(--p-ink); }
.reader .fig-tag { flex: none; font-family: var(--font-b); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--p-dim); }

/* ch01: same EBITDA, different multiple */
.reader .fv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--p-line); }
.reader .fv-who b { display: block; font-family: var(--font-d); font-weight: 600; font-size: 16px; }
.reader .fv-who span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--p-mute); }
.reader .fv-calc { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-d); font-weight: 600; font-size: 15px; color: var(--p-ink2); }
.reader .fv-calc .fv-op { color: var(--p-dim); font-size: 13px; }
.reader .fv-calc .fv-m { padding: 2px 8px; border-radius: 8px; background: var(--p-tint); }
.reader .fv-row.b .fv-m { background: var(--p-ember-t); color: var(--p-ember-d); }
.reader .fv-track { grid-column: 1 / -1; position: relative; display: flex; align-items: center; height: 34px; border-radius: 9px; background: repeating-linear-gradient(90deg, var(--p-line) 0 1px, transparent 1px 8.33%); }
.reader .fv-track i { display: block; height: 100%; border-radius: 9px; background: var(--p-ink); }
.reader .fv-row.b .fv-track i { background: var(--p-ember); }
.reader .fv-track b { position: absolute; left: 12px; font-family: var(--font-d); font-weight: 600; font-size: 15px; color: #fff; }
.reader .fv-track .fv-gap { position: absolute; right: 0; top: 0; bottom: 0; display: grid; place-items: center; font-style: normal; font-family: var(--font-d); font-weight: 600; font-size: 14px; color: var(--p-red); border: 1.5px dashed rgba(194,54,47,.5); border-left: 0; border-radius: 0 9px 9px 0; background: var(--p-red-t); }

/* ch04: inventory aging */
.reader .inv-brace { position: relative; height: 26px; border: 1.5px solid var(--p-red); border-bottom: 0; border-radius: 8px 8px 0 0; margin-bottom: 6px; }
.reader .inv-brace span { position: absolute; right: 0; top: -20px; font-size: 11.5px; font-weight: 800; color: var(--p-red); white-space: nowrap; }
.reader .inv-bar { display: flex; height: 46px; border-radius: 10px; overflow: hidden; gap: 2px; }
.reader .inv-bar i { display: grid; place-items: center; min-width: 0; font-style: normal; }
.reader .inv-bar b { font-family: var(--font-d); font-weight: 600; font-size: 13px; color: #fff; }
.reader .inv-bar .cur { background: var(--p-ink); } .reader .inv-bar .cur2 { background: #6f655d; }
.reader .inv-bar .risk { background: #e8836a; } .reader .inv-bar .risk2 { background: var(--p-red); }
.reader .inv-bar .dead { background: repeating-linear-gradient(45deg, #9a2a24 0 3px, #c2362f 3px 6px); }
.reader .inv-bar .risk2 b, .reader .inv-bar .dead b { font-size: 11px; }
.reader .inv-lab { display: flex; gap: 2px; margin-top: 7px; font-size: 11.5px; color: var(--p-mute); }
.reader .inv-lab span { min-width: 0; overflow: visible; white-space: nowrap; }
.reader .inv-lab span:nth-child(4), .reader .inv-lab span:nth-child(5) { text-align: right; }
.reader .inv-lab span:nth-child(5) { visibility: hidden; }
.reader .inv-tests { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.reader .inv-tests li { padding: 10px 12px; border-radius: 12px; background: var(--p-tint); font-size: 12.5px; line-height: 1.35; color: var(--p-ink2); }
.reader .inv-tests b { display: block; font-family: var(--font-d); font-weight: 600; font-size: 14px; color: var(--p-ink); }

/* ch05: transferability checklist */
.reader .tr-list { list-style: none; margin: 0; padding: 0; }
.reader .tr-list li { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--p-line); }
.reader .tr-i { width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--p-line2); background: #fff; }
.reader .tr-list .fix .tr-i { box-shadow: inset 0 0 0 1.5px rgba(194,54,47,.6); background: var(--p-red-t); }
.reader .tr-list b { display: block; font-size: 14px; font-weight: 700; color: var(--p-ink); }
.reader .tr-list div span { display: block; font-size: 12.5px; color: var(--p-mute); }
.reader .tr-list em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 4px 9px; border-radius: 99px; background: var(--p-tint); color: var(--p-ink2); white-space: nowrap; }
.reader .tr-list .fix em { background: var(--p-red-t); color: var(--p-red); }

/* ch09: seasonality / promo / ads */
.reader .fig-season svg { display: block; width: 100%; height: auto; }
.reader .fig-season .grid { stroke: var(--p-line); stroke-width: 1; fill: none; }
.reader .fig-season rect.b { fill: var(--p-ink); } .reader .fig-season rect.p { fill: #f6b493; }
.reader .fig-season .m { font-size: 9px; font-weight: 700; fill: var(--p-dim); text-anchor: middle; }
.reader .fig-season .ad { fill: none; stroke: var(--p-ember); stroke-width: 2; stroke-linejoin: round; }
.reader .fig-season .adots circle { fill: #fff; stroke: var(--p-ember); stroke-width: 1.5; }
.reader .fig-season .ann { font-size: 9.5px; font-weight: 800; fill: var(--p-ember-d); text-anchor: middle; }
.reader .fig-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; font-size: 12px; color: var(--p-mute); }
.reader .fig-legend span { display: inline-flex; align-items: center; gap: 6px; }
.reader .fig-legend i { width: 10px; height: 10px; border-radius: 3px; }
.reader .fig-legend i.b { background: var(--p-ink); } .reader .fig-legend i.p { background: #f6b493; } .reader .fig-legend i.a { height: 2px; border-radius: 2px; background: var(--p-ember); }

/* 2.3: single product image */
.reader .case-img { margin: 0; display: flex; flex-direction: column; background: #f4eff6; }
.reader .case-img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.reader .case-img figcaption { margin: 0; padding: 10px 16px 14px; background: var(--p-card); border-top: 1px solid var(--p-line); font-size: 12.5px; }

/* 2.7: founder dependency diagram */
.reader .fig-od { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 820px; }
.reader .fig-od figcaption { grid-column: 1 / -1; margin-top: 0; }
.reader .od-p { padding: 18px; border-radius: 18px; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line); }
.reader .od-p.bad { background: linear-gradient(180deg, var(--p-red-t), var(--p-card) 60%); }
.reader .od-p.good { background: linear-gradient(180deg, var(--p-green-t), var(--p-card) 60%); }
.reader .od-k { margin: 0 0 12px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.reader .bad .od-k { color: var(--p-red); } .reader .good .od-k { color: var(--p-green); }
.reader .od-hub { position: relative; aspect-ratio: 1.15; }
.reader .od-hub svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.reader .od-hub line { stroke: rgba(194,54,47,.45); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.reader .od-c { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); padding: 9px 14px; border-radius: 99px; background: var(--p-red); color: #fff; font-family: var(--font-d); font-weight: 600; font-size: 14px; }
.reader .od-n { position: absolute; transform: translate(-50%,-50%); padding: 5px 9px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--p-line2); font-size: 12px; font-weight: 700; color: var(--p-ink2); white-space: nowrap; }
.reader .od-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.reader .od-top { grid-column: 1 / -1; justify-self: center; padding: 8px 18px; border-radius: 99px; background: var(--p-green); color: #fff; font-family: var(--font-d); font-weight: 600; font-size: 14px; }
.reader .od-r { padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--p-line2); }
.reader .od-r b { display: block; font-size: 13px; color: var(--p-ink); }
.reader .od-r span { display: block; margin-top: 2px; font-size: 12px; color: var(--p-mute); }

/* 3.3 pair: product packaging shown whole */
.reader .pair-fig img { object-fit: cover; }

@media (max-width: 1100px) { .reader .ch-open.has-fig { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 700px) {
  .reader .fig-od { grid-template-columns: 1fr; }
  .reader .inv-tests { grid-template-columns: 1fr; }
  .reader .ch-open-fig { padding: 18px 16px 14px; }
  .reader .ev-who span { font-size: 12px; }
}

.reader .inv-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; font-size: 12px; color: var(--p-mute); }
.reader .inv-leg span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.reader .inv-leg b { color: var(--p-ink); font-weight: 700; }
.reader .inv-leg i { width: 10px; height: 10px; border-radius: 3px; }
.reader .inv-leg .cur { background: var(--p-ink); } .reader .inv-leg .cur2 { background: #6f655d; } .reader .inv-leg .risk { background: #e8836a; } .reader .inv-leg .risk2 { background: var(--p-red); } .reader .inv-leg .dead { background: repeating-linear-gradient(45deg, #9a2a24 0 2px, #c2362f 2px 4px); }
.reader .fv-track .fv-gap { height: 100%; top: 0; bottom: auto; }
.reader .case-img { background: #e0156f; align-self: start; }
.reader .od-p.good { display: flex; flex-direction: column; }
.reader .od-p.good .od-roles { flex: 1; align-content: center; }
.reader .od-r { padding: 14px; }
.reader .od-r b { font-size: 14px; }
.reader .case-img { align-self: stretch; }
.reader .case-img img { flex: 1; min-height: 0; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 1100px) { .reader .case-img img { height: auto; aspect-ratio: 1; } }

/* ---------- Case-study inserts ---------- */
.reader .cs { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); margin: 34px 0 6px; border-radius: 22px; overflow: hidden; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-line2), var(--p-shadow); }
.reader .cs-copy { padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; }
.reader .cs-eye { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--p-ember-d); margin: 0; }
.reader .cs-h { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1; letter-spacing: -.035em; color: var(--p-ink); margin: 12px 0 0; }
.reader .cs-fact { margin: 14px 0 0 !important; font-size: 17px; line-height: 1.45; font-weight: 700; color: var(--p-ink); }
.reader .cs-copy > p:not(.cs-eye):not(.cs-fact):not(.cs-why) { margin: 14px 0 0 !important; font-size: 16px; line-height: 1.62; color: var(--p-ink2); }
.reader .cs-why { margin: 22px 0 0 !important; padding-top: 16px; border-top: 1px solid var(--p-line); font-size: 15.5px; line-height: 1.5; font-weight: 600; color: var(--p-ink); }
.reader .cs-why b { color: var(--p-ember-d); font-weight: 800; }
.reader .cs-vis { margin: 0; position: relative; background: #1d1714; color: #f7f1ea; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.reader .cs-vk { margin: 0 0 22px !important; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ff8a4f; }
/* timeline */
.reader .cs-tl ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; flex: 1; align-content: center; }
.reader .cs-tl li { position: relative; padding: 0 0 22px 28px; display: grid; gap: 2px; }
.reader .cs-tl li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #1d1714; box-shadow: inset 0 0 0 2px #ff6a2b; }
.reader .cs-tl li::after { content: ""; position: absolute; left: 8.5px; top: 20px; bottom: 2px; width: 1px; background: rgba(247,241,234,.18); }
.reader .cs-tl li.end { padding-bottom: 0; }
.reader .cs-tl li.end::before { background: #ff6a2b; box-shadow: 0 0 0 5px rgba(255,106,43,.18); }
.reader .cs-tl li.end::after { display: none; }
.reader .cs-tl .d { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffb783; }
.reader .cs-tl b { font-family: var(--font-d); font-weight: 600; font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.reader .cs-tl li > span:last-child:not(.d) { font-size: 14px; color: #b6a99d; }
/* deal breakdown */
.reader .cs-deal { justify-content: center; }
.reader .cs-big { margin: 0 !important; font-family: var(--font-d); font-weight: 600; font-size: clamp(2.8rem, 2rem + 2.6vw, 4rem); letter-spacing: -.045em; line-height: .95; color: #fff; }
.reader .cs-big small { display: block; margin-top: 8px; font-family: var(--font-b, inherit); font-size: 15px; font-weight: 600; letter-spacing: 0; color: #b6a99d; }
.reader .cs-bar { display: flex; gap: 3px; height: 16px; margin: 26px 0 20px; border-radius: 999px; overflow: hidden; }
.reader .cs-bar i, .reader .cs-leg i { display: block; background: #ff6a2b; }
.reader .cs-bar .s, .reader .cs-leg .s { background: #ffb783; }
.reader .cs-bar .e, .reader .cs-leg .e { background: repeating-linear-gradient(135deg, rgba(247,241,234,.5) 0 3px, transparent 3px 7px); box-shadow: inset 0 0 0 1px rgba(247,241,234,.5); }
.reader .cs-leg { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.reader .cs-leg li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: baseline; font-size: 14.5px; color: #e7ddd2; }
.reader .cs-leg li i { width: 12px; height: 12px; border-radius: 3px; transform: translateY(1px); }
.reader .cs-leg b { font-family: var(--font-d); font-weight: 600; font-size: 1.05rem; color: #fff; white-space: nowrap; }
/* photo */
.reader .cs-photo { padding: 0; background: #2a2622; }
.reader .cs-photo img { display: block; width: 100%; flex: 1; min-height: 0; height: 100%; object-fit: cover; object-position: 50% 45%; aspect-ratio: 4 / 5; }
.reader .cs-photo figcaption { padding: 16px 20px 14px; background: #1d1714; }
.reader .cs-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.reader .cs-strip li { font-size: 13px; line-height: 1.35; color: #e7ddd2; border-top: 2px solid rgba(247,241,234,.2); padding-top: 8px; }
.reader .cs-strip li:last-child { border-top-color: #ff6a2b; }
.reader .cs-strip b { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffb783; margin-bottom: 2px; }
.reader .cs-credit { display: block; margin-top: 12px; font-size: 11.5px; color: #8a7d72; }
.reader .cs-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 860px) {
  .reader .cs { grid-template-columns: 1fr; }
  .reader .cs-photo img { height: auto; flex: none; aspect-ratio: 4 / 3.4; }
}
@media (max-width: 480px) { .reader .cs-strip { grid-template-columns: 1fr; gap: 8px; } }
.reader .cs-tl b, .reader .cs-big, .reader .cs-leg b, .reader .cs-h { word-spacing: var(--ws-d); }
@media (min-width: 861px) { .reader .cs-photo img { aspect-ratio: auto; height: 0; flex: 1 1 auto; min-height: 340px; } }
@media (min-width: 861px) { .reader .cs-photo img { object-position: 50% 78%; } }
.reader .cs-strip.n4 { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
.reader .cs-strip.n4 li:nth-child(3) { border-top-color: rgba(247,241,234,.2); }
.reader .cs-native .cs-photo img { object-position: 42% 70%; }
/* featured photos: full image, blurred fill around it */
.reader .cs-feat { padding: 0; background: #1d1714 var(--bg) center / cover no-repeat; }
.reader .cs-frame { position: relative; flex: 1; min-height: 360px; }
.reader .cs-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.reader .cs-feat .cs-credit { margin: 0; padding: 9px 16px; background: rgba(20,14,11,.82); font-size: 11.5px; color: #a3968b; }
@media (max-width: 860px) {
  .reader .cs-frame { min-height: 0; flex: none; }
  .reader .cs-frame img { position: static; height: auto; }
}
.reader .home-hero .standfirst { color: var(--p-ink2); }
