/* ─────────────────────────────────────────────────────────────
 * CIFF × Dhwani QA Automation Deck
 * Editorial theme — port of Aspire-Impact design system
 * Reveal.js overrides + custom components
 * ──────────────────────────────────────────────────────────── */

:root {
  --paper:        #FDFCFA;
  --card-bg:      #FFFFFF;
  --sidebar-bg:   #F2EDE7;
  --rule:         rgba(0,0,0,0.08);
  --hairline:     rgba(0,0,0,0.05);
  --surface-subtle: rgba(0,0,0,0.025);
  --surface-muted:  rgba(0,0,0,0.04);

  --text:        #2C2C2C;
  --text-mid:    #525250;
  --text-light:  #96968E;

  --primary:     #8B1A1A;     /* Dhwani crimson */
  --primary-bg:  rgba(139,26,26,0.05);
  --primary-light: rgba(139,26,26,0.08);

  --accent:      #D4842A;     /* ochre */
  --accent-bg:   rgba(212,132,42,0.06);
  --accent-light: rgba(212,132,42,0.12);

  --green:       #1a7a1a;
  --green-bg:    rgba(34,139,34,0.07);

  --code-bg:     #1E1E1E;
  --code-fg:     #E8A435;

  --red:         #b33d3d;
}

/* ─────────────────────────────────────────────────────────────
 * Reveal overrides — paper background, editorial type
 * ──────────────────────────────────────────────────────────── */

html, body { background: var(--paper); }
.reveal { font-family: 'Space Grotesk', system-ui, sans-serif; color: var(--text); }
.reveal .slides { text-align: left; }

.reveal h1, .reveal h2, .reveal h3, .reveal h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--text); text-transform: none;
  letter-spacing: -0.4px; font-weight: 700;
  line-height: 1.15;
}
.reveal h1 { font-size: 52px; }
.reveal h2 { font-size: 36px; }
.reveal h3 { font-size: 24px; }
.reveal h4 { font-size: 17px; }
.reveal p { font-size: 18px; line-height: 1.55; color: var(--text-mid); margin: 8px 0; }
.reveal strong { color: var(--text); font-weight: 600; }
.reveal em.brand { color: var(--accent); font-style: normal; }
.reveal em.crimson { color: var(--primary); font-style: normal; }

.reveal section { padding: 36px 56px; box-sizing: border-box; }
.reveal section, .reveal section * { box-sizing: border-box; }

.reveal .controls { color: var(--primary); }
.reveal .progress { color: var(--primary); height: 3px; }
.reveal .slide-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: rgba(0,0,0,0); color: var(--text-light);
}

/* Top-left mark */
.deck-mark {
  position: fixed; top: 28px; left: 36px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-light);
  z-index: 30;
}
.deck-mark .sep { color: var(--rule); margin: 0 8px; }
.deck-mark .ac { color: var(--primary); }

/* ─────────────────────────────────────────────────────────────
 * Hero banner — signature crimson gradient w/ radial glows
 * ──────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1E1E1E 0%, #2a1010 50%, #3d1515 100%);
  border-radius: 18px;
  padding: 56px 56px;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(139,26,26,0.45);
  width: 100%; max-width: 100%;
}
.hero::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(212,132,42,0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowDriftA 12s ease-in-out infinite alternate;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(139,26,26,0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowDriftB 14s ease-in-out infinite alternate;
}
.hero > * { position: relative; z-index: 1; }

@keyframes glowDriftA {
  0%   { transform: translate(0,0) scale(1); opacity: .9; }
  100% { transform: translate(-30px, 40px) scale(1.15); opacity: 1; }
}
@keyframes glowDriftB {
  0%   { transform: translate(0,0) scale(1); opacity: .85; }
  100% { transform: translate(40px, -30px) scale(1.1); opacity: 1; }
}

.hero .kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--code-fg); margin-bottom: 24px;
}
.hero h1 { font-size: 64px; color: #fff; letter-spacing: -1.5px; }
.hero h1 em { font-style: normal; color: var(--code-fg); }
.hero .subtitle {
  font-size: 20px; color: rgba(255,255,255,0.82);
  line-height: 1.55; max-width: 720px; margin-top: 16px;
}
.hero .meta {
  margin-top: 36px; display: flex; gap: 36px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 2px;
}
.hero .meta strong { color: var(--code-fg); font-weight: 600; }

/* ─────────────────────────────────────────────────────────────
 * Kicker / eyebrow text
 * ──────────────────────────────────────────────────────────── */
.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--primary); margin-bottom: 14px;
  display: inline-block;
}
.kicker.accent { color: var(--accent); }
.kicker.ink    { color: var(--text); }

/* Section heading */
.section-h {
  font-size: 44px; font-weight: 700; letter-spacing: -1px;
  line-height: 1.1; max-width: 880px;
}
.section-h em { font-style: normal; color: var(--primary); }
.section-h em.accent { color: var(--accent); }

.lede {
  font-size: 19px; line-height: 1.55;
  color: var(--text-mid);
  max-width: 760px; margin-top: 16px;
}

/* ─────────────────────────────────────────────────────────────
 * Stat row (editorial signature)
 * ──────────────────────────────────────────────────────────── */
.stat-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0; }
.stat-item {
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 18px 20px;
  min-width: 0; flex: 1 1 0;
}
.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px; font-weight: 700;
  color: var(--primary); letter-spacing: -0.8px;
  line-height: 1;
}
.stat-value.accent { color: var(--accent); }
.stat-value.green  { color: var(--green); }
.stat-value.red    { color: var(--red); }
.stat-value.ink    { color: var(--text); }
.stat-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-light); margin-top: 10px;
}
.stat-sub {
  font-size: 13px; color: var(--text-mid);
  margin-top: 6px; line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
 * Module cards
 * ──────────────────────────────────────────────────────────── */
.module-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; margin-top: 24px;
}
.module {
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 20px 22px;
  transition: all 0.2s;
  min-width: 0;
}
.module:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(139,26,26,0.18);
}
.module-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.module-badge {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 14px;
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff;
  flex-shrink: 0;
}
.module-badge.accent { background: var(--accent); }
.module-badge.ink    { background: var(--text); }
.module-title { font-size: 17px; font-weight: 700; margin: 0; }
.module-stack {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-top: 2px;
}
.module-body { font-size: 13px; color: var(--text-mid); line-height: 1.55; }
.module-stat {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: baseline;
}
.module-stat .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px; font-weight: 700; color: var(--primary);
}
.module-stat .lbl {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-light);
}

/* ─────────────────────────────────────────────────────────────
 * Pipeline stepper
 * ──────────────────────────────────────────────────────────── */
.pipeline {
  display: flex; gap: 0; margin: 28px 0;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--card-bg);
}
.pipe-step {
  flex: 1 1 0; min-width: 0;
  padding: 18px 16px;
  border-right: 1px solid var(--rule);
  position: relative;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s;
}
.pipe-step:last-child { border-right: none; }
.reveal .present .pipe-step { opacity: 1; transform: translateY(0); }
.reveal .present .pipe-step:nth-child(1) { transition-delay: 0.1s; }
.reveal .present .pipe-step:nth-child(2) { transition-delay: 0.35s; }
.reveal .present .pipe-step:nth-child(3) { transition-delay: 0.6s; }
.reveal .present .pipe-step:nth-child(4) { transition-delay: 0.85s; }
.reveal .present .pipe-step:nth-child(5) { transition-delay: 1.1s; }

.pipe-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 700;
  color: var(--text-light); letter-spacing: 1.5px;
}
.pipe-title {
  font-size: 15px; font-weight: 600; margin-top: 6px;
  color: var(--text);
}
.pipe-sub {
  font-size: 11.5px; color: var(--text-mid);
  margin-top: 4px; line-height: 1.45;
}
.pipe-step.active { background: var(--accent-bg); }
.pipe-step.active .pipe-title { color: var(--accent); }

/* ─────────────────────────────────────────────────────────────
 * Code blocks (Playwright spec)
 * ──────────────────────────────────────────────────────────── */
.code-block {
  background: var(--code-bg);
  color: #e6e6e6;
  border-radius: 12px;
  padding: 14px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; line-height: 1.6;
  overflow: auto; max-height: 460px;
  white-space: pre;
}
.panel.dark pre.code-block { padding: 0; }
.code-block .kw   { color: #c586c0; }
.code-block .fn   { color: #dcdcaa; }
.code-block .str  { color: #ce9178; }
.code-block .com  { color: #6a9955; font-style: italic; }
.code-block .add  { background: rgba(34,139,34,0.18); color: #b6e6b6; display: block; }
.code-block .del  { background: rgba(179,61,61,0.18); color: #e8a8a8; display: block; text-decoration: line-through; opacity: .8; }
.code-block .hl   { color: var(--code-fg); }
.code-block .var  { color: #9cdcfe; }

.code-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 10px;
}

/* ─────────────────────────────────────────────────────────────
 * Side-by-side
 * ──────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; margin-top: 22px; }
.split.tight { gap: 14px; }
.panel {
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px 22px;
  min-width: 0;
}
.panel.dark {
  background: var(--code-bg);
  border-color: rgba(255,255,255,0.06);
  color: #fff;
}
.panel.dark .panel-title { color: var(--code-fg); }
.panel-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--primary); margin-bottom: 12px;
}

/* ─────────────────────────────────────────────────────────────
 * Callouts
 * ──────────────────────────────────────────────────────────── */
.callout {
  background: var(--primary-bg);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px; margin: 22px 0;
}
.callout.accent { background: var(--accent-bg); border-left-color: var(--accent); }
.callout.green  { background: var(--green-bg);  border-left-color: var(--green); }
.callout p { margin: 0; font-size: 16px; color: var(--text); line-height: 1.6; }
.callout .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 4px; display: block;
}
.callout.accent .label { color: var(--accent); }
.callout.green .label  { color: var(--green); }

/* ─────────────────────────────────────────────────────────────
 * Sparkles / Claude card
 * ──────────────────────────────────────────────────────────── */
.claude-card {
  background: linear-gradient(135deg, rgba(212,132,42,0.06) 0%, rgba(139,26,26,0.04) 100%);
  border: 1px solid var(--accent-light);
  border-radius: 14px;
  padding: 22px 24px;
  position: relative;
}
.claude-card::before {
  content: '✨'; position: absolute;
  top: 18px; right: 22px; font-size: 22px;
  animation: sparkle 3s ease-in-out infinite;
}
@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; }
  50%      { transform: scale(1.15) rotate(15deg); opacity: 1; }
}
.claude-card .title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent);
}
.claude-card .summary {
  font-size: 16px; font-weight: 600;
  margin-top: 8px; color: var(--text);
  line-height: 1.5;
}
.claude-card .suggestion {
  font-size: 14px; color: var(--text-mid);
  margin-top: 10px; line-height: 1.6;
}
.claude-card .suggestion .lbl {
  font-weight: 700; color: var(--accent);
}

/* ─────────────────────────────────────────────────────────────
 * Browser mockup (for portal screenshots)
 * ──────────────────────────────────────────────────────────── */
.browser {
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden; background: var(--card-bg);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.18);
}
.browser-bar {
  background: var(--sidebar-bg);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--rule);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ed6a5e; }
.dot.y { background: #f4be4f; }
.dot.g { background: #60c454; }
.browser-url {
  margin-left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; color: var(--text-light);
  background: rgba(0,0,0,0.04);
  padding: 4px 10px; border-radius: 6px;
}
.browser-body { padding: 24px 28px; }

/* Mini portal mock */
.portal-shell { display: grid; grid-template-columns: 180px 1fr; gap: 0; min-height: 320px; }
.portal-side {
  background: var(--sidebar-bg);
  border-right: 1px solid var(--rule);
  padding: 18px 14px;
  margin: -24px 0 -24px -28px;
}
.portal-side .brand-mark {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; color: var(--primary);
  margin-bottom: 18px;
}
.portal-side .nav-item {
  font-size: 12.5px; color: var(--text-mid);
  padding: 6px 10px; border-radius: 6px;
  margin: 2px 0;
}
.portal-side .nav-item.active {
  background: rgba(139,26,26,0.08); color: var(--primary); font-weight: 600;
}
.portal-main { padding: 0 0 0 24px; }
.portal-h { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.portal-sub { font-size: 12px; color: var(--text-light); margin-bottom: 14px; }

/* mini stats inside browser mock */
.mini-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 14px; }
.mini-stat {
  background: var(--surface-subtle);
  border: 1px solid var(--rule);
  border-radius: 8px; padding: 10px 12px;
}
.mini-stat .v { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 18px; color: var(--primary); }
.mini-stat .v.green { color: var(--green); }
.mini-stat .v.red { color: var(--red); }
.mini-stat .l { font-size: 9px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-light); margin-top: 4px; }

/* Mini module cards inside browser */
.mini-mods { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mini-mod {
  border: 1px solid var(--rule); border-radius: 8px;
  padding: 10px 12px; font-size: 12px;
}
.mini-mod .n {
  font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.mini-mod .n::before {
  content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--m-color, var(--primary));
}
.mini-mod .s { color: var(--text-light); font-size: 11px; margin-top: 4px; }

/* ─────────────────────────────────────────────────────────────
 * Console stream (animated)
 * ──────────────────────────────────────────────────────────── */
.console {
  background: var(--code-bg);
  color: #e6e6e6;
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; line-height: 1.7;
  padding: 18px 22px;
  min-height: 200px;
  overflow: hidden;
}
.console .ln { opacity: 0; animation: lnIn 0.4s ease forwards; }
@keyframes lnIn { to { opacity: 1; } }
.console .ln.meta  { color: #9cdcfe; }
.console .ln.ok    { color: #6cd07a; }
.console .ln.err   { color: #f08080; }
.console .ln.amber { color: var(--code-fg); }
.console .ln .ts   { color: var(--text-light); margin-right: 10px; }

/* ─────────────────────────────────────────────────────────────
 * Quote / pull
 * ──────────────────────────────────────────────────────────── */
.pull {
  font-size: 36px; font-weight: 700;
  line-height: 1.25; color: var(--text);
  letter-spacing: -0.5px;
  max-width: 860px;
}
.pull em { font-style: normal; color: var(--primary); }
.pull em.accent { color: var(--accent); }

/* ─────────────────────────────────────────────────────────────
 * Phase tabs (Phase 1 / Phase 2)
 * ──────────────────────────────────────────────────────────── */
.phase-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.phase {
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 22px 24px;
}
.phase .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  padding: 3px 10px; border-radius: 99px;
  display: inline-block;
}
.phase.done .tag { color: var(--green); background: var(--green-bg); }
.phase.next .tag { color: var(--accent); background: var(--accent-bg); }
.phase h3 { font-size: 22px; margin-top: 10px; }
.phase ul { padding-left: 18px; margin: 12px 0 0; }
.phase li { font-size: 14.5px; color: var(--text-mid); margin: 6px 0; line-height: 1.55; }

/* ─────────────────────────────────────────────────────────────
 * Timeline
 * ──────────────────────────────────────────────────────────── */
.timeline {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px; margin-top: 28px;
}
.tl-step {
  border-top: 2px solid var(--rule);
  padding-top: 14px; position: relative;
}
.tl-step::before {
  content: ''; position: absolute;
  top: -7px; left: 0;
  width: 12px; height: 12px;
  background: var(--card-bg); border: 2px solid var(--primary);
  border-radius: 50%;
}
.tl-step.future::before { border-color: var(--accent); }
.tl-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary);
}
.tl-step.future .tl-num { color: var(--accent); }
.tl-title { font-size: 16px; font-weight: 600; margin: 6px 0 4px; }
.tl-body { font-size: 13px; color: var(--text-mid); line-height: 1.55; }

/* ─────────────────────────────────────────────────────────────
 * Final / close
 * ──────────────────────────────────────────────────────────── */
.close-headline {
  font-size: 64px; font-weight: 700;
  line-height: 1.1; letter-spacing: -1.2px;
  max-width: 920px;
}
.close-headline em { font-style: normal; color: var(--primary); }

/* tiny watermark */
.watermark {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--text-light);
  letter-spacing: 2px; text-transform: uppercase;
  margin-top: 40px;
}

/* ─────────────────────────────────────────────────────────────
 * Witty footnote
 * ──────────────────────────────────────────────────────────── */
.fn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--text-light);
  margin-top: 24px; letter-spacing: 0.5px;
}
.fn::before { content: '⁂ '; color: var(--accent); }

/* ─────────────────────────────────────────────────────────────
 * Tag pill
 * ──────────────────────────────────────────────────────────── */
.pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 4px 10px; border-radius: 99px;
  display: inline-block;
  background: var(--primary-bg); color: var(--primary);
}
.pill.accent { background: var(--accent-bg); color: var(--accent); }
.pill.green  { background: var(--green-bg);  color: var(--green); }
.pill.ink    { background: var(--surface-muted); color: var(--text); }

/* Illustrative-data flag — sits next to fabricated numbers */
.illust {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-light);
  background: rgba(0,0,0,0.04);
  border: 1px dashed rgba(0,0,0,0.18);
  padding: 2px 8px; border-radius: 99px;
  margin-left: 8px; vertical-align: middle;
  white-space: nowrap;
}
.illust::before { content: '⊘ '; color: var(--accent); }

/* Video clip wrapper — fits within editorial panels */
.clip {
  position: relative;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--rule);
  background: #1E1E1E;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.22);
  display: flex; align-items: center; justify-content: center;
}
.clip video {
  display: block; width: 100%; height: auto;
}
.clip .clip-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 18px;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 1px;
}
.clip .clip-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 4px 10px; border-radius: 99px;
  background: rgba(0,0,0,0.55); color: #fff;
  backdrop-filter: blur(4px);
}
.clip .clip-tag::before { content: '⏵ '; color: var(--code-fg); }

/* Demo slide — full-bleed video, fit to slide */
.demo-slide .clip {
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.35);
  max-width: 1100px;
  margin: 0 auto;
}
.demo-slide .clip video {
  max-height: 580px;
  width: auto;
  max-width: 100%;
}
.demo-pre {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px;
}
.demo-pre .timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--text-light);
  letter-spacing: 1.5px;
}
.demo-slide .section-h { font-size: 32px; margin-bottom: 14px; }

/* Default clips on regular slides — keep aspect, cap height */
.clip video { max-height: 480px; object-fit: contain; background: #000; }

/* Print niceties */
@media print {
  .hero::before, .hero::after { animation: none; }
  .claude-card::before { animation: none; }
}
