html, body { height: 100%; overflow: hidden; }
body.deck-body { background-color: var(--bg); }

.viewport { position: fixed; inset: 0; z-index: 1; overflow: hidden; }
.stage {
  --scale: 1;
  position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px;
  margin: -540px 0 0 -960px;
  scale: var(--scale);
}

.slide {
  position: absolute; inset: 0; padding: 96px 128px;
  display: flex; flex-direction: column; justify-content: center;
  font-size: 36px; line-height: 1.35;
  opacity: 0; pointer-events: none;
  transition: opacity 600ms var(--ease), translate 700ms var(--ease), scale 700ms var(--ease);
  translate: 0 40px;
}
.slide.is-past { translate: 0 -40px; }
.slide.is-active { opacity: 1; translate: 0 0; pointer-events: auto; }

.slide h1 { font-size: 112px; line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 28px; font-weight: 700; }
.slide h2 { font-size: 76px; line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 40px; font-weight: 700; }
.slide h3 { font-size: 40px; margin: 0 0 16px; font-weight: 600; letter-spacing: -0.01em; }
.slide p { margin: 0 0 20px; color: var(--text-2); }
.kicker { font: 600 26px/1 var(--font); letter-spacing: 0.02em; color: var(--primary-300); margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 40px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #3b82f6, #22c55e); }
.lede { font-size: 44px; color: var(--text-2); max-width: 1400px; }
.big { font-size: 56px; }
.huge { font-size: 160px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.center { align-items: center; text-align: center; }
.row { display: flex; gap: 32px; }
.grid { display: grid; gap: 32px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.pad { padding: 36px 40px; }
.slide .card p:last-child { margin-bottom: 0; }

[data-at], [data-from] {
  opacity: 0; translate: 0 18px;
  transition: opacity 500ms var(--ease), translate 600ms var(--ease), scale 600ms var(--ease), filter 600ms var(--ease);
}
[data-at].on, [data-from].on { opacity: 1; translate: 0 0; }
.swap { display: grid; }
.swap > * { grid-area: 1 / 1; }
.pop[data-at], .pop[data-from] { translate: 0 0; scale: 0.9; }
.pop.on { scale: 1; }

.cite { position: absolute; left: 128px; right: 128px; bottom: 44px; font-size: 18px; color: var(--text-3); line-height: 1.4; }
.cite a { color: var(--text-3); }
.tbc { color: #fbbf24; background: rgba(251, 191, 36, 0.12); box-shadow: inset 0 0 0 2px rgba(251, 191, 36, 0.5); border-radius: 8px; padding: 0 10px; font-family: var(--mono); font-size: 0.7em; }

.deck-progress { position: fixed; left: 0; right: 0; bottom: 0; height: 4px; z-index: 5; background: rgba(255, 255, 255, 0.06); }
.deck-progress > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3b82f6, #22c55e); transition: width 500ms var(--ease); }
.deck-counter { position: fixed; right: 20px; bottom: 14px; z-index: 5; font: 500 13px/1 var(--mono); color: var(--text-3); }
.deck-brand { position: fixed; left: 24px; bottom: 14px; z-index: 5; height: 20px; opacity: 0.7; }
.deck-nav { position: fixed; right: 16px; bottom: 36px; z-index: 6; display: none; gap: 8px; }
.deck-nav .btn { min-width: 48px; }
@media (hover: none) { .deck-nav { display: flex; } }
body.blackout .viewport { opacity: 0; }
body.blackout .ambient { opacity: 0.15; }
.viewport { transition: opacity 400ms ease; }

.is-presenter .viewport { inset: 0 0 auto 0; height: 46vh; }
.presenter {
  position: fixed; left: 0; right: 0; bottom: 0; height: 54vh; z-index: 10; overflow: auto;
  padding: 20px 28px; background: var(--surface-strong); border-top: 1px solid var(--card-border);
  font-size: 22px; line-height: 1.45;
}
.p-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; }
.p-timer { font-family: var(--mono); font-size: 34px; }
.p-timer.over { color: var(--danger); }
.p-now { font-family: var(--mono); color: var(--text-3); }
.p-budget { color: var(--warning-300); font-size: 18px; margin-top: 6px; }
.p-notes { margin: 14px 0; color: var(--text); }
.p-notes li { margin-bottom: 6px; }
.p-next { color: var(--text-3); }
aside.notes { display: none; }

.media-missing {
  display: grid; place-items: center; min-height: 360px; height: 100%; width: 100%;
  border-radius: 16px; border: 3px dashed rgba(251, 191, 36, 0.6); color: #fbbf24;
  font: 500 24px/1.3 var(--mono); padding: 24px; text-align: center; background: rgba(251, 191, 36, 0.06);
}
.shot { border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--hairline), 0 0 0 2px var(--edge), var(--shadow-raised); background: var(--surface-solid); }
.shot img, .shot video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0b1020; }

.logo-title { height: 92px; margin-bottom: 44px; align-self: flex-start; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; font-size: 26px; font-weight: 600; background: var(--subtle); box-shadow: inset 0 0 0 1px var(--card-border); }

/* foundation stack */
.stack { display: flex; flex-direction: column; gap: 18px; width: 1200px; margin: 0 auto; }
.layer { padding: 26px 36px; text-align: center; font-size: 38px; font-weight: 600; transition: box-shadow 600ms var(--ease), background-color 600ms var(--ease), color 600ms var(--ease), scale 600ms var(--ease); }
.layer.row4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0; background: none; box-shadow: none; }
.layer.row4 > div { padding: 26px 0; }
.foundation .os { font-size: 44px; padding: 40px; }
.foundation.s1 .attn { box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.8), 0 0 0 2px var(--edge), inset 0 1px 0 var(--highlight), 0 0 60px -6px rgba(59, 130, 246, 0.7); scale: 1.02; }
.foundation.s2 .attn { box-shadow: 0 0 0 1px var(--hairline), 0 0 0 2px var(--edge), inset 0 1px 0 var(--highlight), var(--shadow); scale: 1; opacity: 0.55; }
.foundation.s2 .os { box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.9), inset 0 1px 0 var(--highlight), 0 0 80px -10px rgba(239, 68, 68, 0.8); color: var(--danger-300); }
.cve-rain { display: flex; justify-content: center; gap: 16px; margin-top: 22px; pointer-events: none; }
.cve-rain .badge { position: relative; font-size: 24px; translate: 0 -40px; opacity: 0; transition: translate 700ms var(--ease), opacity 500ms var(--ease); }
.foundation.s2 .cve-rain .badge { translate: 0 0; opacity: 1; }

/* cycle */
.cycle { position: relative; width: 820px; height: 820px; margin: 0 auto; }
.cycle .ring { position: absolute; inset: 120px; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.08); overflow: hidden; }
.cycle .ring::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 250deg, #3b82f6 310deg, #22c55e 355deg, transparent 360deg); animation: emphasis-orbit 4s linear infinite; mask: radial-gradient(closest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); }
.cycle .ring { inset: 120px; }
.cycle .ring::before { inset: 0; mask: radial-gradient(closest-side, transparent 97%, #000 98%); -webkit-mask: radial-gradient(closest-side, transparent 97%, #000 98%); }
.cycle .word { position: absolute; translate: -50% -50%; padding: 22px 36px; font-size: 52px; font-weight: 700; white-space: nowrap; animation: cycle-lit 4s linear infinite; }
.cycle .word:nth-child(2) { left: 50%; top: 120px; animation-delay: -4s; }
.cycle .word:nth-child(3) { left: 700px; top: 50%; animation-delay: -3s; }
.cycle .word:nth-child(4) { left: 50%; top: 700px; animation-delay: -2s; }
.cycle .word:nth-child(5) { left: 120px; top: 50%; animation-delay: -1s; }
.cycle .word.cve { color: var(--danger-300); }
.cycle .word.patch { color: var(--success-300); }
.cycle .hub { position: absolute; left: 50%; top: 50%; translate: -50% -50%; text-align: center; font-size: 30px; color: var(--text-3); }
@keyframes cycle-lit { 0%, 20% { box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.9), 0 0 0 2px var(--edge), 0 0 50px -4px rgba(59, 130, 246, 0.8); scale: 1.06; } 25%, 100% { box-shadow: 0 0 0 1px var(--hairline), 0 0 0 2px var(--edge), inset 0 1px 0 var(--highlight), var(--shadow); scale: 1; } }

/* architecture morph */
.arch { position: relative; width: 1664px; height: 720px; margin: 0 auto; }
.arch .node { position: absolute; padding: 26px 30px; transition: left 900ms var(--ease), top 900ms var(--ease), width 900ms var(--ease), height 900ms var(--ease), box-shadow 600ms var(--ease), background-color 600ms var(--ease); }
.arch .node h4 { margin: 0 0 6px; font-size: 22px; font-weight: 600; color: var(--text-3); letter-spacing: 0.02em; }
.arch .node .swap { font-size: 38px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.arch .node .sub { font-size: 22px; color: var(--text-3); margin-top: 8px; }
.arch .swap > [data-from] { translate: 0 10px; }
.arch .swap > [data-from].on { translate: 0 0; }
.n-agent { left: 0; top: 250px; width: 440px; height: 220px; }
.n-server { left: 612px; top: 250px; width: 440px; height: 220px; }
.n-db { left: 1224px; top: 430px; width: 440px; height: 170px; }
.n-ui { left: 1224px; top: 120px; width: 440px; height: 170px; }
.s6 .arch .n-server { box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.9), 0 0 0 2px var(--edge), 0 0 60px -10px rgba(34, 197, 94, 0.7); }
.s6 .arch .n-ui { left: 662px; top: 70px; width: 340px; height: 140px; }
.s6 .arch .n-db { left: 662px; top: 510px; width: 340px; height: 140px; }
.s6 .arch .n-server { top: 245px; height: 230px; }
.arch .chips { position: absolute; display: flex; flex-wrap: wrap; gap: 10px; }
.arch .chips .badge { font-size: 20px; }
.c-os { left: 0; top: 500px; width: 460px; }
.c-scan { left: 0; top: 140px; width: 460px; }
.c-int { left: 1224px; top: 230px; width: 440px; flex-direction: column; gap: 16px; }
.c-int .card { padding: 18px 24px; font-size: 28px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.arch .wire { position: absolute; height: 4px; border-radius: 2px; transition: all 900ms var(--ease); background-image: repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.7) 0 14px, transparent 14px 26px); background-size: 26px 4px; animation: wire-flow 1.2s linear infinite; }
.w-a { left: 450px; top: 358px; width: 152px; }
.w-ui { left: 1062px; top: 300px; width: 152px; rotate: -18deg; transform-origin: left center; }
.w-db { left: 1062px; top: 420px; width: 152px; rotate: 18deg; transform-origin: left center; }
.s6 .arch .w-ui, .s6 .arch .w-db { opacity: 0; }
.s3 .arch .w-a { background-image: linear-gradient(90deg, #3b82f6, #22c55e); height: 6px; animation: none; box-shadow: 0 0 24px rgba(59, 130, 246, 0.8); }
.w-a .pulse { position: absolute; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px #60a5fa; opacity: 0; }
.s3 .arch .w-a .pulse { opacity: 1; animation: pulse-run 1.6s var(--ease) infinite; }
.s3 .arch .w-a .pulse.r { animation-name: pulse-back; animation-delay: 0.8s; }
.s3 .arch .w-a { background-image: linear-gradient(90deg, #3b82f6, #22c55e); height: 6px; animation: none; box-shadow: 0 0 24px rgba(34, 197, 94, 0.8); }
.w-label { position: absolute; left: 430px; top: 290px; width: 200px; text-align: center; font: 500 20px/1.2 var(--mono); color: var(--text-3); }
@keyframes wire-flow { to { background-position: 26px 0; } }
@keyframes pulse-run { from { left: 0; } to { left: calc(100% - 16px); } }
@keyframes pulse-back { from { left: calc(100% - 16px); } to { left: 0; } }
.arch-caption { margin-top: 24px; text-align: center; font-size: 34px; color: var(--text-2); min-height: 50px; }

/* compare */
.vs { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: stretch; }
.vs .arrow { display: grid; place-items: center; font-size: 80px; color: var(--text-3); }
.metric { font-size: 92px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 10px 0 10px; }
.metric.bad { color: var(--danger-300); }
.metric.good { color: var(--success-300); }
.label { font-size: 24px; color: var(--text-3); font-weight: 500; }

/* stats */
.stat { padding: 40px; }
.stat .n { font-size: 104px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 28px; color: var(--text-2); margin-top: 14px; }
.stat .src { font-size: 18px; color: var(--text-3); margin-top: 10px; }

/* bars */
.bars { display: flex; align-items: flex-end; gap: 22px; height: 420px; padding: 0 12px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 12px; font-size: 22px; color: var(--text-3); }
.bars .b i { display: block; width: 100%; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #60a5fa, #2563eb); height: 0; transition: height 900ms var(--ease); box-shadow: 0 0 30px -8px rgba(59, 130, 246, 0.8); }
.bars .b span { font-weight: 700; font-size: 30px; color: var(--text); }
.bars.on .b i { height: var(--h); }
.bars .b.gap i { background: rgba(148, 163, 184, 0.25); box-shadow: none; }

/* issues sorter */
.sorter { position: relative; height: 640px; }
.issue { position: absolute; width: 700px; padding: 20px 26px; font-size: 27px; display: flex; gap: 16px; align-items: center; transition: left 900ms var(--ease), top 900ms var(--ease), width 900ms var(--ease), opacity 600ms var(--ease); }
.issue .mono { color: var(--text-3); font-size: 22px; }
.lane { position: absolute; top: 0; width: 520px; height: 640px; padding: 26px; opacity: 0; transition: opacity 600ms var(--ease); }
.lane h3 { font-size: 30px; display: flex; gap: 12px; align-items: center; }
.s1 .sorter .lane { opacity: 1; }
.l1 { left: 0; } .l2 { left: 572px; } .l3 { left: 1144px; }

/* ladder */
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: end; }
.ladder .card { padding: 30px 26px; }
.ladder .card:nth-child(1) { min-height: 260px; }
.ladder .card:nth-child(2) { min-height: 330px; }
.ladder .card:nth-child(3) { min-height: 400px; }
.ladder .card:nth-child(4) { min-height: 470px; }
.ladder .card:nth-child(5) { min-height: 540px; box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.8), 0 0 0 2px var(--edge), 0 0 60px -10px rgba(34, 197, 94, 0.7); }
.ladder h3 { font-size: 34px; }
.ladder p { font-size: 24px; }
.ladder .q { font-family: var(--mono); font-size: 22px; color: var(--primary-300); margin-bottom: 14px; }

/* meme */
.meme { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--hairline), var(--shadow-raised); }
.meme > div { padding: 40px; min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.meme .top { background: var(--card-bg); }
.meme .cap { font-size: 46px; font-weight: 700; line-height: 1.15; }
.dash-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mini { height: 130px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mini i { display: block; height: 8px; border-radius: 4px; background: rgba(148, 163, 184, 0.35); }
.mini i.g { background: rgba(34, 197, 94, 0.7); }
.mini i.b { background: rgba(59, 130, 246, 0.7); }
.mini .spark { flex: 1; border-radius: 8px; background: linear-gradient(180deg, rgba(59, 130, 246, 0.35), transparent); clip-path: polygon(0 80%, 15% 55%, 30% 65%, 45% 30%, 60% 45%, 75% 20%, 90% 35%, 100% 10%, 100% 100%, 0 100%); }
.term { font: 400 28px/1.55 var(--mono); padding: 30px 34px; white-space: pre; color: #e2e8f0; background: rgba(2, 6, 23, 0.86); border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), var(--shadow-raised); }
.term .p { color: #22c55e; }
.term .r { color: #fca5a5; }
.term .y { color: #fcd34d; }
.term .d { color: #64748b; }

.iso { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 230px; height: 230px; border-radius: 50%; text-align: center; background: var(--card-bg); box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.5), 0 0 0 10px rgba(59, 130, 246, 0.08), var(--shadow); }
.iso b { font-size: 26px; color: var(--text-3); font-weight: 600; }
.iso strong { font-size: 54px; letter-spacing: -0.02em; }
.iso span { font-size: 18px; color: var(--text-3); margin-top: 4px; }

.qr { width: 420px; height: 420px; padding: 26px; background: #fff; border-radius: 28px; box-shadow: 0 0 0 1px var(--hairline), 0 30px 80px -20px rgba(59, 130, 246, 0.6); }
.qr img { width: 100%; height: 100%; display: block; }
.s1 .sorter .issue { width: 468px; font-size: 25px; }
.s1 .sorter .i101 { left: 26px; top: 96px; }
.s1 .sorter .i106 { left: 26px; top: 188px; }
.s1 .sorter .i102 { left: 598px; top: 96px; }
.s1 .sorter .i104 { left: 598px; top: 188px; }
.s1 .sorter .i107 { left: 598px; top: 280px; }
.s1 .sorter .i103 { left: 1170px; top: 96px; }
.s1 .sorter .i105 { left: 1170px; top: 188px; }
.s1 .sorter .i108 { left: 1170px; top: 280px; }
.sorter .issue { z-index: 1; }
.i101 { left: 0; top: 0; } .i102 { left: 740px; top: 0; } .i103 { left: 0; top: 104px; } .i104 { left: 740px; top: 104px; }
.i105 { left: 0; top: 208px; } .i106 { left: 740px; top: 208px; } .i107 { left: 0; top: 312px; } .i108 { left: 740px; top: 312px; }
.i102, .i104, .i106, .i108 { rotate: 1.2deg; } .i101, .i105 { rotate: -1deg; }
.s1 .sorter .issue { rotate: 0deg; transition: left 900ms var(--ease), top 900ms var(--ease), width 900ms var(--ease), rotate 900ms var(--ease); }

.journey { position: relative; height: 648px; }
.jframe { position: absolute; top: 0; left: 50%; width: 1152px; height: 648px; margin-left: -576px; border-radius: 18px; overflow: hidden; background: var(--surface-solid); box-shadow: 0 0 0 1px var(--hairline), 0 0 0 2px var(--edge), var(--shadow-raised); }
.jframe img { display: block; width: 100%; height: 100%; object-fit: contain; background: #0b1020; }
.jframe[data-from] { translate: 60px 0; scale: 0.96; transition: opacity 700ms var(--ease), translate 800ms var(--ease), scale 800ms var(--ease); }
.jframe[data-from].on { translate: 0 0; scale: 1; }
.jframe.jglass.on { box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.7), 0 0 0 2px var(--edge), 0 30px 90px -20px rgba(59, 130, 246, 0.7); }
.jfoot { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 1152px; margin: 20px auto 0; }
.jdots { display: flex; gap: 10px; }
.jdots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(148, 163, 184, 0.35); translate: none; opacity: 1; }
.jdots i.on { background: linear-gradient(135deg, #3b82f6, #22c55e); }

.ico { display: inline-flex; width: 30px; height: 30px; flex: none; }
.ico svg { width: 100%; height: 100%; display: block; }
.ico.lg { width: 44px; height: 44px; }
.ico.xl { width: 64px; height: 64px; }
.chip .ico { width: 28px; height: 28px; }

.roles .role { padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.roles .role h3 { margin: 6px 0 0; font-size: 30px; }
.roles .role p { margin: 0; font-size: 22px; line-height: 1.35; }
.role-emoji { font-size: 40px; line-height: 44px; }

.marquee { display: flex; overflow: hidden; width: calc(100% + 256px); margin-left: -128px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; gap: 18px; padding-right: 18px; flex: none; animation: mq 48s linear infinite; }
.marquee.rev .mq-track { animation-direction: reverse; animation-duration: 56s; }
.mq-item { display: inline-flex; align-items: center; gap: 14px; padding: 18px 26px; font-size: 26px; white-space: nowrap; }
.mq-item b { font-weight: 600; }
@keyframes mq { to { translate: -100% 0; } }

.pac-lane { position: fixed; left: 0; right: 0; bottom: 26px; height: 60px; z-index: 4; pointer-events: none; overflow: hidden; }
.pac-cve { position: absolute; top: 14px; padding: 6px 12px; border-radius: 8px; font: 600 16px/1 var(--mono); color: #fca5a5; background: rgba(239, 68, 68, 0.16); box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.5); transition: opacity 200ms ease, scale 200ms ease; }
.pac-cve.eaten { opacity: 0; scale: 0.3; }
.pac-man { position: absolute; top: 6px; width: 44px; height: 44px; left: -60px; }
.pac-man::before, .pac-man::after { content: ""; position: absolute; left: 0; width: 44px; height: 22px; background: #22c55e; box-shadow: 0 0 18px rgba(34, 197, 94, 0.6); }
.pac-man::before { top: 0; border-radius: 22px 22px 0 0; transform-origin: 50% 100%; animation: chomp-top 0.28s ease-in-out infinite alternate; }
.pac-man::after { bottom: 0; border-radius: 0 0 22px 22px; transform-origin: 50% 0; animation: chomp-bot 0.28s ease-in-out infinite alternate; }
@keyframes chomp-top { from { rotate: 0deg; } to { rotate: -32deg; } }
@keyframes chomp-bot { from { rotate: 0deg; } to { rotate: 32deg; } }
.pac-pop { position: absolute; top: -6px; font: 700 18px/1 var(--font); color: #86efac; animation: pac-pop 900ms var(--ease) forwards; }
@keyframes pac-pop { from { translate: 0 10px; opacity: 1; } to { translate: 0 -24px; opacity: 0; } }
.is-presenter .pac-lane { display: none; }

.nat { display: block; width: 1664px; height: 700px; margin: 0 auto; font-family: var(--font); }
.nat .nbox rect { fill: var(--card-bg); stroke: var(--hairline); stroke-width: 1.5; }
.nat .server rect { stroke: rgba(147, 197, 253, 0.7); stroke-width: 2; }
.nat .nh { font-size: 18px; font-weight: 600; fill: var(--text-3); letter-spacing: 0.04em; }
.nat .nt { font-size: 32px; font-weight: 700; fill: var(--text); }
.nat .ns { font-size: 20px; fill: var(--text-3); font-family: var(--mono); }
.nat .gl { font-size: 18px; fill: var(--text-3); font-family: var(--mono); }
.nat .gw rect { fill: rgba(239, 68, 68, 0.7); transition: fill 600ms var(--ease); }
.s1 .nat .gw rect { fill: rgba(148, 163, 184, 0.35); }
.nat .in-arrow { fill: none; stroke: #f87171; stroke-width: 4; stroke-dasharray: 14 12; transition: opacity 500ms var(--ease); }
.nat .rl { font-size: 22px; fill: #fca5a5; font-family: var(--mono); transition: opacity 500ms var(--ease); }
.nat .xmark path { stroke: #f87171; stroke-width: 5; stroke-linecap: round; fill: none; }
.nat .out-arrow { fill: none; stroke: #4ade80; stroke-width: 4; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1400ms var(--ease), opacity 400ms; filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.6)); }
.nat .glb { font-size: 24px; fill: #86efac; font-family: var(--mono); opacity: 0; transition: opacity 500ms 600ms var(--ease); }
.nat .nat-pkts, .nat .nat-flow-labels { opacity: 0; transition: opacity 500ms var(--ease); }
.nat .pkt.up { fill: #4ade80; }
.nat .pkt.down { fill: #60a5fa; }
.nat .fl { font-size: 22px; fill: var(--text-2); }
.s1 .nat .nat-in, .s1 .nat .nat-red-labels { opacity: 0.12; }
.nat .nat-in, .nat .nat-red-labels { transition: opacity 600ms var(--ease); }
.s1 .nat .out-arrow { stroke-dashoffset: 0; }
.s1 .nat .glb { opacity: 1; }
.s2 .nat .out-arrow { stroke-width: 6; }
.s2 .nat .nat-pkts, .s2 .nat .nat-flow-labels { opacity: 1; }
.s2 .nat .nat-in, .s2 .nat .nat-red-labels { opacity: 0; }
.nat .out-arrow { opacity: 0; }
.s1 .nat .out-arrow { opacity: 1; }

.qr { position: relative; }
.qr-logo { position: absolute; left: 50%; top: 50%; width: 25%; height: 25%; translate: -50% -50%; background: #fff; border-radius: 18%; display: grid; place-items: center; box-shadow: 0 0 0 6px #fff; }
.qr-logo img { width: 86%; height: 86%; }
.s6 .arch .n-server { left: 592px; top: 150px; width: 480px; height: 360px; }
.s6 .arch .n-server .sub { margin-top: 4px; }
.s6 .arch .n-ui { left: 622px; top: 310px; width: 420px; height: 170px; background: rgba(59, 130, 246, 0.08); box-shadow: none; outline: 2px dashed rgba(147, 197, 253, 0.55); outline-offset: -2px; z-index: 2; }
.s6 .arch .n-ui .swap { font-size: 30px; }
.s6 .arch .n-db { left: 662px; top: 560px; width: 340px; height: 130px; }
.s6 .arch .n-server { top: 130px; height: 410px; }
.s6 .arch .n-ui { top: 300px; height: 210px; }
.s6 .arch .n-db { top: 580px; }
.soon .card { padding: 28px 30px; }
.soon h3 { font-size: 32px; }
.soon p { font-size: 24px; line-height: 1.35; }
.s6 .arch .n-db { top: 562px; height: 120px; }

.slide[data-title="Architecture journey"] .arch { scale: 0.84; transform-origin: top center; margin-bottom: -115px; margin-top: 4px; }
.tl { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; margin: 0 auto; width: 1664px; position: relative; }
.tl::before { content: ""; position: absolute; left: 4%; right: 4%; top: 9px; height: 2px; background: rgba(148, 163, 184, 0.25); }
.tl i { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-style: normal; translate: none; }
.tl i::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--surface-solid); box-shadow: inset 0 0 0 3px rgba(148, 163, 184, 0.5); }
.tl i.on::before { background: linear-gradient(135deg, #3b82f6, #22c55e); box-shadow: none; }
.tl i b { font-size: 20px; font-weight: 600; color: var(--text-2); }
.tl i span { font: 500 17px/1 var(--mono); color: var(--text-3); }
.tl i.on:not(:has(~ i.on))::before { box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.25), 0 0 24px rgba(34, 197, 94, 0.7); }
.tl i.on:not(:has(~ i.on)) b { color: var(--text); }
.built .chip[data-from] { translate: none; transition: opacity 400ms var(--ease); }
.built .chip[data-from]:not(.on) { display: none; }

.arch .c-int { left: 612px; top: 500px; width: 440px; transition: left 900ms var(--ease), top 900ms var(--ease); }
.s6 .arch .c-int { left: 1224px; top: 230px; }
.dep p { font-size: 26px; }

.quotes { columns: 3; column-gap: 22px; }
.quote { break-inside: avoid; margin: 0 0 22px; padding: 26px 30px; }
.quote blockquote { margin: 0; font-size: 27px; line-height: 1.4; color: var(--text); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: 0.6; height: 26px; color: #60a5fa; font-weight: 700; }
.quote figcaption { margin-top: 14px; font-size: 20px; color: var(--text-3); }
.quote figcaption::before { content: "\2014\00a0"; }

.hp .journey { height: 720px; }
.hp .jframe { width: 1280px; height: 720px; margin-left: -640px; }
.hp .jfoot { width: 1280px; margin-top: 14px; }
.hp { padding-top: 70px; padding-bottom: 60px; }

.slide.is-far { display: none; }

.touch-deck, .touch-deck body { touch-action: pan-x pan-y; overscroll-behavior: none; }
.touch-deck .stage { scale: none; }
.touch-deck .slide { transition: opacity 400ms var(--ease); translate: none; }
.touch-deck .ambient i { opacity: calc(var(--blob-opacity) * 0.8); }

.bmc-wall { columns: 3; column-gap: 20px; }
.bmc { display: block; width: 100%; margin: 0 0 18px; break-inside: avoid; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 18px 40px -16px rgba(0, 0, 0, 0.6); }

.lane-logo { width: 44px; height: 44px; flex: none; }
.lane h3 { flex-wrap: wrap; }
.lane-url { position: absolute; top: 74px; left: 26px; font-size: 18px; }
