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

:root {
  --cu-gold: #CFB87C;
  --cu-gold-dim: rgba(207,184,124,0.65);
  --cu-dark: #0a0a0a;
  --cu-gray: #141414;
  --cu-border: rgba(207,184,124,0.2);
  --text: #f5f3ee;
  --muted: rgba(255,255,255,0.7);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; height: 100%;
  background: #000; color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.deck-body { overflow: hidden; cursor: default; }

#deck { position: fixed; inset: 0; }

.slide {
  position: absolute; inset: 0;
  background-color: #000;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active { opacity: 1; pointer-events: auto; }

/* ───── Content slide (CU Boulder dark) ───── */
.content-slide {
  background:
    radial-gradient(ellipse at top right, rgba(207,184,124,0.06), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
}
.slide-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1240px;
  padding: 88px 64px 76px;
}
.slide-tag {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cu-gold); font-weight: 700;
  margin-bottom: 18px;
}
.slide-headline {
  font-size: 46px; font-weight: 800; color: #fff;
  letter-spacing: -0.02em; line-height: 1.1;
  margin: 0 0 44px;
}
.slide-headline .gold { color: var(--cu-gold); }
.slide-sub {
  font-size: 17px; color: rgba(255,255,255,0.7);
  font-weight: 400; line-height: 1.5;
  max-width: 880px; margin: -24px 0 36px;
}

/* Stat grid */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 32px;
}
.stat-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--cu-border);
  border-radius: 6px;
  padding: 30px 26px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--cu-gold);
}
.stat-number {
  font-size: 60px; font-weight: 800; line-height: 1;
  color: var(--cu-gold);
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum";
}
.stat-label {
  font-size: 12px; font-weight: 700;
  color: #fff; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.stat-card p {
  margin: 0; font-size: 14px;
  color: rgba(255,255,255,0.72); line-height: 1.5;
  font-weight: 400;
}

/* Callout */
.callout {
  background: rgba(207,184,124,0.07);
  border-left: 3px solid var(--cu-gold);
  padding: 18px 26px;
  font-size: 15.5px;
  color: rgba(255,255,255,0.88);
  border-radius: 2px;
  line-height: 1.55;
  max-width: 1080px;
}
.callout strong { color: var(--cu-gold); font-weight: 700; }

/* ───── Cover slide ───── */
.cover-slide {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(207,184,124,0.10), transparent 55%),
    linear-gradient(135deg, #050505 0%, #1a1a1a 100%);
}
.cover-content {
  text-align: left; max-width: 1100px;
  padding: 88px 80px 76px;
}
.cover-tag {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--cu-gold); font-weight: 700;
  margin-bottom: 32px;
}
.cover-title {
  font-size: 84px; font-weight: 800; color: #fff;
  letter-spacing: -0.025em; line-height: 1.04;
  margin: 0 0 22px;
}
.cover-title .gold { color: var(--cu-gold); }
.cover-sub {
  font-size: 22px; font-weight: 300; color: rgba(255,255,255,0.78);
  line-height: 1.45; margin: 0 0 44px;
  max-width: 780px;
}
.cover-rule { width: 80px; height: 3px; background: var(--cu-gold); margin-bottom: 32px; }
.cover-name { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.cover-role { font-size: 13.5px; color: rgba(255,255,255,0.72); font-weight: 400; margin-bottom: 4px; }
.cover-co { font-size: 13px; color: var(--cu-gold); letter-spacing: 0.04em; font-weight: 600; }

/* Pillar slide variants */
.pillar-card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-bottom: 32px;
}
.pillar-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--cu-border);
  border-radius: 6px;
  padding: 28px 26px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--cu-gold);
}
.pillar-card h3 {
  font-size: 17px; font-weight: 700; color: #fff;
  margin: 0 0 10px;
}
.pillar-card p {
  margin: 0; font-size: 14px;
  color: rgba(255,255,255,0.72); line-height: 1.55;
  font-weight: 400;
}
.pillar-handoff {
  margin-top: 4px; padding: 14px 22px;
  background: rgba(207,184,124,0.07);
  border-left: 3px solid var(--cu-gold);
  border-radius: 2px;
  color: rgba(255,255,255,0.85);
  font-size: 14.5px; line-height: 1.55;
  max-width: 1080px;
}
.pillar-handoff b { color: var(--cu-gold); font-weight: 700; }

/* ───── Flow / accountability loop slide ───── */
.flow-slide {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  background:
    radial-gradient(ellipse at center, rgba(207,184,124,0.10), transparent 65%),
    linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
}
.flow-tag {
  position: absolute;
  top: 78px; left: 64px;
  z-index: 5;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cu-gold); font-weight: 700;
}
.flow-svg {
  position: absolute;
  inset: 56px 60px 78px 60px;
  width: calc(100% - 120px);
  height: calc(100% - 134px);
}
.flow-arrow {
  fill: none;
  stroke: var(--cu-gold);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 14 11;
  opacity: 0.28;
  animation: flow-dashes 2.4s linear infinite, flow-arrow-cycle 8s infinite;
}
.flow-arrow-1 { animation-delay: 0s, 0s; }
.flow-arrow-2 { animation-delay: 0s, -6s; }
.flow-arrow-3 { animation-delay: 0s, -4s; }
.flow-arrow-4 { animation-delay: 0s, -2s; }
@keyframes flow-dashes {
  to { stroke-dashoffset: -50; }
}
@keyframes flow-arrow-cycle {
  0%, 22% { opacity: 1; stroke-width: 5.5; }
  25%, 100% { opacity: 0.28; stroke-width: 3.5; }
}
.flow-arrowhead { fill: var(--cu-gold); }

.flow-node {
  opacity: 0.55;
  animation: flow-node-cycle 8s infinite;
}
.flow-node-monitor   { animation-delay: 0s; }
.flow-node-action    { animation-delay: -6s; }
.flow-node-revenue   { animation-delay: -4s; }
.flow-node-outcomes  { animation-delay: -2s; }
@keyframes flow-node-cycle {
  0%, 22% { opacity: 1; }
  25%, 100% { opacity: 0.55; }
}
.flow-node-ring {
  fill: none;
  stroke: var(--cu-gold);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: flow-ring-pulse 8s infinite;
}
.flow-node-monitor  .flow-node-ring { animation-delay: 0s; }
.flow-node-action   .flow-node-ring { animation-delay: -6s; }
.flow-node-revenue  .flow-node-ring { animation-delay: -4s; }
.flow-node-outcomes .flow-node-ring { animation-delay: -2s; }
@keyframes flow-ring-pulse {
  0% { opacity: 0; transform: scale(0.92); }
  10% { opacity: 0.85; transform: scale(1.08); }
  22% { opacity: 0; transform: scale(1.22); }
  25%, 100% { opacity: 0; transform: scale(0.92); }
}
.flow-node-bg {
  fill: #0a0a0a;
  stroke: var(--cu-gold);
  stroke-width: 2;
}
.flow-icon-lucide path,
.flow-icon-lucide circle,
.flow-icon-lucide rect,
.flow-icon-lucide line,
.flow-icon-lucide polyline {
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-rays {
  transform-box: fill-box;
  transform-origin: center;
  animation: flow-rays-rotate 38s linear infinite;
}
@keyframes flow-rays-rotate {
  to { transform: rotate(360deg); }
}
.flow-ray {
  stroke: var(--cu-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.7;
}
.flow-center-circle {
  fill: #0a0a0a;
  stroke: var(--cu-gold);
  stroke-width: 2.5;
}
.flow-family {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ───── Lume in Action slide (full-bleed photo grid) ───── */
.lume-photo-slide {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  background: #000;
}
.lume-photo-grid {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  background: #000;
}
.lume-photo-tile {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #0a0a0a;
  overflow: hidden;
}
.lume-photo-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 60%, rgba(0,0,0,0.78) 100%);
  pointer-events: none;
}
.lume-photo-caption {
  position: absolute; left: 22px; bottom: 18px;
  z-index: 2;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.lume-photo-caption .accent { color: var(--cu-gold); }
.lume-photo-tag {
  position: absolute; top: 26px; left: 28px;
  z-index: 5;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cu-gold); font-weight: 700;
  background: rgba(10,10,10,0.65);
  padding: 8px 14px;
  border: 1px solid var(--cu-border);
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

/* ───── Map / iframe slide ───── */
.iframe-slide { background: #fff; padding: 0; align-items: stretch; justify-content: stretch; }
.slide-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.iframe-tag {
  position: absolute; top: 60px; left: 28px;
  z-index: 5;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cu-gold); font-weight: 700;
  background: rgba(0,0,0,0.75);
  padding: 8px 14px; border-radius: 2px;
  border-left: 2px solid var(--cu-gold);
  pointer-events: none;
}
.iframe-stats {
  position: absolute; top: 100px; left: 28px;
  z-index: 5;
  background: rgba(0,0,0,0.78);
  border-left: 2px solid var(--cu-gold);
  padding: 12px 20px;
  display: flex; gap: 26px;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}
.iframe-stat { display: flex; flex-direction: column; line-height: 1; }
.iframe-stat-num {
  font-size: 26px; font-weight: 800; color: var(--cu-gold);
  letter-spacing: -0.02em;
}
.iframe-stat-label {
  font-size: 9.5px; color: rgba(255,255,255,0.72);
  text-transform: uppercase; letter-spacing: 0.13em;
  margin-top: 6px; font-weight: 600;
}

/* ───── Inline speaker notes panel ───── */
.slide-notes {
  position: absolute;
  bottom: 44px; left: 0; right: 0;
  z-index: 4;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 2px solid var(--cu-gold);
  padding: 16px 32px 18px;
  max-height: 26vh;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  display: none;
  font-family: 'Inter', -apple-system, sans-serif;
}
.show-notes .slide-notes { display: block; }
.slide-notes p { margin: 0 0 6px; }
.slide-notes p:last-child { margin-bottom: 0; }
.slide-notes-label {
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cu-gold); font-weight: 700; margin-bottom: 8px;
}
.show-notes .content-slide .slide-content { padding-bottom: calc(26vh + 30px); }
/* On iframe slides, notes panel overlays the iframe (no height resize). */
.iframe-slide .slide-notes {
  background: rgba(10,10,10,0.94);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.4);
}

/* ───── Brand bars ───── */
.brand-bar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 28px 12px;
  border-bottom: 2px solid var(--cu-gold);
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.brand-cu {
  font-weight: 800; font-size: 11px; letter-spacing: 0.18em;
  color: var(--cu-gold); text-transform: uppercase;
}
.brand-sep { width: 1px; height: 14px; background: var(--cu-gold-dim); }
.brand-unit {
  font-weight: 500; font-size: 11px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85); text-transform: uppercase;
}

.foot-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 28px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid var(--cu-border);
  pointer-events: none;
}
.foot-event {
  font-size: 10px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7); text-transform: uppercase;
  font-weight: 500;
}
.foot-event b { color: var(--cu-gold); font-weight: 700; }
.foot-counter {
  font-size: 10px; letter-spacing: 0.15em;
  color: var(--cu-gold); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.foot-counter .num { font-size: 13px; }
.foot-counter .sep { opacity: 0.5; margin: 0 4px; }

.deck-body.idle .brand-bar,
.deck-body.idle .foot-bar { opacity: 0; }
.brand-bar, .foot-bar { transition: opacity 0.5s; }

.hint {
  position: fixed; bottom: 56px; left: 50%; transform: translateX(-50%);
  font-size: 10px; opacity: 0; letter-spacing: 0.1em;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  pointer-events: none; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.7); padding: 6px 12px; border-radius: 3px;
  transition: opacity 0.3s; z-index: 11;
}
.deck-body:not(.idle):hover .hint { opacity: 0.7; }

.progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--cu-gold);
  transition: width 0.5s ease; z-index: 12;
}

/* ───── Notes view (white-only) ───── */
html:has(.notes-body) { background: #fff; }
.notes-body {
  background: #fff; color: #1a1a1a;
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.6; padding: 0 0 80px;
  margin: 0;
  overflow-y: auto;
}
.notes-top {
  background: #fff; color: #1a1a1a;
  padding: 20px 32px;
  border-bottom: 3px solid var(--cu-gold);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  position: sticky; top: 0; z-index: 100;
}
.notes-top .brand-cu { color: #0a0a0a; font-size: 11px; letter-spacing: 0.18em; font-weight: 800; }
.notes-top .brand-sep { background: rgba(10,10,10,0.25); }
.notes-top .brand-unit { color: #444; font-size: 11px; letter-spacing: 0.12em; font-weight: 500; }
.notes-top-left { display: flex; align-items: center; gap: 12px; }
.notes-top a {
  color: #0a0a0a; text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 14px;
  border: 1px solid var(--cu-gold); border-radius: 3px;
  transition: all 0.2s; pointer-events: auto;
  background: #fff;
}
.notes-top a:hover { background: var(--cu-gold); color: #0a0a0a; }

.notes-inner { max-width: 880px; margin: 0 auto; padding: 40px 32px 0; }
.notes-body h1 {
  font-size: 30px; color: #0a0a0a; margin: 0 0 8px;
  font-weight: 800; letter-spacing: -0.01em; line-height: 1.15;
}
.notes-body .meta {
  font-size: 12px; color: #666;
  margin-bottom: 8px; letter-spacing: 0.04em;
  text-transform: uppercase; font-weight: 500;
}
.notes-body .gold-rule {
  width: 56px; height: 3px; background: var(--cu-gold);
  margin: 16px 0 36px;
}
.notes-slide {
  margin-bottom: 44px; padding-bottom: 32px;
  border-bottom: 1px solid #e6e0cc;
}
.notes-slide:last-of-type { border-bottom: 0; }
.notes-slide-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.notes-slide-num {
  background: #fff; color: #0a0a0a;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  flex-shrink: 0; border: 2px solid var(--cu-gold);
}
.notes-slide-title { font-size: 18px; font-weight: 700; color: #0a0a0a; }
.notes-slide-time {
  font-size: 12px; color: #888; margin-left: auto;
  font-family: ui-monospace, monospace; letter-spacing: 0.05em;
}
.notes-slide-brief {
  font-size: 13px;
  background: #fff; padding: 14px 18px; border-radius: 3px;
  border-left: 3px solid var(--cu-gold); margin-bottom: 20px;
  color: #3a3a3a; line-height: 1.55;
}
.notes-slide-brief b { color: #0a0a0a; font-weight: 700; }
.notes-slide-script p { margin: 0 0 14px; font-size: 17.5px; color: #1a1a1a; line-height: 1.55; }
.notes-slide-script b, .notes-slide-script strong { color: #0a0a0a; font-weight: 700; }
.notes-footer { background: #fff; padding-top: 12px; }
.notes-footer h3 { color: #0a0a0a; margin: 0 0 12px; font-size: 16px; }
.notes-footer ul { color: #1a1a1a; padding-left: 20px; }
.notes-footer li b { color: #0a0a0a; }

@media print {
  .notes-body { background: #fff; }
  .notes-top { position: static; }
  .notes-slide { page-break-inside: avoid; }
  .notes-top a { display: none; }
}

/* ───── Responsive ───── */
@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .slide-headline { font-size: 36px; }
  .stat-number { font-size: 48px; }
}
@media (max-width: 640px) {
  .slide-content { padding: 70px 24px 60px; }
  .stat-grid { grid-template-columns: 1fr; }
  .slide-headline { font-size: 28px; }
}

/* ───── GHC ported slides (from global-health-course.pages.dev) ───── */
.ghc-slide {
  background:
    radial-gradient(ellipse at top right, rgba(207,184,124,0.04), transparent 50%),
    linear-gradient(180deg, #050505 0%, #0e0e0e 100%);
  padding: 56px 28px 44px;
  align-items: center;
  justify-content: center;
}
.ghc-frame {
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  background: #141414;
  border: 1px solid rgba(207,184,124,0.18);
  border-radius: 12px;
  padding: 22px 28px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #e2e8f0;
}
.ghc-num {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  z-index: 2;
}
.ghc-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.6rem 0;
  line-height: 1.25;
  color: #fff;
}
.ghc-title .gold { color: var(--cu-gold); }
.ghc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}
.ghc-body p { margin: 0 0 0.5rem 0; font-size: 0.98rem; color: rgba(255,255,255,0.82); line-height: 1.55; }
.ghc-body p.emphasis { color: #fff; }
.ghc-body p.source { font-size: 0.8rem; color: rgba(148,163,184,0.85); font-style: italic; margin-top: 0.5rem; }
.ghc-body ul { margin: 0.3rem 0 0.6rem 1.5rem; font-size: 0.98rem; }
.ghc-body li { margin-bottom: 0.3rem; color: rgba(255,255,255,0.78); line-height: 1.5; }
.ghc-body li strong { color: #fff; }
.ghc-body h4 { font-size: 1.05rem; margin: 0.7rem 0 0.4rem; color: var(--cu-gold); font-weight: 700; }
.ghc-body > iframe { flex: 1; width: 100%; border: 0; border-radius: 6px; min-height: 220px; background: #fff; }
.ghc-body > canvas { flex: 1; max-width: 100%; min-height: 220px; }
.ghc-body table { width: 100%; border-collapse: collapse; margin: 0.5rem 0; font-size: 0.92rem; }
.ghc-body th { background: rgba(207,184,124,0.1); color: var(--cu-gold); padding: 0.45rem 0.65rem; text-align: left; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid rgba(207,184,124,0.2); }
.ghc-body td { padding: 0.45rem 0.65rem; border-bottom: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.78); }

.ghc-body .stat-banner {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden;
  margin: 0.6rem 0;
}
.ghc-body .stat-item {
  flex: 1; min-width: 120px; text-align: center;
  padding: 0.85rem 0.5rem; border-right: 1px solid rgba(255,255,255,0.08);
}
.ghc-body .stat-item:last-child { border-right: none; }
.ghc-body .stat-num { font-size: 1.7rem; font-weight: 800; color: var(--cu-gold); line-height: 1; }
.ghc-body .stat-label { font-size: 0.7rem; color: rgba(148,163,184,1); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.05em; }

.ghc-body .card-sm {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 0.75rem 0.95rem;
}
.ghc-body .card-sm h5 { font-size: 0.92rem; font-weight: 700; color: var(--cu-gold); margin: 0 0 0.35rem 0; }
.ghc-body .card-sm p { font-size: 0.88rem; margin-bottom: 0; color: rgba(255,255,255,0.72); line-height: 1.45; }

.ghc-notes {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 28px 14px;
  background: rgba(10,10,10,0.95);
  border-top: 1px solid rgba(207,184,124,0.18);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  pointer-events: none;
  display: none;
}
.show-notes .ghc-notes { display: block; }
.show-notes .ghc-frame { padding-bottom: 110px; }

/* GHC hero (slide-1) */
.ghc-hero {
  background: url('images/ghc/slide1_0.jpg') center center / cover no-repeat;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.ghc-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.78) 100%);
  z-index: 0;
}
.ghc-hero .ghc-hero-inner {
  position: relative; z-index: 1;
  text-align: center;
  padding: 2rem;
}
.ghc-hero .gold-bar { width: 70px; height: 3px; background: var(--cu-gold); margin: 0 auto 1.5rem; }
.ghc-hero h1 { font-size: 4.5rem; font-weight: 800; line-height: 1.1; margin: 0 0 1rem 0; color: #fff; text-shadow: 0 4px 32px rgba(0,0,0,0.6); letter-spacing: -0.02em; }
.ghc-hero h1 .gold { color: var(--cu-gold); }
.ghc-hero .subtitle { font-size: 1.3rem; color: rgba(255,255,255,0.85); font-weight: 300; margin: 0 0 0.4rem 0; }
.ghc-hero .meta { font-size: 0.95rem; color: var(--cu-gold); font-weight: 500; letter-spacing: 0.05em; margin: 0; }

/* ───── Video slides (full-bleed mp4) ───── */
.video-slide {
  background: #000;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.video-slide video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.video-slide-tag {
  position: absolute; top: 26px; left: 28px;
  z-index: 5;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cu-gold); font-weight: 700;
  background: rgba(10,10,10,0.65);
  padding: 8px 14px;
  border: 1px solid var(--cu-border);
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

/* ───── Image slides (full-bleed, e.g. PowerPoint exports) ───── */
.image-slide {
  background: #000;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.image-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ───── Overview / grid mode ───── */
.slide-cell { display: contents; }

/* Hide deck while we apply the persisted order, to avoid a flicker on load. */
body.loading-order #deck { opacity: 0; }
body.loading-order #deck { transition: opacity 0.15s ease; }

body.overview-mode { overflow: auto; height: auto; cursor: default; }
body.overview-mode #deck {
  position: static;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
  padding: 64px 24px 24px;
  background: #050505;
  width: 100%;
  height: auto;
  min-height: 100vh;
  inset: auto;
}
body.overview-mode .slide-cell {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid rgba(207,184,124,0.18);
  border-radius: 8px;
  cursor: grab;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  background: #0a0a0a;
}
body.overview-mode .slide-cell:hover {
  border-color: var(--cu-gold);
  transform: translateY(-2px);
}
body.overview-mode .slide-cell.active {
  border-color: var(--cu-gold);
  box-shadow: 0 0 0 2px var(--cu-gold);
}
body.overview-mode .slide-cell.dragging { opacity: 0.4; cursor: grabbing; }
body.overview-mode .slide-cell.drag-over {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.55);
}
body.overview-mode .slide-cell > .slide {
  position: absolute;
  top: 0; left: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: top left;
  pointer-events: none;
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}
body.overview-mode .slide-num-badge {
  position: absolute;
  top: 6px; left: 6px;
  z-index: 10;
  background: rgba(0,0,0,0.85);
  color: var(--cu-gold);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  pointer-events: none;
}
body.overview-mode .ot-delete {
  position: absolute;
  top: 6px; right: 6px;
  z-index: 11;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.85);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; line-height: 1;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  opacity: 0;
}
body.overview-mode .slide-cell:hover .ot-delete { opacity: 1; }
body.overview-mode .ot-delete:hover {
  background: #ff4444;
  color: white;
  border-color: #ff4444;
  transform: scale(1.1);
}
body.overview-mode .brand-bar,
body.overview-mode .foot-bar,
body.overview-mode .progress,
body.overview-mode .hint { display: none !important; }

/* Overview toolbar (injected by deck.js) */
.overview-toolbar {
  position: fixed;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.92);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--cu-gold);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
body.overview-mode .overview-toolbar { display: flex; }
.overview-toolbar .ot-title {
  color: var(--cu-gold);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
  margin-right: 4px;
}
.overview-toolbar button {
  background: var(--cu-gold);
  color: #000;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  letter-spacing: 0.04em;
  font-family: inherit;
}
.overview-toolbar button.secondary {
  background: transparent;
  color: var(--cu-gold);
  border: 1px solid var(--cu-gold);
}
.overview-toolbar button:hover { filter: brightness(1.1); }
.overview-toolbar .ot-status {
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  margin-left: 6px;
  max-width: 360px;
}
