/*
 * Gen H — Deutsche Bank Funder Presentation
 * Dark premium theme inspired by modern pitch decks
 *
 * Deep navy-black base with subtle red accent glow
 * Clean typography, generous whitespace, thin luminous borders
 */

/* --- Local Font Faces --- */

@font-face {
  font-family: 'Tusker Grotesk 8800';
  src: url('../fonts/tusker-grotesk/TuskerGrotesk-8800Super.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans/IBMPlexSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans/IBMPlexSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* === 3 APPROVED FONT SIZES === */
  --fs-title: 2em;       /* Tusker Grotesk 8800 — hero headings */
  --fs-subtitle: 0.72em; /* IBM Plex Sans Bold — subheadings */
  --fs-body: 0.48em;     /* IBM Plex Sans Regular — body text */

  /* Core palette */
  --bg: #06080F;
  --bg-card: #0C0F18;
  --bg-card-hover: #10131F;
  --border: rgba(255,255,255,0.06);
  --border-glow: rgba(255,38,38,0.2);

  /* Brand — single red with opacity variations */
  --red: #FF2626;
  --red-dim: rgba(255,38,38,0.4);
  --red-glow: rgba(255,38,38,0.35);
  --red-soft: rgba(255,38,38,0.7);

  /* Text */
  --text: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.55);
  --text-tertiary: rgba(255,255,255,0.35);

  /* Misc */
  --yellow: #FDD329;
  --cyan: #08B2E3;
  --blue: #003399;
  --green: #15AD40;
  --warning: #F9A85E;
  --error: #A01919;
}

/* Section accent overrides — override --red and variants per section */
section[data-accent="yellow"] {
  --red: #FDD329;
  --red-dim: rgba(253,211,41,0.4);
  --red-glow: rgba(253,211,41,0.35);
  --red-soft: rgba(253,211,41,0.7);
  --border-glow: rgba(253,211,41,0.2);
}

section[data-accent="blue"] {
  --red: #5B8DEF;
  --red-dim: rgba(91,141,239,0.4);
  --red-glow: rgba(91,141,239,0.35);
  --red-soft: rgba(91,141,239,0.7);
  --border-glow: rgba(91,141,239,0.2);
}

/* ============================================
   BASE
   ============================================ */

.reveal-viewport {
  background: var(--bg);
  position: relative;
}

/* Noise grain texture — subtle animated drift */
.reveal-viewport::before {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
  animation: grain-drift 1.5s steps(8, end) infinite;
}

@keyframes grain-drift {
  0%      { transform: translate(0, 0); }
  12.5%   { transform: translate(-120px, 80px); }
  25%     { transform: translate(100px, -140px); }
  37.5%   { transform: translate(-80px, -100px); }
  50%     { transform: translate(140px, 60px); }
  62.5%   { transform: translate(-60px, 120px); }
  75%     { transform: translate(110px, -80px); }
  87.5%   { transform: translate(-130px, -50px); }
  100%    { transform: translate(0, 0); }
}

/* Red vignette glow (bottom-left) + dark edge vignette */
.reveal-viewport::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(255,38,38,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  z-index: 0;
}

.reveal {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--text-secondary);
}

.reveal .slides section {
  text-align: left;
  padding: 56px 48px 64px;
  box-sizing: border-box;
  width: 100% !important;
  left: 0 !important;
}

::selection {
  color: var(--text);
  background: var(--red);
}

/* Top-edge glow removed */

/* ============================================
   HEADINGS
   ============================================ */

/* h1 = Main titles (Tusker 8800 Super) — TITLE size */
.reveal h1 {
  font-family: 'Tusker Grotesk 8800', sans-serif;
  font-weight: 800;
  font-size: var(--fs-title) !important;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.5em 0;
  text-transform: uppercase;
  text-shadow: none;
}

/* h2 = Slide titles (IBM Plex Sans Bold) — SUBTITLE size */
.reveal h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: var(--fs-subtitle) !important;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 0 0 0.6em 0;
  text-transform: uppercase;
  text-shadow: none;
}

/* h3 = Slide titles for content slides (IBM Plex Sans Bold) — SUBTITLE size */
.reveal h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: var(--fs-subtitle) !important;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 0.6em 0;
  text-transform: uppercase;
  text-shadow: none;
}

/* h4 = Subheadings (IBM Plex Sans) — SUBTITLE size */
.reveal h4 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: var(--fs-subtitle) !important;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0 0 0.5em 0;
  text-transform: none;
  text-shadow: none;
}

/* h5, h6 fallback (IBM Plex Sans) — SUBTITLE size */
.reveal h5,
.reveal h6 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: var(--fs-subtitle) !important;
  color: var(--text-secondary);
  line-height: 1.3;
  margin: 0 0 0.5em 0;
  text-transform: none;
  text-shadow: none;
}

/* ============================================
   TEXT
   ============================================ */

.reveal p {
  font-size: var(--fs-body);
  margin: 0 0 0.8em 0;
  line-height: 1.65;
  font-weight: 300;
}

.reveal strong {
  font-weight: 600;
  color: var(--text);
}

.reveal em {
  font-style: italic;
  color: var(--red-soft);
}

.reveal small {
  font-size: var(--fs-body);
  color: var(--text-tertiary);
}

/* ============================================
   LINKS
   ============================================ */

.reveal a {
  color: var(--red-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.reveal a:hover {
  color: var(--text);
}

/* ============================================
   LISTS
   ============================================ */

.reveal ul,
.reveal ol {
  margin: 0 0 0.8em 0;
  text-align: left;
}

.reveal ul { list-style: none; padding-left: 0; }

.reveal ul li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.5em;
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 300;
}

.reveal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 6px var(--red-glow);
}

.reveal ol li {
  margin-bottom: 0.5em;
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 300;
}

.reveal ul ul { margin-top: 0.3em; }

.reveal ul ul li::before {
  background: var(--text-tertiary);
  box-shadow: none;
  width: 4px;
  height: 4px;
}

/* ============================================
   TABLES
   ============================================ */

.reveal table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
  font-size: var(--fs-body);
}

.reveal table th {
  background: transparent;
  color: var(--text-tertiary);
  font-weight: 500;
  font-size: var(--fs-subtitle);
  padding: 0.6em 1em;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}

.reveal table td {
  padding: 0.65em 1em;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-body);
  color: var(--text-secondary);
  font-weight: 300;
}

.reveal table tbody tr:last-child td {
  border-bottom: none;
}

.reveal table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* ============================================
   IMAGES
   ============================================ */

.reveal img {
  max-width: 90%;
  max-height: 70vh;
  border: none;
  box-shadow: none;
  border-radius: 4px;
}

/* ============================================
   BLOCKQUOTES
   ============================================ */

.reveal blockquote {
  background: transparent;
  border-left: 2px solid var(--red);
  padding: 0.6em 1.2em;
  margin: 1em 0;
  border-radius: 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* ============================================
   CODE
   ============================================ */

.reveal code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: var(--fs-body);
  background: rgba(255,255,255,0.05);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  border: 1px solid var(--border);
}

/* ============================================
   TITLE SLIDE
   ============================================ */

.reveal .title-slide {
  text-align: center !important;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 80px !important;
  width: 100% !important;
  left: 0 !important;
}

.reveal .title-slide h1 {
  font-family: 'Tusker Grotesk 8800', sans-serif;
  font-size: var(--fs-title) !important;
  margin-bottom: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.reveal .title-slide .subtitle {
  font-size: var(--fs-subtitle);
  color: var(--text-tertiary);
  font-weight: 300;
  margin-bottom: 1.5em;
}

.reveal .title-slide .meta {
  font-size: var(--fs-body);
  color: var(--text-tertiary);
  font-weight: 400;
}

/* ============================================
   SECTION DIVIDER
   ============================================ */

.reveal .section-divider {
  text-align: center !important;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 80px !important;
  width: 100% !important;
  left: 0 !important;
}

/* No additional glow on dividers — main background gradient is sufficient */

.reveal .section-divider h2 {
  font-family: 'Tusker Grotesk 8800', sans-serif;
  font-size: var(--fs-title) !important;
  margin-bottom: 0.15em;
  position: relative;
  z-index: 1;
}

.reveal .section-divider .section-number {
  display: inline-block;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6em;
  position: relative;
  z-index: 1;
}

.reveal .section-divider .section-desc {
  font-size: var(--fs-body);
  color: var(--text-tertiary);
  max-width: none;
  line-height: 1.6;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.reveal .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  text-align: left;
  align-items: start;
}

.reveal .two-col-wide-left {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2em;
  text-align: left;
  align-items: start;
}

.reveal .two-col-wide-right {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2em;
  text-align: left;
  align-items: start;
}

.reveal .three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2em;
  text-align: left;
  align-items: start;
}

.reveal .four-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1em;
  text-align: left;
}

.reveal .five-col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8em;
  text-align: left;
}

.reveal .five-col .pillar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reveal .five-col .pillar-col img.card-screenshot {
  width: 90%;
  display: block;
  margin-bottom: -1.8em;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.reveal .five-col .pillar-col .card {
  width: 100%;
  padding-top: 2.2em;
  position: relative;
  z-index: 1;
}

/* ============================================
   CARDS
   ============================================ */

.reveal .card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 8px;
  padding: 1.1em 1.3em;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.reveal .card:hover {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}

.reveal .card h4 {
  color: var(--text);
  margin-bottom: 0.4em;
  font-size: var(--fs-subtitle) !important;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.reveal .card p {
  font-size: var(--fs-body);
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.55;
}

/* Stat Cards */
.reveal .stat-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 8px;
  padding: 1.2em;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.reveal .stat-card .stat-number {
  font-size: var(--fs-title);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.15em;
}

.reveal .stat-card .stat-label {
  font-size: var(--fs-subtitle);
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   PROCESS FLOW
   ============================================ */

.reveal .process-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  margin: 1em 0;
}

.reveal .process-step {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 6px;
  padding: 0.5em 0.5em 0.7em;
  text-align: center;
  font-size: var(--fs-body);
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 0;
  flex: 1 1 0;
  font-weight: 300;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Number at top, text centred in remaining space */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease, background 0.3s ease;
  transition-delay: calc(var(--i, 0) * 0.1s);
}

.reveal .present .process-step {
  opacity: 1;
  transform: translateY(0);
}

.reveal .process-step:hover {
  border-color: var(--red-dim);
  background: rgba(255,38,38,0.04);
}

.reveal .process-step .step-num {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: var(--fs-subtitle);
  font-weight: 600;
  color: var(--red);
  margin-bottom: auto;
  line-height: 1;
}

.reveal .process-step .step-text {
  margin: auto 0;
}

.reveal .process-arrow {
  font-size: var(--fs-subtitle);
  color: var(--text-tertiary);
  padding: 0 0.3em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: calc(var(--i, 0) * 0.1s + 0.05s);
}

.reveal .present .process-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   HIGHLIGHT BOX
   ============================================ */

.reveal .highlight-box {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,38,38,0.15);
  border-radius: 8px;
  padding: 1.1em 1.5em;
  margin: 0.8em 0;
}

/* ============================================
   TAGS
   ============================================ */

.reveal .tag {
  display: inline-block;
  font-size: var(--fs-body);
  font-weight: 600;
  padding: 0.3em 0.8em;
  border-radius: 4px;
  background: rgba(255,38,38,0.12);
  color: var(--red-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 0.4em;
  border: 1px solid rgba(255,38,38,0.15);
}

.reveal .tag.teal {
  background: rgba(255,38,38,0.12);
  color: var(--red-soft);
  border-color: rgba(255,38,38,0.15);
}

.reveal .tag.yellow {
  background: rgba(255,217,61,0.08);
  color: var(--yellow);
  border-color: rgba(255,217,61,0.12);
}

/* ============================================
   TIMELINE
   ============================================ */

.reveal .timeline {
  position: relative;
  padding-left: 0;
  text-align: left;
}

.reveal .timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: calc(0.28em + 4px);
  bottom: calc(0.28em + 4px);
  width: 1px;
  background: var(--red);
}

.reveal .timeline-item {
  position: relative;
  margin-bottom: 0.8em;
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--text-secondary);
  padding-left: 2em;
}

.reveal .timeline-item::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0.4em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}

.reveal .timeline-item .year {
  font-weight: 600;
  color: var(--text);
  margin-right: 0.5em;
}

/* ============================================
   FUNDING ROADMAP
   ============================================ */

.reveal .funding-roadmap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.6em;
  position: relative;
  margin-top: 1.2em;
  font-size: var(--fs-body);
  align-items: start;
}

/* Horizontal connecting line — runs through the dots */
.reveal .funding-roadmap-line {
  position: absolute;
  top: calc(1.2em + 6px);  /* label height + half dot */
  left: 6px;
  right: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-dim));
  z-index: 0;
}

.reveal .funding-phase {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* Marker: label above, then dot */
.reveal .funding-phase-marker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3em;
  margin-bottom: 0.8em;
}

.reveal .funding-phase-label {
  font-weight: 400;
  font-size: var(--fs-subtitle);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
}

.reveal .funding-phase-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.reveal .funding-phase-dot--active {
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow), 0 0 24px var(--red-dim);
}

.reveal .funding-phase-dot--next {
  background: transparent;
  border: 2px solid var(--red);
}

.reveal .funding-phase-dot--future {
  background: transparent;
  border: 2px solid var(--red-dim);
}

.reveal .funding-phase--now .funding-phase-label {
  color: var(--red);
}

/* Content block — equal height via flex */
.reveal .funding-phase-content {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 8px;
  padding: 1.2em 1.4em;
  border: 1px solid rgba(255,255,255,0.08);
  flex: 1;
}

.reveal .funding-phase--now .funding-phase-content {
  border-color: var(--border-glow);
}

.reveal .funding-metric {
  font-size: var(--fs-title);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 0.1em;
}

.reveal .funding-phase--now .funding-metric {
  color: var(--red);
}

.reveal .funding-metric-label {
  font-size: var(--fs-subtitle);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8em;
  font-weight: 500;
}

.reveal .funding-phase-content p {
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  font-weight: 300;
}

/* ============================================
   ACCENT UNDERLINE
   ============================================ */

.reveal .accent-underline {
  display: inline-block;
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.1em;
}

/* ============================================
   PROGRESS BAR & CONTROLS
   ============================================ */

.reveal .progress {
  height: 2px;
  background: rgba(255,255,255,0.04);
}

.reveal .progress span {
  background: var(--red);
  transition: width 0.8s ease;
}

/* Hide default Reveal controls — replaced by custom emoji arrows */
.reveal .controls {
  display: none !important;
}

/* Custom arrow navigation — flanks the centered slide number */
.custom-nav {
  position: fixed;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 100;
}

.custom-nav button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.2s ease;
  padding: 2px 6px;
  line-height: 1;
  opacity: 0.9;
}

.custom-nav button:hover {
  opacity: 1;
}

/* Space for arrows either side of slide number */
.custom-nav .nav-spacer {
  width: 48px;
}

/* ============================================
   SLIDE NUMBERS
   ============================================ */

.reveal .slide-number {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-tertiary);
  background: transparent;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
}

/* ============================================
   SPEAKER NOTES
   ============================================ */

.reveal .speaker-notes {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* ============================================
   PRINT / PDF
   ============================================ */

@media print {
  .reveal-viewport {
    background: #0a0b14;
  }
}

/* ============================================
   UTILITIES
   ============================================ */

.reveal .text-sm { font-size: var(--fs-body); }
.reveal .text-xs { font-size: var(--fs-body); }
.reveal .text-lg { font-size: var(--fs-subtitle); }

.reveal .text-coral { color: var(--red-soft); }
.reveal .text-teal { color: var(--text); }
.reveal .text-yellow { color: var(--yellow); }
.reveal .text-grey { color: var(--text-tertiary); }
.reveal .text-white { color: var(--text); }

.reveal .text-left { text-align: left; }
.reveal .text-center { text-align: center; }
.reveal .text-right { text-align: right; }

.reveal .mt-1 { margin-top: 0.5em; }
.reveal .mt-2 { margin-top: 1em; }
.reveal .mb-1 { margin-bottom: 0.5em; }
.reveal .mb-2 { margin-bottom: 1em; }

/* ============================================
   LOGO BAR
   ============================================ */

.reveal .logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
  margin: 1em 0;
}

.reveal .logo-bar img {
  height: 40px;
  box-shadow: none;
  border-radius: 0;
}

/* ============================================
   DIVIDER LINE
   ============================================ */

.reveal hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1em 0;
}

/* ============================================
   SLIDE FOOTER
   ============================================ */

.reveal .slide-footer {
  position: absolute;
  bottom: 16px;
  left: 48px;
  right: 48px;
  font-size: var(--fs-body);
  color: var(--text-tertiary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

/* ============================================
   PLACEHOLDER NOTE
   ============================================ */

.reveal .placeholder-note {
  background: rgba(255,217,61,0.04);
  border: 1px dashed rgba(255,217,61,0.15);
  border-radius: 6px;
  padding: 0.8em 1.2em;
  font-size: var(--fs-body);
  color: rgba(255,217,61,0.6);
  font-style: italic;
}

/* ============================================
   LIGHT SLIDE VARIANT
   ============================================ */

.reveal section.light-bg {
  background: #F5F5F7;
  color: #1A1A2E;
}

.reveal section.light-bg h1,
.reveal section.light-bg h2,
.reveal section.light-bg h3 {
  color: #1A1A2E;
}

.reveal section.light-bg p,
.reveal section.light-bg li {
  color: #333;
}

/* ============================================
   FULL-WIDTH VARIANT
   ============================================ */

.reveal .slides section.full-width {
  padding: 56px 36px 64px;
}

/* ============================================
   ORG CHART
   ============================================ */

.org-chart {
  position: relative;
}

.org-node {
  display: inline-block;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5em 0.8em;
  color: var(--text-secondary);
  font-size: var(--fs-subtitle);
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}

.org-node strong {
  color: var(--text);
  font-weight: 600;
}

.org-node.org-board {
  border-color: var(--border-glow);
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: var(--fs-subtitle);
}

.org-node.org-ceo {
  border-color: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
  padding: 0.6em 1.2em;
}

.org-node.org-sub {
  font-size: var(--fs-body);
  color: var(--text-tertiary);
  border-color: rgba(255,255,255,0.03);
  background: rgba(255,255,255,0.02);
  padding: 0.35em 0.6em;
}

.org-vline {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto;
}

.org-hline {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 6.25% ;
}

.org-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================================
   FIGMA-STYLE SLIDE
   ============================================ */

.reveal .slides section.figma-style {
  position: relative;
  padding: 56px 48px 64px;
}

/* Slide header bar — heading + logo aligned center */
.reveal .slide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

/* Corner logo inside header bar */
.reveal .figma-corner-logo {
  height: 50px;
  width: auto;
  border-radius: 0;
  max-width: none;
  flex-shrink: 0;
}

/* Massive bold headline — matching Figma's oversized Tusker style */
.reveal .figma-hero-heading {
  font-family: 'Tusker Grotesk 8800', sans-serif;
  font-weight: 800;
  font-size: var(--fs-title) !important;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: none;
  flex: 1;
}

/* Red solid badge for category labels */
.reveal .figma-badge {
  display: inline-block;
  font-size: var(--fs-subtitle);
  font-weight: 700;
  padding: 0.3em 0.7em;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Side image — positioned right, fading into background */
.reveal .figma-side-image {
  position: absolute;
  right: 0;
  bottom: -64px;
  height: calc(100% + 64px + 56px);
  width: auto;
  max-width: 68%;
  object-fit: contain;
  object-position: right bottom;
  border-radius: 0;
  opacity: 0.8;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.8) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
  z-index: -1;
}
