/* Investor Mode */
.app-pitch { background: #000; color: var(--text); }
.app-pitch.is-idle { cursor: none; }
.pt { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 72% 38%, #120c04 0%, #000 62%); }
.pt::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--led-off) 1.1px, transparent 1.7px); background-size: 12px 12px; opacity: 0.9; pointer-events: none; }
.pt-progress { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); z-index: 5; }
.pt-progress i { display: block; height: 100%; width: 0; background: var(--acc); box-shadow: 0 0 12px var(--acc); transition: width 0.5s var(--ease-out); }
.pt-stage { position: absolute; inset: 0 0 64px 0; }
.pt-slide {
  position: absolute; inset: 0; display: flex; padding: clamp(24px, 6vh, 72px) clamp(20px, 6vw, 104px); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateX(calc(var(--dir, 1) * 48px));
  transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-out), visibility 0s 0.6s;
}
.pt-slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.55s var(--ease-out) 0.06s, transform 0.7s var(--ease-out) 0.06s, visibility 0s; }
.pt-slide.is-out-l { transform: translateX(-48px); }
.pt-slide.is-out-r { transform: translateX(48px); }
.pt-inner { width: 100%; max-width: 1240px; margin: auto; }
.pt-slide .pt-in { opacity: 0; transform: translateY(16px); }
.pt-slide.is-on .pt-in { animation: pt-in 0.75s var(--ease-out) forwards; animation-delay: calc(0.12s + var(--k, 0) * 0.07s); }
@keyframes pt-in { to { opacity: 1; transform: none; } }

.pt-kick { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--acc); margin-bottom: 20px; }
.pt-kn { font: 800 14px var(--font-dot); padding: 2px 8px; border: 1px solid var(--acc-a35); border-radius: 4px; letter-spacing: 0.05em; }
.pt-h { font-size: clamp(26px, 3.3vw, 50px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; color: var(--text); max-width: 24ch; margin-bottom: 22px; }
.pt-statement { font-size: clamp(30px, 4.5vw, 68px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; max-width: 19ch; color: var(--text); }
.pt-statement em { font-style: normal; color: var(--acc-hi); }
.pt-acc { color: var(--acc); margin-top: 16px; text-shadow: 0 0 34px var(--acc-a35); }
.pt-h .redact { font-size: 0.42em; vertical-align: 0.5em; padding: 0 0.4em; border-radius: 3px; background: var(--muted); letter-spacing: -0.1em; }
.pt-p { font-size: clamp(14px, 1.15vw, 17px); line-height: 1.72; color: var(--text-2); max-width: 60ch; }
.pt-narrow { max-width: 74ch; margin-bottom: 4px; }
.pt-center { display: flex; flex-direction: column; }

/* cover */
.pt-cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.pt-face-wrap { width: 100%; aspect-ratio: 1; max-height: 74vh; display: grid; place-items: center; }
.pt-name { font: 900 clamp(40px, 6.2vw, 104px)/0.95 var(--font-dot); color: var(--acc); letter-spacing: 0.01em; text-shadow: 0 0 44px var(--acc-a35); }
.pt-tagline { font-size: clamp(18px, 1.9vw, 30px); font-weight: 700; color: var(--text); margin-top: 20px; letter-spacing: -0.01em; }
.pt-lead { font-size: clamp(14px, 1.1vw, 17px); color: var(--text-2); max-width: 48ch; line-height: 1.65; margin-top: 14px; }
.pt-domains { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 24px; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pt-domains span::before { content: '■ '; color: var(--acc); font-size: 8px; vertical-align: 2px; }
.pt-hint { margin-top: 30px; font-size: 12px; color: var(--dim); }

/* thesis */
.pt-seams { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 44px; }
.pt-seam { padding: 14px 12px 4px; border-top: 2px solid var(--acc); background: linear-gradient(180deg, var(--acc-a06), transparent 80%); display: grid; gap: 6px; align-content: start; }
.pt-seam b { color: var(--text); font-size: 14px; }
.pt-seam span { color: var(--muted); font-size: 12px; line-height: 1.5; }

/* metrics */
.pt-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pt-metric { padding: 22px 20px 20px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(10, 8, 5, 0.85); }
.pt-mk { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pt-mv { font: 900 clamp(38px, 4.5vw, 76px)/1 var(--font-dot); color: var(--acc); margin: 16px 0 12px; text-shadow: 0 0 30px var(--acc-a35); white-space: nowrap; }
.pt-ms { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.pt-foot { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; font-size: 12px; }
.pt-explore { display: inline-flex; align-items: center; gap: 8px; color: var(--acc); font-size: 12.5px; border-bottom: 1px dashed var(--acc-a35); padding-bottom: 2px; }
.pt-explore:hover { color: var(--acc-hot); border-bottom-color: var(--acc); }

/* path */
.pt-path { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.pt-path::before { content: ''; position: absolute; left: 8px; right: 8px; top: 7px; height: 2px; background: linear-gradient(90deg, var(--acc-lo), var(--acc)); transform-origin: left; transform: scaleX(0); }
.pt-slide.is-on .pt-path::before { animation: pt-grow 1.3s var(--ease-out) 0.35s forwards; }
@keyframes pt-grow { to { transform: scaleX(1); } }
.pt-step { position: relative; text-align: left; display: grid; gap: 8px; padding-top: 34px; align-content: start; }
.pt-dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #000; border: 2px solid var(--acc); }
.pt-step.is-now .pt-dot { background: var(--acc); box-shadow: 0 0 0 6px var(--acc-a20), 0 0 22px var(--acc); animation: pulse 2s infinite; }
.pt-step-k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pt-step.is-now .pt-step-k { color: var(--green); }
.pt-step b { font-size: clamp(14px, 1.25vw, 19px); color: var(--text); line-height: 1.25; }
.pt-step-d { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.pt-step:hover b { color: var(--acc); }

/* split slides */
.pt-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4.5vw, 72px); align-items: center; }
.pt-panel { padding: 26px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(10, 8, 5, 0.88); display: grid; gap: 14px; }
.pt-big { font: 900 clamp(44px, 5vw, 86px)/1 var(--font-dot); color: var(--acc); text-shadow: 0 0 30px var(--acc-a35); display: grid; gap: 10px; }
.pt-big small { font: 500 13px var(--font-mono); color: var(--text-2); text-shadow: none; }
.pt-big--s { font-size: clamp(34px, 3.6vw, 60px); margin-top: 6px; }
.pt-badge-ok { color: var(--green); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.pt-stores { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.pt-stores i { aspect-ratio: 1; border-radius: 4px; background: var(--acc-deep); }
.pt-slide.is-on .pt-stores i { animation: pt-store 0.35s var(--ease-out) forwards; animation-delay: calc(0.7s + var(--i) * 0.12s); }
@keyframes pt-store { to { background: var(--acc); box-shadow: 0 0 14px var(--acc); } }
.pt-lessons { display: grid; gap: 9px; margin-top: 8px; }
.pt-lessons li { position: relative; padding-left: 20px; color: var(--text); font-size: 14px; line-height: 1.55; }
.pt-lessons li::before { content: '›'; position: absolute; left: 4px; color: var(--acc); }
.pt-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 4px; }
.pt-fstep { padding: 7px 12px; border: 1px solid var(--acc-a35); border-radius: 6px; background: var(--acc-a06); font-size: 12.5px; color: var(--text); }
.pt-arrow { color: var(--acc); }

/* astro chart */
.pt-chart { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: end; height: 220px; padding: 0 8px; border-bottom: 1px solid var(--line-3); }
.pt-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; position: relative; }
.pt-col i { width: 72%; height: 0; background: repeating-linear-gradient(0deg, var(--acc) 0 6px, transparent 6px 9px); filter: drop-shadow(0 0 10px var(--acc-a35)); }
.pt-slide.is-on .pt-col i { animation: pt-bar 1.1s var(--ease-out) forwards; animation-delay: calc(0.45s + var(--i) * 0.28s); }
@keyframes pt-bar { to { height: calc(var(--h) - 34px); } }
.pt-col b { font: 800 20px var(--font-dot); color: var(--acc-hi); }
.pt-col span { position: absolute; bottom: -24px; font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.pt-chart-k { font-size: 13px; color: var(--text-2); margin-top: 30px; }
.pt-chart-k .pt-count { font: 900 26px var(--font-dot); color: var(--acc); }

/* venture slides: the brand lockup is the title (css/brands.css switches light/dark with the mode) */
.pt-bt { max-width: none; margin-bottom: 26px; line-height: 0; }
.pt-bt .pt-logo { height: clamp(46px, 5.4vw, 84px); }
.pt-bt--stratiq .pt-logo { height: clamp(32px, 3.6vw, 56px); }
.pt-bt--namoh .pt-logo { height: clamp(52px, 6vw, 96px); }
.pt-bt .bk-logo.is-text { font: 700 clamp(26px, 3.3vw, 50px)/1.12 var(--font-mono); color: var(--text); }
@media (max-width: 560px) { .pt-bt .pt-logo { height: 44px; } .pt-bt--stratiq .pt-logo { height: 30px; } .pt-bt--namoh .pt-logo { height: 50px; } }

/* HeyElda: the glasses and Elda */
.pt-heyelda { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
.pt-heyelda figure { display: grid; gap: 10px; justify-items: center; margin: 0; }
.pt-heyelda img { display: block; width: 100%; height: auto; max-height: 280px; object-fit: contain; }

/* candles */
.pt-candles { height: 220px; display: grid; grid-template-columns: repeat(28, minmax(0, 1fr)); gap: 4px; }
.pt-candles i { position: relative; opacity: 0; }
.pt-candles i::before { content: ''; position: absolute; left: 50%; width: 1px; top: var(--w0); height: var(--wh); background: currentColor; opacity: 0.55; }
.pt-candles i::after { content: ''; position: absolute; left: 12%; right: 12%; top: var(--o); height: var(--h); background: currentColor; box-shadow: 0 0 8px currentColor; }
.pt-candles i.up { color: var(--acc); }
.pt-candles i.dn { color: var(--acc-lo); }
.pt-slide.is-on .pt-candles i { animation: fade-in 0.3s forwards; animation-delay: calc(0.3s + var(--i) * 0.045s); }

/* stack, principles, collab */
.pt-stack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.pt-stack-col { padding: 18px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(10, 8, 5, 0.88); display: grid; gap: 9px; align-content: start; }
.pt-stack-col b { font-size: clamp(14px, 1.2vw, 18px); color: var(--text); }
.pt-stack-col:last-child { border-color: var(--acc-a35); }
.pt-stack-col:last-child b { color: var(--acc); }
.pt-princ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pt-pr { padding: 20px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(10, 8, 5, 0.88); display: grid; gap: 8px; align-content: start; }
.pt-prn { font: 900 28px var(--font-dot); color: var(--acc); }
.pt-pr b { font-size: clamp(15px, 1.3vw, 19px); color: var(--text); }
.pt-pr span:last-child { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.pt-collab { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pt-co { text-align: left; padding: 20px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(10, 8, 5, 0.88); display: grid; gap: 8px; align-content: start; transition: border-color 0.2s, transform 0.2s; }
.pt-co:hover { border-color: var(--acc); transform: translateY(-3px); }
.pt-con { font: 900 24px var(--font-dot); color: var(--acc); }
.pt-co b { font-size: 17px; color: var(--text); }
.pt-co span { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.pt-co em { font-style: normal; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* close */
.pt-close { text-align: center; align-items: center; gap: 18px; }
.pt-closing { font: 900 clamp(40px, 6.4vw, 108px)/1 var(--font-dot); color: var(--acc); text-shadow: 0 0 44px var(--acc-a35); max-width: 14ch; }
.pt-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.pt-links a { display: grid; gap: 2px; text-decoration: none !important; }
.pt-topics { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: 760px; }
.pt-topics .label { width: 100%; text-align: center; }
.pt-links b { color: var(--text); font-size: 15px; }
.pt-site { font: 800 18px var(--font-dot); color: var(--text-2); letter-spacing: 0.06em; }
.pt-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* chrome */
.pt-chrome { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-top: 1px solid #16120c; background: rgba(0, 0, 0, 0.92); transition: opacity 0.4s, transform 0.4s; }
.is-idle .pt-chrome { opacity: 0; transform: translateY(100%); }
.pt-brand { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.pt-brand .led { display: inline-flex; gap: 2px; }
.pt-brand .led i { width: 4px; height: 4px; border-radius: 1px; background: var(--acc); box-shadow: 0 0 6px var(--acc); }
.pt-brand .led i:nth-child(2) { opacity: 0.55; }
.pt-brand .led i:nth-child(3) { opacity: 0.25; }
.pt-nav { display: flex; align-items: center; gap: 10px; }
.pt-counter { font: 800 16px var(--font-dot); color: var(--muted); min-width: 84px; text-align: center; }
.pt-counter b { color: var(--acc); }
.pt-ctl { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: var(--text-2); border: 1px solid var(--kbd-line); }
.pt-ctl:hover { color: var(--acc); border-color: var(--acc-lo); }
.pt-timer { width: auto; padding: 0 12px; font: 500 12px var(--font-mono); }
.pt-tools { display: flex; gap: 6px; }
.pt-notes { position: absolute; left: 50%; bottom: 80px; z-index: 7; transform: translateX(-50%); width: min(920px, calc(100% - 32px)); padding: 14px 18px; border: 1px solid var(--acc-a35); border-radius: 10px; background: rgba(8, 6, 3, 0.97); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8); }
.pt-notes p { margin: 6px 0 0; color: var(--text); font-size: 14px; line-height: 1.6; }
.pt-black { position: absolute; inset: 0; z-index: 20; background: #000; cursor: pointer; }

@media (max-width: 960px) {
  .pt-cover, .pt-split { grid-template-columns: 1fr; }
  .pt-face-wrap { max-width: min(340px, 80vw); max-height: 42vh; margin: 0 auto; }
  .pt-seams { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-metrics, .pt-stack, .pt-princ, .pt-collab { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-path { grid-template-columns: 1fr; gap: 18px; }
  .pt-path::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; transform-origin: top; transform: scaleY(0); }
  .pt-slide.is-on .pt-path::before { animation-name: pt-grow-y; }
  .pt-step { padding: 0 0 0 34px; }
  .pt-slide { padding: 28px 18px 28px; }
  .pt-brand { display: none; }
}
@keyframes pt-grow-y { to { transform: scaleY(1); } }
@media (max-width: 560px) {
  .pt-chrome { height: 58px; padding: 0 10px; }
  .pt-stage { bottom: 58px; }
  .pt-metrics, .pt-stack, .pt-princ, .pt-collab { grid-template-columns: 1fr; }
  .pt-seams { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
  .pt-timer { display: none; }
  .pt-chart { height: 170px; }
  .pt-mv { margin: 10px 0 8px; }
}

/* ── Raised boxes (both modes; tokens: --nb-*) ── */
:root .pt-kn { border: 2px solid var(--nb-line); background: var(--nb-tag-bg); color: var(--nb-tag-fg); }
:root .pt-metric, :root .pt-panel, :root .pt-stack-col, :root .pt-pr, :root .pt-co {
  background: var(--nb-card); border: 2px solid var(--nb-line); box-shadow: var(--nb-shadow); border-radius: 4px;
}
:root .pt-co:hover { transform: translate(-2px, -3px); box-shadow: 6px 7px 0 var(--nb-line); border-color: var(--nb-line); }
:root .pt-stack-col:last-child { background: var(--nb-tag-bg); }
:root .pt-stack-col:last-child b { color: var(--text); }
[data-mode='dark'] .pt-notes { border: 2px solid var(--nb-line); box-shadow: 4px 4px 0 #2e261d; }
[data-mode='dark'] .pt-ctl { border-width: 2px; }
:root .pt-fstep { background: var(--nb-tag-bg); border: 2px solid var(--nb-line); color: var(--text); border-radius: 0; box-shadow: 2px 2px 0 var(--nb-line); }

/* ── Light mode: printed slides — paper, ink borders, hard shadows ── */
[data-mode='light'] .app-pitch, [data-mode='light'] .pt, [data-mode='light'] .pt-black { background: var(--bg); }
[data-mode='light'] .pt::before { background-image: radial-gradient(circle, var(--led-off) 1px, transparent 1.6px); opacity: 0.7; }
[data-mode='light'] .pt-progress i { box-shadow: none; }
[data-mode='light'] .pt-name, [data-mode='light'] .pt-closing, [data-mode='light'] .pt-acc, [data-mode='light'] .pt-mv, [data-mode='light'] .pt-big { text-shadow: none; }
[data-mode='light'] .pt-seam { border-top: 3px solid var(--nb-line); background: linear-gradient(180deg, var(--acc-a10), transparent 80%); }
[data-mode='light'] .pt-dot { background: var(--bg); border-color: var(--nb-line); }
[data-mode='light'] .pt-step.is-now .pt-dot { background: var(--nb-fill); box-shadow: 0 0 0 5px var(--acc-a20); }
[data-mode='light'] .pt-path::before { background: var(--nb-line); }
[data-mode='light'] .pt-stores i { background: var(--line); border: 1.5px solid var(--nb-line); border-radius: 2px; }
[data-mode='light'] .pt-slide.is-on .pt-stores i { animation-name: pt-store-ink; }
@keyframes pt-store-ink { to { background: var(--nb-fill); } }
[data-mode='light'] .pt-chart { border-bottom: 2px solid var(--nb-line); }
[data-mode='light'] .pt-chrome { background: var(--chrome); border-top: 2px solid var(--nb-line); }
[data-mode='light'] .pt-ctl { border: 2px solid var(--nb-line); color: var(--text); }
[data-mode='light'] .pt-ctl:hover { background: var(--nb-fill); color: var(--nb-fill-ink); }
[data-mode='light'] .pt-counter b { color: var(--text); }
[data-mode='light'] .pt-notes { background: var(--surface-pop); border: 2px solid var(--nb-line); box-shadow: var(--shadow-pop); border-radius: 4px; }
[data-mode='light'] .pt-brand .led i { box-shadow: none; }
