/* WebWaste 2026 deck — visual system */
@font-face { font-family: "Inter"; font-weight: 400; src: url(../vendor/fonts/inter-400.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 500; src: url(../vendor/fonts/inter-500.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 700; src: url(../vendor/fonts/inter-700.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Grotesk"; font-weight: 500; src: url(../vendor/fonts/grotesk-500.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Grotesk"; font-weight: 700; src: url(../vendor/fonts/grotesk-700.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Mono"; font-weight: 500; src: url(../vendor/fonts/mono-500.woff2) format("woff2"); font-display: swap; }

:root {
  --ink: #04070d;
  --ink-2: #0a1220;
  --panel: rgba(14, 24, 40, 0.62);
  --panel-solid: #0e1828;
  --line: rgba(140, 180, 230, 0.16);
  --line-2: rgba(140, 180, 230, 0.32);
  --text: #e9f1ff;
  --muted: #8fa3c2;
  --dim: #5d6f8c;
  --cyan: #38d6ff;
  --green: #3cff9a;
  --red: #ff4d5e;
  --amber: #ffb547;
  --violet: #9b8cff;
  --grad: linear-gradient(100deg, #38d6ff 0%, #3cff9a 100%);
  --radius: 22px;
}

html, body { background: var(--ink); margin: 0; height: 100%; overflow: hidden; }
#bg3d { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
#vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(4,7,13,.72) 100%),
    linear-gradient(180deg, rgba(4,7,13,.0) 60%, rgba(4,7,13,.55) 100%);
}
#grain { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.reveal-viewport { background: transparent !important; }
.reveal { z-index: 3; font-family: "Inter", system-ui, sans-serif; color: var(--text); font-size: 30px; }
.reveal .slides { text-align: left; }
.reveal .slides section { height: 100%; box-sizing: border-box; padding: 96px 120px 90px; }
.reveal .slides > section.center-v { display: flex !important; flex-direction: column; justify-content: center; }

/* Typography */
.reveal h1, .reveal h2, .reveal h3 { font-family: "Grotesk", "Inter", sans-serif; text-transform: none; letter-spacing: -0.02em; color: var(--text); margin: 0; text-shadow: none; }
.reveal h1 { font-size: 132px; line-height: .95; font-weight: 700; }
.reveal h2 { font-size: 76px; line-height: 1.02; font-weight: 700; margin-bottom: 28px; }
.reveal h3 { font-size: 34px; font-weight: 500; line-height: 1.2; }
.reveal p { margin: 0 0 18px; line-height: 1.45; }
.lead { font-size: 36px; color: var(--muted); max-width: 1180px; line-height: 1.4; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.green { color: var(--green); } .red { color: var(--red); } .cyan { color: var(--cyan); } .amber { color: var(--amber); } .muted { color: var(--muted); }
.kicker { font-family: "Mono", monospace; font-size: 20px; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 26px; display: flex; align-items: center; gap: 16px; }
.kicker::before { content: ""; width: 44px; height: 2px; background: var(--grad); display: inline-block; }
.mono { font-family: "Mono", monospace; }
.small { font-size: 22px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 10px; font-family: "Mono", monospace; font-size: 18px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); background: rgba(10,18,32,.6); }

/* Layout */
.row { display: flex; gap: 48px; }
.col { flex: 1; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; height: 100%; }
.split.rev { grid-template-columns: 1.1fr 0.9fr; }
.stack > * + * { margin-top: 20px; }

/* Cards / glass */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(140deg, rgba(56,214,255,.10), transparent 40%); }
.card h3 { margin: 16px 0 10px; font-size: 32px; }
.card p { font-size: 23px; color: var(--muted); margin: 0; line-height: 1.45; }
.card .ico { width: 58px; height: 58px; color: var(--cyan); }
.card.red .ico { color: var(--red); } .card.green .ico { color: var(--green); } .card.amber .ico { color: var(--amber); }
.ico { width: 40px; height: 40px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

ul.ticks { list-style: none; margin: 0; padding: 0; }
ul.ticks li { position: relative; padding-left: 44px; margin: 0 0 18px; font-size: 27px; line-height: 1.4; color: #d5e2f7; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 6px; background: var(--grad); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; }
ul.ticks li b { color: var(--text); }

/* Media frames */
.media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(56,214,255,.06); }
.media video, .media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media .cap { position: absolute; left: 18px; bottom: 16px; font-family: "Mono", monospace; font-size: 17px; letter-spacing: .08em; padding: 8px 14px; border-radius: 10px; background: rgba(4,7,13,.72); color: var(--text); backdrop-filter: blur(6px); display: flex; align-items: center; gap: 10px; }
.media .cap .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1.4s infinite; }
.media .cap.ok .dot { background: var(--green); box-shadow: 0 0 12px var(--green); }
.media.scan::before { content: ""; position: absolute; left: 0; right: 0; height: 30%; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(56,214,255,.16), transparent); animation: scan 3.4s linear infinite; }
@keyframes scan { from { top: -30%; } to { top: 100%; } }
@keyframes blink { 50% { opacity: .25; } }

.device { border-radius: 46px; padding: 18px; background: linear-gradient(160deg, #1b2639, #070b13); border: 1px solid var(--line-2); box-shadow: 0 50px 120px -30px #000; }
.device .media { border-radius: 30px; }

/* Stats */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .num { font-family: "Grotesk", sans-serif; font-weight: 700; font-size: 104px; line-height: 1; letter-spacing: -0.03em; }
.stat .lbl { font-size: 24px; color: var(--muted); line-height: 1.35; }

/* Title slide */
.hero-video { position: absolute; inset: 0; z-index: -1; opacity: .42; filter: saturate(.6) contrast(1.1); }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-mask { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,7,13,.94) 0%, rgba(4,7,13,.72) 45%, rgba(4,7,13,.25) 100%), linear-gradient(0deg, rgba(4,7,13,.85) 0%, transparent 40%); }
.logo-lockup { display: flex; align-items: center; gap: 22px; font-family: "Grotesk", sans-serif; font-size: 30px; font-weight: 700; letter-spacing: .02em; }
.logo-lockup svg { width: 64px; height: 64px; }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 50px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: linear-gradient(90deg, rgba(56,214,255,.1), var(--cyan), var(--green)); }
.tl-item { position: relative; padding-top: 80px; }
.tl-item .node { position: absolute; top: 20px; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); border: 3px solid var(--cyan); box-shadow: 0 0 0 8px rgba(56,214,255,.12); }
.tl-item.now .node { border-color: var(--green); box-shadow: 0 0 0 8px rgba(60,255,154,.15), 0 0 30px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 16px rgba(60,255,154,.05), 0 0 40px var(--green); } }
.tl-item .yr { font-family: "Grotesk", sans-serif; font-size: 64px; font-weight: 700; line-height: 1; }
.tl-item .gen { font-family: "Mono", monospace; font-size: 18px; color: var(--cyan); letter-spacing: .16em; margin: 12px 0 14px; text-transform: uppercase; }
.tl-item.now .gen { color: var(--green); }
.tl-item p { font-size: 22px; color: var(--muted); line-height: 1.45; }

/* Comparison matrix */
table.matrix { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 22px; margin-top: 10px; }
table.matrix th, table.matrix td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
table.matrix th { font-family: "Mono", monospace; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; vertical-align: bottom; }
table.matrix td:first-child, table.matrix th:first-child { text-align: left; color: #cfdcf2; }
table.matrix .win { background: linear-gradient(180deg, rgba(60,255,154,.12), rgba(56,214,255,.06)); color: var(--text); }
table.matrix th.win { color: var(--green); border-radius: 14px 14px 0 0; }
table.matrix tr:last-child .win { border-radius: 0 0 14px 14px; }
.y, .n, .p { display: inline-block; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; }
.y { background: var(--green); box-shadow: 0 0 14px rgba(60,255,154,.6); }
.n { border: 2px solid rgba(255,77,94,.6); }
.p { background: linear-gradient(90deg, var(--amber) 50%, transparent 50%); border: 2px solid var(--amber); box-sizing: border-box; }

/* Truck diagram */
.truck-wrap { position: relative; }
.truck-wrap svg.truck { width: 100%; height: auto; }
.hot { position: absolute; transform: translate(-50%, -50%); }
.hot .pin { width: 26px; height: 26px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(56,214,255,.6); animation: ping 2.2s infinite; }
.hot.g .pin { background: var(--green); } .hot.a .pin { background: var(--amber); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(56,214,255,.55); } 80%,100% { box-shadow: 0 0 0 26px rgba(56,214,255,0); } }
.hot .lab { position: absolute; white-space: nowrap; font-family: "Mono", monospace; font-size: 18px; padding: 8px 12px; border-radius: 10px; background: rgba(8,14,26,.88); border: 1px solid var(--line-2); color: var(--text); }
.hot .lab small { display: block; color: var(--muted); font-size: 14px; letter-spacing: .04em; }

/* Flow / pipeline */
.flow { display: flex; align-items: stretch; gap: 0; }
.flow .step { flex: 1; position: relative; padding: 26px 24px; border: 1px solid var(--line); background: var(--panel); border-radius: 18px; backdrop-filter: blur(10px); }
.flow .step + .step { margin-left: 46px; }
.flow .step + .step::before { content: ""; position: absolute; left: -40px; top: 50%; width: 34px; height: 2px; background: var(--grad); }
.flow .step + .step::after { content: ""; position: absolute; left: -12px; top: calc(50% - 6px); border: 7px solid transparent; border-left: 9px solid var(--green); }
.flow .step .n { width: auto; height: auto; border: none; font-family: "Mono", monospace; font-size: 16px; color: var(--cyan); letter-spacing: .14em; display: block; margin-bottom: 10px; }
.flow .step h4 { font-family: "Grotesk", sans-serif; font-size: 27px; margin: 0 0 8px; font-weight: 700; color: var(--text); text-transform: none; }
.flow .step p { font-size: 20px; color: var(--muted); margin: 0; line-height: 1.4; }
.flow .step.ok { border-color: rgba(60,255,154,.45); } .flow .step.bad { border-color: rgba(255,77,94,.45); }

/* Before/after table */
.ba { display: grid; grid-template-columns: 1fr 60px 1fr; row-gap: 14px; align-items: center; font-size: 25px; }
.ba .from { color: var(--dim); text-align: right; text-decoration: line-through; text-decoration-color: rgba(255,77,94,.5); }
.ba .arrow { text-align: center; color: var(--green); font-family: "Mono", monospace; }
.ba .to { color: var(--text); font-weight: 500; }

/* Hex pillars */
.hexes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hex { position: relative; padding: 30px 30px 30px 112px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); min-height: 150px; backdrop-filter: blur(10px); }
.hex .hx { position: absolute; left: 26px; top: 30px; width: 66px; height: 74px; display: grid; place-items: center; color: var(--ink); background: var(--grad); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hex .hx .ico { width: 34px; height: 34px; stroke-width: 2; }
.hex h4 { font-family: "Grotesk", sans-serif; font-size: 29px; margin: 0 0 8px; color: var(--text); text-transform: none; }
.hex p { font-size: 20px; color: var(--muted); margin: 0; line-height: 1.4; }

/* Architecture SVG */
svg.arch { width: 100%; height: auto; overflow: visible; }
.flowline { stroke-dasharray: 6 10; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }

/* Mosaic */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; height: 560px; }
.mosaic .media:first-child { grid-row: span 2; }

/* Chat mock (RTC) */
.chat { display: flex; flex-direction: column; gap: 12px; font-size: 21px; }
.bubble { align-self: flex-start; max-width: 85%; padding: 12px 18px; border-radius: 18px 18px 18px 4px; background: rgba(56,214,255,.12); border: 1px solid rgba(56,214,255,.3); }
.bubble.me { align-self: flex-end; border-radius: 18px 18px 4px 18px; background: rgba(60,255,154,.12); border-color: rgba(60,255,154,.35); }
.bubble .mono { color: var(--cyan); }

/* Entrance animations (driven by .present) */
.reveal .slides section .in { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity .9s cubic-bezier(.2,.7,.1,1), transform .9s cubic-bezier(.2,.7,.1,1), filter .9s; }
.reveal .slides section.present .in { opacity: 1; transform: none; filter: none; }
.reveal .slides section.present .in.d1 { transition-delay: .12s; } .reveal .slides section.present .in.d2 { transition-delay: .24s; }
.reveal .slides section.present .in.d3 { transition-delay: .36s; } .reveal .slides section.present .in.d4 { transition-delay: .48s; }
.reveal .slides section.present .in.d5 { transition-delay: .60s; } .reveal .slides section.present .in.d6 { transition-delay: .72s; }
.reveal .slides section.present .in.d7 { transition-delay: .84s; } .reveal .slides section.present .in.d8 { transition-delay: .96s; }
.reveal .slides section .in.zoom { transform: scale(.92); }
.reveal .slides section .in.left { transform: translateX(-60px); }
.reveal .slides section .in.right { transform: translateX(60px); }

/* Fragments: custom smooth rise */
.reveal .fragment.rise { opacity: 0; transform: translateY(24px); transition: all .6s cubic-bezier(.2,.7,.1,1); }
.reveal .fragment.rise.visible { opacity: 1; transform: none; }
.reveal .fragment.lit { opacity: .25; transition: opacity .5s; } .reveal .fragment.lit.visible { opacity: 1; }

/* Reveal chrome */
.reveal .progress { height: 3px; color: var(--green); background: rgba(255,255,255,.05); }
.reveal .progress span { background: var(--grad); }
.reveal .slide-number { background: transparent; font-family: "Mono", monospace; font-size: 16px; color: var(--dim); right: 120px; bottom: 30px; }
.reveal .controls { color: var(--cyan); }
.chrome { position: fixed; z-index: 4; left: 40px; bottom: 28px; font-family: "Mono", monospace; font-size: 13px; letter-spacing: .2em; color: var(--dim); text-transform: uppercase; pointer-events: none; }
.chrome b { color: var(--muted); font-weight: 500; }

.reveal section .foot { position: absolute; left: 120px; right: 120px; bottom: 60px; display: flex; gap: 14px; flex-wrap: wrap; }
.big-quote { font-family: "Grotesk", sans-serif; font-size: 64px; line-height: 1.12; font-weight: 700; max-width: 1500px; }
.divider { height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); margin: 34px 0; }
.reveal .fragment.lit { visibility: visible; }
.card.compact { padding: 24px 28px; }
.card.compact .ico { width: 46px; height: 46px; }
.card.compact h3 { font-size: 27px; margin: 12px 0 6px; }
.card.compact p { font-size: 20px; }
