/* lucaintini.ai/talk: "My 20 AI Teammates Never Sleep", AI Disrupt Summit 2026.
   Part 1: fonts (self-hosted, SIL OFL, see fonts/OFL-*.txt) and the presenter frame.
   Part 2: deck.css, copied as-is from the Slides project.
   Part 3: the live Q&A slide (s20). */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/talk/fonts/spacegrotesk-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/talk/fonts/inter-latin.woff2) format('woff2'); }

html, body { margin: 0; height: 100%; background: #070A11; overflow: hidden; }
body { -webkit-font-smoothing: antialiased; }
#viewport { position: fixed; inset: 0; overflow: hidden; background: #070A11; cursor: pointer; }
#stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px;
  transform: translate(-50%, -50%) scale(var(--s, 0.5)); transform-origin: center center; counter-reset: page; }
#stage > section { position: absolute; inset: 0; width: 1920px; height: 1080px; box-sizing: border-box;
  margin: 0; overflow: hidden; display: none; }
#stage > section.active { display: flex; }
#stage > section aside { display: none; }
#stage p, #stage h2, #stage h1, #stage h3 { margin: 0; }
#stage a { cursor: pointer; }
#stage svg.ico { display: block; flex: 0 0 auto; }

.progress { position: fixed; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(242,181,68,0.18); z-index: 5; }
.progress-fill { height: 100%; width: 0; background: #F2B544; }
.progress-fill.run { animation: fill var(--dur, 20s) linear forwards; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.hint { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; z-index: 4;
  font: 600 14px/1.4 'Inter', Arial, sans-serif; color: #AEB8C8; background: rgba(18,24,38,0.88);
  border: 1px solid #3A4766; border-radius: 999px; padding: 6px 16px; pointer-events: none;
  transition: opacity 600ms ease; white-space: nowrap; }
.hint.gone { opacity: 0; }
.notes { position: fixed; left: 0; right: 0; bottom: 0; max-height: 34vh; overflow: auto; z-index: 6;
  background: rgba(10,14,22,0.96); border-top: 3px solid #F2B544; color: #E9E6DF;
  font-family: 'Inter', Arial, sans-serif; padding: 14px 24px 22px; box-sizing: border-box; }
.notes[hidden], .progress[hidden] { display: none; }
.notes-head { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 14px; font-weight: 600;
  letter-spacing: 1px; color: #F2B544; }
.notes-text { margin: 0; font-size: clamp(16px, 2.2vw, 24px); line-height: 1.45; max-width: 70em; }
.noscript { position: fixed; left: 16px; right: 16px; bottom: 16px; color: #F4F1EA; font-family: Arial, sans-serif; }

/* ---- deck.css (Slides project, verbatim) ---- */
body { font-family: 'Inter', Arial, sans-serif; color: #E9E6DF; }
section { counter-increment: page; padding: 128px 128px 160px; background: #121826; color: #E9E6DF; display: flex; flex-direction: column; gap: 40px; }
h1, h2, h3 { font-family: 'Space Grotesk', Arial, sans-serif; color: #F4F1EA; }
h2 { font-size: 72px; font-weight: 700; line-height: 1.05; }
.eyebrow { font-size: 28px; font-weight: 600; letter-spacing: 3px; color: #F2B544; }
.body { display: flex; gap: 32px; flex: 1; align-items: stretch; }
.card { background: #1E2738; border-radius: 24px; padding: 48px; flex: 1; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.card.hl { background: #F2B544; color: #1B2333; }
.card .label { font-size: 26px; font-weight: 600; letter-spacing: 2px; color: #F2B544; }
.card.hl .label { color: #1B2333; }
.card .num { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 120px; font-weight: 700; line-height: 1; color: #F4F1EA; }
.card.hl .num { color: #1B2333; }
.card .txt { font-size: 36px; line-height: 1.35; }
.card .sub { font-size: 30px; line-height: 1.35; color: #AEB8C8; }
.card.hl .sub { color: #3B3020; }
.card .icon { width: 64px; height: 64px; color: #F2B544; }
.card.hl .icon { color: #1B2333; }
.card a { color: #F4F1EA; }
.photo { width: 520px; height: 520px; border-radius: 260px; object-fit: cover; border: 8px solid #F2B544; }
.footer { position: absolute; left: 128px; bottom: 64px; width: 1664px; font-size: 24px; color: #6F7B91; display: flex; justify-content: space-between; }
.card .num.sm { font-size: 88px; }
.card.hl a { color: #1B2333; }
.pic { width: 560px; height: 560px; border-radius: 24px; object-fit: cover; flex: 0 0 560px; }
.shot { width: 900px; height: 560px; border-radius: 24px; object-fit: contain; background: #F4F1EA; flex: 0 0 900px; }
.qr { width: 560px; height: 560px; border-radius: 24px; background: #F4F1EA; flex: 0 0 560px; }
.arrow { width: 40px; height: 40px; color: #F2B544; flex: 0 0 40px; }
.card.step { padding: 32px; }
.note { font-size: 30px; color: #AEB8C8; }
.tree { display: flex; flex-direction: column; gap: 24px; flex: 1; }
.tree .row { display: flex; gap: 20px; }
.tree .card { padding: 28px 32px; }
.group { border: 2px solid #3A4766; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.group.hlg { border-color: #F2B544; }
.group.audit { flex: 0 0 auto; border-style: dashed; flex-direction: row; align-items: center; gap: 32px; padding: 20px 28px; }
.group > .label { font-size: 26px; font-weight: 600; letter-spacing: 2px; color: #F2B544; }
.bars { display: flex; flex-direction: column; gap: 18px; }
.bar { display: flex; align-items: center; gap: 16px; }
.bar .bl { font-size: 26px; width: 220px; flex: 0 0 220px; color: #C9D1DE; }
.bar .bt { flex: 1; height: 36px; background: #2B3650; border-radius: 8px; overflow: hidden; }
.bar .bf { height: 36px; background: #F2B544; border-radius: 8px; }
.bar .bv { font-size: 28px; font-weight: 600; width: 60px; flex: 0 0 60px; text-align: right; }
.footer .pg::after { content: counter(page); }
.rise { animation: rise 600ms ease-out both; animation-delay: calc(var(--i, 0) * 140ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ---- s20: the live Q&A slide. The feed is the hero; title, wall link and links QR sit in a column. ---- */
#s20 { padding: 88px 96px 120px; }
.live-wrap { display: flex; gap: 48px; flex: 1; min-height: 0; }
.live-feed { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; background: #1E2738;
  border-radius: 24px; padding: 40px 48px; border: 3px solid #F2B544; }
.live-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.live-head .label { font-size: 28px; font-weight: 600; letter-spacing: 3px; color: #F2B544; }
.live-state { font-size: 22px; color: #6F7B91; display: flex; align-items: center; gap: 10px; }
.live-state::before { content: ""; width: 14px; height: 14px; border-radius: 7px; background: #F2B544;
  animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.live-empty { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 64px; font-weight: 700; line-height: 1.15;
  color: #F4F1EA; margin: auto 0; }
.live-empty[hidden] { display: none; }
.live-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px;
  flex: 1; min-height: 0; overflow: hidden; }
.live-list li { border-left: 8px solid #F2B544; padding: 4px 0 4px 28px; flex: 0 0 auto; }
.live-list li.cut { display: none; }
.live-list li.fresh { animation: drop 700ms cubic-bezier(.2,.8,.2,1) both; }
.live-list li:first-child { border-left-color: #F2B544; }
.live-list li:not(:first-child) { border-left-color: #3A4766; }
@keyframes drop { from { opacity: 0; transform: translateY(-36px); } to { opacity: 1; transform: translateY(0); } }
.live-q { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 36px; font-weight: 700; line-height: 1.2;
  color: #F4F1EA; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.live-a { font-size: 28px; line-height: 1.35; color: #C9D1DE; margin-top: 8px !important;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.live-side { flex: 0 0 470px; display: flex; flex-direction: column; gap: 24px; min-height: 0; }
.live-side h2 { font-size: 54px; }
.live-side .card { flex: 0 0 auto; padding: 28px 32px; gap: 10px; }
.live-side .card .txt { font-size: 30px; }
.live-side .card .sub { font-size: 24px; }
.qrcard { align-items: center; text-align: center; }
.qr-sm { width: 230px; height: 230px; border-radius: 16px; background: #F4F1EA; display: block; }

/* Part 4 (25 Nov 2026, Luca's order via WDB): night-shift / mission-control restyle with a photo of Luca behind every slide.
   Photos are pre-darkened (brightness 0.55, EXIF and GPS stripped) and sit under a midnight overlay with amber and cyan glow. */
#stage > section { background-color: #070A11; background-size: cover; background-position: center;
  background-image: radial-gradient(ellipse at 12% 0%, rgba(242,181,68,0.18), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(56,214,255,0.16), transparent 55%),
    linear-gradient(180deg, rgba(7,10,17,0.72), rgba(7,10,17,0.86)), var(--bg, none); }
#stage > section h1, #stage > section h2 { text-shadow: 0 0 28px rgba(242,181,68,0.35), 0 2px 6px rgba(0,0,0,0.8); }
#stage > section p, #stage > section .label, #stage > section .sub { text-shadow: 0 1px 4px rgba(0,0,0,0.85); }
#stage .card { background: rgba(18,24,38,0.62); border: 1px solid rgba(56,214,255,0.28);
  box-shadow: 0 0 32px rgba(56,214,255,0.12), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
#stage .card.hl { background: rgba(242,181,68,0.92); border-color: #F2B544; box-shadow: 0 0 40px rgba(242,181,68,0.35); }
#stage .bar .bt { background: rgba(43,54,80,0.7); }
#stage > #s01 { --bg: url(/talk/img/bg/bg-s01.webp); }
#stage > #s21 { --bg: url(/talk/img/bg/bg-s21.webp); }
#stage > #s02 { --bg: url(/talk/img/bg/bg-s02.webp); }
#stage > #s03 { --bg: url(/talk/img/bg/bg-s03.webp); }
#stage > #s04 { --bg: url(/talk/img/bg/bg-s04.webp); }
#stage > #s04b { --bg: url(/talk/img/bg/bg-s04b.webp); }
#stage > #s05 { --bg: url(/talk/img/bg/bg-s05.webp); }
#stage > #s06 { --bg: url(/talk/img/bg/bg-s06.webp); }
#stage > #s07 { --bg: url(/talk/img/bg/bg-s07.webp); }
#stage > #s09 { --bg: url(/talk/img/bg/bg-s09.webp); }
#stage > #s11 { --bg: url(/talk/img/bg/bg-s11.webp); }
#stage > #s11b { --bg: url(/talk/img/bg/bg-s11b.webp); }
#stage > #s12 { --bg: url(/talk/img/bg/bg-s12.webp); }
#stage > #s12b { --bg: url(/talk/img/bg/bg-s12b.webp); }
#stage > #s14 { --bg: url(/talk/img/bg/bg-s14.webp); }
#stage > #s16 { --bg: url(/talk/img/bg/bg-s16.webp); }
#stage > #s17 { --bg: url(/talk/img/bg/bg-s17.webp); }
#stage > #s18 { --bg: url(/talk/img/bg/bg-s18.webp); }
#stage > #s19 { --bg: url(/talk/img/bg/bg-s19.webp); }
#stage > #s20 { --bg: url(/talk/img/bg/bg-s20.webp); }

