@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700&display=swap");
/* Common presentation template. Deck-specific content and figures stay local. */
:root { --bg: #efeeef; --bg-alt: #f3f3f3; --bg-tint: #dbdbdb; --bg-ink: #212326; --ink: #1e1e2b; --text: #474852; --mute: #767676; --faint: #a4a4a7; --inv-hi: #efeeef; --inv: #c9c9cc; --inv-mute: #8a8a8f; --rule: rgba(30,30,43,.12); --rule-strong: rgba(30,30,43,.24); --rule-inv: rgba(239,238,239,.14); --alert: #ff073a; --display: 'Inter Tight','Alliance No. 1','Neue Haas Grotesk','Helvetica Neue',Arial,sans-serif; --mono: var(--display); --fz-display: clamp(32px, 3.65vw, 56px); --fz-hero: clamp(30px, 3.7vw, 54px); --fz-lead: clamp(18px, 1.4vw, 21px); --fz-body: 18px; --fz-label: 16px; --fz-note: 12px; --fz-cap: 11px; --edge: max(clamp(40px, 4vw, 60px), calc((100vw - 1440px) / 2)); --bg-soft: #fafafb; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; background: var(--bg); }
body { font-family: var(--display); color: var(--text); }
button { font: inherit; color: inherit; }
strong { font-weight: 600; color: var(--ink); }
.deck { height: 100vh; overflow-y: scroll; scroll-snap-type: y proximity; scrollbar-width: none; scroll-behavior: smooth; }
.deck::-webkit-scrollbar { display: none; }
.slide { min-height: 100vh; scroll-snap-align: start; scroll-snap-stop: normal; position: relative; display: grid; grid-template-rows: auto 1fr auto; background: var(--bg); }
.slide.on-dark { background: var(--bg-ink); color: var(--inv); }
.slide-top, .slide-bottom { display: flex; align-items: center; justify-content: space-between; padding: clamp(14px, 2.4vh, 24px) var(--edge); font-size: var(--fz-cap); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); position: relative; }
.on-dark .slide-top, .on-dark .slide-bottom { color: var(--inv-mute); }
.slide-top::after, .slide-bottom::before { content: ""; position: absolute; left: var(--edge); right: var(--edge); height: 1px; background: var(--rule); }
.slide-top::after { bottom: 0; }
.slide-bottom::before { top: 0; }
.on-dark .slide-top::after, .on-dark .slide-bottom::before { background: var(--rule-inv); }
.slide-mark { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 17px; line-height: 1; letter-spacing: normal; text-transform: none; }
.on-dark .slide-mark { color: var(--inv-hi); }
.slide-mark svg { width: 18px; height: 18px; }
.slide-body { display: flex; flex-direction: column; justify-content: flex-start; width: 100%; min-width: 0; padding: clamp(24px,4vh,48px) var(--edge); gap: clamp(20px,3vh,32px); }
.slide-title { font-weight: 400; font-size: var(--fz-display); color: var(--ink); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.on-dark .slide-title { color: var(--inv-hi); }
.slide-lead { font-size: var(--fz-lead); font-weight: 400; letter-spacing: -0.015em; color: var(--ink); text-align: left; line-height: 1.25; }
.on-dark .slide-lead { color: var(--inv-hi); }
.on-dark strong { color: var(--inv-hi); }
.split { display: grid; grid-template-columns: minmax(0,4.6fr) minmax(0,7fr); gap: clamp(28px,4vw,56px); align-items: center; flex: 1 0 auto; min-width: 0; }
.split-left, .split-right { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.slide:first-child .slide-body, .closing-body { justify-content: center; }
.hero-split, .closing-grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: clamp(40px,5vw,96px); align-items: center; width: 100%; }
.hero-statement { font-size: var(--fz-hero); font-weight: 400; line-height: 1.14; letter-spacing: -0.025em; color: var(--inv-hi); max-width: 24ch; text-align: left; }
.hero-right, .closing-brand { display: flex; flex-direction: column; align-items: center; gap: clamp(20px,3.4vh,40px); }
.hero-brand { color: var(--inv-hi); line-height: 0; }
.hero-brand-svg { width: clamp(92px,8.5vw,144px); height: clamp(92px,8.5vw,144px); display: block; }
.hero-brand-net { transform-origin: 16px 16px; }
.brand-wordmark { font-weight: 500; font-size: clamp(1.2rem,2.2vw,2rem); letter-spacing: -0.02em; color: var(--inv-hi); line-height: 1; white-space: nowrap; }
.brand-wordmark .tm { font-size: 0.55em; vertical-align: super; line-height: 0; margin-left: 0.15em; opacity: 0.7; }
.hero-title { font-weight: 400; font-size: clamp(1.7rem,3.4vw,2.9rem); line-height: 1.05; letter-spacing: -.025em; color: var(--inv-hi); text-align: center; }
.hero-title .hw { display: block; }
.hero-credit, .ask-credit { display: flex; flex-direction: column; gap: 4px; text-align: center; align-items: center; margin-top: clamp(20px,4vh,40px); color: var(--inv); font-size: var(--fz-label); line-height: 1.4; }
.hero-credit .hc-name { font-size: var(--fz-body); color: var(--inv-hi); letter-spacing: -.01em; }
.hero-credit .hc-role, .hero-credit .hc-aff { font-size: var(--fz-label); letter-spacing: -.005em; color: var(--inv); line-height: 1.5; }
.eco-tree { display: flex; flex-direction: column; gap: clamp(14px,2vh,20px); }
.eco-tree-figure { position: relative; padding: clamp(14px,2vh,22px) clamp(14px,1.6vw,20px); background: var(--bg-alt); border: 1px solid var(--rule); min-height: 300px; display: flex; align-items: center; justify-content: center; }
.tt-svg { width: 100%; height: auto; display: block; }
.tt-lbl { font-size: var(--fz-note); letter-spacing: .04em; text-anchor: middle; }
.eco-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.eco-legend-item { display: flex; align-items: center; gap: 8px; font-size: var(--fz-note); letter-spacing: -0.005em; }
.tt-glyph { width: 16px; height: 16px; flex-shrink: 0; }
.demo-frame-light { position: relative; background: #fafafa; border: 1px solid var(--rule-strong); padding: 14px; }
.demo-frame-light::before { content: ""; position: absolute; top: -1px; left: 14px; width: 96px; height: 2px; background: var(--mute); }
.demo-frame-light .br { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink); pointer-events: none; }
.demo-frame-light .br-tl { top: 4px; left: 4px; border-top-width: 1px; border-left-width: 1px; }
.demo-frame-light .br-tr { top: 4px; right: 4px; border-top-width: 1px; border-right-width: 1px; }
.demo-frame-light .br-bl { bottom: 4px; left: 4px; border-bottom-width: 1px; border-left-width: 1px; }
.demo-frame-light .br-br { bottom: 4px; right: 4px; border-bottom-width: 1px; border-right-width: 1px; }
.demo-stage-light { position: relative; width: 100%; aspect-ratio: 16/9; background: #fafafa; overflow: hidden; }
.demo-stage-light iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #fafafa; }
.demo-playbar { margin-top: 12px; }
.playbar { height: 44px; background: var(--bg-alt); border: 1px solid var(--rule); border-top: none; display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.playbar-track { flex: 1; height: 2px; background: var(--rule); position: relative; cursor: pointer; touch-action: none; }
.playbar-fill { position: absolute; top: 0; left: 0; height: 100%; background: var(--ink); width: 0; pointer-events: none; }
.playbar-handle { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; background: var(--ink); transform: translate(-50%,-50%); cursor: grab; z-index: 2; }
.playbar-time { font-size: 10px; letter-spacing: .08em; white-space: nowrap; min-width: 4ch; text-align: right; user-select: none; }
.playbar-pause, .playbar-spd { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; background: transparent; border: 1px solid var(--rule-strong); cursor: pointer; white-space: nowrap; }
.playbar-pause { width: 26px; height: 26px; padding: 0; display: flex; align-items: center; justify-content: center; }
.playbar-pause svg { width: 8px; height: 10px; }
.kbd-hint { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); opacity: .55; pointer-events: none; z-index: 99; transition: opacity .4s ease; white-space: nowrap; }
.typewriter-cursor { display: inline-block; width: 2px; height: 0.85em; margin-left: 1px; vertical-align: -0.05em; background: currentColor; animation: tw-blink 1s step-end infinite; }
.pz-fig { width: 100%; height: clamp(300px,46vh,440px); position: relative; }
.pz-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pz-piece { filter: drop-shadow(0 1px 2px rgba(30,30,43,.11)); }
.pz-lift { filter: drop-shadow(0 8px 14px rgba(30,30,43,.16)); }
.pz-shape { fill: #fafafb; stroke: rgba(30,30,43,.28); stroke-width: 1; stroke-linejoin: round; }
.pz-void { fill: var(--bg); }
.pz-seam { fill: none; stroke: #fafafb; stroke-width: 1.6; stroke-opacity: .45; }
.pz-brand { fill: none; stroke: var(--ink); stroke-linecap: square; }
.pz-icon { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pz-lbl { fill: var(--ink); font-family: var(--display); font-size: var(--fz-label); letter-spacing: -0.01em; text-anchor: middle; }
.pz-ask { fill: var(--ink); font-family: var(--display); font-size: var(--fz-body); font-weight: 700; letter-spacing: -0.015em; text-anchor: middle; }
.pz-centre { animation: pz-halo-in 1.1s ease-out both, pz-halo 5.2s ease-in-out 1.1s infinite; }
.playbar-handle:active { cursor: grabbing; }
.playbar-time { font-family: var(--mono); color: var(--mute); }
.playbar-pause, .playbar-spd { font-family: var(--mono); color: var(--text); transition: color .16s ease, border-color .16s ease, background .16s ease; }
.playbar-pause:hover, .playbar-spd:hover { color: var(--ink); border-color: var(--ink); }
@keyframes pz-halo-in {
  from { filter: drop-shadow(0 0 5px rgba(255,255,255,0)) drop-shadow(0 0 9px rgba(255,255,255,0)) drop-shadow(0 0 14px rgba(255,255,255,0)) drop-shadow(0 0 18px rgba(30,30,43,0)) drop-shadow(0 0 40px rgba(30,30,43,0)); }
  to { filter: drop-shadow(0 0 5px rgba(255,255,255,1)) drop-shadow(0 0 9px rgba(255,255,255,1)) drop-shadow(0 0 14px rgba(255,255,255,.9)) drop-shadow(0 0 18px rgba(30,30,43,.10)) drop-shadow(0 0 40px rgba(30,30,43,.14)); }
}
@keyframes pz-halo {
  0%,100% { filter: drop-shadow(0 0 5px rgba(255,255,255,1)) drop-shadow(0 0 9px rgba(255,255,255,1)) drop-shadow(0 0 14px rgba(255,255,255,.9)) drop-shadow(0 0 18px rgba(30,30,43,.10)) drop-shadow(0 0 40px rgba(30,30,43,.14)); }
  50% { filter: drop-shadow(0 0 6px rgba(255,255,255,1)) drop-shadow(0 0 11px rgba(255,255,255,1)) drop-shadow(0 0 17px rgba(255,255,255,1)) drop-shadow(0 0 22px rgba(30,30,43,.13)) drop-shadow(0 0 48px rgba(30,30,43,.18)); }
}
.slide-mark { text-decoration: none; cursor: pointer; transition: opacity .2s ease; }
.slide-mark:hover { opacity: .68; }
.slide-mark .wordmark { font-size: .94em; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.slide-mark .wordmark .accent { color: var(--alert); }
.slide-mark .wordmark::after { content: "™"; margin-left: .15em; vertical-align: super; font-size: .585em; font-weight: 500; line-height: 0; letter-spacing: normal; opacity: .7; }
.brand-wordmark { font-family: var(--mono); }
.brand-wordmark .accent { color: var(--alert); }
.brand-wordmark .tm { letter-spacing: normal; }
.hero-brand.spin .hero-brand-net { animation: heroBrandSpin 1.6s cubic-bezier(.2,0,0,1); }
.hero-title { font-family: var(--mono); margin: 0; }
.hero-title .accent { text-shadow: 0 0 22px rgba(239,238,239,.32),0 0 8px rgba(239,238,239,.22); animation: accent-breathe 5.2s ease-in-out infinite; }
.kbd-hint { font-family: var(--mono); }
.kbd-hint.fade { opacity: 0; }
@keyframes heroBrandSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* Shared text, closing and reveal primitives; local files style figures only. */
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
::selection { background: var(--ink); color: var(--bg); }
.slide-lead > span { display: block; }
.slide-lead > span + span { margin-top: .65em; }
.slide-lead strong, .lede-strong { font-weight: 700; }
.slide-lead .bullet { position: relative; padding-left: 1.05em; }
.slide-lead .bullet::before { content: "•"; position: absolute; left: 0; color: var(--mute); }
.hero-title { min-width: 9ch; min-height: 3.15em; }
.closing-grid .slide-title { margin-bottom: 24px; }
.closing-points { display: flex; flex-direction: column; gap: .65em; font-size: var(--fz-lead); line-height: 1.25; color: var(--inv-hi); }
.closing-points strong { color: inherit; }
.ask-credit .hc-name { font-size: var(--fz-body); color: var(--inv-hi); }
.ask-credit a:hover { text-decoration: underline; }
.forensic-stack { display: flex; flex-direction: column; gap: .65em; font-size: var(--fz-lead); line-height: 1.25; color: var(--ink); }
.solution-intro { margin-bottom: .65em; }
.demo-frame-light { width: 100%; }
.eco-tree { width: 100%; }
.tt-lbl { fill: var(--mute); font-family: var(--mono); }
.eco-legend-item { color: var(--mute); }
.hero-statement .halo { color: var(--inv-hi); animation: accent-breathe 5.2s ease-in-out infinite; }
@keyframes tw-blink {
  50% { opacity: 0; }
}
@keyframes accent-breathe {
  0%,100% { text-shadow: 0 0 22px rgba(239,238,239,.28); }
  50% { text-shadow: 0 0 32px rgba(239,238,239,.48); }
}
@media (prefers-reduced-motion: no-preference) {
  .deck.anim .slide .slide-content > * { opacity: 0; transform: translateY(12px); transition: opacity .55s ease,transform .55s ease; }
  .deck.anim .slide.active-slide .slide-content > * { opacity: 1; transform: none; }
  .deck.anim .slide .slide-content > .slide-title { opacity: 1; transform: none; }
}
.split-right > figure > svg { max-height: clamp(260px,45dvh,480px); }
.lede { display: block; margin-bottom: 1em }
.lede-strong { font-weight: 700; color: var(--ink) }
.body-note { display: block; margin-top: 1em; color: var(--ink) }
.prompt { display: block; margin-bottom: .5em; color: var(--ink) }
.on-dark .prompt { color: var(--inv-mute) }
.bullets { list-style: none; display: flex; flex-direction: column; gap: .42em }
.bullets li { position: relative; padding-left: 1.05em }
.bullets li::before { content: "•"; position: absolute; left: 0; color: var(--ink) }
.on-dark .bullets li::before { color: var(--inv-mute) }
