/* Theme Saint-Jean Dark — webinaire Vatel 2026-05-28
 * Étend reveal.js theme black avec design system Stitch
 * Fonts: Montserrat (display) + Inter (body) — décision projet 2026-05-21
 * Cf. project_webinaire_vatel_deck_fonts.md */

:root {
  /* reveal.js variables (override black theme) */
  --r-background-color: #0B0E14;        /* deep-navy from Stitch */
  --r-main-color: #e1e3e4;              /* on-surface */
  --r-heading-color: #ffffff;
  --r-link-color: #E91E63;              /* vibrant-pink */
  --r-link-color-hover: #bd1550;        /* primary-container */
  --r-selection-background-color: #E91E63;
  --r-selection-color: #ffffff;

  --r-heading-font: 'Montserrat', system-ui, sans-serif;
  --r-main-font: 'Inter', system-ui, sans-serif;
  --r-code-font: 'Geist Mono', ui-monospace, monospace;

  --r-heading-text-transform: none;
  --r-heading-font-weight: 700;

  --r-main-font-size: 20px;
  --r-heading1-size: clamp(2.5rem, 5vw, 4.5rem);
  --r-heading2-size: clamp(1.8rem, 3.5vw, 2.8rem);
  --r-heading3-size: clamp(1.4rem, 2.5vw, 2rem);

  /* Stitch design tokens (mirrored as CSS vars for reuse in non-Tailwind blocks) */
  --w-deep-navy: #0B0E14;
  --w-surface: #111415;
  --w-surface-container-lowest: #0c0f10;
  --w-surface-container-low: #191c1d;
  --w-surface-container: #1d2021;
  --w-surface-container-high: #282a2b;
  --w-surface-container-highest: #323536;
  --w-surface-variant: #323536;
  --w-on-surface: #e1e3e4;
  --w-on-surface-variant: #e1bec2;
  --w-tertiary: #bdc7d9;
  --w-tertiary-container: #586272;
  --w-on-tertiary-container: #d4def1;
  --w-vibrant-pink: #E91E63;
  --w-primary-container: #bd1550;
  --w-inverse-primary: #b9104d;
  --w-data-blue: #3B82F6;
  --w-warning-amber: #F59E0B;
  --w-outline: #a9898d;
}

/* Reset center alignment from reveal.js so slides can use Stitch grids */
.reveal .slides {
  text-align: left;
}
.reveal .slides section {
  height: 100%;
  width: 100%;
  padding: 0 !important;
  top: 0 !important;
  display: flex;
  flex-direction: column;
}

/* Slide frame container — each slide is a full 16:9 canvas with safe zones
 * Always has: visible tech grid background + corner radial glow (alternating) */
.slide-frame {
  width: 100%;
  height: 100%;
  padding: 4% 5%;        /* safe-margin per Stitch design system */
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background-color: var(--w-deep-navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Alternating corner glows per slide — vibrant-pink top-right, data-blue bottom-left */
.reveal .slides section:nth-of-type(odd) .slide-frame::before {
  content: '';
  position: absolute;
  top: -25%; right: -15%;
  width: 70vw; height: 75vh;
  background: radial-gradient(ellipse at 40% 50%, rgba(233, 30, 99, 0.28) 0%, rgba(233, 30, 99, 0.08) 35%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.reveal .slides section:nth-of-type(even) .slide-frame::before {
  content: '';
  position: absolute;
  bottom: -15%; left: -15%;
  width: 70vw; height: 75vh;
  background: radial-gradient(ellipse at 60% 50%, rgba(59, 130, 246, 0.20) 0%, rgba(59, 130, 246, 0.06) 35%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
/* Second accent glow opposite corner for layered depth */
.reveal .slides section:nth-of-type(odd) .slide-frame::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 40vw; height: 50vh;
  background: radial-gradient(ellipse, rgba(189, 21, 80, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}
.reveal .slides section:nth-of-type(even) .slide-frame::after {
  content: '';
  position: absolute;
  top: -15%; right: -10%;
  width: 40vw; height: 50vh;
  background: radial-gradient(ellipse, rgba(189, 21, 80, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

/* Aurora atmospheric overlay — diagonal light streak across each slide */
.reveal .slides section .slide-frame > .slide-content::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 120%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(233, 30, 99, 0.04) 45%,
    rgba(59, 130, 246, 0.025) 55%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  transform: rotate(-3deg);
}

/* Diagonal accent lines top-right (decorative geometric shards) */
.slide-frame .deco-shards {
  position: absolute;
  top: 0;
  right: 0;
  width: 35vw;
  height: 50vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  overflow: hidden;
}
.slide-frame .deco-shards::before,
.slide-frame .deco-shards::after {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.5), transparent);
  height: 1px;
}
.slide-frame .deco-shards::before {
  top: 15%; right: -10%;
  width: 80%;
  transform: rotate(-15deg);
}
.slide-frame .deco-shards::after {
  top: 35%; right: -20%;
  width: 60%;
  transform: rotate(-25deg);
  opacity: 0.6;
}

/* Particle dots scattered subtly (alternating positions) */
.reveal .slides section:nth-of-type(3n+1) .slide-frame .deco-shards {
  background-image:
    radial-gradient(circle 1.5px at 20% 30%, rgba(233, 30, 99, 0.6), transparent),
    radial-gradient(circle 1px at 70% 60%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(circle 1.5px at 40% 80%, rgba(59, 130, 246, 0.5), transparent),
    radial-gradient(circle 1px at 85% 25%, rgba(255, 255, 255, 0.4), transparent);
}
.reveal .slides section:nth-of-type(3n+2) .slide-frame .deco-shards {
  background-image:
    radial-gradient(circle 1px at 30% 50%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(circle 1.5px at 80% 20%, rgba(233, 30, 99, 0.5), transparent),
    radial-gradient(circle 1px at 15% 80%, rgba(59, 130, 246, 0.4), transparent);
}

/* Slide source citation — bottom-right discrete reference */
.slide-source {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--w-on-surface-variant);
  opacity: 0.55;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.slide-source::before {
  content: 'source';
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 10px;
  color: var(--w-vibrant-pink);
  opacity: 0.7;
}

/* Decorative background watermark — large faded text or number */
.bg-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #ffffff;
  opacity: 0.03;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
  line-height: 1;
}
.bg-watermark--corner-tr {
  top: 4%;
  left: auto;
  right: 4%;
  transform: none;
  opacity: 0.04;
}
.bg-watermark--corner-bl {
  top: auto;
  left: 4%;
  bottom: 4%;
  transform: none;
  opacity: 0.035;
}

/* PDF download floating button */
.pdf-download-btn {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--w-vibrant-pink);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(233, 30, 99, 0.35);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.pdf-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(233, 30, 99, 0.5);
}
.pdf-download-btn .material-symbols-outlined {
  font-size: 18px;
}

/* Hide PDF button in print/PDF export mode */
.reveal.print-pdf .pdf-download-btn { display: none !important; }
@media print {
  .pdf-download-btn { display: none !important; }
}

/* Background "shard" decorative gradients — Stitch signature */
.bg-shards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-shards::before,
.bg-shards::after {
  content: '';
  position: absolute;
  border-radius: 100px;
  filter: blur(120px);
  opacity: 0.6;
}
.bg-shards::before {
  top: -15%;
  right: -5%;
  width: 65%;
  height: 90%;
  background: rgba(233, 30, 99, 0.10);   /* vibrant-pink/10 */
  transform: rotate(-15deg) skewX(12deg);
  animation: pulse-shard 8s ease-in-out infinite;
}
.bg-shards::after {
  bottom: -10%;
  left: -10%;
  width: 45%;
  height: 60%;
  background: rgba(88, 98, 114, 0.20);   /* tertiary-container/20 */
  transform: rotate(12deg);
}
@keyframes pulse-shard {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 0.7; }
}

/* Subtle tech grid overlay — used on hero slides */
.bg-tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 20%, transparent 100%);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* Slide content sits above shards */
.slide-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Module tag (top-left pill above headline) */
.module-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--w-surface-container-high);
  border: 1px solid var(--w-surface-variant);
  color: var(--w-on-surface-variant);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  width: fit-content;
}
.module-tag .material-symbols-outlined {
  color: var(--w-vibrant-pink);
  font-size: 20px;
}

/* Business translation chip (top-right of content block) */
.biz-chip {
  display: inline-block;
  background: var(--w-vibrant-pink);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.875rem;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.25);
}
.biz-chip--ghost {
  background: var(--w-tertiary-container);
  color: var(--w-on-tertiary-container);
  box-shadow: none;
}

/* Power Third layout — 1/3 context + 2/3 insight */
.power-third {
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 3rem;
  flex: 1;
  min-height: 0;
}
.power-third > .context {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: flex-start;
}
.power-third > .insight {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Context card — left column container */
.context-card {
  background: var(--w-surface-container);
  border: 1px solid var(--w-surface-variant);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}
.context-card .corner-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 10rem;
  height: 10rem;
  background: rgba(233, 30, 99, 0.10);
  border-bottom-left-radius: 100%;
  pointer-events: none;
}

/* Prompt box — used for code/prompt examples */
.prompt-box {
  background: var(--w-surface-container-lowest);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--w-vibrant-pink);
  border-radius: 0 0.625rem 0.625rem 0;
  padding: 1.5rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--w-on-surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.prompt-box .prompt-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w-on-surface-variant);
  margin-bottom: 0.75rem;
}

/* Decision callout — bottom of context column */
.decision-key {
  background: var(--w-deep-navy);
  border-left: 4px solid var(--w-vibrant-pink);
  border-radius: 0 0.625rem 0.625rem 0;
  padding: 1.25rem 1.5rem;
}
.decision-key .label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w-on-surface-variant);
  margin-bottom: 0.5rem;
}
.decision-key .value {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--w-on-surface);
}

/* Comparison table — header magenta tint, alt rows, horiz lines */
.stitch-table {
  width: 100%;
  background: var(--w-surface-container-low);
  border: 1px solid var(--w-surface-variant);
  border-radius: 1rem;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  flex: 1;
}
.stitch-table thead {
  background: rgba(233, 30, 99, 0.20);
}
.stitch-table th,
.stitch-table td {
  text-align: left;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--w-surface-variant);
  vertical-align: top;
}
.stitch-table th {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--w-on-surface);
}
.stitch-table tbody tr:nth-child(even) {
  background: rgba(17, 20, 21, 0.30);
}
.stitch-table tbody tr:last-child td {
  border-bottom: none;
}

/* KPI block — big number + label */
.kpi-block {
  background: var(--w-surface-container);
  border: 1px solid var(--w-surface-variant);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.kpi-block .kpi-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: var(--w-vibrant-pink);
  letter-spacing: -0.02em;
}
.kpi-block .kpi-label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--w-on-surface-variant);
}

/* Bento grid card (slide 13 charte) — content vertically centered, subtle inner gradient */
.bento-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 60%),
    var(--w-surface-container-low);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 1rem;
  padding: 1.4rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: border-color 200ms ease, transform 200ms ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(233, 30, 99, 0.06) 0%, transparent 50%);
  pointer-events: none;
  border-radius: 1rem;
}
.bento-card:hover {
  border-color: rgba(233, 30, 99, 0.50);
}
.bento-card .bento-bg-icon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.25rem;
  opacity: 0.10;
  pointer-events: none;
}
.bento-card .bento-bg-icon .material-symbols-outlined {
  font-size: 80px;
  color: var(--w-vibrant-pink);
}
.bento-card .bento-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--w-vibrant-pink);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

/* RCT framework node (slide 8) */
.rct-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--w-surface-container-high);
  border-radius: 0.5rem;
}
.rct-step--role     { border-left: 4px solid var(--w-data-blue); }
.rct-step--context  { border-left: 4px solid var(--w-warning-amber); }
.rct-step--task     { border-left: 4px solid var(--w-vibrant-pink); }
.rct-step .material-symbols-outlined {
  font-size: 28px;
  flex-shrink: 0;
}
.rct-step--role    .material-symbols-outlined { color: var(--w-data-blue); }
.rct-step--context .material-symbols-outlined { color: var(--w-warning-amber); }
.rct-step--task    .material-symbols-outlined { color: var(--w-vibrant-pink); }
.rct-step h4 {
  margin: 0 0 0.25rem 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--w-on-surface);
}
.rct-step p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--w-on-surface-variant);
}

/* Live poll badge (Sondage 1-4) */
.live-poll-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--w-vibrant-pink);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  width: fit-content;
  animation: pulse-badge 2s ease-in-out infinite;
}
.live-poll-badge::before {
  content: '';
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #ffffff;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.5); }
  50%      { box-shadow: 0 0 0 10px rgba(233, 30, 99, 0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}

/* Poll option list (used in sondages) */
.poll-options {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.poll-options li {
  background: var(--w-surface-container);
  border: 1px solid var(--w-surface-variant);
  border-left: 4px solid var(--w-vibrant-pink);
  border-radius: 0 0.625rem 0.625rem 0;
  padding: 1.25rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  color: var(--w-on-surface);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Slide N : Partie badge (top-left tertiary pill) */
.section-tag {
  display: inline-block;
  background: var(--w-surface-container-high);
  border: 1px solid var(--w-surface-variant);
  color: var(--w-tertiary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  width: fit-content;
}

/* Headlines */
.display-lg {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--w-on-surface);
}
.headline-lg {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--w-on-surface);
}
.headline-md {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--w-on-surface);
}
.body-lg {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.375rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--w-tertiary);
}
.body-md {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.1vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--w-on-surface-variant);
}
.label-caps {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Accent on key word (display-lg with text-vibrant-pink) */
.accent-pink {
  color: var(--w-vibrant-pink);
  position: relative;
  display: inline-block;
}
.accent-pink::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 6px;
  background: rgba(233, 30, 99, 0.5);
  border-radius: 999px;
  filter: blur(1px);
}

/* Progress bar & slide number magenta */
.reveal .progress {
  color: var(--w-vibrant-pink);
  height: 3px;
}
.reveal .slide-number {
  font-family: var(--r-code-font);
  font-size: 0.6em;
  color: var(--w-on-surface-variant);
  background: rgba(11, 14, 20, 0.6);
}

/* Reduced motion safety */
@media (prefers-reduced-motion: reduce) {
  .bg-shards::before,
  .live-poll-badge,
  .live-poll-badge::before { animation: none; }
}

/* ─────────────────────────────────────────────────────────────────────────
 * PDF / print rendering — force exact 1920×1080 per slide, no overflow scroll
 * Stack each <section> as one page, clip any content that exceeds the canvas.
 * Activated by:
 *   - Reveal.js `?print-pdf` query (adds .reveal.print-pdf)
 *   - @media print (Playwright emulateMedia)
 * ───────────────────────────────────────────────────────────────────────── */

.reveal.print-pdf,
.reveal.print-pdf body,
.reveal.print-pdf .reveal {
  width: 1920px !important;
  height: auto !important;
  overflow: visible !important;
  background: var(--w-deep-navy) !important;
}

.reveal.print-pdf .slides,
.reveal.print-pdf .reveal .slides {
  position: static !important;
  width: 1920px !important;
  height: auto !important;
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  zoom: 1 !important;
  display: block !important;
}

.reveal.print-pdf .slides > section,
.reveal.print-pdf .reveal .slides > section {
  position: relative !important;
  display: block !important;
  width: 1920px !important;
  height: 1080px !important;
  min-height: 1080px !important;
  max-height: 1080px !important;
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  page-break-after: always;
  break-after: page;
  overflow: hidden !important;
}

.reveal.print-pdf .slides > section:last-of-type {
  page-break-after: auto;
  break-after: auto;
}

.reveal.print-pdf .slide-frame,
.reveal.print-pdf .slide-content {
  overflow: hidden !important;
}

/* Mirror everything for native @media print (Playwright emulateMedia) */
@media print {
  @page {
    size: 1920px 1080px;
    margin: 0;
  }
  html, body, .reveal {
    width: 1920px !important;
    height: auto !important;
    overflow: visible !important;
    background: var(--w-deep-navy) !important;
  }
  .reveal .slides {
    position: static !important;
    width: 1920px !important;
    height: auto !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    zoom: 1 !important;
    display: block !important;
  }
  .reveal .slides > section {
    position: relative !important;
    display: block !important;
    width: 1920px !important;
    height: 1080px !important;
    min-height: 1080px !important;
    max-height: 1080px !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: hidden !important;
    page-break-after: always;
    break-after: page;
  }
  .reveal .slides > section:last-of-type {
    page-break-after: auto;
    break-after: auto;
  }
  .slide-frame, .slide-content { overflow: hidden !important; }
  .controls, .progress, .speaker-notes, .pdf-download-btn { display: none !important; }
}
