@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');

:root {
  --brand-primary: #09645F;
  --brand-primary-rgb: 9, 100, 95;
  --brand-primary-dark: #064E4A;
  --brand-accent: #C5A059;
  --brand-accent-rgb: 197, 160, 89;
  --brand-accent-soft: #F0F7F6;
  --brand-ink: #1F2D26;
  --brand-muted: #667C70;
  --brand-surface: #f5f5f5;
  --brand-card: #ffffff;
  --brand-radius: 14px;
  --pillar-1: #09645F;
  --pillar-2: #C5A059;
  --pillar-3: #2E8B7A;
  --pillar-4: #7A1F2B;
  --pillar-1-rgb: 9, 100, 95;
  --pillar-2-rgb: 197, 160, 89;
  --pillar-3-rgb: 46, 139, 122;
  --pillar-4-rgb: 122, 31, 43;
  --font-ar: "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-en: "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font: "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --animate-duration: 0.65s;
  --animate-delay: 0.08s;
  /* Type scale (px on the 1280x720 stage). Every font-size in this file uses one of these; similar roles share one size on every slide. */
  --fs-title: 30px;        /* slide h2 */
  --fs-headline: 28px;     /* quote text, poll question, timeline/history beat titles */
  --fs-lead: 24px;         /* lead question / takeaway line, speaker names, verdicts */
  --fs-card-title: 22px;   /* card / item / check titles, kickers, metric labels */
  --fs-subtitle: 20px;     /* header subtitle */
  --fs-body: 20px;         /* card body, list items */
  --fs-body-small: 18px;   /* descriptions, table text, pills, attributions */
  --fs-caption: 16px;      /* references, tags, badges, QR/link captions */
  --fs-small: 14px;        /* footer, diagram micro-labels */
  --fs-display-sm: 36px;   /* tier/diagram hero labels */
  --fs-display-md: 48px;   /* cover title, check meter count, stat values */
  --fs-display-lg: 56px;   /* hero stat numbers, separator titles */
  --fs-display-xl: 72px;   /* biggest stat / history year */
  --fs-display-glyph: 110px;    /* decorative quote marks */
  --fs-display-glyph-sm: 84px;
  --fs-display-timer: 120px;    /* break countdown */
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--brand-surface);
  color: var(--brand-ink);
  font-family: var(--font);
}

.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--brand-surface);
  background-image: url('assets/dp-wave-bg.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.reveal-viewport {
  background: transparent;
}

.reveal { z-index: 3; font-family: var(--font); font-size: 26px; }
.reveal,
.reveal .slides,
.reveal section,
.reveal section *,
.slide-card,
.slide-card *,
.btn-slide-num {
  font-family: var(--font) !important;
}
.reveal h1, .reveal h2, .reveal h3, .reveal h4 {
  font-family: var(--font);
  text-transform: none;
}
.reveal .slides section:not(.stack),
.reveal .slides section.present:not(.stack),
.reveal .slides > section.present:not(.stack),
.reveal .slides > section > section.present {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-height: 100%;
  padding: 24px 32px 18px;
  text-align: start;
  overflow: hidden;
  box-sizing: border-box;
}
.reveal .slides > section.stack {
  display: block !important;
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  padding: 0;
}

.reveal .slides section.is-title-slide-section,
.reveal .slides section.is-title-slide-section.present {
  padding: 0 40px;
  justify-content: stretch;
  align-items: stretch;
  overflow: hidden;
}

.slide-header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
  flex: 0 0 auto;
}

.slide-header { min-width: 0; flex: 1; }
.slide-header h2 {
  margin: 0;
  font-size: var(--fs-title);
  font-weight: 700;
  color: var(--brand-primary-dark);
  line-height: 1.25;
}
.slide-header .subtitle {
  margin-top: 4px;
  font-size: var(--fs-subtitle);
  font-weight: 600;
  color: var(--brand-muted);
}

.logo-end,
.logo-left-wrapper {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.slide-logo,
.slide-logo-campus {
  height: 40px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.grid-container {
  flex: 1 1 0%;
  min-height: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.grid-container > .row,
.grid-container > [class*="layout-"],
.grid-container > .title-slide,
.grid-container > .hbmsu-title-slide-wrapper {
  flex: 1 1 0%;
  min-height: 0;
  height: auto;
  max-height: 100%;
}

.grid-container .row,
.layout-profile,
.layout-los,
.layout-metrics,
.layout-workshop,
.layout-quote,
.layout-case,
.layout-demo,
.layout-roadmap,
.layout-separator,
.layout-hover {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  margin: 0;
  min-height: 0;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  align-items: stretch;
  justify-items: stretch;
}

.grid-container .row {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  max-height: 100%;
}
.grid-container .row .row {
  height: 100%;
}

.grid-container .row > * {
  min-width: 0;
  min-height: 0;
  width: auto !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  flex: none !important;
  align-self: stretch;
  justify-self: stretch;
  display: flex;
  flex-direction: column;
}
.grid-container .row > .lo-card,
.slide-card.lo-card {
  flex-direction: row;
}

.grid-container .row > * > .slide-card,
.grid-container .row > * > .row,
.grid-container .row > * > [class*="layout-"] {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100%;
}

.grid-container .row.rows-1 { grid-template-rows: repeat(1, minmax(0, 1fr)); }
.grid-container .row.rows-2 { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.grid-container .row.rows-3 { grid-template-rows: repeat(3, minmax(0, 1fr)); }
.grid-container .row.rows-4 { grid-template-rows: repeat(4, minmax(0, 1fr)); }
.grid-container .row.rows-5 { grid-template-rows: repeat(5, minmax(0, 1fr)); }
.grid-container .row.rows-6 { grid-template-rows: repeat(6, minmax(0, 1fr)); }
.grid-container .row.rows-auto-fill {
  grid-template-rows: auto minmax(0, 1fr);
  grid-auto-rows: minmax(0, 1fr);
}

.col-1 { grid-column: span 1; } .col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; } .col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; } .col-12 { grid-column: span 12; }
.col-span-1 { grid-column: span 1; } .col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; } .col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; } .col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; } .col-span-8 { grid-column: span 8; }
.col-span-9 { grid-column: span 9; } .col-span-10 { grid-column: span 10; }
.col-span-11 { grid-column: span 11; } .col-span-12 { grid-column: span 12; }

.row-span-full { grid-row: 1 / -1; }
.row-span-2 { grid-row-end: span 2; }
.row-span-3 { grid-row-end: span 3; }

.grid-container .row.rows-2 > .slide-card:not(.bg-transparent),
.grid-container .row.rows-2 > * > .slide-card:not(.bg-transparent),
.grid-container .row.rows-auto-fill > * > .slide-card:not(.bg-transparent) {
  justify-content: center;
}

.layout-profile {
  /* DOM: photo then rails. In RTL, col1 sits on the right → photo RIGHT, rails LEFT */
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-rows: 1fr;
  direction: inherit;
}
html[dir="rtl"] .layout-profile,
.reveal .slides section[dir="rtl"] .layout-profile {
  direction: rtl;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
}
.layout-profile .profile-photo { order: 0; }
.layout-profile .profile-rails { order: 1; }
.layout-profile .profile-rails {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 0;
}

.layout-los {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.layout-metrics {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
}

.layout-workshop {
  grid-template-columns: 8fr 4fr;
  grid-template-rows: 1fr;
}

.layout-quote { grid-template-columns: 1fr; }
.layout-separator {
  grid-template-columns: 1fr;
  place-items: center;
  align-content: center;
  justify-content: center;
}
.layout-separator > * {
  width: 100%;
  max-width: 100%;
  text-align: center;
}
.layout-demo {
  grid-template-columns: 1fr;
  place-items: center;
}
.layout-case {
  grid-template-columns: 7fr 5fr;
  grid-template-rows: minmax(0, 1fr);
}
.layout-hover {
  grid-template-columns: repeat(4, 1fr);
}
.layout-roadmap {
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(0, 1fr);
}

.layout-case > *,
.layout-workshop > *,
.layout-profile > *,
.layout-los > *,
.layout-metrics > *,
.layout-separator > *,
.layout-demo > *,
.layout-hover > *,
.layout-quote > * {
  min-width: 0;
  min-height: 0;
}

.slide-card {
  background: var(--brand-card);
  border: 1.5px solid rgba(var(--brand-primary-rgb), 0.18);
  border-radius: var(--brand-radius);
  box-shadow: 0 4px 16px rgba(0, 40, 85, 0.06);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: var(--brand-ink);
}

.slide-card.bg-white { background: var(--brand-card); }
.slide-card.bg-soft { background: var(--brand-accent-soft); }
.slide-card.bg-transparent {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.slide-card.align-center { align-items: center; text-align: center; }
.slide-card.align-start { align-items: stretch; text-align: start; }
.slide-card.justify-center { justify-content: center; }
.slide-card.justify-between { justify-content: space-between; }
.slide-card.text-center { text-align: center; }
.slide-card.text-start { text-align: start; }

.slide-card.pillar-1,
.slide-card.pillar-2,
.slide-card.pillar-3,
.slide-card.pillar-4 { border-inline-start: none; }
.slide-card.accent-top { border-top: 4px solid var(--brand-primary); border-inline-start: none; }

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(var(--brand-primary-rgb), 0.1);
  color: var(--brand-primary);
}
.icon-box i, .icon-box svg { width: 26px; height: 26px; }

.bio-rail {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  padding: 0;
  overflow: hidden;
}
.bio-rail .icon-box {
  width: 72px;
  height: auto;
  border-radius: 0;
}
.bio-rail .bio-copy {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.bio-rail .bio-copy strong {
  display: block;
  font-size: var(--fs-card-title);
  color: var(--brand-primary);
  margin-bottom: 2px;
}
.bio-rail .bio-copy span {
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--brand-ink);
}

.profile-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}
.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--brand-accent);
  flex-shrink: 0;
}
.avatar img, .avatar .show-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-name { font-size: var(--fs-lead); font-weight: 700; color: var(--brand-primary); line-height: 1.2; }
.profile-role { font-size: var(--fs-body); font-weight: 700; color: var(--brand-accent); }
.profile-org { font-size: var(--fs-body); color: var(--brand-muted); }
.profile-email {
  font-size: var(--fs-body-small);
  font-weight: 600;
  color: var(--brand-muted);
  direction: ltr;
  margin-top: 4px;
}

.slide-card > strong {
  font-size: var(--fs-card-title);
  color: var(--brand-primary-dark);
  display: block;
}
.lo-body {
  font-size: var(--fs-body);
  margin: 4px 0 0;
  color: var(--brand-ink);
  line-height: 1.35;
}
.lo-card { flex-direction: row; align-items: center; gap: 14px; text-align: start; }
.lo-badge {
  font-size: var(--fs-caption);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(var(--brand-primary-rgb), 0.1);
  color: var(--brand-primary);
}
.lo-card strong { font-size: var(--fs-card-title); color: var(--brand-primary-dark); display: block; }
.lo-card p, .lo-card .lo-body {
  font-size: var(--fs-body);
  margin: 4px 0 0;
  color: var(--brand-ink);
  line-height: 1.35;
}

.metric-card { align-items: center; text-align: center; justify-content: center; gap: 6px; }
.metric-kicker { font-size: var(--fs-body-small); font-weight: 700; color: var(--brand-muted); }
.metric-hero {
  font-size: var(--fs-display-lg);
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  direction: ltr;
}
.metric-label { font-size: var(--fs-card-title); font-weight: 700; color: var(--brand-primary-dark); }
.metric-note { font-size: var(--fs-body-small); color: var(--brand-muted); }

.card-kicker {
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--brand-primary-dark);
  display: block;
  margin-bottom: 6px;
}
.card-body { font-size: var(--fs-body); line-height: 1.45; margin: 0; color: var(--brand-ink); }

.workshop-prompt { text-align: start; gap: 10px; }
.workshop-role {
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-accent);
  text-transform: uppercase;
}
.workshop-task { font-size: var(--fs-card-title); font-weight: 700; color: var(--brand-primary-dark); }
.workshop-qr {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  min-height: 0;
}
.workshop-qr > .show-img {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.qr-frame {
  width: 145px;
  height: 145px;
  flex: 0 0 145px;
}
.qr-frame img, .qr-frame .show-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qr-link { font-size: var(--fs-caption); font-weight: 700; word-break: break-all; }

.layout-quote blockquote,
blockquote.slide-card {
  margin: 0;
}
.quote-card {
  margin: 0;
  background: var(--brand-primary-dark);
  color: #fff;
  justify-content: center;
  padding: 24px 28px;
  border: none;
  min-height: 0;
  text-align: start;
  gap: 0;
}
.quote-mark { font-size: var(--fs-display-lg); line-height: 1; color: var(--brand-accent); }
.quote-text { font-size: var(--fs-headline); font-weight: 700; line-height: 1.4; margin: 8px 0 16px; }
.quote-text em { color: #F5C16C; font-style: normal; }
.quote-by { font-size: var(--fs-body-small); opacity: 0.85; }
.quote-card.quote-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 36px;
  background: #0B1F3A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.quote-card.quote-hero .quote-mark {
  position: absolute;
  inset-inline-start: 16px;
  top: 8px;
  font-size: var(--fs-display-glyph);
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.06);
  line-height: 0.75;
  pointer-events: none;
  z-index: 1;
}
.quote-card.quote-hero .quote-text {
  position: relative;
  z-index: 2;
  max-width: 560px;
  font-size: var(--fs-headline);
  font-weight: 800;
  margin-bottom: 16px;
}
.quote-card.quote-hero .quote-by {
  position: relative;
  z-index: 2;
  max-width: 560px;
  font-size: var(--fs-body-small);
  opacity: 0.9;
  line-height: 1.35;
}
.quote-card.quote-hero .quote-by strong {
  color: #fff;
  font-size: inherit;
  display: block;
  margin-bottom: 2px;
}
.quote-card .dt-em-gold,
.quote-text .dt-em-gold { color: var(--dt-gold, #F39200); font-style: normal; }

/* DT mosaic title (basaeed.com/dt) — brand tokens, no inline styles */
.title-slide,
.hbmsu-title-slide-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  text-align: center;
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
}
.reveal .slides section.is-title-slide-section .grid-container {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: auto;
  justify-content: center;
  align-items: stretch;
}
.hbmsu-title-top {
  flex: 1 1 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.title-slide-logo,
.hbmsu-title-logo,
.hbmsu-title-logo.show-img {
  max-height: 65px;
  max-width: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.hbmsu-title-center-mosaic {
  flex: 0 0 160px;
  width: 100%;
  height: 160px;
  min-height: 150px;
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  border-radius: var(--brand-radius);
  display: flex;
  justify-content: center;
  align-items: center;
}
.title-slide-box,
.hbmsu-title-box {
  background: var(--brand-primary-dark);
  color: #fff;
  border: 1.5px solid rgba(var(--brand-accent-rgb), 0.45);
  border-radius: var(--brand-radius);
  padding: 12px 36px;
  max-width: 88%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.title-slide-box h1,
.hbmsu-title-box h1 {
  margin: 0;
  font-size: var(--fs-headline);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  white-space: normal;
  font-family: var(--font);
}
.hbmsu-title-bottom {
  flex: 1 1 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
}
.title-slide-speaker,
.hbmsu-speaker-name {
  font-size: var(--fs-lead);
  font-weight: 700;
  color: var(--brand-primary-dark);
  font-family: var(--font);
}
.hbmsu-speaker-org {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--brand-primary);
  font-family: var(--font);
}
.title-slide-email,
.hbmsu-speaker-email {
  font-size: var(--fs-body-small);
  font-weight: 600;
  color: var(--brand-muted);
  direction: ltr;
  font-family: var(--font);
}

.bg-footer-banner-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.95;
}
.bg-footer-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}
html.print-pdf .bg-footer-banner-wrapper,
html.print-pdf .bg-ship,
html.print-pdf .bg-blobs { display: none !important; }
html.print-pdf .reveal-viewport {
  background-color: var(--brand-surface);
}

.break-slide {
  place-items: center;
  text-align: center;
}
.break-slide .separator-title { font-size: var(--fs-display-lg); }
.break-slide .separator-kicker { font-size: var(--fs-card-title); }

.q-prompt-hero {
  font-size: var(--fs-headline);
  font-weight: 700;
  color: var(--brand-primary-dark);
  line-height: 1.45;
  text-align: center;
  margin: 0;
}

.separator-kicker {
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--brand-accent);
  letter-spacing: 0.12em;
}
.separator-title {
  font-size: var(--fs-display-lg);
  font-weight: 700;
  color: var(--brand-primary-dark);
  margin: 10px 0 0;
  line-height: 1.3;
  max-width: 100%;
  padding-inline: 12px;
}

.hover-reveal-card { cursor: pointer; position: relative; }
.hover-reveal-card .card-reveal-body,
.hover-reveal-card .card-reveal-footer {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.hover-reveal-card:hover,
.hover-reveal-card.is-revealed,
.hover-reveal-card.is-active {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 40, 85, 0.16);
}
.hover-reveal-card:hover .card-reveal-body,
.hover-reveal-card:hover .card-reveal-footer,
.hover-reveal-card.is-revealed .card-reveal-body,
.hover-reveal-card.is-revealed .card-reveal-footer,
.hover-reveal-card.is-active .card-reveal-body,
.hover-reveal-card.is-active .card-reveal-footer {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.md-list {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-inline-start: 0;
  text-align: start;
}
.md-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  font-size: var(--fs-body);
}
.md-list-icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--brand-primary); margin-top: 4px; }
section[dir="rtl"] .md-list-icon { transform: scaleX(-1); }

.grid-container img:not(.show-img):not(.slide-logo):not(.title-slide-logo):not(.hbmsu-title-logo):not(.slide-logo-campus) {
  display: none;
}
.show-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.slide-card > .show-img,
.slide-card.bg-transparent > .show-img,
.slide-card.align-center.justify-center > .show-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  object-fit: contain;
}

.slide-reference,
.slide-reference-container {
  flex: 0 0 auto;
  width: 100%;
  font-size: var(--fs-caption);
  font-weight: 700;
  color: var(--brand-muted);
  margin-top: 8px;
  opacity: 0.85;
}
.slide-reference a,
.slide-reference-container a { color: var(--brand-primary); }
.slide-footer-divider {
  border: none;
  border-top: 1px solid rgba(var(--brand-primary-rgb), 0.15);
  margin: 10px auto;
  width: calc(100% - 20px);
  display: block;
  box-sizing: border-box;
}
.slide-footer {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 0;
  padding: 0 10px;
  box-sizing: border-box;
  font-size: 1em;
  color: var(--brand-muted);
  flex: 0 0 auto;
  z-index: 4;
}
.footer-date-container,
.footer-page-num-container,
.reveal section .footer-slogan,
.footer-slogan {
  flex: 1;
  position: static;
  left: auto;
  top: auto;
  transform: none;
  width: auto;
  max-width: none;
  display: flex;
  align-items: center;
}
.footer-date-container {
  justify-content: flex-start;
  text-align: start;
}
.footer-page-num-container {
  justify-content: flex-end;
  text-align: end;
}
.reveal section .footer-slogan,
.footer-slogan {
  display: block;
  text-align: center;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.35;
  opacity: 0.8;
  color: var(--brand-muted);
  pointer-events: none;
  z-index: 1;
}
.btn-slide-num {
  background: var(--brand-accent-soft);
  color: var(--brand-primary);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.18);
  border-radius: 8px;
  padding: 3px 10px;
  font-size: var(--fs-small);
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
}
.footer-date {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: 700;
  opacity: 0.8;
}
.footer-date svg { width: 14px; height: 14px; }

section[dir="rtl"] .slide-card.text-start,
section[dir="rtl"] .slide-card.align-start { text-align: start; }
section[dir="ltr"] .slide-card.text-start,
section[dir="ltr"] .slide-card.align-start { text-align: start; }

.lang-en .lo-card,
.lang-en .bio-rail,
.lang-en .workshop-prompt { direction: inherit; text-align: start; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(7, 16, 32, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal-dialog {
  background: #fff;
  border-radius: 16px;
  max-width: min(920px, 92vw);
  max-height: 88vh;
  overflow: auto;
  padding: 28px;
  position: relative;
}
.modal-dialog-wide { max-width: min(1100px, 94vw); }
.modal-close {
  position: absolute;
  top: 8px;
  inset-inline-end: 10px;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: var(--brand-muted);
}
.modal-caption { margin-top: 10px; font-size: var(--fs-body-small); color: var(--brand-muted); }
#image-modal-img { max-width: 100%; max-height: 70vh; object-fit: contain; }
#video-modal-player, #youtube-modal-iframe { width: min(860px, 90vw); height: 480px; border: 0; }
.video-preview-wrapper { position: relative; cursor: pointer; height: 100%; }
.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(9, 100, 95, 0.88);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
}

html.print-pdf,
html.print-pdf * {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}
html.print-pdf,
html.print-pdf body {
  overflow: visible !important;
  height: auto !important;
  width: auto !important;
}
html.print-pdf .reveal,
html.print-pdf .reveal-viewport {
  overflow: visible !important;
  background: var(--brand-surface) !important;
}
html.print-pdf .reveal .controls,
html.print-pdf .reveal .progress,
html.print-pdf .bg-blobs,
html.print-pdf .bg-footer-banner-wrapper {
  display: none !important;
}
html.print-pdf .reveal .slides > section.stack {
  display: block !important;
  position: relative !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
}
html.print-pdf .reveal .slides > section.stack > section,
html.print-pdf .reveal .slides .pdf-page > section,
html.print-pdf .reveal .slides > section:not(.stack) {
  display: flex !important;
  flex-direction: column !important;
  width: 1280px !important;
  height: 720px !important;
  max-height: 720px !important;
  min-height: 720px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background-color: var(--brand-surface);
  background-image: url('assets/ship-print.png'), url('assets/dp-wave-bg.svg');
  background-repeat: no-repeat, no-repeat;
  background-position: left -40px bottom -40px, center center;
  background-size: 400px auto, cover;
}
html.print-pdf .hover-reveal-card,
html.print-pdf .hover-reveal-card .card-reveal-body,
html.print-pdf .hover-reveal-card .card-reveal-footer,
html.print-pdf .hover-reveal-card > * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@media print {
  @page { size: 1280px 720px; margin: 0; }
  html, body {
    overflow: visible !important;
    height: auto !important;
  }
  .bg-blobs,
  .bg-footer-banner-wrapper,
  .reveal .controls,
  .reveal .progress { display: none !important; }
  .hover-reveal-card .card-reveal-body,
  .hover-reveal-card .card-reveal-footer,
  .hover-reveal-card > * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .animate__animated,
  .motion-assemble {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* RTL card copy — always start-aligned (right in Arabic) */
.reveal .slides section .slide-card,
.reveal .slides section .slide-card .bio-copy,
.reveal .slides section .slide-card .lo-body,
.reveal .slides section .slide-card .card-kicker,
.reveal .slides section .slide-card strong,
.reveal .slides section .slide-card span {
  text-align: start !important;
}
.reveal .slides section .slide-card.text-center,
.reveal .slides section .slide-card.justify-center.text-center {
  text-align: start !important;
}

/* House motion — ≤1s total on slide view (Animate.css + assemble) */
.animate__animated {
  --animate-duration: 0.65s;
  --animate-delay: 0.08s;
  animation-duration: var(--animate-duration, 0.65s) !important;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation-fill-mode: both !important;
}
.animate__delay-100ms { animation-delay: 0.08s !important; }
.animate__delay-200ms { animation-delay: 0.16s !important; }
.animate__delay-1s { animation-delay: 0.08s !important; }
.animate__delay-2s { animation-delay: 0.16s !important; }
.animate__delay-3s { animation-delay: 0.24s !important; }
.animate__delay-4s { animation-delay: 0.32s !important; }

@keyframes motionAssemble {
  from { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.96); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
.motion-assemble {
  animation-name: motionAssemble !important;
  animation-duration: 0.65s !important;
  animation-delay: var(--assemble-delay, 0s) !important;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation-fill-mode: both !important;
}
/* Icon lists (instructor-style rails) inside grids */
.row > [class*="col-"] > .bio-rail { height: 100%; }
.bio-rail .icon-box {
  background: rgba(var(--brand-primary-rgb), 0.10);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-16px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.animate__fadeInLeft { animation-name: fadeInLeft !important; }

@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(16px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.animate__fadeInRight { animation-name: fadeInRight !important; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.animate__fadeInUp { animation-name: fadeInUp !important; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.animate__fadeInDown { animation-name: fadeInDown !important; }

@keyframes zoomIn {
  from { opacity: 0; transform: scale3d(0.97, 0.97, 0.97); }
  to { opacity: 1; transform: scale3d(1, 1, 1); }
}
.animate__zoomIn { animation-name: zoomIn !important; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate__fadeIn { animation-name: fadeIn !important; }

@media (prefers-reduced-motion: reduce) {
  /* Keep a short assemble so slide entrance still reads; print/PDF already disable */
  .animate__animated,
  .motion-assemble {
    animation-duration: 0.35s !important;
  }
}
@media print {
  .animate__animated,
  .motion-assemble {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* === dt-from-* slide-specific === */
:root {
  --dt-blue: var(--brand-primary);
  --dt-blue-rgb: var(--brand-primary-rgb);
  --dt-blue-dark: var(--brand-primary-dark);
  --dt-sky: var(--brand-accent);
  --dt-sky-rgb: var(--brand-accent-rgb);
  --dt-muted: var(--brand-muted);
  --dt-ink: var(--brand-ink);
  --dt-white: #ffffff;
  --dt-white-rgb: 255, 255, 255;
  --dt-radius: var(--brand-radius);
  --pillar-ambition: var(--pillar-1);
  --pillar-people: var(--pillar-2);
  --pillar-arsenal: var(--pillar-3);
  --pillar-partners: var(--pillar-4);
  --pillar-ambition-rgb: var(--brand-primary-rgb);
  --pillar-people-rgb: var(--brand-accent-rgb);
  --pillar-arsenal-rgb: 232, 119, 34;
  --pillar-partners-rgb: 91, 123, 7;
  --genai-green-1: #A8C66C;
  --genai-green-2: #8FB84A;
  --genai-green-3: #5B9A3C;
  --genai-green-4: #3F7D2A;
  --genai-green-5: #2F6B28;
  --genai-green-6: #1F4F1C;
  --genai-green-7: #163E16;
  --genai-green-8: #0F2C10;
  --dt-danger: #B91C1C;
  --dt-danger-rgb: 185, 28, 28;
  --dt-success: #2E7D32;
  --dt-success-rgb: 46, 125, 50;
  --dt-gold: #F39200;
  --dt-teal: #009688;
  --dt-teal-rgb: 0, 150, 136;
  --dt-burgundy: #7A1F2B;
  --dt-burgundy-rgb: 122, 31, 43;
  --ethics-privacy-from: #1a73e8;
  --ethics-privacy-to: #0d47a1;
  --ethics-bias-from: #0288d1;
  --ethics-bias-to: #4fc3f7;
  --ethics-accountability-from: #F5A623;
  --ethics-accountability-to: #e65100;
  --ethics-environment-to: #8bc34a;
  direction: inherit;
  text-align: start;
}
.reveal .slides section:has(.lang-en) .lang-en,
.reveal .slides section .lang-en { direction: inherit; text-align: start; }
.reveal .slides section .lang-en [dir="ltr"],
.reveal .slides section [dir="ltr"].profile-email,
.reveal .slides section .profile-email,
.reveal .slides section .hbmsu-speaker-email,
.reveal .slides section a[href^="http"],
.reveal .slides section a[href^="mailto"] { direction: ltr; unicode-bidi: isolate; }

.dt-panel { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; text-align: start; }
.dt-accent-primary { border-top: 4px solid var(--brand-primary); }
.dt-accent-accent { border-top: 4px solid var(--brand-accent); }
.dt-accent-arsenal { border-top: 4px solid var(--pillar-3); }
.dt-accent-partners { border-top: 4px solid var(--pillar-4); }
.dt-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.dt-panel-head strong { font-size: var(--fs-card-title); color: var(--brand-primary-dark); line-height: 1.2; }
.dt-panel-body { font-size: var(--fs-body); color: var(--brand-ink); line-height: 1.4; margin: 0; }
.icon-box.accent { background: rgba(var(--brand-accent-rgb), 0.12); color: var(--brand-accent); }
.icon-box.dark { background: rgba(0, 40, 85, 0.08); color: var(--brand-primary-dark); }
.icon-box.arsenal { background: rgba(232, 119, 34, 0.12); color: var(--pillar-3); }
.icon-box.partners { background: rgba(91, 123, 7, 0.16); color: var(--pillar-4); }
.slide-card.no-hover:hover,
.slide-card.bg-transparent:hover {
  background: transparent !important; border-color: transparent !important;
  transform: none !important; box-shadow: none !important;
}

.dt-stat-card { position: relative; height: 100%; gap: 8px; padding: 22px 18px; }
.dt-stat-head { width: 100%; display: flex; flex-direction: column; align-items: center; }
.dt-stat-title { font-size: var(--fs-card-title); font-weight: 800; color: var(--brand-primary); line-height: 1.25; margin: 6px 0 2px; }
.dt-stat-value { font-size: var(--fs-display-md); font-weight: 900; color: var(--brand-primary); line-height: 1.1; }
.dt-stat-value.accent { color: var(--brand-accent); }
.dt-stat-body { font-size: var(--fs-body); color: var(--brand-ink); line-height: 1.45; text-align: center; margin: 0; }
.dt-stat-source { border-top: 1px solid rgba(var(--brand-primary-rgb), 0.12); width: 100%; padding-top: 8px; font-size: var(--fs-caption); font-weight: 700; text-align: center; }
.dt-stat-source a { color: var(--brand-primary); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; justify-content: center; }
.dt-stat-source i, .dt-stat-source svg { width: 13px; height: 13px; color: var(--brand-accent); }
.clickable-study-card { cursor: pointer; position: relative; }
.clickable-study-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(var(--brand-primary-rgb), 0.18); }
.card-preview-icon {
  position: absolute; top: 14px; left: 14px; width: 28px; height: 28px; border-radius: 8px;
  background: rgba(var(--brand-primary-rgb), 0.08); color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center; z-index: 3; pointer-events: none;
}
.card-preview-icon.top-right { left: auto; right: 14px; top: 12px; width: auto; height: auto; padding: 2px 7px; border-radius: 12px; font-size: 0.58em; font-weight: 700; gap: 4px; }
.card-preview-icon i, .card-preview-icon svg { width: 14px; height: 14px; }

.dt-bullet-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: var(--fs-body); color: var(--brand-ink); }
.dt-bullet-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.dt-bullet-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-primary); flex-shrink: 0; }
.dt-bullet-list.accent li::before { background: var(--brand-accent); }
.dt-arrow-col { border: none !important; box-shadow: none !important; background: transparent !important; }
.dt-arrow-circle {
  background: rgba(var(--brand-accent-rgb), 0.1); width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--brand-accent);
}
.dt-arrow-circle i, .dt-arrow-circle svg { width: 36px; height: 36px; }

.dt-journey-map { padding: 8px 12px; overflow: hidden; }
.dt-jm-meta {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  margin-bottom: 6px; padding: 4px 12px; background: rgba(var(--brand-primary-rgb), 0.04);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.12); border-radius: 6px; font-size: var(--fs-caption); flex-shrink: 0;
}
.dt-jm-meta strong { color: var(--brand-primary); }
.dt-jm-wrap { width: 100%; flex: 1 1 auto; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.dt-jm-table { width: 100%; height: 100%; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.25; color: var(--brand-ink); table-layout: fixed; }
.dt-jm-table th {
  border: 1px solid rgba(var(--brand-primary-rgb), 0.15); padding: 4px 6px; text-align: start; font-weight: 800;
  background: var(--brand-accent-soft); color: var(--brand-primary-dark);
}
.dt-jm-table td { border: 1px solid rgba(var(--brand-primary-rgb), 0.12); padding: 4px 6px; vertical-align: middle; }
.dt-jm-stage { background: rgba(var(--brand-primary-rgb), 0.02); }
.dt-jm-stage strong { color: var(--brand-primary-dark); }
.dt-jm-num {
  background: var(--brand-primary); color: #fff; width: 16px; height: 16px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-card-title); font-weight: 800; margin-inline-end: 5px;
}
.dt-jm-sub { font-size: var(--fs-body); font-weight: 600; opacity: 0.85; }
.zoomable-table-card { cursor: zoom-in; }

.dt-tech-blurb { height: 100%; padding: 10px 18px 8px 8px; display: flex; flex-direction: column; justify-content: center; text-align: start; overflow: hidden; }
.dt-kicker { font-size: var(--fs-caption); font-weight: 800; color: var(--brand-primary); letter-spacing: 0.2px; margin-bottom: 8px; }
.dt-tech-blurb p { font-size: var(--fs-body); color: var(--brand-primary-dark); line-height: 1.4; margin: 0; font-weight: 700; }
.dt-tech-media { height: 100%; overflow: hidden; border-radius: var(--brand-radius); position: relative; }
.dt-tech-media .show-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--brand-radius); }
.rpa-download-chip {
  position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(0, 120, 212, 0.22); border-radius: 10px;
  padding: 6px 10px 6px 6px; box-shadow: 0 8px 18px rgba(0, 20, 50, 0.18); z-index: 3; pointer-events: none;
}
.rpa-download-chip img { width: 28px; height: 28px; object-fit: contain; border-radius: 7px; display: block; }
.rpa-download-chip span { font-size: var(--fs-caption); font-weight: 800; color: var(--brand-primary-dark); line-height: 1.15; white-space: nowrap; }

.dt-quote-card { padding: 28px 40px; gap: 14px; }
.dt-quote-text { font-size: var(--fs-headline); font-weight: 800; color: var(--brand-primary-dark); line-height: 1.4; max-width: 820px; }
.dt-em-accent { color: var(--brand-accent); }
.dt-quote-attr { margin-top: 8px; font-size: var(--fs-body-small); color: var(--brand-muted); font-weight: 700; }
.dt-capability-card { padding: 22px; gap: 10px; }
.dt-capability-icon { width: 36px; height: 36px; margin-bottom: 10px; }
.dt-capability-icon.primary { color: var(--brand-primary); }
.dt-capability-icon.accent { color: var(--brand-accent); }
.dt-capability-icon.arsenal { color: var(--pillar-3); }
.dt-capability-card strong { font-size: var(--fs-card-title); color: var(--brand-primary-dark); }

.dt-stack { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; height: 100%; }
.dt-factor-card { flex: 1 1 0; display: flex; flex-direction: row; align-items: center; gap: 16px; padding: 10px 18px; text-align: start; }
.dt-factor-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dt-factor-icon .show-img { max-height: 50px; max-width: 50px; object-fit: contain; }
.dt-factor-card strong { font-size: var(--fs-card-title); color: var(--brand-primary-dark); display: block; margin-bottom: 2px; }
.dt-factor-card span { font-size: var(--fs-body-small); color: var(--brand-muted); line-height: 1.35; display: block; }
.dt-converge-arrow { display: flex; align-items: center; justify-content: center; height: 100%; }
.dt-converge-arrow svg { width: 100%; height: 85%; overflow: visible; }
.dt-ai-feature { padding: 24px 20px; gap: 12px; }
.dt-ai-feature-icon { width: 115px; height: 115px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 6px 16px rgba(var(--brand-primary-rgb), 0.12)); }
.dt-ai-feature-icon .show-img { max-height: 105px; max-width: 105px; object-fit: contain; }
.dt-ai-feature-title { font-size: var(--fs-display-lg); font-weight: 900; color: var(--brand-primary-dark); letter-spacing: 2px; line-height: 1; }
.dt-pill {
  background: rgba(var(--brand-accent-rgb), 0.12); color: var(--brand-primary); font-size: var(--fs-body-small); font-weight: 800;
  padding: 3px 14px; border-radius: 20px; border: 1px solid rgba(var(--brand-accent-rgb), 0.25);
}
.dt-ai-feature p { font-size: var(--fs-body); color: var(--brand-muted); line-height: 1.4; margin: 0; max-width: 270px; }
.dt-ai-feature.dt-ai-feature { justify-content: center; align-items: center; text-align: center; }
.reveal .slides section .slide-card.dt-ai-feature .lo-body { text-align: center !important; }

.dt-genai-card { padding: 18px 22px 14px; gap: 8px; align-items: stretch; justify-content: center; overflow: hidden; }
.dt-genai-landscape { position: relative; width: 100%; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.dt-genai-bands { position: relative; height: 76%; width: 100%; }
.dt-genai-band {
  position: absolute; border-radius: 10px; padding: 10px 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); color: #fff;
}
.dt-genai-band-title { font-weight: 800; letter-spacing: 0.3px; }
.dt-genai-band-note { color: rgba(255, 255, 255, 0.92); font-size: var(--fs-caption); margin-top: 2px; line-height: 1.3; }
.dt-genai-ai { left: 2%; right: 2%; top: 0; bottom: 0; background: linear-gradient(135deg, var(--genai-green-1), var(--genai-green-2)); }
.dt-genai-ai .dt-genai-band-title { font-size: var(--fs-card-title); }
.dt-genai-ai .dt-genai-band-note { max-width: 34%; font-size: var(--fs-caption); }
.dt-genai-ml { left: 38%; right: 2%; top: 26%; bottom: 0; background: linear-gradient(135deg, var(--genai-green-3), var(--genai-green-4)); }
.dt-genai-ml .dt-genai-band-title { font-size: var(--fs-body); }
.dt-genai-ml .dt-genai-band-note { max-width: 48%; }
.dt-genai-dl { left: 74%; right: 2%; top: 48%; bottom: 0; background: linear-gradient(135deg, var(--genai-green-5), var(--genai-green-6)); padding: 10px 12px; }
.dt-genai-dl .dt-genai-band-title { font-size: var(--fs-body-small); line-height: 1.15; }
.dt-genai-dl .dt-genai-band-note { font-size: var(--fs-small); max-width: 92%; color: rgba(255, 255, 255, 0.9); }
.dt-genai-gen {
  left: 86%; right: 2%; top: 68%; bottom: 0;
  background: linear-gradient(135deg, var(--genai-green-7), var(--genai-green-8));
  display: flex; align-items: center; justify-content: center; padding: 6px;
}
.dt-genai-gen .dt-genai-band-title { font-size: var(--fs-body); text-align: center; }
.dt-genai-guide { position: absolute; width: 0; bottom: -6px; border-left: 1.5px dashed rgba(255, 255, 255, 0.45); }
.dt-genai-guide-ai { left: 2%; top: 0; }
.dt-genai-guide-ml { left: 38%; top: 26%; }
.dt-genai-guide-dl { left: 74%; top: 48%; }
.dt-genai-guide-gen { left: 86%; top: 68%; }
.dt-genai-timeline { position: relative; width: 100%; height: 28px; margin-top: 4px; }
.dt-genai-timeline-line { position: absolute; left: 2%; right: 2%; top: 0; border-top: 2px solid rgba(var(--brand-primary-rgb), 0.22); }
.dt-genai-tick { position: absolute; top: 6px; font-size: var(--fs-small); font-weight: 700; color: var(--brand-muted); }
.dt-genai-tick.emphasize { color: var(--brand-primary-dark); }
.dt-genai-tick.t1950 { left: 2%; }
.dt-genai-tick.t1960 { left: 14%; transform: translateX(-50%); }
.dt-genai-tick.t1970 { left: 26%; transform: translateX(-50%); }
.dt-genai-tick.t1980 { left: 38%; transform: translateX(-50%); }
.dt-genai-tick.t1990 { left: 50%; transform: translateX(-50%); }
.dt-genai-tick.t2000 { left: 62%; transform: translateX(-50%); }
.dt-genai-tick.t2010 { left: 74%; transform: translateX(-50%); }
.dt-genai-tick.t2020 { left: 86%; transform: translateX(-50%); }
.dt-genai-caption { font-size: var(--fs-caption); color: var(--brand-muted); line-height: 1.35; text-align: start; max-width: 96%; }
/* Right-to-left timeline: earliest era anchored at the inline start (right edge in RTL) */
.rtl-timeline .dt-genai-ai { left: auto; right: auto; inset-inline: 2% 2%; }
.rtl-timeline .dt-genai-ml { left: auto; right: auto; inset-inline: 38% 2%; }
.rtl-timeline .dt-genai-dl { left: auto; right: auto; inset-inline: 74% 2%; }
.rtl-timeline .dt-genai-gen { left: auto; right: auto; inset-inline: 86% 2%; }
.rtl-timeline .dt-genai-guide { left: auto; border-left: 0; border-inline-start: 1.5px dashed rgba(255, 255, 255, 0.45); }
.rtl-timeline .dt-genai-guide-ai { inset-inline-start: 2%; }
.rtl-timeline .dt-genai-guide-ml { inset-inline-start: 38%; }
.rtl-timeline .dt-genai-guide-dl { inset-inline-start: 74%; }
.rtl-timeline .dt-genai-guide-gen { inset-inline-start: 86%; }
.rtl-timeline .dt-genai-timeline-line { left: auto; right: auto; inset-inline: 2% 2%; }
/* ticks carry dir=ltr (for the apostrophe), so position them with physical right */
.rtl-timeline .dt-genai-tick { left: auto; transform: translateX(50%); }
.rtl-timeline .dt-genai-tick.t1950 { right: 2%; transform: none; }
.rtl-timeline .dt-genai-tick.t1960 { right: 14%; }
.rtl-timeline .dt-genai-tick.t1970 { right: 26%; }
.rtl-timeline .dt-genai-tick.t1980 { right: 38%; }
.rtl-timeline .dt-genai-tick.t1990 { right: 50%; }
.rtl-timeline .dt-genai-tick.t2000 { right: 62%; }
.rtl-timeline .dt-genai-tick.t2010 { right: 74%; }
.rtl-timeline .dt-genai-tick.t2020 { right: 86%; }

.dt-ethics-card { height: 100%; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; text-align: start; position: relative; }
.dt-ethics-badge { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.dt-ethics-badge i, .dt-ethics-badge svg { width: 19px; height: 19px; }
.dt-ethics-claim { font-size: var(--fs-lead); color: var(--brand-primary-dark); font-weight: 800; line-height: 1.3; margin: 0; }
.dt-ethics-foot { font-size: var(--fs-caption); font-weight: 700; padding-top: 6px; border-top: 1px solid rgba(var(--brand-primary-rgb), 0.08); width: 100%; }
.dt-ethics-transparency { border-top: 4px solid var(--dt-teal); }
.dt-ethics-transparency .dt-ethics-badge { background: linear-gradient(135deg, var(--dt-teal), #4db6ac); }
.dt-ethics-transparency .dt-ethics-foot { color: var(--dt-teal); }
.dt-ethics-accountability { border-top: 4px solid var(--ethics-accountability-from); }
.dt-ethics-accountability .dt-ethics-badge { background: linear-gradient(135deg, var(--ethics-accountability-from), var(--ethics-accountability-to)); }
.dt-ethics-accountability .dt-ethics-foot { color: var(--ethics-accountability-from); }
.dt-ethics-bias { border-top: 4px solid var(--ethics-bias-from); }
.dt-ethics-bias .dt-ethics-badge { background: linear-gradient(135deg, var(--ethics-bias-from), var(--ethics-bias-to)); }
.dt-ethics-bias .dt-ethics-foot { color: var(--ethics-bias-from); }
.dt-ethics-privacy { border-top: 4px solid var(--ethics-privacy-from); }
.dt-ethics-privacy .dt-ethics-badge { background: linear-gradient(135deg, var(--ethics-privacy-from), var(--ethics-privacy-to)); }
.dt-ethics-privacy .dt-ethics-foot { color: var(--ethics-privacy-from); }
.dt-ethics-environment { border-top: 4px solid var(--pillar-4); }
.dt-ethics-environment .dt-ethics-badge { background: linear-gradient(135deg, var(--pillar-4), var(--ethics-environment-to)); }
.dt-ethics-environment .dt-ethics-foot { color: var(--pillar-4); }
.dt-fact-chip.danger { background: rgba(220, 38, 38, 0.10); color: #dc2626; border: 1px solid rgba(220, 38, 38, 0.25); }
.dt-fact-chip.partners { background: rgba(91, 123, 7, 0.10); color: var(--pillar-4); border: 1px solid rgba(91, 123, 7, 0.25); }
.dt-fact-chip.light { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }
.clickable-fact-card { cursor: pointer; }

.dt-case-card { gap: 6px; padding: 16px 20px; }
.dt-case-badge {
  background: rgba(var(--brand-primary-rgb), 0.08); color: var(--brand-primary); font-size: var(--fs-caption); font-weight: 700;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.2); padding: 2px 10px; border-radius: 12px; display: inline-flex; align-items: center; gap: 5px; width: fit-content;
}
.dt-case-badge i, .dt-case-badge svg { width: 12px; height: 12px; }
.dt-case-title { font-size: var(--fs-card-title); color: var(--brand-primary-dark); display: block; line-height: 1.25; margin-bottom: 4px; }
.dt-case-block { border-inline-start: none; border-radius: 6px; padding: 6px 10px; margin-bottom: 6px; border: 1px solid rgba(var(--brand-primary-rgb), 0.10); }
.dt-case-block.problem { background: rgba(232, 119, 34, 0.04); }
.dt-case-block.solution { background: rgba(var(--brand-accent-rgb), 0.04); }
.dt-case-block.impact { background: rgba(var(--dt-success-rgb), 0.04); }
.dt-case-label { font-size: var(--fs-caption); font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 4px; margin-bottom: 2px; }
.dt-case-block.problem .dt-case-label { color: var(--pillar-3); }
.dt-case-block.solution .dt-case-label { color: var(--brand-primary); }
.dt-case-block.impact .dt-case-label { color: var(--dt-success); }
.dt-case-block p { font-size: var(--fs-body-small); color: var(--brand-ink); line-height: 1.35; margin: 0; }
.dt-case-label i, .dt-case-label svg { width: 12px; height: 12px; }
.dt-check-list { list-style: none; padding: 0; margin: 0; font-size: var(--fs-body-small); color: var(--brand-ink); line-height: 1.35; }
.dt-check-list li { display: flex; align-items: flex-start; gap: 6px; margin-bottom: 3px; }
.dt-check-list i, .dt-check-list svg { width: 13px; height: 13px; color: var(--dt-success); flex-shrink: 0; margin-top: 2px; }

.dt-quote-hero {
  height: 100%; padding: 26px 36px; position: relative; overflow: hidden; text-align: start; cursor: pointer;
  background: #0B1F3A;
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--brand-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; justify-content: center;
}
.dt-quote-hero-mark { position: absolute; left: 16px; top: 8px; font-size: var(--fs-display-glyph); font-family: Georgia, serif; color: rgba(255, 255, 255, 0.06); line-height: 0.75; pointer-events: none; z-index: 1; }
.dt-quote-hero-body { position: relative; z-index: 2; max-width: 560px; }
.dt-quote-hero-text { font-size: var(--fs-headline); font-weight: 800; color: #fff; line-height: 1.4; margin-bottom: 16px; }
.dt-em-gold { color: var(--dt-gold); }
.dt-quote-hero-attr { font-size: var(--fs-body-small); color: rgba(255, 255, 255, 0.9); line-height: 1.35; }
.dt-quote-hero-attr strong { color: #fff; font-size: inherit; display: block; margin-bottom: 2px; }

.dt-partner-card { height: 100%; padding: 16px 14px; display: flex; flex-direction: column; justify-content: space-between; text-align: start; gap: 6px; }
.dt-partner-card strong { font-size: var(--fs-card-title); color: var(--brand-primary-dark); display: block; margin-bottom: 4px; }
.dt-partner-card p { font-size: var(--fs-body-small); color: var(--brand-ink); line-height: 1.4; margin: 0; }
.dt-partner-foot { font-size: var(--fs-caption); font-weight: 700; padding-top: 8px; border-top: 1px solid rgba(var(--brand-primary-rgb), 0.08); width: 100%; }
.dt-partner-foot.primary { color: var(--brand-primary); }
.dt-partner-foot.accent { color: var(--brand-accent); }
.dt-partner-foot.arsenal { color: var(--pillar-3); }
.dt-partner-foot.partners { color: var(--pillar-4); }

.dt-roadmap { padding: 24px 22px; justify-content: center; align-items: center; overflow: hidden; }
.dt-roadmap-spine { position: relative; display: flex; align-items: stretch; justify-content: space-between; gap: 12px; width: 100%; }
.dt-roadmap-bar {
  position: absolute; left: 10%; right: 9%; top: 16px; height: 4px; border-radius: 4px; z-index: 0;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--dt-danger) 25%, var(--pillar-4) 50%, var(--pillar-3) 75%, var(--dt-burgundy) 100%);
}
.dt-roadmap-arrow {
  position: absolute; right: 7.5%; top: 11px; width: 0; height: 0; z-index: 1;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 13px solid var(--dt-burgundy);
}
.dt-roadmap-step { flex: 1 1 0; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.dt-roadmap-num {
  width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 800; font-size: var(--fs-card-title);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff, 0 4px 12px rgba(0, 0, 0, 0.15);
}
.dt-roadmap-step.s1 .dt-roadmap-num { background: var(--brand-primary); }
.dt-roadmap-step.s2 .dt-roadmap-num { background: var(--dt-danger); }
.dt-roadmap-step.s3 .dt-roadmap-num { background: var(--pillar-4); }
.dt-roadmap-step.s4 .dt-roadmap-num { background: var(--pillar-3); }
.dt-roadmap-step.s5 .dt-roadmap-num { background: var(--dt-burgundy); }
.dt-roadmap-card {
  width: 100%; border-radius: 12px; padding: 14px 10px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 180px; flex: 1 1 auto;
  border: 1.5px solid rgba(var(--brand-primary-rgb), 0.18); background: rgba(var(--brand-primary-rgb), 0.05);
}
.dt-roadmap-step.s2 .dt-roadmap-card { background: rgba(var(--dt-danger-rgb), 0.05); border-color: rgba(var(--dt-danger-rgb), 0.18); }
.dt-roadmap-step.s3 .dt-roadmap-card { background: rgba(91, 123, 7, 0.10); border-color: rgba(91, 123, 7, 0.22); }
.dt-roadmap-step.s4 .dt-roadmap-card { background: rgba(232, 119, 34, 0.08); border-color: rgba(232, 119, 34, 0.22); }
.dt-roadmap-step.s5 .dt-roadmap-card { background: rgba(var(--dt-burgundy-rgb), 0.06); border-color: rgba(var(--dt-burgundy-rgb), 0.18); }
.dt-roadmap-card strong { font-size: var(--fs-card-title); color: var(--brand-primary-dark); line-height: 1.25; }
.dt-roadmap-card span { font-size: var(--fs-body-small); color: var(--brand-ink); line-height: 1.35; }
.dt-roadmap-card em { font-size: var(--fs-caption); font-style: normal; font-weight: 700; margin-top: auto; }
.dt-roadmap-step.s1 .dt-roadmap-card em { color: var(--brand-primary); }
.dt-roadmap-step.s2 .dt-roadmap-card em { color: var(--dt-danger); }
.dt-roadmap-step.s3 .dt-roadmap-card em { color: var(--pillar-4); }
.dt-roadmap-step.s4 .dt-roadmap-card em { color: var(--pillar-3); }
.dt-roadmap-step.s5 .dt-roadmap-card em { color: var(--dt-burgundy); }

.dt-mini-pillar { height: 100%; padding: 8px 10px; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px; }
.dt-mini-pillar strong { font-size: var(--fs-card-title); color: var(--brand-primary-dark); }
.dt-closing-line { height: 100%; padding: 8px 24px; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.dt-closing-line i, .dt-closing-line svg { width: 20px; height: 20px; color: var(--brand-primary); flex-shrink: 0; }
.dt-closing-line div { font-size: var(--fs-lead); line-height: 1.45; color: var(--brand-ink); }
.c-ambition { color: var(--pillar-1); }
.c-people { color: var(--pillar-2); }
.c-arsenal { color: var(--pillar-3); }
.c-partners { color: var(--pillar-4); }
.dt-sprint-card { height: 100%; justify-content: space-between; overflow: hidden; }
.dt-pillar-label { font-size: var(--fs-caption); font-weight: 800; letter-spacing: 0.3px; display: block; }
.dt-pillar-label.primary { color: var(--pillar-1); }
.dt-pillar-label.accent { color: var(--pillar-2); }
.dt-pillar-label.arsenal { color: var(--pillar-3); }
.dt-pillar-label.partners { color: var(--pillar-4); }
.dt-sprint-foot { font-size: var(--fs-caption); font-weight: 700; padding-top: 8px; border-top: 1px solid rgba(var(--brand-primary-rgb), 0.08); width: 100%; }
.dt-sprint-foot.primary { color: var(--pillar-1); }
.dt-sprint-foot.accent { color: var(--pillar-2); }
.dt-sprint-foot.arsenal { color: var(--pillar-3); }
.dt-sprint-foot.partners { color: var(--pillar-4); }
.dt-thanks { padding: 36px 48px; gap: 24px; }
.dt-thanks-title { font-size: var(--fs-display-lg); font-weight: 900; color: var(--brand-primary-dark); letter-spacing: -0.5px; line-height: 1.1; margin-bottom: 8px; }
.dt-thanks-sub { font-size: var(--fs-lead); font-weight: 700; color: var(--brand-accent); }
.dt-thanks-person { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dt-thanks-person strong { font-size: var(--fs-card-title); color: var(--brand-primary-dark); }
.dt-thanks-person span { font-size: var(--fs-body); color: var(--brand-muted); }


/* ===== Dubai Police theme layer (from RPA deck) ===== */
.bg-ship {
  position: fixed;
  bottom: -60px;
  left: -60px;
  width: 420px;
  height: auto;
  opacity: 0.10;
  z-index: 1;
  pointer-events: none;
  transform-origin: bottom left;
  filter: grayscale(100%);
  animation: dpDriftShip 32s ease-in-out infinite alternate;
}
@keyframes dpDriftShip {
  0% { transform: translate(0, 0) rotate(-8deg) scale(1); }
  50% { transform: translate(25px, -15px) rotate(-4deg) scale(1.05); }
  100% { transform: translate(-10px, 15px) rotate(-11deg) scale(0.95); }
}
.logo-start,
.logo-right-wrapper {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.slide-logo.slide-logo-dp { height: 44px; max-width: 120px; }
.slide-logo.slide-logo-gov { height: 46px; max-width: 120px; }
.slide-header-container { align-items: center; }
.slide-header { text-align: center; }
.slide-header h2 { color: var(--brand-primary); font-weight: 800; }

/* Title / thank-you hero (RPA style): green emblem strip + title + speaker */
.grid-container > .dp-title-slide { height: 100%; }
.dp-title-slide {
  display: grid;
  grid-template-columns: 2fr 10fr;
  gap: 24px;
  height: 100%;
  width: 100%;
  align-items: stretch;
}
.dp-title-emblem {
  height: 100%;
  overflow: hidden;
  margin-top: -24px;
}
.dp-title-emblem img,
.dp-title-emblem img.show-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.dp-title-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 40px 20px;
  text-align: start;
}
.dp-title-text h1 {
  font-size: var(--fs-display-md);
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.35;
  margin: 0;
}
.dp-title-kicker {
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--brand-accent);
}
.dp-title-speaker {
  border-top: 1px solid rgba(var(--brand-primary-rgb), 0.15);
  margin-top: 24px;
  padding-top: 15px;
}
.dp-title-speaker-name {
  font-size: var(--fs-lead);
  font-weight: 800;
  color: var(--brand-ink);
  line-height: 1.3;
}
.dp-title-speaker-role {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--brand-muted);
}

/* History beat: year disk | story card | image card (one beat per slide) */
.layout-timeline {
  display: grid;
  grid-template-columns: 250px 1fr 380px;
  gap: 18px;
  height: 100%;
  align-items: stretch;
}
.timeline-year {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.timeline-year::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 50%;
  border-inline-start: 2px dashed rgba(var(--brand-primary-rgb), 0.35);
  z-index: 0;
}
.timeline-disk {
  position: relative;
  z-index: 1;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--brand-primary);
  box-shadow: 0 0 0 8px #fff, 0 0 0 10px rgba(var(--brand-primary-rgb), 0.35), 0 10px 24px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-display-lg);
  font-weight: 800;
  color: var(--brand-primary-dark);
  direction: ltr;
}
.timeline-tag {
  position: relative;
  z-index: 1;
  background: var(--brand-accent);
  color: #fff;
  font-size: var(--fs-caption);
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 50px;
}
.timeline-story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 26px 30px;
  border-inline-start: 6px solid var(--brand-primary);
}
.timeline-story h3 {
  margin: 0;
  font-size: var(--fs-headline);
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.35;
}
.timeline-story p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--brand-ink);
}
.timeline-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}
.timeline-media img.show-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.qr-link, .qr-link a { color: var(--brand-primary); font-weight: 700; text-decoration: none; }

/* Section separator emblem (DP ring style) */
.layout-separator .separator-icon-box {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--brand-primary);
  box-shadow: 0 0 0 8px #fff, 0 0 0 10px rgba(var(--brand-primary-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
}
.layout-separator .separator-icon-box svg { width: 56px; height: 56px; }

/* Print fixes: sections lose .present in print, so restore stage padding; fix % heights */
html.print-pdf .reveal .slides .pdf-page > section:not(.is-title-slide-section) {
  padding: 24px 32px 18px !important;
}

/* Cover (RPA slide 2): keeps logo header + footer; emblem at inline-start edge */
.reveal .slides section.is-cover-slide .grid-container { padding: 0; }
.dp-cover { grid-template-columns: 2fr 10fr; }
.dp-cover .dp-title-emblem { margin-top: 0; height: 100%; }
.dp-cover .dp-title-emblem img.show-img { object-fit: cover; object-position: left center; }
.dp-cover .dp-title-text { padding: 20px 20px 20px 60px; }
html.print-pdf .reveal .slides .pdf-page > section.is-cover-slide { padding: 24px 32px 18px !important; }

/* Program + trainer (RPA slide 3) */
.layout-program {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 12px;
  height: 100%;
}
.program-trainer {
  background: var(--brand-accent-soft);
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 20px;
}
.program-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--brand-primary);
  margin: 10px 0;
  flex-shrink: 0;
}
.program-photo img.show-img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.program-name { font-size: var(--fs-lead); font-weight: 800; color: var(--brand-ink); line-height: 1.2; }
.program-role { font-size: var(--fs-body); font-weight: 600; color: var(--brand-muted); }
.program-goals { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.program-goals-title { font-size: var(--fs-card-title); font-weight: 800; color: var(--brand-ink); padding-inline-start: 5px; padding-bottom: 2px; }
.program-item {
  flex: 1 1 0;
  min-height: 0;
  flex-direction: row;
  align-items: stretch;
  gap: 15px;
  padding: 0;
  overflow: hidden;
}
.program-icon {
  width: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-primary-rgb), 0.1);
  color: var(--brand-primary);
}
.program-icon svg { width: 24px; height: 24px; }
.program-copy { display: flex; flex-direction: column; justify-content: center; padding: 6px 12px; text-align: start; }
.program-copy strong { font-size: var(--fs-card-title); color: var(--brand-ink); }
.program-copy span { font-size: var(--fs-body-small); color: var(--brand-muted); line-height: 1.35; }
/* Goals list is the focus of this slide: bigger rail, icons and text. */
.reveal section .layout-program .program-item.slide-card { padding: 0; gap: 0; }   /* beats .slide-card padding so the rail runs edge to edge */
/* Hierarchy (HIG): list header = quiet label, card title = primary, subtitle = secondary, icon rail = calm. */
.layout-program .program-icon { width: 96px; background: rgba(var(--brand-primary-rgb), 0.07); }
.layout-program .program-icon svg { width: 36px; height: 36px; stroke-width: 1.5; opacity: .85; }
.layout-program .program-copy { padding: 8px 22px; gap: 6px; }
.layout-program .program-copy strong { font-size: var(--fs-card-title); font-weight: 600; color: var(--brand-ink); line-height: 1.35; }
.layout-program .program-copy span { font-size: var(--fs-body-small); font-weight: 400; color: var(--brand-muted); line-height: 1.5; }
.layout-program .program-goals-title { font-size: var(--fs-body-small); font-weight: 600; color: var(--brand-muted); padding-inline-start: 4px; padding-bottom: 0; }
.reveal .layout-program .program-trainer { align-items: center; text-align: center; }
.reveal .layout-program .program-trainer .program-photo { width: 240px; height: 240px; margin: 0 0 14px; }
.reveal .layout-program .program-trainer .program-name,
.reveal .layout-program .program-trainer .program-role { width: 100%; text-align: center; }
.reveal .layout-program .program-trainer .program-name { font-size: var(--fs-lead); font-weight: 600; }
.reveal .layout-program .program-trainer .program-role { font-size: var(--fs-caption); font-weight: 400; max-width: none; }

/* History beat (digital transformation deck structure): photo | big year + title + text */
.layout-history {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 28px;
  height: 100%;
  align-items: center;
}
.history-media {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
}
.history-media img.history-photo {
  max-width: 94%;
  max-height: 88%;
  width: auto;
  height: 380px;
  object-fit: contain;
  border-radius: var(--brand-radius);
  box-shadow: 0 14px 32px rgba(var(--brand-primary-rgb), 0.16);
}
.history-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: start;
  padding-inline-end: 24px;
}
.history-year-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.history-year {
  font-size: var(--fs-display-xl);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-primary);
  direction: ltr;
}
.history-video {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-caption);
  font-weight: 700;
  color: #fff !important;
  background: var(--brand-accent);
  padding: 4px 14px;
  border-radius: 50px;
  text-decoration: none;
}
.history-video svg { width: 13px; height: 13px; }
.history-tag { font-size: var(--fs-caption); font-weight: 700; color: var(--brand-accent); direction: ltr; text-align: end; align-self: flex-start; }
.history-copy h3 {
  margin: 0;
  font-size: var(--fs-headline);
  font-weight: 800;
  color: var(--brand-ink);
  line-height: 1.35;
}
.history-copy p { margin: 0; font-size: var(--fs-body); line-height: 1.6; color: var(--brand-ink); max-width: 640px; }

/* "Is this AI?" quiz (digital transformation deck structure): full image + answer strip */
.layout-is-ai { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; height: 100%; min-height: 0; }
.is-ai-card {
  height: 100% !important;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
}
.is-ai-card img.show-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.is-ai-answer {
  height: auto !important;
  min-height: 0 !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 18px;
  text-align: center;
}
.is-ai-answer .card-body { margin: 0; }

/* RTL: convergence arrows must point toward the AI card (inline-end) */
section[dir="rtl"] .dt-converge-arrow svg { transform: scaleX(-1); }
.dt-genai-gen .dt-genai-band-title { font-size: var(--fs-small); line-height: 1.2; }

/* Review marker for digital-transformation alternatives (delete this rule to hide all badges) */
.dt-alt-flag {
  position: absolute;
  top: 4px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  z-index: 20;
  font-size: 0.5em;
  font-weight: 700;
  color: #fff;
  background: var(--brand-accent);
  padding: 2px 12px;
  border-radius: 50px;
}
.rpa-download-chip img.show-img { width: 28px; height: 28px; max-width: 28px; max-height: 28px; object-fit: contain; flex: 0 0 auto; }

/* ===== Design pass (Oct 2026): shared fixes from the slide critique ===== */
/* Brand tokens: keep DT/ethics accents inside the DP green/gold system */
:root {
  --dt-gold: var(--brand-accent);
  --dt-teal: #0E7C74;
  --dt-teal-rgb: 14, 124, 116;
  --ethics-privacy-from: var(--brand-primary);
  --ethics-privacy-to: var(--brand-primary-dark);
  --ethics-bias-from: #0E7C74;
  --ethics-bias-to: #3FA29A;
  --ethics-accountability-from: var(--brand-accent);
  --ethics-accountability-to: #A07E3C;
}
.quote-card.quote-hero { background-color: var(--brand-primary-dark); }

/* Separators: the big centre title carries the name — header keeps only the subtitle */
.slides > section > section:has(.layout-separator) .slide-header h2 { display: none; }
.slides > section > section:has(.layout-separator) .slide-header .subtitle { font-size: var(--fs-lead); }

/* Projection-readable floors */
.slide-reference-container { font-size: var(--fs-caption); }
.dt-genai-caption { font-size: var(--fs-caption); }

/* Cards: top-align copy so short cards don't float in empty space */
.lo-card.lo-top { align-items: flex-start; padding-top: 22px; }
.lo-card.lo-lg strong { font-size: var(--fs-card-title); }
.lo-card.lo-lg p, .lo-card.lo-lg .lo-body { font-size: var(--fs-body); line-height: 1.45; }

/* History beats: one media frame for every year */
.history-media img.history-photo {
  width: 100%;
  max-width: 470px;
  height: auto;
  max-height: 88%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}
.history-media img.history-photo.is-contain { object-fit: contain; padding: 18px; }

/* Short quotes: smaller card, bigger type */
.quote-card.quote-short { justify-content: center; align-items: center; text-align: center; padding: 40px 72px; }
.quote-card.quote-short .quote-text { font-size: var(--fs-headline); line-height: 1.45; }

/* Case explainers: narrow copy column, larger body */
.layout-case.case-explainer { grid-template-columns: 5fr 7fr; }
.layout-case.case-explainer .lo-body, .layout-case.case-explainer p { font-size: var(--fs-body); line-height: 1.5; }

/* Case cards size to content (PoC run: third "technology" card no longer half empty) */
.layout-case .row.rows-fit { grid-template-rows: auto auto auto; align-content: start; }

/* Big 3-up cards: icon, label and body scale up so short copy fills the card */
.metrics-lg .metric-card { gap: 14px; padding: 28px 26px; }
.metrics-lg .icon-box { width: 78px; height: 78px; border-radius: 20px; }
.metrics-lg .icon-box svg { width: 40px; height: 40px; }
.metrics-lg .metric-label { font-size: var(--fs-card-title); }
.metrics-lg .card-body { font-size: var(--fs-body); line-height: 1.55; }
/* Inline labels inside body lines (e.g. "المدخل: …") stay inline, body-sized */
.lo-card .lo-body strong { display: inline; font-size: inherit; }
.lo-card.lo-lg .lo-body { font-size: var(--fs-body); margin-top: 8px; }
.lo-card.lo-lg .card-kicker { font-size: var(--fs-card-title); }
.lo-card .dt-pill { display: inline-block; margin-top: 6px; margin-inline-end: 6px; }
/* Roadmap: brand progression (green → teal → gold), larger copy */
.dt-roadmap-bar { background: linear-gradient(90deg, var(--brand-primary), #0E7C74, var(--brand-accent)) !important; }
.dt-roadmap-step.s2 .dt-roadmap-num, .dt-roadmap-step.s4 .dt-roadmap-num { background: var(--brand-accent); }
.dt-roadmap-step.s2 .dt-roadmap-card, .dt-roadmap-step.s4 .dt-roadmap-card { background: rgba(var(--brand-accent-rgb), 0.08); border-color: rgba(var(--brand-accent-rgb), 0.3); }
.dt-roadmap-step.s3 .dt-roadmap-card, .dt-roadmap-step.s5 .dt-roadmap-card { background: rgba(var(--brand-primary-rgb), 0.06); border-color: rgba(var(--brand-primary-rgb), 0.2); }
.dt-roadmap-step.s2 .dt-roadmap-card em, .dt-roadmap-step.s4 .dt-roadmap-card em { color: #8A6A2C; }
.dt-roadmap-card { min-height: 280px; }
.dt-roadmap-card strong { font-size: var(--fs-card-title); }
.dt-roadmap-card span { font-size: var(--fs-body-small); }
.dt-roadmap-step.s3 .dt-roadmap-num, .dt-roadmap-step.s5 .dt-roadmap-num { background: var(--brand-primary); }
.metrics-lg .metric-hero { font-size: var(--fs-display-lg); }

/* Sparse card grids: scale type up so short copy fills the card */
.cards-lg .slide-card { gap: 10px; }
.cards-lg .slide-card > strong { font-size: var(--fs-card-title); }
.cards-lg .slide-card .lo-body { font-size: var(--fs-body); line-height: 1.5; }
.cards-lg .icon-box { width: 64px; height: 64px; border-radius: 18px; }
.cards-lg .icon-box svg { width: 32px; height: 32px; }

/* Workshop: value × feasibility matrix */
.idea-matrix { display: grid; grid-template-columns: auto 1fr 1fr; grid-template-rows: 1fr 1fr auto; gap: 8px; flex: 1 1 auto; min-height: 0; margin-top: 8px; }
.idea-matrix .axis-y { grid-row: 1 / 3; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-weight: 700; color: var(--brand-primary); font-size: var(--fs-caption); }
.idea-matrix .axis-y svg, .idea-matrix .axis-y i { transform: rotate(180deg); } /* cancel the label's 180deg so the arrow points up */
.idea-matrix .axis-x { grid-column: 2 / 4; text-align: center; font-weight: 700; color: var(--brand-primary); font-size: var(--fs-caption); }
.idea-cell { border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; justify-content: center; gap: 2px; border: 1px solid rgba(var(--brand-primary-rgb), 0.15); background: #fff; }
.idea-cell strong { font-size: var(--fs-body-small); color: var(--brand-primary-dark); }
.idea-cell span { font-size: var(--fs-caption); color: var(--brand-muted); }
.idea-cell.is-best { background: rgba(var(--brand-primary-rgb), 0.1); border-color: var(--brand-primary); }
.idea-cell.is-plan { background: rgba(var(--brand-accent-rgb), 0.12); border-color: var(--brand-accent); }
.workshop-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.workshop-steps .dt-pill { font-size: var(--fs-body-small); }
.layout-roadmap.metrics-lg .metric-card { padding: 14px 20px; gap: 8px; }
.layout-roadmap.metrics-lg .icon-box { width: 58px; height: 58px; }
.layout-roadmap.metrics-lg .metric-label { font-size: var(--fs-card-title); }

/* Metric cards that carry a hero number: compact so number + label + body fit */
.metrics-lg .metric-card:has(.metric-hero) { gap: 8px; padding: 16px 22px; }
.metrics-lg .metric-card:has(.metric-hero) .icon-box { width: 56px; height: 56px; }
.metrics-lg .metric-card:has(.metric-hero) .icon-box svg { width: 28px; height: 28px; }
.metrics-lg .metric-card:has(.metric-hero) .metric-label { font-size: var(--fs-card-title); line-height: 1.3; }
.metrics-lg .metric-card:has(.metric-hero) .card-body { font-size: var(--fs-body); line-height: 1.45; margin: 0; }
.metrics-lg .metric-card:has(.metric-hero) .metric-hero { font-size: var(--fs-display-lg); }

/* ===== UX revision v2 — metrics slides (sample: uae-genai-use) =====
   Rules: one focal point per slide, 8-pt spacing, body >= 20px,
   data shown as proportion not just digits, methodology = quiet caption. */
.reveal section:has(.metrics-v2) .slide-header-container { margin-bottom: 30px; }
.reveal section:has(.metrics-v2) .slide-header .subtitle { color: #3F554A; font-size: var(--fs-subtitle); }
.metrics-v2 { gap: 24px; align-items: stretch; }
.metrics-v2 .metric-card {
  justify-content: center; align-items: stretch; text-align: start;
  gap: 8px; padding: 32px 28px; border-top: 0;
}
.metrics-v2 .metric-rank {
  align-self: flex-start; font-size: var(--fs-caption); font-weight: 700; letter-spacing: .02em;
  color: #5A4410; background: rgba(var(--brand-accent-rgb), .18);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.metrics-v2 .metric-hero { font-size: var(--fs-display-xl); align-self: flex-start; color: var(--brand-primary-dark); }
.metrics-v2 .metric-label { font-size: var(--fs-card-title); font-weight: 700; color: var(--brand-ink); margin-top: 4px; }
.metrics-v2 .metric-bar {
  height: 10px; border-radius: 999px; margin: 16px 0 20px;
  background: rgba(var(--brand-primary-rgb), .12); overflow: hidden;
}
.metrics-v2 .metric-bar span {
  display: block; height: 100%; width: var(--w); border-radius: inherit;
  background: var(--brand-primary);
}
.metrics-v2 .card-body { font-size: var(--fs-body); line-height: 1.6; color: #33463C; }
/* focal card */
.metrics-v2 .is-lead {
  background: var(--brand-primary-dark); border-color: var(--brand-primary-dark);
  box-shadow: 0 12px 32px rgba(var(--brand-primary-rgb), .28);
}
.metrics-v2 .is-lead .metric-hero,
.metrics-v2 .is-lead .metric-label,
.metrics-v2 .is-lead .card-body { color: #fff; }
.metrics-v2 .is-lead .card-body { opacity: .92; }
.metrics-v2 .is-lead .metric-rank { background: var(--brand-accent); color: #2B2106; }
.metrics-v2 .is-lead .metric-bar { background: rgba(255,255,255,.2); }
.metrics-v2 .is-lead .metric-bar span { background: var(--brand-accent); }
/* de-emphasised context cards */
.metrics-v2 .metric-card:not(.is-lead) .metric-bar span { background: #6F9C97; }
.metrics-v2 .metric-card:nth-child(3) .metric-rank { background: rgba(var(--brand-primary-rgb), .1); color: var(--brand-primary-dark); }
/* methodology: caption, not a headline */
.metric-note-bar {
  display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 12px 16px;
  font-size: var(--fs-body-small); line-height: 1.5; color: #3F554A;
  background: rgba(var(--brand-primary-rgb), .06); border-radius: 10px; text-align: start;
}
.metric-note-bar svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--brand-primary); }

/* ===== UX revision v2 — global layer (main slides only; appendix keeps the previous look) ===== */
.reveal section:not(.is-appendix) .slide-header-container { margin-bottom: 30px; }
.reveal section:not(.is-appendix) .slide-header .subtitle { color: #3F554A; }
.reveal section:not(.is-appendix) .slide-card { padding: 20px 22px; box-shadow: 0 2px 4px rgba(0,40,85,.05), 0 8px 24px rgba(0,40,85,.06); }
.reveal section:not(.is-appendix) .slide-card.lo-card { gap: 16px; }
.reveal section:not(.is-appendix) .card-body, .reveal section:not(.is-appendix) .lo-body { color: #2B3D34; line-height: 1.55; }
.reveal section:not(.is-appendix) .card-kicker { letter-spacing: .01em; }
.reveal section:not(.is-appendix) .layout-metrics:not(.metrics-v2) { gap: 16px; }
.reveal section:not(.is-appendix) .layout-metrics:not(.metrics-v2) .metric-hero { color: var(--brand-primary-dark); }
.reveal section:not(.is-appendix) .layout-metrics:not(.metrics-v2) .metric-card .card-body,
.reveal section:not(.is-appendix) .layout-metrics:not(.metrics-v2) .metric-card .metric-note { color: #3F554A; }
.reveal section:not(.is-appendix) .layout-metrics + p.text-center, .reveal section:not(.is-appendix) .layout-metrics + p.text-center strong { font-size: var(--fs-lead); font-weight: 600; color: #33463C; }
.reveal section:not(.is-appendix) .layout-metrics .metric-card { padding: 20px 14px; }
.reveal section:not(.is-appendix) .layout-metrics:has(> :nth-child(4)) .metric-hero { font-size: var(--fs-display-lg); }
.reveal section:not(.is-appendix) .metric-card .metric-hero { white-space: nowrap; }
.reveal section:not(.is-appendix) .col-3 > .metric-card { padding: 20px 12px; }
.reveal section:not(.is-appendix) .col-3 > .metric-card .metric-hero { font-size: var(--fs-display-lg); }
.reveal section:not(.is-appendix) .slide-reference-container a { color: var(--brand-primary-dark); }
.reveal a:focus-visible, .reveal button:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }

/* ===== Type & controls v3 — calmer scale, HIG-sized nav (applies to main and appendix slides) ===== */
/* Scale on the 1280×720 canvas: title 30 > card heading 22 > body 20. */
/* Neutralise growCards() inline sizes so card text stays on the scale. */
.reveal section:not(.is-appendix) .slide-card[style*="font-size"] { font-size: inherit !important; }
.reveal section:not(.is-appendix) .lo-card.lo-lg .card-kicker,
.reveal section:not(.is-appendix) .lo-card.lo-lg strong:not(.lo-body strong),
.reveal section:not(.is-appendix) .slide-card[style*="font-size"] .card-kicker { font-size: var(--fs-card-title); line-height: 1.3; }
.reveal section:not(.is-appendix) .lo-card.lo-lg .lo-body,
.reveal section:not(.is-appendix) .cards-lg .slide-card .lo-body { font-size: var(--fs-body); line-height: 1.55; }
.reveal section:not(.is-appendix) .history-copy h3 { font-size: var(--fs-headline); line-height: 1.3; }
/* Nav arrows: small secondary chevrons (~25px; slides are driven by keyboard/clicker), brand colour, quiet until used. */
.reveal .controls { font-size: 7px; right: 16px; bottom: 16px; color: var(--brand-primary); opacity: .35; transition: opacity .2s; }
.reveal .controls:hover, .reveal .controls:focus-within { opacity: 1; }

/* ===== Fixes v4 — design critique step 1 (2026-11-03); applies to main and appendix slides ===== */
/* 1. Lead (dark teal) metric card: body copy white @ 85% — was dark grey on teal. */
.reveal section:not(.is-appendix) .metrics-v2 .is-lead .card-body { color: #fff; opacity: .85; }

/* 2. Card headings (workshop-task, metric-label): open the leading so wrapped lines never collide. */
.reveal section:not(.is-appendix) .slide-card .workshop-task,
.reveal section:not(.is-appendix) .metrics-lg .metric-card .metric-label { line-height: 1.3; }
/* QR link captions: LTR URL stays on one line / never splits mid-word. */
.reveal section:not(.is-appendix) .qr-link,
.reveal section:not(.is-appendix) .qr-link a {
  direction: ltr; unicode-bidi: isolate; word-break: keep-all; overflow-wrap: normal; font-size: var(--fs-caption);
}

/* 3. Metric numbers ("40%+"): isolate as LTR so the plus/percent are not mirrored by RTL. */
.reveal section:not(.is-appendix) .metric-hero,
.reveal section:not(.is-appendix) .metric-value,
.reveal section:not(.is-appendix) .dt-stat-value { direction: ltr; unicode-bidi: isolate; }

/* 4. Contrast: muted text #4F665B (>=5.5:1 on #F5F5F5) and gold TEXT #8A6A2B on light (gold fills/borders/dark-teal text untouched). */
.reveal section:not(.is-appendix) { --brand-muted: #4F665B; --brand-accent-text: #8A6A2B; }
.reveal section:not(.is-appendix) .slide-footer,
.reveal section:not(.is-appendix) .footer-date,
.reveal section:not(.is-appendix) .footer-slogan { color: #4F665B; }
.reveal section:not(.is-appendix) .history-tag,
.reveal section:not(.is-appendix) .separator-kicker,
.reveal section:not(.is-appendix) .workshop-role,
.reveal section:not(.is-appendix) .profile-role,
.reveal section:not(.is-appendix) .dt-stat-value.accent,
.reveal section:not(.is-appendix) .dt-pillar-label.accent,
.reveal section:not(.is-appendix) .dt-partner-foot.accent,
.reveal section:not(.is-appendix) .dt-sprint-foot.accent,
.reveal section:not(.is-appendix) .dt-thanks-sub { color: var(--brand-accent-text); }

/* "شاهد الفيديو" gold pill: ink text instead of white (2.5:1 -> ~5.9:1). */
.reveal section:not(.is-appendix) .history-video { color: var(--brand-ink) !important; }
/* Pillar-3 teal labels on white: one step darker (4.1:1 -> ~5.5:1). */
.reveal section:not(.is-appendix) .dt-pillar-label.arsenal { color: #236B5E; }

/* 5. Watermark: dhow ship to ~1/3 of its previous opacity (0.10 -> 0.033). */
.bg-ship { opacity: 0.12; }

/* 6. Card headings capped at 24px on main slides (big stats, quotes, history years untouched). */
.reveal section:not(.is-appendix) .metrics-lg .metric-card .metric-label,
.reveal section:not(.is-appendix) .cards-lg .slide-card > strong { font-size: var(--fs-card-title); }
.reveal section:not(.is-appendix) .metrics-lg .metric-card:not(:has(.metric-hero)) .card-body { font-size: var(--fs-body); line-height: 1.45; }

/* 7. Text cards in 2-row grids: start-align content instead of floating mid-card. */
.reveal section:not(.is-appendix) .grid-container .row.rows-2 > .slide-card:not(.bg-transparent):not(.justify-center):not(.align-center):not(.metric-card):not(.quote-card):not(.lo-card):not(:has(.show-img)),
.reveal section:not(.is-appendix) .grid-container .row.rows-2 > * > .slide-card:not(.bg-transparent):not(.justify-center):not(.align-center):not(.metric-card):not(.quote-card):not(.lo-card):not(:has(.show-img)) { justify-content: flex-start; }

/* 8. Cover/closing emblem: widen the strip to the image's natural ratio and contain, so "DUBAI POLICE" is not cropped. */
.reveal section:not(.is-appendix) .dp-title-slide { grid-template-columns: 264px 1fr; }
.reveal section:not(.is-appendix) .dp-title-emblem img.show-img { object-fit: contain; object-position: right center; }

/* 9. Hide review flags deck-wide. */
.dt-alt-flag { display: none !important; }

/* ===== Fixes v5 — design items from REVIEW-ALL-COMMENTS (2026-11-04); applies to main and appendix slides ===== */
/* Card clipping: cards were 5-13px shorter than text + 20px padding -> trim vertical padding, size rows to content (43,59,76,89,91-93,96,98,99,150,155,156,218,225,226,228,236-248). */
.reveal .layout-case .row > * > .slide-card.lo-card, .reveal .layout-case .row > .slide-card.lo-card { padding-top: 12px; padding-bottom: 12px; max-height: none; flex-shrink: 0; }
.reveal .layout-case .row.rows-fit > * { min-height: auto; }
.reveal section .slide-card.dt-factor-card { padding-top: 8px; padding-bottom: 8px; max-height: none; }

.reveal .layout-case .row[class*="rows-"]:not(.rows-fit) { grid-template-rows: none; grid-auto-rows: minmax(min-content, 1fr); }
.reveal .layout-case .row[class*="rows-"]:not(.rows-fit) > * { min-height: auto; }
.reveal section .dt-factor-card strong { font-size: var(--fs-card-title); line-height: 1.2; }  /* 150,155,156: card titles on the same 24px cap as main cards */

/* PoC screenshot slides (87-100; appendix 235-248): screenshot fills its card (8px padding instead of 20px) — more room for the dark UI text. */
.reveal .layout-case > .slide-card:has(> img.show-img:is([src*="/s065_"],[src*="/s067_"],[src*="/s068_"],[src*="/s069_"],[src*="/s072_"],[src*="/s073_"],[src*="/s075_"],[src*="/s077_"],[src*="/s078_"])) { padding: 8px; }
.reveal .layout-case > .slide-card > img.show-img:is([src*="/s067_"],[src*="/s068_"],[src*="/s069_"],[src*="/s072_"],[src*="/s075_"],[src*="/s077_"],[src*="/s078_"]) { width: 100%; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }

/* 98 (appendix 246): steps text + portrait screenshot share one card — text column gets the room, screenshot is a 300px crop of its top (the two video panels). */
.reveal .layout-case > .slide-card > .row:has(> .col-8 + .col-4 > img.show-img) { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: stretch; }
.reveal .layout-case > .slide-card > .row:has(> .col-8 + .col-4 > img.show-img) > * { grid-column: auto; grid-row: 1; }
.reveal .layout-case > .slide-card > .row > .col-8 { justify-content: center; text-align: start; }
.reveal .layout-case > .slide-card > .row > .col-8 .card-kicker { display: block; margin-top: 16px; }
.reveal .layout-case > .slide-card > .row > .col-8 .mb-3 { margin-bottom: 4px; }
.reveal .layout-case > .slide-card > .row > .col-4 > img.show-img { width: 100%; height: 100%; max-height: 100%; object-fit: cover; object-position: top; border-radius: 6px; }


/* 1, 108: emblem asset is a half-ring with a flat edge by design — let it bleed to the slide edge so the flat edge reads as the slide boundary, not a trim. */
.reveal .grid-container:has(> .dp-cover) { overflow: visible; }
.reveal .dp-title-slide.dp-cover { grid-template-columns: 314px 1fr; grid-template-rows: minmax(0, 1fr); overflow: visible; }
.reveal .dp-title-slide.dp-cover .dp-title-emblem { margin: 0 -32px 0 0; height: 100%; overflow: visible; clip-path: inset(-200px -200px 0 -200px); }  /* bleed at the sides, but never over the footer */
.reveal .dp-title-slide.dp-cover .dp-title-emblem img.show-img { object-fit: contain; object-position: right center; }


/* Empty cards: text-only card grids size to their content and sit centred, instead of stretching 50-80% empty (10,29,31,32,35,37,71,77,82,86,105; appendix 200-204,232,233,235-248). */
.reveal .grid-container > .row[class*="rows-"]:not(.rows-fit):not(:has(img, video, iframe, .dt-stack)) { grid-template-rows: none; grid-auto-rows: auto; align-content: center; }
.reveal .grid-container > .row[class*="rows-"]:not(.rows-fit):not(:has(img, video, iframe, .dt-stack)) > * { align-self: stretch; }
.reveal .layout-los:not(:has(img, video)) { grid-template-rows: none; grid-auto-rows: minmax(120px, auto); align-content: center; }  /* 31,32,77 */
/* Explainer cases (35,37; appendix 200-204,232,233): text card hugs its copy and centres; diagram column gets ~70% of the width. */
.reveal .layout-case.case-explainer:not(:has(> .row)) { grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); }
.reveal .layout-case.case-explainer > .slide-card:not(:has(img)) { align-self: center; height: auto; max-height: none; padding-top: 28px; padding-bottom: 28px; }
.reveal .layout-case.case-explainer > .slide-card:has(img) { padding: 10px; }
.reveal .layout-case.case-explainer:has(> .slide-card:only-child) { grid-template-columns: minmax(0, 1fr); }  /* image-only explainer: the picture takes the full width */

/* 12, 21, 39 (+ other history slides): video pill gets its own breathing room — clear of the year (gap) and of the card title above it (margin), 32px tall tap target. */
.reveal .history-year-row { gap: 12px 28px; }
.reveal .history-video { font-size: var(--fs-caption); padding: 6px 16px; min-height: 32px; box-sizing: border-box; line-height: 1.2; }
.reveal .history-year-row .history-video { margin-inline-start: 8px; }
.reveal .slide-card > .card-kicker + .history-video { margin: 10px 0 12px; }
.reveal .slide-card > .history-video { align-self: center; }

/* 100-253: page-number badge — fixed 44px-wide centred pill so 1, 2 and 3 digits all fit without the badge widening. */
.reveal .btn-slide-num { min-width: 44px; box-sizing: border-box; text-align: center; font-variant-numeric: tabular-nums; padding: 3px 6px; white-space: nowrap; }

/* 72: default blue underlined link -> brand link (primary-dark, accent underline, focus ring from v4). */
.reveal .slide-card ~ p a:not(.history-video), .reveal .layout-metrics ~ p a { color: var(--brand-primary-dark); text-decoration: underline; text-decoration-color: var(--brand-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 600; font-size: inherit; }
.reveal .layout-metrics ~ p a svg, .reveal .layout-metrics ~ p a i { vertical-align: -3px; margin-inline-end: 6px; color: var(--brand-accent-text, var(--brand-accent)); }


/* History images. 13: keep the face in frame (crop from the top, not the centre). */
.reveal .history-media img.history-photo[src*="john-mccarthy"] { object-position: center 12%; }
/* 15 (ELIZA) + 19 (Deep Blue poster): tall assets get a 1:1 frame; 15 shows the whole screenshot, 19 crops the poster to the figure + title. */
.reveal .history-media img.history-photo[src*="eliza-chatbot"] { aspect-ratio: 1 / 1; max-width: 430px; object-fit: contain; padding: 10px; }
.reveal .history-media img.history-photo[src*="s018_2"] { aspect-ratio: 1 / 1; max-width: 430px; object-fit: cover; object-position: center 34%; padding: 0; }
/* 22 (face grid) + 23 (ROSS): wider frame and column, less padding, so the small detail is as big as the slide allows. */
.reveal .layout-history:has(img[src*="s021_2"], img[src*="s022_5"]) { grid-template-columns: 6fr 6fr; }
.reveal .history-media img.history-photo[src*="s021_2"] { aspect-ratio: 5 / 4; max-width: 560px; padding: 8px; }
.reveal .history-media img.history-photo[src*="s022_5"] { aspect-ratio: 4 / 3; max-width: 560px; object-fit: cover; padding: 0; }
/* 20: the StatsMonkey flow card uses the same 4:3 frame as the other history beats. */
.reveal .history-media > .slide-card { width: 100%; max-width: 470px; height: auto; max-height: 88%; aspect-ratio: 4 / 3; padding: 14px; gap: 2px; }
.reveal .history-media > .slide-card .icon-box { width: 38px; height: 38px; }

/* 7-9: answer bar is a compact centred pill instead of a nearly empty full-width card ("AI ?" overlay is baked into the image: needs asset). */
.reveal .layout-is-ai > .is-ai-answer { justify-self: center; width: auto; min-width: 420px; padding: 8px 26px; border-radius: 999px; }


/* 84 (appendix 233): screenshot on the same (leading) side as every other case slide; portrait phone gets a 4fr column. */
.reveal .layout-case.case-explainer:has(> .row) { grid-template-columns: minmax(0, 9fr) minmax(0, 4fr); }  /* 80, 83: strategy diagram / infographic get ~70% */
.reveal .layout-case.case-explainer:has(> .row):has(img[src*="s064_17"]) { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.reveal .layout-case.case-explainer:has(> .row) > .slide-card:has(img) { order: -1; }

/* 61: bold bottom line breathes — clear of the cards above and the source line below. */
.reveal .grid-container > .row + p.text-center { margin: 14px 0 12px; line-height: 1.55; }

/* 63 (appendix 219): crop the baked-in URL off the bottom of the trolley illustration. */
.reveal img.show-img[src*="ai-ethics-further-reading"] { clip-path: inset(0 0 5% 0); }

/* 68, 85, 104 etc.: transparent photo cards drop their ghost border/shadow. */
.reveal .slide-card.bg-transparent { border-color: transparent; box-shadow: none; }

/* 73, 158, 159, 164: QR codes at a scannable size (was 145px). */
.reveal .workshop-qr .qr-frame { width: 240px; height: 240px; flex: 0 0 240px; }

/* 85: nested boxes — case blocks inside the card lose their own border/tint, separated by a hairline instead. */
.reveal .dt-case-card .dt-case-block { border: 0; background: transparent; border-radius: 0; padding: 8px 0; margin: 0; }
.reveal .dt-case-card .dt-case-block + .dt-case-block { border-top: 1px solid rgba(var(--brand-primary-rgb), 0.14); }

/* 102 (appendix 250): idea-matrix labels were ~11-14px; lift to a readable floor. */
.reveal .idea-matrix .idea-cell strong { font-size: var(--fs-body); }
.reveal .idea-matrix .idea-cell span { font-size: var(--fs-body-small); line-height: 1.35; }
.reveal .idea-matrix .axis-x, .reveal .idea-matrix .axis-y { font-size: var(--fs-caption); }

/* 104: four different top-border colours -> one brand colour (icon tints unchanged except accent -> primary). */
.reveal .row:has(img[src*="imagination-to-execution"]) .slide-card[class*="dt-accent-"] { border-top-color: var(--brand-primary); }

/* 4, 6: icons at the same height across cards — content starts at the top of equal-height cards instead of centring around different text lengths. */
.reveal .metrics-lg .metric-card:not(:has(.metric-hero)) { justify-content: flex-start; padding-top: 72px; }

/* 2: speaker name was bigger than the slide title (31px vs 30px) -> 24px. */
.reveal .program-trainer .program-name { font-size: var(--fs-lead); }

/* 3 + other dividers: quieter watermark — a surface-colour veil sits over the wave/dhow background while a divider is showing. */
.reveal .slides section:has(> .grid-container > .layout-separator)::before, .reveal .slides section:has(.layout-separator)::before { content: ""; position: absolute; inset: -40px; background: var(--brand-surface); opacity: .72; z-index: -1; pointer-events: none; }
/* 82: video frames fill their cards instead of floating small. */
.reveal .slide-card > img.show-img[src*="gitex-"] { width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.reveal .row.rows-1:has(img[src*="gitex-"]) { grid-auto-rows: auto; grid-template-rows: none; align-content: center; }

.reveal .layout-metrics.metrics-lg:not(:has(.metric-hero)) { grid-template-rows: none; grid-auto-rows: auto; align-content: center; }  /* 4, 6: cards hug their content (no 50% empty), icons share one baseline */
.reveal .metrics-lg .metric-card:not(:has(.metric-hero)) { padding-bottom: 36px; }


/* 42: the percentage is the hero — 56px, kicker and label stay small. */
.reveal .row > [class*="col-"] > .metric-card:has(.metric-kicker) .metric-hero { font-size: var(--fs-display-lg); line-height: 1.05; }
.reveal .row > [class*="col-"] > .metric-card:has(.metric-kicker) .metric-kicker { font-size: var(--fs-body-small); }
.reveal .row > [class*="col-"] > .metric-card:has(.metric-kicker) .metric-label { font-size: var(--fs-card-title); }

/* 59, 78: crop the website chrome (nav bars, logos) off the top of the screenshots. */
.reveal .slide-card > img.show-img[src*="PredPol"] { width: 100%; height: auto; aspect-ratio: 556 / 340; object-fit: cover; object-position: center bottom; }
.reveal .slide-card > img.show-img[src*="safeCitySIngapore"] { width: 100%; height: auto; aspect-ratio: 538 / 440; object-fit: cover; object-position: center bottom; }

/* 73, 159 (+158, 164): One Million Prompters logo keeps its aspect ratio (letters were stretched). */
.reveal img.show-img[src*="1MP-Logo"] { width: auto; max-width: 92%; height: auto; max-height: 55%; object-fit: contain; }


/* 5, 55: quote card hugs the quote (was a full-height, mostly empty block); the quote mark becomes a real gold glyph (was ~20px). */
.reveal .layout-quote > .quote-card.quote-short { height: auto; align-self: center; padding-top: 48px; padding-bottom: 48px; }
.reveal .layout-quote .quote-card .quote-mark { font-size: 0; height: 56px; color: var(--brand-accent); }
.reveal .layout-quote .quote-card .quote-mark::before { content: "\201C"; font-family: Georgia, serif; font-size: var(--fs-display-glyph); line-height: 1; display: block; }

/* B18 (repeated icon-title-sentence grids): calmer, smaller decorative icons. Content/focal-point changes are not a CSS job. */
.reveal .metrics-lg .metric-card:not(:has(.metric-hero)) .icon-box { width: 56px; height: 56px; border-radius: 14px; }
.reveal .metrics-lg .metric-card:not(:has(.metric-hero)) .icon-box svg { width: 28px; height: 28px; }


/* merge (origin/main into local two-day main): remote components (section-divider, tier pair, RPA card alignment, video pop-up, countdown) come first; local Fixes v6 follow so the local design pass wins where both style the same element. */

/* ===== Components ported from SmartCitiesPresentation (Nov 2026): section-divider, tier pair, warm-up banner, cards-top — HBMSU tokens mapped to Dubai Police brand ===== */
.warmup-banner {
  position: relative;
  margin: 14px auto 0 auto;
  width: min(880px, 92%);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(var(--brand-accent-rgb), 0.45);
  border-radius: 14px;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(var(--brand-primary-rgb), 0.12);
  z-index: 50;
  text-align: start;
  box-sizing: border-box;
}
.warmup-badge {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #fff;
  font-size: var(--fs-caption);
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font);
}
.warmup-text {
  font-size: var(--fs-body-small);
  color: var(--brand-primary-dark);
  line-height: 1.4;
  font-family: var(--font);
}
.warmup-text strong { color: var(--brand-primary); font-weight: 800; }

.tier-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; width: 100%; height: 100%; align-items: center; padding: 0 8px; }
.tier-col { --t-c: var(--brand-primary-dark); --t-rgb: var(--brand-primary-rgb); display: flex; flex-direction: column; align-items: center; gap: 0; min-height: 0; }
.tier-col.tier-2 { --t-c: var(--brand-accent); --t-rgb: var(--brand-accent-rgb); }
.tier-icon { position: relative; z-index: 2; width: 84px; height: 84px; border-radius: 22px; background: #fff; border: 3px solid var(--t-c); color: var(--t-c); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(var(--t-rgb), 0.28); margin-bottom: -26px; }
.tier-icon svg, .tier-icon i { width: 42px; height: 42px; stroke-width: 2; }
.slide-card.tier-card { height: auto; min-height: 250px; width: 100%; padding: 44px 28px 28px; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.tier-tag { font-size: var(--fs-caption); font-weight: 800; color: var(--t-c); background: rgba(var(--t-rgb), 0.1); border: 1px solid rgba(var(--t-rgb), 0.3); border-radius: 999px; padding: 4px 16px; }
.tier-title { font-size: var(--fs-display-sm); font-weight: 800; color: var(--brand-primary-dark); line-height: 1.2; }
.tier-body { margin: 0; font-size: var(--fs-body); line-height: 1.6; color: var(--brand-ink); max-width: 22em; }

/* Three stat cards in a row: compact variant of the IMD stat layout */
.cards-top .slide-card { justify-content: flex-start !important; }

/* --- Section divider: day openers, appendix, thank-you -------------------- */
.section-divider {
  --sd-c: var(--brand-primary);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; width: 100%; height: 100%; text-align: center;
}
.section-divider.sd-sense { --sd-c: var(--brand-primary); }
.section-divider.sd-analyze { --sd-c: var(--brand-accent); }
.section-divider.sd-act { --sd-c: var(--pillar-arsenal); }
.section-divider.sd-close { --sd-c: var(--brand-primary); }
.section-divider.sd-appendix { --sd-c: #8A97A5; }
.sd-band {
  width: 100%; height: 150px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-accent-rgb), 0.28) 20%, rgba(var(--brand-accent-rgb), 0.28) 80%, transparent) center / 100% 4px no-repeat;
}
.sd-box {
  background: var(--brand-primary-dark); color: #fff; border-radius: var(--brand-radius);
  border-bottom: 5px solid var(--sd-c); padding: 14px 44px; max-width: 86%;
  box-shadow: 0 14px 34px rgba(var(--brand-primary-rgb), 0.25);
}
.sd-box h3 { margin: 0; font-size: var(--fs-display-sm); font-weight: 800; line-height: 1.35; color: #fff; }
.sd-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-body-small); font-weight: 800;
  color: var(--sd-c); background: color-mix(in srgb, var(--sd-c) 10%, white);
  border: 1.5px solid color-mix(in srgb, var(--sd-c) 35%, white); border-radius: 999px; padding: 4px 18px;
}
.sd-kicker svg, .sd-kicker i { width: 18px; height: 18px; }
.sd-steps { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.sd-step {
  display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-caption); font-weight: 800;
  color: var(--brand-muted); border: 1.5px solid rgba(var(--brand-primary-rgb), 0.18);
  background: #fff; border-radius: 999px; padding: 5px 16px; line-height: 1.4;
}
.sd-step.is-active { color: #fff; background: var(--sd-c); border-color: var(--sd-c); }
.sd-step.is-done { color: var(--brand-primary-dark); }
.sd-step svg, .sd-step i { width: 16px; height: 16px; }
.sd-arrow { color: rgba(var(--brand-primary-rgb), 0.35); display: inline-flex; }
.sd-arrow svg, .sd-arrow i { width: 18px; height: 18px; }
.sd-sub { margin: 0; font-size: var(--fs-body); font-weight: 700; color: var(--brand-muted); line-height: 1.5; }


/* --- Discussion prompt: brainstorm steps (aside = which factor, main = questions) --- */
.discuss-layout {
  --dc-c: var(--brand-primary); --dc-rgb: var(--brand-primary-rgb);
  display: grid; grid-template-columns: 4fr 8fr; gap: 16px; width: 100%; height: 100%; min-height: 0;
}
.discuss-layout.dc-1 { --dc-c: var(--pillar-1); --dc-rgb: var(--pillar-1-rgb); }
.discuss-layout.dc-2 { --dc-c: var(--pillar-2); --dc-rgb: var(--pillar-2-rgb); }
.discuss-layout.dc-3 { --dc-c: var(--pillar-3); --dc-rgb: var(--pillar-3-rgb); }
.discuss-layout.dc-4 { --dc-c: var(--pillar-4); --dc-rgb: var(--pillar-4-rgb); }
.discuss-aside {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border-radius: var(--brand-radius); padding: 24px 20px; text-align: center; min-height: 0;
  background: rgba(var(--dc-rgb), 0.07); border: 1.5px solid rgba(var(--dc-rgb), 0.22);
}
.discuss-aside .dc-icon {
  width: 88px; height: 88px; border-radius: 24px; background: #fff; color: var(--dc-c);
  border: 3px solid var(--dc-c); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(var(--dc-rgb), 0.22);
}
.discuss-aside .dc-icon svg, .discuss-aside .dc-icon i { width: 44px; height: 44px; stroke-width: 2; }
.dc-step { font-size: var(--fs-caption); font-weight: 800; color: var(--dc-c); line-height: 1.4; }
.dc-dots { display: flex; gap: 6px; justify-content: center; direction: rtl; }
.dc-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--dc-rgb), 0.22); }
.dc-dots span.on { background: var(--dc-c); }
.discuss-main.slide-card { justify-content: center; align-items: stretch; gap: 14px; padding: 28px 36px; text-align: start; }
.dc-kicker { font-size: var(--fs-caption); font-weight: 800; color: var(--dc-c); line-height: 1.4; }
.dc-title { margin: 0; font-size: var(--fs-headline); font-weight: 800; color: var(--brand-primary-dark); line-height: 1.4; }
.dc-questions { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: dcq; }
.dc-questions li {
  counter-increment: dcq; display: flex; align-items: flex-start; gap: 14px;
  font-size: var(--fs-lead); font-weight: 600; line-height: 1.55; color: var(--brand-ink);
}
.dc-questions li::before {
  content: counter(dcq); flex: 0 0 34px; height: 34px; border-radius: 50%;
  background: rgba(var(--dc-rgb), 0.12); color: var(--dc-c); font-weight: 800; font-size: 0.85em;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.grid-container > .section-divider,
.grid-container > .discuss-layout { flex: 1 1 0%; height: 100%; min-height: 0; }

/* ===== RPA design alignment (Nov 2026) — match rpa-presentation card language =====
   Quote / question cards  -> RPA "AI and people" quote card (light green, dark-green text, gold attribution, faded quote mark)
   Workshop prompt cards   -> RPA exercise card (cream, dashed gold border, gold chevron list)                          */
.slide-card.bg-green-soft { background: rgba(230, 242, 237, 0.85) !important; color: var(--brand-primary-dark) !important; border-color: rgba(var(--brand-primary-rgb), 0.25) !important; }
.slide-card.bg-gold-light { background: rgba(253, 249, 242, 0.85) !important; color: #8c6723 !important; border-color: rgba(var(--brand-accent-rgb), 0.25) !important; }
.slide-card.border-gold { border-color: var(--brand-accent) !important; }
.slide-card.border-dashed { border-style: dashed !important; }

.reveal .quote-card,
.reveal .quote-card.quote-hero {
  background: rgba(230, 242, 237, 0.85);
  color: var(--brand-primary-dark);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.25);
  position: relative;
}
.reveal .quote-card .quote-text,
.reveal .quote-card.quote-hero .quote-text { color: var(--brand-primary-dark); font-weight: 800; }
.reveal .quote-card .quote-text em,
.reveal .quote-card .dt-em-gold { color: #8c6723; }
.reveal .quote-card .quote-by,
.reveal .quote-card.quote-hero .quote-by,
.reveal .quote-card .quote-by strong { color: var(--brand-accent); }
.reveal .layout-quote .quote-card .quote-mark,
.reveal .quote-card .quote-mark { color: rgba(var(--brand-primary-rgb), 0.18); }

.reveal .slide-card.workshop-prompt {
  background: rgba(253, 249, 242, 0.85);
  border: 1.5px dashed var(--brand-accent);
}
.reveal .workshop-prompt .workshop-role { color: #8c6723; }
.reveal .workshop-prompt .workshop-steps { flex-direction: column; flex-wrap: nowrap; gap: 6px; align-items: flex-start; }
.reveal .workshop-prompt .workshop-steps .dt-pill {
  background: none; border: 0; padding: 0; border-radius: 0; color: var(--brand-ink);
  font-size: var(--fs-body-small); font-weight: 600; display: flex; align-items: flex-start; gap: 8px; text-align: start; white-space: normal;
}
.reveal .workshop-prompt .workshop-steps .dt-pill::before { content: "‹"; color: var(--brand-accent); font-weight: 800; font-size: 1.2em; line-height: 1.1; flex-shrink: 0; }

/* Video pop-up: keep any video (incl. vertical reels) inside the pop-up with controls visible */
#video-modal .plyr { width: min(860px, 90vw); max-height: 78vh; }
#video-modal .plyr video, #video-modal-player { max-height: 78vh; object-fit: contain; background: #000; }
#youtube-modal-wrap.is-vertical #youtube-modal-iframe { width: min(420px, 90vw); height: 78vh; display: block; margin: 0 auto; }

/* Opt-in: card rows stretch to the full slide height (AI deck has more vertical space than RPA) */
.reveal .grid-container > .row.rows-fill { grid-template-rows: none !important; grid-auto-rows: minmax(0, 1fr) !important; align-content: stretch !important; }
.reveal .grid-container > .row.rows-fill > * > .slide-card { height: 100%; }

/* Question-slide countdown (footer, between page number and slogan) */
.slide-footer { position: relative; }
.cd-timer {
  position: absolute; left: 70px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px; border-radius: 999px;
  font-family: inherit; font-size: var(--fs-caption); font-weight: 800; line-height: 1.2; cursor: pointer;
  color: #fff; background: var(--brand-primary); border: 0; box-shadow: 0 6px 16px rgba(var(--brand-primary-rgb), 0.25);
}
.cd-timer .cd-time { font-size: var(--fs-body-small); font-variant-numeric: tabular-nums; min-width: 3.2ch; text-align: center; }
.cd-timer .cd-label { font-size: var(--fs-small); opacity: 0.9; }
.cd-timer.is-last { background: var(--brand-accent); color: var(--brand-primary-dark); }
.cd-timer.is-done { background: #B42318; animation: cd-pulse 1.2s ease-in-out infinite; }
.cd-timer.is-paused { opacity: 0.55; }
@keyframes cd-pulse { 50% { transform: translateY(-50%) scale(1.06); } }
.print-pdf .cd-timer { display: none !important; }



/* ==== Fixes v6: impeccable (craft-floor, quieter) + taste-skill. Refinement only: DP green/gold, logos, centred title, wave and footer kept. Remove this block to undo. ==== */

/* Separators: the title comes first; the day/slot/time line moves below it as quiet meta (kicker-above-heading is a ban). Smaller, flat emblem ring. */
.reveal .layout-separator > .text-center { display: flex; flex-direction: column; align-items: center; }
.reveal .layout-separator .separator-icon-box { order: 0; width: 76px; height: 76px; border-width: 2px; box-shadow: none; margin: 0 auto 22px; }
.reveal .layout-separator .separator-icon-box svg { width: 34px; height: 34px; }
.reveal .layout-separator .separator-title { order: 1; margin: 0; }
.reveal .layout-separator .separator-kicker { order: 2; margin-top: 14px; font-size: var(--fs-card-title); font-weight: 400; letter-spacing: 0; color: var(--brand-muted); }

/* Cards: flat surface, hairline border, no accent stripes, smaller radius (no soft-shadowed rounded rectangles). */
.reveal .slide-card { box-shadow: none !important; border: 1px solid rgba(var(--brand-primary-rgb), 0.16); border-radius: 10px; }
.reveal .slide-card.accent-top { border-top: 1px solid rgba(var(--brand-primary-rgb), 0.16); }
.reveal .slide-card.bg-transparent { border: none; }
/* An image card holding only a screenshot loses its frame (no box around a box). */
.reveal .slide-card.align-center.justify-center:has(> img.show-img:only-child) { background: transparent; border: none; }
.reveal .slide-card > img.show-img { border-radius: 6px; }

/* Icons: plain line icons, no tinted rounded-square tile. */
.reveal .icon-box:not(.separator-icon-box) { background: transparent !important; width: auto; height: auto; min-width: 0; border-radius: 0; padding: 0; color: var(--brand-primary); }
.reveal .icon-box:not(.separator-icon-box) svg { width: 24px; height: 24px; stroke-width: 1.75; }
.reveal .metrics-lg .metric-card:not(:has(.metric-hero)) .icon-box { width: auto; height: auto; }

/* Pills: decorative labels become plain text; the hover-reveal trigger keeps a dotted underline as its affordance. */
.reveal .dt-pill { background: none; border: none; padding: 0; border-radius: 0; font-weight: 700; color: var(--brand-primary); }
.reveal .hover-reveal-card .dt-pill { text-decoration: underline dotted; text-underline-offset: 5px; }
.reveal .history-tag { color: var(--brand-muted); font-weight: 600; }

/* Gradients become flat tints. */
.reveal .dt-genai-ai { background: var(--genai-green-2); }
.reveal .dt-genai-ml { background: var(--genai-green-4); }
.reveal .dt-genai-dl { background: var(--genai-green-6); }
.reveal .dt-genai-gen { background: var(--genai-green-7); }
.reveal [class*="dt-ethics-"] .dt-ethics-badge { background: var(--brand-primary); }
.reveal .dt-roadmap-bar { background: rgba(var(--brand-primary-rgb), 0.35) !important; }

/* Motion: one short fade, no travel or scale, on every entrance (no fly-ins on a screen-shared deck). */
@keyframes motionFadeV6 { from { opacity: 0; } to { opacity: 1; } }
.reveal .animate__animated, .reveal .motion-assemble { animation-name: motionFadeV6 !important; animation-duration: 0.3s !important; animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important; }

/* Weight: 400 and 700 only. */
.reveal .slide-header h2, .reveal .dt-stat-title, .reveal .dt-stat-value, .reveal .dt-kicker, .reveal .dt-quote-text, .reveal .dt-ai-feature-title,
.reveal .dt-genai-band-title, .reveal .dt-ethics-claim, .reveal .dt-case-label, .reveal .dt-quote-hero-text, .reveal .dt-pillar-label,
.reveal .dt-thanks-title, .reveal .program-name, .reveal .program-goals-title, .reveal .rpa-download-chip span { font-weight: 700; }
.reveal .slide-header .subtitle { font-weight: 400; }
.reveal .dt-case-label { text-transform: none; letter-spacing: 0; }

/* Quote mark in the deck's own face. */
.reveal .layout-quote .quote-card .quote-mark::before { font-family: var(--font); }

/* Fixes v6b: Impeccable detector findings (impeccable detect, 5 Nov 2026). */
.reveal .footer-date, .reveal .footer-slogan, .reveal .slide-footer .btn-slide-num { opacity: 1; }            /* low-contrast: footer date was 3.7:1 at opacity .8 */
.reveal .timeline-story { border-inline-start: 1px solid rgba(var(--brand-primary-rgb), 0.16); }               /* side-tab: 6px stripe */
.reveal .dt-roadmap-arrow { border-left-color: rgba(var(--brand-primary-rgb), 0.35); }                        /* arrow head matches the flat roadmap bar */
.reveal .hover-reveal-card:hover, .reveal .hover-reveal-card.is-revealed, .reveal .hover-reveal-card.is-active { box-shadow: none !important; transform: none; border-color: rgba(var(--brand-primary-rgb), 0.4); } /* dark-glow + lift: hover shows a darker hairline instead */

/* 91 uae-genai-use: bar widths as classes (replaces inline style --w). */
.reveal .metric-bar.w733 > span { --w: 73.3%; }
.reveal .metric-bar.w643 > span { --w: 64.3%; }
.reveal .metric-bar.w188 > span { --w: 18.8%; }

/* Title slide subtitle: darker gold text (gold #C5A059 on white was 2.5:1). */
.reveal .dp-title-kicker { color: var(--brand-accent-text, #8A6A2B); }

/* Illustrated slides (assets/gen, Gemini): content at the start, one illustration at the end. */
.reveal .layout-illus { display: grid; grid-template-columns: minmax(0, 1fr) 36%; gap: 24px; height: 100%; min-height: 0; align-items: center; }
.reveal .layout-illus > .illus-body { min-width: 0; min-height: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.reveal .layout-illus > .illus-body > * { min-height: 0; }
.reveal .layout-illus > .illus-media { margin: 0; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.reveal .layout-illus > .illus-media img { width: 100%; height: auto; max-height: 100%; object-fit: contain; border-radius: 10px; }
.reveal .layout-illus.is-narrow { grid-template-columns: minmax(0, 1fr) 24%; gap: 18px; }

/* QR polls (tools/make_polls.py): question + options at the start, QR at the end; results slide with one bar per option. */
.reveal .layout-poll { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; height: 100%; align-items: stretch; }
.reveal section .layout-poll .poll-question.slide-card { align-items: flex-start; justify-content: center; text-align: start; gap: 14px; padding: 28px 40px; }
.reveal .layout-poll .poll-label { font-size: var(--fs-caption); font-weight: 600; color: #8c6723; }
.reveal .layout-poll .poll-q { font-size: var(--fs-headline); font-weight: 600; line-height: 1.5; color: var(--brand-ink); }
.reveal .layout-poll .poll-options { margin: 6px 0 0; padding-inline-start: 1.4em; display: flex; flex-direction: column; gap: 12px; font-size: var(--fs-lead); color: var(--brand-ink); }
.reveal .layout-poll .poll-options li::marker { color: var(--brand-primary); font-weight: 700; }
.reveal .poll-results { display: flex; flex-direction: column; justify-content: center; gap: 18px; height: 100%; max-width: 980px; margin: 0 auto; width: 100%; }
.reveal .poll-row { display: grid; grid-template-columns: 34% minmax(0, 1fr) 70px; gap: 16px; align-items: center; font-size: var(--fs-lead); }
.reveal .poll-bar { height: 22px; background: rgba(var(--brand-primary-rgb), 0.1); border-radius: 6px; overflow: hidden; }
.reveal .poll-bar > span { display: block; height: 100%; width: var(--w, 0%); background: var(--brand-primary); transition: width .4s ease; }
.reveal .poll-row.is-top .poll-bar > span { background: var(--brand-accent); }
.reveal .poll-count { font-weight: 700; color: var(--brand-primary-dark); text-align: end; }
.reveal .poll-status { margin: 6px 0 0; font-size: var(--fs-caption); color: var(--brand-muted); text-align: center; }

/* N10 tool map: one table, task · tool · what you get. */
.reveal .tool-map { height: 100%; display: flex; align-items: center; }
.reveal .tool-map table { width: 100%; border-collapse: collapse; font-size: var(--fs-body-small); }
.reveal .tool-map th { text-align: start; font-weight: 700; color: var(--brand-muted); padding: 8px 12px; border-bottom: 1px solid rgba(var(--brand-primary-rgb), 0.3); }
.reveal .tool-map td { padding: 10px 12px; border-bottom: 1px solid rgba(var(--brand-primary-rgb), 0.12); vertical-align: top; color: var(--brand-ink); }
.reveal .tool-map td:nth-child(2) { color: var(--brand-primary-dark); text-align: start; white-space: nowrap; }

/* Lab slides with a prefilled-prompt QR (tools/make_prompt_qr.py). */
.reveal .workshop-qr.prompt-qr { gap: 8px; justify-content: center; }
.reveal .workshop-qr.prompt-qr > img { width: 170px; height: 170px; border: 1px solid rgba(var(--brand-primary-rgb), 0.16); border-radius: 8px; background: #fff; align-self: center; }
.reveal .workshop-qr.prompt-qr .lo-body { font-size: var(--fs-caption); line-height: 1.45; }
.reveal .poll-results .poll-frame { width: 100%; flex: 1 1 auto; min-height: 0; border: 1px solid rgba(var(--brand-primary-rgb), 0.16); border-radius: 10px; background: #fff; }
.reveal .poll-results { max-width: none; justify-content: stretch; gap: 8px; }

/* Hierarchy pass (iOS HIG): one dominant title, clearly quieter subtitle, semibold (not bold) run-in labels. */
.reveal .slide-header h2 { font-weight: 700; }
.reveal .slide-header .subtitle { font-size: var(--fs-subtitle); font-weight: 400; margin-top: 6px; }
.reveal .slides section .slide-card strong { font-weight: 600; }

/* Full-bleed scene slide (e.g. I, Robot): picture only — no header, footer or padding. */
.reveal .slides section.is-title-slide-section:has(.scene-full) { padding: 0; background: #000; }
.reveal .slides section.is-title-slide-section .grid-container:has(.scene-full) { position: static; padding: 0; }
.reveal .scene-full { position: absolute; inset: 0; margin: 0; background: #000; }
.reveal .scene-full img.show-img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; border-radius: 0; display: block; }

/* iOS HIG light-on-dark callout for the definition quote: deep brand surface, white primary text, light gold for the key phrase (all >= 4.5:1). */
.reveal .quote-hig.quote-card { background: var(--brand-primary-dark); border: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16); }
/* Readable measure (~70 chars/line), centred on the stage; everything inside hangs from the RTL start edge. */
.reveal .layout-quote > .quote-card.quote-hig { width: 100%; max-width: 920px; justify-self: center; align-items: flex-start; text-align: start; padding: 40px 56px 44px; border-radius: 14px; }
.reveal .layout-quote .quote-hig .quote-mark { color: #f2d48a; opacity: 1; height: auto; margin: 0 0 14px; align-self: flex-start; }  /* flex-start = right edge in RTL */
.reveal .layout-quote .quote-hig .quote-mark::before { content: "\201D"; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: var(--fs-display-glyph-sm); line-height: .8; height: 52px; overflow: hidden; }
/* Quote sits below the title (29.9px) in size; the dark surface, not the type size, carries the emphasis. */
.reveal .quote-hig .quote-text { color: #fff; font-size: var(--fs-headline); font-weight: 500; line-height: 1.75; margin: 0; text-align: start; }
.reveal .quote-hig .quote-text em { color: #f2d48a; font-style: normal; font-weight: 600; }

/* Definition slide: transparent illustration sits above the quote card; the pair is centred as one block. */
.reveal .layout-quote:has(.quote-hig) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.reveal .layout-quote:has(.quote-hig) > img.quote-illus { height: 190px; width: auto; max-width: 100%; flex: 0 0 auto; object-fit: contain; border-radius: 0; background: none; box-shadow: none; }
.reveal .layout-quote:has(.quote-hig) > .quote-card.quote-hig { flex: 0 0 auto; }

/* Foundations: three tiers of AI (ANI / AGI / ASI) as a rising staircase; the "today" pill shows on hover */
.reveal .layout-tiers { display: block; position: relative; width: 100%; height: 100%; min-height: 470px; }
.reveal .layout-tiers .tier-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
.reveal .layout-tiers .tier-links line { stroke: rgba(var(--brand-primary-rgb), 0.45); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.reveal .layout-tiers .tier { position: absolute; width: 30%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; z-index: 1; outline: none; }
.reveal .layout-tiers .tier-ani { inset-inline-start: 0; top: 200px; }
.reveal .layout-tiers .tier-agi { inset-inline-start: 35%; top: 100px; }
.reveal .layout-tiers .tier-asi { inset-inline-start: 70%; top: 0; }
.reveal .layout-tiers .tier-disc { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 4px solid var(--brand-primary); background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); margin-bottom: 8px; }
.reveal .layout-tiers .tier-disc img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; box-shadow: none; }
.reveal .layout-tiers .tier-acr { font-size: var(--fs-headline); font-weight: 700; color: var(--brand-primary); line-height: 1.1; }
.reveal .layout-tiers .tier-en { font-size: var(--fs-small); color: var(--brand-muted); font-weight: 500; }
.reveal .layout-tiers .tier-ar { font-size: var(--fs-body-small); font-weight: 600; color: var(--brand-ink); margin-top: 2px; }
.reveal .layout-tiers .tier-desc { font-size: var(--fs-caption); color: var(--brand-muted); line-height: 1.5; margin: 2px 0 0; max-width: 300px; }
.reveal .layout-tiers .tier-here { position: absolute; top: -34px; inset-inline-start: 50%; transform: translateX(50%) translateY(6px); white-space: nowrap; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.reveal .layout-tiers .tier-ani:hover .tier-here, .reveal .layout-tiers .tier-ani:focus-within .tier-here { opacity: 1; transform: translateX(50%) translateY(0); }

/* Ship watermark stays hidden until the deck has rendered (no flash on refresh). */
html:not(.deck-ready) .bg-ship { visibility: hidden !important; }

/* Crisp text: the deck uses fade transitions only, so no 3D perspective (it forces a composited, blurry layer). */
.reveal .slides, .reveal .slides > section, .reveal .slides > section > section { perspective: none !important; }

/* ===== Checklist (AI signs): tick a question when the answer is yes ===== */
.reveal .layout-checklist { display: grid; grid-template-columns: 1.9fr 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 24px 40px; height: 100%; align-items: stretch; }
.reveal .layout-checklist .check-group { display: flex; flex-direction: column; background: var(--brand-card); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 3px rgba(var(--brand-primary-rgb), .12); }
.reveal section .layout-checklist .check-item { display: flex; flex-direction: row; align-items: center; gap: 20px; flex: 1 1 0; padding: 24px 28px; text-align: start; cursor: pointer; font: inherit; width: 100%; border: 0; border-radius: 0; background: transparent; box-shadow: none; transition: background-color .2s; }
.reveal .layout-checklist .check-item + .check-item { border-block-start: 1px solid rgba(var(--brand-primary-rgb), .14); }
.reveal .layout-checklist .check-item:active { background: var(--brand-accent-soft); }
.reveal .layout-checklist .check-box { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(var(--brand-primary-rgb), .35); background: transparent; display: grid; place-items: center; color: #fff; transition: background-color .2s, border-color .2s; }
.reveal .layout-checklist .check-box svg { width: 24px; height: 24px; stroke-width: 3.5; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .2s; }
.reveal .layout-checklist .check-copy { display: flex; flex-direction: column; gap: 6px; }
.reveal .layout-checklist .check-copy strong { font-size: var(--fs-card-title); line-height: 1.35; font-weight: 700; color: var(--brand-ink); }
.reveal .layout-checklist .check-copy span { font-size: var(--fs-body-small); font-weight: 400; line-height: 1.5; color: var(--brand-muted); }
.reveal .layout-checklist .is-checked .check-box { background: var(--brand-primary); border-color: var(--brand-primary); }
.reveal .layout-checklist .is-checked .check-box svg { opacity: 1; transform: scale(1); }
.reveal .layout-checklist .check-result { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 40px 32px; background: transparent; border-radius: 28px; box-shadow: none; }
.reveal .layout-checklist .check-meter { --deg: 0deg; width: 190px; height: 190px; border-radius: 50%; display: grid; place-content: center; justify-items: center; background: conic-gradient(var(--brand-primary) var(--deg), rgba(var(--brand-primary-rgb), .12) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px)); mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px)); transition: --deg .3s; }
.reveal .layout-checklist[data-count="1"] .check-meter { --deg: 120deg; }
.reveal .layout-checklist[data-count="2"] .check-meter { --deg: 240deg; }
.reveal .layout-checklist[data-count="3"] .check-meter { --deg: 360deg; }
.reveal .layout-checklist .check-count { font-size: var(--fs-display-md); font-weight: 800; line-height: 1; color: var(--brand-ink); }
.reveal .layout-checklist .check-of { font-size: var(--fs-body-small); color: var(--brand-muted); }
.reveal .layout-checklist .check-verdict { font-size: var(--fs-lead); font-weight: 700; line-height: 1.5; color: var(--brand-primary-dark); max-width: 14em; }
.reveal .layout-checklist .check-hint { margin: 0; font-size: var(--fs-body-small); color: var(--brand-muted); }

/* "Smart or not?" case slides: full-bleed picture (AI ? baked into the image), answer pill in front at the bottom. */
.reveal .scene-full .scene-answer { position: absolute; z-index: 3; bottom: 44px; inset-inline: 0; margin-inline: auto; width: fit-content; justify-self: auto; }
.reveal .scene-full .scene-answer.hover-reveal-card:hover { transform: none; }

/* Landscape slide: the single card fills the whole content area. */
.reveal .dt-genai-card { height: 100%; }

/* Timeline slides: milestone cards with a dated photo; the one-line meaning appears on hover or focus. */
.reveal .layout-tl { display: flex; flex-direction: row; gap: 14px; height: 100%; align-items: center; justify-content: center; position: relative; }
.reveal .layout-tl::before { content: ""; position: absolute; inset-inline: 0; top: 50%; border-top: 3px dashed var(--brand-accent); z-index: 0; }
.reveal .layout-tl .tl-item { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 18px 8px 16px; background: #fff; border: 2px solid var(--brand-primary); border-radius: 16px; outline: none; }
.reveal .layout-tl .tl-year { font-size: var(--fs-display-sm); font-weight: 800; color: var(--brand-primary-dark); line-height: 1; }
.reveal .layout-tl .tl-disc { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 4px solid var(--brand-primary); background: #fff; display: grid; place-items: center; color: var(--brand-primary); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.reveal .layout-tl .tl-disc img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; box-shadow: none; }
.reveal .layout-tl .tl-disc svg { width: 56px; height: 56px; }
.reveal .layout-tl .tl-name { font-size: var(--fs-card-title); font-weight: 700; color: var(--brand-ink); line-height: 1.25; }
.reveal .layout-tl .tl-en { font-size: var(--fs-small); color: var(--brand-muted); font-weight: 500; }
.reveal .layout-tl .tl-desc { opacity: 0; transition: opacity .25s; font-size: var(--fs-small); white-space: normal; line-height: 1.4; }
.reveal .layout-tl .tl-item:hover .tl-desc, .reveal .layout-tl .tl-item:focus-within .tl-desc { opacity: 1; }
.reveal .layout-tl .history-video { margin-top: 2px; }
.reveal .layout-tl .tl-item { align-self: center; justify-content: center; min-height: 470px; }

/* Slide question: the lead prompt inside the body (the ## title is a topic label, the ### is the takeaway). */
.reveal .slide-question { margin: 0 0 14px; padding-block: 10px; padding-inline: 22px; border-inline-start: 6px solid var(--brand-accent); border-radius: 12px; background: var(--brand-accent-soft); color: var(--brand-ink); font-size: var(--fs-lead); font-weight: 700; line-height: 1.4; text-align: start; }
.reveal .layout-checklist .slide-question { grid-column: 1 / -1; margin: 0; background: transparent; border-inline-start: 0; padding-inline: 0; }

/* ==== layout-rest-cards: micro-break slide. Neutral white cards fill the content area; round brand icon disc straddles each card's top edge. ==== */
.layout-rest-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; align-content: center; align-items: stretch; gap: 32px; width: 100%; max-width: 1500px; margin-inline: auto; height: 100%; padding-block: 52px 0; padding-inline: 4px; box-sizing: border-box; }
.layout-rest-cards .rest-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 18px; min-width: 0; min-height: 0; padding-block: 78px 36px; padding-inline: 28px; box-sizing: border-box; background: var(--brand-card); border: 1px solid rgba(var(--brand-primary-rgb), 0.16); border-radius: 24px; box-shadow: 0 10px 30px rgba(var(--brand-primary-rgb), 0.12); text-align: center; }
.layout-rest-cards .rest-card-icon { position: absolute; inset-block-start: 0; inset-inline: 0; margin-inline: auto; width: 104px; height: 104px; translate: 0 -50%; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand-primary); color: #fff; box-shadow: 0 0 0 8px var(--brand-surface); }
.layout-rest-cards .rest-card-icon svg { width: 50px; height: 50px; stroke-width: 1.75; }
.layout-rest-cards .rest-card-text { margin: 0; font-size: var(--fs-body); font-weight: 500; line-height: 1.7; color: var(--brand-muted); text-wrap: pretty; }
.layout-rest-cards .rest-card-text strong { display: block; margin-block-end: 14px; font-size: var(--fs-card-title); font-weight: 800; line-height: 1.3; color: var(--brand-primary); text-wrap: balance; }

/* layout-coffee-break: header-less break slide. One calm centred stack (icon > timer > caption > return line [> fact card]) on an 8px rhythm; the whole group is centred, with or without the card */
.layout-coffee-break { grid-column: 1 / -1; grid-row: 1 / -1; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; text-align: center; color: var(--brand-primary); }
.layout-coffee-break .coffee-main { display: flex; flex-direction: column; align-items: center; gap: 0; }
.layout-coffee-break .coffee-icon { display: flex; align-items: center; justify-content: center; inline-size: 64px; block-size: 64px; margin-block-end: 16px; color: var(--brand-accent); }
.layout-coffee-break .coffee-icon svg { inline-size: 64px; block-size: 64px; stroke-width: 1.5; }
.layout-coffee-break .coffee-timer { font-size: var(--fs-display-timer); font-weight: 600; line-height: 1; color: var(--brand-primary); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; direction: ltr; }
.layout-coffee-break .coffee-timer[data-countdown] { cursor: pointer; }
.layout-coffee-break .coffee-timer.is-done { color: var(--brand-accent); }
.layout-coffee-break .coffee-caption { margin: 16px 0 0; font-size: var(--fs-headline); font-weight: 600; line-height: 1.4; color: var(--brand-ink); }
.layout-coffee-break .coffee-return { margin: 4px 0 0; font-size: var(--fs-body); font-weight: 600; line-height: 1.4; color: var(--brand-muted); }
/* coffee-break recap fact: part of the centred stack; fixed min height (label + 2 lines) so rotating facts never shift the group; text fades between facts */
.layout-coffee-break .coffee-fact { inline-size: min(960px, 100%); box-sizing: border-box; min-block-size: 132px; padding: 16px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--brand-card); border: 1px solid rgba(var(--brand-primary-rgb), 0.12); border-radius: var(--brand-radius); box-shadow: 0 1px 2px rgba(var(--brand-primary-rgb), 0.05), 0 8px 24px rgba(var(--brand-primary-rgb), 0.06); transition: opacity 0.4s ease; }
.layout-coffee-break .coffee-fact.is-fading { opacity: 0; }
.layout-coffee-break .coffee-fact-label { font-size: var(--fs-caption); font-weight: 700; line-height: 1.4; color: var(--brand-muted); }
.layout-coffee-break .coffee-fact-text { margin: 0; font-size: var(--fs-lead); font-weight: 500; line-height: 1.45; color: var(--brand-ink); text-wrap: balance; }
.layout-coffee-break .coffee-facts { display: none; }

/* ==== layout-tl.tl-circles: history-timeline-1 only. Round photos on one continuous line (RTL: earliest at the right); year badge, bold headline, small secondary text. ==== */
/* the row is one centred group (badge to caption) so both timeline slides keep the line at the same height */
.reveal .layout-tl.tl-circles { --tl-pad: 22px; align-items: flex-start; align-self: center; margin-block: auto; margin-inline: auto; gap: 0; block-size: auto; flex: none; padding-block-start: var(--tl-pad); box-sizing: border-box; }
/* one dotted connector for the whole row, centre of first circle to centre of last; the modifiers let it bleed to the slide edge (continues on the neighbouring slide) */
.reveal .layout-tl.tl-circles::before { content: ""; position: absolute; inset-block-start: calc(var(--tl-pad) + 100px); inset-inline: 12.5%; border-top: 4px dotted var(--brand-accent); z-index: 0; }
.reveal .layout-tl.tl-circles.tl-continues-left::before { inset-inline-end: -32px; }
.reveal .layout-tl.tl-circles.tl-continues-right::before { inset-inline-start: -32px; }
.reveal .grid-container:has(> .layout-tl.tl-circles) { overflow: visible; }
.reveal .layout-tl.tl-circles .tl-item { align-self: flex-start; justify-content: flex-start; min-height: 0; padding: 0 10px; gap: 8px; background: none; border: 0; border-radius: 0; }
.reveal .layout-tl.tl-circles .tl-disc { position: relative; z-index: 1; inline-size: 200px; block-size: 200px; flex: none; border: 6px solid #fff; background: var(--brand-surface); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
.reveal .layout-tl.tl-circles .tl-disc svg { inline-size: 84px; block-size: 84px; }
.reveal .layout-tl.tl-circles .tl-year { position: absolute; inset-block-start: -22px; inset-inline: 0; margin-inline: auto; inline-size: fit-content; z-index: 2; padding: 4px 16px; border-radius: 999px; background: var(--brand-primary); color: #fff; font-size: var(--fs-lead); line-height: 1.3; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); }
.reveal .layout-tl.tl-circles .tl-desc { min-block-size: 3lh; }
.reveal .layout-tl.tl-circles .tl-name { margin-block-start: 10px; font-size: var(--fs-card-title); font-weight: 800; }
.reveal .layout-tl.tl-circles .history-video { direction: rtl; position: absolute; inset-block-start: 160px; inset-inline-start: calc(50% + 52px); z-index: 3; inline-size: 44px; block-size: 44px; min-height: 0; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.reveal .layout-tl.tl-circles .history-video svg { inline-size: 20px; block-size: 20px; }

/* ===== Type scale v6: roles without their own size rule join the scale (tokens on :root) ===== */
/* Takeaway / lead lines under a grid or beside an illustration (41, 45) were inheriting the 26px base. */
.reveal .grid-container > p.text-center, .reveal .layout-illus > .illus-body > p.text-center { font-size: var(--fs-lead); }
/* Cover title carries an inline size in its slide file: snap it to the display scale. */
.reveal .dp-title-text h1[style*="font-size"] { font-size: var(--fs-display-sm) !important; }

/* ===== layout-ml-type: the three ML type slides (supervised / unsupervised / reinforcement). Two cards: definition at inline-start (right in RTL), image at inline-end; 5:7, equal heights, pair centred in the content area ===== */
.reveal .layout-ml-type { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto; align-content: center; align-items: stretch; gap: 20px; width: 100%; height: 100%; min-height: 0; margin: 0; text-align: start; }
.reveal .layout-ml-type > .slide-card { height: auto; min-height: 0; min-width: 0; background: var(--brand-card); border: 1px solid rgba(var(--brand-primary-rgb), 0.16); }
.reveal .layout-ml-type > .ml-type-def { justify-content: center; align-items: stretch; text-align: start; gap: 12px; padding: 28px 30px; }
.reveal .layout-ml-type .ml-type-def > .card-kicker { margin: 0; font-size: var(--fs-card-title); font-weight: 700; color: var(--brand-primary); }
.reveal .layout-ml-type .ml-type-lead { margin: 0; font-size: var(--fs-lead); font-weight: 600; line-height: 1.45; color: var(--brand-primary-dark); }
.reveal .layout-ml-type .ml-type-points { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; padding-top: 14px; border-top: 1px solid rgba(var(--brand-primary-rgb), 0.12); }
.reveal .layout-ml-type .ml-type-point { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: var(--fs-body); line-height: 1.5; color: var(--brand-ink); }
.reveal .layout-ml-type .ml-type-point svg { inline-size: 20px; block-size: 20px; flex: none; margin-top: 0.3em; color: var(--brand-primary); }
.reveal .layout-ml-type .ml-type-point strong { color: var(--brand-primary-dark); }
.reveal .layout-ml-type .ml-type-def > .history-video { align-self: flex-start; margin-top: 4px; font-size: var(--fs-body); padding: 6px 18px; }
.reveal .layout-ml-type .ml-type-def > .history-video svg { inline-size: 16px; block-size: 16px; }
.reveal .layout-ml-type .ml-type-answer { width: 100%; justify-content: flex-start; text-align: start; gap: 10px; padding: 10px 16px; margin-top: 4px; }
.reveal .layout-ml-type .ml-type-answer .card-kicker { margin: 0; flex: none; font-size: var(--fs-body); }
.reveal .layout-ml-type .ml-type-answer .card-body { font-size: var(--fs-body); line-height: 1.45; }
.reveal .layout-ml-type > .ml-type-media { align-items: center; justify-content: center; gap: 12px; padding: 20px; }
.reveal .layout-ml-type > .ml-type-media > img.show-img { flex: 0 1 auto; width: 100%; height: auto; max-height: 360px; min-height: 0; object-fit: contain; border-radius: 6px; }
.reveal .layout-ml-type > .ml-type-media > .history-video { align-self: center; flex: none; }

/* ===== layout-classify-hover (demo-x1-classify): calm lead question, then 2x3 equal task cards; hover / focus / tap reveals the answer badge + reason in space reserved inside the card (no layout shift) ===== */
.reveal .layout-classify-hover { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 20px; width: 100%; height: 100%; min-height: 0; margin: 0; text-align: start; }
.reveal .layout-classify-hover > .slide-question { margin: 0; padding: 0; background: transparent; border-inline-start: 0; border-radius: 0; font-weight: 600; color: var(--brand-primary-dark); white-space: nowrap; }
.reveal .layout-classify-hover .classify-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 18px 22px; min-height: 0; }
.reveal .layout-classify-hover .classify-card { height: auto; min-height: 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 12px; padding: 16px 26px; text-align: start; background: var(--brand-card); border: 1px solid rgba(var(--brand-primary-rgb), 0.16); outline: none; }
.reveal .layout-classify-hover .classify-card:focus-visible { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.25) !important; }
.reveal .layout-classify-hover .classify-task { margin: 0; font-size: var(--fs-lead); font-weight: 700; line-height: 1.35; color: var(--brand-ink); display: flex; align-items: center; gap: 14px; }
.reveal .layout-classify-hover .classify-num { flex: none; inline-size: 34px; block-size: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--brand-accent-soft); color: var(--brand-primary-dark); font-size: var(--fs-body); font-weight: 700; line-height: 1; }
.reveal .layout-classify-hover .classify-answer { display: flex; align-items: center; gap: 14px; margin: 0; min-width: 0; }
.reveal .layout-classify-hover .classify-card:focus .classify-answer,
.reveal .layout-classify-hover .classify-card:focus-within .classify-answer { opacity: 1; visibility: visible; transform: none; }
.reveal .layout-classify-hover .classify-badge { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 3px 14px; border-radius: 999px; font-size: var(--fs-body); font-weight: 700; line-height: 1.4; white-space: nowrap; }
.reveal .layout-classify-hover .classify-badge svg { inline-size: 20px; block-size: 20px; flex: none; }
.reveal .layout-classify-hover .classify-badge.is-automation { background: rgba(var(--brand-accent-rgb), 0.18); color: var(--brand-accent-text, #8A6A2B); border: 1px solid rgba(var(--brand-accent-rgb), 0.55); }
.reveal .layout-classify-hover .classify-badge.is-ai { background: var(--brand-primary); color: #fff; border: 1px solid var(--brand-primary); }
.reveal .layout-classify-hover .classify-reason { min-width: 0; font-size: var(--fs-body); line-height: 1.45; color: var(--brand-muted); }
/* is-dense (genai-external-scenarios): longer two-line task text, so tighter card padding/gap to keep the reserved answer row inside equal cards */
.reveal .layout-classify-hover.is-dense .classify-card { padding-block: 10px; gap: 8px; }

/* ==== layout-band-cards: genai-limits. 3x2 grid of equal numbered cards (RPA header-band card): brand-soft tinted header band with a round dark-teal icon disc + «N. title», white body below; first card at inline-start (right in RTL) ==== */
.reveal .layout-band-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px 18px; width: 100%; height: 100%; min-height: 0; margin: 0; text-align: start; }
.reveal .layout-band-cards > .slide-card.band-card { height: auto; min-height: 0; min-width: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; text-align: start; background: var(--brand-card); border: 1px solid rgba(var(--brand-primary-rgb), 0.16); }
.reveal .layout-band-cards .band-card-head { display: flex; align-items: center; gap: 10px; min-block-size: 56px; padding: 8px 14px; background: rgba(var(--brand-primary-rgb), 0.12); }
.reveal .layout-band-cards .band-card-icon { flex: none; inline-size: 34px; block-size: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-primary-dark); color: #fff; }
.reveal .layout-band-cards .band-card-icon svg { inline-size: 18px; block-size: 18px; stroke-width: 2; }
.reveal .layout-band-cards .band-card-title { min-width: 0; font-size: var(--fs-card-title); font-weight: 700; line-height: 1.25; color: var(--brand-primary-dark); }
.reveal .layout-band-cards .band-card-en { font-size: var(--fs-caption); font-weight: 600; color: var(--brand-muted); unicode-bidi: isolate; }
.reveal .layout-band-cards .band-card-body { flex: 1 1 auto; min-height: 0; margin: 0; padding: 10px 16px 12px; font-size: var(--fs-body); line-height: 1.45; color: var(--brand-ink); text-wrap: pretty; }

/* video-recap-d2: scannable QR under the video link (same size as prompt QR). */
.reveal .slide-card > img.show-img.video-qr { width: 170px; height: 170px; max-height: none; flex: 0 0 auto; object-fit: contain; border: 1px solid rgba(var(--brand-primary-rgb), 0.16); border-radius: 8px; background: #fff; }

/* considerations-wef-job-types: calm 3-card layout, one short line per job with its own icon. */
.reveal section:not(.is-appendix) .slide-card.wef-jobs { justify-content: flex-start; gap: 0; padding: 0 0 22px; overflow: hidden; }
.reveal .wef-jobs .wef-head { display: flex; align-items: center; gap: 16px; padding: 16px 28px; margin: 0 0 22px; background: var(--brand-primary); color: #fff; }
.reveal .wef-jobs .wef-head .icon-box { flex: 0 0 auto; margin: 0; background: rgba(255,255,255,0.2); color: #fff; border-color: transparent; box-shadow: none; }
.reveal .wef-jobs .wef-head .icon-box svg, .reveal .wef-jobs .wef-head .icon-box i { color: #fff; stroke: #fff; }
.reveal .wef-jobs .wef-head strong { font-size: 30px; font-weight: 800; line-height: 1.2; color: #fff; }
.reveal .wef-jobs .wef-list { list-style: none; margin: 0; padding: 0 28px; display: flex; flex-direction: column; justify-content: space-evenly; flex: 1 1 auto; gap: 16px; }
.reveal .wef-jobs .wef-list li { display: flex; align-items: center; gap: 14px; font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--brand-ink); white-space: nowrap; }
.reveal .wef-jobs .wef-list svg, .reveal .wef-jobs .wef-list i { width: 26px; height: 26px; flex: 0 0 auto; color: var(--brand-primary); }

/* considerations-wef-jobs: icons, numbers and labels share the same y across the three cards (top-aligned instead of centred around differing body lengths). */
.reveal section .layout-metrics.layout-metrics.metrics-lg.wef-aligned { grid-template-rows: none; grid-auto-rows: auto; align-content: center; align-items: stretch; }
.reveal section .layout-metrics.layout-metrics.metrics-lg.wef-aligned .metric-card:has(.metric-hero) { justify-content: flex-start; height: auto; min-height: 0; padding: 36px 22px; }

/* video-recap-d2 meta line: clock icon vertically centred on the text, sized to the text, "2:02" kept on one line. */
.reveal .lo-body.video-meta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.reveal .lo-body.video-meta svg, .reveal .lo-body.video-meta i { width: 1em; height: 1em; flex: none; }
.reveal .lo-body.video-meta span[dir="ltr"] { white-space: nowrap; }

/* faces-real-fake slides: image grid with numbered badge overlay (cell geometry measured from the two source images, 1743px wide) */
.reveal .faces-slide { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.reveal .faces-slide .slide-question { margin: 0; width: 100%; }
.reveal .faces-slide .faces-qcard { width: 100%; height: auto; flex: none; padding-block: 8px; }
.reveal .faces-wrap { position: relative; width: 100%; line-height: 0; --y0: 0; --y1: 218; --h: 422; }
.reveal .faces-wrap.faces-a { --y0: 67; --y1: 285; --h: 489; /* same scale/x as the question image; shifted down so its faces (67 natural px lower, label strip above) land exactly on the question slide's faces: question img top 239.1 - 67*1216/1743 - results img top 100 = 92.4px */ margin-top: 92.4px; }
.reveal .faces-wrap img { width: 100%; height: auto; display: block; margin: 0; border: 0; box-shadow: none; border-radius: 0; }
.reveal .faces-wrap .fb { position: absolute; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-primary); color: #fff; font-size: 22px; font-weight: 800; line-height: 1; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35);
  left: calc((var(--c) * 220 + 8) / 1743 * 100%); top: calc((var(--y0) + var(--r) * (var(--y1) - var(--y0)) + 8) / var(--h) * 100%); }
.reveal .faces-key { display: flex; gap: 16px; width: 100%; }
.reveal .faces-key-item { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 10px 18px; border-radius: 12px; border-inline-start: 6px solid; font-size: var(--fs-body, 22px); line-height: 1.4; text-align: start; }
.reveal .faces-key-item span { font-weight: 700; font-size: 24px; letter-spacing: .06em; }
.reveal .fk-real { border-color: #5aa64a; background: rgba(90,166,74,.12); }
.reveal .fk-fake { border-color: #c93a35; background: rgba(201,58,53,.10); }
.reveal .faces-note { margin: 0; width: 100%; font-size: 20px; line-height: 1.4; text-align: start; opacity: .85; }

/* deepfake-detection-numbers: third card gets a word hero so icon/hero/label/body rows align across all cards; takeaway as a conclusion strip. */
.reveal section .layout-metrics.deepfake-aligned .metric-card { justify-content: flex-start; }
.reveal section .layout-metrics.deepfake-aligned .metric-hero { min-height: 1.1em; display: flex; align-items: center; justify-content: center; }
.reveal section .layout-metrics.deepfake-aligned .metric-hero-word { font-size: var(--fs-display-lg); }
.reveal section .layout-metrics.deepfake-aligned + p.slide-question.deepfake-takeaway { margin-block: 24px 0; padding-block: 14px; font-size: var(--fs-lead); text-align: center; border-inline-start: 0; border-block-start: 6px solid transparent; background: transparent; box-shadow: none; }

/* Info button on a card: opens the shared fact popup (data-modal-fact -> #fact-modal). Absolute, so it never shifts card layout. */
.slide-card:has(> .card-info-btn) { position: relative; }
.card-info-btn {
  position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3;
  width: 30px; height: 30px; padding: 0; border-radius: 50%;
  border: 0; background: rgba(var(--brand-primary-rgb), 0.08); color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.card-info-btn:hover { background: var(--brand-primary); color: #fff; }
.card-info-btn:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }
.card-info-btn svg { width: 18px; height: 18px; }
/* Fact popup text: readable at projection distance, RTL */
#fact-modal-body { direction: rtl; text-align: start; font-size: 22px; line-height: 1.6; }
#fact-modal-body h3 { margin: 0 0 10px; font-size: 28px; }
#fact-modal-body p { margin: 0 0 10px; }
#fact-modal .modal-dialog { max-width: min(760px, 92vw); }

/* ethics-ieee-dimensions: top-align card content so icon/title/question rows line up regardless of text length */
.reveal section .ieee-dims .slide-card.slide-card { justify-content: flex-start !important; padding-top: 28px; }

/* automation-bias: card rows aligned, illustration spans exactly the card group's height (same row), takeaway strip full width below. */
.reveal section .layout-illus.bias-illus { grid-template-columns: minmax(0, 1fr) 24%; grid-template-rows: auto auto; align-content: center; align-items: stretch; gap: 24px 18px; }
.reveal section .layout-illus.bias-illus > .layout-metrics { grid-column: 1; grid-row: 1; height: auto; min-height: 0; }
.reveal section .layout-illus.bias-illus > .illus-media { grid-column: 2; grid-row: 1; position: relative; height: auto; min-height: 0; align-self: stretch; }
.reveal section .layout-illus.bias-illus > .illus-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.reveal section .layout-illus.bias-illus .metric-label { min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
.reveal section .layout-illus.bias-illus > p.bias-takeaway { grid-column: 1 / -1; grid-row: 2; margin: 0; padding-block: 14px; font-size: var(--fs-lead); text-align: center; border-inline-start: 0; border-block-start: 6px solid transparent; background: transparent; box-shadow: none; }

/* risks-overview: cards hold 4/2/2 items, so items stack from the top (same y per row across cards); the one long report term may wrap. */
.reveal .risks-overview .wef-jobs .wef-list { justify-content: flex-start; }
.reveal .risks-overview .wef-jobs .wef-list li.risk-wrap { white-space: normal; }
.reveal .risks-overview .wef-jobs .wef-list li:first-child { min-height: 2.6em; }
/* risks-cyber-bio: two metric cards instead of three. */
.reveal section .layout-metrics.risks-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* lessons-learned + pilot-to-production: one card group beside an illustration, illustration spans the group's height, group vertically centred. */
.reveal section .layout-illus.row-illus { grid-template-columns: minmax(0, 1fr) 26%; grid-template-rows: auto; align-content: center; align-items: stretch; gap: 18px; }
.reveal section .layout-illus.row-illus > .layout-metrics { height: auto; min-height: 0; }
.reveal section .layout-illus.row-illus > .illus-media { position: relative; height: auto; min-height: 0; align-self: stretch; }
.reveal section .layout-illus.row-illus > .illus-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.reveal section .layout-illus.row-illus .metric-label { min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
/* lessons-five: 3+2 equal cards on a 6-column grid, second row centred. */
.reveal section .layout-metrics.lessons-five { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.reveal section .layout-metrics.lessons-five > .metric-card { grid-column: span 2; }
.reveal section .layout-metrics.lessons-five > .metric-card:nth-child(4) { grid-column: 2 / span 2; }
.reveal section .layout-metrics.lessons-five > .metric-card:nth-child(5) { grid-column: 4 / span 2; }
/* pilot-split: the 70% card is the highlighted one. */
.reveal section .layout-metrics.pilot-split > .metric-card.pilot-key { background: rgba(var(--brand-primary-rgb), 0.1); border: 2px solid var(--brand-primary); }
.reveal section .layout-metrics.layout-metrics.metrics-lg.wef-aligned.lessons-five > .metric-card:has(.metric-hero) { padding: 22px 18px; }

/* take-back-five: three equal step cards (header band + one line) beside the illustration, commitment sentence as a strip below. */
/* take-back-five layout v2: photo banner on top (row 1), three question cards in a row below (row 2). Previous side-by-side rules kept below as comments.
.reveal section .layout-illus.take-illus { grid-template-columns: minmax(0, 1fr) 24%; grid-template-rows: auto; align-content: center; align-items: stretch; gap: 28px 18px; }
.reveal section .layout-illus.take-illus > .take-cards { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.reveal section .layout-illus.take-illus > .illus-media { grid-column: 2; grid-row: 1; position: relative; height: auto; min-height: 0; align-self: stretch; }
*/
.reveal section .layout-illus.take-illus { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 40fr) auto; align-content: center; align-items: stretch; gap: 22px; }
.reveal section .layout-illus.take-illus > .illus-media { grid-column: 1; grid-row: 1; position: relative; height: 100%; min-height: 0; align-self: stretch; }
.reveal section .layout-illus.take-illus > .take-cards { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.reveal section .layout-illus.take-illus > .illus-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 40%; }
.reveal .take-cards .wef-head { padding-inline: 18px; gap: 12px; }
.reveal .take-cards .wef-head strong { white-space: nowrap; }
.reveal .take-cards .take-line { margin: 0; padding: 14px 18px 0; font-size: var(--fs-lead); font-weight: 600; line-height: 1.35; text-align: center; color: var(--brand-ink); }
.reveal section .layout-illus.take-illus > p.take-commit { grid-column: 1 / -1; grid-row: 2; margin: 0; padding-block: 18px; font-size: var(--fs-lead); text-align: center; border-inline-start: 0; border-block-start: 6px solid transparent; background: transparent; box-shadow: none; }

/* closing deliverables recap: single column of the Day 1 program rows, green tick rail */
.reveal .layout-program.layout-program-done { grid-template-columns: 1fr; }
.reveal .layout-program-done .program-icon { width: 96px; background: rgba(var(--dt-success-rgb), 0.1); color: var(--dt-success); }
.reveal .layout-program-done .program-icon svg { width: 40px; height: 40px; stroke-width: 2; opacity: 1; }

/* deepfake-detection-numbers: plain takeaway text, no tint and no accent bar (6px transparent border keeps the spacing) */
.reveal section .layout-metrics.deepfake-aligned + p.slide-question.deepfake-takeaway.plain-takeaway { background: transparent; border-block-start: 6px solid transparent; border-inline: 0; border-block-end: 0; box-shadow: none; outline: none; }
.reveal section .layout-metrics.deepfake-aligned + p.slide-question.deepfake-takeaway.plain-takeaway::before,
.reveal section .layout-metrics.deepfake-aligned + p.slide-question.deepfake-takeaway.plain-takeaway::after { content: none; }

/* risks-malfunctions: one-liner under card header; fixed 2-line min-height so item rows align across both cards. */
.reveal .wef-jobs .wef-sub { margin: -6px 0 18px; padding: 0 28px; font-size: 21px; line-height: 1.4; font-weight: 500; color: var(--brand-ink-soft, #4b5563); min-height: 2.8em; }

/* risks-malfunctions: per-item explanation lines */
.reveal .wef-jobs .wef-list .wef-item-text { display: flex; flex-direction: column; gap: 2px; white-space: normal; }
.reveal .wef-jobs .wef-list .wef-item-text strong { font-size: 22px; font-weight: 700; line-height: 1.3; }
.reveal .wef-jobs .wef-list .wef-item-sub { font-size: 20px; font-weight: 500; line-height: 1.35; color: var(--brand-ink-soft, #4b5563); min-height: 1.35em; }

/* risks-malfunctions: two brief cards (no lists). */
.reveal .risks-pair:has(.wef-brief) { align-content: center; align-items: stretch; padding-bottom: 22px; }
.reveal .risks-pair .wef-jobs:has(.wef-brief) { height: 100%; }
.reveal .wef-jobs .wef-brief { margin: 0; padding: 4px 32px 10px; font-size: 24px; line-height: 1.7; font-weight: 500; color: var(--brand-ink); text-align: start; min-height: 7.2em; }
/* lessons-noimg: image removed, five-card group uses full width. */
.reveal section .layout-illus.row-illus.lessons-noimg { grid-template-columns: minmax(0, 1fr); }

/* pilot-to-production: Chart.js pie (pilot-pie.js) in one card beside the illustration; fixed-height wrapper keeps the canvas aspect-safe. */
.reveal section .layout-illus.row-illus > .slide-card.pilot-pie { height: auto; min-height: 0; align-self: stretch; padding: 8px 20px; justify-content: center; }
.reveal .pilot-pie .pie-wrap { position: relative; width: 100%; height: 400px; }
.reveal .pilot-pie .pie-wrap canvas { display: block; }

/* self-assess: Digital Dubai ethics self-assessment slide */
.reveal .layout-workshop.self-assess > .slide-card { align-self: stretch; justify-content: center; align-items: center; text-align: center; gap: 22px; }
.reveal .self-assess .self-assess-logo { width: 300px; max-width: 80%; height: auto; flex: 0 0 auto; margin: 0 auto 6px; object-fit: contain; }
.reveal .self-assess .workshop-prompt .workshop-task { font-size: 30px; line-height: 1.35; }
.reveal .self-assess .workshop-prompt .lo-body { font-size: 22px; line-height: 1.55; max-width: 92%; margin: 0; }
.reveal .self-assess .workshop-qr .card-kicker { font-size: 24px; margin: 0; }
.reveal .self-assess .workshop-qr .qr-frame { width: 240px; height: 240px; flex: 0 0 240px; }
.reveal .self-assess .slide-card > img.self-assess-logo { width: 300px !important; height: auto !important; flex: 0 0 auto !important; max-width: 80%; }

/* uae-strategy-2031: single infographic fills the content area */
.reveal .uae-strategy-img { margin: 0; flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.reveal .uae-strategy-img img.show-img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }

/* minister-quote: quote column uses the same HIG quote design as the layout-quote slides */
.reveal .layout-case.minister-quote > .quote-card.quote-hig { align-self: stretch; justify-content: center; align-items: flex-start; text-align: start; padding: 40px 48px 44px; border-radius: 14px; }
.reveal .layout-case.minister-quote .quote-hig .quote-mark { font-size: 0; color: #f2d48a; opacity: 1; height: auto; margin: 0 0 14px; align-self: flex-start; }
.reveal .layout-case.minister-quote .quote-hig .quote-mark::before { content: "\201D"; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: var(--fs-display-glyph-sm); line-height: .8; height: 52px; overflow: hidden; display: block; }
.reveal .layout-case.minister-quote .quote-hig .quote-by { margin-top: 22px; }
.reveal .layout-case.minister-quote .quote-hig .quote-by, .reveal .layout-case.minister-quote .quote-hig .quote-by strong { color: var(--brand-accent); }

/* self-assess: centre the heading block under the centred logo */
.reveal .self-assess .workshop-prompt .workshop-task { text-align: center; align-self: center; width: 100%; margin-inline: auto; }
.reveal .self-assess .workshop-prompt .lo-body { text-align: center; }
.reveal .layout-workshop.self-assess .workshop-prompt p.lo-body { text-align: center !important; }

/* exercise-new-cases: one-line request card, centred in the slide with generous space */
.reveal .faces-slide.exercise-ask { flex: 1 1 auto; min-height: 0; justify-content: center; }
.reveal .faces-slide.exercise-ask .faces-qcard { padding-block: 48px; padding-inline: 40px; align-items: center; gap: 28px; }
.reveal .faces-slide.exercise-ask .faces-qcard > div:not(.icon-box) { flex: 1 1 auto; min-width: 0; }
.reveal .faces-slide.exercise-ask .faces-qcard .lo-body { font-size: var(--fs-lead); font-weight: 700; line-height: 1.4; white-space: nowrap; margin: 0; }

/* case-dubai-traffic: hero figure sat on the opposite (left) edge of an RTL card (its dir=ltr made text-align:start resolve to left) and looked detached from kicker/body.
   Scoped: hero stays at the deck's 56px size, kept on one line, and aligns to the same start edge as the label and body text. */
.reveal section .layout-case.traffic-numbers .metric-hero { font-size: var(--fs-display-sm); line-height: 1.1; text-align: right; white-space: nowrap; margin: 4px 0; }

/* dt-from-071: check list inside a lo-card uses the card-body size (20px) instead of the 18px default */
.reveal .dt-check-list.dt-check-body { font-size: var(--fs-body); line-height: 1.4; }
.reveal .dt-check-list.dt-check-body li { margin-bottom: 4px; }
.reveal .dt-check-list.dt-check-body i, .reveal .dt-check-list.dt-check-body svg { width: 18px; height: 18px; margin-top: 4px; }

/* agentic-ai-video / agentic-ai-notebooklm-live: video player fills its card; Gemini-made explainer */
.reveal .agentic-video .agentic-player { width: 100%; max-width: 100%; max-height: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 12px; background: #000; display: block; }
.reveal .agentic-live .row > .col-12 { margin-bottom: 4px; }

/* uae-strategy-2031-redrawn: native redraw of the eight-objectives infographic (3 layers: leadership 1, AI activities 2-4 with 3 in the core ring, foundation 5-8). Scoped to .strategy-redraw. */
.reveal .strategy-redraw { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; flex-direction: column; gap: 8px; direction: rtl; text-align: right; color: var(--brand-ink); }
.reveal .strategy-redraw .sr-layer { position: relative; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 10px; padding: 8px 16px; background: #f1f3f4; border-top: 2px solid rgba(var(--brand-primary-rgb), .35); border-radius: 12px; }
.reveal .strategy-redraw .sr-lead { flex: 0 0 auto; }
.reveal .strategy-redraw .sr-act { flex: 1 1 auto; min-height: 0; }
.reveal .strategy-redraw .sr-found { flex: 0 0 auto; }
.reveal .strategy-redraw .sr-label { writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; align-self: center; text-align: center; font-size: var(--fs-card-title); font-weight: 800; line-height: 1.2; color: var(--brand-primary); }
.reveal .strategy-redraw .sr-items { display: grid; align-items: center; gap: 14px; min-width: 0; }
.reveal .strategy-redraw .sr-lead .sr-items { grid-template-columns: 1fr; justify-items: center; }
.reveal .strategy-redraw .sr-act .sr-items { grid-template-columns: 1fr 300px 1fr; }
.reveal .strategy-redraw .sr-found .sr-items { grid-template-columns: repeat(4, 1fr); align-items: start; }
.reveal .strategy-redraw .sr-obj { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; min-width: 0; margin: 0; }
.reveal .strategy-redraw .sr-num { grid-row: 1 / span 2; font-size: var(--fs-display-md); font-weight: 800; line-height: 1; color: var(--brand-primary); }
.reveal .strategy-redraw .sr-title { margin: 0; font-size: var(--fs-body); font-weight: 700; line-height: 1.3; color: var(--brand-ink); }
.reveal .strategy-redraw .sr-ex { grid-column: 2; margin: 4px 0 0; font-size: var(--fs-body-small); line-height: 1.3; color: var(--brand-muted); }
.reveal .strategy-redraw .sr-lead .sr-obj { grid-template-columns: auto auto; justify-content: center; align-items: center; }
.reveal .strategy-redraw .sr-lead .sr-num { grid-row: 1; }
.reveal .strategy-redraw .sr-lead .sr-ex { grid-column: 1 / -1; text-align: center; margin-top: 2px; }
.reveal .strategy-redraw .sr-core { grid-template-columns: 1fr; justify-items: center; text-align: center; width: 300px; height: 200px; padding: 14px 40px; box-sizing: border-box; align-content: center; row-gap: 4px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #fff 0%, #e9ecee 100%); box-shadow: 0 0 0 7px rgba(0,0,0,.04), 0 0 0 8px rgba(var(--brand-primary-rgb), .18); }
.reveal .strategy-redraw .sr-core .sr-num { grid-row: auto; font-size: var(--fs-display-sm); }
.reveal .strategy-redraw .sr-core .sr-ex { grid-column: 1; margin-top: 0; }
